MCPcopy Index your code
hub / github.com/nodejs/node / sea.js

File sea.js

test/fixtures/sea/use-code-cache/sea.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const { Module: { createRequire } } = require('module');
2const createdRequire = createRequire(__filename);
3
4// Although, require('../common') works locally, that couldn't be used here

Callers

nothing calls this directly

Calls 8

createRequireFunction · 0.85
expectWarningFunction · 0.85
deepStrictEqualFunction · 0.85
dirnameFunction · 0.85
requireFunction · 0.50
throwsFunction · 0.50
splitMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected