Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency enzyme to v3.11.0 #339

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Oct 5, 2018

Mend Renovate

This PR contains the following updates:

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

Release Notes

airbnb/enzyme

v3.11.0

Compare Source

New Stuff
  • render: handle Fiber strings and numbers (#​2221)
Fixes
  • shallow: Share child context logic between shallow and dive (#​2296)
  • mount: children: include text nodes ($2269)
  • mount: invoke: use adapter’s wrapInvoke if present (#​2158)
Docs
  • mount/shallow: closest/parent: Add missing arguments description (#​2264)
  • mount/shallow: fix pluralization of “exist” (#​2262)
  • shallow/mount: simulate: added functional component example to simulate doc (#​2248)
  • mount: debug: add missing verbose option flag (#​2184)
  • mount/shallow: update: fix semantics description (#​2194)
  • add missing backticks to linked method names (#​2170)
  • invoke: Add missing backticks to end of codeblock (#​2160)
  • invoke: Fix typo (#​2167)
  • Explicit React CSS selector syntax description (#​2178)
Meta Stuff
  • [meta] add funding field
  • [meta] Update airbnb.io URLs to use https (#​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

Compare Source

New Stuff
  • shallow add suspenseFallback option; support Suspense/Lazy (#​1975)
  • shallow/mount: add invoke(propName)(...args) (#​1856, #​945)
  • shallow: Support rendering and dive()ing createContext() providers and consumers (#​1966)
  • mount/shallow: add getWrappingComponent (#​1960)
  • Utils: add isCustomComponent (#​1960)
  • Utils: add stub argument to spyMethod
  • EnzymeAdapter: add matchesElementType (#​2146)
  • RSTTraversal: add getHTMLFromHostNodes
Fixes
  • selectors: unwrap memo elements - in both directions (#​2146)
  • shallow: properly determine "should render" for PureComponents (#​2096)
  • mount/shallow: renderProp: improve error messages (#​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)
  • mount: properly handle HTML of multiple nodes (#​2052)
  • shallow: ensure that if gDSFP exists, cDU is called. (#​2027)
  • shallow: Mock sCU if gDSFP defined in shallow renderer rerender (#​1981)
  • mount: .state(): allow getting state from stateful children of a stateless root (#​2043)
  • mount: .text(): properly recurse through fragments and arrays (#​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)
  • shallow: fix childAt (#​2134)
  • Update v2 -> v3 migration guide re props after a stage change (#​1300)
  • debug: Added documentation for verbose flag (#​2104)
  • Add on the fly JSDOM include example (#​2072)
  • reduce/reduceRight: fix example code (#​2066, #​2065, #​2064)
  • update simulateError with getDerivedStateFromError (#​2036)
  • shallow: .hasClass: fix use of mount
  • add link to Cheerio API and another example (#​756)
  • jest: Update deprecated jest config key (#​2024)

v3.9.0

Compare Source

New Stuff
  • shallow: isEmptyRender: allow on multiple elements (#​1924)
  • mount: support :focus selector (#​1965)
  • shallow: Support getChildContext() (#​1971)
  • shallow/mount: .find: find HTML elements by their constructor (#​1933)
  • shallow/mount: selectors: support universal selector (#​1945)
  • mount/shallow: add regex support to .hasClass (#​1987)
Fixes
  • mount/shallow: .text/.html: handle an array of nodes properly (#​2001)
  • shallow: .setProps(): only call cDU once (#​2007)
  • mount: ensure findWhere doesn‘t abort early on an empty string (#​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)
  • mount: Recursive isEmptyRender (#​1924)
  • mount: setState: allow setting state on a class child of an SFC root
Documentation
  • [jest] update Jest to setupFilesAfterEnv (#​2015)
  • [jest] Change deprecated setupTestFrameworkScriptFile to setupFilesAfterEnv (#​2013)
  • mount: setState: note that you can now call it on "not the root" (#​2010)
  • general improvements (#​1947)
  • Fix typos (#​1992)
  • Added missing pages: isEmptyRender, renderProp, equals, SystemJS guide (#​1984, #​1985)
  • Fix link to .shallow() (#​1951)
  • update jsdoc to use "EnzymeSelector" where applicable
Meta Stuff
  • add "directory" field to package.json

v3.8.0

Compare Source

New Stuff
Fixes
  • shallow/mount: improve error message for "single node" assertion (#​1904)
  • shallow: shallow compare, not deep compare, state and props to determine rerendering (#​1915)
Documentation
  • shallow: dive: add a note about throwing an error (#​1905)
  • selectors: update re displayName` (#​1932)
  • shallow: get: fixed wrong props() usage (#​1921)
  • shallow: html: shallow renders full tree (#​1912)
  • Updated broken link for “.hostNodes()” in migration guide from enzyme 2 to 3 (#​1909)
  • Add tape example project link (#​1898)
  • prop: fix typo (#​1883)
  • Document full support for attribute selectors (#​1881)
  • Documentation update for testing React Native with jsdom (#​1873)
  • Update JSDOM docs to include {request|cancel}AnimationFrame polyfills (#​1867)
  • mount: ref: use correct type (#​1865)

v3.7.0

Compare Source

New Stuff
Fixes
  • makeOptions: ensure that config-level attachTo/hydrateIn are inherited into wrapper options (#​1836, @​ljharb)
  • shallow/Utils: call into adapter’s isCustomComponentElement if present (#​1832, @​SinHouse)
  • shallow/mount: throw an explicit error when state is null/undefined (commit)
  • freeze ROOT_NODES for child wrappers (#​1811, @​jgzuke)
  • shallow: .parents: ensure that one .find call does not affect another (#​1781, @​ljharb)
  • mount: update after simulateError (#​1812, @​jgzuke)
Refactors
  • mount/shallow: getElement: use this.single (commit)

Configuration

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

🚦 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 these updates again.


  • If you want to rebase/retry this PR, check this box

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

@coveralls
Copy link

coveralls commented Oct 5, 2018

Pull Request Test Coverage Report for Build 1383

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.0%) to 41.712%

Totals Coverage Status
Change from base Build 1280: 0.0%
Covered Lines: 967
Relevant Lines: 2056

💛 - Coveralls

@renovate renovate bot changed the title Update dependency enzyme to v3.7.0 Update dependency @types/enzyme to v3.1.15 Nov 5, 2018
@renovate renovate bot force-pushed the renovate/enzyme-3.x branch from 8f50f8b to 22a4d98 Compare November 5, 2018 23:24
@renovate renovate bot force-pushed the renovate/enzyme-3.x branch from 22a4d98 to 40751d4 Compare December 10, 2018 09:55
@renovate renovate bot changed the title Update dependency @types/enzyme to v3.1.15 Update dependency @types/enzyme to v3.1.16 Jan 29, 2019
@renovate renovate bot force-pushed the renovate/enzyme-3.x branch from 40751d4 to 54661a7 Compare January 29, 2019 00:59
@renovate renovate bot changed the title Update dependency @types/enzyme to v3.1.16 Update dependency @types/enzyme to v3.1.17 Feb 8, 2019
@renovate renovate bot force-pushed the renovate/enzyme-3.x branch from 54661a7 to e1bf520 Compare February 8, 2019 00:26
@renovate renovate bot changed the title Update dependency @types/enzyme to v3.1.17 Update dependency @types/enzyme to v3.1.18 Feb 13, 2019
@renovate renovate bot force-pushed the renovate/enzyme-3.x branch 2 times, most recently from 14e1c3d to 9917697 Compare February 17, 2019 07:43
@renovate renovate bot force-pushed the renovate/enzyme-3.x branch from 9917697 to 0630fe1 Compare February 23, 2019 00:20
@renovate renovate bot changed the title Update dependency @types/enzyme to v3.1.18 Update dependency @types/enzyme to v3.9.0 Feb 23, 2019
@renovate renovate bot changed the title Update dependency @types/enzyme to v3.9.0 Update dependency @types/enzyme to v3.9.1 Mar 19, 2019
@renovate renovate bot force-pushed the renovate/enzyme-3.x branch from 0630fe1 to 0cec326 Compare March 19, 2019 18:21
@renovate renovate bot force-pushed the renovate/enzyme-3.x branch from 0cec326 to 2aa78ac Compare May 19, 2019 06:58
@renovate renovate bot changed the title Update dependency @types/enzyme to v3.9.1 Update dependency @types/enzyme to v3.9.2 May 19, 2019
@renovate renovate bot force-pushed the renovate/enzyme-3.x branch from 2aa78ac to 9c46209 Compare May 25, 2019 19:52
@renovate renovate bot changed the title Update dependency @types/enzyme to v3.9.2 Update dependency @types/enzyme to v3.9.3 May 25, 2019
@renovate renovate bot force-pushed the renovate/enzyme-3.x branch from 9c46209 to 38d7222 Compare June 19, 2019 13:56
@renovate renovate bot changed the title Update dependency @types/enzyme to v3.9.3 Update dependency enzyme to v3.10.0 Jun 19, 2019
@renovate renovate bot force-pushed the renovate/enzyme-3.x branch from 38d7222 to 3eec099 Compare July 13, 2019 14:59
@renovate renovate bot force-pushed the renovate/enzyme-3.x branch from 3eec099 to 53d77e1 Compare August 10, 2019 06:52
@renovate renovate bot force-pushed the renovate/enzyme-3.x branch from 53d77e1 to 615bc97 Compare December 15, 2019 00:59
@renovate renovate bot force-pushed the renovate/enzyme-3.x branch from 615bc97 to a65bd0d Compare December 22, 2019 03:52
@renovate renovate bot changed the title Update dependency enzyme to v3.10.0 Update dependency enzyme to v3.11.0 Dec 22, 2019
@renovate renovate bot force-pushed the renovate/enzyme-3.x branch from a65bd0d to 798dc11 Compare February 8, 2020 18:58
@renovate renovate bot force-pushed the renovate/enzyme-3.x branch from 798dc11 to e8ea3fc Compare October 29, 2020 05:01
@renovate renovate bot force-pushed the renovate/enzyme-3.x branch from e8ea3fc to ff95053 Compare October 18, 2021 19:15
@renovate renovate bot force-pushed the renovate/enzyme-3.x branch from ff95053 to d2ec088 Compare March 7, 2022 12:50
@renovate renovate bot force-pushed the renovate/enzyme-3.x branch from d2ec088 to eee3879 Compare April 24, 2022 22:40
@renovate renovate bot changed the title Update dependency enzyme to v3.11.0 chore(deps): update dependency enzyme to v3.11.0 Mar 16, 2023
@renovate
Copy link
Author

renovate bot commented Mar 25, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants