Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@scure/bip39

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scure/bip39 - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

index.js

@@ -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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc