This repository has been archived by the owner on Sep 22, 2021. It is now read-only.
[Snyk] Upgrade preact from 10.4.7 to 10.4.8 #21
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 preact from 10.4.7 to 10.4.8.
ℹ️ 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: preact
tl;dr: A good handful of bug fixes make this release the ideal candidate to upgrade! Should be very safe to upgrade
Thanks to all the people who made this release possible! This is for everyone who took part in our discussions, helped report issues, did code contributions or just spread the word. Thank you all for another amazing release 🙌
Golfing
Bug Fixes
readonly
in update fn (#2717, thanks @marvinhagemeister)preact/debug
(#2711, thanks @marvinhagemeister)undefined
instead ofnull
inpreact/compat
(#2695, thanks @aralroca)react-relay
(#2692, thanks @marvinhagemeister)href
on nullish value (#2693, thanks @marvinhagemeister)undefined
as default value foruseRef
(#2689, thanks @marvinhagemeister)preact/debug
: Add component stack to prop type validation error, do not pass ref to prop-types validation (fixes mui incompatbility) (#2685, thanks @sventschui)Typings
dom
lib (#2713, thanks @Gerrit0)useDebugValue
typings to align with React (#2699, thanks @leader22)useErrorBoundary
compat types (#2631, thanks @38elements)IntrinsicElements
inComponentProps
(#2680, thanks @remcohaszing)Maintenance
CONTRIBUTING.md
(#2702, thanks @marvinhagemeister)tl;dr: This is a bug-fix only release and safe to upgrade 🎉
This release contains some amazing fixes by first time contributors! Thank you so much for everyone who filed issues or contributed PRs ❤️
Bug Fixes
download
attribute handling (#2674, thanks @marvinhagemeister)diffElementNodes
(#2658, thanks @perseveringman)useRef
tonull
(#2648, thanks @JoviDeCroock)setState
inconstructor
(#2640, thanks @sventschui)Types
useRef
to optional (#2651, thanks @38elements)capture
definition. (#2643, thanks @JonathanBristow)preact/compat
types (#2628, thanks @jeremy-coleman)Maintenance
package.json
"authors" field (#2635, thanks @developit)Commit messages
Package name: preact
Compare
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