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

chore(deps): update devdependencies #285

Merged
merged 1 commit into from
Sep 29, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 29, 2024

This PR contains the following updates:

Package Type Update Change Pending OpenSSF
@storybook/addon-a11y (source) devDependencies patch 8.3.2 -> 8.3.3 8.3.4 OpenSSF Scorecard
@storybook/addon-essentials (source) devDependencies patch 8.3.2 -> 8.3.3 8.3.4 OpenSSF Scorecard
@storybook/addon-interactions (source) devDependencies patch 8.3.2 -> 8.3.3 8.3.4 OpenSSF Scorecard
@storybook/addon-links (source) devDependencies patch 8.3.2 -> 8.3.3 8.3.4 OpenSSF Scorecard
@storybook/addon-themes (source) devDependencies patch 8.3.2 -> 8.3.3 8.3.4 OpenSSF Scorecard
@storybook/blocks (source) devDependencies patch 8.3.2 -> 8.3.3 8.3.4 OpenSSF Scorecard
@storybook/manager-api (source) devDependencies patch 8.3.2 -> 8.3.3 8.3.4 OpenSSF Scorecard
@storybook/nextjs (source) devDependencies patch 8.3.2 -> 8.3.3 8.3.4 OpenSSF Scorecard
@storybook/react (source) devDependencies patch 8.3.2 -> 8.3.3 8.3.4 OpenSSF Scorecard
@storybook/test (source) devDependencies patch 8.3.2 -> 8.3.3 8.3.4 OpenSSF Scorecard
@storybook/theming (source) devDependencies patch 8.3.2 -> 8.3.3 8.3.4 OpenSSF Scorecard
@types/node (source) devDependencies patch 20.16.6 -> 20.16.9 20.16.10 OpenSSF Scorecard
@types/react (source) devDependencies patch 18.3.8 -> 18.3.9 18.3.10 OpenSSF Scorecard
chromatic (source) devDependencies patch 11.10.3 -> 11.10.4 OpenSSF Scorecard
prisma (source) devDependencies minor 5.19.1 -> 5.20.0 OpenSSF Scorecard
storybook (source) devDependencies patch 8.3.2 -> 8.3.3 8.3.4 OpenSSF Scorecard

Release Notes

storybookjs/storybook (@​storybook/addon-a11y)

v8.3.3

Compare Source

chromaui/chromatic-cli (chromatic)

v11.10.4

Compare Source

🐛 Bug Fix
Authors: 2

prisma/prisma (prisma)

v5.20.0

Compare Source

🌟 Help us spread the word about Prisma by starring the repo or posting on X about the release. 🌟

Highlights
strictUndefinedChecks in Preview

With Prisma ORM 5.20.0, the Preview feature strictUndefinedChecks will disallow any value that is explicitly undefined and will be a runtime error. This change is direct feedback from this GitHub issue and follows our latest proposal on the same issue.

To demonstrate the change, take the following code snippet:

prisma.table.deleteMany({
  where: {
    // If `nullableThing` is nullish, this query will remove all data.
    email: nullableThing?.property,
  }
})

In Prisma ORM 5.19.0 and below, this could result in unintended behavior. In Prisma ORM 5.20.0, if the strictUndefinedChecks Preview feature is enabled, you will get a runtime error instead:

Invalid \`prisma.user.findMany()\` invocation in
/client/tests/functional/strictUndefinedChecks/test.ts:0:0
  XX })
  XX 
  XX test('throws on undefined input field', async () => {
→ XX   const result = prisma.user.deleteMany({
         where: {
           email: undefined
                  ~~~~~~~~~
         }
       })
Invalid value for argument \`where\`: explicitly \`undefined\` values are not allowed."

We have also introduced the Prisma.skip symbol, which will allow you to get the previous behavior if desired.

prisma.table.findMany({
  where: {
    // Use Prisma.skip to skip parts of the query
    email: nullableEmail ?? Prisma.skip
  }
})

From Prisma ORM 5.20.0 onward, we recommend enabling strictUndefinedChecks, along with the TypeScript compiler option exactOptionalPropertyTypes, which will help catch cases of undefined values at compile time. Together, these two changes will help protect your Prisma queries from potentially destructive behavior.

strictUndefinedChecks will be a valid Preview feature for the remainder of Prisma ORM 5. With our next major version, this behavior will become the default and the Preview feature will be “graduated” to Generally Available.

If you have any questions or feedback about strictUndefinedChecks, please ask/comment in our dedicated Preview feature GitHub discussion.

typedSql bug fix

Thank you to everyone who has tried out our typedSql Preview feature and provided feedback! This release has a quick fix for typescript files generated when Prisma Schema enums had hyphens.

Fixes and improvements
Prisma
Prisma Engines
Credits

Huge thanks to @​mcuelenaere, @​pagewang0, @​key-moon, @​pranayat, @​yubrot, @​thijmenjk, @​mydea, @​HRM, @​haaawk, @​baileywickham, @​brian-dlee, @​nickcarnival, @​eruditmorina, @​nzakas, and @​gutyerrez for helping!


Configuration

📅 Schedule: Branch creation - "before 4am" (UTC), Automerge - "before 4am" (UTC).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Dependency updates label Sep 29, 2024
Copy link

vercel bot commented Sep 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
screamer ✅ Ready (Inspect) Visit Preview Sep 29, 2024 3:25am

Copy link

codecov bot commented Sep 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 23.44%. Comparing base (cde71d7) to head (19d564b).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #285   +/-   ##
=======================================
  Coverage   23.44%   23.44%           
=======================================
  Files          53       53           
  Lines         499      499           
  Branches       69       69           
=======================================
  Hits          117      117           
  Misses        362      362           
  Partials       20       20           
Flag Coverage Δ
jest 16.83% <ø> (ø)
storybook 93.02% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@renovate renovate bot merged commit e8ec0da into main Sep 29, 2024
18 checks passed
@renovate renovate bot deleted the renovate/devdependencies branch September 29, 2024 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Dependency updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants