notrab / react-use-cart

React hook library for managing cart state
http://npm.im/react-use-cart
Apache License 2.0
367 stars 48 forks source link

Update all dependencies #12

Closed renovate[bot] closed 4 years ago

renovate[bot] commented 4 years ago

This PR contains the following updates:

Package Type Update Change
@babel/core (source) devDependencies minor 7.8.6 -> 7.9.0
@babel/plugin-transform-runtime devDependencies minor 7.8.3 -> 7.9.0
@babel/preset-env (source) devDependencies minor 7.8.6 -> 7.9.0
@babel/preset-react (source) devDependencies minor 7.8.3 -> 7.9.4
@babel/runtime (source) devDependencies minor 7.8.4 -> 7.9.2
prettier (source) devDependencies major 1.19.1 -> 2.0.2
react (source) devDependencies patch 16.13.0 -> 16.13.1
react-dom (source) devDependencies patch 16.13.0 -> 16.13.1
rollup (source) devDependencies major 1.32.0 -> 2.3.2
rollup-plugin-babel devDependencies minor 4.3.3 -> 4.4.0

Release Notes

babel/babel ### [`v7.9.0`](https://togithub.com/babel/babel/blob/master/CHANGELOG.md#v790-2020-03-20) [Compare Source](https://togithub.com/babel/babel/compare/v7.8.7...v7.9.0) ##### :rocket: New Feature - `babel-generator`, `babel-helper-builder-react-jsx-experimental`, `babel-helper-builder-react-jsx`, `babel-plugin-transform-block-scoping`, `babel-plugin-transform-classes`, `babel-plugin-transform-function-name`, `babel-plugin-transform-react-constant-elements`, `babel-plugin-transform-react-inline-elements`, `babel-plugin-transform-react-jsx-development`, `babel-plugin-transform-react-jsx`, `babel-plugin-transform-regenerator`, `babel-preset-react`, `babel-preset-typescript`, `babel-standalone` - [#​11126](https://togithub.com/babel/babel/pull/11126) Mark transpiled JSX elements as pure ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-builder-react-jsx-experimental`, `babel-helper-builder-react-jsx`, `babel-plugin-transform-react-jsx-development`, `babel-plugin-transform-react-jsx-self`, `babel-plugin-transform-react-jsx`, `babel-preset-react`, `babel-standalone` - [#​11154](https://togithub.com/babel/babel/pull/11154) Add experimental version of the `babel-plugin-transform-react-jsx` transform ([@​lunaruan](https://togithub.com/lunaruan)) - `babel-compat-data`, `babel-preset-env` - [#​11083](https://togithub.com/babel/babel/pull/11083) Include preset modules ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#​10971](https://togithub.com/babel/babel/pull/10971) Add numeric separator to `shippedProposals` ([@​Wetinee](https://togithub.com/Wetinee)) - `babel-core`, `babel-helpers`, `babel-plugin-proposal-class-properties`, `babel-plugin-proposal-decorators`, `babel-plugin-transform-classes`, `babel-plugin-transform-function-name`, `babel-plugin-transform-parameters`, `babel-plugin-transform-react-jsx`, `babel-plugin-transform-runtime`, `babel-plugin-transform-typescript`, `babel-preset-env` - [#​8656](https://togithub.com/babel/babel/pull/8656) Allow extending untranspiled classes ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core`, `babel-helper-module-transforms`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-systemjs`, `babel-plugin-transform-modules-umd` - [#​11194](https://togithub.com/babel/babel/pull/11194) Allow defining the moduleIds-related option in the transform plugins ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core`, `babel-generator`, `babel-parser`, `babel-plugin-syntax-record-and-tuple`, `babel-types` - [#​10865](https://togithub.com/babel/babel/pull/10865) Added support for record and tuple syntax. ([@​rickbutton](https://togithub.com/rickbutton)) - `babel-generator`, `babel-parser`, `babel-plugin-transform-flow-strip-types`, `babel-preset-flow` - [#​11178](https://togithub.com/babel/babel/pull/11178) Implement support for `declare` on class fields with Flow ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-types` - [#​10680](https://togithub.com/babel/babel/pull/10680) Add cloneDeepWithoutLoc ([@​Taym95](https://togithub.com/Taym95)) - `babel-generator` - [#​11028](https://togithub.com/babel/babel/pull/11028) Added jsescOptions to Numeric Literals ([@​sidntrivedi012](https://togithub.com/sidntrivedi012)) - `babel-generator`, `babel-parser`, `babel-types` - [#​11077](https://togithub.com/babel/babel/pull/11077) Add support for flow's SymbolTypeAnnotation ([@​existentialism](https://togithub.com/existentialism)) - `babel-parser` - [#​11117](https://togithub.com/babel/babel/pull/11117) Parse BigInts by default ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#​11254](https://togithub.com/babel/babel/pull/11254) Add estree parsing support for `export * as A` ([@​existentialism](https://togithub.com/existentialism)) - [#​11246](https://togithub.com/babel/babel/pull/11246) feat: align ID_Start/ID_Continue regex to Unicode 13.0.0 ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-plugin-transform-react-jsx-source`, `babel-preset-react` - [#​11139](https://togithub.com/babel/babel/pull/11139) feat(react-jsx-source): add columnNumber property ([@​motiz88](https://togithub.com/motiz88)) - `babel-generator`, `babel-parser`, `babel-plugin-transform-typescript`, `babel-preset-typescript`, `babel-types` - [#​11171](https://togithub.com/babel/babel/pull/11171) Add `import type` and `export type` support to TypeScript ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :bug: Bug Fix - `babel-helper-builder-react-jsx-experimental`, `babel-helper-builder-react-jsx`, `babel-helper-validator-identifier`, `babel-highlight`, `babel-parser`, `babel-types` - [#​11289](https://togithub.com/babel/babel/pull/11289) Add [@​babel/helper-validator-identifier](https://togithub.com/babel/helper-validator-identifier) ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-plugin-proposal-optional-chaining` - [#​11261](https://togithub.com/babel/babel/pull/11261) Memoize call expressions in optional chains in loose mode ([@​oliverdunk](https://togithub.com/oliverdunk)) - `babel-plugin-transform-react-jsx-self`, `babel-preset-react` - [#​11290](https://togithub.com/babel/babel/pull/11290) Pass the correct `this` to JSX's `__self` with the old plugin ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-builder-react-jsx-experimental`, `babel-plugin-transform-react-jsx-development`, `babel-plugin-transform-react-jsx` - [#​11288](https://togithub.com/babel/babel/pull/11288) Use the correct `this` in `__self` for JSX elements in arrows ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-compat-data`, `babel-preset-env` - [#​11280](https://togithub.com/babel/babel/pull/11280) Move `object-rest-spread` after `transform-parameters` ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-helpers`, `babel-plugin-transform-for-of`, `babel-preset-env` - [#​11285](https://togithub.com/babel/babel/pull/11285) Allow for-of on polyfilled or builtin iterables without `Symbol` support ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#​11263](https://togithub.com/babel/babel/pull/11263) Add for-of fallback for arrays in browsers without symbol support ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-proposal-object-rest-spread` - [#​11282](https://togithub.com/babel/babel/pull/11282) fix: object-rest-spread should not transform export array rest ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-register` - [#​11249](https://togithub.com/babel/babel/pull/11249) Add path separator to `@babel/register` sourceRoot ([@​andrewdotn](https://togithub.com/andrewdotn)) - `babel-core`, `babel-helpers`, `babel-plugin-transform-runtime` - [#​10575](https://togithub.com/babel/babel/pull/10575) Create File class for babel helpers ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-helpers`, `babel-plugin-transform-modules-commonjs`, `babel-preset-env`, `babel-runtime-corejs2`, `babel-runtime` - [#​11268](https://togithub.com/babel/babel/pull/11268) Allow rest/spread on polyfilled or builtin iterables without `Symbol` support ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-parser` - [#​11148](https://togithub.com/babel/babel/pull/11148) Allow await when it is not in AsyncArrowHead ([@​arku](https://togithub.com/arku)) - `babel-helpers`, `babel-plugin-proposal-object-rest-spread`, `babel-runtime-corejs2`, `babel-runtime` - [#​9794](https://togithub.com/babel/babel/pull/9794) fix(rest-spread): Do not require `Symbol.iterator` for strings ([@​clshortfuse](https://togithub.com/clshortfuse)) - `babel-generator` - [#​11255](https://togithub.com/babel/babel/pull/11255) Fix printing edge cases in Nullish Coalescing and Optional Chaining ([@​jridgewell](https://togithub.com/jridgewell)) ##### :nail_care: Polish - `babel-parser` - [#​11208](https://togithub.com/babel/babel/pull/11208) Rephrase parser error message ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-helpers`, `babel-plugin-transform-destructuring`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-spread`, `babel-preset-env`, `babel-runtime-corejs2`, `babel-runtime` - [#​11264](https://togithub.com/babel/babel/pull/11264) Throw better errors for non-iterables when Symbol doesn't exist. ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - `babel-helper-builder-react-jsx-experimental`, `babel-helper-builder-react-jsx`, `babel-helper-validator-identifier`, `babel-highlight`, `babel-parser`, `babel-types` - [#​11289](https://togithub.com/babel/babel/pull/11289) Add [@​babel/helper-validator-identifier](https://togithub.com/babel/helper-validator-identifier) ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-compat-data`, `babel-preset-env` - [#​11277](https://togithub.com/babel/babel/pull/11277) Update compat-data ([@​existentialism](https://togithub.com/existentialism)) - `babel-core` - [#​11276](https://togithub.com/babel/babel/pull/11276) chore: bump json5 and minimist ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-types` - [#​11250](https://togithub.com/babel/babel/pull/11250) Add stricter Optional Chain node validation ([@​jridgewell](https://togithub.com/jridgewell)) - [#​11267](https://togithub.com/babel/babel/pull/11267) Update Purish aliases ([@​jridgewell](https://togithub.com/jridgewell)) - `babel-helpers`, `babel-plugin-transform-block-scoping`, `babel-plugin-transform-for-of`, `babel-plugin-transform-parameters`, `babel-plugin-transform-runtime`, `babel-preset-env` - [#​11262](https://togithub.com/babel/babel/pull/11262) Extract for-of iterator handling to a helper ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-logical-assignment-operators`, `babel-plugin-proposal-object-rest-spread`, `babel-plugin-proposal-partial-application`, `babel-plugin-proposal-pipeline-operator`, `babel-plugin-transform-parameters`, `babel-traverse` - [#​11260](https://togithub.com/babel/babel/pull/11260) Support more node types in generateUidBasedOnNode ([@​jridgewell](https://togithub.com/jridgewell)) - Other - [#​11259](https://togithub.com/babel/babel/pull/11259) Remove unused `gulp-rename` ([@​existentialism](https://togithub.com/existentialism)) ### [`v7.8.7`](https://togithub.com/babel/babel/blob/master/CHANGELOG.md#v787-2020-03-05) [Compare Source](https://togithub.com/babel/babel/compare/v7.8.6...v7.8.7) ##### :bug: Bug Fix - `babel-preset-env` - [#​11201](https://togithub.com/babel/babel/pull/11201) Allow using `preset-env` with newer versions of `compat-data` ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core` - [#​11193](https://togithub.com/babel/babel/pull/11193) Pass URLs to import() rather than paths ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-parser` - [#​11198](https://togithub.com/babel/babel/pull/11198) fix(babel-parser): chain off optionally chained keys named class and function ([@​Vages](https://togithub.com/Vages)) - `babel-helper-call-delegate`, `babel-plugin-transform-parameters` - [#​11158](https://togithub.com/babel/babel/pull/11158) Fix scope of function body when var redeclares param ([@​openorclose](https://togithub.com/openorclose)) - `babel-generator` - [#​11190](https://togithub.com/babel/babel/pull/11190) Fix printing parentheses around optional chains ([@​sag1v](https://togithub.com/sag1v)) - `babel-types` - [#​11184](https://togithub.com/babel/babel/pull/11184) Add "Statement" as alias to Flow enum declaration ([@​gkz](https://togithub.com/gkz)) - `babel-plugin-transform-typescript` - [#​11129](https://togithub.com/babel/babel/pull/11129) Typescript: Preserve decorated definite class properties ([@​jamescdavis](https://togithub.com/jamescdavis)) ##### :house: Internal - `babel-parser` - [#​11192](https://togithub.com/babel/babel/pull/11192) Refactor: add parser message template ([@​JLHwung](https://togithub.com/JLHwung)) - Other - [#​11181](https://togithub.com/babel/babel/pull/11181) Set correct version for [@​babel/eslint-plugin-development](https://togithub.com/babel/eslint-plugin-development) ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
prettier/prettier ### [`v2.0.2`](https://togithub.com/prettier/prettier/blob/master/CHANGELOG.md#​202) [Compare Source](https://togithub.com/prettier/prettier/compare/2.0.1...2.0.2) [diff](https://togithub.com/prettier/prettier/compare/2.0.1...2.0.2) ##### 2.0 regressions ##### JavaScript: Fix formatting of pseudo-elements and pseudo-classes in styled-components template literals ([#​7842](https://togithub.com/prettier/prettier/pull/7842) by [@​thorn0](https://togithub.com/thorn0)) ```jsx // Input const Foo = styled.div` ${media.smallDown}::before {} `; // Prettier 2.0.0 const Foo = styled.div` ${media.smallDown}: : before{ } `; // Prettier 2.0.2 const Foo = styled.div` ${media.smallDown}::before { } `; ``` ##### TypeScript: Avoid trailing commas on index signatures with only one parameter ([#​7836](https://togithub.com/prettier/prettier/pull/7836) by [@​bakkot](https://togithub.com/bakkot)) TypeScript index signatures technically allow multiple parameters and trailing commas, but it's an error to have multiple parameters there, and Babel's TypeScript parser does not accept them. So Prettier now avoids putting a trailing comma there when you have only one parameter. ```ts // Input export type A = { a?: { [ x: string ]: typeof SomeLongLongLongTypeName[keyof typeof SomeLongLongLongTypeName]; } | null; }; // Prettier 2.0.0 export type A = { a?: { [ x: string, ]: typeof SomeLongLongLongTypeName[keyof typeof SomeLongLongLongTypeName]; } | null; }; // Prettier 2.0.2 export type A = { a?: { [ x: string ]: typeof SomeLongLongLongTypeName[keyof typeof SomeLongLongLongTypeName]; } | null; }; ``` ##### Revert "markdown: fix redundant leading spaces in markdown list" ([#​7847](https://togithub.com/prettier/prettier/pull/7847)) See [#​7846](https://togithub.com/prettier/prettier/issues/7846) ##### Other changes ##### TypeScript: Fix `prettier-ignore` in union types ([#​7798](https://togithub.com/prettier/prettier/pull/7798) by [@​thorn0](https://togithub.com/thorn0)) ```ts // Input export type a = // foo | foo1&foo2 // prettier-ignore | bar1&bar2 // baz | baz1&baz2; // Prettier 2.0.0 export type a = // foo | foo1&foo2 // prettier-ignore // prettier-ignore | (bar1 & bar2) // baz | (baz1 & baz2); // Prettier 2.0.2 export type a = // foo | (foo1 & foo2) // prettier-ignore | bar1&bar2 // baz | (baz1 & baz2); ``` ### [`v2.0.1`](https://togithub.com/prettier/prettier/blob/master/CHANGELOG.md#​201) [Compare Source](https://togithub.com/prettier/prettier/compare/2.0.0...2.0.1) [diff](https://togithub.com/prettier/prettier/compare/2.0.0...2.0.1) ##### API: Fix build script to not corrupt `import-fresh` module ([#​7820](https://togithub.com/prettier/prettier/pull/7820) by [@​thorn0](https://togithub.com/thorn0)) ### [`v2.0.0`](https://togithub.com/prettier/prettier/blob/master/CHANGELOG.md#​200) [Compare Source](https://togithub.com/prettier/prettier/compare/1.19.1...2.0.0) [diff](https://togithub.com/prettier/prettier/compare/1.19.1...2.0.0) 🔗 [Release Notes](https://prettier.io/blog/2020/03/21/2.0.0.html)
facebook/react ### [`v16.13.1`](https://togithub.com/facebook/react/blob/master/CHANGELOG.md#​16131-March-19-2020) [Compare Source](https://togithub.com/facebook/react/compare/v16.13.0...v16.13.1) ##### React DOM - Fix bug in legacy mode Suspense where effect clean-up functions are not fired. This only affects users who use Suspense for data fetching in legacy mode, which is not technically supported. ([@​acdlite](https://togithub.com/acdlite) in [#​18238](https://togithub.com/facebook/react/pull/18238)) - Revert warning for cross-component updates that happen inside class render lifecycles (`componentWillReceiveProps`, `shouldComponentUpdate`, and so on). ([@​gaearon](https://togithub.com/gaearon) in [#​18330](https://togithub.com/facebook/react/pull/18330))
rollup/rollup ### [`v2.3.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​232) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.3.1...v2.3.2) _2020-03-31_ ##### Bug Fixes - Only warn but do not fail build when a namespace is called as a function ([#​3475](https://togithub.com/rollup/rollup/issues/3475)) - Make sure pre-existing sourcemap comments are also removed when rebuilding using the cache ([#​3476](https://togithub.com/rollup/rollup/issues/3476)) ##### Pull Requests - [#​3475](https://togithub.com/rollup/rollup/pull/3475): Call namespace error as a warning ([@​guybedford](https://togithub.com/guybedford)) - [#​3476](https://togithub.com/rollup/rollup/pull/3476): Store locations for removed comments in cache ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.3.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​231) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.3.0...v2.3.1) _2020-03-30_ ##### Bug Fixes - Do not fail if the config file returns an function returning a Promise ([#​3472](https://togithub.com/rollup/rollup/issues/3472)) ##### Pull Requests - [#​3472](https://togithub.com/rollup/rollup/pull/3472): Fix support for async functions as config ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.3.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​230) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.2.0...v2.3.0) _2020-03-29_ ##### Features - Do not transpile config files with `.mjs` extension in Node 13+ or `.cjs` extension in any Node version and load them appropriately ([#​3445](https://togithub.com/rollup/rollup/issues/3445)) - Extract helper to load a config file the way rollup does it via `rollup/dist/loadConfigFile` ([#​3445](https://togithub.com/rollup/rollup/issues/3445)) ##### Bug Fixes - Keep watching the config file if an error occurs during initial load in watch node ([#​3445](https://togithub.com/rollup/rollup/issues/3445)) - Add a helpful error message when using a transpiled config in a repository with "type": "module" ([#​3445](https://togithub.com/rollup/rollup/issues/3445)) ##### Pull Requests - [#​3445](https://togithub.com/rollup/rollup/pull/3445): Support native ESM configs in Node 13, support untranspiled configs ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3468](https://togithub.com/rollup/rollup/pull/3468): Don't use esm output format alias in the documentation ([@​vsn4ik](https://togithub.com/vsn4ik)) ### [`v2.2.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​220) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.1.0...v2.2.0) _2020-03-24_ ##### Features - Add `renderDynamicImport` hook to rewrite dynamic import expressions ([#​3449](https://togithub.com/rollup/rollup/issues/3449)) - Add information about dynamically imported modules to `this.getModuleInfo` ([#​3449](https://togithub.com/rollup/rollup/issues/3449)) ##### Bug Fixes - Make file emission work with Uin8Array sources when using Rollup in the browser ([#​3452](https://togithub.com/rollup/rollup/issues/3452)) - Fix types to allow watch to accept an array of configs ([#​3453](https://togithub.com/rollup/rollup/issues/3453)) - Do not strip `.js` extensions from AMD imports when the import is a user-supplied replacement for a non-resolvable dynamic import target ([#​3453](https://togithub.com/rollup/rollup/issues/3453)) ##### Pull Requests - [#​3449](https://togithub.com/rollup/rollup/pull/3449): Add hook to rewrite dynamic import expressions ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3452](https://togithub.com/rollup/rollup/pull/3452): Avoid the assumption of Buffer in browser envs ([@​JoviDeCroock](https://togithub.com/JoviDeCroock)) - [#​3453](https://togithub.com/rollup/rollup/pull/3453): fix types since watch accepts single or array config ([@​lukeed](https://togithub.com/lukeed)) - [#​3456](https://togithub.com/rollup/rollup/pull/3456): fix SystemJS url in tutorial ([@​guybedford](https://togithub.com/guybedford)) ### [`v2.1.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​210) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.0.6...v2.1.0) _2020-03-18_ ##### Features - Allow specifying an importer when emitting files to resolve relative ids ([#​3442](https://togithub.com/rollup/rollup/issues/3442)) ##### Pull Requests - [#​3442](https://togithub.com/rollup/rollup/pull/3442): Add optional `importer` parameter to `this.emitFile` ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.0.6`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​206) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.0.5...v2.0.6) _2020-03-13_ ##### Bug Fixes - Do not use file names from different outputs when generating sourcemaps using the `dir` option ([#​3440](https://togithub.com/rollup/rollup/issues/3440)) ##### Pull Requests - [#​3440](https://togithub.com/rollup/rollup/pull/3440): Use correct file names when writing sourcemaps for multiple outputs ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.0.5`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​205) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.0.4...v2.0.5) _2020-03-12_ ##### Bug Fixes - Fix an issue where conditional statements would assume they have the wrong test value ([#​3438](https://togithub.com/rollup/rollup/issues/3438)) ##### Pull Requests - [#​3438](https://togithub.com/rollup/rollup/pull/3438): Make sure logical expressions always check the left argument for side-effects ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.0.4`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​204) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.0.3...v2.0.4) _2020-03-12_ ##### Bug Fixes - Avoid conflicts between namespace imports when preserving modules ([#​3435](https://togithub.com/rollup/rollup/issues/3435)) ##### Pull Requests - [#​3435](https://togithub.com/rollup/rollup/pull/3435): Deconflict multiple `index` imports for ES format using nested export star statements ([@​kamranayub](https://togithub.com/kamranayub)) ### [`v2.0.3`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​203) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.0.2...v2.0.3) _2020-03-10_ ##### Bug Fixes - Add type for this.getCombinedSourcemap to transform context ([#​3431](https://togithub.com/rollup/rollup/issues/3431)) ##### Pull Requests - [#​3377](https://togithub.com/rollup/rollup/pull/3377): Switch to yargs-parser lib ([@​jamesgeorge007](https://togithub.com/jamesgeorge007)) - [#​3426](https://togithub.com/rollup/rollup/pull/3426): Use strict types with PluginDriver ([@​NotWoods](https://togithub.com/NotWoods)) - [#​3431](https://togithub.com/rollup/rollup/pull/3431): Add missing type declaration for getCombinedSourcemap ([@​Anidetrix](https://togithub.com/Anidetrix)) - [#​3432](https://togithub.com/rollup/rollup/pull/3432): Detail how return values from `augmentChunkHash` are used ([@​jakearchibald](https://togithub.com/jakearchibald)) ### [`v2.0.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​202) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.0.1...v2.0.2) _2020-03-07_ ##### Bug Fixes - Make sure the ESM import still works ([#​3430](https://togithub.com/rollup/rollup/issues/3430)) ##### Pull Requests - [#​3430](https://togithub.com/rollup/rollup/pull/3430): Fix conditional exports again ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.0.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​201) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.0.0...v2.0.1) _2020-03-07_ ##### Bug Fixes - Reenable importing rollup in Node 13.0 - 13.7 ([#​3428](https://togithub.com/rollup/rollup/issues/3428)) ##### Pull Requests - [#​3428](https://togithub.com/rollup/rollup/pull/3428): Fix conditional exports in Node 13.0 - 13.7 ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.0.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​200) [Compare Source](https://togithub.com/rollup/rollup/compare/v1.32.1...v2.0.0) _2020-03-06_ ##### Breaking Changes - Rollup now requires at least Node 10 to run, or a sufficiently modern browser ([#​3346](https://togithub.com/rollup/rollup/issues/3346)) - The file structure of Rollup's ESM builds has changed: - The main ESM entry point is now at `rollup/dist/es/rollup.js` instead of `rollup/dist/rollup.es.js` - The ESM browser build is at `rollup/dist/es/rollup.browser.js` instead of `rollup/dist/rollup.browser.es.js` In general, the ESM builds now follow the same naming scheme as the CJS builds but are located in the `rollup/dist/es` subfolder instead of `rollup/dist` ([#​3391](https://togithub.com/rollup/rollup/issues/3391)) - The "watch.chokidar" option no longer accepts a `boolean` value but only an object of parameters that is passed to the bundled Chokidar instance. Chokidar installations by the user will be ignored in favour of the bundled instance ([#​3331](https://togithub.com/rollup/rollup/issues/3331)) - Modules that are completely tree-shaken will no longer be listed as part of any chunks in `generateBundle` - The `experimentalOptimizeChunks` and `chunkGroupingSize` options have been removed - [acorn](https://togithub.com/acornjs/acorn) plugins can only be used if they accept a passed-in acorn instance instead of importing it themselves. See [acornjs/acorn#​870 (comment)](https://togithub.com/acornjs/acorn/pull/870#issuecomment-527339830) for what needs to be done to make plugins compatible that do not support this yet ([#​3391](https://togithub.com/rollup/rollup/issues/3391)) - Emitted chunks now have the TypeScript type `Uint8Array` instead of `Buffer`. A `Buffer` can still be used, though ([#​3395](https://togithub.com/rollup/rollup/issues/3395)) - The TypeScript types no longer use ESTree types for AST nodes but a very generic type that does not contain information specific to certain node types ([#​3395](https://togithub.com/rollup/rollup/issues/3395)) - The signature of the `writeBundle` plugin hook has been changed to match `generateBundle`: The bundle object is now passed as second parameter instead of first and the first parameter is the output options ([#​3361](https://togithub.com/rollup/rollup/issues/3361)) - The following plugin hooks have been removed: - ongenerate: use `generateBundle` instead - onwrite: use `writeBundle` instead - transformBundle: use `renderChunk` instead - transformChunk: use `renderChunk` instead - You can no longer access `this.watcher` on the plugin context. - The `transform` hook can no longer return `dependencies`. - The `treeshake.pureExternalModules` option will now show a deprecation warning when used: use `treeshake.moduleSideEffects: 'no-external'` instead - Using `import.meta.ROLLUP_ASSET_URL_<..>` and `import.meta.ROLLUP_CHUNK_URL_<..>` in code will now show warnings: use `import.meta.ROLLUP_FILE_URL_<..>` instead - The `resolveAssetUrl` hook will now show a deprecation warning when used: use `resolveFileUrl` instead - The following plugin context functions will show warnings when used: - `this.emitAsset`: use `this.emitFile` - `this.emitChunk`: use `this.emitFile` - `this.getAssetFileName`: use `this.getFileName` - `this.getChunkFileName`: use `this.getFileName` - `this.isExternal`: use `this.resolve` - `this.resolveId`: use `this.resolve` - Directly adding properties to the bundle object in the `generateBundle` is deprecated will show a warning (removing properties is allowed, though): Use `this.emitFile` - Accessing `chunk.isAsset` on the bundle is deprecated: Use `chunk.type === 'asset'` instead - The error code for a missing `name` property when targeting UMD has been changed to `MISSING_NAME_OPTION_FOR_IIFE_EXPORT` to emphasize this is needed for the IIFE part of UMD ([#​3393](https://togithub.com/rollup/rollup/issues/3393)) ##### Features - Rollup now bundles [Chokidar](https://togithub.com/paulmillr/chokidar) for a better watch experience ([#​3331](https://togithub.com/rollup/rollup/issues/3331)) - Rollup now bundles [acorn](https://togithub.com/acornjs/acorn) again, removing its only external dependency ([#​3391](https://togithub.com/rollup/rollup/issues/3391)) - Do not consider empty imports from side-effect-free modules for chunking and hoist side-effect imports if necessary ([#​3369](https://togithub.com/rollup/rollup/issues/3369)) - Rollup can now be imported as an ES module in Node via `import {rollup} from 'rollup'`. Note that this relies on Node's experimental [conditional package exports](https://nodejs.org/dist/latest-v13.x/docs/api/esm.html#esm_conditional_exports) feature and is therefore itself experimental ([#​3391](https://togithub.com/rollup/rollup/issues/3391)) - `systemjs` can be used as format alias for `system` ([#​3381](https://togithub.com/rollup/rollup/issues/3381)) ##### Bug Fixes - Unknown output options now trigger a warning when using the JavaScript API ([#​3352](https://togithub.com/rollup/rollup/issues/3352)) - Rollup will no longer introduce Node types into TypeScript projects that do not use them ([#​3395](https://togithub.com/rollup/rollup/issues/3395)) - Generate correct sourcemaps when tree-shaking occurs in a multi-file bundle ([#​3423](https://togithub.com/rollup/rollup/issues/3423)) ##### Pull Requests - [#​3331](https://togithub.com/rollup/rollup/pull/3331): Bundle Chokidar ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3343](https://togithub.com/rollup/rollup/pull/3343): Remove experimentalOptimizeChunks ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3346](https://togithub.com/rollup/rollup/pull/3346): Update minimum required Node version to 10 ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3352](https://togithub.com/rollup/rollup/pull/3352): Remove active deprecations ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3361](https://togithub.com/rollup/rollup/pull/3361): Change writeBundle signature to match generateBundle ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3369](https://togithub.com/rollup/rollup/pull/3369): Avoid empty imports from side-effect-free chunks ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3381](https://togithub.com/rollup/rollup/pull/3381): Rename esm to es everywhere, add systemjs alias ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3391](https://togithub.com/rollup/rollup/pull/3391): Bundle acorn, allow importing Rollup as Node ES module, update dependencies ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3393](https://togithub.com/rollup/rollup/pull/3393): Better error code for name-less umd bundle ([@​rail44](https://togithub.com/rail44)) - [#​3395](https://togithub.com/rollup/rollup/pull/3395): Remove `@types` dependencies ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3423](https://togithub.com/rollup/rollup/pull/3423): Update magic-string and fix sourcemaps ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v1.32.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​1321) [Compare Source](https://togithub.com/rollup/rollup/compare/v1.32.0...v1.32.1) _2020-03-06_ ##### Bug Fixes - Handle default export detection for AMD and IIFE externals that do not have a prototype ([#​3420](https://togithub.com/rollup/rollup/issues/3420)) - Handle missing whitespace when the else branch of an if-statement is simplified ([#​3421](https://togithub.com/rollup/rollup/issues/3421)) - Mention the importing module when reporting errors for missing named exports ([#​3401](https://togithub.com/rollup/rollup/issues/3401)) - Add code to warning for missing output.name of IIFE bundles ([#​3372](https://togithub.com/rollup/rollup/issues/3372)) ##### Pull Requests - [#​3372](https://togithub.com/rollup/rollup/pull/3372): Add warning code for missing output.name of IIFE bundle that has export ([@​rail44](https://togithub.com/rail44)) - [#​3401](https://togithub.com/rollup/rollup/pull/3401): Missing exports errors now print the importing module ([@​timiyay](https://togithub.com/timiyay)) - [#​3418](https://togithub.com/rollup/rollup/pull/3418): Structure lifecycle hooks, add links to build time hooks ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3420](https://togithub.com/rollup/rollup/pull/3420): Update generated code of getInteropBlock() to work with null prototype objects ([@​jdalton](https://togithub.com/jdalton)) - [#​3421](https://togithub.com/rollup/rollup/pull/3421): Avoid invalid code when "else" branch is simplified ([@​lukastaegert](https://togithub.com/lukastaegert))
rollup/rollup-plugin-babel ### [`v4.4.0`](https://togithub.com/rollup/rollup-plugin-babel/compare/v4.3.3...v4.4.0) [Compare Source](https://togithub.com/rollup/rollup-plugin-babel/compare/v4.3.3...v4.4.0)

Renovate configuration

:date: Schedule: "before 3am on the first day of the month" (UTC).

:vertical_traffic_light: Automerge: Enabled.

:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:ghost: Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR has been generated by WhiteSource Renovate. View repository job log here.