@poe-platform/safe-js 0.1.272 → 0.1.273
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-3ANG72OY.js → chunk-D6UH6V3H.js} +2 -2
- package/dist/safe-js/chunks/{chunk-5AXKUJ6N.js → chunk-Y7SBHDZT.js} +34 -10
- package/dist/safe-js/chunks/chunk-Y7SBHDZT.js.map +7 -0
- 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-5AXKUJ6N.js.map +0 -7
- /package/dist/safe-js/chunks/{chunk-3ANG72OY.js.map → chunk-D6UH6V3H.js.map} +0 -0
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
validateMigrationSemantics,
|
|
28
28
|
validateSnapshotData,
|
|
29
29
|
validateSnapshotMigration
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-Y7SBHDZT.js";
|
|
31
31
|
|
|
32
32
|
// packages/safe-js/src/migrate.ts
|
|
33
33
|
import { createHash } from "node:crypto";
|
|
@@ -8249,4 +8249,4 @@ export {
|
|
|
8249
8249
|
parseMcpConfig,
|
|
8250
8250
|
makeMcpModule
|
|
8251
8251
|
};
|
|
8252
|
-
//# sourceMappingURL=chunk-
|
|
8252
|
+
//# sourceMappingURL=chunk-D6UH6V3H.js.map
|
|
@@ -11695,7 +11695,9 @@ function createPromiseGlobals(options) {
|
|
|
11695
11695
|
context === void 0 ? promiseConstructor : context.thisValue,
|
|
11696
11696
|
context
|
|
11697
11697
|
),
|
|
11698
|
-
|
|
11698
|
+
guest: true,
|
|
11699
|
+
name: "all",
|
|
11700
|
+
length: 1
|
|
11699
11701
|
}),
|
|
11700
11702
|
race: createSandboxClosure({
|
|
11701
11703
|
sandbox: true,
|
|
@@ -11706,7 +11708,9 @@ function createPromiseGlobals(options) {
|
|
|
11706
11708
|
context === void 0 ? promiseConstructor : context.thisValue,
|
|
11707
11709
|
context
|
|
11708
11710
|
),
|
|
11709
|
-
|
|
11711
|
+
guest: true,
|
|
11712
|
+
name: "race",
|
|
11713
|
+
length: 1
|
|
11710
11714
|
}),
|
|
11711
11715
|
allSettled: createSandboxClosure({
|
|
11712
11716
|
sandbox: true,
|
|
@@ -11717,7 +11721,9 @@ function createPromiseGlobals(options) {
|
|
|
11717
11721
|
context === void 0 ? promiseConstructor : context.thisValue,
|
|
11718
11722
|
context
|
|
11719
11723
|
),
|
|
11720
|
-
|
|
11724
|
+
guest: true,
|
|
11725
|
+
name: "allSettled",
|
|
11726
|
+
length: 1
|
|
11721
11727
|
}),
|
|
11722
11728
|
any: createSandboxClosure({
|
|
11723
11729
|
sandbox: true,
|
|
@@ -11728,7 +11734,9 @@ function createPromiseGlobals(options) {
|
|
|
11728
11734
|
context === void 0 ? promiseConstructor : context.thisValue,
|
|
11729
11735
|
context
|
|
11730
11736
|
),
|
|
11731
|
-
|
|
11737
|
+
guest: true,
|
|
11738
|
+
name: "any",
|
|
11739
|
+
length: 1
|
|
11732
11740
|
}),
|
|
11733
11741
|
resolve: createSandboxClosure({
|
|
11734
11742
|
sandbox: true,
|
|
@@ -11746,7 +11754,9 @@ function createPromiseGlobals(options) {
|
|
|
11746
11754
|
const actualConstructor = descriptor === void 0 ? getPromiseMember("constructor", options.budget) : readPropertyDescriptor(descriptor, value, context, true);
|
|
11747
11755
|
return actualConstructor instanceof Promise ? actualConstructor.then(finish) : finish(actualConstructor);
|
|
11748
11756
|
},
|
|
11749
|
-
|
|
11757
|
+
guest: true,
|
|
11758
|
+
name: "resolve",
|
|
11759
|
+
length: 1
|
|
11750
11760
|
}),
|
|
11751
11761
|
reject: createSandboxClosure({
|
|
11752
11762
|
sandbox: true,
|
|
@@ -11754,7 +11764,9 @@ function createPromiseGlobals(options) {
|
|
|
11754
11764
|
const constructor = context === void 0 ? promiseConstructor : context.thisValue;
|
|
11755
11765
|
return isSandboxPromiseConstructor(constructor) ? createRejectedSandboxPromise(reason, options.budget, context?.span) : settleConstructedPromise(constructor, reason, "rejected", options.budget, context);
|
|
11756
11766
|
},
|
|
11757
|
-
|
|
11767
|
+
guest: true,
|
|
11768
|
+
name: "reject",
|
|
11769
|
+
length: 1
|
|
11758
11770
|
})
|
|
11759
11771
|
};
|
|
11760
11772
|
const promiseConstructor = createSandboxClosure({
|
|
@@ -11788,6 +11800,12 @@ function createPromiseGlobals(options) {
|
|
|
11788
11800
|
intrinsicPromiseConstructors.set(options.budget, promiseConstructor);
|
|
11789
11801
|
registerIntrinsicFunction(options.budget, species);
|
|
11790
11802
|
registerIntrinsicFunction(options.budget, promiseConstructor);
|
|
11803
|
+
for (const method of [
|
|
11804
|
+
...Object.values(properties),
|
|
11805
|
+
...Object.values(Object.getOwnPropertyDescriptors(prototype)).map((descriptor) => descriptor.value)
|
|
11806
|
+
]) {
|
|
11807
|
+
if (isSandboxClosure(method)) registerIntrinsicFunction(options.budget, method);
|
|
11808
|
+
}
|
|
11791
11809
|
return { Promise: promiseConstructor };
|
|
11792
11810
|
}
|
|
11793
11811
|
function getPromiseMember(property, budget) {
|
|
@@ -11901,7 +11919,9 @@ function getPromisePrototype(budget) {
|
|
|
11901
11919
|
const constructor = getPromiseSpeciesConstructor(target, prototype, budget, context);
|
|
11902
11920
|
return constructor instanceof Promise ? constructor.then(finish) : finish(constructor);
|
|
11903
11921
|
},
|
|
11904
|
-
|
|
11922
|
+
guest: true,
|
|
11923
|
+
name: "then",
|
|
11924
|
+
length: 2
|
|
11905
11925
|
}),
|
|
11906
11926
|
catch: createSandboxClosure({
|
|
11907
11927
|
sandbox: true,
|
|
@@ -11921,7 +11941,9 @@ function getPromisePrototype(budget) {
|
|
|
11921
11941
|
const then = descriptor === void 0 ? readPromiseReceiverProperty(target, "then", prototype, context) : readPropertyDescriptor(descriptor, target, context, true);
|
|
11922
11942
|
return then instanceof Promise ? then.then(invoke) : invoke(then);
|
|
11923
11943
|
},
|
|
11924
|
-
|
|
11944
|
+
guest: true,
|
|
11945
|
+
name: "catch",
|
|
11946
|
+
length: 1
|
|
11925
11947
|
}),
|
|
11926
11948
|
finally: createSandboxClosure({
|
|
11927
11949
|
sandbox: true,
|
|
@@ -11991,7 +12013,9 @@ function getPromisePrototype(budget) {
|
|
|
11991
12013
|
const constructor = getPromiseSpeciesConstructor(target, prototype, budget, context);
|
|
11992
12014
|
return constructor instanceof Promise ? constructor.then(finish) : finish(constructor);
|
|
11993
12015
|
},
|
|
11994
|
-
|
|
12016
|
+
guest: true,
|
|
12017
|
+
name: "finally",
|
|
12018
|
+
length: 1
|
|
11995
12019
|
})
|
|
11996
12020
|
};
|
|
11997
12021
|
for (const name of Object.keys(prototype)) {
|
|
@@ -40200,4 +40224,4 @@ export {
|
|
|
40200
40224
|
FileSnapshotBackend,
|
|
40201
40225
|
run
|
|
40202
40226
|
};
|
|
40203
|
-
//# sourceMappingURL=chunk-
|
|
40227
|
+
//# sourceMappingURL=chunk-Y7SBHDZT.js.map
|