Comparing version 3.0.0 to 4.0.0
@@ -176,3 +176,3 @@ var inherits = require('inherits'); | ||
var numArray = num.toArray(); | ||
if (num.sign === false && numArray[0] & 0x80) { | ||
if (!num.sign && numArray[0] & 0x80) { | ||
numArray.unshift(0); | ||
@@ -179,0 +179,0 @@ } |
{ | ||
"name": "asn1.js", | ||
"version": "3.0.0", | ||
"version": "4.0.0", | ||
"description": "ASN.1 encoder and decoder", | ||
@@ -27,3 +27,3 @@ "main": "lib/asn1.js", | ||
"dependencies": { | ||
"bn.js": "^3.2.0", | ||
"bn.js": "^4.0.0", | ||
"inherits": "^2.0.1", | ||
@@ -30,0 +30,0 @@ "minimalistic-assert": "^1.0.0" |
{ | ||
"name": "asn1.js-rfc2560", | ||
"version": "2.1.0", | ||
"version": "4.0.0", | ||
"description": "RFC2560 structures for asn1.js", | ||
@@ -22,7 +22,7 @@ "main": "index.js", | ||
"dependencies": { | ||
"asn1.js-rfc3280": "^2.0.0" | ||
"asn1.js-rfc3280": "^4.0.0" | ||
}, | ||
"peerDependencies": { | ||
"asn1.js": "^2.0.0" | ||
"asn1.js": "^4.0.0" | ||
} | ||
} |
{ | ||
"name": "asn1.js-rfc3280", | ||
"version": "2.1.1", | ||
"version": "4.0.0", | ||
"description": "RFC3280 structures for asn1.js", | ||
@@ -22,4 +22,4 @@ "main": "index.js", | ||
"peerDependencies": { | ||
"asn1.js": "^2.0.0" | ||
"asn1.js": "^4.0.0" | ||
} | ||
} |
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
83482
+ Addedbn.js@4.12.0(transitive)
- Removedbn.js@3.3.0(transitive)
Updatedbn.js@^4.0.0