[Snyk] Upgrade react-native-web from 0.13.18 to 0.14.1 #20
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.
Snyk has created this PR to upgrade react-native-web from 0.13.18 to 0.14.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: react-native-web
-
0.14.1 - 2020-10-12
-
0.14.0 - 2020-10-09
-
0.13.18 - 2020-10-09
from react-native-web GitHub release notes0.14.1
This is a relatively small release that introduces a couple of new features and makes a change to the default
flexBasisvalue ofView. There are no breaking API changes and it should be straight-forward to upgrade from 0.13. Thank you to Twitter Engineering and everyone else who tested and helped to improve the 0.14 release.Breaking changes
Default flex-basis value of Views
React Native has an implementation of flexbox that does not quite follow the W3C spec for flexbox. Previously, React Native for Web attempted to replicate the React Native rendering by setting
flexBasisto0%. However, this created its own problems where views could collapse down to0pxin height on the web. This patch sets the defaultflexBasisback toauto. This will occasionally cause different rendering inconsistencies with React Native, which can be addressed by making changes small to existing React Native styles to set theflexBasisback to0%or the desired percentage. And ultimately, Yoga 2 intends to correct its flexbox implementation and this will make its way into React Native eventually.Fix #1640, #1604, #1264
New features
Modal implementation
A
Modalimplementation using CSS animations and ARIA, courtesy of @imnotjames. When the modal is open the rest of the app is hidden from screen readers viaaria-modal. Focus is contained within the modal. When the Escape key is pressed, theonRequestClosefunction is called on the top-most modal.Fix #1020
Pressable support for hover state
The
Pressablecomponent state now includeshover, which scoped is scoped to aPressableinstance and does not bubble to ancestor Pressables. This behavior aligns with the behavior of the focus and press states.Fix #1708
0.13.18
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs