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 Versions

13

2.0.0

Diff

Changelog

Source

2.0.0

Major Changes

  • b199ca1: Update toValidationError() to return only ValidationError instances

    This change only affects users of toValidationError(). The method was previously returning Error | ValidationError and now returns only ValidationError.

jmike
published 1.5.0 •

Changelog

Source

1.5.0

Minor Changes

  • 82b7739: Expose errorMap property to use with zod.setErrorMap() method
jmike
published 1.4.0 •

Changelog

Source

1.4.0

Minor Changes

  • 8893d16: Expose fromZodIssue method
jmike
published 1.3.1 •

Changelog

Source

1.3.1

Patch Changes

  • 218da5f: fix: casing typo of how zod namespace was referenced
jmike
published 1.3.0 •

Changelog

Source

1.3.0

Minor Changes

  • 8ccae09: Added exports of types for parameters of fromZodError function
jmike
published 1.2.1 •

Changelog

Source

1.2.1

Patch Changes

  • 449477d: Switch to using npm instead of yarn. Update node requirement to v.16+
jmike
published 1.2.0 •

Changelog

Source

1.2.0

Minor Changes

  • f3aa0b2: Better handling for single-item paths

    Given a validation error at array position 1 the error output would read Error X at "[1]". After this change, the error output reads Error X at index 1.

    Likewise, previously a validation error at property "_" would yield Error X at "["_"]". Now it yieldsError X at "\*" which reads much better.

jmike
published 1.1.0 •

Changelog

Source

1.1.0

Minor Changes

  • b693f52: Handle unicode and special-character identifiers
jmike
published 1.0.1 •

Changelog

Source

1.0.1

Patch Changes

  • b868741: Fix broken links in API docs
jmike
published 1.0.0 •

Changelog

Source

1.0.0

Major Changes

  • 90b2f83: Update ZodValidationError to behave more like a native Error constructor. Make options argument optional. Add name property and define toString() method.
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