We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 704bc42 commit 14731feCopy full SHA for 14731fe
packages/ses/src/permits.js
@@ -1,7 +1,7 @@
1
/* eslint-disable no-restricted-globals */
2
/* eslint max-lines: 0 */
3
4
-import { arrayPush, getOwnPropertyNames, arrayForEach } from './commons.js';
+import { arrayPush, arrayForEach } from './commons.js';
5
6
/** @import {GenericErrorConstructor} from '../types.js' */
7
@@ -304,7 +304,8 @@ const strict = function () {
304
'use strict';
305
};
306
307
-arrayForEach(getOwnPropertyNames(strict), prop => {
+// TODO Remove this once we no longer support the Hermes that needed this.
308
+arrayForEach(['caller', 'arguments'], prop => {
309
try {
310
strict[prop];
311
} catch (e) {
0 commit comments