Comparing version 4.2.0 to 4.2.1
@@ -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() { |
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
87404