Skip to content

Commit

Permalink
fix: extend severeEnablements with immer workaround (#1433)
Browse files Browse the repository at this point in the history
  • Loading branch information
erights authored Jan 8, 2023
1 parent 3ebaf74 commit f072995
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/ses/src/enablements.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,4 +206,16 @@ export const severeEnablements = {
* enablements just enable them all.
*/
'%TypedArrayPrototype%': '*',

/**
* Needed to work with Immer before https://github.com/immerjs/immer/pull/914
* is accepted.
*/
'%MapPrototype%': '*',

/**
* Needed to work with Immer before https://github.com/immerjs/immer/pull/914
* is accepted.
*/
'%SetPrototype%': '*',
};

0 comments on commit f072995

Please sign in to comment.