Skip to content

Commit

Permalink
Update lib/internal/modules/cjs/loader.js
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
huseyinacacak-janea and aduh95 authored Sep 16, 2024
1 parent 2acf044 commit 27b66cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/internal/modules/cjs/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ let patched = false;
if (isWindows) {
/* Create a proxy handler to intercept some operations */
const cacheHandler = {
__proto__: null,
get(target, prop) {
if (typeof prop === 'string') {
return target[StringPrototypeToLowerCase(prop)];
Expand Down

0 comments on commit 27b66cc

Please sign in to comment.