diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-12-10 21:51:33 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-12-10 21:51:33 +0100 |
commit | 0469abd4a9c9270a1fdc962969e36e63699af8b4 (patch) | |
tree | f9864d4a4148621378958794cbbfdc2393733283 /node_modules/asn1.js | |
parent | 6947e79bbc258f7bc96af424ddb71a511f0c15a3 (diff) |
upgrade dependencies
Diffstat (limited to 'node_modules/asn1.js')
-rw-r--r-- | node_modules/asn1.js/.npmignore | 2 | ||||
-rw-r--r-- | node_modules/asn1.js/lib/asn1/base/node.js | 2 | ||||
-rw-r--r-- | node_modules/asn1.js/package.json | 4 | ||||
-rw-r--r-- | node_modules/asn1.js/test.js | 5 |
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 = |