[Snyk] Upgrade preact from 10.23.2 to 10.25.3 #325
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.23.2 to 10.25.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.
The recommended version is 8 versions ahead of your current version.
The recommended version was released a month ago.
Release notes
Package name: preact
-
10.25.3 - 2024-12-18
- Wrap hydration debug message node types in quotes (#4609, thanks @ rschristian)
- Revert "Improve performance and reduce memory allocation" (#4611, thanks @ JoviDeCroock)
- Add default event target types for HTML attribute interfaces (#4606, thanks @ rschristian)
-
10.25.2 - 2024-12-12
- Add missing space in hydration mismatch message (#4602, thanks @ sirreal)
- fix max and min type definition to allow number (#4598, thanks @ devlux)
- Use == where possible and precompute .length (#4599, thanks @ JoviDeCroock)
- Check preallocate new children array perf (#4595, thanks @ JoviDeCroock)
- Replace npm-run-all and lint-staged (#4600, thanks @ JoviDeCroock)
- Remove benches folder (#4592, thanks @ JoviDeCroock)
- Dependency maintenance (#4594, thanks @ JoviDeCroock)
-
10.25.1 - 2024-12-02
- Revert handle event (#4584, thanks @ JoviDeCroock) we had to revert this due to an inherent type incompatibility, apologies for missing this!
- Fix portal children ordering (#4573, thanks @ JoviDeCroock)
- Handle errors during hydration (#4563, thanks @ JoviDeCroock)
- Ensure resolution of core types goes through typesVersions resolution (#4576, thanks @ rschristian)
- Correct
- Add missing SVG
- Mark
- Add missing
- Correct some internal test types (#4588, thanks @ rschristian)
- Reduce byte-size by reducing bit-flag size (#4586, thanks @ JoviDeCroock)
- Remove
- Move some frequently used things to constants (#4579, thanks @ JoviDeCroock)
- Remove _nextDom usage (#4553, thanks @ JoviDeCroock)
-
10.25.0 - 2024-11-22
let handler = {
- Ensure state updates work in signals (#4560, thanks @ JoviDeCroock)
- Ensure SVGAttributes includes height & width (#4556, thanks @ rschristian)
- Fork types for TS 5.1 and beyond (#4548, thanks @ JoviDeCroock)
- Re-add missing properties & property casings (#4554, thanks @ rschristian)
- Ensure we unwrap custom .then() (#4547, thanks @ JoviDeCroock)
- Fix error message when nesting invalid elements within <p> tags (#4534, thanks @ jubalm)
- Try constant for undefined (#4552, thanks @ JoviDeCroock)
- Fix demo (#4551, thanks @ JoviDeCroock)
- Use
- Re-export ErrorInfo type (#4541, thanks @ jose-torres-marin)
- Skip PR reporter action on non-pull request triggers (#4536, thanks @ rschristian)
- upgrade biome to 1.9.4 (#4535, thanks @ unvalley)
- oxlint violation of
-
10.24.3 - 2024-10-14
- We should not always set to hydration when suspending (#4529, thanks @ JoviDeCroock)
- refactor: Warn on NaN in dep arrays instead of throwing (#4527, thanks @ rschristian)
- Context consumer unmounting perf (#4526, thanks @ JoviDeCroock)
- ci: Fix PR reporter (#4531, thanks @ rschristian)
- ci: Remove saucelabs (#4530, thanks @ rschristian)
- ci: Ensure paths-filter action works on push events (#4528, thanks @ rschristian)
- ci: Unify workflows into singular pipeline (#4520, thanks @ rschristian)
-
10.24.2 - 2024-10-04
- Improve performance and reduce memory allocation (#4521, thanks @ JoviDeCroock)
- Re-export types for events and event handlers (#4512, thanks @ jose-torres-marin)
- Merge upload actions to fix usage in v4 (#4515, thanks @ rschristian)
- Update Tachometer reporter glob to support subdirs (#4519, thanks @ rschristian)
- Fix download artifact regexp (#4517, thanks @ rschristian)
- Switch to regexp for download-artifact action (#4516, thanks @ rschristian)
- Bump upload/download-artifact action versions (#4511, thanks @ rschristian)
-
10.24.1 - 2024-09-24
- Prevent debug crash when analyzing hydration mismatches (#4507, thanks @ JoviDeCroock)
- Correct some missing & incorrect SVG types (#4505, thanks @ rschristian)
- Remove incorrect
- React props with children didn't allow for multiple children (#4493, thanks @ hesxenon)
- Bump to oxlint v0.9.6 (#4503, thanks @ Boshen)
-
10.24.0 - 2024-09-14
- Warn our user for hydration mismatches (#4490, thanks @ JoviDeCroock)
- Avoid setting value for progress with nullish value (#4492, thanks @ JoviDeCroock)
- Fix skewedIndex becoming outrageously big and document tradeoffs of our decisions (#4483, thanks @ JoviDeCroock)
- Fix typo in comment (#4494, thanks @ rburgst)
- Update fake compat version (#4488, thanks @ rschristian)
- Remove impossible branch (#4491, thanks @ JoviDeCroock)
- Golf down diffChildren (#4485, thanks @ JoviDeCroock)
- Get rid of eager unmounting (#4484, thanks @ JoviDeCroock)
-
10.23.2 - 2024-08-12
- Fix shifting VNode children to the front (#4472, thanks @ JoviDeCroock)
- Add TypeScript support for Container.contains (#4471, thanks @ sjoerdmulder)
- Add AriaRole types export (#4466, thanks @ kuronijin)
- Bump to oxlint v0.7.0 (#4469, thanks @ Boshen)
- General performance improvements for folks using compat (#4459, thanks @ JoviDeCroock)
- Prepare for no-unused-vars (#4462, thanks @ DonIsaac)
from preact GitHub release notesFixes
Types
Notable
Revert unkeyed no-search (#4604, thanks @ JoviDeCroock)
We noticed that there's a few unpleasant scenario's that could form from this change, we wanted to be on the safe side here and revert this for the time being. if you run into issues with swapping components placement wise in a list use the
keyproperty.Fixes
Types
Performance
Maintenance
Fixes
Types
defaultValueproperty types for inputs, selects, & textareas (#4585, thanks @ rschristian)typeattribute (#4582, thanks @ rschristian)createElement&htypes (#4578, thanks @ rschristian)href&hreflangattribute types (#4575, thanks @ rschristian)datetimeon<del>as optional (#4570, thanks @ marvinhagemeister)maxandminproperties on input element types (#4568, thanks @ rschristian)ElementReftype to compat (#4557, thanks @ rschristian)Maintenance
declare globalfrom internal types (#4583, thanks @ rschristian)Features
Move per-element type interfaces into core and more strictly type IntrinsicElements (#4546, thanks @ rschristian)
This adds per-element typings for every DOM-node type, this means that our types might become slightly stricter when you are using DOM attributes/properties where they are not allowed, an example of this might be
<div src="x" />.If you notice any issues when upgrading tell us about them, we can evaluate whether we have missed a case.
Recreate unkeyed functional components when they change position. (#4550, thanks @ JoviDeCroock)
This is a long time bugfix, when we have elements that look like
We would reuse the state of the first VNode to render the second one when the condition switches. When you are using
key, this issue was not present.Support
{ handleEvent() {} }object interface as a listener (#4538, thanks @ lilnasy)We've added support for attaching object/class event-handlers
onclick,
handleEvent() {
this.onclick()
}
}
<div onClick={handler} />
Fixes
Maintenance
Signalishhelper to reduce verbosity (#4545, thanks @ rschristian)react/iframe-missing-sandbox(#4533, thanks @ DonIsaac)Fixes
Performance
Maintenance
Performance
Types
Maintenance
Fixes
Types
spellChecktype (#4497, thanks @ rschristian)Maintenance
Features
Fixes
Types
AnyComponenttype to support classes (#4479, thanks @ rschristian)Maintenance
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: