Skip to content

Commit

Permalink
Merge pull request #1677 from endojs/markm-more-missing-permits
Browse files Browse the repository at this point in the history
fix(ses): add more missing permits
  • Loading branch information
erights authored Jul 25, 2023
2 parents 9513b37 + 222f8f1 commit ac9bb3b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/ses/src/permits.js
Original file line number Diff line number Diff line change
Expand Up @@ -852,6 +852,7 @@ export const permitted = {
dotAll: getter,
flags: getter,
global: getter,
hasIndices: getter,
ignoreCase: getter,
'@@match': fn,
'@@matchAll': fn,
Expand All @@ -864,12 +865,10 @@ export const permitted = {
test: fn,
toString: fn,
unicode: getter,
unicodeSets: getter,

// Annex B: Additional Properties of the RegExp.prototype Object
compile: false, // UNSAFE and suppressed.
// Seen on FF Nightly 88.0a1, Chrome Canary 91.0.4446.0,
// Safari Tech Preview Release 122 (Safari 14.2, WebKit 16612.1.6.2)
hasIndices: false,
},

'%RegExpStringIteratorPrototype%': {
Expand Down

0 comments on commit ac9bb3b

Please sign in to comment.