zod-validation-error
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -1,2 +0,2 @@ | ||
export { ValidationError } from './ValidationError'; | ||
export { ValidationError, type ErrorOptions } from './ValidationError'; | ||
export { isValidationError } from './isValidationError'; | ||
@@ -3,0 +3,0 @@ export { isValidationErrorLike } from './isValidationErrorLike'; |
import * as zod from 'zod'; | ||
export interface ErrorOptions { | ||
cause?: unknown; | ||
} | ||
export declare class ValidationError extends Error { | ||
@@ -3,0 +6,0 @@ name: 'ZodValidationError'; |
{ | ||
"name": "zod-validation-error", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Wrap zod validation errors in user-friendly readable messages", | ||
@@ -30,2 +30,9 @@ "keywords": [ | ||
"types": "./dist/types/index.d.ts", | ||
"exports": { | ||
".": { | ||
"types": "./dist/types/index.d.ts", | ||
"require": "./dist/cjs/index.js", | ||
"import": "./dist/esm/index.js" | ||
} | ||
}, | ||
"files": [ | ||
@@ -32,0 +39,0 @@ "dist" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
41411
524
0
1