@poe-platform/safe-js 0.1.250 → 0.1.252

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-WHDYVYXQ.js";
30
+ } from "./chunk-QN4BNY6V.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-GFCWDIHP.js.map
8252
+ //# sourceMappingURL=chunk-EEO344SX.js.map
@@ -22182,6 +22182,15 @@ function createMathGlobals(options = {}) {
22182
22182
  name
22183
22183
  });
22184
22184
  }
22185
+ for (const [name, value] of Object.entries(mathObject)) {
22186
+ const constant = typeof value === "number";
22187
+ Object.defineProperty(mathObject, name, {
22188
+ enumerable: false,
22189
+ writable: !constant,
22190
+ configurable: !constant
22191
+ });
22192
+ }
22193
+ Object.defineProperty(mathObject, Symbol.toStringTag, { value: "Math", configurable: true });
22185
22194
  return {
22186
22195
  Infinity: Infinity,
22187
22196
  Math: mathObject,
@@ -22859,6 +22868,7 @@ function createBuiltinBindings(options) {
22859
22868
  ...createRegexGlobals(options)
22860
22869
  };
22861
22870
  registerBuiltinIdentities(options.budget, bindings);
22871
+ registerIntrinsicObject(options.budget, bindings.Math);
22862
22872
  return bindings;
22863
22873
  }
22864
22874
 
@@ -39575,4 +39585,4 @@ export {
39575
39585
  FileSnapshotBackend,
39576
39586
  run
39577
39587
  };
39578
- //# sourceMappingURL=chunk-WHDYVYXQ.js.map
39588
+ //# sourceMappingURL=chunk-QN4BNY6V.js.map