-
Notifications
You must be signed in to change notification settings - Fork 516
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 #2398
Conversation
Deploy preview for algolia-instantsearch ready! Built with commit fe6d809 https://deploy-preview-2398--algolia-instantsearch.netlify.com |
1dfcc3f
to
50c2b78
Compare
25a005d
to
691ccdb
Compare
99842c8
to
78d7471
Compare
e3b45d7
to
4f745b9
Compare
94da55a
to
d6d687c
Compare
d6d687c
to
e829d95
Compare
Updates enzyme 3 Updates enzyme jest serializer Adds a config file to minimize impact Updates a snapshot that was actually wrong in the first placje
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can approve it but I did some of the changes manually 😅
PR has been editedAs this PR has been edited, Renovate will stop updating it in order to not cause any conflicts or other problems. If you wish to abandon your edits and have Renovate recreate this PR then you should rename this PR and then close it. |
Yep it's fixed now, see #2739. |
You are reactive @rarkins :) |
This Pull Request updates dependency enzyme from
v2.9.1
tov3.3.0
Note: This PR was created on a configured schedule ("every weekend" in timezone
Europe/Paris
) and will not receive updates outside those times.Release Notes
v3.0.0
Breaking Changes
Enzyme has several breaking changes from v2 to v3. Please check out our migration guide for more info. Since there was a rewrite of the core
library from v2 to v3, it is hard to categorize changes in terms of sem
@lelandrichardson: Refactor enzyme to use Adapters, initial React 16 support (#1007)
@lelandrichardson: Make private properties more private and harder to use (#1083)
@ljharb: [breaking] update
cheerio
to v1 (#1093)@aweary: Integrate with a CSS parser for selector parsing (#1086)
@vadimdemedes: Skip undefined props when comparing nodes (#662)
@koba04: Breaking: lifecycleExperimental by default (#1140)
New Stuff
@lelandrichardson: Move to lerna repo structure, multiple modules (#1074)
@lelandrichardson: Remove all React dependencies from enzyme (#1084)
@lelandrichardson: Add public root method (#1127)
Fixes
@aweary: Remove isFunctionalComponent, use nodeType instead (#1076)
@LarsHassler: props not merged when shallow rendering in lifecycleExperimental (#1088)
@ljharb: [Fix]
mount
: do not mutateComponent.contextTypes
(#1099)@ljharb: [Fix]
reduce
/reduceRight
: followArray#reduce
when omitting initialValue (#673)@koba04: Fix componentDidUpdate when updating by setState on v16 (#1133)
@koba04: Fix componentDidUpdate no longer receives prevContext on React v16 (#1139)
Documentation
@ghost: added sinon to mocha guide (#1075)
@samit4me: Update to GitBook 3 (#1039)
@therewillbecode: Removed extraneous brackets from example in readme (#1117)
@silvenon: Add note that mount() requires cleanup (#1043)
@lelandrichardson: Add docs reflecting v3 (#1121)
v3.1.0
New Stuff
Fixes
@lelandrichardson: Add an npmignore file to all packages (#1204)
@neoziro: Fix node resolving in React 16 adapter (#100)
@graingert: upgrade to rst-selector-parser@^2.2.2 (#1146)
Documentation
@lelandrichardson: Symlink readme to all packages (#1205)
@AndersDJohnson: fix some typos (#1165)
@dubbha: ES5 setup file correction (#1194)
@morrowr08: updated component name being used in example (#1180)
@apandichi: Fixing a few typos... (#1171)
@nuc: Fix typo (#1142)
v3.1.1
Fixes
v3.2.0
New Stuff
Fixes
v3.3.0
New Stuff
debug
: handle boxed primitives (#1450)Refactors
Fixes
Commits
v3.2.0
fc06093
[Docs] Fix code example assertions in documentationv3.3.0
11786ab
[enzyme-adapter-react-helper] [fix] useadd-module-exports
to avoid.default
on the entry point.b2fffaf
[enzyme-adapter-react-helper] v1.0.1cff5320
[enzyme-adapter-react-helper] [fix] usevalidRange
instead ofvalid
; useintersects
instead ofsatisfies
e3e1223
[enzyme-adapter-react-helper] v1.0.2acf7eb6
[enzyme-adapter-react-helper] [fix] useintersects
instead ofsatisfies
51af5c4
[enzyme-adapter-react-helper] v1.0.3689eb23
Implement getIteratorFn function to get iterator function for iterable Object.83b0ca4
Add requested changes from PR review.308578a
Optimize flatten function for the most common case, when arrs is a JS Array.ea73ec1
Merge pull request #1334 from Inucoder/better_support_for_iterable_children7256bde
enzyme-adapter-react-helper
: [New] addifReact
ca5e1c3
[enzyme-adapter-react-helper] v1.1.075cfea2
[*] [Dev Deps] updateeslint-plugin-react
17c05bf
[enzyme-adapter-utils] v1.2.08c42fa1
Fix typo in error message86b66b8
Merge pull request #1379 from nicoder/master2dce2f3
[Refactor] Use RSTTraversal childrenOfNode in Utils57fffb4
[Docs] ReactWrapper: fix.text()
example9f3c45c
[enzyme-adapter-react-helper] [New] addsafeSFC
a316422
[enzyme-adapter-react-helper] v1.2.0c35b4a3
[Docs] Fix sort order of Full DOM rendering methods0f54867
[enzyme-adapter-react-helper]safeSFC
: React 0.14 doesn’t support SFCs returningnull
.6aef355
[enzyme-adapter-react-helper] v1.2.1389edf4
patch semver range due to bug in semver.intersects4b29771
Merge pull request #1404 from brucewpaul/bwp--patch-semver-range3ac9895
[enzyme-adapter-react-helper] v1.2.2bbf39e0
[enzyme-adapter-utils] [New] Add event name mapping for transitionendc8cbde4
Import findCurrentFiberUsingSlowPath from react-reconciler package441a1af
Remove findCurrentFiberUsingSlowPath.jsd60360c
Merge pull request #1399 from aweary/use-react-reconciler-react-16840ddd7
Update Readme for setup file with Jest63fa113
Add docs for getElement() and getElements()5d1fcd0
Merge pull request #1425 from artiebits/update-shallow-docs3cfec3f
[Docs] add hostNodes section to migration guide161172d
[Fix] Convert nodes to RST nodes before comparingbd12012
[Refactor] Transform matchesElement to RST node16ea7d4
[Refactor] Fix bugs with changes7cb7a06
[Refactor] Follow ShallowWrapper contains pattern2f299d1
[Refactor] Use arrow function in nodeOrNodes mapd259849
Clarify in the docs thatshallow
does call lifecycle methods in v3.356cc27
Link from shallow docs to migration guide on lifecycle methods.2617377
Merge pull request #1442 from jackfranklin/clarify-shallow-rendering-methods2acab0e
Add example to contains() docs with an embedded expression27c951b
[*] [Dev Deps] updateeslint
,eslint-plugin-jsx-a11y
506db35
[enzyme-test-suite] [Deps] updatechai
,enzyme
,enzyme-adapter-utils
,prop-types
,sinon
aa5923c
[enzyme-adapter-*] [Deps] updateprop-types
,enzyme-adapter-utils
1ac4346
[enzyme-example-mocha] [Dev Deps] updatejsdoc
,nyc
ea29fb5
[enzyme-example-mocha] [Deps] updatechai
,enzyme
,enzyme-adapter-react-16
,react
,react-dom
c2da485
[Tests] Usenvm install-latest-npm
b56c640
[Dev Deps] move top-level deps to the package(s) they’re used in.2fa0d92
[Tests] exec → spawn in the “env” script, so output can stream to stdio.b1cc457
[enzyme-adapter-utils] v1.3.0d9886b9
[*] [Deps] updateenzyme-adapter-utils
0a513b7
[enzyme-adapter-react-16] v1.1.13c49e21
Merge branch 'master' into masterc5f608f
Merge branch 'master' into master1c7c915
Merge pull request #1396 from likethemammal/master5b5439a
Merge pull request #1243 from mykhailo-riabokon/master8533b5e
[Fix]debug
: print String objects as strings4f4c233
[New]debug
: handle boxed primitives04076f6
Fix to call a setState callback after finishing the the rendere1ff127
[enzyme] [deps] updateobject.assign
,is-boolean-object
20be2a4
[*] [Dev Deps] updateeslint
176cd57
[*] [Deps] updateobject.assign
d152582
[enzyme-example-mocha] fix babel/mocha setup1b8986b
[enzyme] v3.3.0This PR has been generated by Renovate Bot.