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

fix(deps): update all non-major dependencies #409

Merged
merged 1 commit into from
Apr 24, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 24, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change OpenSSF
@prisma/adapter-neon (source) dependencies minor 5.12.1 -> 5.13.0 OpenSSF Scorecard
@prisma/client (source) dependencies minor 5.12.1 -> 5.13.0 OpenSSF Scorecard
@storybook/addon-a11y (source) devDependencies patch 8.0.8 -> 8.0.9 OpenSSF Scorecard
@storybook/addon-essentials (source) devDependencies patch 8.0.8 -> 8.0.9 OpenSSF Scorecard
@storybook/addon-interactions (source) devDependencies patch 8.0.8 -> 8.0.9 OpenSSF Scorecard
@storybook/addon-links (source) devDependencies patch 8.0.8 -> 8.0.9 OpenSSF Scorecard
@storybook/addon-viewport (source) devDependencies patch 8.0.8 -> 8.0.9 OpenSSF Scorecard
@storybook/blocks (source) devDependencies patch 8.0.8 -> 8.0.9 OpenSSF Scorecard
@storybook/nextjs (source) devDependencies patch 8.0.8 -> 8.0.9 OpenSSF Scorecard
@storybook/react (source) devDependencies patch 8.0.8 -> 8.0.9 OpenSSF Scorecard
@storybook/test (source) dependencies patch 8.0.8 -> 8.0.9 OpenSSF Scorecard
@typescript-eslint/eslint-plugin (source) devDependencies patch 7.7.0 -> 7.7.1 OpenSSF Scorecard
@typescript-eslint/parser (source) devDependencies patch 7.7.0 -> 7.7.1 OpenSSF Scorecard
knip (source) devDependencies minor 5.9.4 -> 5.10.0 OpenSSF Scorecard
prisma (source) devDependencies minor 5.12.1 -> 5.13.0 OpenSSF Scorecard
react-i18next dependencies patch 14.1.0 -> 14.1.1 OpenSSF Scorecard
storybook (source) devDependencies patch 8.0.8 -> 8.0.9 OpenSSF Scorecard
type-fest devDependencies minor 4.16.0 -> 4.17.0 OpenSSF Scorecard
zod (source) dependencies patch 3.23.0 -> 3.23.4 OpenSSF Scorecard

Release Notes

prisma/prisma (@​prisma/adapter-neon)

v5.13.0

Compare Source

Today, we are excited to share the 5.13.0 stable release 🎉

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

Highlights

omit fields from Prisma Client queries (Preview)

We’re excited to announce Preview support for the omit option within the Prisma Client query options. The highly-requested omit feature now allows you to exclude fields that you don’t want to retrieve from the database on a per-query basis.

By default, when a query returns records, the result includes all scalar fields of the models defined in the Prisma schema. select can be used to return specific fields, while omit can now be used to exclude specific fields. omit lives at the same API level and works on all of the same Prisma Client model queries as select. Note, however, that omit and select are mutually exclusive. In other words, you can’t use both in the same query.

To get started using omit, enable the omitApi Preview feature in your Prisma schema:

// schema.prisma
generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["omitApi"]
}

Be sure to re-generate Prisma Client afterwards:

npx prisma generate

Here is an example of using omit:

// Includes all fields except password
await prisma.user.findMany({
  omit: {
   password: true
  },
})

Here is an example of using omit with include:

// Includes all user fields except user's password and title of user's posts
await prisma.user.findMany({
  omit: {
   password: true
  },
  include: {
    posts: {
      omit: {
        title: true
      },
    },
  },
})
Expand to view the example Prisma schema
model User {
  id       Int     @​id @​default(autoincrement())
  email    String  @​unique
  name     String?
  password String
  posts    Post[]
}

model Post {
  id       Int    @​id @​default(autoincrement())
  title    String
  author   User   @​relation(fields: [authorId], references: [id])
  authorId Int
}

Many users have requested a global implementation of omit. This request will be accommodated in the future. In the meantime, you can follow the issue here.

📣 Share your feedback: omitApi Preview feature

📚 Documentation: omit - Prisma Client API Reference

Fixes and improvements

Prisma Migrate
Prisma Client

Credits

Huge thanks to @​ospfranco, @​pranayat, @​yubrot, @​skyzh, @​anuraaga, @​yehonatanz, @​arthurfiorette, @​elithrar, @​tockn, @​Kuhave, @​obiwac for helping!

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

