mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
Remove "uri" module.
The deprecation warning was broken, so clearly no one is using this thing.
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
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.");
|
||||
};
|
||||
@@ -1861,7 +1861,6 @@ static Handle<Value> Binding(const Arguments& args) {
|
||||
exports->Set(String::New("readline"), String::New(native_readline));
|
||||
exports->Set(String::New("sys"), String::New(native_sys));
|
||||
exports->Set(String::New("tcp"), String::New(native_tcp));
|
||||
exports->Set(String::New("uri"), String::New(native_uri));
|
||||
exports->Set(String::New("url"), String::New(native_url));
|
||||
exports->Set(String::New("utils"), String::New(native_utils));
|
||||
exports->Set(String::New("path"), String::New(native_path));
|
||||
|
||||
Reference in New Issue
Block a user