aboutsummaryrefslogtreecommitdiff
path: root/node_modules/asn1.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/asn1.js')
-rw-r--r--node_modules/asn1.js/.npmignore2
-rw-r--r--node_modules/asn1.js/lib/asn1/base/node.js2
-rw-r--r--node_modules/asn1.js/package.json4
-rw-r--r--node_modules/asn1.js/test.js5
4 files changed, 3 insertions, 10 deletions
diff --git a/node_modules/asn1.js/.npmignore b/node_modules/asn1.js/.npmignore
deleted file mode 100644
index 3d5af0a06..000000000
--- a/node_modules/asn1.js/.npmignore
+++ /dev/null
@@ -1,2 +0,0 @@
-test
-rfc
diff --git a/node_modules/asn1.js/lib/asn1/base/node.js b/node_modules/asn1.js/lib/asn1/base/node.js
index 7b26bd88d..539a832e1 100644
--- a/node_modules/asn1.js/lib/asn1/base/node.js
+++ b/node_modules/asn1.js/lib/asn1/base/node.js
@@ -575,7 +575,7 @@ Node.prototype._encodeValue = function encode(data, reporter, parent) {
if (tag === null) {
if (state.use === null)
- reporter.error('Tag could be ommited only for .use()');
+ reporter.error('Tag could be omitted only for .use()');
} else {
if (state.use === null)
result = this._encodeComposite(tag, primitive, cls, content);
diff --git a/node_modules/asn1.js/package.json b/node_modules/asn1.js/package.json
index 0b987b83b..2287bd82a 100644
--- a/node_modules/asn1.js/package.json
+++ b/node_modules/asn1.js/package.json
@@ -1,10 +1,10 @@
{
"name": "asn1.js",
- "version": "4.9.1",
+ "version": "4.9.2",
"description": "ASN.1 encoder and decoder",
"main": "lib/asn1.js",
"scripts": {
- "test": "mocha --reporter spec test/*-test.js rfc/2560/test/*-test.js rfc/5280/test/*-test.js"
+ "test": "mocha --reporter spec test/*-test.js && cd rfc/2560 && npm i && npm test && cd ../../rfc/5280 && npm i && npm test"
},
"repository": {
"type": "git",
diff --git a/node_modules/asn1.js/test.js b/node_modules/asn1.js/test.js
deleted file mode 100644
index 7b0953123..000000000
--- a/node_modules/asn1.js/test.js
+++ /dev/null
@@ -1,5 +0,0 @@
-'use strict';
-
-const rfc5280 = require('./rfc/5280');
-
-const tbs =