Huge News!Announcing our $40M Series B led by Abstract Ventures.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 3.0.0 to 3.0.1

2

dist/types/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc