-
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.2 #139
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.2. 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 pull request upgrades the Class diagram showing preact version upgradeclassDiagram
class Package {
+name: string
+version: string
+dependencies: object
}
class PreactDependency {
+name: string = 'preact'
+oldVersion: string = '10.11.3'
+newVersion: string = '10.25.2'
}
Package *-- PreactDependency : contains
note for PreactDependency "Version upgraded from 10.11.3 to 10.25.2"
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.2.
ℹ️ 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 39 versions ahead of your current version.
The recommended version was released 24 days ago.
Release notes
Package name: preact
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
key
property.Fixes
Types
Performance
Maintenance
Fixes
Types
defaultValue
property types for inputs, selects, & textareas (#4585, thanks @ rschristian)type
attribute (#4582, thanks @ rschristian)createElement
&h
types (#4578, thanks @ rschristian)href
&hreflang
attribute types (#4575, thanks @ rschristian)datetime
on<del>
as optional (#4570, thanks @ marvinhagemeister)max
andmin
properties on input element types (#4568, thanks @ rschristian)ElementRef
type to compat (#4557, thanks @ rschristian)Maintenance
declare global
from 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
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
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
Enhancements:
preact
dependency in the core package.