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

bip39-light

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bip39-light - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

5

index.js
var randomBytes
if (typeof window !== 'undefined' && window.crypto) {
randomBytes = window.crypto.getRandomValues
randomBytes = function (len) {
var array = new Uint32Array(len);
return Buffer.from(window.crypto.getRandomValues(array))
}
} else {

@@ -5,0 +8,0 @@ randomBytes = require('crypto').randomBytes

2

package.json
{
"name": "bip39-light",
"version": "1.0.4",
"version": "1.0.5",
"description": "Bitcoin BIP39: Mnemonic code for generating deterministic keys, a lightweight fork",

@@ -5,0 +5,0 @@ "main": "index.js",

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