From 222f8f1ee9f579de9e325a2807663fc3931efa9a Mon Sep 17 00:00:00 2001 From: "Mark S. Miller" Date: Sun, 16 Jul 2023 22:41:49 -0700 Subject: [PATCH] fix(ses): add more missing permits --- packages/ses/src/permits.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/ses/src/permits.js b/packages/ses/src/permits.js index 66c75edb5f..01ca25b460 100644 --- a/packages/ses/src/permits.js +++ b/packages/ses/src/permits.js @@ -852,6 +852,7 @@ export const permitted = { dotAll: getter, flags: getter, global: getter, + hasIndices: getter, ignoreCase: getter, '@@match': fn, '@@matchAll': fn, @@ -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%': {