Skip to content

Commit 109f05d

Browse files
blackarcticryota-murakamiKonstantinSimeonoviansusho-t
authored
Align with react-scripts 4.0.3 (#17)
* Fix noFallthroughCasesInSwitch/jsx object is not extensible (facebook#9921) Co-authored-by: Konstantin Simeonov <[email protected]> * Add logo license to README * Remove trailing space in reportWebVitals.ts (facebook#10040) * docs: add React Testing Library as a library requiring jsdom (facebook#10052) Co-authored-by: Ian Schmitz <[email protected]> * Increase Workbox's maximumFileSizeToCacheInBytes (facebook#10048) * Create FUNDING.yml * replace inquirer with prompts (facebook#10083) - remove `react-dev-utils/inquirer` public import * Prepare 4.0.1 release * Prepare 4.0.1 release * Publish - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] * chore: bump web-vital dependency version (facebook#10143) * chore: bump typescript version (facebook#10141) Co-authored-by: Ian Schmitz <[email protected]> * Add TypeScript 4.x as peerDependency to react-scripts(facebook#9964) * remove chalk from formatWebpackMessages (facebook#10198) * Upgrade @svgr/webpack to fix build error (facebook#10213) Co-authored-by: Ian Schmitz <[email protected]> * Improve vendor chunk names in development (facebook#9569) * Update postcss packages (facebook#10003) Co-authored-by: Ian Schmitz <[email protected]> * Recovered some integration tests (facebook#10091) * Upgrade sass-loader (facebook#9988) * Move ESLint cache file into node_modules (facebook#9977) Co-authored-by: Ian Schmitz <[email protected]> * Revert "Update postcss packages" (facebook#10216) This reverts commit 580ed5d. * Remove references to Node 8 (facebook#10214) * fix(react-scripts): add missing peer dependency react and update react-refresh-webpack-plugin (facebook#9872) * Update using-the-public-folder.md (facebook#10314) Some library --> Some libraries * docs: add missing override options for Jest config (facebook#9473) * Fix CI tests (facebook#10217) * appTsConfig immutability handling by immer (facebook#10027) Co-authored-by: mad-jose <[email protected]> * Add support for new BUILD_PATH advanced configuration variable (facebook#8986) * Add opt-out for eslint-webpack-plugin (facebook#10170) * Prepare 4.0.2 release * Publish - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] * tests: update test case to match the description (facebook#10384) * Bump webpack-dev-server 3.11.0 -> 3.11.1 (facebook#10312) Resolves facebook#10084 security vulnerability in websocket-driver library version 0.5.6, imported transitively by sockjs * Upgrade eslint-webpack-plugin to fix opt-out flag (facebook#10590) * update immer to 8.0.1 to address vulnerability (facebook#10412) Resolves facebook#10411 Bumps immer version to 8.0.1 to address the prototype pollution vulnerability with the current 7.0.9 version. * Prepare 4.0.3 release * Update CHANGELOG * Publish - [email protected] - [email protected] - [email protected] Co-authored-by: Ryota Murakami <[email protected]> Co-authored-by: Konstantin Simeonov <[email protected]> Co-authored-by: Ian Sutherland <[email protected]> Co-authored-by: sho90 <[email protected]> Co-authored-by: Anyul Rivas <[email protected]> Co-authored-by: Ian Schmitz <[email protected]> Co-authored-by: Jeffrey Posnick <[email protected]> Co-authored-by: Evan Bacon <[email protected]> Co-authored-by: Sahil Purav <[email protected]> Co-authored-by: Hakjoon Sim <[email protected]> Co-authored-by: Chris Shepherd <[email protected]> Co-authored-by: Jason Williams <[email protected]> Co-authored-by: Jabran Rafique⚡️ <[email protected]> Co-authored-by: John Ruble <[email protected]> Co-authored-by: Morten N.O. Nørgaard Henriksen <[email protected]> Co-authored-by: Sergey Makarov <[email protected]> Co-authored-by: EhsanKhaki <[email protected]> Co-authored-by: Kristoffer K <[email protected]> Co-authored-by: Aviv Hadar <[email protected]> Co-authored-by: Tobias Büschel <[email protected]> Co-authored-by: mad-jose <[email protected]> Co-authored-by: mad-jose <[email protected]> Co-authored-by: Andrew Hyndman <[email protected]> Co-authored-by: Brody McKee <[email protected]> Co-authored-by: James George <[email protected]> Co-authored-by: Dion Woolley <[email protected]> Co-authored-by: Walker Clem <[email protected]>
1 parent cf830e6 commit 109f05d

File tree

7 files changed

+392
-351
lines changed

7 files changed

+392
-351
lines changed

CHANGELOG.md

+37
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,40 @@
1+
## 4.0.3 (2021-02-22)
2+
3+
v4.0.3 is a maintenance release that includes minor bug fixes and dependency updates.
4+
5+
#### :bug: Bug Fix
6+
7+
- `react-scripts`
8+
- [#10590](https://github.com/facebook/create-react-app/pull/10590) Upgrade eslint-webpack-plugin to fix opt-out flag ([@mrmckeb](https://github.com/mrmckeb))
9+
10+
#### :house: Internal
11+
12+
- `react-dev-utils`
13+
- [#10412](https://github.com/facebook/create-react-app/pull/10412) update immer to 8.0.1 to address vulnerability ([@wclem4](https://github.com/wclem4))
14+
- `create-react-app`
15+
- [#10384](https://github.com/facebook/create-react-app/pull/10384) tests: update test case to match the description ([@jamesgeorge007](https://github.com/jamesgeorge007))
16+
17+
#### Committers: 4
18+
19+
- Brody McKee ([@mrmckeb](https://github.com/mrmckeb))
20+
- Dion Woolley ([@Awarua-](https://github.com/Awarua-))
21+
- James George ([@jamesgeorge007](https://github.com/jamesgeorge007))
22+
- Walker Clem ([@wclem4](https://github.com/wclem4))
23+
24+
# Migrating from 4.0.2 to 4.0.3
25+
26+
Inside any created project that has not been ejected, run:
27+
28+
```bash
29+
npm install --save --save-exact [email protected]
30+
```
31+
32+
or
33+
34+
```
35+
yarn add --exact [email protected]
36+
```
37+
138
## 4.0.2 (2021-02-03)
239

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

packages/create-react-app/__tests__/getTemplateInstallPackage.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ describe('getTemplateInstallPackage', () => {
3333
});
3434

3535
it('typescript@next gives cra-template-typescript@next', async () => {
36-
await expect(getTemplateInstallPackage('cra-template-typescript@next')).resolves.toBe(
36+
await expect(getTemplateInstallPackage('typescript@next')).resolves.toBe(
3737
'cra-template-typescript@next'
3838
);
3939
});

packages/create-react-app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-react-app",
3-
"version": "4.0.2",
3+
"version": "4.0.3",
44
"keywords": [
55
"react"
66
],

packages/create-react-app/yarn.lock.cached

+345-341
Large diffs are not rendered by default.

packages/react-dev-utils/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wbpk-5-cra-utils",
3-
"version": "11.0.2-next.1",
3+
"version": "11.0.3",
44
"description": "Webpack 5 utilities used by Create React App",
55
"repository": {
66
"type": "git",
@@ -65,7 +65,7 @@
6565
"global-modules": "2.0.0",
6666
"globby": "11.0.1",
6767
"gzip-size": "5.1.1",
68-
"immer": "7.0.9",
68+
"immer": "8.0.1",
6969
"is-root": "2.1.0",
7070
"loader-utils": "2.0.0",
7171
"open": "^7.0.2",

packages/react-scripts/config/webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ module.exports = function (webpackEnv) {
826826
extensions: ['js', 'mjs', 'jsx', 'ts', 'tsx'],
827827
formatter: require.resolve('react-dev-utils/eslintFormatter'),
828828
eslintPath: require.resolve('eslint'),
829-
emitWarning: isEnvDevelopment && emitErrorsAsWarnings,
829+
failOnError: !(isEnvDevelopment && emitErrorsAsWarnings),
830830
context: paths.appSrc,
831831
cache: true,
832832
cacheLocation: path.resolve(

packages/react-scripts/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webpack-5-react-scripts",
3-
"version": "4.0.2-next.3",
3+
"version": "4.0.3",
44
"description": "Configuration and scripts for Create React App using Webpack 5.",
55
"repository": {
66
"type": "git",
@@ -53,7 +53,7 @@
5353
"eslint-plugin-react": "^7.21.5",
5454
"eslint-plugin-react-hooks": "^4.2.0",
5555
"eslint-plugin-testing-library": "^3.9.2",
56-
"eslint-webpack-plugin": "^2.1.0",
56+
"eslint-webpack-plugin": "^2.5.2",
5757
"file-loader": "6.1.1",
5858
"fs-extra": "^9.0.1",
5959
"html-webpack-plugin": "4.5.0",
@@ -72,7 +72,7 @@
7272
"postcss-safe-parser": "5.0.2",
7373
"prompts": "2.4.0",
7474
"react-app-polyfill": "^2.0.0",
75-
"react-dev-utils": "^11.0.2",
75+
"react-dev-utils": "^11.0.3",
7676
"react-refresh": "^0.8.3",
7777
"resolve": "1.18.1",
7878
"resolve-url-loader": "^3.1.2",
@@ -82,9 +82,9 @@
8282
"terser-webpack-plugin": "3.0.1",
8383
"ts-pnp": "1.2.0",
8484
"url-loader": "4.1.1",
85-
"wbpk-5-cra-utils": "11.0.2-next.1",
85+
"wbpk-5-cra-utils": "11.0.3",
8686
"webpack": "5.10.0",
87-
"webpack-dev-server": "3.11.0",
87+
"webpack-dev-server": "3.11.1",
8888
"webpack-manifest-plugin": "2.2.0",
8989
"workbox-webpack-plugin": "5.1.4"
9090
},

0 commit comments

Comments
 (0)