Skip to content

Commit

Permalink
Merge pull request #330 from ceesss/main
Browse files Browse the repository at this point in the history
Update package.json for zod to 3.22.3 or greater
  • Loading branch information
airjp73 committed Oct 3, 2023
2 parents 35900df + b36af92 commit 99fc2d8
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion apps/bug-repro/package.json
Expand Up @@ -20,7 +20,7 @@
"react-dom": "^18.1.0",
"remix-validated-form": "*",
"yup": "*",
"zod": "*"
"zod": "~3.20.0"
},
"devDependencies": {
"@remix-run/dev": "^1.16.1",
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/package.json
Expand Up @@ -31,7 +31,7 @@
"react-dom": "^18.1.0",
"rehype-highlight": "^5.0.1",
"remix-validated-form": "*",
"zod": "^3.11.6",
"zod": "~3.20.0",
"zod-form-data": "*"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/test-app/package.json
Expand Up @@ -26,7 +26,7 @@
"react-dom": "^18.1.0",
"remix-validated-form": "*",
"yup": "^1.0.0",
"zod": "^3.11.6",
"zod": "~3.20.0",
"zod-form-data": "*"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/with-zod/package.json
Expand Up @@ -17,7 +17,7 @@
},
"peerDependencies": {
"remix-validated-form": "^4.x || ^5.x",
"zod": "^3.11.x"
"zod": ">= 3.11.0"
},
"devDependencies": {
"@remix-validated-form/with-yup": "*",
Expand All @@ -28,6 +28,6 @@
"tsconfig": "*",
"tsup-config": "*",
"typescript": "^4.8.4",
"zod": "^3.11.6"
"zod": "~3.20.0"
}
}
4 changes: 2 additions & 2 deletions packages/zod-form-data/package.json
Expand Up @@ -23,13 +23,13 @@
"typecheck": "tsc --noEmit"
},
"peerDependencies": {
"zod": "^3.11.x"
"zod": ">= 3.11.0"
},
"devDependencies": {
"set-get": "*",
"tsconfig": "*",
"tsup-config": "*",
"typescript": "^4.8.4",
"zod": "^3.11.6"
"zod": "~3.20.0"
}
}
1 change: 1 addition & 0 deletions packages/zod-form-data/src/zod-form-data.test.ts
Expand Up @@ -173,6 +173,7 @@ describe("zod helpers", () => {
minimum: 0,
type: "number",
inclusive: false,
exact: false,
message: "Number must be greater than 0",
path: [1],
},
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -11013,10 +11013,10 @@ yup@^1.0.0:
toposort "^2.0.2"
type-fest "^2.19.0"

zod@*, zod@^3.11.6:
version "3.19.1"
resolved "https://registry.yarnpkg.com/zod/-/zod-3.19.1.tgz#112f074a97b50bfc4772d4ad1576814bd8ac4473"
integrity sha512-LYjZsEDhCdYET9ikFu6dVPGp2YH9DegXjdJToSzD9rO6fy4qiRYFoyEYwps88OseJlPyl2NOe2iJuhEhL7IpEA==
zod@~3.20.0:
version "3.20.6"
resolved "https://registry.yarnpkg.com/zod/-/zod-3.20.6.tgz#2f2f08ff81291d47d99e86140fedb4e0db08361a"
integrity sha512-oyu0m54SGCtzh6EClBVqDDlAYRz4jrVtKwQ7ZnsEmMI9HnzuZFj8QFwAY1M5uniIYACdGvv0PBWPF2kO0aNofA==

zustand@^4.3.0:
version "4.3.2"
Expand Down

1 comment on commit 99fc2d8

@vercel
Copy link

@vercel vercel bot commented on 99fc2d8 Oct 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.