aboutsummaryrefslogtreecommitdiff
path: root/deps/npm/test/tap/publish-scoped.js
diff options
context:
space:
mode:
authorisaacs <nope@not.real>2019-07-03 10:23:19 -0700
committerRich Trott <rtrott@gmail.com>2019-07-18 15:12:49 -0700
commit1721034a40c5e7a0a334701dc36153adee3f27e5 (patch)
tree7b2ce5a0c5d67d2e1d817fc548571250e8c1a305 /deps/npm/test/tap/publish-scoped.js
parent6df7b6a4f9cb64d298e7fd0691c4d09679872922 (diff)
downloadandroid-node-v8-1721034a40c5e7a0a334701dc36153adee3f27e5.tar.gz
android-node-v8-1721034a40c5e7a0a334701dc36153adee3f27e5.tar.bz2
android-node-v8-1721034a40c5e7a0a334701dc36153adee3f27e5.zip
deps: upgrade npm to 6.10.0
PR-URL: https://github.com/nodejs/node/pull/28525 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Diffstat (limited to 'deps/npm/test/tap/publish-scoped.js')
-rw-r--r--deps/npm/test/tap/publish-scoped.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/npm/test/tap/publish-scoped.js b/deps/npm/test/tap/publish-scoped.js
index b8fe0ae2f6..efa86c8539 100644
--- a/deps/npm/test/tap/publish-scoped.js
+++ b/deps/npm/test/tap/publish-scoped.js
@@ -7,7 +7,7 @@ var rimraf = require('rimraf')
var common = require('../common-tap')
var mr = require('npm-registry-mock')
-var pkg = path.join(__dirname, 'prepublish_package')
+var pkg = common.pkg
var server
@@ -42,9 +42,9 @@ test('npm publish should honor scoping', function (t) {
'progress=false',
'cache=' + path.join(pkg, 'cache'),
'registry=http://nonexistent.lvh.me',
- '//localhost:1337/:username=username',
- '//localhost:1337/:_password=' + Buffer.from('password').toString('base64'),
- '//localhost:1337/:email=' + 'ogd@aoaioxxysz.net',
+ '//localhost:' + common.port + '/:username=username',
+ '//localhost:' + common.port + '/:_password=' + Buffer.from('password').toString('base64'),
+ '//localhost:' + common.port + '/:email=' + 'ogd@aoaioxxysz.net',
'@bigco:registry=' + common.registry
]
var configFile = path.join(pkg, '.npmrc')