Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade zod from 3.21.4 to 3.22.2 #21

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lucgagan
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade zod from 3.21.4 to 3.22.2.

ℹ️ 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 26 versions ahead of your current version.
  • The recommended version was released a month ago, on 2023-08-19.
Release notes
Package name: zod
  • 3.22.2 - 2023-08-19

    Commits:

  • 3.22.1 - 2023-08-15

    Commits:

    Fix handing of this in ZodFunction schemas. The parse logic for function schemas now requires the Reflect API.

    const methodObject = z.object({
      property: z.number(),
      method: z.function().args(z.string()).returns(z.number()),
    });
    const methodInstance = {
      property: 3,
      method: function (s: string) {
        return s.length + this.property;
      },
    };
    const parsed = methodObject.parse(methodInstance);
    parsed.method("length=8"); // => 11 (8 length + 3 property)
  • 3.22.0 - 2023-08-14
    Read more
  • 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

    Commits:

from zod GitHub release notes
Commit messages
Package name: zod
  • 792b3ef Fix superrefine types
  • 8e4af7b X to Zod: add app.quicktype.io (#2668)
  • 0d49f10 docs: add typeschema to ecosystem (#2626)
  • 13d9e6b Fix lint
  • 0a055e7 3.22.1
  • 932cc47 Initial prototype fix for issue #2651 (#2652)
  • fba438c 3.22.0
  • 981d4b5 Add ZodReadonly (#2634)
  • 1ecd624 Fix prettier
  • 78a4090 docs: update comparison with `runtypes` (#2536)
  • 81a89f5 Update nullish documentation to correct chaining order (#2457)
  • 6aab901 fix typo test name (#2542)
  • 8b8ab3e Update README.md (#2562)
  • 5adae24 docs: add conform form integration (#2577)
  • d870407 docs: fix incomplete Records example (#2579)
  • ab8e717 docs: fix typo in z.object (#2570)
  • fb00edd docs: add VeeValidate form library for Vue.js (#2578)
  • 8677f68 docs(comparison-yup): Yup added partial() and deepPartial() in v1 (#2603)
  • cfbc7b3 Fix root jest config
  • 9eb2508 Clean up configs
  • 8d8e1a2 Fix deno test bug
  • 73a5610 Update script
  • c0aece1 Add vitest config
  • 6309322 Update test runners

Compare


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:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants