File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ function moreThanOneError (schema) {
97
97
}
98
98
99
99
function newException ( code , msg ) {
100
- const err = new Error ( msg )
100
+ const err = new TypeError ( msg )
101
101
err . code = code
102
102
/* istanbul ignore else */
103
103
if ( Error . captureStackTrace ) Error . captureStackTrace ( err , validate )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " aproba" ,
3
- "version" : " 2.0 .0" ,
3
+ "version" : " 2.1 .0" ,
4
4
"description" : " A ridiculously light-weight argument validator (now browser friendly)" ,
5
5
"main" : " index.js" ,
6
6
"directories" : {
Original file line number Diff line number Diff line change 5296
5296
}
5297
5297
},
5298
5298
"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 ==",
5302
5302
"license": "ISC"
5303
5303
},
5304
5304
"node_modules/archy": {
You can’t perform that action at this time.
0 commit comments