DevExpress / devextreme-react

React UI and data visualization components
https://js.devexpress.com/Demos/
MIT License
161 stars 65 forks source link

chore(deps): update dependency enzyme to ^3.11.0 #706

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
enzyme (source) ^3.7.0 -> ^3.11.0 age adoption passing confidence
@types/enzyme ^3.1.14 -> ^3.10.12 age adoption passing confidence

Release Notes

airbnb/enzyme ### [`v3.11.0`](https://togithub.com/airbnb/enzyme/blob/HEAD/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/HEAD/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)) ### [`v3.9.0`](https://togithub.com/airbnb/enzyme/blob/HEAD/CHANGELOG.md#​390) [Compare Source](https://togithub.com/airbnb/enzyme/compare/enzyme@3.8.0...enzyme@3.9.0) ##### New Stuff - `shallow`: `isEmptyRender`: allow on multiple elements ([#​1924](https://togithub.com/airbnb/enzyme/issues/1924)) - `mount`: support `:focus` selector ([#​1965](https://togithub.com/airbnb/enzyme/issues/1965)) - `shallow`: Support `getChildContext()` ([#​1971](https://togithub.com/airbnb/enzyme/issues/1971)) - `shallow`/`mount`: `.find`: find HTML elements by their constructor ([#​1933](https://togithub.com/airbnb/enzyme/issues/1933)) - `shallow`/`mount`: `selectors`: support universal selector ([#​1945](https://togithub.com/airbnb/enzyme/issues/1945)) - `mount`/`shallow`: add regex support to `.hasClass` ([#​1987](https://togithub.com/airbnb/enzyme/issues/1987)) ##### Fixes - `mount`/`shallow`: `.text`/`.html`: handle an array of nodes properly ([#​2001](https://togithub.com/airbnb/enzyme/issues/2001)) - `shallow`: `.setProps()`: only call cDU once ([#​2007](https://togithub.com/airbnb/enzyme/issues/2007)) - `mount`: ensure `findWhere` doesn‘t abort early on an empty string ([#​1995](https://togithub.com/airbnb/enzyme/issues/1995)) - `mount`: `findWhere`: avoid passing empty wrappers to predicate - `mount`: `text()` via `findWhere`: return the string for a wrapper around a string - `mount`/`shallow`: Fix .exists not accepting any EnzymeSelector ([#​1934](https://togithub.com/airbnb/enzyme/issues/1934)) - `mount`: Recursive `isEmptyRender` ([#​1924](https://togithub.com/airbnb/enzyme/issues/1924)) - `mount`: `setState`: allow setting state on a class child of an SFC root ##### Documentation - \[jest] update Jest to setupFilesAfterEnv ([#​2015](https://togithub.com/airbnb/enzyme/issues/2015)) - \[jest] Change deprecated `setupTestFrameworkScriptFile` to `setupFilesAfterEnv` ([#​2013](https://togithub.com/airbnb/enzyme/issues/2013)) - `mount`: `setState`: note that you can now call it on "not the root" ([#​2010](https://togithub.com/airbnb/enzyme/issues/2010)) - general improvements ([#​1947](https://togithub.com/airbnb/enzyme/issues/1947)) - Fix typos ([#​1992](https://togithub.com/airbnb/enzyme/issues/1992)) - Added missing pages: `isEmptyRender`, `renderProp`, `equals`, SystemJS guide ([#​1984](https://togithub.com/airbnb/enzyme/issues/1984), [#​1985](https://togithub.com/airbnb/enzyme/issues/1985)) - Fix link to .shallow() ([#​1951](https://togithub.com/airbnb/enzyme/issues/1951)) - update jsdoc to use "EnzymeSelector" where applicable ##### Meta Stuff - add "directory" field to package.json ### [`v3.8.0`](https://togithub.com/airbnb/enzyme/blob/HEAD/CHANGELOG.md#​380) [Compare Source](https://togithub.com/airbnb/enzyme/compare/enzyme@3.7.0...enzyme@3.8.0) ##### New Stuff - `shallow`/`mount`: add `renderProp` ([#​1863](https://togithub.com/airbnb/enzyme/issues/1863), [#​1891](https://togithub.com/airbnb/enzyme/issues/1891)) ##### Fixes - `shallow`/`mount`: improve error message for "single node" assertion ([#​1904](https://togithub.com/airbnb/enzyme/issues/1904)) - `shallow`: shallow compare, not deep compare, state and props to determine rerendering ([#​1915](https://togithub.com/airbnb/enzyme/issues/1915)) ##### Documentation - `shallow`: `dive`: add a note about throwing an error ([#​1905](https://togithub.com/airbnb/enzyme/issues/1905)) - ` selectors: update re `displayName\` ([#​1932](https://togithub.com/airbnb/enzyme/issues/1932)) - `shallow`: `get`: fixed wrong `props()` usage ([#​1921](https://togithub.com/airbnb/enzyme/issues/1921)) - `shallow`: `html`: shallow renders full tree ([#​1912](https://togithub.com/airbnb/enzyme/issues/1912)) - Updated broken link for “.hostNodes()” in migration guide from enzyme 2 to 3 ([#​1909](https://togithub.com/airbnb/enzyme/issues/1909)) - Add tape example project link ([#​1898](https://togithub.com/airbnb/enzyme/issues/1898)) - `prop`: fix typo ([#​1883](https://togithub.com/airbnb/enzyme/issues/1883)) - Document full support for attribute selectors ([#​1881](https://togithub.com/airbnb/enzyme/issues/1881)) - Documentation update for testing React Native with jsdom ([#​1873](https://togithub.com/airbnb/enzyme/issues/1873)) - Update JSDOM docs to include {request|cancel}AnimationFrame polyfills ([#​1867](https://togithub.com/airbnb/enzyme/issues/1867)) - `mount`: `ref`: use correct type ([#​1865](https://togithub.com/airbnb/enzyme/issues/1865))

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.



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

renovate[bot] commented 2 years ago

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: package-lock.json
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm WARN deprecated @evocateur/pacote@9.6.5: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm WARN deprecated @evocateur/npm-registry-fetch@4.0.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm WARN deprecated read-package-tree@5.3.1: The functionality that this package provided is now in @npmcli/arborist
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated mkdirp-promise@5.0.1: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that.
npm WARN deprecated @evocateur/libnpmaccess@3.1.2: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm WARN deprecated @evocateur/libnpmpublish@1.2.2: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm WARN @octokit/plugin-request-log@1.0.4 requires a peer of @octokit/core@>=3 but none is installed. You must install peer dependencies yourself.

lerna notice cli v3.22.1
lerna info versioning independent
npm WARN deprecated sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
lerna notice cli v3.22.1
lerna info versioning independent
lerna info Bootstrapping 3 packages
lerna info Installing external dependencies
lerna ERR! npm install --ignore-scripts --ignore-scripts --no-audit --package-lock-only exited 1 in 'devextreme-react'