Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Bumps enzyme from 3.3.0 to 3.10.0.

Changelog

Sourced from enzyme's changelog.

3.10.0

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)

3.9.0

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)
... (truncated)
Commits
  • 5127331 [enzyme] v3.10.0
  • ddb0627 [Fix] selectors: unwrap memo elements - in both directions.
  • 7986308 [Refactor] ReactWrapper/ShallowWrapper: ensure calling an adapter‘s nodeT...
  • 65881b2 [enzyme, enzyme-adapter-react-16] [new] add matchesElementType
  • d397a55 [*] [dev deps] update eslint-plugin-import
  • b37fc29 [Fix] shallow: properly determine "should render" for PureComponents
  • 464c6cb [*] [dev deps] update eslint-plugin-react, eslint-plugin-import
  • d3d2259 [New] shallow/mount: add invoke(propName)(...args)
  • 60ea652 Revert "[New] shallow: Add invoke(eventName, ...args)"
  • 258823f [New] shallow: Add invoke(eventName, ...args)
  • Additional commits viewable in compare view

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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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 squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @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:

  • 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.

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jun 11, 2019
@codecov
Copy link

codecov bot commented Jun 11, 2019

Codecov Report

Merging #41 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #41   +/-   ##
=======================================
  Coverage   37.31%   37.31%           
=======================================
  Files          23       23           
  Lines         879      879           
  Branches      225      225           
=======================================
  Hits          328      328           
  Misses        451      451           
  Partials      100      100

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1752b42...0a1e2ea. Read the comment docs.

@tomhamiltonstubber tomhamiltonstubber merged commit fd3c579 into master Jun 11, 2019
@tomhamiltonstubber tomhamiltonstubber deleted the dependabot/npm_and_yarn/enzyme-3.10.0 branch June 11, 2019 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants