Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
opt
/
nodejs-10
/
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
libcipm
/
lib
/
config
/
//opt/nodejs-10/usr/lib/node_modules/npm/node_modules/libcipm/lib/config/lifecycle-opts.js
'use strict' const log = require('npmlog') module.exports = lifecycleOpts function lifecycleOpts (opts) { const objConfig = {} for (const key of opts.keys()) { const val = opts.get(key) if (val != null) { objConfig[key] = val } } return { config: objConfig, scriptShell: opts.get('script-shell'), force: opts.get('force'), user: opts.get('user'), group: opts.get('group'), ignoreScripts: opts.get('ignore-scripts'), ignorePrepublish: opts.get('ignore-prepublish'), scriptsPrependNodePath: opts.get('scripts-prepend-node-path'), unsafePerm: opts.get('unsafe-perm'), log, dir: opts.get('prefix'), failOk: false, production: opts.get('production') } }