@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.
@@ -27,7 +27,7 @@ import {
27
27
  validateMigrationSemantics,
28
28
  validateSnapshotData,
29
29
  validateSnapshotMigration
30
- } from "./chunk-7IGOMKO4.js";
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-TCWJR6OI.js.map
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]) => globalThis.isNaN(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]) => globalThis.isFinite(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-7IGOMKO4.js.map
33618
+ //# sourceMappingURL=chunk-VKGWGZBH.js.map