From 4a4f9fe8dbb30921765481f37da6bf8a2af3cbfa Mon Sep 17 00:00:00 2001 From: "Mark S. Miller" Date: Tue, 16 Jan 2024 11:36:01 -0800 Subject: [PATCH] feat(ses): Anticipate set-methods proposal (#1970) --- packages/ses/src/permits.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/packages/ses/src/permits.js b/packages/ses/src/permits.js index 411e73d1be..569cabac50 100644 --- a/packages/ses/src/permits.js +++ b/packages/ses/src/permits.js @@ -1121,6 +1121,20 @@ export const permitted = { values: fn, '@@iterator': fn, '@@toStringTag': 'string', + // See https://github.com/tc39/proposal-set-methods + intersection: fn, + // See https://github.com/tc39/proposal-set-methods + union: fn, + // See https://github.com/tc39/proposal-set-methods + difference: fn, + // See https://github.com/tc39/proposal-set-methods + symmetricDifference: fn, + // See https://github.com/tc39/proposal-set-methods + isSubsetOf: fn, + // See https://github.com/tc39/proposal-set-methods + isSupersetOf: fn, + // See https://github.com/tc39/proposal-set-methods + isDisjointFrom: fn, }, '%SetIteratorPrototype%': {