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.22.1 to 3.22.2 #65

Merged
merged 1 commit into from
Sep 9, 2023

Conversation

pshaddel
Copy link
Owner

@pshaddel pshaddel commented Sep 9, 2023

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


Snyk has created this PR to upgrade zod from 3.22.1 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 1 version ahead of your current version.
  • The recommended version was released 22 days 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)
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

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

@codecov-commenter
Copy link

Codecov Report

Patch and project coverage have no change.

Comparison is base (3d1a6c4) 81.66% compared to head (f288cdf) 81.66%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #65   +/-   ##
=======================================
  Coverage   81.66%   81.66%           
=======================================
  Files           4        4           
  Lines          60       60           
  Branches       11       11           
=======================================
  Hits           49       49           
  Misses         11       11           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pshaddel pshaddel merged commit 8300fdd into master Sep 9, 2023
5 checks passed
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.

3 participants