update
This commit is contained in:
19
package/node_modules/npm-registry-fetch/lib/default-opts.js
generated
vendored
Normal file
19
package/node_modules/npm-registry-fetch/lib/default-opts.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
const pkg = require('../package.json')
|
||||
module.exports = {
|
||||
maxSockets: 12,
|
||||
method: 'GET',
|
||||
registry: 'https://registry.npmjs.org/',
|
||||
timeout: 5 * 60 * 1000, // 5 minutes
|
||||
strictSSL: true,
|
||||
noProxy: process.env.NOPROXY,
|
||||
userAgent: `${pkg.name
|
||||
}@${
|
||||
pkg.version
|
||||
}/node@${
|
||||
process.version
|
||||
}+${
|
||||
process.arch
|
||||
} (${
|
||||
process.platform
|
||||
})`,
|
||||
}
|
Reference in New Issue
Block a user