Skip to content
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

fix(deps): update dependency preact to v10.25.0 #776

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 22, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
preact (source) 10.24.3 -> 10.25.0 age adoption passing confidence

Release Notes

preactjs/preact (preact)

v10.25.0

Compare Source

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

return (
	{condition ? <Element /> : null}
	{condition ? null : <Element />
)

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

let handler = {
	onclick,
	handleEvent() {
		this.onclick()
	}
}

<div onClick={handler} />

Fixes

Maintenance


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Nov 22, 2024
Copy link
Contributor Author

renovate bot commented Nov 22, 2024

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.


  • Branch has one or more failed status checks

@renovate renovate bot force-pushed the renovate/preact-10.x-lockfile branch from e9429e1 to 57dbce9 Compare November 22, 2024 21:51
Copy link

relativeci bot commented Nov 22, 2024

#2151 Bundle Size — 269.6KiB (+0.02%).

bd3f087(current) vs 26b5b40 main#2150(baseline)

Bundle metrics  Change 3 changes Regression 1 regression
                 Current
#2151
     Baseline
#2150
Regression  Initial JS 120.35KiB(+0.05%) 120.29KiB
No change  Initial CSS 19.3KiB 19.3KiB
Change  Cache Invalidation 44.63% 0%
No change  Chunks 3 3
No change  Assets 25 25
No change  Modules 51 51
No change  Duplicate Modules 6 6
Change  Duplicate Code 33.12%(-0.03%) 33.13%
No change  Packages 8 8
No change  Duplicate Packages 0 0
Bundle size by type  Change 1 change Regression 1 regression
                 Current
#2151
     Baseline
#2150
Regression  JS 176.36KiB (+0.03%) 176.3KiB
No change  IMG 58.18KiB 58.18KiB
No change  CSS 19.3KiB 19.3KiB
No change  HTML 14.09KiB 14.09KiB
No change  Other 1.67KiB 1.67KiB

Bundle analysis reportBranch renovate/preact-10.x-lockfileProject dashboard


Generated by RelativeCIDocumentationReport issue

@renovate renovate bot force-pushed the renovate/preact-10.x-lockfile branch from 57dbce9 to bd3f087 Compare November 23, 2024 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants