Skip to content

Commit

Permalink
VALIDATOR: Fixing peerdeps because Valibot major is 0
Browse files Browse the repository at this point in the history
  • Loading branch information
crisconru committed Jul 6, 2024
1 parent 590b6d3 commit 4f71dc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 1 addition & 6 deletions validator/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
# @SchemasJS/validator

[![version](https://img.shields.io/npm/v/%40schemasjs%2Fvalidator)](https://img.shields.io/npm/v/%40schemasjs%2Fvalidator)

[![Bundle size minified](https://img.shields.io/bundlephobia/min/%40schemasjs/validator/latest
)](https://bundlephobia.com/package/@schemasjs/validator)

[![build](https://github.com/crisconru/schemasjs/actions/workflows/validator.yml/badge.svg)](https://github.com/crisconru/schemasjs/actions/workflows/validator.yml)
[![version](https://img.shields.io/npm/v/%40schemasjs%2Fvalidator)](https://img.shields.io/npm/v/%40schemasjs%2Fvalidator) [![Bundle size minified](https://img.shields.io/bundlephobia/min/%40schemasjs/validator/latest)](https://bundlephobia.com/package/@schemasjs/validator) [![build](https://github.com/crisconru/schemasjs/actions/workflows/validator.yml/badge.svg)](https://github.com/crisconru/schemasjs/actions/workflows/validator.yml)

If you love type validators like Zod or Valibot, probably you load a ton of logic
inside schemas. If suddenly you wanted to swap from one type validator to another,
Expand Down
4 changes: 2 additions & 2 deletions validator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@schemasjs/validator",
"version": "1.0.0",
"version": "1.0.1",
"description": "An opinionated type validator API indpendent from schema validators like Zod, Valibot, etc",
"author": "Cristobal Contreras Rubio",
"license": "MIT",
Expand Down Expand Up @@ -52,7 +52,7 @@
"test:coverage": "vitest run --coverage"
},
"optionalDependencies": {
"valibot": "^0.32.0",
"valibot": ">0.31.0",
"zod": "^3.23.8"
},
"devDependencies": {
Expand Down

0 comments on commit 4f71dc1

Please sign in to comment.