PHP 8.2.30
Preview: arborist-cmd.js Size: 627 B
/proc/thread-self/root/proc/self/root/opt/alt/alt-nodejs16/root/lib/node_modules/npm/lib/arborist-cmd.js

// This is the base for all commands whose execWorkspaces just gets
// a list of workspace names and passes it on to new Arborist() to
// be able to run a filtered Arborist.reify() at some point.

const BaseCommand = require('./base-command.js')
class ArboristCmd extends BaseCommand {
  get isArboristCmd () {
    return true
  }

  static params = [
    'workspace',
    'workspaces',
    'include-workspace-root',
    'install-links',
  ]

  static ignoreImplicitWorkspace = false

  async execWorkspaces (args, filters) {
    await this.setWorkspaces(filters)
    return this.exec(args)
  }
}

module.exports = ArboristCmd

Directory Contents

Dirs: 4 × Files: 6

Name Size Perms Modified Actions
auth DIR
- drwxr-xr-x 2026-04-08 07:02:22
Edit Download
commands DIR
- drwxr-xr-x 2026-04-08 07:02:22
Edit Download
utils DIR
- drwxr-xr-x 2026-04-08 07:02:22
Edit Download
- drwxr-xr-x 2026-04-08 07:02:22
Edit Download
627 B lrw-r--r-- 2026-03-17 06:55:03
Edit Download
2.81 KB lrw-r--r-- 2026-03-17 06:55:03
Edit Download
3.36 KB lrw-r--r-- 2026-03-17 06:55:03
Edit Download
503 B lrw-r--r-- 2026-03-17 06:55:03
Edit Download
13.25 KB lrw-r--r-- 2026-03-17 06:55:03
Edit Download
1.88 KB lrw-r--r-- 2026-03-17 06:55:03
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).