summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/npm-registry-client/lib/access.js
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2017-04-12 21:47:49 -0700
committerJeremiah Senkpiel <fishrock123@rocketmail.com>2017-04-25 10:52:01 -0400
commit00842604483e4c2e622dfdb3a97440e07646158f (patch)
treef3346902636a44b6037652523767636bf7e4f2c9 /deps/npm/node_modules/npm-registry-client/lib/access.js
parent061c5da010e0d249379618382a499840d38247b8 (diff)
downloadnode-new-00842604483e4c2e622dfdb3a97440e07646158f.tar.gz
deps: upgrade npm to 4.5.0
PR-URL: https://github.com/nodejs/node/pull/12480 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'deps/npm/node_modules/npm-registry-client/lib/access.js')
-rw-r--r--deps/npm/node_modules/npm-registry-client/lib/access.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/deps/npm/node_modules/npm-registry-client/lib/access.js b/deps/npm/node_modules/npm-registry-client/lib/access.js
index ff01e95e28..b33d8973f3 100644
--- a/deps/npm/node_modules/npm-registry-client/lib/access.js
+++ b/deps/npm/node_modules/npm-registry-client/lib/access.js
@@ -125,6 +125,7 @@ function accessAssertions (subcommand, uri, params, cb) {
function typeChecks (specs) {
Object.keys(specs).forEach(function (key) {
var checks = specs[key]
+ /* eslint valid-typeof:0 */
assert(typeof checks[0] === checks[1],
key + ' is required and must be of type ' + checks[1])
})