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) {
9797}
9898
9999function 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 )
Original file line number Diff line number Diff line change 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" : {
Original file line number Diff line number Diff line change 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": {
You can’t perform that action at this time.
0 commit comments