From 94be898fbc64ae8738d39fecbadd9740c4d8d065 Mon Sep 17 00:00:00 2001 From: isaacs Date: Thu, 10 Jun 2010 14:56:59 -0700 Subject: [PATCH] Remove "uri" module. The deprecation warning was broken, so clearly no one is using this thing. --- lib/uri.js | 5 ----- src/node.cc | 1 - 2 files changed, 6 deletions(-) delete mode 100644 lib/uri.js diff --git a/lib/uri.js b/lib/uri.js deleted file mode 100644 index ddf483651..000000000 --- a/lib/uri.js +++ /dev/null @@ -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."); -}; diff --git a/src/node.cc b/src/node.cc index cb1e7feb4..d06925c66 100644 --- a/src/node.cc +++ b/src/node.cc @@ -1861,7 +1861,6 @@ static Handle 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));