-
Notifications
You must be signed in to change notification settings - Fork 1
[Snyk] Upgrade preact from 10.11.3 to 10.26.4 #146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Snyk has created this PR to upgrade preact from 10.11.3 to 10.26.4. See this package in npm: preact See this project in Snyk: https://app.snyk.io/org/sammytezzy/project/d44a33bd-57c9-417a-aad9-c6257f92658a?utm_source=github&utm_medium=referral&page=upgrade-pr
|
|
|
Reviewer's Guide by SourceryThis pull request upgrades the preact dependency from version 10.11.3 to 10.26.4 by modifying the version number in No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have skipped reviewing this pull request. Here's why:
- It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
- We don't review packaging changes - Let us know if you'd like us to change this.
Snyk has created this PR to upgrade preact from 10.11.3 to 10.26.4.
ℹ️ 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 46 versions ahead of your current version.
The recommended version was released 23 days ago.
Release notes
Package name: preact
-
10.26.4 - 2025-02-28
- Address context fragments issue (#4717, thanks @ JoviDeCroock)
-
10.26.3 - 2025-02-27
- Keyed nullish placeholders cause re-mounts (#4700, thanks @ JoviDeCroock)
- Add command invoker types (#4692, thanks @ lukewarlow)
- Flesh out HTMLMediaElement types (#4705, thanks @ rschristian)
- Add
- Add dialog
- Add
- Refactor
- Remove console log in debug package (#4709, thanks @ rschristian)
- Remove unused deps (#4707, thanks @ JoviDeCroock)
- Fix mocha in Node v22+ (#4701, thanks @ rschristian)
- Fix TS lang server support in our
-
10.26.2 - 2025-02-18
- Remove pkg type (#4689, thanks @ rschristian)
- Skip benches during release workflows (#4686, thanks @ rschristian)
-
10.26.1 - 2025-02-18
- Fixes memory leak when wrapping Fragment is captured by an effect closure (#4680, thanks @ JoviDeCroock)
- Created NULL constant (#4682, thanks @ Ben-Brady)
- Simplify compat build script (#4677, thanks @ rschristian)
- Add renderToReadableStream export (#4678, thanks @ JoviDeCroock)
- Fix mocha in Node v22+ (#4629, thanks @ rschristian)
-
10.26.0 - 2025-02-16
- Support the template tag (#4639, thanks @ JoviDeCroock)
- Allow for Context as JSX (#4618, thanks @ JoviDeCroock)
- Typo in
- Switch _contextRef and _id (#4632, thanks @ JoviDeCroock)
- Add hasScuFromHooks to mangle (#4627, thanks @ JoviDeCroock)
- Ref unmount imperative handle (#4625, thanks @ JoviDeCroock)
- Correct
- Fix
- Remove
- Add
- Expose EventHandler from compat (#4674, thanks @ rschristian)
- Expose AriaAttributes from compat (#4673, thanks @ rschristian)
- Add auxClick event types (#4672, thanks @ rschristian)
- Silence Karma warning over node:stream from RTS (#4660, thanks @ rschristian)
- Fix path filter in reporter workflow (#4654, thanks @ rschristian)
- Fix path filter in PR Reporter action (#4644, thanks @ rschristian)
- Run PR Reporter even against PRs from forks (#4643, thanks @ rschristian)
- Update http:// links to https:// (#4638, thanks @ jviide)
- Refactor component.js process() (#4637, thanks @ jviide)
-
10.25.4 - 2024-12-28
- Incorrect onToggle event type (#4615, thanks @ rschristian)
- Support multiple synchronous timings for act (#4619, thanks @ rock-57blocks)
-
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
-
10.24.2 - 2024-10-04
-
10.24.1 - 2024-09-24
-
10.24.0 - 2024-09-14
-
10.23.2 - 2024-08-12
-
10.23.1 - 2024-07-25
-
10.23.0 - 2024-07-23
-
10.22.1 - 2024-07-01
-
10.22.0 - 2024-05-15
-
10.21.0 - 2024-04-30
-
10.20.2 - 2024-04-09
-
10.20.1 - 2024-03-23
-
10.20.0 - 2024-03-20
-
10.19.7 - 2024-03-18
-
10.19.6 - 2024-02-22
-
10.19.5 - 2024-02-16
-
10.19.4 - 2024-02-08
-
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
Fixes
Types
onBeforeToggleevent handler type (#4694, thanks @ lukewarlow)closedbytypes (#4693, thanks @ lukewarlow)fetchPrioritytoimg(#4713, thanks @ JoviDeCroock)AllHTMLAttributesinterface (#4706, thanks @ rschristian)Maintenance
.d.tsfiles (#4698, thanks @ rschristian)This is a hotfix release! If you are encountering bundling issues with regards to unallowed
importsyntax, this will fix it!Fixes
Maintenance
Fixes
Optimization
Maintenance
Features
Fixes
_hasScuFromHooksmangle (#4645, thanks @ rschristian)Types
HTMLPropsto extend all known props (#4651, thanks @ rschristian)ComponentPropstype (#4634, thanks @ rschristian)genericaria role from types (#4610, thanks @ rschristian)FowardRefRenderFunctiontype to compat (#4675, thanks @ rschristian)Maintenance
Types
Fixes
Fixes
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)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:
Summary by Sourcery
Chores: