@poe-platform/safe-js 0.1.316 → 0.1.317

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.
@@ -15023,9 +15023,13 @@ function getFloat32Member(value, property, budget) {
15023
15023
  }
15024
15024
  checkFloat32Allocation(length, budget);
15025
15025
  const result = new Float32Array(length);
15026
- new Uint8Array(result.buffer).set(
15027
- new Uint8Array(storage2.buffer, storage2.byteOffset + start * 4, length * 4)
15028
- );
15026
+ if (length > 0) {
15027
+ const current = float32Storage(receiver, true);
15028
+ const count = Math.min(length, Math.max(current.length - start, 0));
15029
+ if (count > 0) new Uint8Array(result.buffer).set(
15030
+ new Uint8Array(current.buffer, current.byteOffset + start * 4, count * 4)
15031
+ );
15032
+ }
15029
15033
  return result;
15030
15034
  } finally {
15031
15035
  release();
@@ -42216,4 +42220,4 @@ export {
42216
42220
  FileSnapshotBackend,
42217
42221
  run
42218
42222
  };
42219
- //# sourceMappingURL=chunk-G47EGC6S.js.map
42223
+ //# sourceMappingURL=chunk-6Y6A7QMJ.js.map