[Snyk] Upgrade preact from 10.20.1 to 10.22.1 #4
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.20.1 to 10.22.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.
The recommended version is 4 versions ahead of your current version.
The recommended version was released on a month ago.
Release notes
Package name: preact
-
10.22.1 - 2024-07-01
- Only check is connected for dom nodes (#4409, thanks @ JoviDeCroock)
- Prevent useMemo from being too lazy with repeated renders (#4426, thanks @ JoviDeCroock)
- Replace isConnected with parentDom.contains (#4421, thanks @ JoviDeCroock)
- Graciously handle array shuffling (#4413, thanks @ JoviDeCroock)
- Support popover boolean attribute (#4393, thanks @ JoviDeCroock)
- Improve React compatibility for
- Expose stream render from
- Prefer
- Bump lockfile version to v3 (#4398, thanks @ rschristian)
- Improve perf by skipping some lifecycle hooks for perf (#4366, thanks @ JoviDeCroock)
- Create hot path for unmounting a tree of context (#4396, thanks @ JoviDeCroock)
- Migrate husky v9 (#4390, thanks @ castrogarciajs)
- Migrate to oxlint (#4387, thanks @ JoviDeCroock)
- Migrate to biome (#4386, thanks @ JoviDeCroock)
-
10.22.0 - 2024-05-15
- Support MathML namespace (#4364, thanks @ rschristian)
- Add popover types (#4378, thanks @ rschristian)
- Skip running compressed-size builds twice (#4377, thanks @ rschristian)
- Test types and warnings (#4369, thanks @ rschristian)
- Bump compressed-size-action (#4368, thanks @ rschristian)
- Allow the same component to render many times across different phases (#4382, thanks @ JoviDeCroock)
- Provide error for illegal nesting of
- Disallow
- Change syntax in
-
10.21.0 - 2024-04-30
- Debug throw on too many rerenders (#4349, thanks @ rschristian)
- Add compat/client types (#4345, thanks @ rschristian)
- Expose hooks through compat's
- Respect default value (#4341, thanks @ JoviDeCroock)
- Incorrect "missing transform-jsx-source" warning (#4350, thanks @ rschristian)
- Support ComponentChild(ren) in compat render/hydrate/createPortal (#4346, thanks @ rschristian)
- Import and re-export PreactElement (#3228, thanks @ henryqdineen)
- Add zustand and redux-toolkit to the demo. (#3523, thanks @ MortezaMirjavadi)
- Optimise jsx runtime (#4337, thanks @ JoviDeCroock)
-
10.20.2 - 2024-04-09
- Check whether
- Simplify the logic introduced in #4322 & use eventClock for capture events too (#4324, thanks @ jviide)
- Use a virtual clock instead of Date.now() for event dispatch times (#4322, thanks @ jviide)
- Add template tag JSX type (#4334, thanks @ marvinhagemeister)
- Integrate the new benchmarks repo and update (#4310, thanks @ andrewiggins)
- Some byte improvements (#4321, thanks @ JoviDeCroock)
-
10.20.1 - 2024-03-23
- Add special case for focusIn and focusOut (#4316, thanks @ JoviDeCroock)
from preact GitHub release notesFixes
Types
Reftype. (#4403, thanks @ maxbrieiev)preact-render-to-string(#4395, thanks @ Austaras)Maintenance
globalThisoverwindowif available (#4401, thanks @ marvinhagemeister)Performance
Features
Types
Maintenance
Fixes
<button>and<a>(#4376, thanks @ rschristian)<tr>as a child of<table>(#4375, thanks @ rschristian)compat/clientfor IE11 support (#4372, thanks @ rschristian)Features
Fixes
ReactCurrentDispatcher(#4342, thanks @ rschristian)Types
Maintenance
Fixes
oldDomis present in the DOM (#4318, thanks @ JoviDeCroock)Types
Maintenance
Fixes
Important
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: