keybase-ecurve
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -197,3 +197,3 @@ var assert = require('assert') | ||
if (compressed == undefined) compressed = this.compressed | ||
if (this.curve.isInfinity(this)) return new Buffer('00', 'hex') // Infinity point encoded is simply '00' | ||
if (this.curve.isInfinity(this)) return Buffer.from('00', 'hex') // Infinity point encoded is simply '00' | ||
@@ -210,3 +210,3 @@ var x = this.affineX | ||
if (compressed) { | ||
buffer = new Buffer(1 + byteLength) | ||
buffer = Buffer.alloc(1 + byteLength) | ||
buffer.writeUInt8(y.isEven() ? 0x02 : 0x03, 0) | ||
@@ -216,3 +216,3 @@ | ||
} else { | ||
buffer = new Buffer(1 + byteLength + byteLength) | ||
buffer = Buffer.alloc(1 + byteLength + byteLength) | ||
buffer.writeUInt8(0x04, 0) | ||
@@ -219,0 +219,0 @@ |
{ | ||
"name": "keybase-ecurve", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Elliptic curve cryptography, which uses keybase/bn for bignums", | ||
@@ -14,11 +14,11 @@ "keywords": [ | ||
"devDependencies": { | ||
"coveralls": "^2.10.0", | ||
"istanbul": "^0.2.10", | ||
"jshint": "2.5.1", | ||
"mocha": "^1.20.0", | ||
"mocha-lcov-reporter": "0.0.1", | ||
"mochify": "^0.4.2" | ||
"coveralls": "^3.0.6", | ||
"jshint": "^2.10.2", | ||
"mocha": "^6.2.0", | ||
"mocha-lcov-reporter": "^1.3.0", | ||
"mochify": "^6.4.1", | ||
"nyc": "^14.1.1" | ||
}, | ||
"repository": { | ||
"url": "https://github.com/cryptocoinjs/ecurve", | ||
"url": "https://github.com/keybase/ecurve", | ||
"type": "git" | ||
@@ -28,3 +28,3 @@ }, | ||
"scripts": { | ||
"coverage": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --reporter list test/*.js", | ||
"coverage": "./node_modules/.bin/nyc cover ./node_modules/.bin/_mocha -- --reporter list test/*.js", | ||
"coveralls": "npm run-script coverage && node ./node_modules/.bin/coveralls < coverage/lcov.info", | ||
@@ -36,3 +36,3 @@ "jshint": "./node_modules/.bin/jshint --config jshint.json lib/*.js ; true", | ||
"dependencies": { | ||
"bn": "^1.0.0" | ||
"bn": "^1.0.4" | ||
}, | ||
@@ -51,2 +51,2 @@ "testling": { | ||
} | ||
} | ||
} |
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
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
24784
0
Updatedbn@^1.0.4