Comparing version 0.3.0 to 0.3.1
@@ -478,3 +478,3 @@ var assert = require('assert'); | ||
} else { | ||
result = this._encodeComposite(tag, primitive, content); | ||
result = this._encodeComposite(tag, primitive, 'universal', content); | ||
} | ||
@@ -485,3 +485,3 @@ } | ||
if (state.explicit !== null) | ||
result = this._encodeComposite(state.explicit, false, result); | ||
result = this._encodeComposite(state.explicit, false, 'context', result); | ||
@@ -488,0 +488,0 @@ return result; |
@@ -35,4 +35,5 @@ var util = require('util'); | ||
primitive, | ||
cls, | ||
content) { | ||
var encodedTag = encodeTag(tag, primitive, this.reporter); | ||
var encodedTag = encodeTag(tag, primitive, cls, this.reporter); | ||
@@ -39,0 +40,0 @@ // Short form |
{ | ||
"name": "asn1.js", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "ASN.1 encoder and decoder", | ||
@@ -5,0 +5,0 @@ "main": "lib/asn1.js", |
{ | ||
"name": "asn1.js-rfc2560", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "RFC2560 structures for asn1.js", | ||
@@ -25,4 +25,4 @@ "main": "index.js", | ||
"peerDependencies": { | ||
"asn1.js": "~0.2.0" | ||
"asn1.js": "~0.3.0" | ||
} | ||
} |
{ | ||
"name": "asn1.js-rfc3280", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "RFC3280 structures for asn1.js", | ||
@@ -22,4 +22,4 @@ "main": "index.js", | ||
"peerDependencies": { | ||
"asn1.js": "~0.2.0" | ||
"asn1.js": "~0.3.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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
58842
25
1749
0