We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e1a9b5 commit e59434dCopy full SHA for e59434d
lib/internal/source_map/source_map_cache.js
@@ -14,7 +14,6 @@ const {
14
} = primordials;
15
16
const MapIteratorNext = uncurryThis(MapPrototypeEntries(new Map()).next);
17
-const { URL } = require('internal/url');
18
19
function ObjectGetValueSafe(obj, key) {
20
const desc = ObjectGetOwnPropertyDescriptor(obj, key);
@@ -37,7 +36,7 @@ const cjsSourceMapCache = new WeakMap();
37
36
// The esm cache is not exposed to users, so we can use a Map keyed
38
// on filenames.
39
const esmSourceMapCache = new Map();
40
-const { fileURLToPath, URL } = require('url');
+const { fileURLToPath, URL } = require('internal/url');
41
let Module;
42
let SourceMap;
43
0 commit comments