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.4 #3

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

Conversation

tannerchiang
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.4.

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

    Commits:

  • 3.22.3 - 2023-10-03

    Commits:

  • 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

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

Copy link

codeautopilot bot commented Nov 8, 2023

Pull Request Summary

This Pull Request is an automated upgrade of the zod package from version 3.21.4 to version 3.22.4. The recommended version is 28 versions ahead of the current version and was released a month ago on October 4, 2023.

The release notes for version 3.22.4 include the following commits:

  • Lint
  • Fix prettier
  • Add @sanity-typed/zod to ecosystem
  • Add zod-sandbox to README ecosystem links
  • Export jsdoc with @deprecated when building
  • Fix sanity-typed links
  • Fix ulid regex
  • Remove stalebot
  • Lazy emojiRegex
  • Update sponsors
  • Fix ReDoS vulnerability in email regex
  • Update Custom Schemas documentation example to use type narrowing
  • Update ref to discriminated-unions docs
  • Formatting

The changes in the package-lock.json file show that the zod package has been updated from version 3.21.4 to 3.22.4.

The changes in the package.json file also reflect the upgrade from version 3.21.4 to 3.22.4.

Overall, this Pull Request upgrades the zod package to the latest version, which includes various bug fixes, improvements, and new features.


Current plan usage: 22.86%


Have feedback or need help?

Discord
Documentation
[email protected]

Copy link

sweep-ai bot commented Nov 8, 2023

Apply Sweep Rules to your PR?

  • Apply: All new business logic should have corresponding unit tests.
  • Apply: Refactor large functions to be more modular.

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