Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /usr/share/nodejs/@npmcli/arborist/bin/lib/ drwxr-xr-x | |
| Viewing file: Select action/file-type: const options = module.exports = {
path: undefined,
cache: `${process.env.HOME}/.npm/_cacache`,
_: [],
}
for (const arg of process.argv.slice(2)) {
if (/^--add=/.test(arg)) {
options.add = options.add || []
options.add.push(arg.substr('--add='.length))
} else if (/^--rm=/.test(arg)) {
options.rm = options.rm || []
options.rm.push(arg.substr('--rm='.length))
} else if (arg === '--global') {
options.global = true
} else if (arg === '--global-style') {
options.globalStyle = true
} else if (arg === '--prefer-dedupe') {
options.preferDedupe = true
} else if (arg === '--legacy-peer-deps') {
options.legacyPeerDeps = true
} else if (arg === '--force') {
options.force = true
} else if (arg === '--update-all') {
options.update = options.update || {}
options.update.all = true
} else if (/^--update=/.test(arg)) {
options.update = options.update || {}
options.update.names = options.update.names || []
options.update.names.push(arg.substr('--update='.length))
} else if (/^--omit=/.test(arg)) {
options.omit = options.omit || []
options.omit.push(arg.substr('--omit='.length))
} else if (/^--before=/.test(arg)) {
options.before = new Date(arg.substr('--before='.length))
} else if (/^-w.+/.test(arg)) {
options.workspaces = options.workspaces || []
options.workspaces.push(arg.replace(/^-w/, ''))
} else if (/^--workspace=/.test(arg)) {
options.workspaces = options.workspaces || []
options.workspaces.push(arg.replace(/^--workspace=/, ''))
} else if (/^--[^=]+=/.test(arg)) {
const [key, ...v] = arg.replace(/^--/, '').split('=')
const val = v.join('=')
options[key] = val === 'false' ? false : val === 'true' ? true : val
} else if (/^--.+/.test(arg)) {
options[arg.replace(/^--/, '')] = true
} else if (options.path === undefined) {
options.path = arg
} else {
options._.push(arg)
}
}
if (options.path === undefined) {
options.path = '.'
}
console.error(options)
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0063 ]-- |