MCPcopy Index your code
hub / github.com/nodejs/node / primaryResolvedSource

Function primaryResolvedSource

deps/npm/lib/utils/allow-scripts-writer.js:18–18  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

16// RFC's asymmetric-pin rule.
17
18const primaryResolvedSource = (node) => resolvedSourceSpecs(node)[0] || ''
19
20// Convert an arborist Node into the spec string used for a versioned policy
21// entry. Returns `null` if the node cannot be represented as a versioned key

Callers 3

versionedKeyForFunction · 0.85
nameKeyForFunction · 0.85
keyTargetsNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…