Skip to content

Commit 39ad47d

Browse files
committed
1 parent a789f33 commit 39ad47d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

node_modules/aproba/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function moreThanOneError (schema) {
9797
}
9898

9999
function newException (code, msg) {
100-
const err = new Error(msg)
100+
const err = new TypeError(msg)
101101
err.code = code
102102
/* istanbul ignore else */
103103
if (Error.captureStackTrace) Error.captureStackTrace(err, validate)

node_modules/aproba/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aproba",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"description": "A ridiculously light-weight argument validator (now browser friendly)",
55
"main": "index.js",
66
"directories": {

package-lock.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5296,9 +5296,9 @@
52965296
}
52975297
},
52985298
"node_modules/aproba": {
5299-
"version": "2.0.0",
5300-
"resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz",
5301-
"integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==",
5299+
"version": "2.1.0",
5300+
"resolved": "https://registry.npmjs.org/aproba/-/aproba-2.1.0.tgz",
5301+
"integrity": "sha512-tLIEcj5GuR2RSTnxNKdkK0dJ/GrC7P38sUkiDmDuHfsHmbagTFAxDVIBltoklXEVIQ/f14IL8IMJ5pn9Hez1Ew==",
53025302
"license": "ISC"
53035303
},
53045304
"node_modules/archy": {

0 commit comments

Comments
 (0)