Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
The following dependencies have been updated:
enzyme
in/
from "3.4.4" to "3.5.0"enzyme-adapter-react-16
in/
from "1.1.1" to "1.3.0"Details
Dependencies.io has updated
enzyme
(a npm dependency in/
) from "3.4.4" to "3.5.0".3.5.0
New Stuff
Fixes
shallow
: prevent rerenders with PureComponents (#1786, koba04)shallow
: skip updates when nextState isnull
orundefined
(#1785, koba04)shallow
:setState
aftersetProps
callscomponentWillReceiveProps
(#1779, peanutenthusiast)mount
/shallow
: be stricter on the wrapper’s setState/setProps callback (commit)shallow
/mount
: improve error message when wrapping invalid elements (#1759, jgzuke)Refactors
Meta Stuff
Dependencies.io has updated
enzyme-adapter-react-16
(a npm dependency in/
) from "1.1.1" to "1.3.0".1.3.0
Minor Changes
Added
.html()
method toReactWrapper
(#71)Support property selector (i.e.
[prop="foo"]
) (#70)jsdom dependency now allows a range of supported versions (#95)
Patches
Normalized
setProps()
behavior betweenmount
/shallow
to merge props (#103)Exclude
_book
from published package (#85)Various documentation, tests, and style changes