wasmcurves
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "wasmcurves", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "elliptic curves implementations in wasm", | ||
@@ -8,5 +8,5 @@ "main": "index.js", | ||
"test": "mocha --experimental-worker", | ||
"build_bn128": "node tools/buildwasm_bn128.js; browserify main_bn128.js -o build/wasmsnark_bn128.js --exclude worker_threads --exclude crypto; cp build/wasmsnark_bn128.js example/bn128/wasmsnark_bn128.js", | ||
"build_mnt6753": "node tools/buildwasm_mnt6753.js; browserify main_mnt6753.js -o build/wasmsnark_mnt6753.js --exclude worker_threads --exclude crypto; cp build/wasmsnark_mnt6753.js example/mnt6753/wasmsnark_mnt6753.js", | ||
"build_bls12381": "node tools/buildwasm_bls12381.js; browserify main_bls12381.js -o build/wasmsnark_bls12381.js --exclude worker_threads --exclude crypto; cp build/wasmsnark_bls12381.js example/bls12381/wasmsnark_bls12381.js" | ||
"build_bn128": "node tools/buildwasm_bn128.js", | ||
"build_mnt6753": "node tools/buildwasm_mnt6753.js", | ||
"build_bls12381": "node tools/buildwasm_bls12381.js" | ||
}, | ||
@@ -30,12 +30,9 @@ "keywords": [ | ||
"devDependencies": { | ||
"eslint": "^6.8.0", | ||
"mocha": "^6.1.4", | ||
"package": "^1.0.1", | ||
"perf_hooks": "0.0.1", | ||
"wasmbuilder": "0.0.11" | ||
"eslint": "^8.17.0", | ||
"mocha": "^10.0.0" | ||
}, | ||
"dependencies": { | ||
"big-integer": "^1.6.42", | ||
"blakejs": "^1.1.0" | ||
"wasmbuilder": "0.0.12" | ||
} | ||
} |
@@ -44,3 +44,3 @@ | ||
pb.g1m_double(p1, p2); | ||
pb.g1m_affine(p2, p2); | ||
pb.g1m_normalize(p2, p2); | ||
res.push(...pb.i8.slice(p2, p2+96*2)); | ||
@@ -50,3 +50,3 @@ | ||
pb.g1m_add(p1, p2, p3); | ||
pb.g1m_affine(p3, p3); | ||
pb.g1m_normalize(p3, p3); | ||
res.push(...pb.i8.slice(p3, p3+96*2)); | ||
@@ -56,3 +56,3 @@ | ||
pb.g1m_double(p2, p4); | ||
pb.g1m_affine(p4, p4); | ||
pb.g1m_normalize(p4, p4); | ||
res.push(...pb.i8.slice(p4, p4+96*2)); | ||
@@ -59,0 +59,0 @@ } |
Sorry, the diff of this file is too big to display
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
2
9
37965139
66
21554
+ Addedwasmbuilder@0.0.12
+ Addedwasmbuilder@0.0.12(transitive)
- Removedblakejs@^1.1.0
- Removedblakejs@1.2.1(transitive)