amilajack / popcorn-time-desktop

🍿 🕐 🎞 A Modern Popcorn Time Client
MIT License
467 stars 110 forks source link

chore(deps): update dependency enzyme to ^3.8.0 #487

Closed renovate[bot] closed 5 years ago

renovate[bot] commented 5 years ago

This PR contains the following updates:

Package Type Update Change References
enzyme devDependencies minor ^3.4.4 -> ^3.8.0 homepage, source

Release Notes

airbnb/enzyme ### [`v3.8.0`](https://renovatebot.com/gh/airbnb/enzyme/blob/master/CHANGELOG.md#​380) [Compare Source](https://renovatebot.com/gh/airbnb/enzyme/compare/enzyme@3.7.0...enzyme@3.8.0) ##### New Stuff - `shallow`/`mount`: add `renderProp` ([#​1863](https://renovatebot.com/gh/airbnb/enzyme/issues/1863), [#​1891](https://renovatebot.com/gh/airbnb/enzyme/issues/1891)) ##### Fixes - `shallow`/`mount`: improve error message for "single node" assertion ([#​1904](https://renovatebot.com/gh/airbnb/enzyme/issues/1904)) - `shallow`: shallow compare, not deep compare, state and props to determine rerendering ([#​1915](https://renovatebot.com/gh/airbnb/enzyme/issues/1915)) ##### Docs - `shallow`: `dive`: add a note about throwing an error ([#​1905](https://renovatebot.com/gh/airbnb/enzyme/issues/1905)) - `selectors: update re`displayName\` ([#​1932](https://renovatebot.com/gh/airbnb/enzyme/issues/1932)) - `shallow`: `get`: fixed wrong `props()` usage ([#​1921](https://renovatebot.com/gh/airbnb/enzyme/issues/1921)) - `shallow`: `html`: shallow renders full tree ([#​1912](https://renovatebot.com/gh/airbnb/enzyme/issues/1912)) - Updated broken link for “.hostNodes()” in migration guide from enzyme 2 to 3 ([#​1909](https://renovatebot.com/gh/airbnb/enzyme/issues/1909)) - Add tape example project link ([#​1898](https://renovatebot.com/gh/airbnb/enzyme/issues/1898)) - `prop`: fix typo ([#​1883](https://renovatebot.com/gh/airbnb/enzyme/issues/1883)) - Document full support for attribute selectors ([#​1881](https://renovatebot.com/gh/airbnb/enzyme/issues/1881)) - Documentation update for testing React Native with jsdom ([#​1873](https://renovatebot.com/gh/airbnb/enzyme/issues/1873)) - Update JSDOM docs to include {request|cancel}AnimationFrame polyfills ([#​1867](https://renovatebot.com/gh/airbnb/enzyme/issues/1867)) - `mount`: `ref`: use correct type ([#​1865](https://renovatebot.com/gh/airbnb/enzyme/issues/1865)) ### [`v3.7.0`](https://renovatebot.com/gh/airbnb/enzyme/blob/master/CHANGELOG.md#​370) [Compare Source](https://renovatebot.com/gh/airbnb/enzyme/compare/enzyme@3.6.0...enzyme@3.7.0) ##### New Stuff - `mount`: `.state()`/`.setState()`: allow calling on children ([#​1802](https://renovatebot.com/gh/airbnb/enzyme/pull/1802), [@​ljharb](https://renovatebot.com/gh/ljharb)) - `configuration`: add `reset` ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/d91d95b8da8900c8f4b7090d2256422a82398ca9)) ##### Fixes - `makeOptions`: ensure that config-level `attachTo`/`hydrateIn` are inherited into wrapper options ([#​1836](https://renovatebot.com/gh/airbnb/enzyme/issues/1836), [@​ljharb](https://renovatebot.com/gh/ljharb)) - `shallow`/`Utils`: call into adapter’s `isCustomComponentElement` if present ([#​1832](https://renovatebot.com/gh/airbnb/enzyme/pull/1832), [@​SinHouse](https://renovatebot.com/gh/SinHouse)) - `shallow`/`mount`: throw an explicit error when state is null/undefined ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/9ea33d7667a93885d6f1d6e12b0c2661d6d47cd1)) - freeze `ROOT_NODES` for child wrappers ([#​1811](https://renovatebot.com/gh/airbnb/enzyme/pull/1811), [@​jgzuke](https://renovatebot.com/gh/jgzuke)) - `shallow`: `.parents`: ensure that one `.find` call does not affect another ([#​1781](https://renovatebot.com/gh/airbnb/enzyme/pull/1781), [@​ljharb](https://renovatebot.com/gh/ljharb)) - `mount`: update after `simulateError` ([#​1812](https://renovatebot.com/gh/airbnb/enzyme/pull/1812), [@​jgzuke](https://renovatebot.com/gh/jgzuke)) ##### Refactors - `mount`/`shallow`: `getElement`: use `this.single` ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/6b63db3b002a419076c82d34554916400ef392fa)) ### [`v3.6.0`](https://renovatebot.com/gh/airbnb/enzyme/blob/master/CHANGELOG.md#​360) [Compare Source](https://renovatebot.com/gh/airbnb/enzyme/compare/enzyme@3.5.1...enzyme@3.6.0) ##### New Stuff - `shallow`/`mount`: add `simulateError` ([#​1797](https://renovatebot.com/gh/airbnb/enzyme/pull/1797), [@​ljharb](https://renovatebot.com/gh/ljharb)) ### [`v3.5.1`](https://renovatebot.com/gh/airbnb/enzyme/blob/master/CHANGELOG.md#​351) [Compare Source](https://renovatebot.com/gh/airbnb/enzyme/compare/enzyme@3.5.0...enzyme@3.5.1) ##### 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), [@​adam-golab](https://renovatebot.com/gh/adam-golab)) ##### 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) [Compare Source](https://renovatebot.com/gh/airbnb/enzyme/compare/enzyme@3.4.4...enzyme@3.5.0) ##### 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

Renovate configuration

:date: Schedule: "on saturday" (UTC).

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