mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 07:27:22 +01:00
2b3d9e4ad0
Deprecate the URI module and remove tests for it. - Rename "uri" to "url". - Use the "url" module instead of the "uri" module. - Remove the url parsing from http.js - Update http.cat with the changed field names. - Update tests for changes to http.js - Update documentation for changes in http.js
6 lines
300 B
JavaScript
6 lines
300 B
JavaScript
process.stdio.writeError("\nWARNING: uri module is deprecated. Please use require(\"url\") instead.\n");
|
|
|
|
exports.decode = exports.parse = exports.format = exports.resolveObject = exports.resolve = function () {
|
|
throw new Error("uri module is deprecated. Please use require(\"url\") instead.");
|
|
};
|