GroceriStar / react-only-intern-22

GNU General Public License v3.0
0 stars 0 forks source link

Bump enzyme from 3.4.4 to 3.7.0 #74

Open dependabot-preview[bot] opened 6 years ago

dependabot-preview[bot] commented 6 years ago

Bumps enzyme from 3.4.4 to 3.7.0.

Changelog *Sourced from [enzyme's changelog](https://github.com/airbnb/enzyme/blob/master/CHANGELOG.md).* > ## 3.7.0 > > ### New Stuff > - `mount`: `.state()`/`.setState()`: allow calling on children ([#1802](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1802), [**ljharb**](https://github.com/ljharb)) > - `configuration`: add `reset` ([commit](https://github.com/airbnb/enzyme/commit/d91d95b8da8900c8f4b7090d2256422a82398ca9)) > > ### Fixes > - `makeOptions`: ensure that config-level `attachTo`/`hydrateIn` are inherited into wrapper options ([#1836](https://github-redirect.dependabot.com/airbnb/enzyme/issues/1836), [**ljharb**](https://github.com/ljharb)) > - `shallow`/`Utils`: call into adapter’s `isCustomComponentElement` if present ([#1832](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1832), [**SinHouse**](https://github.com/SinHouse)) > - `shallow`/`mount`: throw an explicit error when state is null/undefined ([commit](https://github.com/airbnb/enzyme/commit/9ea33d7667a93885d6f1d6e12b0c2661d6d47cd1)) > - freeze `ROOT_NODES` for child wrappers ([#1811](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1811), [**jgzuke**](https://github.com/jgzuke)) > - `shallow`: `.parents`: ensure that one `.find` call does not affect another ([#1781](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1781), [**ljharb**](https://github.com/ljharb)) > - `mount`: update after `simulateError` ([#1812](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1812), [**jgzuke**](https://github.com/jgzuke)) > > ### Refactors > - `mount`/`shallow`: `getElement`: use `this.single` ([commit](https://github.com/airbnb/enzyme/commit/6b63db3b002a419076c82d34554916400ef392fa)) > > ## 3.6.0 > > ### New Stuff > - `shallow`/`mount`: add `simulateError` ([#1797](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1797), [**ljharb**](https://github.com/ljharb)) > > ## 3.5.1 > > ### Fixes > - `shallow`/`mount`: `containsMatchingElement`: trim whitespace ([commit](https://github.com/airbnb/enzyme/commit/171e952), [#636](https://github-redirect.dependabot.com/airbnb/enzyme/issues/636)) > - `debug`: inspect objects instead of showing them as `` ([commit](https://github.com/airbnb/enzyme/commit/a7b6e78)) > > ### Documentation > - `mount`: `ref`: Update docs to be consistent with v3 ([#1242](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1242), [**adam-golab**](https://github.com/adam-golab)) > > ### Refactors > - `shallow`/`mount`: make tests and method ordering more consistent ([commit](https://github.com/airbnb/enzyme/commit/d0fccaf)) > - RSTTraversal: remove unnecessary `adapter` truthiness check ([commit](https://github.com/airbnb/enzyme/commit/394a327)) > > ## 3.5.0 > > ### New Stuff > - Add forwardRef support ([#1592](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1592), [**jquense**](https://github.com/jquense)) > - Add Portal support ([#1760](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1760), [#1761](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1760), [#1772](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1772), [#1774](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1774), [**jgzuke**](https://github.com/jgzuke)) > - Add pointer events support ([#1753](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1753), [**ljharb**](https://github.com/ljharb)) > > ### Fixes > - preemptively fix compat with React v16.4.3 ([#1790](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1790), [#1778](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1778), [**gaearon**](https://github.com/gaearon), [**aweary**](https://github.com/aweary)) > - `shallow`: prevent rerenders with PureComponents ([#1786](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1786), [**koba04**](https://github.com/koba04)) > - `shallow`: skip updates when nextState is `null` or `undefined` ([#1785](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1785), [**koba04**](https://github.com/koba04)) > - `shallow`: `setState` after `setProps` calls `componentWillReceiveProps` ([#1779](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1779), [**peanutenthusiast**](https://github.com/peanutenthusiast)) > - `mount`/`shallow`: be stricter on the wrapper’s setState/setProps callback ([commit](https://github.com/airbnb/enzyme/commit/ff11d2219da575d09ca8edfa19df42b8f78b506f)) > - `shallow`/`mount`: improve error message when wrapping invalid elements ([#1759](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1759), [**jgzuke**](https://github.com/jgzuke)) > > ... (truncated)
Commits - [`8c8840e`](https://github.com/airbnb/enzyme/commit/8c8840ea05ca837e6337eebe724c625410d12f02) [enzyme] v3.7.0 - [`7ad6910`](https://github.com/airbnb/enzyme/commit/7ad6910fa89c81cc3140a310ca32d0f09d588f14) [enzyme-adapter-react-16] v1.6.0 - [`e558ada`](https://github.com/airbnb/enzyme/commit/e558ada68c8e82354cac49729eb83333f4c4db53) [enzyme-adapter-react-16.3] v1.3.0 - [`e29321c`](https://github.com/airbnb/enzyme/commit/e29321c2f340d46972c4456076e50218d4dadd63) [Fix] `makeOptions`: ensure that config-level `attachTo`/`hydrateIn` are inhe... - [`d91d95b`](https://github.com/airbnb/enzyme/commit/d91d95b8da8900c8f4b7090d2256422a82398ca9) [New] `configuration`: add `reset` - [`f2da4cb`](https://github.com/airbnb/enzyme/commit/f2da4cb6aeb75f559381a220e004a298ec957fae) [enzyme-adapter-react-{16.1,16.2}] v1.2.1 - [`86232f2`](https://github.com/airbnb/enzyme/commit/86232f209e05f6f758592fdba574a2692d9e2691) Adapter updates: - [`0c6b981`](https://github.com/airbnb/enzyme/commit/0c6b9813598503235cc482f6d9425289d79a3fde) [*] [deps] update `babel-preset-airbnb`, `chai`, `eslint`, `mocha`, `enzyme-a... - [`7ffbc86`](https://github.com/airbnb/enzyme/commit/7ffbc862cebac549f3886d76a98d63bfad26dcce) [meta] omit the mocha example from `npm run since` - [`d19f13e`](https://github.com/airbnb/enzyme/commit/d19f13ed977cccc12741eb451e386093106d0eb8) Merge pull request [#1832](https://github-redirect.dependabot.com/airbnb/enzyme/issues/1832) from SinHouse/master - Additional commits viewable in [compare view](https://github.com/airbnb/enzyme/compare/enzyme@3.4.4...enzyme@3.7.0)


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.