-
Notifications
You must be signed in to change notification settings - Fork 1
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
[Snyk] Upgrade preact from 10.11.3 to 10.25.0 #136
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.25.0. 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
Run & review this pull request in StackBlitz Codeflow. |
|
Reviewer's Guide by SourceryThis PR upgrades the preact dependency from version 10.11.3 to 10.25.0, which includes several new features, bug fixes, and performance improvements. The upgrade spans 37 versions and includes significant TypeScript type improvements and DOM handling enhancements. 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.25.0.
ℹ️ 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 37 versions ahead of your current version.
The recommended version was released on 23 days ago.
Release notes
Package name: preact
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
Signalish
helper to reduce verbosity (#4545, thanks @ rschristian)react/iframe-missing-sandbox
(#4533, thanks @ DonIsaac)Fixes
Performance
Maintenance
Performance
Types
Maintenance
Fixes
Types
spellCheck
type (#4497, thanks @ rschristian)Maintenance
Features
Fixes
Types
AnyComponent
type to support classes (#4479, thanks @ rschristian)Maintenance
Fixes
Types
Maintenance
Fixes
Features
This adds support for returning a function in functional refs, example
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:
Summary by Sourcery
Build: