@poe-platform/safe-js 0.1.482 → 0.1.484
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-GDGW6WIT.js → chunk-DFDH37RE.js} +3 -1
- package/dist/safe-js/chunks/{chunk-GDGW6WIT.js.map → chunk-DFDH37RE.js.map} +2 -2
- package/dist/safe-js/chunks/{chunk-YRWFGEZM.js → chunk-MJOAIXVY.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-YRWFGEZM.js.map → chunk-MJOAIXVY.js.map} +0 -0
|
@@ -3416,6 +3416,8 @@ var Parser = class {
|
|
|
3416
3416
|
return this.parseTryStatement();
|
|
3417
3417
|
}
|
|
3418
3418
|
if (token.type === "keyword" && token.value === "import" && !this.isImportMetaStart() && this.peekToken(1).value !== "(") {
|
|
3419
|
+
if (this.lexicalContext.grammar !== void 0)
|
|
3420
|
+
throw new SyntaxError("Static import declarations are not allowed in dynamic functions.");
|
|
3419
3421
|
return this.parseImportDeclaration();
|
|
3420
3422
|
}
|
|
3421
3423
|
if (token.type === "keyword" && token.value === "return") {
|
|
@@ -57266,4 +57268,4 @@ authorization of the copyright holder.
|
|
|
57266
57268
|
SPDX-License-Identifier: Unicode-3.0
|
|
57267
57269
|
|
|
57268
57270
|
*/
|
|
57269
|
-
//# sourceMappingURL=chunk-
|
|
57271
|
+
//# sourceMappingURL=chunk-DFDH37RE.js.map
|