GroceriStar / react-only-intern-22

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

Bump enzyme from 3.3.0 to 3.4.0 #46

Closed dependabot-preview[bot] closed 6 years ago

dependabot-preview[bot] commented 6 years ago

Bumps enzyme from 3.3.0 to 3.4.0.

Changelog *Sourced from [enzyme's changelog](https://github.com/airbnb/enzyme/blob/master/CHANGELOG.md).* > ## 3.4.0 > > ### New Stuff > > - [**madicap**](https://github.com/madicap): `shallow`/`mount`: account for React.Fragment nodes ([#1733](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1733)) > - [**jquense**](https://github.com/jquense): Debug: `debugNode` now returns `[function]` for function children ([commit](https://github.com/airbnb/enzyme/commit/9745de0bf25e826186be07e7846f4ecd7c685592)) > - [**ljharb**](https://github.com/ljharb): `mount`: add `hydrateIn` option ([#1707](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1707)) > - [**ljharb**](https://github.com/ljharb): `shallow`: add “lifecycles” adapter option ([#1696](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1696)) > - [**krawaller**](https://github.com/krawaller): `shallow`/`mount`: allow `.exists()` to take an optional selector ([#1695](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1695)) > - [**koba04**](https://github.com/koba04): `shallow`: Add getSnapshotBeforeUpdate support ([#1657](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1657)) > - [**jquense**](https://github.com/jquense): `shallow`/`mount`: Add support for some pseudo selectors ([#1537](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1537)) > - [**blainekasten**](https://github.com/blainekasten): `debug`: Implement verbose debug output ([#1547](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1547)) > - @jquense/[**ljharb**](https://github.com/ljharb): `Debug`: `typeName` now calls the adapter’s `displayNameOfNode` if available ([#1701](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1701)) > - @jquense/[**ljharb**](https://github.com/ljharb): `mount`/`shallow`: `.name()`: call into adapter’s `displayNameOfNode`, if present ([#1701](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1701)) > - @jquense/[**ljharb**](https://github.com/ljharb): `Utils`: `nodeHasType`: call into adapter’s `displayNameOfNode`, if present ([#1701](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1701)) > - @jquense/[**ljharb**](https://github.com/ljharb): `selectors`: `buildPredicate`: call into adapter’s `isValidElementType`, if present ([#1701](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1701)) > - @emuraton/[**ljharb**](https://github.com/ljharb): `shallow`: `setProps()`: Add callback argument ([#1721](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1721)) > - [**ljharb**](https://github.com/ljharb): `mount`: add `.equals()` ([commit](https://github.com/airbnb/enzyme/commit/dcc8ab10fde06a963364f6cc79b89aa967d9bef2)) > - [**madicap**](https://github.com/madicap): Extract `getAdapter` from `Utils` into its own file ([#1732](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1732)) > > ### Fixes > > - [**ljharb**](https://github.com/ljharb): `shallow`/`mount`: `matchesElement`/`containsMatchingElement`: get adapter with options ([commit](https://github.com/airbnb/enzyme/commit/e954e4610d1ad89ae94b8f7c7baa8835cd331662)) > - [**ljharb**](https://github.com/ljharb): `RSTTraversal`: remove `nodeHasProperty` export; broken since [#1157](https://github-redirect.dependabot.com/airbnb/enzyme/issues/1157) ([commit](https://github.com/airbnb/enzyme/commit/edabb1b6b4648fb6469da43feb1d15c1b55666f7)) > - @ljharb/[**KordonDev**](https://github.com/KordonDev): `shallow`: `.at()`: return an empty wrapper when an index does not exist ([#1478](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1478)) > - [**ljharb**](https://github.com/ljharb): `shallow`: `.equals()`: flatten children when comparing ([commit](https://github.com/airbnb/enzyme/commit/18de4ed2e68c25f9fff9983d996b024704183801)) > - [**ljharb**](https://github.com/ljharb): `mount`/`shallow`: do not dedupe in flatMap ([commit](https://github.com/airbnb/enzyme/commit/72341740e1e650b16ca2e377fa4e3e144b35a558)) > - [**ljharb**](https://github.com/ljharb): `shallow`: `.closest()`: ensure an empty wrapper is returned for no match ([commit](https://github.com/airbnb/enzyme/commit/ce1e1132d080948265567e88417dface9c0c45e7)) > - [**krawaller**](https://github.com/krawaller): `selectors`: make general sibling not throw on root ([#1698](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1698)) > - @ljharb/[**angelikatyborska**](https://github.com/angelikatyborska) : `mount`: `text()`: null nodes return null ([#1582](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1582)) > - [**ljharb**](https://github.com/ljharb): `shallow`: `simulate`: ensure it returns itself ([commit](https://github.com/airbnb/enzyme/commit/1c2c58b4e554f3b0c5f862f8de79f15a62bef5cf)) > - [**koba04**](https://github.com/koba04): `shallow`: ShallowWrapper calls update() automatically ([#1499](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1499)) > - [**bdwain**](https://github.com/bdwain): `mount`/`shallow`: return null for missing keys ([#1536](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1536)) > - [**vsiao**](https://github.com/vsiao): Fix ShallowWrapper for array-rendering components ([#1498](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1498)) > - [**koba04**](https://github.com/koba04): Call `setState` callback after finishing the render ([#1453](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1453)) > - [**eddyerburgh**](https://github.com/eddyerburgh): Convert nodes to RST nodes before comparing ([#1423](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1423)) > - [**ljharb**](https://github.com/ljharb): improve "bad adapter" error message ([#1477](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1477)) > - [**ljharb**](https://github.com/ljharb): `shallow`/`mount`: default iterator should be iterable ([commit](https://github.com/airbnb/enzyme/commit/cfc5a3e47efa812f7a2c4fa5ad2b0687daacd280)) > > ### Refactors > > - [**ReactiveRaven**](https://github.com/ReactiveRaven): `selectors`: fix typos; avoid reusing variable unnecessarily ([#1681](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1681)) > - @koba04/[**ljharb**](https://github.com/ljharb): `shallow`: Use `spyMethod` to inspect the result of `shouldComponentUpdate`/`getSnapshotBeforeUpdate` ([#1192](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1192)) > - [**ljharb**](https://github.com/ljharb): `Utils`: `configuration`: change to named exports. ([commit](https://github.com/airbnb/enzyme/commit/d7f32617e6ea93b739f4e4c3f6228a8e382aeb06)) > - [**ljharb**](https://github.com/ljharb): use `array.prototype.flat` ([commit](https://github.com/airbnb/enzyme/commit/e52a02ddac0fab0d1d93fd57d7f073f8bdc850bf)) > > ### Docs > > - [**jack-lewin**](https://github.com/jack-lewin): Clarify dev workflow in CONTRIBUTING.md ([#1207](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1207)) > - [**robrichard**](https://github.com/robrichard): Provide migration instructions for `ref(refName)` ([#1470](https://github-redirect.dependabot.com/airbnb/enzyme/pull/1470)) > ... (truncated)
Commits - [`fce12bc`](https://github.com/airbnb/enzyme/commit/fce12bc7ff7ae12baf211cd0a9d70be96731f191) [enzyme] v3.4.0 - [`f5a648c`](https://github.com/airbnb/enzyme/commit/f5a648cff8a5c1e0af3b7e8bacb9110e44ac9ca6) [enzyme-adapter-react-16] v1.2.0 - [`38bfb31`](https://github.com/airbnb/enzyme/commit/38bfb310fb607ec67825c5edbe6c0b176959033b) [enzyme-adapter-react-helper] v1.3.0 - [`7322571`](https://github.com/airbnb/enzyme/commit/73225713b18e5246d2e17bfae24d21fa4b9012ad) [enzyme-adapter-react-helper] [deps] update `airbnb-js-shims`, `install-peerd... - [`806106d`](https://github.com/airbnb/enzyme/commit/806106d3f0bf09ce6272a6e80e09a781a99fbc90) [Tests] add React v16.3 - [`de990b7`](https://github.com/airbnb/enzyme/commit/de990b738fc8915cc500450df88998b83f9b60dd) [*] [deps] update `react-is`, `safe-publish-latest`, `babel-preset-airbnb`, `... - [`6517ea4`](https://github.com/airbnb/enzyme/commit/6517ea420a4b6f5b173fd012afe5b816402574b7) [enzyme-adapter-react-16.3] fork the react 16 adapter for ~16.3 - [`41d833e`](https://github.com/airbnb/enzyme/commit/41d833eac92332fe7452f0b8c0519a8dce019cc6) [Docs] Clarify dev workflow in CONTRIBUTING.md - [`38acea4`](https://github.com/airbnb/enzyme/commit/38acea4d4b60af4fe747da0b282ece4c073dfde7) [Docs] Provide migration instructions for `ref(refName)` - [`7869527`](https://github.com/airbnb/enzyme/commit/78695279d1766ba2d8bee7dd9cb41d3dfdc036ed) [Docs] `shallow`/`mount`: Add callback arg to setProps header - Additional commits viewable in [compare view](https://github.com/airbnb/enzyme/compare/enzyme@3.3.0...enzyme@3.4.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 merge` will merge this PR after your CI passes on it - `@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.