Skip to content

Commit

Permalink
fix: @W-11903379@ chore: remove JSON from ESGlobalKeys to allow disto…
Browse files Browse the repository at this point in the history
…rting JSON.parse (#395)

* fix: @W-11903379@ chore: remove JSON from ESGlobalKeys to allow distorting JSON.parse

* Update packages/near-membrane-base/src/intrinsics.ts

* Update packages/near-membrane-base/src/__tests__/intrinsics.spec.ts

Co-authored-by: John-David Dalton <[email protected]>
  • Loading branch information
rwaldron and jdalton authored Oct 17, 2022
1 parent cbcd4a8 commit 62f4d82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const ESGlobalKeys = [

// *** 18.4 Other Properties of the Global Object
// 'Atomics', // Remapped
'JSON',
// 'JSON', // Remapped
'Math',
'Reflect',

Expand Down
2 changes: 1 addition & 1 deletion packages/near-membrane-base/src/intrinsics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const ESGlobalKeys = [

// *** 18.4 Other Properties of the Global Object
// 'Atomics', // Remapped
'JSON',
// 'JSON', // Remapped
'Math',
'Reflect',

Expand Down

0 comments on commit 62f4d82

Please sign in to comment.