[Snyk] Upgrade preact from 10.4.7 to 10.5.4 #3
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.5.4.
✨ Snyk has automatically assigned this pull request, set who gets assigned.
ℹ️ 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: Bug-Fix only release that should get rid of the last className edge cases. We encourage everyone to upgrade.
Despite our effort to account for all edge cases regarding
className
handling inpreact/compat
, we got some reports of some missed ones. This release corrects those 🎉This release contains a fix to increase compatibility with next.js that ensures that the error overlay will show up.
Bug Fixes
className
descriptors on Elementvnodes
(#2786, thanks @developit)className
overclass
(#2782, thanks @JoviDeCroock)This release fixes a regression in regards to
class/className
handling inpreact/compat
. We encourage everyone to upgrade.Bug Fixes
className
normalization (#2774, thanks @JoviDeCroock)Promises
in Suspense (#2776, thanks @kitten)Maintenance
check-export-map
(#2777, thanks @marvinhagemeister)jsx-runtime
(#2769, thanks @marvinhagemeister)jsx-runtime
package (#2767, thanks @johakr)New JSX-runtime functions
This has been a long time in the making for various virtual-dom based frameworks. Historically JSX was always transpiled to
createElement
function calls.While this has served us well and is very reliable, it has proven to be hard to optimize. Most of the things we do in our
createElement
function could by done by babel directly, thereby making it smaller and faster. This is very desirable for us as this function is called a lot in any application. It's part of the so-called hot-path.And that's exactly what the new signature does. It removes the need for us to pull out key from
props
, add backchildren
to props and just makes the implementation simpler. As a nice benefit users won't need to manually importh/createElement
anymore 🎉Usage with babel:
Note that the JSX transformer in TypeScript is a work in progress and will likely be released as part of version 4.1. We're currently running into microsoft/TypeScript#40502 though, so the JSX typings are not found.
Features
jsx-runtime
support (#2764, thanks @JoviDeCroock, @marvinhagemeister)Bug Fixes
0
(#2757, thanks @marvinhagemeister)contenteditable
(#2701, thanks @sventschui)style
(#2723, thanks @JoviDeCroock)Maintenance
_suspended
(#2765, thanks @marvinhagemeister)Read more
Read more
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
👩💻 Set who automatically gets assigned
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs