MCPcopy Create free account
hub / github.com/npm/cli / allow-scripts-prune.js

File allow-scripts-prune.js

test/lib/utils/allow-scripts-prune.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const t = require('tap')
2const { classifyUnusedEntries } = require('../../../lib/utils/allow-scripts-prune.js')
3
4// Minimal registry node: `matches` derives name/version from the resolved URL.

Callers

nothing calls this directly

Calls 4

classifyUnusedEntriesFunction · 0.85
withScriptsFunction · 0.85
noScriptsFunction · 0.85
endMethod · 0.80

Tested by

no test coverage detected