Skip to content

Commit

Permalink
refactor(ses): document removeUnpermittedIntrinsics now fixed in Stat…
Browse files Browse the repository at this point in the history
  • Loading branch information
leotm committed Dec 19, 2024
1 parent ce43f37 commit 031bed4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/ses/src/permits.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ arrayForEach(getOwnPropertyNames(strict), prop => {
} catch (e) {
// https://github.com/facebook/hermes/blob/main/test/hermes/function-non-strict.js
if (e.message === 'Restricted in strict mode') {
// Fixed in Static Hermes: https://github.com/facebook/hermes/issues/1582
FunctionInstance[prop] = accessor;
}
}
Expand Down

0 comments on commit 031bed4

Please sign in to comment.