jmcdo29 / nest-commander

A module for using NestJS to build up CLI applications
https://nest-commander.jaymcdoniel.dev/
MIT License
435 stars 53 forks source link

chore(deps): update dependency preact to v10.25.0 #1176

Open renovate[bot] opened 1 month ago

renovate[bot] commented 1 month ago

This PR contains the following updates:

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

Release Notes

preactjs/preact (preact) ### [`v10.25.0`](https://redirect.github.com/preactjs/preact/releases/tag/10.25.0) [Compare Source](https://redirect.github.com/preactjs/preact/compare/10.24.3...10.25.0) #### Features ##### Move per-element type interfaces into core and more strictly type IntrinsicElements ([#​4546](https://redirect.github.com/preactjs/preact/issues/4546), thanks [@​rschristian](https://redirect.github.com/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 `
`. 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](https://redirect.github.com/preactjs/preact/issues/4550), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) This is a long time bugfix, when we have elements that look like ```js return ( {condition ? : null} {condition ? null : ) ``` 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](https://redirect.github.com/preactjs/preact/issues/4538), thanks [@​lilnasy](https://redirect.github.com/lilnasy)) We've added support for attaching object/class event-handlers ```js let handler = { onclick, handleEvent() { this.onclick() } }
``` #### Fixes - Ensure state updates work in signals ([#​4560](https://redirect.github.com/preactjs/preact/issues/4560), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) - Ensure SVGAttributes includes height & width ([#​4556](https://redirect.github.com/preactjs/preact/issues/4556), thanks [@​rschristian](https://redirect.github.com/rschristian)) - Fork types for TS 5.1 and beyond ([#​4548](https://redirect.github.com/preactjs/preact/issues/4548), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) - Re-add missing properties & property casings ([#​4554](https://redirect.github.com/preactjs/preact/issues/4554), thanks [@​rschristian](https://redirect.github.com/rschristian)) - Ensure we unwrap custom .then() ([#​4547](https://redirect.github.com/preactjs/preact/issues/4547), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) - Fix error message when nesting invalid elements within \

tags ([#​4534](https://redirect.github.com/preactjs/preact/issues/4534), thanks [@​jubalm](https://redirect.github.com/jubalm)) #### Maintenance - Try constant for undefined ([#​4552](https://redirect.github.com/preactjs/preact/issues/4552), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) - Fix demo ([#​4551](https://redirect.github.com/preactjs/preact/issues/4551), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) - Use `Signalish` helper to reduce verbosity ([#​4545](https://redirect.github.com/preactjs/preact/issues/4545), thanks [@​rschristian](https://redirect.github.com/rschristian)) - Re-export ErrorInfo type ([#​4541](https://redirect.github.com/preactjs/preact/issues/4541), thanks [@​jose-torres-marin](https://redirect.github.com/jose-torres-marin)) - Skip PR reporter action on non-pull request triggers ([#​4536](https://redirect.github.com/preactjs/preact/issues/4536), thanks [@​rschristian](https://redirect.github.com/rschristian)) - upgrade biome to 1.9.4 ([#​4535](https://redirect.github.com/preactjs/preact/issues/4535), thanks [@​unvalley](https://redirect.github.com/unvalley)) - oxlint violation of `react/iframe-missing-sandbox` ([#​4533](https://redirect.github.com/preactjs/preact/issues/4533), thanks [@​DonIsaac](https://redirect.github.com/DonIsaac)) ### [`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 { // 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))


Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.



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

changeset-bot[bot] commented 1 month ago

⚠️ No Changeset found

Latest commit: 8bb8b75d294beeed45197621d56ebefe3f18347d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR