[Snyk] Upgrade zod from 3.21.4 to 3.24.1 #8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade zod from 3.21.4 to 3.24.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 111 versions ahead of your current version.
The recommended version was released 2 months ago.
Release notes
Package name: zod
-
3.24.1 - 2024-12-11
- 0c6cbbd Undeprecate .nonempty()
- 4e219d6 Bump min TS version to 5.0
- 65adeea v3.24.1
-
3.24.0 - 2024-12-10
- 294f54f Update README_ZH.md about Discriminated unions (#3493)
- 1247caf Add Kubb as X-to-Zod community tool (#3508)
- 62b7842 Update default branch
- c6bc80d Fix issue #3582 : ULID should be case insensitive (#3593)
- a5b9dc3 docs: add zod-schema-faker to ecosystem (#3605)
- 9818d0e Add zod-sockets (#3609)
- 7173d0b Add drizzle-zod library to X to Zod README.md section (#3648)
- c5a4edc Add 'schemql' in Powered by Zod (#3800)
- 85916b3 docs: add zod-form-renderer to form integration docs (#3697)
- 51f1dc3 docs: add unplugin-environment in powered by zod (#3778)
- 8e74db3 fix: ipv6 regex validation (#3513)
- 1f4f0da refactor: rename ip version types (#3755)
- f487d74 Remove faulty ip test case
- 48f1c47 docs: Remove invalid semicolon in ERROR_HANDLING.md (#3857)
- 1d0a4b9 fix: bigint coerce crash (#3822)
- 14dceaa Add API library (#3814)
- f82f817 feat: z.string.cidr() - support CIDR notation (#3820)
- 71a0c33 docs: add info on unqualified local datetime strings (#3760)
- b85686a Add support for
- 6407bed Allow creation of discriminated unions with a readonly array of options (#3535)
- 3755146 Remove createParams cascade from .array() (#3530)
- 963386d Fix lint
- 69a1798 Implement Standard Schema spec (#3850)
- c1dd537 Adds
- b68c05f feat: Add JWT string validator (#3893)
-
3.24.0-canary.20241210T065401 - 2024-12-10
-
3.24.0-canary.20241210T060351 - 2024-12-10
-
3.24.0-canary.20241210T025401 - 2024-12-10
-
3.24.0-canary.20241210T025031 - 2024-12-10
-
3.24.0-canary.20241107T043915 - 2024-11-07
-
3.24.0-canary.20241016T212913 - 2024-10-16
-
3.24.0-canary.20241016T212839 - 2024-10-16
-
3.24.0-canary.20240701T200529 - 2024-07-01
-
3.24.0-canary.20240629T005127 - 2024-06-29
-
3.24.0-canary.20240523T174819 - 2024-05-23
-
3.24.0-canary.20240508T190620 - 2024-05-08
-
3.24.0-canary.20240507T181513 - 2024-05-07
-
3.24.0-canary.20240502T210128 - 2024-05-02
-
3.24.0-canary.20240429T193647 - 2024-04-29
-
3.24.0-canary.20240429T193306 - 2024-04-29
-
3.24.0-canary.20240423T173108 - 2024-04-23
-
3.23.8 - 2024-05-08
- 0f4d403 Add Bronze logos (#3470)
- 1968731 Tweak tiers (#3471)
- eda7df3 Change RefinementCtx to interface
- ca42965 v3.23.8
-
3.23.7 - 2024-05-07
- 29d2ea2 Add copper
- d969423 Fix #3437: extendShape erases JSDoc property documentation (#3463)
- 2239ff3 Add social crow
- f985b5b 3.23.7
-
3.23.6 - 2024-05-03
- bc0095a Test on latest node
- 6e5699a Lint on latest node
- 1f466d9 describe how one can protect from cyclical objects starting an infini… (#3447)
- 3fed6f2 Add zod playground link (#3454)
- 04e1f37 Fixed freezing async ZodReadonly results (#3457)
- b87e59d Update sponsor tiers (#3453)
- 1438861 Add copper tier (#3460)
- ce3711e add VSCode dev container support and documenation
- 93b480b v3.23.6
-
3.23.5 - 2024-04-29
- 110b821 Update README_ZH.md (#3433)
- c1910bd Made ZodEnum take readonly string array (#3444)
- 541a862 3.23.5
-
3.23.4 - 2024-04-23
- 157b18d Add 3.23 announcement
- aedf93f Revert change to default Input
- 45107f7 v3.23.4
-
3.23.3 - 2024-04-22
- 103d243 3.23.3
-
3.23.2 - 2024-04-22
- c340558 Update protocol
- ef588d0 Fix t3env
- 9df70dd 3.23.2
-
3.23.1 - 2024-04-22
- 59f4872 Change unknown -> any for ZodType defaults
- 2ff5ceb 3.23.1
-
3.23.0 - 2024-04-21
-
3.23.0-canary.20240421T221346 - 2024-04-21
-
3.23.0-canary.20240421T220206 - 2024-04-21
-
3.23.0-canary.20240420T221414 - 2024-04-20
-
3.23.0-canary.20240418T224529 - 2024-04-18
-
3.23.0-canary.20240418T011308 - 2024-04-18
-
3.23.0-canary.20240418T003146 - 2024-04-18
-
3.23.0-canary.20240417T235146 - 2024-04-17
-
3.23.0-canary.20240417T010051 - 2024-04-17
-
3.23.0-canary.20240417T001802 - 2024-04-17
-
3.23.0-canary.20240416T233020 - 2024-04-16
-
3.23.0-canary.20240416T232324 - 2024-04-16
-
3.23.0-canary.20240416T231453 - 2024-04-16
-
3.23.0-canary.20240416T230918 - 2024-04-16
-
3.23.0-canary.20240416T222410 - 2024-04-16
-
3.23.0-canary.20240416T210423 - 2024-04-16
-
3.23.0-canary.20240416T204849 - 2024-04-16
-
3.23.0-canary.20240416T201354 - 2024-04-16
-
3.23.0-canary.20240416T195939 - 2024-04-16
-
3.23.0-canary.20240416T051357 - 2024-04-16
-
3.23.0-canary.20240414T000556 - 2024-04-14
-
3.23.0-canary.20240413T085656 - 2024-04-13
-
3.23.0-canary.20240413T011400 - 2024-04-13
-
3.23.0-canary.20240412T032517 - 2024-04-12
-
3.23.0-canary.20240412T023718 - 2024-04-12
-
3.23.0-canary.20240409T033359 - 2024-04-09
-
3.23.0-canary.20240409T032832 - 2024-04-09
-
3.23.0-canary.20240408T222819 - 2024-04-08
-
3.23.0-canary.20240407T005829 - 2024-04-07
-
3.23.0-canary.20240404T043228 - 2024-04-04
-
3.23.0-canary.20240322T225818 - 2024-03-22
-
3.23.0-canary.20240321T233535 - 2024-03-21
-
3.23.0-canary.20240321T225632 - 2024-03-21
-
3.23.0-canary.20240321T224206 - 2024-03-21
-
3.23.0-canary.20240321T200145 - 2024-03-21
-
3.23.0-canary.20240321T195738 - 2024-03-21
-
3.23.0-canary.20240319T231349 - 2024-03-19
-
3.23.0-canary.20240315T001949 - 2024-03-15
-
3.23.0-canary.20240314T051637 - 2024-03-14
-
3.23.0-canary.20240314T051126 - 2024-03-14
-
3.23.0-canary.20240222T232722 - 2024-02-22
-
3.23.0-canary.20240215T003902 - 2024-02-15
-
3.23.0-canary.20240215T003817 - 2024-02-15
-
3.23.0-canary.20240214T232812 - 2024-02-14
-
3.23.0-canary.20231004T224911 - 2023-10-04
-
3.23.0-canary.20231004T215233 - 2023-10-04
-
3.23.0-canary.20231004T213259 - 2023-10-04
-
3.23.0-canary.20231004T210301 - 2023-10-04
-
3.23.0-canary.20231003T200509 - 2023-10-03
-
3.23.0-canary.20231003T183640 - 2023-10-03
-
3.23.0-canary.20231003T183317 - 2023-10-03
-
3.23.0-canary.20230815T194608 - 2023-08-15
-
3.23.0-canary.20230815T194013 - 2023-08-15
-
3.23.0-beta.2 - 2024-04-18
-
3.23.0-beta.1 - 2024-04-18
-
3.23.0-beta.0 - 2024-04-18
-
3.22.5 - 2024-04-18
-
3.22.4 - 2023-10-04
-
3.22.3 - 2023-10-03
-
3.22.2 - 2023-08-19
-
3.22.1 - 2023-08-15
-
3.22.0 - 2023-08-14
-
3.22.0-canary.20230814T192256 - 2023-08-14
-
3.22.0-canary.20230731T015307 - 2023-07-31
-
3.22.0-canary.20230623T202513 - 2023-06-23
-
3.22.0-canary.20230623T192520 - 2023-06-23
-
3.22.0-canary.20230623T190933 - 2023-06-23
-
3.22.0-canary.20230522T011705 - 2023-05-22
-
3.22.0-canary.20230522T010750 - 2023-05-22
-
3.22.0-canary.20230521T235850 - 2023-05-21
-
3.22.0-canary.20230521T234056 - 2023-05-21
-
3.22.0-canary.20230521T230556 - 2023-05-21
-
3.22.0-canary.20230521T230122 - 2023-05-21
-
3.22.0-canary.20230521T223947 - 2023-05-21
-
3.22.0-canary.20230517T164447 - 2023-05-17
-
3.22.0-canary.20230307T060555 - 2023-03-07
-
3.22.0-canary.20230307T044506 - 2023-03-07
-
3.22.0-canary.20230306T212237 - 2023-03-06
-
3.22.0-canary.20230306T210748 - 2023-03-06
-
3.22.0-canary.20230305T095251 - 2023-03-05
-
3.22.0-canary.20230305T095130 - 2023-03-05
-
3.22.0-canary.20230305T093342 - 2023-03-05
-
3.22.0-canary.20230305T093225 - 2023-03-05
-
3.22.0-canary.20230305T082229 - 2023-03-05
-
3.21.5-alpha.0 - 2023-06-04
-
3.21.4 - 2023-03-07
from zod GitHub release notesCommits:
Implement
@ standard-schema/specThis is the first version of Zod to implement the Standard Schema spec. This is a new community effort among several validation library authors to implement a common interface, with the goal of simplifying the process of integrating schema validators with the rest of the ecosystem. Read more about the project and goals here.
z.string().jwt()Thanks to @ Mokshit06 and @ Cognition-Labs for this contribution!
To verify that a string is a valid 3-part JWT.
To constrain the JWT to a specific algorithm:
z.string().base64url()Thank you to @ marvinruder!
To complement the JWT validation, Zod 3.24 implements a standalone
.base64url()string validation API. (The three elements of JWTs are base64url-encoded JSON strings.)This functionality is available along the standard
z.string().base64()validator added in Zod 3.23.z.string().cidr()Thanks to @ wataryooou for their work on this!
A validator for CIDR notation for specifying IP address ranges, e.g.
192.24.12.0/22.To specify an IP version:
View the full diff from 3.23.8: v3.23.8...v3.24.0
base64urlstrings (#3712)frrmpackage to documentation (#3818)Commits:
Commits:
Commits:
Commits:
Commits:
Commits:
Commits:
This changes the default generics back to
anyto prevent breakages with common packager like@ hookform/resolvers:Commits:
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: