New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

zod-validation-error

Package Overview
Dependencies
Maintainers
4
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zod-validation-error - npm Package Compare versions

Comparing version

to
1.3.1

4

dist/types/ValidationError.d.ts
import * as zod from 'zod';
export declare class ValidationError extends Error {
details: Array<Zod.ZodIssue>;
details: Array<zod.ZodIssue>;
name: 'ZodValidationError';
constructor(message: string, details?: Array<Zod.ZodIssue> | undefined);
constructor(message: string, details?: Array<zod.ZodIssue> | undefined);
toString(): string;

@@ -7,0 +7,0 @@ }

{
"name": "zod-validation-error",
"version": "1.3.0",
"version": "1.3.1",
"description": "Wrap zod validation errors in user-friendly readable messages",

@@ -73,4 +73,4 @@ "keywords": [

"@types/node": "^18.11.13",
"@typescript-eslint/eslint-plugin": "^5.7.0",
"@typescript-eslint/parser": "^5.7.0",
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@typescript-eslint/parser": "^5.59.11",
"concurrently": "^6.5.1",

@@ -77,0 +77,0 @@ "eslint": "^8.4.1",

@@ -98,3 +98,3 @@ # zod-validation-error

- `message` - _string_; error message (required)
- `details` - _Array<Zod.ZodIssue>_; error details (optional)
- `details` - _Array<zod.ZodIssue>_; error details (optional)

@@ -101,0 +101,0 @@ #### Example