CodeTanzania / emis-web

A collaboration platform that facilitates communication, planning and actions for disaster management.
MIT License
26 stars 9 forks source link

chore(deps): update dependency react-scripts to v3.3.0 - autoclosed #396

Closed renovate[bot] closed 4 years ago

renovate[bot] commented 4 years ago

This PR contains the following updates:

Package Type Update Change
react-scripts devDependencies minor 3.2.0 -> 3.3.0

Release Notes

facebook/create-react-app ### [`v3.3.0`](https://togithub.com/facebook/create-react-app/blob/master/CHANGELOG.md#​330-2019-12-04) [Compare Source](https://togithub.com/facebook/create-react-app/compare/v3.2.0...v3.3.0) v3.3.0 is a minor release that adds new features, including custom templates and support for the new optional chaining and nullish coalescing operators. ##### Custom Templates You can now create a new app using custom templates. We've published our existing templates as [`cra-template`](https://togithub.com/facebook/create-react-app/tree/master/packages/cra-template) and [`cra-template-typescript`](https://togithub.com/facebook/create-react-app/tree/master/packages/cra-template-typescript), but we expect to see many great templates from the community over the coming weeks. The below command shows how you can create a new app with `cra-template-typescript`. ```sh npx create-react-app my-app --template typescript ``` Note that you can omit the prefix `cra-template-` when specifying which template you would like. For TypeScript users, we're deprecating `--typescript` in favour of `--template typescript`. If you don't set a template, we'll create your new app with `cra-template` - which is just a new name for our base template. ##### Optional Chaining and Nullish Coalescing Operators We now support the [optional chaining](https://togithub.com/TC39/proposal-optional-chaining) and [nullish coalescing](https://togithub.com/tc39/proposal-nullish-coalescing) operators! ```js // Optional chaining a?.(); // undefined if `a` is null/undefined b?.c; // undefined if `b` is null/undefined // Nullish coalescing undefined ?? 'some other default'; // result: 'some other default' null ?? 'some other default'; // result: 'some other default' '' ?? 'some other default'; // result: '' 0 ?? 300; // result: 0 false ?? true; // result: false ``` **If you're using TypeScript, you will need to upgrade your `typescript` dependency to `3.7.0` or later if you wish to use the new operators.** **If you're using Visual Studio Code 1.40 (the latest as of this release) or earlier, you will need to configure your editor if you want it to understand the new operators.** If you're using TypeScript in your project and have already upgrade its version as described above, then you can [configure VS Code to `Use Workspace Version` of TypeScript](https://code.visualstudio.com/docs/typescript/typescript-compiling#_using-newer-typescript-versions). If your project isn't using TypeScript, you can use the [JavaScript and TypeScript Nightly extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-next) until VS Code releases a newer version including TypeScript `3.7.0` or newer. ##### Numeric Separators We've added support for [numeric separators](https://togithub.com/tc39/proposal-numeric-separator) to improve readability of numeric literals. ```js 1000000000; // Is this a billion? a hundred millions? Ten millions? 101475938.38; // what scale is this? what power of 10? 1_000_000_000; // Ah, so a billion 101_475_938.38; // And this is hundreds of millions ``` ##### no-unexpected-multiline We've removed this rule as it is not compatible with Prettier. If you rely on this rule you can re-enable it by [extending our ESLint config](https://create-react-app.dev/docs/setting-up-your-editor/#experimental-extending-the-eslint-config) and adding the following: ```json { "extends": "react-app", "rules": { "no-unexpected-multiline": "warn" } } ``` ##### :rocket: New Feature - `babel-preset-react-app` - [#​7438](https://togithub.com/facebook/create-react-app/pull/7438) Add optional chaining and nullish coalescing operators support ([@​renatoagds](https://togithub.com/renatoagds)) - `babel-preset-react-app`, `react-dev-utils` - [#​7817](https://togithub.com/facebook/create-react-app/pull/7817) Add numeric separator support ([@​tharun208](https://togithub.com/tharun208)) - `cra-template-typescript`, `cra-template`, `create-react-app`, `react-scripts` - [#​7716](https://togithub.com/facebook/create-react-app/pull/7716) Add template support ([@​mrmckeb](https://togithub.com/mrmckeb)) ##### :boom: Breaking Change - `create-react-app`, `react-dev-utils`, `react-scripts` - [#​7988](https://togithub.com/facebook/create-react-app/pull/7988) Bump webpack-dev-server ([@​ianschmitz](https://togithub.com/ianschmitz)) **NOTE: This is only a breaking change if you're using `react-dev-utils` outside of Create React App.** ##### :bug: Bug Fix - `eslint-config-react-app` - [#​8039](https://togithub.com/facebook/create-react-app/pull/8039) Remove no-unexpected-multiline rule ([@​iansu](https://togithub.com/iansu)) - `create-react-app` - [#​7991](https://togithub.com/facebook/create-react-app/pull/7991) Support templates in scoped packages ([@​klasbj](https://togithub.com/klasbj)) - [#​7839](https://togithub.com/facebook/create-react-app/pull/7839) added check for typescript template and unsupported node version ([@​awaseem](https://togithub.com/awaseem)) - `react-scripts` - [#​7860](https://togithub.com/facebook/create-react-app/pull/7860) Mark TypeScript as an optional peer dependency for react-scripts ([@​dstaley](https://togithub.com/dstaley)) - [#​7822](https://togithub.com/facebook/create-react-app/pull/7822) Fix absolute paths issue in Jest ([@​rovansteen](https://togithub.com/rovansteen)) - [#​7796](https://togithub.com/facebook/create-react-app/pull/7796) Fixed process type in TypeScript template. ([@​fuszenecker](https://togithub.com/fuszenecker)) - `react-dev-utils` - [#​6449](https://togithub.com/facebook/create-react-app/pull/6449) Edit InterpolateHtmlPlugin hook ([#​6448](https://togithub.com/facebook/create-react-app/issues/6448)) ([@​GuiHash](https://togithub.com/GuiHash)) ##### :nail_care: Enhancement - `cra-template-typescript`, `cra-template` - [#​8005](https://togithub.com/facebook/create-react-app/pull/8005) Prefix apple-touch-icon links with PUBLIC_URL ([@​benblank](https://togithub.com/benblank)) - [#​7881](https://togithub.com/facebook/create-react-app/pull/7881) Add [@​testing-library](https://togithub.com/testing-library) to the default templates ([@​kentcdodds](https://togithub.com/kentcdodds)) - `react-scripts` - [#​7989](https://togithub.com/facebook/create-react-app/pull/7989) Add scripts support to templates ([@​mrmckeb](https://togithub.com/mrmckeb)) - [#​7921](https://togithub.com/facebook/create-react-app/pull/7921) Add restoreMocks to supported jest config keys ([@​ianschmitz](https://togithub.com/ianschmitz)) - [#​6352](https://togithub.com/facebook/create-react-app/pull/6352) Add additional information for postcss errors ([#​6282](https://togithub.com/facebook/create-react-app/issues/6282)) ([@​buildbreakdo](https://togithub.com/buildbreakdo)) - [#​6753](https://togithub.com/facebook/create-react-app/pull/6753) Add Service-Worker header to checkValidServiceWorker ([@​darthmaim](https://togithub.com/darthmaim)) - [#​7832](https://togithub.com/facebook/create-react-app/pull/7832) feat: add additional Jest keys to whitelist ([@​mrmckeb](https://togithub.com/mrmckeb)) - [#​7022](https://togithub.com/facebook/create-react-app/pull/7022) Fix node_modules sourcemap config (which will fix VSCode debugging of CRA apps) ([@​justingrant](https://togithub.com/justingrant)) - `cra-template` - [#​7931](https://togithub.com/facebook/create-react-app/pull/7931) No spinning React logo if `prefers-reduced-motion` ([@​donavon](https://togithub.com/donavon)) - `create-react-app`, `react-error-overlay` - [#​7052](https://togithub.com/facebook/create-react-app/pull/7052) Dark scheme overlay ([@​Fabianopb](https://togithub.com/Fabianopb)) - `babel-preset-react-app` - [#​7726](https://togithub.com/facebook/create-react-app/pull/7726) Add babel runtime version to transform-runtime plugin to reduce bundle size ([@​topaxi](https://togithub.com/topaxi)) ##### :memo: Documentation - Other - [#​8050](https://togithub.com/facebook/create-react-app/pull/8050) Update template docs ([@​mrmckeb](https://togithub.com/mrmckeb)) - [#​7995](https://togithub.com/facebook/create-react-app/pull/7995) Add contributors section to readme ([@​ianschmitz](https://togithub.com/ianschmitz)) - [#​7896](https://togithub.com/facebook/create-react-app/pull/7896) chore: Fix broken link for e2e README ([@​haruelrovix](https://togithub.com/haruelrovix)) - [#​7874](https://togithub.com/facebook/create-react-app/pull/7874) Bump docusaurus 🦖 ([@​andriijas](https://togithub.com/andriijas)) - [#​7819](https://togithub.com/facebook/create-react-app/pull/7819) 📖 DOC: Improvement ([@​waahab](https://togithub.com/waahab)) - [#​7853](https://togithub.com/facebook/create-react-app/pull/7853) Update adding-bootstrap.md ([@​Xuhao](https://togithub.com/Xuhao)) - [#​7849](https://togithub.com/facebook/create-react-app/pull/7849) chore: update README.md gif links ([@​cchanxzy](https://togithub.com/cchanxzy)) - [#​7840](https://togithub.com/facebook/create-react-app/pull/7840) Link to ASP.NET Core docs ([@​Daniel15](https://togithub.com/Daniel15)) - [#​7841](https://togithub.com/facebook/create-react-app/pull/7841) Update getting-started.md ([@​reactjser](https://togithub.com/reactjser)) - [#​7809](https://togithub.com/facebook/create-react-app/pull/7809) Add a note about .eslintignore files being respected ([@​seanlaff](https://togithub.com/seanlaff)) - [#​7686](https://togithub.com/facebook/create-react-app/pull/7686) Link to React documentation for code splitting ([@​Hugodby](https://togithub.com/Hugodby)) - [#​7785](https://togithub.com/facebook/create-react-app/pull/7785) Upgrade to docusaurus 2 ([@​endiliey](https://togithub.com/endiliey)) - [#​7824](https://togithub.com/facebook/create-react-app/pull/7824) Fix grammar error in troubleshooting.md ([@​jakeboone02](https://togithub.com/jakeboone02)) - [#​7823](https://togithub.com/facebook/create-react-app/pull/7823) Document correct default behavior for HOST var ([@​jsejcksn](https://togithub.com/jsejcksn)) - [#​7815](https://togithub.com/facebook/create-react-app/pull/7815) Tightens up the TypeScript docs ([@​orta](https://togithub.com/orta)) - [#​7813](https://togithub.com/facebook/create-react-app/pull/7813) Clarify dynamic import stage in docs ([@​aprilandjan](https://togithub.com/aprilandjan)) - `react-dev-utils`, `react-scripts` - [#​7972](https://togithub.com/facebook/create-react-app/pull/7972) Add placeholders where old template READMEs used to be ([@​iansu](https://togithub.com/iansu)) - `babel-preset-react-app` - [#​7932](https://togithub.com/facebook/create-react-app/pull/7932) fix seperators typo ([@​donavon](https://togithub.com/donavon)) - `react-dev-utils` - [#​7897](https://togithub.com/facebook/create-react-app/pull/7897) chore: Fix broken link for CRA deployment ([@​haruelrovix](https://togithub.com/haruelrovix)) - `react-scripts` - [#​7852](https://togithub.com/facebook/create-react-app/pull/7852) Add Alex to lint documentation ([@​iansu](https://togithub.com/iansu)) - [#​7474](https://togithub.com/facebook/create-react-app/pull/7474) Fix notations of loopback addresses ([@​wataash](https://togithub.com/wataash)) ##### :house: Internal - `react-scripts` - [#​8038](https://togithub.com/facebook/create-react-app/pull/8038) Add TypeScript peer dependency to react-scripts ([@​iansu](https://togithub.com/iansu)) - [#​7952](https://togithub.com/facebook/create-react-app/pull/7952) Add tests for optional chaining and null coalescing ([@​ianschmitz](https://togithub.com/ianschmitz)) - [#​7830](https://togithub.com/facebook/create-react-app/pull/7830) Revert logo in templates ([@​iansu](https://togithub.com/iansu)) - Other - [#​8029](https://togithub.com/facebook/create-react-app/pull/8029) Re-enable GitHub Actions ([@​iansu](https://togithub.com/iansu)) - [#​7978](https://togithub.com/facebook/create-react-app/pull/7978) Temporarily disable GitHub Actions ([@​iansu](https://togithub.com/iansu)) - [#​7789](https://togithub.com/facebook/create-react-app/pull/7789) Add yarn.lock to .gitignore ([@​lukyth](https://togithub.com/lukyth)) - [#​7878](https://togithub.com/facebook/create-react-app/pull/7878) Remove alex precommit check ([@​iansu](https://togithub.com/iansu)) - [#​7861](https://togithub.com/facebook/create-react-app/pull/7861) Add a GitHub Action that runs the build script ([@​iansu](https://togithub.com/iansu)) - `eslint-config-react-app` - [#​8003](https://togithub.com/facebook/create-react-app/pull/8003) Use [@​typescript-eslint/no-unused-expressions](https://togithub.com/typescript-eslint/no-unused-expressions) to support optional chaining ([@​maxdavidson](https://togithub.com/maxdavidson)) - `create-react-app` - [#​7844](https://togithub.com/facebook/create-react-app/pull/7844) added e2e test for checking typescript template with unsupported node ([@​awaseem](https://togithub.com/awaseem)) - [#​7882](https://togithub.com/facebook/create-react-app/pull/7882) refactor: remove double coerce ([@​mrmckeb](https://togithub.com/mrmckeb)) - [#​7880](https://togithub.com/facebook/create-react-app/pull/7880) Pass through fully specified template name ([@​iansu](https://togithub.com/iansu)) - `cra-template-typescript` - [#​7944](https://togithub.com/facebook/create-react-app/pull/7944) Make base and TypeScript templates consistent ([@​suprj](https://togithub.com/suprj)) - `create-react-app`, `react-dev-utils`, `react-scripts` - [#​7773](https://togithub.com/facebook/create-react-app/pull/7773) Temporarily disable Windows in CI ([@​ianschmitz](https://togithub.com/ianschmitz)) ##### :hammer: Underlying Tools - `babel-preset-react-app`, `cra-template-typescript`, `cra-template`, `create-react-app`, `react-dev-utils`, `react-error-overlay`, `react-scripts` - [#​8024](https://togithub.com/facebook/create-react-app/pull/8024) Bump dependencies ([@​ianschmitz](https://togithub.com/ianschmitz)) - `create-react-app`, `react-dev-utils`, `react-scripts` - [#​7988](https://togithub.com/facebook/create-react-app/pull/7988) Bump webpack-dev-server ([@​ianschmitz](https://togithub.com/ianschmitz)) - [#​7876](https://togithub.com/facebook/create-react-app/pull/7876) Bump styling related loaders ([@​andriijas](https://togithub.com/andriijas)) - `react-app-polyfill` - [#​7999](https://togithub.com/facebook/create-react-app/pull/7999) Unpin dependencies in react-app-polyfill ([@​ianschmitz](https://togithub.com/ianschmitz)) - `babel-preset-react-app`, `react-app-polyfill`, `react-dev-utils`, `react-scripts` - [#​7986](https://togithub.com/facebook/create-react-app/pull/7986) Bump dependencies ([@​ianschmitz](https://togithub.com/ianschmitz)) - `react-scripts` - [#​7956](https://togithub.com/facebook/create-react-app/pull/7956) Upgrade jest-watch-typeahead ([@​Andarist](https://togithub.com/Andarist)) - [#​7870](https://togithub.com/facebook/create-react-app/pull/7870) Fix eslint complaints in build.js ([@​andriijas](https://togithub.com/andriijas)) - [#​7857](https://togithub.com/facebook/create-react-app/pull/7857) feat: upgrade terser & enable parallel minification in wsl ([@​endiliey](https://togithub.com/endiliey)) - [#​7856](https://togithub.com/facebook/create-react-app/pull/7856) Move unused eslint webpack import into [@​remove-on-eject](https://togithub.com/remove-on-eject) block ([@​mrseanbaines](https://togithub.com/mrseanbaines)) - `babel-preset-react-app`, `cra-template-typescript`, `create-react-app`, `react-app-polyfill`, `react-dev-utils`, `react-error-overlay`, `react-scripts` - [#​7951](https://togithub.com/facebook/create-react-app/pull/7951) Fix CI ([@​ianschmitz](https://togithub.com/ianschmitz)) - `react-dev-utils` - [#​7910](https://togithub.com/facebook/create-react-app/pull/7910) Update open ([@​andriijas](https://togithub.com/andriijas)) - `babel-plugin-named-asset-import`, `babel-preset-react-app`, `react-error-overlay`, `react-scripts` - [#​7814](https://togithub.com/facebook/create-react-app/pull/7814) Upgrade outdated packages ([@​andriijas](https://togithub.com/andriijas)) - `react-error-overlay`, `react-scripts` - [#​7875](https://togithub.com/facebook/create-react-app/pull/7875) Bump react ([@​andriijas](https://togithub.com/andriijas)) ##### Committers: 42 - Abdul Wahab ⚡️ ([@​waahab](https://togithub.com/waahab)) - Alex Guerra ([@​heyimalex](https://togithub.com/heyimalex)) - Ali Waseem ([@​awaseem](https://togithub.com/awaseem)) - Andreas Cederström ([@​andriijas](https://togithub.com/andriijas)) - Ben Blank ([@​benblank](https://togithub.com/benblank)) - Brody McKee ([@​mrmckeb](https://togithub.com/mrmckeb)) - Chun ([@​cchanxzy](https://togithub.com/cchanxzy)) - Damian Senn ([@​topaxi](https://togithub.com/topaxi)) - Daniel Lo Nigro ([@​Daniel15](https://togithub.com/Daniel15)) - Donavon West ([@​donavon](https://togithub.com/donavon)) - Dylan Staley ([@​dstaley](https://togithub.com/dstaley)) - Endi ([@​endiliey](https://togithub.com/endiliey)) - Fabiano Brito ([@​Fabianopb](https://togithub.com/Fabianopb)) - Guillaume Hertault ([@​GuiHash](https://togithub.com/GuiHash)) - Havit Rovik ([@​haruelrovix](https://togithub.com/haruelrovix)) - Hugo David-Boyet ([@​Hugodby](https://togithub.com/Hugodby)) - Ian Schmitz ([@​ianschmitz](https://togithub.com/ianschmitz)) - Ian Sutherland ([@​iansu](https://togithub.com/iansu)) - Jake Boone ([@​jakeboone02](https://togithub.com/jakeboone02)) - Jesse Jackson ([@​jsejcksn](https://togithub.com/jsejcksn)) - Jonathan Felchlin ([@​GreenGremlin](https://togithub.com/GreenGremlin)) - Joshua Robinson ([@​buildbreakdo](https://togithub.com/buildbreakdo)) - Justin Grant ([@​justingrant](https://togithub.com/justingrant)) - Kanitkorn Sujautra ([@​lukyth](https://togithub.com/lukyth)) - Kent C. Dodds ([@​kentcdodds](https://togithub.com/kentcdodds)) - Klas Björkqvist ([@​klasbj](https://togithub.com/klasbj)) - Mateusz Burzyński ([@​Andarist](https://togithub.com/Andarist)) - Max Davidson ([@​maxdavidson](https://togithub.com/maxdavidson)) - May ([@​aprilandjan](https://togithub.com/aprilandjan)) - Orta ([@​orta](https://togithub.com/orta)) - RJ ([@​suprj](https://togithub.com/suprj)) - Renato Augusto Gama dos Santos ([@​renatoagds](https://togithub.com/renatoagds)) - Robert FUSZENECKER ([@​fuszenecker](https://togithub.com/fuszenecker)) - Robert van Steen ([@​rovansteen](https://togithub.com/rovansteen)) - Sean Baines ([@​mrseanbaines](https://togithub.com/mrseanbaines)) - Sean Lafferty ([@​seanlaff](https://togithub.com/seanlaff)) - Tharun Rajendran ([@​tharun208](https://togithub.com/tharun208)) - Tomáš Hübelbauer ([@​TomasHubelbauer](https://togithub.com/TomasHubelbauer)) - Wataru Ashihara ([@​wataash](https://togithub.com/wataash)) - Xuhao ([@​Xuhao](https://togithub.com/Xuhao)) - [@​reactjser](https://togithub.com/reactjser) - darthmaim ([@​darthmaim](https://togithub.com/darthmaim)) ##### Migrating from 3.2.0 to 3.3.0 Inside any created project that has not been ejected, run: ```sh npm install --save --save-exact react-scripts@3.3.0 ``` or ```sh yarn add --exact react-scripts@3.3.0 ```

Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Enabled.

:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



Newsflash: Renovate has joined WhiteSource, and is now free for all use. Learn more or view updated terms and privacy policies.