diff options
-rw-r--r-- | lib/adduser.js | 2 | ||||
-rw-r--r-- | lib/cache.js | 2 | ||||
-rw-r--r-- | lib/deprecate.js | 2 | ||||
-rw-r--r-- | lib/docs.js | 2 | ||||
-rw-r--r-- | lib/owner.js | 2 | ||||
-rw-r--r-- | lib/publish.js | 2 | ||||
-rw-r--r-- | lib/search.js | 2 | ||||
-rw-r--r-- | lib/tag.js | 2 | ||||
-rw-r--r-- | lib/unpublish.js | 2 | ||||
-rw-r--r-- | lib/utils/completion/remote-packages.js | 2 | ||||
-rw-r--r-- | lib/utils/completion/users.js | 2 | ||||
-rw-r--r-- | lib/utils/npm-registry-client/adduser.js (renamed from lib/utils/registry/adduser.js) | 0 | ||||
-rw-r--r-- | lib/utils/npm-registry-client/get.js (renamed from lib/utils/registry/get.js) | 0 | ||||
-rw-r--r-- | lib/utils/npm-registry-client/index.js (renamed from lib/utils/registry/index.js) | 0 | ||||
-rw-r--r-- | lib/utils/npm-registry-client/publish.js (renamed from lib/utils/registry/publish.js) | 0 | ||||
-rw-r--r-- | lib/utils/npm-registry-client/request.js (renamed from lib/utils/registry/request.js) | 0 | ||||
-rw-r--r-- | lib/utils/npm-registry-client/tag.js (renamed from lib/utils/registry/tag.js) | 0 | ||||
-rw-r--r-- | lib/utils/npm-registry-client/unpublish.js (renamed from lib/utils/registry/unpublish.js) | 0 | ||||
-rw-r--r-- | lib/view.js | 4 |
19 files changed, 13 insertions, 13 deletions
diff --git a/lib/adduser.js b/lib/adduser.js index 882536cb3..dd68dda65 100644 --- a/lib/adduser.js +++ b/lib/adduser.js @@ -1,7 +1,7 @@ module.exports = adduser -var registry = require('./utils/registry') +var registry = require('./utils/npm-registry-client') , ini = require("./utils/ini") , log = require("./utils/log") , npm = require("../npm") diff --git a/lib/cache.js b/lib/cache.js index 4f2235443..fb95c1276 100644 --- a/lib/cache.js +++ b/lib/cache.js @@ -38,7 +38,7 @@ var mkdir = require("./utils/mkdir-p") , fs = require("./utils/graceful-fs") , rm = require("./utils/rm-rf") , readJson = require("./utils/read-json") - , registry = require("./utils/registry") + , registry = require("./utils/npm-registry-client") , log = require("./utils/log") , path = require("path") , output diff --git a/lib/deprecate.js b/lib/deprecate.js index 3baf77269..32ac4acc4 100644 --- a/lib/deprecate.js +++ b/lib/deprecate.js @@ -8,7 +8,7 @@ deprecate.completion = function (args, index, cb) { remotePkgs(args, index, true, false, false, cb) } -var registry = require("./utils/registry") +var registry = require("./utils/npm-registry-client") , semver = require("semver") , log = require("./utils/log") , asyncMap = require("./utils/async-map") diff --git a/lib/docs.js b/lib/docs.js index b5c7cc599..6b4a3bbcb 100644 --- a/lib/docs.js +++ b/lib/docs.js @@ -9,7 +9,7 @@ docs.completion = function (args, index, cb) { } var exec = require("./utils/exec") - , registry = require("./utils/registry") + , registry = require("./utils/npm-registry-client") , npm = require("../npm") , log = require("./utils/log") function docs (args, cb) { diff --git a/lib/owner.js b/lib/owner.js index fbd12076e..4c183f5aa 100644 --- a/lib/owner.js +++ b/lib/owner.js @@ -25,7 +25,7 @@ owner.completion = function(args, index, cb) { } else cb(null, getCompletions(subcmd, subcmdList)) } -var registry = require("./utils/registry") +var registry = require("./utils/npm-registry-client") , get = registry.request.GET , put = registry.request.PUT , log = require("./utils/log") diff --git a/lib/publish.js b/lib/publish.js index 5643c188c..5f4ec473c 100644 --- a/lib/publish.js +++ b/lib/publish.js @@ -2,7 +2,7 @@ module.exports = publish var npm = require("../npm") - , registry = require("./utils/registry") + , registry = require("./utils/npm-registry-client") , log = require("./utils/log") publish.usage = "npm publish <tarball>" diff --git a/lib/search.js b/lib/search.js index ae205994e..f830c1cb4 100644 --- a/lib/search.js +++ b/lib/search.js @@ -2,7 +2,7 @@ module.exports = exports = search var npm = require("../npm") - , registry = require("./utils/registry") + , registry = require("./utils/npm-registry-client") , semver = require("semver") , output , log = require("./utils/log") diff --git a/lib/tag.js b/lib/tag.js index 850760693..25382b8a1 100644 --- a/lib/tag.js +++ b/lib/tag.js @@ -16,5 +16,5 @@ function tag (args, cb) { , version = thing.join("@") , t = args.shift() if (!project || !version || !t) return cb("Usage:\n"+tag.usage) - require("./utils/registry").tag(project, version, t, cb) + require("./utils/npm-registry-client").tag(project, version, t, cb) } diff --git a/lib/unpublish.js b/lib/unpublish.js index 71377c882..8664cef24 100644 --- a/lib/unpublish.js +++ b/lib/unpublish.js @@ -1,7 +1,7 @@ module.exports = unpublish -var registry = require("./utils/registry") +var registry = require("./utils/npm-registry-client") , log = require("./utils/log") , npm = require("../npm") , readJson = require("./utils/read-json") diff --git a/lib/utils/completion/remote-packages.js b/lib/utils/completion/remote-packages.js index aaf70caaf..c2d3bda26 100644 --- a/lib/utils/completion/remote-packages.js +++ b/lib/utils/completion/remote-packages.js @@ -1,7 +1,7 @@ module.exports = remotePackages -var registry = require("../registry") +var registry = require("../npm-registry-client") , containsSingleMatch = require("./contains-single-match") , getCompletions = require("./get-completions") diff --git a/lib/utils/completion/users.js b/lib/utils/completion/users.js index aa36b638a..5e2bd6cdd 100644 --- a/lib/utils/completion/users.js +++ b/lib/utils/completion/users.js @@ -1,7 +1,7 @@ module.exports = users -var registry = require("../registry") +var registry = require("../npm-registry-client") , containsSingleMatch = require("./contains-single-match") , getCompletions = require("./get-completions") , log = require("../log") diff --git a/lib/utils/registry/adduser.js b/lib/utils/npm-registry-client/adduser.js index 0cda561bf..0cda561bf 100644 --- a/lib/utils/registry/adduser.js +++ b/lib/utils/npm-registry-client/adduser.js diff --git a/lib/utils/registry/get.js b/lib/utils/npm-registry-client/get.js index 47d77e1b3..47d77e1b3 100644 --- a/lib/utils/registry/get.js +++ b/lib/utils/npm-registry-client/get.js diff --git a/lib/utils/registry/index.js b/lib/utils/npm-registry-client/index.js index 71412a346..71412a346 100644 --- a/lib/utils/registry/index.js +++ b/lib/utils/npm-registry-client/index.js diff --git a/lib/utils/registry/publish.js b/lib/utils/npm-registry-client/publish.js index 3f0c86147..3f0c86147 100644 --- a/lib/utils/registry/publish.js +++ b/lib/utils/npm-registry-client/publish.js diff --git a/lib/utils/registry/request.js b/lib/utils/npm-registry-client/request.js index 5e1ce92fc..5e1ce92fc 100644 --- a/lib/utils/registry/request.js +++ b/lib/utils/npm-registry-client/request.js diff --git a/lib/utils/registry/tag.js b/lib/utils/npm-registry-client/tag.js index ef2a4d007..ef2a4d007 100644 --- a/lib/utils/registry/tag.js +++ b/lib/utils/npm-registry-client/tag.js diff --git a/lib/utils/registry/unpublish.js b/lib/utils/npm-registry-client/unpublish.js index 9a0363db7..9a0363db7 100644 --- a/lib/utils/registry/unpublish.js +++ b/lib/utils/npm-registry-client/unpublish.js diff --git a/lib/view.js b/lib/view.js index 3005788bf..598894919 100644 --- a/lib/view.js +++ b/lib/view.js @@ -4,7 +4,7 @@ module.exports = view view.usage = "npm view pkg[@version] [<field>[.subfield]...]" view.completion = function (args, index, cb) { - var registry = require("./utils/registry") + var registry = require("./utils/npm-registry-client") , getCompletions = require("./utils/completion/get-completions") , remotePkgs = require("./utils/completion/remote-packages") , name = args[0] || "" @@ -32,7 +32,7 @@ view.completion = function (args, index, cb) { } } -var registry = require("./utils/registry") +var registry = require("./utils/npm-registry-client") , ini = require("./utils/ini-parser") , log = require("./utils/log") , sys = require("./utils/sys") |