diff options
author | Kat Marchán <kzm@zkat.tech> | 2018-07-18 13:55:52 -0700 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2018-07-31 09:35:46 +0200 |
commit | 87ed6e6351d0bc7d6a6ed569f630000c889d8cd3 (patch) | |
tree | 4487b19ddb9c6c94b44847489f35f572a5007242 /deps/npm/node_modules/assert-plus | |
parent | 337b2df82fc394499c7704be8ead3ff14a924d2f (diff) | |
download | node-new-87ed6e6351d0bc7d6a6ed569f630000c889d8cd3.tar.gz |
deps: upgrade npm to 6.2.0
PR-URL: https://github.com/nodejs/node/pull/21592
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'deps/npm/node_modules/assert-plus')
-rw-r--r-- | deps/npm/node_modules/assert-plus/CHANGES.md | 6 | ||||
-rw-r--r-- | deps/npm/node_modules/assert-plus/README.md | 9 | ||||
-rw-r--r-- | deps/npm/node_modules/assert-plus/assert.js | 5 | ||||
-rw-r--r-- | deps/npm/node_modules/assert-plus/package.json | 29 |
4 files changed, 13 insertions, 36 deletions
diff --git a/deps/npm/node_modules/assert-plus/CHANGES.md b/deps/npm/node_modules/assert-plus/CHANGES.md index 57d92bfdb9..d249d9b2ab 100644 --- a/deps/npm/node_modules/assert-plus/CHANGES.md +++ b/deps/npm/node_modules/assert-plus/CHANGES.md @@ -1,11 +1,5 @@ # assert-plus Changelog -## 1.0.0 - -- *BREAKING* assert.number (and derivatives) now accept Infinity as valid input -- Add assert.finite check. Previous assert.number callers should use this if - they expect Infinity inputs to throw. - ## 0.2.0 - Fix `assert.object(null)` so it throws diff --git a/deps/npm/node_modules/assert-plus/README.md b/deps/npm/node_modules/assert-plus/README.md index ec200d161e..0b39593cef 100644 --- a/deps/npm/node_modules/assert-plus/README.md +++ b/deps/npm/node_modules/assert-plus/README.md @@ -74,48 +74,41 @@ The complete list of APIs is: * assert.buffer * assert.func * assert.number -* assert.finite * assert.object * assert.string * assert.stream * assert.date -* assert.regexp +* assert.regex * assert.uuid * assert.arrayOfArray * assert.arrayOfBool * assert.arrayOfBuffer * assert.arrayOfFunc * assert.arrayOfNumber -* assert.arrayOfFinite * assert.arrayOfObject * assert.arrayOfString * assert.arrayOfStream * assert.arrayOfDate -* assert.arrayOfRegexp * assert.arrayOfUuid * assert.optionalArray * assert.optionalBool * assert.optionalBuffer * assert.optionalFunc * assert.optionalNumber -* assert.optionalFinite * assert.optionalObject * assert.optionalString * assert.optionalStream * assert.optionalDate -* assert.optionalRegexp * assert.optionalUuid * assert.optionalArrayOfArray * assert.optionalArrayOfBool * assert.optionalArrayOfBuffer * assert.optionalArrayOfFunc * assert.optionalArrayOfNumber -* assert.optionalArrayOfFinite * assert.optionalArrayOfObject * assert.optionalArrayOfString * assert.optionalArrayOfStream * assert.optionalArrayOfDate -* assert.optionalArrayOfRegexp * assert.optionalArrayOfUuid * assert.AssertionError * assert.fail diff --git a/deps/npm/node_modules/assert-plus/assert.js b/deps/npm/node_modules/assert-plus/assert.js index 26f944eec3..6bce4d8c6c 100644 --- a/deps/npm/node_modules/assert-plus/assert.js +++ b/deps/npm/node_modules/assert-plus/assert.js @@ -56,11 +56,6 @@ var types = { }, number: { check: function (arg) { - return typeof (arg) === 'number' && !isNaN(arg); - } - }, - finite: { - check: function (arg) { return typeof (arg) === 'number' && !isNaN(arg) && isFinite(arg); } }, diff --git a/deps/npm/node_modules/assert-plus/package.json b/deps/npm/node_modules/assert-plus/package.json index b8acadcae5..a16c864fbe 100644 --- a/deps/npm/node_modules/assert-plus/package.json +++ b/deps/npm/node_modules/assert-plus/package.json @@ -1,32 +1,27 @@ { - "_from": "assert-plus@^1.0.0", - "_id": "assert-plus@1.0.0", + "_from": "assert-plus@^0.2.0", + "_id": "assert-plus@0.2.0", "_inBundle": false, - "_integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "_integrity": "sha1-104bh+ev/A24qttwIfP+SBAasjQ=", "_location": "/assert-plus", "_phantomChildren": {}, "_requested": { "type": "range", "registry": true, - "raw": "assert-plus@^1.0.0", + "raw": "assert-plus@^0.2.0", "name": "assert-plus", "escapedName": "assert-plus", - "rawSpec": "^1.0.0", + "rawSpec": "^0.2.0", "saveSpec": null, - "fetchSpec": "^1.0.0" + "fetchSpec": "^0.2.0" }, "_requiredBy": [ - "/dashdash", - "/getpass", - "/http-signature", - "/jsprim", - "/sshpk", - "/verror" + "/http-signature" ], - "_resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "_shasum": "f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525", - "_spec": "assert-plus@^1.0.0", - "_where": "/Users/rebecca/code/npm/node_modules/http-signature", + "_resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz", + "_shasum": "d74e1b87e7affc0db8aadb7021f3fe48101ab234", + "_spec": "assert-plus@^0.2.0", + "_where": "/Users/zkat/Documents/code/work/npm/node_modules/http-signature", "author": { "name": "Mark Cavage", "email": "mcavage@gmail.com" @@ -83,5 +78,5 @@ "scripts": { "test": "tape tests/*.js | ./node_modules/.bin/faucet" }, - "version": "1.0.0" + "version": "0.2.0" } |