REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 1.81 KB
Close
/opt/alt/alt-nodejs9/root/lib/node_modules/npm/node_modules/pacote/lib/util/opt-check.js
Text
Base64
'use strict' const pkg = require('../../package.json') const silentlog = require('./silentlog') function PacoteOptions (opts) { opts = opts || {} this._isPacoteOptions = true this.agent = opts.agent this.annotate = opts.annotate this.auth = opts.auth this.scopeTargets = opts.scopeTargets || {} this.defaultTag = opts.defaultTag || 'latest' this.cache = opts.cache this.ca = opts.ca this.cert = opts.cert this.integrity = opts.integrity this.key = opts.key this.localAddress = opts.localAddress this.log = opts.log || silentlog this.memoize = opts.memoize this.maxSockets = opts.maxSockets || 10 this.offline = opts.offline this.preferOffline = opts.preferOffline this.proxy = opts.proxy this.noProxy = opts.noProxy this.registry = opts.registry || 'https://registry.npmjs.org' this.retry = opts.retry // for npm-registry-client this.scope = opts.scope this.userAgent = opts.userAgent || `${pkg.name}@${pkg.version}/node@${process.version}+${process.arch} (${process.platform})` this.where = opts.where this.preferOnline = opts.preferOnline this.strictSSL = !!opts.strictSSL this.isFromCI = !!( opts.isFromCI || process.env['CI'] === 'true' || process.env['TDDIUM'] || process.env['JENKINS_URL'] || process.env['bamboo.buildKey'] ) this.npmSession = opts.npmSession this.refer = opts.referer || opts.refer this.projectScope = opts.projectScope this.fullMetadata = opts.fullMetadata this.alwaysAuth = opts.alwaysAuth this.includeDeprecated = opts.includeDeprecated == null ? true : opts.includeDeprecated this.dirPacker = opts.dirPacker || null this.uid = opts.uid this.gid = opts.gid this.dmode = opts.dmode this.fmode = opts.fmode this.umask = opts.umask } module.exports = optCheck function optCheck (opts) { return new PacoteOptions(opts) }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 6
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
cache-key.js
129 B
lrw-r--r--
2021-09-28 11:28:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
git.js
5.72 KB
lrw-r--r--
2021-09-28 11:28:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
gunzip-maybe.js
572 B
lrw-r--r--
2021-09-28 11:28:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
opt-check.js
1.81 KB
lrw-r--r--
2021-09-28 11:28:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
pack-dir.js
1.02 KB
lrw-r--r--
2021-09-28 11:28:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
silentlog.js
186 B
lrw-r--r--
2021-09-28 11:28:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).