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

asn1.js

Package Overview
Dependencies
Maintainers
2
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asn1.js - npm Package Compare versions

Comparing version 3.0.0 to 4.0.0

2

lib/asn1/encoders/der.js

@@ -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"
}
}
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