@poe-platform/safe-js 0.1.315 → 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.
- package/dist/safe-js/chunks/{chunk-C26TRM5L.js → chunk-6Y6A7QMJ.js} +10 -5
- package/dist/safe-js/chunks/{chunk-C26TRM5L.js.map → chunk-6Y6A7QMJ.js.map} +2 -2
- package/dist/safe-js/chunks/{chunk-PUYCRO6S.js → chunk-KGKR4R3I.js} +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-PUYCRO6S.js.map → chunk-KGKR4R3I.js.map} +0 -0
|
@@ -14893,7 +14893,8 @@ function createFloat32ArrayPrototypes(budget, constructor) {
|
|
|
14893
14893
|
if (args[0] !== void 0) separator = await sandboxString(args[0], budget, context);
|
|
14894
14894
|
for (let index = 0; index < length; index++) {
|
|
14895
14895
|
budget.visitNode();
|
|
14896
|
-
|
|
14896
|
+
const value = receiver[index];
|
|
14897
|
+
text = budget.allocateString(text + (index === 0 ? "" : separator) + (value === void 0 ? "" : String(value)));
|
|
14897
14898
|
}
|
|
14898
14899
|
return text;
|
|
14899
14900
|
} finally {
|
|
@@ -15022,9 +15023,13 @@ function getFloat32Member(value, property, budget) {
|
|
|
15022
15023
|
}
|
|
15023
15024
|
checkFloat32Allocation(length, budget);
|
|
15024
15025
|
const result = new Float32Array(length);
|
|
15025
|
-
|
|
15026
|
-
|
|
15027
|
-
|
|
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
|
+
}
|
|
15028
15033
|
return result;
|
|
15029
15034
|
} finally {
|
|
15030
15035
|
release();
|
|
@@ -42215,4 +42220,4 @@ export {
|
|
|
42215
42220
|
FileSnapshotBackend,
|
|
42216
42221
|
run
|
|
42217
42222
|
};
|
|
42218
|
-
//# sourceMappingURL=chunk-
|
|
42223
|
+
//# sourceMappingURL=chunk-6Y6A7QMJ.js.map
|