@poe-platform/safe-js 0.1.205 → 0.1.206
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-EOKMWSSM.js → chunk-7QENFOKI.js} +2 -2
- package/dist/safe-js/chunks/{chunk-YWQDSWZN.js → chunk-GX266IIY.js} +4 -3
- package/dist/safe-js/chunks/{chunk-YWQDSWZN.js.map → chunk-GX266IIY.js.map} +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-EOKMWSSM.js.map → chunk-7QENFOKI.js.map} +0 -0
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
validateMigrationSemantics,
|
|
28
28
|
validateSnapshotData,
|
|
29
29
|
validateSnapshotMigration
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-GX266IIY.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-7QENFOKI.js.map
|
|
@@ -34966,7 +34966,7 @@ async function stringifyProperty(key, holder, state, indent = "") {
|
|
|
34966
34966
|
try {
|
|
34967
34967
|
if (isSandboxDate(value) && getSandboxPropertyDescriptor(value, "toJSON", state.budget) === void 0) {
|
|
34968
34968
|
value = await dateToJSON(value, state.budget, state.context);
|
|
34969
|
-
} else if (isStringifyContainer(value)) {
|
|
34969
|
+
} else if (typeof value === "bigint" || isStringifyContainer(value)) {
|
|
34970
34970
|
const toJSON = await getStringifyProperty(value, "toJSON", state);
|
|
34971
34971
|
if (isSandboxClosure(toJSON)) {
|
|
34972
34972
|
value = await callStringifyClosure(toJSON, [key], value, state);
|
|
@@ -35120,7 +35120,8 @@ function toSandboxValue(value) {
|
|
|
35120
35120
|
}
|
|
35121
35121
|
function getStringifyProperty(target, key, state) {
|
|
35122
35122
|
if (state.context?.getProperty !== void 0) return state.context.getProperty(target, key);
|
|
35123
|
-
const
|
|
35123
|
+
const object = typeof target === "bigint" ? getBoxedPrototype(target, state.budget) : target;
|
|
35124
|
+
const descriptor = object === void 0 ? void 0 : getSandboxPropertyDescriptor(object, key, state.budget);
|
|
35124
35125
|
return descriptor === void 0 ? void 0 : readPropertyDescriptor(descriptor, target, state.context);
|
|
35125
35126
|
}
|
|
35126
35127
|
function copyJsonToSandbox(value, budget) {
|
|
@@ -37904,4 +37905,4 @@ export {
|
|
|
37904
37905
|
FileSnapshotBackend,
|
|
37905
37906
|
run
|
|
37906
37907
|
};
|
|
37907
|
-
//# sourceMappingURL=chunk-
|
|
37908
|
+
//# sourceMappingURL=chunk-GX266IIY.js.map
|