Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ allow-scripts-writer.js
File
allow-scripts-writer.js
deps/npm/test/lib/utils/allow-scripts-writer.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
t = require(
'tap'
)
2
const
path = require(
'node:path'
)
3
const
{
4
applyApprovalForPackage,
Callers
nothing calls this directly
Calls
11
nameKeyFor
Function · 0.85
versionedKeyFor
Function · 0.85
applyApprovalForPackage
Function · 0.85
isSingleVersionPin
Function · 0.85
applyDenyForPackage
Function · 0.85
node
Function · 0.70
match
Method · 0.65
require
Function · 0.50
test
Method · 0.45
resolve
Method · 0.45
ok
Method · 0.45
Tested by
no test coverage detected