fix: remove "apply" from enablements whitelist
MODIFY
packages/ses/src/enablements.js
packages/ses/src/enablements.js
@@ -64,7 +64,6 @@ export default {
'%FunctionPrototype%': {
constructor: true, // set by "regenerator-runtime"
bind: true, // set by "underscore"
- apply: true, // set by "tape"
name: true,
toString: true,
},

MODIFY
packages/ses/test/enable-property-overrides.test.js
packages/ses/test/enable-property-overrides.test.js
@@ -83,7 +83,6 @@ test('enablePropertyOverrides - on', t => {
'constructor',
// 'name', // TODO
'bind',
- 'apply',
'toString',
]);
testOverriding(t, 'Error', new Error(), [

fix: remove "apply" from enablements whitelist (#475)