v8.0.9

Compare Source

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

v8.0.9

Compare Source

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

v8.0.9

Compare Source

typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)

v7.7.1

Compare Source

🩹 Fixes
  • eslint-plugin: [no-unsafe-assignment] handle shorthand property assignment

  • eslint-plugin: [explicit-function-return-type] fix checking wrong ancestor's return type

  • eslint-plugin: [prefer-optional-chain] only look at left operand for requireNullish

  • eslint-plugin: [no-for-in-array] refine report location

  • eslint-plugin: [no-unnecessary-type-assertion] allow non-null assertion for void type

❤️ Thank You
  • Abraham Guo
  • Kirk Waiblinger
  • YeonJuan

You can read about our versioning strategy and releases on our website.

typescript-eslint/typescript-eslint (@​typescript-eslint/parser)

v7.7.1

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

webpro/knip (knip)

v5.10.0

Compare Source

i18next/react-i18next (react-i18next)

v14.1.1

Compare Source

  • do not modify passed tOptions context property to address 1745
sindresorhus/type-fest (type-fest)

v4.17.0

Compare Source

colinhacks/zod (zod)

v3.23.4

Compare Source

Commits:

v3.23.3

Compare Source

v3.23.2

Compare Source

Commits:

v3.23.1

Compare Source


Configuration

📅 Schedule: Branch creation - "before 4am on Monday,before 4am on Thursday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, 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 has been generated by Mend Renovate. View repository job log here.

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot requested a review from JoeKarow as a code owner April 24, 2024 13:26
@renovate renovate bot added automerge Enable Kodiak auto-merge dependencies Change in project dependencies. labels Apr 24, 2024
Copy link

vercel bot commented Apr 24, 2024

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

Name Status Preview Comments Updated (UTC)
transmascfutures ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2024 1:29pm

Copy link

coderabbitai bot commented Apr 24, 2024

Important

Auto Review Skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

deepsource-io bot commented Apr 24, 2024

Here's the code health analysis summary for commits 5da09c2..558c9fc. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Secrets LogoSecrets✅ SuccessView Check ↗
DeepSource JavaScript LogoJavaScript✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

Copy link

sonarcloud bot commented Apr 24, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/knip@5.10.0 environment +2 816 kB webpro
npm/react-i18next@14.1.1 None +2 622 kB adrai
npm/storybook@8.0.9 None 0 1.39 kB shilman
npm/zod@3.23.4 None 0 674 kB colinmcd94

🚮 Removed packages: npm/knip@5.9.4, npm/prisma@5.12.1, npm/react-i18next@14.1.0, npm/storybook@8.0.8, npm/type-fest@4.16.0, npm/zod@3.23.0

View full report↗︎

Copy link

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Install scripts npm/esbuild@0.20.2

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/esbuild@0.20.2

Copy link

relativeci bot commented Apr 24, 2024

#16 Bundle Size — 18.67MiB (+0.02%).

558c9fc(current) vs 8584b2a dev#4(baseline)

Bundle metrics  Change 4 changes Regression 1 regression
                 Current
#16
     Baseline
#4
Regression  Initial JS 1007.65KiB(+0.46%) 1003.04KiB
No change  Initial CSS 6.61KiB 6.61KiB
Change  Cache Invalidation 2.91% 0%
No change  Chunks 20 20
No change  Assets 79 79
Change  Modules 789(+0.25%) 787
No change  Duplicate Modules 103 103
Change  Duplicate Code 5.62%(-0.53%) 5.65%
No change  Packages 81 81
No change  Duplicate Packages 0 0
Bundle size by type  Change 2 changes Regression 2 regressions
                 Current
#16
     Baseline
#4
No change  IMG 17.4MiB 17.4MiB
Regression  JS 1.08MiB (+0.42%) 1.07MiB
No change  Fonts 189.64KiB 189.64KiB
No change  CSS 6.61KiB 6.61KiB
Regression  Other 4.07KiB (+0.1%) 4.07KiB

Bundle analysis reportBranch renovate/all-minor-patchProject dashboard

@kodiakhq kodiakhq bot merged commit d8f7b65 into dev Apr 24, 2024
22 of 24 checks passed
@kodiakhq kodiakhq bot deleted the renovate/all-minor-patch branch April 24, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Enable Kodiak auto-merge dependencies Change in project dependencies.
Development

Successfully merging this pull request may close these issues.

None yet

1 participant