Comparing version 1.4.5 to 1.4.6
@@ -941,3 +941,4 @@ "use strict"; | ||
const path = err.path ? [i, ...err.path] : [i]; | ||
const msg = (parseOptions === null || parseOptions === void 0 ? void 0 : parseOptions.suppressPathErrMsg) ? err.message | ||
const msg = (parseOptions === null || parseOptions === void 0 ? void 0 : parseOptions.suppressPathErrMsg) | ||
? err.message | ||
: `error at ${prettyPrintPath(path)} - ${err.message}`; | ||
@@ -944,0 +945,0 @@ throw new ValidationError(msg, path); |
{ | ||
"name": "myzod", | ||
"version": "1.4.5", | ||
"version": "1.4.6", | ||
"description": "", | ||
@@ -29,10 +29,10 @@ "main": "./libs/index.js", | ||
"devDependencies": { | ||
"@types/mocha": "^8.2.0", | ||
"@types/node": "^14.14.22", | ||
"benchmonkey": "0.0.7", | ||
"mocha": "^8.2.1", | ||
"@types/mocha": "^8.2.1", | ||
"@types/node": "^14.14.31", | ||
"benchmonkey": "^0.0.8", | ||
"mocha": "^8.3.0", | ||
"nyc": "^15.1.0", | ||
"prettier": "^2.2.1", | ||
"ts-node": "^9.1.1", | ||
"typescript": "^4.1.3" | ||
"typescript": "^4.2.2" | ||
}, | ||
@@ -67,4 +67,3 @@ "nyc": { | ||
] | ||
}, | ||
"dependencies": {} | ||
} | ||
} |
1784
103518