Fix dependabot issues
This commit is contained in:
parent
c89d9bd8b0
commit
531c6ba7c8
705 changed files with 53406 additions and 20466 deletions
4
node_modules/registry-auth-token/index.js
generated
vendored
4
node_modules/registry-auth-token/index.js
generated
vendored
|
|
@ -21,7 +21,9 @@ module.exports = function () {
|
|||
options = arguments[0]
|
||||
}
|
||||
options = options || {}
|
||||
options.npmrc = options.npmrc || require('rc')('npm', { registry: 'https://registry.npmjs.org/' })
|
||||
options.npmrc = options.npmrc || require('rc')('npm', { registry: 'https://registry.npmjs.org/' }, {
|
||||
config: process.env.npm_config_userconfig || process.env.NPM_CONFIG_USERCONFIG
|
||||
})
|
||||
checkUrl = checkUrl || options.npmrc.registry
|
||||
return getRegistryAuthInfo(checkUrl, options) || getLegacyAuthInfo(options.npmrc)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue