@poe-platform/safe-js 0.1.479 → 0.1.481
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/safe-js/chunks/{chunk-OBSLXRJL.js → chunk-GDGW6WIT.js} +3 -1
- package/dist/safe-js/chunks/{chunk-OBSLXRJL.js.map → chunk-GDGW6WIT.js.map} +2 -2
- package/dist/safe-js/chunks/{chunk-TMSMOAZK.js → chunk-YRWFGEZM.js} +2 -2
- package/dist/safe-js/cli.js +2 -2
- package/dist/safe-js/core.js +1 -1
- package/dist/safe-js/index.js +2 -2
- package/package.json +2 -2
- /package/dist/safe-js/chunks/{chunk-TMSMOAZK.js.map → chunk-YRWFGEZM.js.map} +0 -0
|
@@ -4823,6 +4823,8 @@ var Parser = class {
|
|
|
4823
4823
|
if (token.type === "keyword" && (token.value === "delete" || token.value === "typeof" || token.value === "void")) {
|
|
4824
4824
|
this.index += 1;
|
|
4825
4825
|
const argument = this.parseUnaryExpression();
|
|
4826
|
+
if (token.value === "delete" && argument.node.type === "Identifier" && this.lexicalContext.grammar?.strict === true)
|
|
4827
|
+
throw new SyntaxError("Cannot delete an unqualified identifier in strict mode.");
|
|
4826
4828
|
return {
|
|
4827
4829
|
node: {
|
|
4828
4830
|
type: "UnaryExpression",
|
|
@@ -57264,4 +57266,4 @@ authorization of the copyright holder.
|
|
|
57264
57266
|
SPDX-License-Identifier: Unicode-3.0
|
|
57265
57267
|
|
|
57266
57268
|
*/
|
|
57267
|
-
//# sourceMappingURL=chunk-
|
|
57269
|
+
//# sourceMappingURL=chunk-GDGW6WIT.js.map
|