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 #81

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.24.7 environment 0 24.1 kB nicolo-ribaudo
npm/@babel/compat-data@7.25.4 None 0 101 kB existentialism, hzoo, jlhwung, ...1 more
npm/@babel/eslint-parser@7.25.1 unsafe +2 308 kB nicolo-ribaudo
npm/@babel/generator@7.25.5 None 0 489 kB nicolo-ribaudo
npm/@babel/helper-annotate-as-pure@7.24.7 None 0 52.4 kB nicolo-ribaudo
npm/@babel/helper-compilation-targets@7.25.2 None 0 52.3 kB nicolo-ribaudo
npm/@babel/helper-create-class-features-plugin@7.25.4 None 0 506 kB nicolo-ribaudo
npm/@babel/helper-member-expression-to-functions@7.24.8 None 0 105 kB nicolo-ribaudo
npm/@babel/helper-module-imports@7.24.7 None 0 63.7 kB nicolo-ribaudo
npm/@babel/helper-module-transforms@7.25.2 None 0 160 kB nicolo-ribaudo
npm/@babel/helper-optimise-call-expression@7.24.7 None 0 55 kB nicolo-ribaudo
npm/@babel/helper-plugin-utils@7.24.8 None 0 114 kB nicolo-ribaudo
npm/@babel/helper-replace-supers@7.25.0 None 0 106 kB nicolo-ribaudo
npm/@babel/helper-simple-access@7.24.7 None 0 14.1 kB nicolo-ribaudo
npm/@babel/helper-skip-transparent-expression-wrappers@7.24.7 None 0 58.5 kB nicolo-ribaudo
npm/@babel/helper-string-parser@7.24.8 None 0 31.8 kB nicolo-ribaudo
npm/@babel/helper-validator-identifier@7.24.7 None 0 49.3 kB nicolo-ribaudo
npm/@babel/helper-validator-option@7.24.8 None 0 11.8 kB nicolo-ribaudo
npm/@babel/highlight@7.24.7 environment +4 92.9 kB nicolo-ribaudo
npm/@babel/parser@7.25.4 None 0 1.89 MB nicolo-ribaudo
npm/@babel/plugin-proposal-decorators@7.24.7 None 0 107 kB nicolo-ribaudo
npm/@babel/plugin-syntax-decorators@7.24.7 None 0 78.5 kB nicolo-ribaudo
npm/@babel/plugin-syntax-flow@7.24.7 None 0 71.3 kB nicolo-ribaudo
npm/@babel/plugin-syntax-jsx@7.24.7 None 0 70 kB nicolo-ribaudo
npm/@babel/plugin-syntax-typescript@7.25.4 None 0 69.7 kB existentialism, hzoo, jlhwung, ...1 more
npm/@babel/plugin-transform-flow-strip-types@7.25.2 None 0 80.5 kB nicolo-ribaudo
npm/@babel/plugin-transform-modules-commonjs@7.24.8 None 0 107 kB nicolo-ribaudo
npm/@babel/plugin-transform-runtime@7.25.4 Transitive: unsafe +4 621 kB existentialism, hzoo, jlhwung, ...1 more
npm/@babel/plugin-transform-typescript@7.25.2 None 0 200 kB nicolo-ribaudo
npm/@babel/preset-typescript@7.24.7 None 0 90.8 kB nicolo-ribaudo
npm/@babel/runtime@7.25.4 None +1 276 kB nicolo-ribaudo
npm/@babel/template@7.25.0 None 0 70.4 kB nicolo-ribaudo
npm/@babel/traverse@7.25.4 None 0 728 kB nicolo-ribaudo
npm/@babel/types@7.25.4 environment 0 2.48 MB nicolo-ribaudo
npm/@eslint-community/eslint-utils@4.4.0 None 0 379 kB eslint-community-bot
npm/@eslint-community/regexpp@4.11.0 None 0 446 kB eslint-community-bot
npm/@jridgewell/gen-mapping@0.3.5 None 0 81.6 kB jridgewell
npm/@jridgewell/resolve-uri@3.1.2 None 0 53.2 kB jridgewell
npm/@jridgewell/set-array@1.2.1 None 0 17.9 kB jridgewell
npm/@jridgewell/sourcemap-codec@1.5.0 None 0 113 kB jridgewell
npm/@jridgewell/trace-mapping@0.3.25 None 0 169 kB jridgewell
npm/@nicolo-ribaudo/eslint-scope-5-internals@5.1.1-v1 None +2 116 kB nicolo-ribaudo
npm/@rushstack/eslint-patch@1.10.4 None 0 255 kB odspnpm
npm/@types/semver@7.5.8 None 0 23.3 kB types
npm/@typescript-eslint/eslint-plugin@5.62.0 Transitive: environment +2 2.57 MB jameshenry
npm/@typescript-eslint/experimental-utils@5.62.0 None 0 4.9 kB jameshenry
npm/@typescript-eslint/parser@5.62.0 None 0 18.6 kB jameshenry
npm/@typescript-eslint/scope-manager@5.62.0 None 0 592 kB jameshenry
npm/@typescript-eslint/type-utils@5.62.0 None 0 88 kB jameshenry
npm/@typescript-eslint/types@5.62.0 None 0 223 kB jameshenry
npm/@typescript-eslint/typescript-estree@5.62.0 environment, filesystem 0 553 kB jameshenry
npm/@typescript-eslint/utils@5.62.0 None 0 501 kB jameshenry
npm/@typescript-eslint/visitor-keys@5.62.0 None 0 18.4 kB jameshenry
npm/address@1.2.2 environment, filesystem, shell 0 13 kB fengmk2
npm/array-buffer-byte-length@1.0.1 None 0 13.5 kB ljharb
npm/array-includes@3.1.8 None 0 26.3 kB ljharb
npm/array.prototype.findlast@1.2.5 None 0 29.1 kB ljharb
npm/array.prototype.findlastindex@1.2.5 None 0 29.4 kB ljharb
npm/array.prototype.flat@1.3.2 None 0 18.7 kB ljharb
npm/array.prototype.flatmap@1.3.2 None 0 19.1 kB ljharb
npm/array.prototype.tosorted@1.1.4 None 0 20.9 kB ljharb
npm/arraybuffer.prototype.slice@1.0.3 None 0 20.2 kB ljharb
npm/ast-types-flow@0.0.8 None 0 126 kB kyldvs
npm/available-typed-arrays@1.0.7 None 0 20.4 kB ljharb
npm/axe-core@4.10.0 None 0 2.79 MB npmdeque
npm/axobject-query@3.1.1 None +2 205 kB jessebeach
npm/browserslist@4.23.3 environment, filesystem 0 63 kB ai
npm/call-bind@1.0.7 None 0 22.1 kB ljharb
npm/caniuse-lite@1.0.30001653 None 0 2.1 MB ai, beneb, caniuse-lite
npm/chalk@4.1.2 None +2 46.5 kB sindresorhus
npm/core-js-compat@3.38.1 None 0 739 kB zloirock
npm/data-view-buffer@1.0.1 None 0 12.3 kB ljharb
npm/data-view-byte-length@1.0.1 None 0 9.99 kB ljharb
npm/data-view-byte-offset@1.0.0 None 0 12.2 kB ljharb
npm/define-data-property@1.1.4 None 0 30.9 kB ljharb
npm/define-properties@1.2.1 None 0 12.9 kB ljharb
npm/electron-to-chromium@1.5.13 None 0 146 kB kilianvalkhof
npm/es-abstract@1.23.3 None 0 2.38 MB ljharb
npm/es-define-property@1.0.0 None 0 11.8 kB ljharb
npm/es-errors@1.3.0 None 0 12.3 kB ljharb
npm/es-get-iterator@1.1.3 None 0 31.6 kB ljharb
npm/es-iterator-helpers@1.0.19 None 0 156 kB ljharb
npm/es-object-atoms@1.0.0 None 0 9.17 kB ljharb
npm/es-set-tostringtag@2.0.3 None 0 13.9 kB ljharb
npm/es-shim-unscopables@1.0.2 None 0 11 kB ljharb
npm/escalade@3.1.2 filesystem 0 11.6 kB lukeed
npm/eslint-config-react-app@7.0.1 None 0 19.7 kB iansu
npm/eslint-import-resolver-node@0.3.9 Transitive: environment, filesystem +2 204 kB ljharb
npm/eslint-module-utils@2.8.2 None 0 49.3 kB ljharb
npm/eslint-plugin-import@2.29.1 filesystem, unsafe +1 1.32 MB ljharb
npm/eslint-plugin-jsx-a11y@6.9.0 None +1 932 kB ljharb
npm/eslint-plugin-react-hooks@4.6.2 environment 0 118 kB react-bot
npm/eslint-plugin-react@7.35.0 filesystem Transitive: environment +1 968 kB ljharb
npm/eslint-plugin-testing-library@5.11.1 filesystem 0 251 kB testing-library-bot
npm/for-each@0.3.3 None 0 13 kB ljharb
npm/fork-ts-checker-webpack-plugin@6.5.3 filesystem, shell +4 624 kB piotr-oles
npm/function-bind@1.1.2 None 0 31.4 kB ljharb
npm/function.prototype.name@1.1.6 None 0 25.5 kB ljharb
npm/functions-have-names@1.2.3 None 0 16.7 kB ljharb
npm/get-intrinsic@1.2.4 eval 0 41.6 kB ljharb
npm/get-symbol-description@1.0.2 None 0 14.3 kB ljharb
npm/globalthis@1.0.4 None 0 23.7 kB ljharb
npm/gopd@1.0.1 None 0 7.7 kB ljharb
npm/graphemer@1.4.0 None 0 812 kB mattpauldavies
npm/has-bigints@1.0.2 None 0 12.8 kB ljharb
npm/has-property-descriptors@1.0.2 None 0 10.9 kB ljharb
npm/has-proto@1.0.3 None 0 12 kB ljharb
npm/has-tostringtag@1.0.2 None 0 17.6 kB ljharb
npm/hasown@2.0.2 None 0 8.77 kB ljharb
npm/immer@9.0.21 environment 0 872 kB mweststrate
npm/internal-slot@1.0.7 None 0 20.5 kB ljharb
npm/is-array-buffer@3.0.4 None 0 17.6 kB ljharb
npm/is-async-function@2.0.0 eval 0 19.5 kB ljharb
npm/is-callable@1.2.7 None 0 28.9 kB ljharb
npm/is-core-module@2.15.1 None 0 32.7 kB ljharb
npm/is-data-view@1.0.1 None 0 15.6 kB ljharb
npm/is-finalizationregistry@1.0.2 None 0 12.7 kB ljharb
npm/is-generator-function@1.0.10 eval 0 31.9 kB ljharb
npm/is-map@2.0.3 None 0 20.4 kB ljharb
npm/is-negative-zero@2.0.3 None 0 27.1 kB ljharb
npm/is-number-object@1.0.7 None 0 22.2 kB ljharb

