ethereum-cryptography
Advanced tools
Comparing version 1.0.0-rc1 to 1.0.0
{ | ||
"name": "ethereum-cryptography", | ||
"version": "1.0.0-rc1", | ||
"version": "1.0.0", | ||
"description": "All the cryptographic primitives used in Ethereum", | ||
@@ -27,6 +27,6 @@ "contributors": [ | ||
"dependencies": { | ||
"@noble/hashes": "~1.0.0", | ||
"@noble/secp256k1": "~1.5.0", | ||
"@scure/bip32": "^1.0.0-rc1", | ||
"@scure/bip39": "^1.0.0-rc1" | ||
"@noble/hashes": "1.0.0", | ||
"@noble/secp256k1": "1.5.2", | ||
"@scure/bip32": "1.0.1", | ||
"@scure/bip39": "1.0.0" | ||
}, | ||
@@ -76,3 +76,3 @@ "browser": { | ||
"tslint-plugin-prettier": "^2.0.1", | ||
"typescript": "^4.3.5", | ||
"typescript": "4.5.4", | ||
"webpack": "^4.39.3", | ||
@@ -79,0 +79,0 @@ "webpack-cli": "^3.3.8" |
@@ -8,8 +8,9 @@ # ethereum-cryptography | ||
**January 2022 update:** Version 1.0 of the package will be out soon. The module has been completely rewritten: | ||
**January 2022 update:** We've released v1.0 of the package, a complete rewrite: | ||
- **6x smaller:** ~5,000 lines of code instead of ~27,000 (with all deps); 660KB instead of 10.2MB | ||
- **6x smaller:** ~5,000 lines of code instead of ~24,000 (with all deps); 650KB instead of 10.2MB | ||
- 5 dependencies by 1 author instead of 38 by 5 authors | ||
- [Audited](#security) by an independent security firm | ||
- Check out the [Upgrading](#upgrading) section for breaking changes (there are almost none) | ||
- Check out the article about it: [A safer, smaller, and faster Ethereum cryptography stack](https://medium.com/nomic-labs-blog/a-safer-smaller-and-faster-ethereum-cryptography-stack-5eeb47f62d79) | ||
- Take a glance at the [Upgrading](#upgrading) section for breaking changes: there are almost none | ||
@@ -32,6 +33,6 @@ The cryptographic primitives included are: | ||
# NPM | ||
npm install ethereum-cryptography@next | ||
npm install ethereum-cryptography | ||
# Yarn | ||
yarn add ethereum-cryptography@next | ||
yarn add ethereum-cryptography | ||
``` | ||
@@ -204,3 +205,3 @@ | ||
Hierarchical deterministic (HD) wallets that conform to BIP32 standard. | ||
Also available as standalone package [micro-bip32](https://github.com/paulmillr/micro-bip32). | ||
Also available as standalone package [scure-bip32](https://github.com/paulmillr/scure-bip32). | ||
@@ -285,3 +286,3 @@ This module exports a single class `HDKey`, which should be used like this: | ||
Also available as standalone package [micro-bip39](https://github.com/paulmillr/micro-bip39). | ||
Also available as standalone package [scure-bip39](https://github.com/paulmillr/scure-bip39). | ||
@@ -460,3 +461,3 @@ ```js | ||
`Buffer` has never been supported in browsers, while `Uint8Array`s are supported natively in both | ||
browsers and node.js. See [Upgrading](#upgrading) | ||
browsers and node.js. | ||
2. We target runtimes with [bigint](https://caniuse.com/bigint) support, | ||
@@ -463,0 +464,0 @@ which is Chrome 67+, Edge 79+, Firefox 68+, Safari 14+, node.js 10+. If you need to support older runtimes, use `ethereum-cryptography@0.1` |
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
59645
1
502
0
+ Added@noble/secp256k1@1.5.2(transitive)
+ Added@scure/base@1.0.0(transitive)
+ Added@scure/bip32@1.0.1(transitive)
+ Added@scure/bip39@1.0.0(transitive)
- Removed@noble/curves@1.6.0(transitive)
- Removed@noble/hashes@1.5.0(transitive)
- Removed@noble/secp256k1@1.5.5(transitive)
- Removed@scure/base@1.1.9(transitive)
- Removed@scure/bip32@1.5.0(transitive)
- Removed@scure/bip39@1.4.0(transitive)
Updated@noble/hashes@1.0.0
Updated@noble/secp256k1@1.5.2
Updated@scure/bip32@1.0.1
Updated@scure/bip39@1.0.0