[Snyk] Upgrade preact from 10.1.1 to 10.11.3 #1
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.1.1 to 10.11.3.
ℹ️ 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
Bug Fixes
default
export for compatibility with esbuild (#3783, thanks @ Verseth)useId
uniqueness with shared parents + DOM nodes in between (#3773, thanks @ marvinhagemeister)Object.is
in useSyncExternalStore (#3776, thanks @ zalishchuk)Maintenance
Bug Fixes
setState
order (#3763, thanks @ JoviDeCroock)useId
when Fragments are involved (#3758, thanks @ marvinhagemeister)Types
<input>
elements (#3764, thanks @ mwszekely)Bug Fixes
compat/package.json
(#3755, thanks @ akselander)"types"
field forpreact/debug
(#3732, thanks @ marvinhagemeister)_mask
property always has the same name in distributed version (#3721, thanks @ JoviDeCroock)10.11.0
New Hook: useId
Today we are announcing a new hook:
useId
. This hook creates stable unique identifiers that are consistent between server-side rendering (using preact-render-to-string) and client-side hydration. TheuseId()
hook is primarily useful for generating identifiers for attributes likearia-labelledby
and<label for="...">
.To enable
useId()
to generate consistent unique identifiers, please ensure you are using preact-render-to-string version 5.2.4 or newer for server-side rendering.(#3583, thanks @ JoviDeCroock)
Fixes
_parent
,_dom
and__hooks
after unmount (#3709, thanks @ JoviDeCroock)ref
property could be omitted from reused VNodes (#3696, thanks @ JoviDeCroock)errorInfo
touseErrorBoundary
callback (#3689, thanks @ marvinhagemeister)class | className
(#3711, thanks @ PodaruDragos)Maintenance
render()
'sreplaceNode
argument (#3700, thanks @ rschristian)createElement()
andh()
calls (#3690, thanks @ JoviDeCroock)types
fixes
Fixes
Read more
Read more
Read more
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