(url)
| 122 | |
| 123 | const { builtinIds } = internalBinding('builtins'); |
| 124 | function isNativeUrl(url) { |
| 125 | url = SideEffectFreeRegExpPrototypeSymbolReplace(/\.js$/, url, ''); |
| 126 | |
| 127 | return StringPrototypeStartsWith(url, 'node:internal/') || |
| 128 | ArrayPrototypeIncludes(builtinIds, url); |
| 129 | } |
| 130 | |
| 131 | function getRelativePath(filenameOrURL) { |
| 132 | const dir = StringPrototypeSlice(Path.join(Path.resolve(), 'x'), 0, -1); |
no test coverage detected
searching dependent graphs…