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

bitcoin-util

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitcoin-util - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

9

index.js

@@ -1,7 +0,2 @@

var buffertools
try {
buffertools = require('buffertools')
} catch (e) {
buffertools = require('browserify-buffertools')
}
var reverse = require('buffer-reverse')

@@ -18,3 +13,3 @@ var nullHash = new Buffer('0000000000000000000000000000000000000000000000000000000000000000', 'hex')

}
return buffertools.reverse(new Buffer(hex, 'hex'))
return reverse(new Buffer(hex, 'hex'))
}

@@ -21,0 +16,0 @@

{
"name": "bitcoin-util",
"version": "2.0.2",
"version": "2.0.3",
"description": "Utility functions for Bitcoin hashes and targets",

@@ -23,4 +23,3 @@ "main": "index.js",

"bn.js": "^4.6.4",
"browserify-buffertools": "^1.0.2",
"buffertools": "^2.1.3"
"buffer-reverse": "^1.0.1"
},

@@ -31,8 +30,2 @@ "devDependencies": {

},
"optionalDependencies": {
"buffertools": "^2.1.3"
},
"browser": {
"buffertools": "browserify-buffertools"
},
"repository": {

@@ -39,0 +32,0 @@ "type": "git",

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