Comparing version 0.4.5 to 0.6.0
{ | ||
"name": "mcl-wasm", | ||
"version": "0.4.5", | ||
"version": "0.6.0", | ||
"description": "mcl ; A portable and fast pairing-based cryptography library for Node.js by WebAssembly", | ||
"main": "mcl.js", | ||
"main": "src/index.js", | ||
"scripts": { | ||
"lint": "standard mcl.js test.js", | ||
"test": "node test.js" | ||
"lint": "standard src/mcl.js test/test.js", | ||
"test": "node test/test.js" | ||
}, | ||
@@ -19,2 +19,9 @@ "repository": { | ||
], | ||
"files": [ | ||
"src/index.js", | ||
"src/mcl.js", | ||
"src/mcl_c.js", | ||
"test/test.js", | ||
"test/eth-test.js" | ||
], | ||
"author": "herumi <herumi@nifty.com> (https://github.com/herumi/)", | ||
@@ -28,11 +35,3 @@ "license": "BSD-3-Clause", | ||
}, | ||
"homepage": "https://github.com/herumi/mcl-wasm#readme", | ||
"devDependencies": { | ||
"coveralls": "^3.0.1", | ||
"istanbul": "^0.4.5", | ||
"standard": "^10.0.3" | ||
}, | ||
"dependencies": { | ||
"nyc": "^11.8.0" | ||
} | ||
"homepage": "https://github.com/herumi/mcl-wasm#readme" | ||
} |
@@ -9,2 +9,3 @@ [![Build Status](https://travis-ci.org/herumi/mcl-wasm.png)](https://travis-ci.org/herumi/mcl-wasm) | ||
## News | ||
- 2020/Nov/10 setup function has changed. | ||
- add `mulVec(xVec, yVec)` where xVec is an array of G1 or G2 and yVec is an array of Fr, which returns `sum of xVec[i] yVec[i]`. | ||
@@ -16,6 +17,8 @@ - G1.setHashOf is compatible with [hash-to-curve-09 BLS12381G1_XMD:SHA-256_SSWU_RO_](https://www.ietf.org/id/draft-irtf-cfrg-hash-to-curve-09.html#name-bls12381g1_xmdsha-256_sswu_) | ||
## for Node.js | ||
node test.js | ||
``` | ||
node test/test.js | ||
``` | ||
## browser demo | ||
[ID-based encryption](https://herumi.github.io/mcl-wasm/ibe-demo.html) | ||
[ID-based encryption](https://herumi.github.io/mcl-wasm/browser/demo.html) | ||
@@ -73,3 +76,3 @@ # usages | ||
see [test.js](https://github.com/herumi/mcl-wasm/blob/master/test.js) | ||
see [test.js](https://github.com/herumi/mcl-wasm/blob/master/test/test.js) | ||
@@ -87,2 +90,5 @@ # License | ||
光成滋生 MITSUNARI Shigeo(herumi@nifty.com) | ||
MITSUNARI Shigeo(herumi@nifty.com) | ||
# Sponsors welcome | ||
[GitHub Sponsor](https://github.com/sponsors/herumi) |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance 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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
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
588524
0
0
3741
91
5
7
2
- Removednyc@^11.8.0
- Removednyc@11.9.0(transitive)