Packages

create-react-app

5.1.0 · 15 Feb 2025MIT34.4k / weekRepositoryHomepagenpmAtom feed

Your version

4.0.1

23 Nov 2020Where it was published

4.0.3 is the newest release of 4.x.

In short

1 new5 fixed2 changed2 internal

Release note

v4.0.1 is a maintenance release that includes minor bug fixes and documentation updates.

:bug: Bug Fix

  • react-scripts: Fix noFallthroughCasesInSwitch/jsx object is not extensible (@ryota-murakami)

  • react-scripts: Fix react-jsx error (@benneq)

  • react-scripts: fix: React is not defined compilation error after ejected (@n3tr)

  • react-scripts: fix: slow recompile time (@FezVrasta)

  • react-dev-utils: fix: page doesn't get refreshed when FAST_REFRESH=false (@n3tr)

:nail_care: Enhancement

  • react-scripts: Increase Workbox's maximumFileSizeToCacheInBytes (@jeffposnick)

:house: Internal

  • create-react-app, react-dev-utils, react-scripts: replace inquirer with prompts (@EvanBacon)

  • cra-template-typescript, cra-template, react-scripts: [ImgBot] Optimize images (@MichaelDeBoey)

  • Other

Migrating from 4.0.0 to 4.0.1

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

npm install --save --save-exact react-scripts@4.0.1

or

yarn add --exact react-scripts@4.0.1

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.