Skip to content

Commit

Permalink
Package lock update
Browse files Browse the repository at this point in the history
  • Loading branch information
Kolezhniuk committed Oct 26, 2023
1 parent 5ee1856 commit 053b771
Show file tree
Hide file tree
Showing 5 changed files with 2,057 additions and 404 deletions.
21 changes: 9 additions & 12 deletions build/browser.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -1586,16 +1586,13 @@ var utf16le = {

const result = new Uint8Array(totalLength);

let offset = 0;
for (const buffer of buffers) {
if (offset + buffer.byteLength > result.byteLength) {
const sub = buffer.subarray(0, result.byteLength - offset);
result.set(sub, offset);
return result
}
result.set(buffer, offset);
offset += buffer.byteLength;
}
buffers.reduce(
(offset, buffer) => {
result.set(buffer, offset);
return offset + buffer.byteLength
},
0
);

return result
}
Expand Down Expand Up @@ -1661,9 +1658,9 @@ var utf16le = {
encoding = end;
end = buffer.byteLength;
}
} else if (typeof value === 'number') {
} else if (typeof val === 'number') {
value = value & 0xff;
} else if (typeof value === 'boolean') {
} else if (typeof val === 'boolean') {
value = +value;
}

Expand Down
23 changes: 10 additions & 13 deletions build/snarkjs.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/snarkjs.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 053b771

Please sign in to comment.