Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dependency preact to ^10.24.3 (#2772)
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 ([#​4529](https://redirect.github.com/preactjs/preact/issues/4529), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) - refactor: Warn on NaN in dep arrays instead of throwing ([#​4527](https://redirect.github.com/preactjs/preact/issues/4527), thanks [@​rschristian](https://redirect.github.com/rschristian)) ##### Performance - Context consumer unmounting perf ([#​4526](https://redirect.github.com/preactjs/preact/issues/4526), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) ##### Maintenance - ci: Fix PR reporter ([#​4531](https://redirect.github.com/preactjs/preact/issues/4531), thanks [@​rschristian](https://redirect.github.com/rschristian)) - ci: Remove saucelabs ([#​4530](https://redirect.github.com/preactjs/preact/issues/4530), thanks [@​rschristian](https://redirect.github.com/rschristian)) - ci: Ensure paths-filter action works on push events ([#​4528](https://redirect.github.com/preactjs/preact/issues/4528), thanks [@​rschristian](https://redirect.github.com/rschristian)) - ci: Unify workflows into singular pipeline ([#​4520](https://redirect.github.com/preactjs/preact/issues/4520), thanks [@​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 ([#​4521](https://redirect.github.com/preactjs/preact/issues/4521), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) #### Types - Re-export types for events and event handlers ([#​4512](https://redirect.github.com/preactjs/preact/issues/4512), thanks [@​jose-torres-marin](https://redirect.github.com/jose-torres-marin)) #### Maintenance - Merge upload actions to fix usage in v4 ([#​4515](https://redirect.github.com/preactjs/preact/issues/4515), thanks [@​rschristian](https://redirect.github.com/rschristian)) - Update Tachometer reporter glob to support subdirs ([#​4519](https://redirect.github.com/preactjs/preact/issues/4519), thanks [@​rschristian](https://redirect.github.com/rschristian)) - Fix download artifact regexp ([#​4517](https://redirect.github.com/preactjs/preact/issues/4517), thanks [@​rschristian](https://redirect.github.com/rschristian)) - Switch to regexp for download-artifact action ([#​4516](https://redirect.github.com/preactjs/preact/issues/4516), thanks [@​rschristian](https://redirect.github.com/rschristian)) - Bump upload/download-artifact action versions ([#​4511](https://redirect.github.com/preactjs/preact/issues/4511), thanks [@​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 ([#​4507](https://redirect.github.com/preactjs/preact/issues/4507), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) #### Types - Correct some missing & incorrect SVG types ([#​4505](https://redirect.github.com/preactjs/preact/issues/4505), thanks [@​rschristian](https://redirect.github.com/rschristian)) - Remove incorrect `spellCheck` type ([#​4497](https://redirect.github.com/preactjs/preact/issues/4497), thanks [@​rschristian](https://redirect.github.com/rschristian)) - React props with children didn't allow for multiple children ([#​4493](https://redirect.github.com/preactjs/preact/issues/4493), thanks [@​hesxenon](https://redirect.github.com/hesxenon)) #### Maintenance - Bump to oxlint v0.9.6 ([#​4503](https://redirect.github.com/preactjs/preact/issues/4503), thanks [@​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 ([#​4490](https://redirect.github.com/preactjs/preact/issues/4490), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) #### Fixes - Avoid setting value for progress with nullish value ([#​4492](https://redirect.github.com/preactjs/preact/issues/4492), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) - Fix skewedIndex becoming outrageously big and document tradeoffs of our decisions ([#​4483](https://redirect.github.com/preactjs/preact/issues/4483), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) #### Types - `AnyComponent` type to support classes ([#​4479](https://redirect.github.com/preactjs/preact/issues/4479), thanks [@​rschristian](https://redirect.github.com/rschristian)) #### Maintenance - Fix typo in comment ([#​4494](https://redirect.github.com/preactjs/preact/issues/4494), thanks [@​rburgst](https://redirect.github.com/rburgst)) - Update fake compat version ([#​4488](https://redirect.github.com/preactjs/preact/issues/4488), thanks [@​rschristian](https://redirect.github.com/rschristian)) - Remove impossible branch ([#​4491](https://redirect.github.com/preactjs/preact/issues/4491), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) - Golf down diffChildren ([#​4485](https://redirect.github.com/preactjs/preact/issues/4485), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) - Get rid of eager unmounting ([#​4484](https://redirect.github.com/preactjs/preact/issues/4484), thanks [@​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 ([#​4472](https://redirect.github.com/preactjs/preact/issues/4472), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) #### Types - Add TypeScript support for Container.contains ([#​4471](https://redirect.github.com/preactjs/preact/issues/4471), thanks [@​sjoerdmulder](https://redirect.github.com/sjoerdmulder)) - Add AriaRole types export ([#​4466](https://redirect.github.com/preactjs/preact/issues/4466), thanks [@​kuronijin](https://redirect.github.com/kuronijin)) #### Maintenance - Bump to oxlint v0.7.0 ([#​4469](https://redirect.github.com/preactjs/preact/issues/4469), thanks [@​Boshen](https://redirect.github.com/Boshen)) - General performance improvements for folks using compat ([#​4459](https://redirect.github.com/preactjs/preact/issues/4459), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) - Prepare for no-unused-vars ([#​4462](https://redirect.github.com/preactjs/preact/issues/4462), thanks [@​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 ([#​4454](https://redirect.github.com/preactjs/preact/issues/4454), thanks [@​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 ([#​4436](https://redirect.github.com/preactjs/preact/issues/4436), thanks [@​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 ([#​4448](https://redirect.github.com/preactjs/preact/issues/4448), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) - Invalid DOM check not firing when p/a/button have a parent ([#​4449](https://redirect.github.com/preactjs/preact/issues/4449), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) - Support comments for streaming renders ([#​4446](https://redirect.github.com/preactjs/preact/issues/4446), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) - Import renderToPipeableStream in server.mjs for re-exporting ([#​4440](https://redirect.github.com/preactjs/preact/issues/4440), thanks [@​3846masa](https://redirect.github.com/3846masa)) #### Types - Add missing types ElementType and ComponentPropsWithoutRef ([#​4433](https://redirect.github.com/preactjs/preact/issues/4433), thanks [@​hamza0867](https://redirect.github.com/hamza0867)) - Add html attributes types [#​4099](https://redirect.github.com/preactjs/preact/issues/4099) ([#​4100](https://redirect.github.com/preactjs/preact/issues/4100), thanks [@​samsam-ahmadi](https://redirect.github.com/samsam-ahmadi)) #### Maintenance - Dependency maintenance ([#​4431](https://redirect.github.com/preactjs/preact/issues/4431), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) - Fix coveralls reporting on PRs ([#​4430](https://redirect.github.com/preactjs/preact/issues/4430), thanks [@​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 ([#​4409](https://redirect.github.com/preactjs/preact/issues/4409), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) - Prevent useMemo from being too lazy with repeated renders ([#​4426](https://redirect.github.com/preactjs/preact/issues/4426), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) - Replace isConnected with parentDom.contains ([#​4421](https://redirect.github.com/preactjs/preact/issues/4421), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) - Graciously handle array shuffling ([#​4413](https://redirect.github.com/preactjs/preact/issues/4413), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) - Support popover boolean attribute ([#​4393](https://redirect.github.com/preactjs/preact/issues/4393), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) #### Types - Improve React compatibility for `Ref` type. ([#​4403](https://redirect.github.com/preactjs/preact/issues/4403), thanks [@​maxbrieiev](https://redirect.github.com/maxbrieiev)) - Expose stream render from `preact-render-to-string` ([#​4395](https://redirect.github.com/preactjs/preact/issues/4395), thanks [@​Austaras](https://redirect.github.com/Austaras)) #### Maintenance - Prefer `globalThis` over `window` if available ([#​4401](https://redirect.github.com/preactjs/preact/issues/4401), thanks [@​marvinhagemeister](https://redirect.github.com/marvinhagemeister)) - Bump lockfile version to v3 ([#​4398](https://redirect.github.com/preactjs/preact/issues/4398), thanks [@​rschristian](https://redirect.github.com/rschristian)) #### Performance - Improve perf by skipping some lifecycle hooks for perf ([#​4366](https://redirect.github.com/preactjs/preact/issues/4366), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) - Create hot path for unmounting a tree of context ([#​4396](https://redirect.github.com/preactjs/preact/issues/4396), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) - Migrate husky v9 ([#​4390](https://redirect.github.com/preactjs/preact/issues/4390), thanks [@​castrogarciajs](https://redirect.github.com/castrogarciajs)) - Migrate to oxlint ([#​4387](https://redirect.github.com/preactjs/preact/issues/4387), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) - Migrate to biome ([#​4386](https://redirect.github.com/preactjs/preact/issues/4386), thanks [@​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