🚮 Removed packages: npm/@babel/code-frame@7.12.13), npm/@babel/compat-data@7.17.0), npm/@babel/eslint-parser@7.17.0), npm/@babel/generator@7.17.3), npm/@babel/helper-annotate-as-pure@7.16.7), npm/@babel/helper-compilation-targets@7.16.7), npm/@babel/helper-create-class-features-plugin@7.17.6), npm/@babel/helper-member-expression-to-functions@7.16.7), npm/@babel/helper-module-imports@7.16.7), npm/@babel/helper-module-transforms@7.17.6), npm/@babel/helper-optimise-call-expression@7.16.7), npm/@babel/helper-plugin-utils@7.16.7), npm/@babel/helper-replace-supers@7.16.7), npm/@babel/helper-simple-access@7.16.7), npm/@babel/helper-skip-transparent-expression-wrappers@7.16.0), npm/@babel/helper-validator-identifier@7.14.0), npm/@babel/helper-validator-option@7.16.7), npm/@babel/highlight@7.14.0), npm/@babel/parser@7.17.3), npm/@babel/plugin-proposal-decorators@7.17.2), npm/@babel/plugin-syntax-decorators@7.17.0), npm/@babel/plugin-syntax-flow@7.16.7), npm/@babel/plugin-syntax-jsx@7.16.7), npm/@babel/plugin-syntax-typescript@7.16.7), npm/@babel/plugin-transform-flow-strip-types@7.16.7), npm/@babel/plugin-transform-modules-commonjs@7.16.8), npm/@babel/plugin-transform-runtime@7.17.0), npm/@babel/plugin-transform-typescript@7.16.8), npm/@babel/preset-typescript@7.16.7), npm/@babel/runtime@7.14.0), npm/@babel/template@7.16.7), npm/@babel/traverse@7.17.3), npm/@babel/types@7.17.0), npm/@jridgewell/resolve-uri@3.0.5), npm/@jridgewell/sourcemap-codec@1.4.11), npm/@jridgewell/trace-mapping@0.3.4), npm/@rushstack/eslint-patch@1.1.0), npm/@typescript-eslint/eslint-plugin@5.14.0), npm/@typescript-eslint/experimental-utils@5.14.0), npm/@typescript-eslint/parser@5.14.0), npm/@typescript-eslint/scope-manager@5.14.0), npm/@typescript-eslint/type-utils@5.14.0), npm/@typescript-eslint/types@5.14.0), npm/@typescript-eslint/typescript-estree@5.14.0), npm/@typescript-eslint/utils@5.14.0), npm/@typescript-eslint/visitor-keys@5.14.0), npm/address@1.1.2), npm/array-includes@3.1.4), npm/array.prototype.flat@1.2.5), npm/array.prototype.flatmap@1.2.5), npm/ast-types-flow@0.0.7), npm/axe-core@4.4.1), npm/axobject-query@2.2.0), npm/browserslist@4.20.0), npm/call-bind@1.0.2), npm/caniuse-lite@1.0.30001314), npm/chalk@4.1.1), npm/charcodes@0.2.0), npm/core-js-compat@3.21.1), npm/define-properties@1.1.3), npm/electron-to-chromium@1.4.82), npm/es-abstract@1.19.1), npm/escalade@3.1.1), npm/eslint-config-react-app@7.0.0), npm/eslint-import-resolver-node@0.3.6), npm/eslint-module-utils@2.7.3), npm/eslint-plugin-import@2.25.4), npm/eslint-plugin-jsx-a11y@6.5.1), npm/eslint-plugin-react-hooks@4.3.0), npm/eslint-plugin-react@7.29.3), npm/eslint-plugin-testing-library@5.0.6), npm/fork-ts-checker-webpack-plugin@6.5.0), npm/function-bind@1.1.1), npm/get-intrinsic@1.1.1), npm/get-symbol-description@1.0.0), npm/has-bigints@1.0.1), npm/has-tostringtag@1.0.0), npm/has@1.0.3), npm/immer@9.0.12), npm/internal-slot@1.0.3), npm/is-callable@1.2.4), npm/is-core-module@2.8.1), npm/is-negative-zero@2.0.2), npm/is-number-object@1.0.6), npm/is-regex@1.1.4), npm/is-regexp@1.0.0), npm/is-root@2.1.0), npm/is-shared-array-buffer@1.0.1), npm/is-stream@2.0.1), npm/is-string@1.0.7), npm/is-symbol@1.0.4), npm/is-weakref@1.0.2), npm/is-wsl@2.2.0), npm/isexe@2.0.0), npm/istanbul-lib-coverage@3.2.0), npm/istanbul-lib-instrument@5.1.0), npm/istanbul-lib-report@3.0.0), npm/istanbul-lib-source-maps@4.0.1), npm/istanbul-reports@3.1.4), npm/jake@10.8.5)

View full report↗︎

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