simple-validators
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -21,4 +21,5 @@ type message = { | ||
returnInvalidPartial?: boolean; | ||
keepExtraKeys?: boolean; | ||
}; | ||
export {}; | ||
//# sourceMappingURL=types.d.ts.map |
@@ -249,2 +249,4 @@ import { formatDate } from './utils.js'; | ||
ignored.push(k); | ||
if (opts.keepExtraKeys) | ||
value[k] = input[k]; | ||
} | ||
@@ -251,0 +253,0 @@ }); |
{ | ||
"name": "simple-validators", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Schema validation functions and error reporting framework", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
25122
493