Skip to content

Conversation

@nejidevelops
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade @mui/styles from 5.10.10 to 5.17.1.

ℹ️ 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 75 versions ahead of your current version.

  • The recommended version was released 3 months ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-BABELRUNTIME-10044504
666 Proof of Concept
Release notes
Package name: @mui/styles
  • 5.17.1 - 2025-03-18

    Mar 18, 2025

    This release fixes the @ mui/types dependencies in all packages to fix a package layout bug (#45612) @ DiegoAndai

  • 5.17.0 - 2025-03-18

    Mar 18, 2025

    A big thanks to the 2 contributors who made this release possible.

    @ mui/[email protected]

    All contributors of this release in alphabetical order: @ DiegoAndai, @ siriwatknp

  • 5.16.14 - 2025-01-06
  • 5.16.13 - 2024-12-25
  • 5.16.12 - 2024-12-17
  • 5.16.11 - 2024-12-11
  • 5.16.10 - 2024-12-11
  • 5.16.9 - 2024-12-04
  • 5.16.8 - 2024-11-28
  • 5.16.7 - 2024-08-09
  • 5.16.6 - 2024-07-30
  • 5.16.5 - 2024-07-25
  • 5.16.4 - 2024-07-16
  • 5.16.3 - 2024-07-16
  • 5.16.2 - 2024-07-16
  • 5.16.1 - 2024-07-11
  • 5.16.0 - 2024-07-05
  • 5.15.21 - 2024-06-28
  • 5.15.20 - 2024-06-12
  • 5.15.19 - 2024-05-29
  • 5.15.18 - 2024-05-16
  • 5.15.17 - 2024-05-08
  • 5.15.16 - 2024-05-01
  • 5.15.15 - 2024-04-04
  • 5.15.14 - 2024-03-19
  • 5.15.13 - 2024-03-13
  • 5.15.12 - 2024-03-05
  • 5.15.11 - 2024-02-24
  • 5.15.10 - 2024-02-12
  • 5.15.9 - 2024-02-08
  • 5.15.8 - 2024-02-06
  • 5.15.7 - 2024-01-31
  • 5.15.6 - 2024-01-22
  • 5.15.5 - 2024-01-17
  • 5.15.4 - 2024-01-10
  • 5.15.3 - 2024-01-03
  • 5.15.2 - 2023-12-25
  • 5.15.1 - 2023-12-19
  • 5.15.0 - 2023-12-12
  • 5.14.20 - 2023-12-05
  • 5.14.19 - 2023-11-29
  • 5.14.18 - 2023-11-14
  • 5.14.17 - 2023-11-06
  • 5.14.16 - 2023-10-31
  • 5.14.15 - 2023-10-24
  • 5.14.14 - 2023-10-17
  • 5.14.13 - 2023-10-10
  • 5.14.12 - 2023-10-04
  • 5.14.11 - 2023-09-26
  • 5.14.10 - 2023-09-18
  • 5.14.9 - 2023-09-13
  • 5.14.7 - 2023-08-29
  • 5.14.6 - 2023-08-24
  • 5.14.5 - 2023-08-14
  • 5.14.4 - 2023-08-08
  • 5.14.3 - 2023-08-01
  • 5.14.1 - 2023-07-19
  • 5.14.0 - 2023-07-11
  • 5.13.7 - 2023-07-04
  • 5.13.2 - 2023-05-22
  • 5.13.1 - 2023-05-17
  • 5.12.3 - 2023-05-02
  • 5.12.0 - 2023-04-11
  • 5.11.16 - 2023-04-04
  • 5.11.13 - 2023-03-14
  • 5.11.12 - 2023-03-06
  • 5.11.11 - 2023-02-28
  • 5.11.9 - 2023-02-14
  • 5.11.7 - 2023-01-31
  • 5.11.2 - 2022-12-26
  • 5.11.1 - 2022-12-20
  • 5.11.0 - 2022-12-13
  • 5.10.16 - 2022-11-28
  • 5.10.15 - 2022-11-22
  • 5.10.14 - 2022-11-15
  • 5.10.10 - 2022-10-18
from @mui/styles GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

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:

Snyk has created this PR to upgrade @mui/styles from 5.10.10 to 5.17.1.

See this package in npm:
@mui/styles

See this project in Snyk:
https://app.snyk.io/org/newtonombese1/project/1491b9a6-0919-43c1-8c2a-1fe24daf820a?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary of Changes

Hello @nejidevelops, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request, automatically generated by Snyk, updates the @mui/styles dependency to the latest version (5.17.1) from a significantly older one (5.10.10). The primary motivation is to fix a security vulnerability (ReDoS) in a nested @babel/runtime dependency. This change also brings in numerous updates to other related MUI and JSS packages and adds support for React v19, although it's important to note that @mui/styles itself is now deprecated.

Highlights

  • Dependency Upgrade: Upgraded the @mui/styles package from version 5.10.10 to 5.17.1. This is a significant jump across 75 versions.
  • Security Fix: This upgrade addresses a Medium severity Regular Expression Denial of Service (ReDoS) vulnerability (SNYK-JS-BABELRUNTIME-10044504) found in a transitive dependency, @babel/runtime.
  • Transitive Dependency Updates: The upgrade pulled in newer versions of several related dependencies, including @babel/runtime, @mui/private-theming, @mui/types, @mui/utils, clsx, csstype, and the jss library and its plugins.
  • Deprecation Notice: Note that the @mui/styles package is marked as deprecated in this new version, with a link provided to migration instructions.
  • React 19 Support: Peer dependency ranges for @mui/private-theming, @mui/styles, @mui/types, and @mui/utils have been updated to include support for React v19.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configureGemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request upgrades the @mui/styles package from version 5.10.10 to 5.17.1. This includes updating related dependencies such as @babel/runtime, @mui/private-theming, @mui/types, @mui/utils, clsx, csstype, jss, @types/prop-types, and others. It's important to verify the compatibility of these updated dependencies with the existing codebase and address the deprecation warning for @mui/styles.

Comment on lines +2586 to +2589
"version": "10.10.0",
"resolved": "https://registry.npmjs.org/jss/-/jss-10.10.0.tgz",
"integrity": "sha512-cqsOTS7jqPsPMjtKYDUpdFC0AbhYFLTcuGRqymgmdJIeQ8cH7+AgX7YSgQy79wXloZq2VvATYxUOUQEvS1V/Zw==",
"license": "MIT",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The version of jss has been updated. Verify that all usages of jss are still compatible with the new version and that no breaking changes have been introduced.

    "node_modules/jss": {
      "version": "10.10.0",
      "resolved": "https://registry.npmjs.org/jss/-/jss-10.10.0.tgz",
      "integrity": "sha512-cqsOTS7jqPsPMjtKYDUpdFC0AbhYFLTcuGRqymgmdJIeQ8cH7+AgX7YSgQy79wXloZq2VvATYxUOUQEvS1V/Zw==",

"version": "5.10.9",
"resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-5.10.9.tgz",
"integrity": "sha512-BN7/CnsVPVyBaQpDTij4uV2xGYHHHhOgpdxeYLlIu+TqnsVM7wUeF+37kXvHovxM6xmL5qoaVUD98gDC0IZnHg==",
"version": "5.17.1",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The version of @mui/private-theming has been updated. Verify that all usages of @mui/private-theming are still compatible with the new version and that no breaking changes have been introduced.

    "@mui/private-theming": {

"@mui/utils": "^5.10.9",
"clsx": "^1.2.1",
"csstype": "^3.1.1",
"version": "5.17.1",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The version of @mui/styles has been updated. Verify that all usages of @mui/styles are still compatible with the new version and that no breaking changes have been introduced.

    "@mui/styles": {

Comment on lines +4331 to 4334
"version": "7.2.24",
"resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.24.tgz",
"integrity": "sha512-3c8tRt/CbWZ+pEg7QpSwbdxOk36EfmhbKf6AGZsD1EcLDLTSZoxxJ86FVtcjxvjuhdyBiWKSTGZFaXCnidO2kw==",
"requires": {}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The version of @mui/types has been updated. Verify that all usages of @mui/types are still compatible with the new version and that no breaking changes have been introduced.

    "@mui/types": {
      "version": "7.2.24",
      "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.24.tgz",
      "integrity": "sha512-3c8tRt/CbWZ+pEg7QpSwbdxOk36EfmhbKf6AGZsD1EcLDLTSZoxxJ86FVtcjxvjuhdyBiWKSTGZFaXCnidO2kw==",

"@babel/runtime": "^7.19.0",
"@types/prop-types": "^15.7.5",
"@types/react-is": "^16.7.1 || ^17.0.0",
"version": "5.17.1",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The version of @mui/utils has been updated. Verify that all usages of @mui/utils are still compatible with the new version and that no breaking changes have been introduced.

    "@mui/utils": {

Comment on lines +4454 to 4457
"version": "15.7.15",
"resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.15.tgz",
"integrity": "sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw=="
},

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The version of @types/prop-types has been updated. Ensure that the application's prop type definitions are still compatible with the new version.

    "@types/prop-types": {
      "version": "15.7.15",
      "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.15.tgz",
      "integrity": "sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==",

Comment on lines +5304 to 5307
"version": "10.10.0",
"resolved": "https://registry.npmjs.org/jss/-/jss-10.10.0.tgz",
"integrity": "sha512-cqsOTS7jqPsPMjtKYDUpdFC0AbhYFLTcuGRqymgmdJIeQ8cH7+AgX7YSgQy79wXloZq2VvATYxUOUQEvS1V/Zw==",
"requires": {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The version of jss has been updated. Verify that all usages of jss are still compatible with the new version and that no breaking changes have been introduced.

    "jss": {
      "version": "10.10.0",
      "resolved": "https://registry.npmjs.org/jss/-/jss-10.10.0.tgz",
      "integrity": "sha512-cqsOTS7jqPsPMjtKYDUpdFC0AbhYFLTcuGRqymgmdJIeQ8cH7+AgX7YSgQy79wXloZq2VvATYxUOUQEvS1V/Zw==",

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