REDROOM
PHP 8.3.31
Path:
Logout
Edit File
Size: 800 B
Close
/opt/alt/alt-nodejs16/root/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/load-workspaces.js
Text
Base64
const mapWorkspaces = require('@npmcli/map-workspaces') const _appendWorkspaces = Symbol('appendWorkspaces') // shared ref used by other mixins/Arborist const _loadWorkspaces = Symbol.for('loadWorkspaces') const _loadWorkspacesVirtual = Symbol.for('loadWorkspacesVirtual') module.exports = cls => class MapWorkspaces extends cls { [_appendWorkspaces] (node, workspaces) { if (node && workspaces.size) { node.workspaces = workspaces } return node } async [_loadWorkspaces] (node) { if (node.workspaces) { return node } const workspaces = await mapWorkspaces({ cwd: node.path, pkg: node.package, }) return this[_appendWorkspaces](node, workspaces) } [_loadWorkspacesVirtual] (opts) { return mapWorkspaces.virtual(opts) } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 10
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
audit.js
1.29 KB
lrw-r--r--
2026-03-17 06:55:04
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
build-ideal-tree.js
53.87 KB
lrw-r--r--
2026-03-17 06:55:04
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
deduper.js
594 B
lrw-r--r--
2026-03-17 06:55:04
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.js
5.11 KB
lrw-r--r--
2026-03-17 06:55:04
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
load-actual.js
16.56 KB
lrw-r--r--
2026-03-17 06:55:04
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
load-virtual.js
10.26 KB
lrw-r--r--
2026-03-17 06:55:04
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
load-workspaces.js
800 B
lrw-r--r--
2026-03-17 06:55:04
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
pruner.js
893 B
lrw-r--r--
2026-03-17 06:55:04
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
rebuild.js
12.48 KB
lrw-r--r--
2026-03-17 06:55:04
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
reify.js
54.75 KB
lrw-r--r--
2026-03-17 06:55:04
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).