v1.0.2: fix typo in docs

This commit is contained in:
AJ ONeal 2018-11-25 21:30:21 -07:00
parent 3d084a52b4
commit 01384daa80
2 changed files with 4 additions and 4 deletions

View File

@ -51,13 +51,13 @@ var json = ASN1.parse(der);
console.log(json); console.log(json);
``` ```
```json ```js
{ "type": 48 /*0x30*/, "lengthSize": 0, "length": 89 { "type": 48 /*0x30*/, "lengthSize": 0, "length": 89
, "children": [ , "children": [
{ "type": 48 /*0x30*/, "lengthSize": 0, "length": 19 { "type": 48 /*0x30*/, "lengthSize": 0, "length": 19
, "children": [ , "children": [
{ "type": 6, "lengthSize": 0, "length": 7, "value": <0x2a8648ce3d0201> }, { "type": 6, "lengthSize": 0, "length": 7, "value": "<0x2a8648ce3d0201>" },
{ "type": 6, "lengthSize": 0, "length": 8, "value": <0x2a8648ce3d030107> } { "type": 6, "lengthSize": 0, "length": 8, "value": "<0x2a8648ce3d030107>" }
] ]
}, },
{ "type": 3, "lengthSize": 0, "length": 66, { "type": 3, "lengthSize": 0, "length": 66,

View File

@ -1,6 +1,6 @@
{ {
"name": "asn1-parser", "name": "asn1-parser",
"version": "1.0.1", "version": "1.0.2",
"description": "An ASN.1 parser in less than 100 lines of Vanilla JavaScript, part of the Bluecrypt suite.", "description": "An ASN.1 parser in less than 100 lines of Vanilla JavaScript, part of the Bluecrypt suite.",
"homepage": "https://git.coolaj86.com/coolaj86/asn1-parser.js", "homepage": "https://git.coolaj86.com/coolaj86/asn1-parser.js",
"main": "asn1-parser.js", "main": "asn1-parser.js",