Socket
Socket
Sign inDemoInstall

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.0 to 4.2.1

2

lib/asn1/base/node.js

@@ -606,3 +606,3 @@ var Reporter = require('../base').Reporter;

Node.prototype._isNumstr = function isNumstr(str) {
return /^[1-9 ]*$/.test(str);
return /^[0-9 ]*$/.test(str);
};

@@ -609,0 +609,0 @@

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

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

@@ -50,3 +50,3 @@ var assert = require('assert');

this.numstr();
}, '1234 5678');
}, '1234 5678 90');

@@ -53,0 +53,0 @@ test('printstr', function() {

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