MCPcopy
hub / github.com/patriksimek/vm2 / resolve

Function resolve

lib/setup-node-sandbox.js:173–175  ·  view source on GitHub ↗
(id, options)

Source from the content-addressed store, hash-verified

171 return requireImpl(mod, id, true);
172 }
173 function resolve(id, options) {
174 return resolve0(mod, id, options, Module._extensions, true);
175 }
176 require.resolve = resolve;
177 function paths(id) {
178 return ensureSandboxArray(lookupPaths(mod, id));

Callers 11

sanitizeThenableArgFunction · 0.85
repro.jsFile · 0.85
escapeAttemptFunction · 0.85
escapeAttemptFunction · 0.85
repro.jsFile · 0.85
escapeAttemptFunction · 0.85
regression-55hx.jsFile · 0.85
escapeAttemptFunction · 0.85
escapeAttemptFunction · 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…