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 from 5.0.0 to 5.0.1 #88

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 react-scripts from 5.0.0 to 5.0.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 1 version ahead of your current version.

  • The recommended version was released on 2 years ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
critical severity Incomplete List of Disallowed Inputs
SNYK-JS-BABELTRAVERSE-5962462
572 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-MINIMATCH-3050818
572 No Known Exploit
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 react-scripts@5.0.1
    

    or

    yarn add --exact react-scripts@5.0.1
    

    🐛 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 react-scripts@5.0.0

    or

    yarn add --exact react-scripts@5.0.0
    

    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, react-scripts@5.0.0 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 react-scripts from 5.0.0 to 5.0.1.

See this package in npm:
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/code-frame@7.16.0 None 0 6.96 kB nicolo-ribaudo
npm/@babel/helper-validator-identifier@7.15.7 None 0 19 kB nicolo-ribaudo
npm/@babel/highlight@7.16.0 None 0 4.87 kB nicolo-ribaudo
npm/@babel/runtime-corejs3@7.16.3 None 0 213 kB nicolo-ribaudo
npm/@babel/runtime@7.16.3 None 0 149 kB nicolo-ribaudo
npm/@jest/types@27.2.5 None 0 27.4 kB simenb
npm/@testing-library/dom@8.11.1 environment 0 2.39 MB testing-library-bot
npm/@testing-library/jest-dom@5.15.0 None 0 123 kB testing-library-bot
npm/@testing-library/react@12.1.2 environment 0 5.48 MB testing-library-bot
npm/@testing-library/user-event@13.5.0 None 0 165 kB testing-library-bot
npm/@types/aria-query@4.2.2 None 0 12 kB types
npm/@types/http-proxy@1.17.7 None 0 12.8 kB types
npm/@types/istanbul-reports@3.0.1 None 0 7.42 kB types
npm/@types/jest@27.0.3 None 0 71.3 kB types
npm/@types/node@16.11.9 None 0 1.65 MB types
npm/@types/prop-types@15.7.4 None 0 6.55 kB types
npm/@types/react-dom@17.0.11 None 0 25.8 kB types
npm/@types/react@17.0.35 None 0 178 kB types
npm/@types/scheduler@0.16.2 None 0 8.34 kB types
npm/@types/testing-library__jest-dom@5.14.1 None 0 32.6 kB types
npm/@types/yargs-parser@20.2.1 None 0 8.66 kB types
npm/core-js-pure@3.19.1 environment, eval, filesystem 0 706 kB zloirock
npm/csstype@3.0.10 None 0 1.19 MB faddee
npm/diff-sequences@27.0.6 None 0 52.8 kB simenb
npm/dom-accessibility-api@0.5.10 None 0 262 kB eps1lon
npm/http-proxy-middleware@2.0.1 network 0 63.6 kB chimurai
npm/jest-changed-files@27.5.1 environment 0 15.1 kB simenb
npm/jest-circus@27.5.1 eval 0 78.1 kB simenb
npm/jest-config@27.5.1 None 0 112 kB simenb
npm/jest-diff@27.3.1 eval 0 85.7 kB simenb
npm/jest-docblock@27.5.1 None 0 9.08 kB simenb
npm/jest-each@27.5.1 None 0 39.9 kB simenb
npm/jest-environment-jsdom@27.5.1 None 0 8.1 kB simenb
npm/jest-environment-node@27.5.1 unsafe 0 7.32 kB simenb
npm/jest-get-type@27.3.1 None 0 3.75 kB simenb
npm/jest-haste-map@27.5.1 environment, filesystem, shell 0 135 kB simenb
npm/jest-jasmine2@27.5.1 eval 0 137 kB simenb
npm/jest-leak-detector@27.5.1 unsafe 0 5.75 kB simenb
npm/jest-matcher-utils@27.5.1 None 0 28.6 kB simenb
npm/jest-message-util@27.5.1 eval 0 18.1 kB simenb
npm/jest-mock@27.5.1 None 0 39.1 kB simenb
npm/jest-pnp-resolver@1.2.2 None 0 5.71 kB arcanis
npm/jest-regex-util@27.5.1 None 0 3.37 kB simenb
npm/jest-resolve-dependencies@27.5.1 None 0 9.11 kB simenb
npm/jest-resolve@27.5.1 environment, unsafe 0 52.9 kB simenb
npm/jest-runner@27.5.1 environment 0 30.8 kB simenb
npm/jest-runtime@27.5.1 unsafe 0 82 kB simenb
npm/jest-serializer@27.5.1 unsafe 0 7.12 kB simenb
npm/jest-snapshot@27.5.1 eval 0 93.2 kB simenb
npm/jest-util@27.5.1 environment 0 41.9 kB simenb
npm/jest-validate@27.5.1 None 0 32 kB simenb
npm/jest-watch-typeahead@1.0.0 None 0 19.2 kB simenb
npm/jest-watcher@27.5.1 None 0 26.7 kB simenb
npm/jest-worker@27.5.1 environment, shell 0 81.9 kB simenb
npm/jest@27.5.1 None 0 4.74 kB simenb
npm/js-tokens@4.0.0 None 0 15.1 kB lydell
npm/js-yaml@3.14.1 eval 0 291 kB vitaly
npm/jsdom@16.7.0 eval, filesystem, network, shell, unsafe 0 2.77 MB domenic
npm/jsesc@2.5.2 None 0 32 kB mathias
npm/json-parse-better-errors@1.0.2 None 0 6.7 kB zkat
npm/json-parse-even-better-errors@2.3.1 None 0 10.4 kB isaacs
npm/json-schema-traverse@0.4.1 None 0 19.6 kB esp
npm/json-schema@0.4.0 None 0 26.1 kB kriszyp
npm/json-stable-stringify-without-jsonify@1.0.1 None 0 14.2 kB samn
npm/json5@2.2.0 None 0 242 kB jordanbtucker
npm/jsonfile@6.1.0 filesystem 0 19.8 kB ryanzim
npm/jsonpointer@5.0.0 None 0 6.77 kB jan
npm/jsx-ast-utils@3.2.1 None 0 225 kB ljharb
npm/kind-of@6.0.3 None 0 22.8 kB doowb
npm/kleur@3.0.3 None 0 9.89 kB lukeed
npm/klona@2.0.5 None 0 23 kB lukeed
npm/language-subtag-registry@0.3.21 None 0 1.54 MB mcg
npm/language-tags@1.0.5 None 0 48.8 kB mcg
npm/leven@3.1.0 None 0 5.34 kB sindresorhus
npm/levn@0.4.1 None 0 24.9 kB gkz
npm/lilconfig@2.0.4 filesystem 0 14.8 kB antonk52
npm/lines-and-columns@1.2.4 None 0 5.39 kB eventualbuddha
npm/loader-runner@4.2.0 eval, filesystem 0 18.3 kB sokra
npm/loader-utils@2.0.2 None 0 36.3 kB evilebottnawi
npm/locate-path@6.0.0 filesystem 0 7.02 kB sindresorhus
npm/lodash.debounce@4.0.8 None 0 14 kB jdalton
npm/lodash.memoize@4.1.2 None 0 20.1 kB jdalton
npm/lodash.merge@4.6.2 None 0 54.1 kB jdalton
npm/lodash.sortby@4.7.0 None 0 75.8 kB jdalton
npm/lodash.uniq@4.5.0 None 0 25 kB jdalton
npm/loose-envify@1.4.0 environment 0 5.81 kB zertosh
npm/lower-case@2.0.2 None 0 17.7 kB blakeembrey
npm/lru-cache@6.0.0 None 0 15.6 kB isaacs
npm/lz-string@1.4.4 None 0 173 kB pieroxy
npm/magic-string@0.25.9 None 0 373 kB antfu
npm/makeerror@1.0.12 None 0 6.07 kB daaku
npm/mdn-data@2.0.4 None 0 548 kB mdn
npm/memfs@3.4.1 filesystem 0 196 kB streamich
npm/merge-stream@2.0.0 None 0 4.31 kB stevemao
npm/merge2@1.4.1 None 0 8.9 kB zensh
npm/micromatch@4.0.4 None 0 61.5 kB danez
npm/mime-db@1.51.0 None 0 204 kB dougwilson
npm/mime-types@2.1.34 None 0 18 kB dougwilson
npm/mimic-fn@2.1.0 None 0 4.46 kB sindresorhus
npm/min-indent@1.0.1 None 0 2.97 kB thejameskyle
npm/mini-css-extract-plugin@2.6.0 unsafe 0 112 kB evilebottnawi
npm/minimalistic-assert@1.0.1 None 0 1.55 kB cwmma
npm/minimatch@3.1.2 None 0 34.9 kB isaacs
npm/mkdirp@0.5.5 filesystem 0 7.53 kB isaacs
npm/multicast-dns-service-types@1.1.0 None 0 4.69 kB mafintosh
npm/multicast-dns@6.2.3 network 0 20.1 kB mafintosh
npm/nanoid@3.3.1 None 0 21.7 kB ai
npm/natural-compare@1.4.0 None 0 5.65 kB megawac
npm/negotiator@0.6.3 None 0 27.4 kB dougwilson
npm/neo-async@2.6.2 None 0 298 kB suguru03
npm/no-case@3.0.4 None 0 25.1 kB blakeembrey
npm/node-forge@1.3.1 None 0 1.66 MB davidlehn
npm/node-int64@0.4.0 None 0 16.3 kB broofa
npm/node-releases@2.0.2 None 0 23.7 kB ai
npm/normalize-range@0.1.2 None 0 7.77 kB james.talmage
npm/normalize-url@6.1.0 None 0 21.2 kB sindresorhus
npm/npm-run-path@4.0.1 environment 0 8.13 kB sindresorhus
npm/nth-check@1.0.2 None 0 5.54 kB feedic
npm/nwsapi@2.2.0 None 0 80.5 kB diego
npm/object-hash@2.2.0 None 0 59 kB addaleax
npm/object-inspect@1.12.0 None 0 90.6 kB ljharb
npm/object-is@1.1.5 None 0 23.3 kB ljharb
npm/object-keys@1.1.1 None 0 26.5 kB ljharb
npm/object.assign@4.1.2 None 0 62.4 kB ljharb
npm/object.entries@1.1.5 None 0 29.5 kB ljharb
npm/object.fromentries@2.0.5 None 0 13.2 kB ljharb
npm/object.getownpropertydescriptors@2.1.3 None 0 19.4 kB ljharb
npm/object.hasown@1.1.0 None 0 13.6 kB ljharb
npm/object.values@1.1.5 None 0 29 kB ljharb
npm/obuf@1.1.2 None 0 19.1 kB indutny
npm/on-headers@1.0.2 None 0 7.54 kB dougwilson
npm/onetime@5.1.2 None 0 6.17 kB sindresorhus
npm/open@8.4.0 environment, filesystem, shell 0 46.4 kB sindresorhus
npm/optionator@0.9.1 None 0 50.2 kB gkz
npm/p-limit@3.1.0 None 0 7.75 kB sindresorhus
npm/p-locate@5.0.0 None 0 7.24 kB sindresorhus
npm/p-map@4.0.0 None 0 8.69 kB sindresorhus
npm/p-retry@4.6.1 None 0 11 kB sindresorhus
npm/p-try@2.2.0 None 0 4.37 kB sindresorhus
npm/param-case@3.0.4 None 0 10.2 kB blakeembrey
npm/parent-module@1.0.1 None 0 3.92 kB sindresorhus
npm/parse-json@5.2.0 None 0 5.41 kB sindresorhus
npm/parse5@6.0.1 None 0 331 kB inikulin
npm/pascal-case@3.1.2 None 0 14.8 kB blakeembrey
npm/path-exists@4.0.0 filesystem 0 3.92 kB sindresorhus
npm/path-is-absolute@1.0.1 None 0 3.62 kB sindresorhus
npm/path-key@3.1.1 None 0 4.55 kB sindresorhus
npm/path-parse@1.0.7 None 0 4.51 kB jbgutierrez
npm/path-type@4.0.0 filesystem 0 5.41 kB sindresorhus
npm/performance-now@2.1.0 None 0 11.3 kB meryn
npm/picocolors@1.0.0 environment 0 5.66 kB alexeyraspopov
npm/picomatch@2.3.0 None 0 89 kB jonschlinkert
npm/pirates@4.0.5 unsafe 0 13.4 kB danez
npm/pkg-dir@4.2.0 None 0 4.75 kB sindresorhus
npm/pkg-up@3.1.0 None 0 4.25 kB sindresorhus
npm/portfinder@1.0.28 filesystem, network 0 19.4 kB eriktrom
npm/postcss-attribute-case-insensitive@5.0.0 None 0 5.97 kB semigradsky
npm/postcss-browser-comments@4.0.0 None 0 37.3 kB jonathantneal
npm/postcss-calc@8.2.4 None 0 188 kB ludovicofischer
npm/postcss-color-functional-notation@4.2.2 None 0 23 kB alaguna
npm/postcss-color-hex-alpha@8.0.3 None 0 9.54 kB alaguna
npm/postcss-color-rebeccapurple@7.0.2 None 0 14.2 kB alaguna
npm/postcss-colormin@5.3.0 None 0 9.27 kB ludovicofischer
npm/postcss-convert-values@5.1.0 None 0 13.1 kB ludovicofischer
npm/postcss-custom-media@8.0.0 filesystem 0 43.3 kB semigradsky
npm/postcss-custom-properties@12.1.4 filesystem 0 34.6 kB alaguna
npm/postcss-custom-selectors@6.0.0 filesystem 0 95.6 kB semigradsky
npm/postcss-dir-pseudo-class@6.0.4 None 0 18.5 kB alaguna
npm/postcss@8.4.8 environment, filesystem 0 186 kB ai

🚮 Removed packages: npm/@babel/code-frame@7.12.13), npm/@babel/helper-validator-identifier@7.14.0), npm/@babel/highlight@7.14.0), npm/@babel/runtime-corejs3@7.14.0), npm/@babel/runtime@7.14.0), npm/@jest/types@26.6.2), npm/@testing-library/dom@7.31.0), npm/@testing-library/jest-dom@5.12.0), npm/@testing-library/react@11.2.7), npm/@testing-library/user-event@12.8.3), npm/@types/aria-query@4.2.1), npm/@types/http-proxy@1.17.8), npm/@types/istanbul-reports@3.0.0), npm/@types/jest@26.0.23), npm/@types/node@15.6.0), npm/@types/testing-library__jest-dom@5.9.5), npm/@types/yargs-parser@20.2.0), npm/@types/yargs@15.0.13), npm/chalk@4.1.1), npm/core-js-pure@3.12.1), npm/diff-sequences@26.6.2), npm/dom-accessibility-api@0.5.4), npm/http-proxy-middleware@2.0.3)

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/loader-utils@2.0.2 ⚠︎

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/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/loader-utils@2.0.2

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