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: , react-scripts #148

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

Conversation

officialmofabs
Copy link
Collaborator

snyk-top-banner

Snyk has created this PR to upgrade multiple dependencies.

👯 The following dependencies are linked and will therefore be updated together.

ℹ️ 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.

Name Versions Released on

@testing-library/jest-dom
from 5.12.0 to 5.17.0 | 12 versions ahead of your current version | a year ago
on 2023-07-18
react-scripts
from 5.0.0 to 5.0.1 | 1 version ahead of your current version | 2 years ago
on 2022-04-12

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-MINIMATCH-3050818
265 No Known Exploit
critical severity Incomplete List of Disallowed Inputs
SNYK-JS-BABELTRAVERSE-5962462
265 Proof of Concept
high severity Denial of Service (DoS)
SNYK-JS-DECODEURICOMPONENT-3149970
265 Proof of Concept
Release notes
Package name: @testing-library/jest-dom from @testing-library/jest-dom GitHub release notes
Package name: react-scripts
  • 5.0.1 - 2022-04-12

    5.0.1 (2022-04-12)

    Create React App 5.0.1 is a maintenance release that improves compatibility with React 18. We've also updated our templates to use createRoot and relaxed our check for older versions of Create React App.

    Migrating from 5.0.0 to 5.0.1

    Inside any created project that has not been ejected, run:

    npm install --save --save-exact [email protected]
    

    or

    yarn add --exact [email protected]
    

    🐛 Bug Fix

    💅 Enhancement

    • cra-template-typescript, cra-template, react-scripts
    • cra-template-typescript, cra-template
    • eslint-config-react-app

    📝 Documentation

    🏠 Internal

    Committers: 11

  • 5.0.0 - 2021-12-14

    v5.0.0 (2021-12-14)

    Create React App 5.0 is a major release with several new features and the latest version of all major dependencies.

    Thanks to all the maintainers and contributors who worked so hard on this release! 🙌

    Highlights

    • webpack 5 (#11201)
    • Jest 27 (#11338)
    • ESLint 8 (#11375)
    • PostCSS 8 (#11121)
    • Fast Refresh improvements and bug fixes (#11105)
    • Support for Tailwind (#11717)
    • Improved package manager detection (#11322)
    • Unpinned all dependencies for better compatibility with other tools (#11474)
    • Dropped support for Node 10 and 12

    Migrating from 4.0.x to 5.0.0

    Inside any created project that has not been ejected, run:

    npm install --save --save-exact [email protected]

    or

    yarn add --exact [email protected]
    

    NOTE: You may need to delete your node_modules folder and reinstall your dependencies by running npm install (or yarn) if you encounter errors after upgrading.

    If you previously ejected but now want to upgrade, one common solution is to find the commits where you ejected (and any subsequent commits changing the configuration), revert them, upgrade, and later optionally eject again. It’s also possible that the feature you ejected for is now supported out of the box.

    Breaking Changes

    Like any major release, [email protected] contains a number of breaking changes. We expect that they won't affect every user, but we recommend you look over this section to see if something is relevant to you. If we missed something, please file a new issue.

    Dropped support for Node 10 and 12

    Node 10 reached End-of-Life in April 2021 and Node 12 will be End-of-Life in April 2022. Going forward we will only support the latest LTS release of Node.js.

    Full Changelog

    💥 Breaking Change

    • create-react-app
    • babel-preset-react-app, cra-template-typescript, cra-template, create-react-app, eslint-config-react-app, react-app-polyfill, react-dev-utils, react-error-overlay, react-scripts
    • eslint-config-react-app, react-error-overlay, react-scripts
    • react-scripts

    🐛 Bug Fix

    💅 Enhancement

    • react-scripts
      • #11717 Add support for Tailwind (@ iansu)
      • #8227 Add source-map-loader for debugging into original source of node_modules libraries that contain sourcemaps (@ justingrant)
      • #10499 Remove ESLint verification when opting-out (@ mrmckeb)
    • eslint-config-react-app, react-error-overlay, react-scripts
    • create-react-app
    • react-dev-utils
    • create-react-app, react-scripts

    📝 Documentation

    🏠 Internal

    • Other
    • create-react-app
    • babel-plugin-named-asset-import, babel-preset-react-app, confusing-browser-globals, create-react-app, react-app-polyfill, react-dev-utils, react-error-overlay, react-scripts
    • react-scripts
    • babel-plugin-named-asset-import, confusing-browser-globals, create-react-app, eslint-config-react-app, react-dev-utils, react-error-overlay, react-scripts
    • confusing-browser-globals, cra-template-typescript, cra-template, create-react-app
    • react-error-overlay, react-scripts
    • babel-preset-react-app, cra-template-typescript, cra-template, create-react-app, eslint-config-react-app, react-app-polyfill, react-dev-utils, react-error-overlay, react-scripts

    🔨 Underlying Tools

    • react-dev-utils, react-scripts
    • react-scripts
    • babel-plugin-named-asset-import, confusing-browser-globals, create-react-app, react-dev-utils, react-error-overlay, react-scripts
      • #11338 Upgrade jest and related packages from 26.6.0 to 27.1.0 (@ krreet)
    • eslint-config-react-app, react-error-overlay, react-scripts
    • babel-preset-react-app, react-dev-utils, react-error-overlay, react-scripts
    • react-dev-utils

    Committers: 34

from react-scripts 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:
  - @testing-library/jest-dom from 5.12.0 to 5.17.0.
    See this package in npm: https://www.npmjs.com/package/@testing-library/jest-dom
  - react-scripts from 5.0.0 to 5.0.1.
    See this package in npm: https://www.npmjs.com/package/react-scripts

See this project in Snyk:
https://app.snyk.io/org/supportigedevteam.onmicrosoft.com/project/92d033df-ae43-4bbe-88d8-c446bfbd4a35?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

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

Package New capabilities Transitives Size Publisher
npm/@babel/[email protected] None 0 6.96 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 19 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 4.87 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 213 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 149 kB nicolo-ribaudo
npm/@jest/[email protected] None 0 27.4 kB simenb
npm/@testing-library/[email protected] environment 0 2.39 MB testing-library-bot
npm/@testing-library/[email protected] None 0 123 kB testing-library-bot
npm/@testing-library/[email protected] environment 0 5.48 MB testing-library-bot
npm/@testing-library/[email protected] None 0 165 kB testing-library-bot
npm/@types/[email protected] None 0 12 kB types
npm/@types/[email protected] None 0 12.8 kB types
npm/@types/[email protected] None 0 7.42 kB types
npm/@types/[email protected] None 0 71.3 kB types
npm/@types/[email protected] None 0 1.65 MB types
npm/@types/[email protected] None 0 6.55 kB types
npm/@types/[email protected] None 0 25.8 kB types
npm/@types/[email protected] None 0 178 kB types
npm/@types/[email protected] None 0 8.34 kB types
npm/@types/[email protected] None 0 32.6 kB types
npm/@types/[email protected] None 0 8.66 kB types
npm/[email protected] environment, eval, filesystem 0 706 kB zloirock
npm/[email protected] None 0 1.19 MB faddee
npm/[email protected] None 0 52.8 kB simenb
npm/[email protected] None 0 262 kB eps1lon
npm/[email protected] network 0 63.6 kB chimurai
npm/[email protected] environment 0 15.1 kB simenb
npm/[email protected] eval 0 78.1 kB simenb
npm/[email protected] None 0 112 kB simenb
npm/[email protected] eval 0 85.7 kB simenb
npm/[email protected] None 0 9.08 kB simenb
npm/[email protected] None 0 39.9 kB simenb
npm/[email protected] None 0 8.1 kB simenb
npm/[email protected] unsafe 0 7.32 kB simenb
npm/[email protected] None 0 3.75 kB simenb
npm/[email protected] environment, filesystem, shell 0 135 kB simenb
npm/[email protected] eval 0 137 kB simenb
npm/[email protected] unsafe 0 5.75 kB simenb
npm/[email protected] None 0 28.6 kB simenb
npm/[email protected] eval 0 18.1 kB simenb
npm/[email protected] None 0 39.1 kB simenb
npm/[email protected] None 0 5.71 kB arcanis
npm/[email protected] None 0 3.37 kB simenb
npm/[email protected] None 0 9.11 kB simenb
npm/[email protected] environment, unsafe 0 52.9 kB simenb
npm/[email protected] environment 0 30.8 kB simenb
npm/[email protected] unsafe 0 82 kB simenb
npm/[email protected] unsafe 0 7.12 kB simenb
npm/[email protected] eval 0 93.2 kB simenb
npm/[email protected] environment 0 41.9 kB simenb
npm/[email protected] None 0 32 kB simenb
npm/[email protected] None 0 19.2 kB simenb
npm/[email protected] None 0 26.7 kB simenb
npm/[email protected] environment, shell 0 81.9 kB simenb
npm/[email protected] None 0 4.74 kB simenb
npm/[email protected] None 0 15.1 kB lydell
npm/[email protected] eval 0 291 kB vitaly
npm/[email protected] eval, filesystem, network, shell, unsafe 0 2.77 MB domenic
npm/[email protected] None 0 32 kB mathias
npm/[email protected] None 0 6.7 kB zkat
npm/[email protected] None 0 10.4 kB isaacs
npm/[email protected] None 0 19.6 kB esp
npm/[email protected] None 0 26.1 kB kriszyp
npm/[email protected] None 0 14.2 kB samn
npm/[email protected] None 0 242 kB jordanbtucker
npm/[email protected] filesystem 0 19.8 kB ryanzim
npm/[email protected] None 0 6.77 kB jan
npm/[email protected] None 0 225 kB ljharb
npm/[email protected] None 0 22.8 kB doowb
npm/[email protected] None 0 9.89 kB lukeed
npm/[email protected] None 0 23 kB lukeed
npm/[email protected] None 0 1.54 MB mcg
npm/[email protected] None 0 48.8 kB mcg
npm/[email protected] None 0 5.34 kB sindresorhus
npm/[email protected] None 0 24.9 kB gkz
npm/[email protected] filesystem 0 14.8 kB antonk52
npm/[email protected] None 0 5.39 kB eventualbuddha
npm/[email protected] eval, filesystem 0 18.3 kB sokra
npm/[email protected] None 0 36.3 kB evilebottnawi
npm/[email protected] filesystem 0 7.02 kB sindresorhus
npm/[email protected] None 0 14 kB jdalton
npm/[email protected] None 0 20.1 kB jdalton
npm/[email protected] None 0 54.1 kB jdalton
npm/[email protected] None 0 75.8 kB jdalton
npm/[email protected] None 0 25 kB jdalton
npm/[email protected] environment 0 5.81 kB zertosh
npm/[email protected] None 0 17.7 kB blakeembrey
npm/[email protected] None 0 15.6 kB isaacs
npm/[email protected] None 0 173 kB pieroxy
npm/[email protected] None 0 373 kB antfu
npm/[email protected] None 0 6.07 kB daaku
npm/[email protected] None 0 548 kB mdn
npm/[email protected] filesystem 0 196 kB streamich
npm/[email protected] None 0 4.31 kB stevemao
npm/[email protected] None 0 8.9 kB zensh
npm/[email protected] None 0 61.5 kB danez
npm/[email protected] None 0 204 kB dougwilson
npm/[email protected] None 0 18 kB dougwilson
npm/[email protected] None 0 4.46 kB sindresorhus
npm/[email protected] None 0 2.97 kB thejameskyle
npm/[email protected] unsafe 0 112 kB evilebottnawi
npm/[email protected] None 0 1.55 kB cwmma
npm/[email protected] None 0 34.9 kB isaacs
npm/[email protected] filesystem 0 7.53 kB isaacs
npm/[email protected] None 0 4.69 kB mafintosh
npm/[email protected] network 0 20.1 kB mafintosh
npm/[email protected] None 0 21.7 kB ai
npm/[email protected] None 0 5.65 kB megawac
npm/[email protected] None 0 27.4 kB dougwilson
npm/[email protected] None 0 298 kB suguru03
npm/[email protected] None 0 25.1 kB blakeembrey
npm/[email protected] None 0 1.66 MB davidlehn
npm/[email protected] None 0 16.3 kB broofa
npm/[email protected] None 0 23.7 kB ai
npm/[email protected] None 0 7.77 kB james.talmage
npm/[email protected] None 0 21.2 kB sindresorhus
npm/[email protected] environment 0 8.13 kB sindresorhus
npm/[email protected] None 0 5.54 kB feedic
npm/[email protected] None 0 80.5 kB diego
npm/[email protected] None 0 59 kB addaleax
npm/[email protected] None 0 90.6 kB ljharb
npm/[email protected] None 0 23.3 kB ljharb
npm/[email protected] None 0 26.5 kB ljharb
npm/[email protected] None 0 62.4 kB ljharb
npm/[email protected] None 0 29.5 kB ljharb
npm/[email protected] None 0 13.2 kB ljharb
npm/[email protected] None 0 19.4 kB ljharb
npm/[email protected] None 0 13.6 kB ljharb
npm/[email protected] None 0 29 kB ljharb
npm/[email protected] None 0 19.1 kB indutny
npm/[email protected] None 0 7.54 kB dougwilson
npm/[email protected] None 0 6.17 kB sindresorhus
npm/[email protected] environment, filesystem, shell 0 46.4 kB sindresorhus
npm/[email protected] None 0 50.2 kB gkz
npm/[email protected] None 0 7.75 kB sindresorhus
npm/[email protected] None 0 7.24 kB sindresorhus
npm/[email protected] None 0 8.69 kB sindresorhus
npm/[email protected] None 0 11 kB sindresorhus
npm/[email protected] None 0 4.37 kB sindresorhus
npm/[email protected] None 0 10.2 kB blakeembrey
npm/[email protected] None 0 3.92 kB sindresorhus
npm/[email protected] None 0 5.41 kB sindresorhus
npm/[email protected] None 0 331 kB inikulin
npm/[email protected] None 0 14.8 kB blakeembrey
npm/[email protected] filesystem 0 3.92 kB sindresorhus
npm/[email protected] None 0 3.62 kB sindresorhus
npm/[email protected] None 0 4.55 kB sindresorhus
npm/[email protected] None 0 4.51 kB jbgutierrez
npm/[email protected] filesystem 0 5.41 kB sindresorhus
npm/[email protected] None 0 11.3 kB meryn
npm/[email protected] environment 0 5.66 kB alexeyraspopov
npm/[email protected] None 0 89 kB jonschlinkert
npm/[email protected] unsafe 0 13.4 kB danez
npm/[email protected] None 0 4.75 kB sindresorhus
npm/[email protected] None 0 4.25 kB sindresorhus
npm/[email protected] filesystem, network 0 19.4 kB eriktrom
npm/[email protected] None 0 5.97 kB semigradsky
npm/[email protected] None 0 37.3 kB jonathantneal
npm/[email protected] None 0 188 kB ludovicofischer
npm/[email protected] None 0 23 kB alaguna
npm/[email protected] None 0 9.54 kB alaguna
npm/[email protected] None 0 14.2 kB alaguna
npm/[email protected] None 0 9.27 kB ludovicofischer
npm/[email protected] None 0 13.1 kB ludovicofischer
npm/[email protected] filesystem 0 43.3 kB semigradsky
npm/[email protected] filesystem 0 34.6 kB alaguna
npm/[email protected] filesystem 0 95.6 kB semigradsky
npm/[email protected] None 0 18.5 kB alaguna
npm/[email protected] environment, filesystem 0 186 kB ai

🚮 Removed packages: npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@jest/[email protected], npm/@testing-library/[email protected], npm/@testing-library/[email protected], npm/@testing-library/[email protected], npm/@testing-library/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

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 NoteSourceCI
Critical CVE npm/[email protected] ⚠︎

View full report↗︎

Next steps

What is a critical CVE?

Contains a Critical Common Vulnerability and Exposure (CVE).

Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

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/[email protected] or ignore all packages with @SocketSecurity ignore-all

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