░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/usr/lib/node_modules/npm/node_modules/@npmcli/metavuln-calculator/lib
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: get-dep-spec.js
module.exports = (mani, name) => { // skip dev because that only matters at the root, // where we aren't fetching a manifest from the registry // with multiple versions anyway. const { dependencies: deps = {}, optionalDependencies: optDeps = {}, peerDependencies: peerDeps = {}, } = mani return deps && typeof deps[name] === 'string' ? deps[name] : optDeps && typeof optDeps[name] === 'string' ? optDeps[name] : peerDeps && typeof peerDeps[name] === 'string' ? peerDeps[name] : null }
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 advisory.js
JS
13.1 KB
2023-09-24 03:45
EDIT
📄 get-dep-spec.js
JS
522 B
2023-09-24 03:45
EDIT
📄 hash.js
JS
164 B
2023-09-24 03:45
EDIT
📄 index.js
JS
3.9 KB
2023-09-24 03:45
EDIT