summaryrefslogtreecommitdiff
path: root/deps/npm/lib/dedupe.js
diff options
context:
space:
mode:
authorForrest L Norvell <ogd@aoaioxxysz.net>2015-01-08 14:37:26 -0800
committerBen Noordhuis <info@bnoordhuis.nl>2015-01-08 23:49:03 +0100
commite79ccee1685393e4ec73746bac93835cbcf3a809 (patch)
tree304a1ddd59495b50a20d1b25c62da2a4519228db /deps/npm/lib/dedupe.js
parent156cd82ef4d2ff4fa291407de562c3a7c2386dc7 (diff)
downloadandroid-node-v8-e79ccee1685393e4ec73746bac93835cbcf3a809.tar.gz
android-node-v8-e79ccee1685393e4ec73746bac93835cbcf3a809.tar.bz2
android-node-v8-e79ccee1685393e4ec73746bac93835cbcf3a809.zip
npm: upgrade to v2.1.18
PR-URL: https://github.com/iojs/io.js/pull/266 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'deps/npm/lib/dedupe.js')
-rw-r--r--deps/npm/lib/dedupe.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/npm/lib/dedupe.js b/deps/npm/lib/dedupe.js
index 74397d0cb9..6a4abd7307 100644
--- a/deps/npm/lib/dedupe.js
+++ b/deps/npm/lib/dedupe.js
@@ -240,10 +240,10 @@ function findVersions (npm, summary, cb) {
var versions = data.versions
var ranges = data.ranges
- mapToRegistry(name, npm.config, function (er, uri) {
+ mapToRegistry(name, npm.config, function (er, uri, auth) {
if (er) return cb(er)
- npm.registry.get(uri, null, next)
+ npm.registry.get(uri, { auth : auth }, next)
})
function next (er, data) {