bitcoin-util
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -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", |
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
2
5715
127
+ Addedbuffer-reverse@^1.0.1
+ Addedbuffer-reverse@1.0.1(transitive)
- Removedbrowserify-buffertools@^1.0.2
- Removedbuffertools@^2.1.3
- Removedbrowserify-buffertools@1.0.2(transitive)
- Removedbuffertools@2.1.6(transitive)