Skip to content

Commit 97b58d8

Browse files
committed
fixup! module: move the CJS exports cache to internal/modules/cjs/loader
1 parent f2a3d8e commit 97b58d8

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

lib/internal/modules/cjs/loader.js

-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ const {
157157
isProxy,
158158
} = require('internal/util/types');
159159

160-
const { kEvaluated } = internalBinding('module_wrap');
161160
const isWindows = process.platform === 'win32';
162161

163162
const relativeResolveCache = { __proto__: null };

lib/internal/modules/esm/loader.js

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const {
1111
JSONStringify,
1212
ObjectSetPrototypeOf,
1313
RegExpPrototypeSymbolReplace,
14-
SafeWeakMap,
1514
encodeURIComponent,
1615
hardenRegExp,
1716
} = primordials;

0 commit comments

Comments
 (0)