Skip to content

Commit

Permalink
debug: use internal/url
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Mar 24, 2021
1 parent 0e1a9b5 commit e59434d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/internal/source_map/source_map_cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ const {
} = primordials;

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

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

Expand Down

0 comments on commit e59434d

Please sign in to comment.