ffjavascript
Advanced tools
Comparing version 0.2.57 to 0.2.59
{ | ||
"name": "ffjavascript", | ||
"type": "module", | ||
"version": "0.2.57", | ||
"version": "0.2.59", | ||
"description": "Finite Field Library in Javascript", | ||
@@ -36,3 +36,3 @@ "main": "./build/main.cjs", | ||
"wasmbuilder": "0.0.16", | ||
"wasmcurves": "0.2.0", | ||
"wasmcurves": "0.2.1", | ||
"web-worker": "^1.2.0" | ||
@@ -39,0 +39,0 @@ }, |
@@ -198,3 +198,3 @@ | ||
const s = "0000000" + e.toString(16); | ||
const v = new Uint32Array(buff.buffer, o, n8/4); | ||
const v = new Uint32Array(buff.buffer, buff.byteOffset + o, n8/4); | ||
const l = (((s.length-7)*4 - 1) >> 5)+1; // Number of 32bit words; | ||
@@ -219,3 +219,3 @@ for (let i=0; i<l; i++) v[i] = parseInt(s.substring(s.length-8*i-8, s.length-8*i), 16); | ||
o = o || 0; | ||
const v = new Uint32Array(buff.buffer, o, n8/4); | ||
const v = new Uint32Array(buff.buffer, buff.byteOffset + o, n8/4); | ||
const a = new Array(n8/4); | ||
@@ -222,0 +222,0 @@ v.forEach( (ch,i) => a[a.length-i-1] = ch.toString(16).padStart(8,"0") ); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
418721
+ Addedwasmcurves@0.2.1(transitive)
- Removedwasmcurves@0.2.0(transitive)
Updatedwasmcurves@0.2.1