@scure/bip39
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -54,3 +54,3 @@ "use strict"; | ||
function getCoder(wordlist) { | ||
if (!Array.isArray(wordlist) || wordlist.length !== 2 ** 11 || typeof wordlist[0] !== 'string') | ||
if (!Array.isArray(wordlist) || wordlist.length !== 2048 || typeof wordlist[0] !== 'string') | ||
throw new Error('Worlist: expected array of 2048 strings'); | ||
@@ -57,0 +57,0 @@ wordlist.forEach((i) => { |
{ | ||
"name": "@scure/bip39", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Secure, audited & minimal implementation of BIP39 mnemonic phrases", | ||
@@ -14,8 +14,7 @@ "main": "index.js", | ||
"dependencies": { | ||
"@noble/hashes": "~1.1.1", | ||
"@noble/hashes": "~1.2.0", | ||
"@scure/base": "~1.1.0" | ||
}, | ||
"devDependencies": { | ||
"@types/mocha": "9.0.0", | ||
"mocha": "9.2.0", | ||
"micro-should": "0.4.0", | ||
"prettier": "2.6.2", | ||
@@ -43,5 +42,5 @@ "typescript": "4.7.3" | ||
"build": "tsc", | ||
"lint": "prettier --check 'src/**/*.{js,ts}' 'test/**/*.{js,ts}'", | ||
"format": "prettier --write 'src/**/*.{js,ts}' 'test/**/*.{js,ts}'", | ||
"test": "cd test && tsc && mocha bip39.test.js" | ||
"lint": "prettier --check 'src/**/*.ts' 'test/*.test.ts'", | ||
"format": "prettier --write 'src/**/*.ts' 'test/*.test.ts'", | ||
"test": "cd test && tsc && node bip39.test.js" | ||
}, | ||
@@ -48,0 +47,0 @@ "keywords": [ |
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
3
172148
0
+ Added@noble/hashes@1.2.0(transitive)
- Removed@noble/hashes@1.1.5(transitive)
Updated@noble/hashes@~1.2.0