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 4.2.1 to 4.3.0

9

lib/asn1/decoders/der.js

@@ -190,4 +190,9 @@ var inherits = require('inherits');

if (values)
result = values[result.join(' ')];
if (values) {
var tmp = values[result.join(' ')];
if (tmp === undefined)
tmp = values[result.join('.')];
if (tmp !== undefined)
result = tmp;
}

@@ -194,0 +199,0 @@ return result;

{
"name": "asn1.js",
"version": "4.2.1",
"version": "4.3.0",
"description": "ASN.1 encoder and decoder",

@@ -5,0 +5,0 @@ "main": "lib/asn1.js",

@@ -87,2 +87,8 @@ var assert = require('assert');

}, '1e0c041f04400438043204350442', 'Привет');
test('should properly decode objid with dots', function() {
this.objid({
'1.2.398.3.10.1.1.1.2.2': 'yes'
});
}, '060a2a830e030a0101010202', 'yes');
});
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