Skip to content

Commit

Permalink
chore(deps): update dependency preact to ^10.24.3 (#2772)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [preact](https://preactjs.com)
([source](https://redirect.github.com/preactjs/preact)) | [`^10.22.0` ->
`^10.24.3`](https://renovatebot.com/diffs/npm/preact/10.22.0/10.24.3) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/preact/10.24.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/preact/10.24.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/preact/10.22.0/10.24.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/preact/10.22.0/10.24.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>preactjs/preact (preact)</summary>

###
[`v10.24.3`](https://redirect.github.com/preactjs/preact/releases/tag/10.24.3)

[Compare
Source](https://redirect.github.com/preactjs/preact/compare/10.24.2...10.24.3)

##### Fixes

- We should not always set to hydration when suspending
([#&#8203;4529](https://redirect.github.com/preactjs/preact/issues/4529),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))
- refactor: Warn on NaN in dep arrays instead of throwing
([#&#8203;4527](https://redirect.github.com/preactjs/preact/issues/4527),
thanks [@&#8203;rschristian](https://redirect.github.com/rschristian))

##### Performance

- Context consumer unmounting perf
([#&#8203;4526](https://redirect.github.com/preactjs/preact/issues/4526),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))

##### Maintenance

- ci: Fix PR reporter
([#&#8203;4531](https://redirect.github.com/preactjs/preact/issues/4531),
thanks [@&#8203;rschristian](https://redirect.github.com/rschristian))
- ci: Remove saucelabs
([#&#8203;4530](https://redirect.github.com/preactjs/preact/issues/4530),
thanks [@&#8203;rschristian](https://redirect.github.com/rschristian))
- ci: Ensure paths-filter action works on push events
([#&#8203;4528](https://redirect.github.com/preactjs/preact/issues/4528),
thanks [@&#8203;rschristian](https://redirect.github.com/rschristian))
- ci: Unify workflows into singular pipeline
([#&#8203;4520](https://redirect.github.com/preactjs/preact/issues/4520),
thanks [@&#8203;rschristian](https://redirect.github.com/rschristian))

###
[`v10.24.2`](https://redirect.github.com/preactjs/preact/releases/tag/10.24.2)

[Compare
Source](https://redirect.github.com/preactjs/preact/compare/10.24.1...10.24.2)

#### Performance

- Improve performance and reduce memory allocation
([#&#8203;4521](https://redirect.github.com/preactjs/preact/issues/4521),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))

#### Types

- Re-export types for events and event handlers
([#&#8203;4512](https://redirect.github.com/preactjs/preact/issues/4512),
thanks
[@&#8203;jose-torres-marin](https://redirect.github.com/jose-torres-marin))

#### Maintenance

- Merge upload actions to fix usage in v4
([#&#8203;4515](https://redirect.github.com/preactjs/preact/issues/4515),
thanks [@&#8203;rschristian](https://redirect.github.com/rschristian))
- Update Tachometer reporter glob to support subdirs
([#&#8203;4519](https://redirect.github.com/preactjs/preact/issues/4519),
thanks [@&#8203;rschristian](https://redirect.github.com/rschristian))
- Fix download artifact regexp
([#&#8203;4517](https://redirect.github.com/preactjs/preact/issues/4517),
thanks [@&#8203;rschristian](https://redirect.github.com/rschristian))
- Switch to regexp for download-artifact action
([#&#8203;4516](https://redirect.github.com/preactjs/preact/issues/4516),
thanks [@&#8203;rschristian](https://redirect.github.com/rschristian))
- Bump upload/download-artifact action versions
([#&#8203;4511](https://redirect.github.com/preactjs/preact/issues/4511),
thanks [@&#8203;rschristian](https://redirect.github.com/rschristian))

###
[`v10.24.1`](https://redirect.github.com/preactjs/preact/releases/tag/10.24.1)

[Compare
Source](https://redirect.github.com/preactjs/preact/compare/10.24.0...10.24.1)

#### Fixes

- Prevent debug crash when analyzing hydration mismatches
([#&#8203;4507](https://redirect.github.com/preactjs/preact/issues/4507),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))

#### Types

- Correct some missing & incorrect SVG types
([#&#8203;4505](https://redirect.github.com/preactjs/preact/issues/4505),
thanks [@&#8203;rschristian](https://redirect.github.com/rschristian))
- Remove incorrect `spellCheck` type
([#&#8203;4497](https://redirect.github.com/preactjs/preact/issues/4497),
thanks [@&#8203;rschristian](https://redirect.github.com/rschristian))
- React props with children didn't allow for multiple children
([#&#8203;4493](https://redirect.github.com/preactjs/preact/issues/4493),
thanks [@&#8203;hesxenon](https://redirect.github.com/hesxenon))

#### Maintenance

- Bump to oxlint v0.9.6
([#&#8203;4503](https://redirect.github.com/preactjs/preact/issues/4503),
thanks [@&#8203;Boshen](https://redirect.github.com/Boshen))

###
[`v10.24.0`](https://redirect.github.com/preactjs/preact/releases/tag/10.24.0)

[Compare
Source](https://redirect.github.com/preactjs/preact/compare/10.23.2...10.24.0)

#### Features

- Warn our user for hydration mismatches
([#&#8203;4490](https://redirect.github.com/preactjs/preact/issues/4490),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))

#### Fixes

- Avoid setting value for progress with nullish value
([#&#8203;4492](https://redirect.github.com/preactjs/preact/issues/4492),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))
- Fix skewedIndex becoming outrageously big and document tradeoffs of
our decisions
([#&#8203;4483](https://redirect.github.com/preactjs/preact/issues/4483),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))

#### Types

- `AnyComponent` type to support classes
([#&#8203;4479](https://redirect.github.com/preactjs/preact/issues/4479),
thanks [@&#8203;rschristian](https://redirect.github.com/rschristian))

#### Maintenance

- Fix typo in comment
([#&#8203;4494](https://redirect.github.com/preactjs/preact/issues/4494),
thanks [@&#8203;rburgst](https://redirect.github.com/rburgst))
- Update fake compat version
([#&#8203;4488](https://redirect.github.com/preactjs/preact/issues/4488),
thanks [@&#8203;rschristian](https://redirect.github.com/rschristian))
- Remove impossible branch
([#&#8203;4491](https://redirect.github.com/preactjs/preact/issues/4491),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))
- Golf down diffChildren
([#&#8203;4485](https://redirect.github.com/preactjs/preact/issues/4485),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))
- Get rid of eager unmounting
([#&#8203;4484](https://redirect.github.com/preactjs/preact/issues/4484),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))

###
[`v10.23.2`](https://redirect.github.com/preactjs/preact/releases/tag/10.23.2)

[Compare
Source](https://redirect.github.com/preactjs/preact/compare/10.23.1...10.23.2)

#### Fixes

- Fix shifting VNode children to the front
([#&#8203;4472](https://redirect.github.com/preactjs/preact/issues/4472),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))

#### Types

- Add TypeScript support for Container.contains
([#&#8203;4471](https://redirect.github.com/preactjs/preact/issues/4471),
thanks [@&#8203;sjoerdmulder](https://redirect.github.com/sjoerdmulder))
- Add AriaRole types export
([#&#8203;4466](https://redirect.github.com/preactjs/preact/issues/4466),
thanks [@&#8203;kuronijin](https://redirect.github.com/kuronijin))

#### Maintenance

- Bump to oxlint v0.7.0
([#&#8203;4469](https://redirect.github.com/preactjs/preact/issues/4469),
thanks [@&#8203;Boshen](https://redirect.github.com/Boshen))
- General performance improvements for folks using compat
([#&#8203;4459](https://redirect.github.com/preactjs/preact/issues/4459),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))
- Prepare for no-unused-vars
([#&#8203;4462](https://redirect.github.com/preactjs/preact/issues/4462),
thanks [@&#8203;DonIsaac](https://redirect.github.com/DonIsaac))

###
[`v10.23.1`](https://redirect.github.com/preactjs/preact/releases/tag/10.23.1)

[Compare
Source](https://redirect.github.com/preactjs/preact/compare/10.23.0...10.23.1)

#### Fixes

- Fix debug-issue in testing libraries where there might not be a DOM
node
([#&#8203;4454](https://redirect.github.com/preactjs/preact/issues/4454),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))

###
[`v10.23.0`](https://redirect.github.com/preactjs/preact/releases/tag/10.23.0)

[Compare
Source](https://redirect.github.com/preactjs/preact/compare/10.22.1...10.23.0)

#### Features

- Support ref cleanup functions
([#&#8203;4436](https://redirect.github.com/preactjs/preact/issues/4436),
thanks
[@&#8203;marvinhagemeister](https://redirect.github.com/marvinhagemeister))

This adds support for returning a function in functional refs, example

```jsx
<input
  ref={(ref) => {
    // Assign ref, do something with it
    return () => {
      // ref cleanup, when the element unmounts
      // we run the cleanup
    };
  }}
/>
```

#### Fixes

- Child-diffing should shift keyed fragmented lists
([#&#8203;4448](https://redirect.github.com/preactjs/preact/issues/4448),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))
- Invalid DOM check not firing when p/a/button have a parent
([#&#8203;4449](https://redirect.github.com/preactjs/preact/issues/4449),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))
- Support comments for streaming renders
([#&#8203;4446](https://redirect.github.com/preactjs/preact/issues/4446),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))
- Import renderToPipeableStream in server.mjs for re-exporting
([#&#8203;4440](https://redirect.github.com/preactjs/preact/issues/4440),
thanks [@&#8203;3846masa](https://redirect.github.com/3846masa))

#### Types

- Add missing types ElementType and ComponentPropsWithoutRef
([#&#8203;4433](https://redirect.github.com/preactjs/preact/issues/4433),
thanks [@&#8203;hamza0867](https://redirect.github.com/hamza0867))
- Add html attributes types
[#&#8203;4099](https://redirect.github.com/preactjs/preact/issues/4099)
([#&#8203;4100](https://redirect.github.com/preactjs/preact/issues/4100),
thanks
[@&#8203;samsam-ahmadi](https://redirect.github.com/samsam-ahmadi))

#### Maintenance

- Dependency maintenance
([#&#8203;4431](https://redirect.github.com/preactjs/preact/issues/4431),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))
- Fix coveralls reporting on PRs
([#&#8203;4430](https://redirect.github.com/preactjs/preact/issues/4430),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))

###
[`v10.22.1`](https://redirect.github.com/preactjs/preact/releases/tag/10.22.1)

[Compare
Source](https://redirect.github.com/preactjs/preact/compare/10.22.0...10.22.1)

#### Fixes

- Only check is connected for dom nodes
([#&#8203;4409](https://redirect.github.com/preactjs/preact/issues/4409),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))
- Prevent useMemo from being too lazy with repeated renders
([#&#8203;4426](https://redirect.github.com/preactjs/preact/issues/4426),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))
- Replace isConnected with parentDom.contains
([#&#8203;4421](https://redirect.github.com/preactjs/preact/issues/4421),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))
- Graciously handle array shuffling
([#&#8203;4413](https://redirect.github.com/preactjs/preact/issues/4413),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))
- Support popover boolean attribute
([#&#8203;4393](https://redirect.github.com/preactjs/preact/issues/4393),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))

#### Types

- Improve React compatibility for `Ref` type.
([#&#8203;4403](https://redirect.github.com/preactjs/preact/issues/4403),
thanks [@&#8203;maxbrieiev](https://redirect.github.com/maxbrieiev))
- Expose stream render from `preact-render-to-string`
([#&#8203;4395](https://redirect.github.com/preactjs/preact/issues/4395),
thanks [@&#8203;Austaras](https://redirect.github.com/Austaras))

#### Maintenance

- Prefer `globalThis` over `window` if available
([#&#8203;4401](https://redirect.github.com/preactjs/preact/issues/4401),
thanks
[@&#8203;marvinhagemeister](https://redirect.github.com/marvinhagemeister))
- Bump lockfile version to v3
([#&#8203;4398](https://redirect.github.com/preactjs/preact/issues/4398),
thanks [@&#8203;rschristian](https://redirect.github.com/rschristian))

#### Performance

- Improve perf by skipping some lifecycle hooks for perf
([#&#8203;4366](https://redirect.github.com/preactjs/preact/issues/4366),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))
- Create hot path for unmounting a tree of context
([#&#8203;4396](https://redirect.github.com/preactjs/preact/issues/4396),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))
- Migrate husky v9
([#&#8203;4390](https://redirect.github.com/preactjs/preact/issues/4390),
thanks
[@&#8203;castrogarciajs](https://redirect.github.com/castrogarciajs))
- Migrate to oxlint
([#&#8203;4387](https://redirect.github.com/preactjs/preact/issues/4387),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))
- Migrate to biome
([#&#8203;4386](https://redirect.github.com/preactjs/preact/issues/4386),
thanks [@&#8203;JoviDeCroock](https://redirect.github.com/JoviDeCroock))

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

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

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/fwouts/previewjs).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjAuMSIsInVwZGF0ZWRJblZlciI6IjM4LjEyMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Oct 26, 2024
1 parent 26b2109 commit 19502cb
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 31 deletions.
2 changes: 1 addition & 1 deletion framework-plugins/preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@previewjs/testing": "workspace:*",
"pino": "^9.5.0",
"pino-pretty": "^11.2.1",
"preact": "^10.22.0",
"preact": "^10.24.3",
"rimraf": "^5.0.10",
"unbuild": "^2.0.0",
"vite": "^5.3.1",
Expand Down
61 changes: 31 additions & 30 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 19502cb

Please sign in to comment.