[Snyk] Upgrade preact from 10.11.3 to 10.22.1 #107
+1
−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.
This PR was automatically created by Snyk using the credentials of a real user.

Snyk has created this PR to upgrade preact from 10.11.3 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 29 versions ahead of your current version.
The recommended version was released on 21 days 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)
-
10.20.0 - 2024-03-20
- Add isMemo to compact to allow compatibility with react-is dependant libraries (#4302, thanks @ ziongh)
- Fix case where shrinking a list would cause an exception (#4312, thanks @ JoviDeCroock)
-
10.19.7 - 2024-03-18
- Bring consistency to our focus-event types (#4307, thanks @ JoviDeCroock)
- Add onScrollend listener type (#4305, thanks @ JoviDeCroock)
- Align state updater type with Raeect (#4306, thanks @ JoviDeCroock)
- Revert batch commit callbacks from all components in the render queue (#4297, thanks @ JoviDeCroock)
-
10.19.6 - 2024-02-22
- Match
- Fix increment skew when we aren't removing the first pointer (#4284, thanks @ JoviDeCroock)
- Fix invalid vnode internal id for text nodes (#4291, thanks @ marvinhagemeister)
- Fix unkeyed reconciliation order in certain scenarios (#4287, thanks @ marvinhagemeister, thanks @ JoviDeCroock)
-
10.19.5 - 2024-02-16
- Address scenario where we would crash when replacing a matched vnode with null (#4281, thanks @ JoviDeCroock)
- Correctly restore _original (#4280, thanks @ JoviDeCroock)
- Protect against nullish render (#4278, thanks @ JoviDeCroock)
- Support setting translate through direct access (#3800, thanks @ JoviDeCroock)
- Add dpub aria 1.0 role JSX types (#4276, thanks @ novari)
-
10.19.4 - 2024-02-08
- event-listeners in safari 12.3 fix (#4253, thanks @ JoviDeCroock)
- support passing context into pure component (#4269, thanks @ JoviDeCroock)
- retain masks across render invocations (#4245, thanks @ JoviDeCroock)
- skip comment nodes for placeChild (#4128, thanks @ JoviDeCroock)
- ensure we are able to support capture events from compat (#4243, thanks @ JoviDeCroock)
- batch commit callbacks from all components in the render queue (#4234, thanks @ developit)
- improve preact compat types adding a few missing @ types/react used by styled-components (#4271, thanks @ jduthon)
- add ComponentType to preact/compat (#4239, thanks @ ianobermiller)
- add missing contenteditable "inherit" value (#4242, thanks @ marvinhagemeister)
- add some sensible timeouts to actions that call out to external services (#4259, thanks @ andrewiggins)
- improve types of hook source (#4229, thanks @ andrewiggins)
-
10.19.3 - 2023-12-08
-
10.19.2 - 2023-11-14
-
10.19.1 - 2023-11-11
-
10.19.0 - 2023-11-11
-
10.18.2 - 2023-11-03
-
10.18.1 - 2023-10-01
-
10.18.0 - 2023-09-28
-
10.17.1 - 2023-08-19
-
10.17.0 - 2023-08-14
-
10.16.0 - 2023-07-09
-
10.15.1 - 2023-05-27
-
10.15.0 - 2023-05-21
-
10.14.1 - 2023-05-16
-
10.14.0 - 2023-05-14
-
10.13.2 - 2023-03-27
-
10.13.1 - 2023-03-09
-
10.13.0 - 2023-02-24
-
10.12.1 - 2023-02-09
-
10.12.0 - 2023-02-06
-
10.11.3 - 2022-11-14
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
Features
Fixes
Types
Fixes
tl;dr: This release contains bug fixes for incorrect ordering of unkeyed children.
Fixes
nullplaceholders using skewed index (#4290, thanks @ andrewiggins)Full Changelog: 10.19.5...10.19.6
Fixes
Types
Fixes
Types
Maintenance
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: