@poe-platform/safe-js 0.1.572 → 0.1.574
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-ANV4GW3S.js → chunk-FFBCAFWR.js} +6 -6
- package/dist/safe-js/chunks/{chunk-ST622PYC.js → chunk-INRK3MMN.js} +7 -4
- package/dist/safe-js/chunks/{chunk-ST622PYC.js.map → chunk-INRK3MMN.js.map} +2 -2
- package/dist/safe-js/chunks/{chunk-LX6SH6WL.js → chunk-IOUFPWJZ.js} +3 -3
- package/dist/safe-js/chunks/{chunk-Y4SNN65W.js → chunk-IZNOOUQQ.js} +3 -3
- package/dist/safe-js/chunks/{chunk-VAHESWCE.js → chunk-JTZKAJXO.js} +2 -2
- package/dist/safe-js/chunks/{chunk-U3TB7DJB.js → chunk-LQUAZLEL.js} +4 -4
- package/dist/safe-js/chunks/{chunk-BZGRGZYN.js → chunk-P6QSVECX.js} +2 -2
- package/dist/safe-js/chunks/{chunk-XASMOIDX.js → chunk-PGIVG5OJ.js} +4 -4
- package/dist/safe-js/chunks/{chunk-5WLWTDWZ.js → chunk-QXDTWOKC.js} +2 -2
- package/dist/safe-js/chunks/{chunk-RJXSW7PY.js → chunk-RQARRAQQ.js} +3 -3
- package/dist/safe-js/chunks/{chunk-TAK5B3DB.js → chunk-UD3RLHHO.js} +2 -2
- package/dist/safe-js/chunks/{chunk-24G4ZE3M.js → chunk-YWVVNMPO.js} +2 -2
- package/dist/safe-js/chunks/{chunk-P5GXWR3W.js → chunk-ZTI7EF3B.js} +2 -2
- package/dist/safe-js/chunks/{cli-runtime-RXTXPWO7.js → cli-runtime-X6MTKAXA.js} +13 -13
- package/dist/safe-js/chunks/{dump-UZQRFYA2.js → dump-N3CCVZVH.js} +4 -4
- package/dist/safe-js/chunks/{fs-KSIMF4MF.js → fs-53VWLYJX.js} +4 -4
- package/dist/safe-js/chunks/harness-XGH242HX.js +10 -0
- package/dist/safe-js/chunks/mcp-YX3LOXNQ.js +11 -0
- package/dist/safe-js/chunks/migration-file-4VUW3O43.js +12 -0
- package/dist/safe-js/chunks/restore-YNB66BNO.js +13 -0
- package/dist/safe-js/chunks/run-53I66TOK.js +17 -0
- package/dist/safe-js/chunks/runtime-modules-WJFXNGSG.js +10 -0
- package/dist/safe-js/cli.js +2 -2
- package/dist/safe-js/core.js +7 -7
- package/dist/safe-js/index.js +13 -13
- package/dist/safe-js/workerd.js +6 -3
- package/dist/safe-js/workerd.js.map +2 -2
- package/package.json +2 -2
- package/dist/safe-js/chunks/harness-6CYYJ7HO.js +0 -10
- package/dist/safe-js/chunks/mcp-IBW5MPPM.js +0 -11
- package/dist/safe-js/chunks/migration-file-G5TAGU4X.js +0 -12
- package/dist/safe-js/chunks/restore-IAXGPYUD.js +0 -13
- package/dist/safe-js/chunks/run-MVOQRB2D.js +0 -17
- package/dist/safe-js/chunks/runtime-modules-KPROEMXD.js +0 -10
- /package/dist/safe-js/chunks/{chunk-ANV4GW3S.js.map → chunk-FFBCAFWR.js.map} +0 -0
- /package/dist/safe-js/chunks/{chunk-LX6SH6WL.js.map → chunk-IOUFPWJZ.js.map} +0 -0
- /package/dist/safe-js/chunks/{chunk-Y4SNN65W.js.map → chunk-IZNOOUQQ.js.map} +0 -0
- /package/dist/safe-js/chunks/{chunk-VAHESWCE.js.map → chunk-JTZKAJXO.js.map} +0 -0
- /package/dist/safe-js/chunks/{chunk-U3TB7DJB.js.map → chunk-LQUAZLEL.js.map} +0 -0
- /package/dist/safe-js/chunks/{chunk-BZGRGZYN.js.map → chunk-P6QSVECX.js.map} +0 -0
- /package/dist/safe-js/chunks/{chunk-XASMOIDX.js.map → chunk-PGIVG5OJ.js.map} +0 -0
- /package/dist/safe-js/chunks/{chunk-5WLWTDWZ.js.map → chunk-QXDTWOKC.js.map} +0 -0
- /package/dist/safe-js/chunks/{chunk-RJXSW7PY.js.map → chunk-RQARRAQQ.js.map} +0 -0
- /package/dist/safe-js/chunks/{chunk-TAK5B3DB.js.map → chunk-UD3RLHHO.js.map} +0 -0
- /package/dist/safe-js/chunks/{chunk-24G4ZE3M.js.map → chunk-YWVVNMPO.js.map} +0 -0
- /package/dist/safe-js/chunks/{chunk-P5GXWR3W.js.map → chunk-ZTI7EF3B.js.map} +0 -0
- /package/dist/safe-js/chunks/{cli-runtime-RXTXPWO7.js.map → cli-runtime-X6MTKAXA.js.map} +0 -0
- /package/dist/safe-js/chunks/{dump-UZQRFYA2.js.map → dump-N3CCVZVH.js.map} +0 -0
- /package/dist/safe-js/chunks/{fs-KSIMF4MF.js.map → fs-53VWLYJX.js.map} +0 -0
- /package/dist/safe-js/chunks/{harness-6CYYJ7HO.js.map → harness-XGH242HX.js.map} +0 -0
- /package/dist/safe-js/chunks/{mcp-IBW5MPPM.js.map → mcp-YX3LOXNQ.js.map} +0 -0
- /package/dist/safe-js/chunks/{migration-file-G5TAGU4X.js.map → migration-file-4VUW3O43.js.map} +0 -0
- /package/dist/safe-js/chunks/{restore-IAXGPYUD.js.map → restore-YNB66BNO.js.map} +0 -0
- /package/dist/safe-js/chunks/{run-MVOQRB2D.js.map → run-53I66TOK.js.map} +0 -0
- /package/dist/safe-js/chunks/{runtime-modules-KPROEMXD.js.map → runtime-modules-WJFXNGSG.js.map} +0 -0
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-BRFJ7BKN.js";
|
|
4
4
|
import {
|
|
5
5
|
restore
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LQUAZLEL.js";
|
|
7
7
|
import {
|
|
8
8
|
attachDumpController,
|
|
9
9
|
createDumpController
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IOUFPWJZ.js";
|
|
11
11
|
import {
|
|
12
12
|
getOwnErrorCode,
|
|
13
13
|
hasOwnErrorCode
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
hashParsedAst,
|
|
17
17
|
hashSource
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IZNOOUQQ.js";
|
|
19
19
|
import {
|
|
20
20
|
DUMP_FORMAT_VERSION,
|
|
21
21
|
EXECUTION_SEMANTICS,
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
withSandboxPromiseRejectionTracker,
|
|
90
90
|
wrapCallerInjectedBindings,
|
|
91
91
|
wrapCancelableBindings
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-QXDTWOKC.js";
|
|
93
93
|
import {
|
|
94
94
|
Budget,
|
|
95
95
|
CompileScope,
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
parseExecutableModule,
|
|
104
104
|
replaceErrorStack,
|
|
105
105
|
safeAddEvent
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-INRK3MMN.js";
|
|
107
107
|
|
|
108
108
|
// packages/safe-js/src/realm.ts
|
|
109
109
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
@@ -2037,4 +2037,4 @@ export {
|
|
|
2037
2037
|
UnhandledRejectionError,
|
|
2038
2038
|
run
|
|
2039
2039
|
};
|
|
2040
|
-
//# sourceMappingURL=chunk-
|
|
2040
|
+
//# sourceMappingURL=chunk-FFBCAFWR.js.map
|
|
@@ -4286,7 +4286,7 @@ var Parser = class {
|
|
|
4286
4286
|
const offset = token.value === "await" && this.peekToken(1).value === "using" ? 1 : 0;
|
|
4287
4287
|
const using = offset === 0 ? token : this.peekToken(1);
|
|
4288
4288
|
const binding = this.peekToken(offset + 1);
|
|
4289
|
-
if (using.value !== "using" || hasLineBreakBetween(using, binding) || !isIdentifierLikeToken(binding)) return void 0;
|
|
4289
|
+
if (using.value !== "using" || hasLineBreakBetween(using, binding) || !isIdentifierLikeToken(binding) && !this.isContextualIdentifier(binding)) return void 0;
|
|
4290
4290
|
if (offset === 1 && hasLineBreakBetween(token, using)) throw unexpectedTokenError(using);
|
|
4291
4291
|
return offset === 1 ? "async" : "sync";
|
|
4292
4292
|
}
|
|
@@ -4337,7 +4337,7 @@ var Parser = class {
|
|
|
4337
4337
|
}
|
|
4338
4338
|
parseClassBody(declaration) {
|
|
4339
4339
|
const start = this.expectKeyword("class");
|
|
4340
|
-
const id = isIdentifierLikeToken(this.currentToken()) && this.currentToken().value !== "extends" ? this.parseBindingIdentifier() : void 0;
|
|
4340
|
+
const id = (isIdentifierLikeToken(this.currentToken()) || this.isContextualIdentifier(this.currentToken())) && this.currentToken().value !== "extends" ? this.parseBindingIdentifier() : void 0;
|
|
4341
4341
|
if (declaration && id === void 0) throw unexpectedTokenError(this.currentToken());
|
|
4342
4342
|
if (declaration) this.declareBinding(id);
|
|
4343
4343
|
return this.withScope(() => {
|
|
@@ -4412,7 +4412,10 @@ var Parser = class {
|
|
|
4412
4412
|
arguments: false,
|
|
4413
4413
|
return: false,
|
|
4414
4414
|
await: false,
|
|
4415
|
-
strictAwait: true
|
|
4415
|
+
strictAwait: true,
|
|
4416
|
+
...this.lexicalContext.grammar === void 0 ? {} : {
|
|
4417
|
+
grammar: { ...this.lexicalContext.grammar, await: true }
|
|
4418
|
+
}
|
|
4416
4419
|
}, () => this.withFunctionContext("normal", () => this.parseBlockStatement([])));
|
|
4417
4420
|
return { type: "StaticBlock", body, span: createSpan2(start.start, body.span.end) };
|
|
4418
4421
|
}
|
|
@@ -7308,4 +7311,4 @@ export {
|
|
|
7308
7311
|
Float16Array2 as Float16Array,
|
|
7309
7312
|
numericTypedArrayConstructors
|
|
7310
7313
|
};
|
|
7311
|
-
//# sourceMappingURL=chunk-
|
|
7314
|
+
//# sourceMappingURL=chunk-INRK3MMN.js.map
|