Skip to content

Commit e59434d

Browse files
committed
debug: use internal/url
1 parent 0e1a9b5 commit e59434d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/internal/source_map/source_map_cache.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ const {
1414
} = primordials;
1515

1616
const MapIteratorNext = uncurryThis(MapPrototypeEntries(new Map()).next);
17-
const { URL } = require('internal/url');
1817

1918
function ObjectGetValueSafe(obj, key) {
2019
const desc = ObjectGetOwnPropertyDescriptor(obj, key);
@@ -37,7 +36,7 @@ const cjsSourceMapCache = new WeakMap();
3736
// The esm cache is not exposed to users, so we can use a Map keyed
3837
// on filenames.
3938
const esmSourceMapCache = new Map();
40-
const { fileURLToPath, URL } = require('url');
39+
const { fileURLToPath, URL } = require('internal/url');
4140
let Module;
4241
let SourceMap;
4342

0 commit comments

Comments
 (0)