@poe-platform/safe-js 0.1.206 → 0.1.208
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-7QENFOKI.js → chunk-G5R5W7BH.js} +2 -2
- package/dist/safe-js/chunks/{chunk-GX266IIY.js → chunk-WGL3FZZM.js} +3 -3
- package/dist/safe-js/chunks/{chunk-GX266IIY.js.map → chunk-WGL3FZZM.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-7QENFOKI.js.map → chunk-G5R5W7BH.js.map} +0 -0
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
validateMigrationSemantics,
|
|
28
28
|
validateSnapshotData,
|
|
29
29
|
validateSnapshotMigration
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-WGL3FZZM.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-G5R5W7BH.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 (typeof value === "bigint" || isStringifyContainer(value)) {
|
|
34969
|
+
} else if (typeof value === "bigint" || isSandboxClosure(value) || 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);
|
|
@@ -35111,7 +35111,7 @@ function isStringifyObject(value) {
|
|
|
35111
35111
|
return isStringifyContainer(value) && !Array.isArray(value);
|
|
35112
35112
|
}
|
|
35113
35113
|
function toSandboxValue(value) {
|
|
35114
|
-
if (value === null || value === void 0 || typeof value === "string" || typeof value === "number" || typeof value === "bigint" || typeof value === "boolean" || isSandboxClosure(value) || isSandboxPromise(value) || Array.isArray(value) || isStringifyContainer(value)) {
|
|
35114
|
+
if (value === null || value === void 0 || typeof value === "string" || typeof value === "number" || typeof value === "bigint" || typeof value === "symbol" || typeof value === "boolean" || isSandboxClosure(value) || isSandboxPromise(value) || Array.isArray(value) || isStringifyContainer(value)) {
|
|
35115
35115
|
return value;
|
|
35116
35116
|
}
|
|
35117
35117
|
throw new TypeError(
|
|
@@ -37905,4 +37905,4 @@ export {
|
|
|
37905
37905
|
FileSnapshotBackend,
|
|
37906
37906
|
run
|
|
37907
37907
|
};
|
|
37908
|
-
//# sourceMappingURL=chunk-
|
|
37908
|
+
//# sourceMappingURL=chunk-WGL3FZZM.js.map
|