Browse Source

Remove "uri" module.

The deprecation warning was broken, so clearly no one is using this thing.
v0.7.4-release
isaacs 15 years ago
committed by Ryan Dahl
parent
commit
94be898fbc
  1. 5
      lib/uri.js
  2. 1
      src/node.cc

5
lib/uri.js

@ -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.");
};

1
src/node.cc

@ -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));

Loading…
Cancel
Save