HEX
Server: Apache/2.4.41
System: Linux mainweb 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: nationalmedicaregrp (1119)
PHP: 8.3.7
Disabled: exec,passthru,shell_exec,system,popen,proc_open,pcntl_exec
Upload Files
File: /home/ubuntu/.nvm/versions/node/v8.16.2/lib/node_modules/npm/lib/config/gentle-fs.js
'use strict'

const npm = require('../npm.js')
const log = require('npmlog')

module.exports = gentleFSOpts

function gentleFSOpts (gently, base, abs) {
  return {
    // never rm the root, prefix, or bin dirs
    //
    // globals included because of `npm link` -- as far as the package
    // requesting the link is concerned, the linked package is always
    // installed globally
    prefixes: [
      npm.prefix,
      npm.globalPrefix,
      npm.dir,
      npm.root,
      npm.globalDir,
      npm.bin,
      npm.globalBin
    ],
    absolute: abs,
    log: log,
    prefix: npm.prefix,
    force: npm.config.get('force'),
    gently: gently,
    base: base,
    name: 'npm'
  }
}