You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

zod-validation-error

Package Overview
Dependencies
Maintainers
4
Versions
39
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
4.0.0-beta.2

6

package.json
{
"name": "zod-validation-error",
"version": "4.0.0-beta.1",
"version": "4.0.0-beta.2",
"description": "Wrap zod validation errors in user-friendly readable messages",

@@ -103,7 +103,7 @@ "keywords": [

"vitest": "^3.1.2",
"zod": "^3.25.62"
"zod": "^4.0.2"
},
"peerDependencies": {
"zod": "^3.25.0"
"zod": "^3.25.0 || ^4.0.0"
}
}

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

**_Note:_** This is the v4 version of `zod-validation-error`. If you are looking for the zod v3 support, please click [here](./README.v3.md)
**_Note:_** This version of `zod-validation-error` works with zod v4. If you are looking for zod v3 support, please click [here](./README.v3.md)

@@ -32,3 +32,3 @@ ## Installation

import { z as zod } from 'zod/v4';
import { fromError } from 'zod-validation-error/v4';
import { fromError } from 'zod-validation-error';

@@ -35,0 +35,0 @@ // create zod schema

@@ -1,2 +0,2 @@

import * as zod from 'zod';
import * as zod from 'zod/v3';

@@ -3,0 +3,0 @@ interface ErrorOptions {

@@ -85,6 +85,6 @@ "use strict";

// lib/v3/fromZodIssue.ts
var zod2 = __toESM(require("zod"));
var zod2 = __toESM(require("zod/v3"));
// lib/v3/MessageBuilder.ts
var zod = __toESM(require("zod"));
var zod = __toESM(require("zod/v3"));

@@ -91,0 +91,0 @@ // lib/utils/NonEmptyArray.ts

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet