@poe-platform/safe-js 0.1.132 → 0.1.133
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-TCWJR6OI.js → chunk-V5FU2Y3Z.js} +2 -2
- package/dist/safe-js/chunks/{chunk-7IGOMKO4.js → chunk-VKGWGZBH.js} +9 -3
- package/dist/safe-js/chunks/{chunk-7IGOMKO4.js.map → chunk-VKGWGZBH.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-TCWJR6OI.js.map → chunk-V5FU2Y3Z.js.map} +0 -0
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
validateMigrationSemantics,
|
|
28
28
|
validateSnapshotData,
|
|
29
29
|
validateSnapshotMigration
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-VKGWGZBH.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-V5FU2Y3Z.js.map
|
|
@@ -30977,12 +30977,18 @@ function createMiscGlobals(options) {
|
|
|
30977
30977
|
...createNumericParsers(options.budget),
|
|
30978
30978
|
isNaN: createSandboxClosure({
|
|
30979
30979
|
sandbox: true,
|
|
30980
|
-
call: ([value]) =>
|
|
30980
|
+
call: ([value], context) => {
|
|
30981
|
+
const number = sandboxNumber(value, options.budget, context);
|
|
30982
|
+
return typeof number === "number" ? Number.isNaN(number) : number.then(Number.isNaN);
|
|
30983
|
+
},
|
|
30981
30984
|
name: "isNaN"
|
|
30982
30985
|
}),
|
|
30983
30986
|
isFinite: createSandboxClosure({
|
|
30984
30987
|
sandbox: true,
|
|
30985
|
-
call: ([value]) =>
|
|
30988
|
+
call: ([value], context) => {
|
|
30989
|
+
const number = sandboxNumber(value, options.budget, context);
|
|
30990
|
+
return typeof number === "number" ? Number.isFinite(number) : number.then(Number.isFinite);
|
|
30991
|
+
},
|
|
30986
30992
|
name: "isFinite"
|
|
30987
30993
|
})
|
|
30988
30994
|
};
|
|
@@ -33609,4 +33615,4 @@ export {
|
|
|
33609
33615
|
FileSnapshotBackend,
|
|
33610
33616
|
run
|
|
33611
33617
|
};
|
|
33612
|
-
//# sourceMappingURL=chunk-
|
|
33618
|
+
//# sourceMappingURL=chunk-VKGWGZBH.js.map
|