fusionjs / fusion-plugin-service-worker

Migrated to https://github.com/fusionjs/fusionjs
MIT License
6 stars 8 forks source link

Update dependency enzyme to v3.6.0 #45

Closed renovate[bot] closed 6 years ago

renovate[bot] commented 6 years ago

This PR contains the following updates:

Package Type Update Change References
enzyme devDependencies minor 3.3.0 -> 3.6.0 homepage, source

Release Notes

airbnb/enzyme ### [`v3.6.0`](https://renovatebot.com/gh/airbnb/enzyme/blob/master/CHANGELOG.md#​360) ##### New Stuff - `shallow`/`mount`: add `simulateError` ([#​1797](https://renovatebot.com/gh/airbnb/enzyme/pull/1797)) ### [`v3.5.1`](https://renovatebot.com/gh/airbnb/enzyme/blob/master/CHANGELOG.md#​351) ##### Fixes - `shallow`/`mount`: `containsMatchingElement`: trim whitespace ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/171e952), [#​636](https://renovatebot.com/gh/airbnb/enzyme/issues/636)) - `debug`: inspect objects instead of showing them as `` ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/a7b6e78)) ##### Documentation - `mount`: `ref`: Update docs to be consistent with v3 ([#​1242](https://renovatebot.com/gh/airbnb/enzyme/pull/1242)) ##### Refactors - `shallow`/`mount`: make tests and method ordering more consistent ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/d0fccaf)) - RSTTraversal: remove unnecessary `adapter` truthiness check ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/394a327)) ### [`v3.5.0`](https://renovatebot.com/gh/airbnb/enzyme/blob/master/CHANGELOG.md#​350) ##### New Stuff - Add forwardRef support ([#​1592](https://renovatebot.com/gh/airbnb/enzyme/pull/1592), [@​jquense](https://renovatebot.com/gh/jquense)) - Add Portal support ([#​1760](https://renovatebot.com/gh/airbnb/enzyme/pull/1760), [#​1761](https://renovatebot.com/gh/airbnb/enzyme/pull/1760), [#​1772](https://renovatebot.com/gh/airbnb/enzyme/pull/1772), [#​1774](https://renovatebot.com/gh/airbnb/enzyme/pull/1774), [@​jgzuke](https://renovatebot.com/gh/jgzuke)) - Add pointer events support ([#​1753](https://renovatebot.com/gh/airbnb/enzyme/pull/1753), [@​ljharb](https://renovatebot.com/gh/ljharb)) ##### Fixes - preemptively fix compat with React v16.4.3 ([#​1790](https://renovatebot.com/gh/airbnb/enzyme/pull/1790), [#​1778](https://renovatebot.com/gh/airbnb/enzyme/pull/1778), [@​gaearon](https://renovatebot.com/gh/gaearon), [@​aweary](https://renovatebot.com/gh/aweary)) - `shallow`: prevent rerenders with PureComponents ([#​1786](https://renovatebot.com/gh/airbnb/enzyme/pull/1786), [@​koba04](https://renovatebot.com/gh/koba04)) - `shallow`: skip updates when nextState is `null` or `undefined` ([#​1785](https://renovatebot.com/gh/airbnb/enzyme/pull/1785), [@​koba04](https://renovatebot.com/gh/koba04)) - `shallow`: `setState` after `setProps` calls `componentWillReceiveProps` ([#​1779](https://renovatebot.com/gh/airbnb/enzyme/pull/1779), [@​peanutenthusiast](https://renovatebot.com/gh/peanutenthusiast)) - `mount`/`shallow`: be stricter on the wrapper’s setState/setProps callback ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/ff11d2219da575d09ca8edfa19df42b8f78b506f)) - `shallow`/`mount`: improve error message when wrapping invalid elements ([#​1759](https://renovatebot.com/gh/airbnb/enzyme/pull/1759), [@​jgzuke](https://renovatebot.com/gh/jgzuke)) ##### Refactors - remove most uses of lodash ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/89b39b6f1c59aa771f4452a27b159f7aa2616e84)) ##### Meta Stuff - ensure a license and readme is present in all packages when published ### [`v3.4.4`](https://renovatebot.com/gh/airbnb/enzyme/blob/master/CHANGELOG.md#​344) ##### Fixes - [@​koba04](https://renovatebot.com/gh/koba04): `shallow`: fix unexpected call to componentDidMount ([#​1768](https://renovatebot.com/gh/airbnb/enzyme/pull/1768)) ### [`v3.4.3`](https://renovatebot.com/gh/airbnb/enzyme/blob/master/CHANGELOG.md#​343) ##### Fixes - @​ljharb/@​koba04: `shallow`: `.setState()`: stub out `setState` on non-root code paths as well ([#​1763](https://renovatebot.com/gh/airbnb/enzyme/pull/1763)) - [@​ljharb](https://renovatebot.com/gh/ljharb): `shallow`/`mount`: restore fallback when adapter lacks `invokeSetStateCallback` ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/093b2edb98d3abfe6b61d800503e04aac08e7496)) - [@​ljharb](https://renovatebot.com/gh/ljharb): `mount`: `setState`: invoke callback with the proper receiver ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/ec3beef3ba86c4352fe6e9ab2848b3b4f61ac1da)) - [@​ljharb](https://renovatebot.com/gh/ljharb): `mount`: `state` and `setState` should throw an explicit error message when called on an SFC ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/8feee5a89e9091636e9ec0ec3814d287ced20136)) ### [`v3.4.2`](https://renovatebot.com/gh/airbnb/enzyme/blob/master/CHANGELOG.md#​342) ##### Fixes - [@​koba04](https://renovatebot.com/gh/koba04): `shallow`: call cDU when an instance calls setState ([#​1742](https://renovatebot.com/gh/airbnb/enzyme/pull/1742)) - [@​ReactiveRaven](https://renovatebot.com/gh/ReactiveRaven): `selectors`: fix descendant selector ([#​1680](https://renovatebot.com/gh/airbnb/enzyme/pull/1680)) ### [`v3.4.1`](https://renovatebot.com/gh/airbnb/enzyme/blob/master/CHANGELOG.md#​341) ##### Fixes - [@​ljharb](https://renovatebot.com/gh/ljharb): `shallow`: `setProps`: merge instead of replace props ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/9b4d0276f57e54be06aca6c3636120b3c4053310)) ##### Documentation - [@​koba04](https://renovatebot.com/gh/koba04): Fix an adapter table style in README.md and a migration guide ([#​1734](https://renovatebot.com/gh/airbnb/enzyme/pull/1734)) ### [`v3.4.0`](https://renovatebot.com/gh/airbnb/enzyme/blob/master/CHANGELOG.md#​340) ##### New Stuff - [@​madicap](https://renovatebot.com/gh/madicap): `shallow`/`mount`: account for React.Fragment nodes ([#​1733](https://renovatebot.com/gh/airbnb/enzyme/pull/1733)) - [@​jquense](https://renovatebot.com/gh/jquense): Debug: `debugNode` now returns `[function]` for function children ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/9745de0bf25e826186be07e7846f4ecd7c685592)) - [@​ljharb](https://renovatebot.com/gh/ljharb): `mount`: add `hydrateIn` option ([#​1707](https://renovatebot.com/gh/airbnb/enzyme/pull/1707)) - [@​ljharb](https://renovatebot.com/gh/ljharb): `shallow`: add “lifecycles” adapter option ([#​1696](https://renovatebot.com/gh/airbnb/enzyme/pull/1696)) - [@​krawaller](https://renovatebot.com/gh/krawaller): `shallow`/`mount`: allow `.exists()` to take an optional selector ([#​1695](https://renovatebot.com/gh/airbnb/enzyme/pull/1695)) - [@​koba04](https://renovatebot.com/gh/koba04): `shallow`: Add getSnapshotBeforeUpdate support ([#​1657](https://renovatebot.com/gh/airbnb/enzyme/pull/1657)) - [@​jquense](https://renovatebot.com/gh/jquense): `shallow`/`mount`: Add support for some pseudo selectors ([#​1537](https://renovatebot.com/gh/airbnb/enzyme/pull/1537)) - [@​blainekasten](https://renovatebot.com/gh/blainekasten): `debug`: Implement verbose debug output ([#​1547](https://renovatebot.com/gh/airbnb/enzyme/pull/1547)) - @​jquense/@​ljharb: `Debug`: `typeName` now calls the adapter’s `displayNameOfNode` if available ([#​1701](https://renovatebot.com/gh/airbnb/enzyme/pull/1701)) - @​jquense/@​ljharb: `mount`/`shallow`: `.name()`: call into adapter’s `displayNameOfNode`, if present ([#​1701](https://renovatebot.com/gh/airbnb/enzyme/pull/1701)) - @​jquense/@​ljharb: `Utils`: `nodeHasType`: call into adapter’s `displayNameOfNode`, if present ([#​1701](https://renovatebot.com/gh/airbnb/enzyme/pull/1701)) - @​jquense/@​ljharb: `selectors`: `buildPredicate`: call into adapter’s `isValidElementType`, if present ([#​1701](https://renovatebot.com/gh/airbnb/enzyme/pull/1701)) - @​emuraton/@​ljharb: `shallow`: `setProps()`: Add callback argument ([#​1721](https://renovatebot.com/gh/airbnb/enzyme/pull/1721)) - [@​ljharb](https://renovatebot.com/gh/ljharb): `mount`: add `.equals()` ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/dcc8ab10fde06a963364f6cc79b89aa967d9bef2)) - [@​madicap](https://renovatebot.com/gh/madicap): Extract `getAdapter` from `Utils` into its own file ([#​1732](https://renovatebot.com/gh/airbnb/enzyme/pull/1732)) ##### Fixes - [@​ljharb](https://renovatebot.com/gh/ljharb): `shallow`/`mount`: `matchesElement`/`containsMatchingElement`: get adapter with options ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/e954e4610d1ad89ae94b8f7c7baa8835cd331662)) - [@​ljharb](https://renovatebot.com/gh/ljharb): `RSTTraversal`: remove `nodeHasProperty` export; broken since [#​1157](https://renovatebot.com/gh/airbnb/enzyme/issues/1157) ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/edabb1b6b4648fb6469da43feb1d15c1b55666f7)) - @​ljharb/@​KordonDev: `shallow`: `.at()`: return an empty wrapper when an index does not exist ([#​1478](https://renovatebot.com/gh/airbnb/enzyme/pull/1478)) - [@​ljharb](https://renovatebot.com/gh/ljharb): `shallow`: `.equals()`: flatten children when comparing ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/18de4ed2e68c25f9fff9983d996b024704183801)) - [@​ljharb](https://renovatebot.com/gh/ljharb): `mount`/`shallow`: do not dedupe in flatMap ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/72341740e1e650b16ca2e377fa4e3e144b35a558)) - [@​ljharb](https://renovatebot.com/gh/ljharb): `shallow`: `.closest()`: ensure an empty wrapper is returned for no match ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/ce1e1132d080948265567e88417dface9c0c45e7)) - [@​krawaller](https://renovatebot.com/gh/krawaller): `selectors`: make general sibling not throw on root ([#​1698](https://renovatebot.com/gh/airbnb/enzyme/pull/1698)) - @​ljharb/@​angelikatyborska : `mount`: `text()`: null nodes return null ([#​1582](https://renovatebot.com/gh/airbnb/enzyme/pull/1582)) - [@​ljharb](https://renovatebot.com/gh/ljharb): `shallow`: `simulate`: ensure it returns itself ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/1c2c58b4e554f3b0c5f862f8de79f15a62bef5cf)) - [@​koba04](https://renovatebot.com/gh/koba04): `shallow`: ShallowWrapper calls update() automatically ([#​1499](https://renovatebot.com/gh/airbnb/enzyme/pull/1499)) - [@​bdwain](https://renovatebot.com/gh/bdwain): `mount`/`shallow`: return null for missing keys ([#​1536](https://renovatebot.com/gh/airbnb/enzyme/pull/1536)) - [@​vsiao](https://renovatebot.com/gh/vsiao): Fix ShallowWrapper for array-rendering components ([#​1498](https://renovatebot.com/gh/airbnb/enzyme/pull/1498)) - [@​koba04](https://renovatebot.com/gh/koba04): Call `setState` callback after finishing the render ([#​1453](https://renovatebot.com/gh/airbnb/enzyme/pull/1453)) - [@​eddyerburgh](https://renovatebot.com/gh/eddyerburgh): Convert nodes to RST nodes before comparing ([#​1423](https://renovatebot.com/gh/airbnb/enzyme/pull/1423)) - [@​ljharb](https://renovatebot.com/gh/ljharb): improve "bad adapter" error message ([#​1477](https://renovatebot.com/gh/airbnb/enzyme/pull/1477)) - [@​ljharb](https://renovatebot.com/gh/ljharb): `shallow`/`mount`: default iterator should be iterable ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/cfc5a3e47efa812f7a2c4fa5ad2b0687daacd280)) ##### Refactors - [@​ReactiveRaven](https://renovatebot.com/gh/ReactiveRaven): `selectors`: fix typos; avoid reusing variable unnecessarily ([#​1681](https://renovatebot.com/gh/airbnb/enzyme/pull/1681)) - @​koba04/@​ljharb: `shallow`: Use `spyMethod` to inspect the result of `shouldComponentUpdate`/`getSnapshotBeforeUpdate` ([#​1192](https://renovatebot.com/gh/airbnb/enzyme/pull/1192)) - [@​ljharb](https://renovatebot.com/gh/ljharb): `Utils`: `configuration`: change to named exports. ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/d7f32617e6ea93b739f4e4c3f6228a8e382aeb06)) - [@​ljharb](https://renovatebot.com/gh/ljharb): use `array.prototype.flat` ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/e52a02ddac0fab0d1d93fd57d7f073f8bdc850bf)) ##### Documentation - [@​jack-lewin](https://renovatebot.com/gh/jack-lewin): Clarify dev workflow in CONTRIBUTING.md ([#​1207](https://renovatebot.com/gh/airbnb/enzyme/pull/1207)) - [@​robrichard](https://renovatebot.com/gh/robrichard): Provide migration instructions for `ref(refName)` ([#​1470](https://renovatebot.com/gh/airbnb/enzyme/pull/1470)) - [@​DannyDelott](https://renovatebot.com/gh/DannyDelott): `shallow`/`mount`: Add callback arg to setProps header ([#​1361](https://renovatebot.com/gh/airbnb/enzyme/pull/1361)) - [@​conor-cafferkey-sociomantic](https://renovatebot.com/gh/conor-cafferkey-sociomantic): `mount`: Updated docs for ReactWrapper.instance(); remove docs for v2's `getNode()`/`getNodes()` ([#​1714](https://renovatebot.com/gh/airbnb/enzyme/pull/1714)) - [@​koba04](https://renovatebot.com/gh/koba04): Make clearer the docs for .mount() ([#​1540](https://renovatebot.com/gh/airbnb/enzyme/pull/1540)) - [@​ialexryan](https://renovatebot.com/gh/ialexryan): Update signature of .type() in shallow.md ([#​1492](https://renovatebot.com/gh/airbnb/enzyme/issues/1492)](\[[#​1492](https://renovatebot.com/gh/airbnb/enzyme/pull/1492))) ##### Meta Stuff - [@​ljharb](https://renovatebot.com/gh/ljharb): ensure a license and readme is present in all packages when published - [@​ljharb](https://renovatebot.com/gh/ljharb): [meta] fix package.json scripts

Renovate configuration

:date: Schedule: 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.


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

CLAassistant commented 6 years ago

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

KevinGrandon commented 6 years ago

!merge