????JFIF??x?x????'
| Server IP : 104.21.30.238 / Your IP : 216.73.216.145 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /././lib/node_modules/npm/node_modules/npm-registry-fetch/ |
Upload File : |
'use strict'
const pkg = require('./package.json')
const figgyPudding = require('figgy-pudding')
const silentLog = require('./silentlog.js')
const AUTH_REGEX = /^(?:.*:)?(token|_authToken|username|_password|password|email|always-auth|_auth|otp)$/
const SCOPE_REGISTRY_REGEX = /@.*:registry$/gi
module.exports = figgyPudding({
'agent': {},
'algorithms': {},
'body': {},
'ca': {},
'cache': {},
'cert': {},
'fetch-retries': {},
'fetch-retry-factor': {},
'fetch-retry-maxtimeout': {},
'fetch-retry-mintimeout': {},
'force-auth': {},
forceAuth: 'force-auth',
'gzip': {},
'headers': {},
'https-proxy': {},
'ignore-body': {},
ignoreBody: 'ignore-body',
'integrity': {},
'is-from-ci': 'isFromCI',
'isFromCI': {
default () {
return (
process.env['CI'] === 'true' ||
process.env['TDDIUM'] ||
process.env['JENKINS_URL'] ||
process.env['bamboo.buildKey'] ||
process.env['GO_PIPELINE_NAME']
)
}
},
'key': {},
'local-address': {},
'log': {
default: silentLog
},
'map-json': 'mapJson',
'mapJSON': 'mapJson',
'mapJson': {},
'max-sockets': 'maxsockets',
'maxsockets': {
default: 12
},
'memoize': {},
'method': {
default: 'GET'
},
'no-proxy': {},
'noproxy': {},
'npm-session': 'npmSession',
'npmSession': {},
'offline': {},
'otp': {},
'prefer-offline': {},
'prefer-online': {},
'projectScope': {},
'project-scope': 'projectScope',
'Promise': {default: () => Promise},
'proxy': {},
'query': {},
'refer': {},
'referer': 'refer',
'registry': {
default: 'https://registry.npmjs.org/'
},
'retry': {},
'scope': {},
'spec': {},
'strict-ssl': {},
'timeout': {
default: 0
},
'user-agent': {
default: `${
pkg.name
}@${
pkg.version
}/node@${
process.version
}+${
process.arch
} (${
process.platform
})`
}
}, {
other (key) {
return key.match(AUTH_REGEX) || key.match(SCOPE_REGISTRY_REGEX)
}
})