Open renovate[bot] opened 5 years ago
This pull request is being automatically deployed with ZEIT Now (learn more). To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://zeit.co/nordnet/nordnet-ui-kit/qxzdb7qa4 🌍 Preview: https://nordnet-ui-kit-git-renovate-enzyme-3x.nordnet1.now.sh
This PR contains the following updates:
3.9.0
->3.11.0
Release Notes
airbnb/enzyme
### [`v3.11.0`](https://togithub.com/airbnb/enzyme/blob/master/CHANGELOG.md#3110) [Compare Source](https://togithub.com/airbnb/enzyme/compare/enzyme@3.10.0...enzyme@3.11.0) ##### New Stuff - `render`: handle Fiber strings and numbers ([#2221](https://togithub.com/airbnb/enzyme/issues/2221)) ##### Fixes - `shallow`: Share child context logic between `shallow` and `dive` ([#2296](https://togithub.com/airbnb/enzyme/issues/2296)) - `mount`: `children`: include text nodes ($2269) - `mount`: `invoke`: use adapter’s `wrapInvoke` if present ([#2158](https://togithub.com/airbnb/enzyme/issues/2158)) ##### Docs - `mount`/`shallow`: `closest`/`parent`: Add missing arguments description ([#2264](https://togithub.com/airbnb/enzyme/issues/2264)) - `mount`/`shallow`: fix pluralization of “exist” ([#2262](https://togithub.com/airbnb/enzyme/issues/2262)) - `shallow`/`mount`: `simulate`: added functional component example to simulate doc ([#2248](https://togithub.com/airbnb/enzyme/issues/2248)) - `mount`: `debug`: add missing verbose option flag ([#2184](https://togithub.com/airbnb/enzyme/issues/2184)) - `mount`/`shallow`: `update`: fix semantics description ([#2194](https://togithub.com/airbnb/enzyme/issues/2194)) - add missing backticks to linked method names ([#2170](https://togithub.com/airbnb/enzyme/issues/2170)) - `invoke`: Add missing backticks to end of codeblock ([#2160](https://togithub.com/airbnb/enzyme/issues/2160)) - `invoke`: Fix typo ([#2167](https://togithub.com/airbnb/enzyme/issues/2167)) - Explicit React CSS selector syntax description ([#2178](https://togithub.com/airbnb/enzyme/issues/2178)) ##### Meta Stuff - \[meta] add `funding` field - \[meta] Update airbnb.io URLs to use https ([#2222](https://togithub.com/airbnb/enzyme/issues/2222)) - \[deps] update `is-boolean-object`, `is-callable`, `is-number-object`, `is-string`, `enzyme-shallow-equal`, `array.prototype.flat`, `function.prototype.name`, `html-element-map`, `is-regex`, `object-inspect`, `object-is`, `object.entries`, `object.vales`, `raf`, `string.prototype.trim` - \[dev deps] update `eslint`, `eslint-plugin-import`, `eslint-plugin-markdown`, `eslint-plugin-react`, `safe-publish-latest`, `eslint-config-airbnb`, `rimraf`, `safe-publish-latest`, `karma-firefox-launcher`, `babel-preset-airbnb`, `glob-gitignore`, `semver`, `eslint-plugin-jsx-a11y` ### [`v3.10.0`](https://togithub.com/airbnb/enzyme/blob/master/CHANGELOG.md#3100) [Compare Source](https://togithub.com/airbnb/enzyme/compare/enzyme@3.9.0...enzyme@3.10.0) ##### New Stuff - `shallow` add `suspenseFallback` option; support `Suspense`/`Lazy` ([#1975](https://togithub.com/airbnb/enzyme/issues/1975)) - `shallow`/`mount`: add `invoke(propName)(...args)` ([#1856](https://togithub.com/airbnb/enzyme/issues/1856), [#945](https://togithub.com/airbnb/enzyme/issues/945)) - `shallow`: Support rendering and `dive()`ing `createContext()` providers and consumers ([#1966](https://togithub.com/airbnb/enzyme/issues/1966)) - `mount`/`shallow`: add `getWrappingComponent` ([#1960](https://togithub.com/airbnb/enzyme/issues/1960)) - `Utils`: add `isCustomComponent` ([#1960](https://togithub.com/airbnb/enzyme/issues/1960)) - `Utils`: add `stub` argument to `spyMethod` - `EnzymeAdapter`: add `matchesElementType` ([#2146](https://togithub.com/airbnb/enzyme/issues/2146)) - `RSTTraversal`: add `getHTMLFromHostNodes` ##### Fixes - `selectors`: unwrap `memo` elements - in both directions ([#2146](https://togithub.com/airbnb/enzyme/issues/2146)) - `shallow`: properly determine "should render" for `PureComponent`s ([#2096](https://togithub.com/airbnb/enzyme/issues/2096)) - `mount`/`shallow`: `renderProp`: improve error messages ([#2070](https://togithub.com/airbnb/enzyme/issues/2070)) - `mount`: `setContext`: use proper wrapper name in error message - `shallow`: `.contains()`: clean up error message - `shallow`/`mount`: `hasClass`: avoid a crash with a non-string argument ([#2057](https://togithub.com/airbnb/enzyme/issues/2057)) - `mount`: properly handle HTML of multiple nodes ([#2052](https://togithub.com/airbnb/enzyme/issues/2052)) - `shallow`: ensure that if gDSFP exists, cDU is called. ([#2027](https://togithub.com/airbnb/enzyme/issues/2027)) - `shallow`: Mock sCU if gDSFP defined in shallow renderer rerender ([#1981](https://togithub.com/airbnb/enzyme/issues/1981)) - `mount`: `.state()`: allow getting state from stateful children of a stateless root ([#2043](https://togithub.com/airbnb/enzyme/issues/2043)) - `mount`: `.text()`: properly recurse through fragments and arrays ([#2028](https://togithub.com/airbnb/enzyme/issues/2028)) ##### Refactors - `ReactWrapper`/`ShallowWrapper`: ensure calling an adapter‘s nodeToElement preserves the receiver - `mount`: use `getHTMLFromHostNodes` ##### Docs - explain why need to re-call .find() after update ([#2140](https://togithub.com/airbnb/enzyme/issues/2140)) - `shallow`: fix childAt ([#2134](https://togithub.com/airbnb/enzyme/issues/2134)) - Update v2 -> v3 migration guide re props after a stage change ([#1300](https://togithub.com/airbnb/enzyme/issues/1300)) - `debug`: Added documentation for `verbose` flag ([#2104](https://togithub.com/airbnb/enzyme/issues/2104)) - Add on the fly JSDOM include example ([#2072](https://togithub.com/airbnb/enzyme/issues/2072)) - `reduce`/`reduceRight`: fix example code ([#2066](https://togithub.com/airbnb/enzyme/issues/2066), [#2065](https://togithub.com/airbnb/enzyme/issues/2065), [#2064](https://togithub.com/airbnb/enzyme/issues/2064)) - update `simulateError` with `getDerivedStateFromError` ([#2036](https://togithub.com/airbnb/enzyme/issues/2036)) - `shallow`: `.hasClass`: fix use of `mount` - add link to Cheerio API and another example ([#756](https://togithub.com/airbnb/enzyme/issues/756)) - `jest`: Update deprecated jest config key ([#2024](https://togithub.com/airbnb/enzyme/issues/2024))Configuration
📅 Schedule: "before 3am on Monday" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.