-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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(server + client): fix some issues with inferring Record types as procedure outputs #4986
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
// 1. we don't match narrower objects like { foo: string } that are also assignable to Record<string, string> | ||
// 2. the keys are not symbols | ||
// Excluding literal keys (e.g. "foo") from PropertyKey (string | number | symbol) does not exclude anything... | ||
Exclude<PropertyKey, keyof T> extends infer TheKeys extends PropertyKey ? |
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.
Could probably use something like type IsRecord<T> = Record<never, never> extends T ? true : false
for this to make the check simpler
T extends JsonReturnable ? T : | ||
T extends Map<any, any> | Set<any> ? object : | ||
T extends NonJsonPrimitive ? never : | ||
T extends { toJSON(): infer U } ? U : | ||
T extends [] ? [] : | ||
T extends [unknown, ...unknown[]] ? SerializeTuple<T> : | ||
T extends readonly (infer U)[] ? (U extends NonJsonPrimitive ? null : Serialize<U>)[] : | ||
T extends object ? Simplify<SerializeObject<UndefinedToOptional<T>>> : | ||
never; | ||
T extends object ? |
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.
what a type...
Turns out records did not have to be specially handled. The problem was that |
export type Serialize<T> = IsAny<T> extends true | ||
? any | ||
: unknown extends T | ||
? unknown |
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.
Sorry about this diff. The only thing this commit actually changes about type Serialize
is it adds explicit handling for unknown
here
@@ -41,7 +51,20 @@ type SerializeTuple<T extends [unknown, ...unknown[]]> = { | |||
* @internal | |||
**/ | |||
export type SerializeObject<T extends object> = { | |||
[k in keyof Omit<T, FilterKeys<T, NonJsonPrimitive>>]: Serialize<T[k]>; | |||
[k in keyof T as k extends symbol |
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.
main beef is here
What would you intuitively think |
// prettier-ignore | ||
type SerializeObjectKey<T extends Record<any, any>, TKey> = | ||
// never include entries where the key is a symbol | ||
TKey extends symbol ? never : | ||
// always include entries where the value is any | ||
IsAny<T[TKey]> extends true ? TKey : | ||
// always include entries where the value is unknown | ||
unknown extends T[TKey] ? TKey : | ||
// never include entries where the value is a non-JSON primitive | ||
T[TKey] extends NonJsonPrimitive ? never : | ||
// otherwise serialize the value | ||
TKey; |
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.
cc @jussisaurio i made this fn - looks good?
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.
yeah lgtm
@@ -21,6 +21,7 @@ type JsonReturnable = JsonPrimitive | undefined; | |||
// prettier-ignore | |||
export type Serialize<T> = | |||
IsAny<T> extends true ? any : | |||
unknown extends T ? unknown : |
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.
fixed the formatting here
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@trpc/client](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`10.43.0` -> `10.43.1`](https://renovatebot.com/diffs/npm/@trpc%2fclient/10.43.0/10.43.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@trpc%2fclient/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@trpc%2fclient/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@trpc%2fclient/10.43.0/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@trpc%2fclient/10.43.0/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@trpc/next](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`10.43.0` -> `10.43.1`](https://renovatebot.com/diffs/npm/@trpc%2fnext/10.43.0/10.43.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@trpc%2fnext/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@trpc%2fnext/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@trpc%2fnext/10.43.0/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@trpc%2fnext/10.43.0/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@trpc/react-query](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`10.43.0` -> `10.43.1`](https://renovatebot.com/diffs/npm/@trpc%2freact-query/10.43.0/10.43.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@trpc%2freact-query/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@trpc%2freact-query/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@trpc%2freact-query/10.43.0/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@trpc%2freact-query/10.43.0/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@trpc/server](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`10.43.0` -> `10.43.1`](https://renovatebot.com/diffs/npm/@trpc%2fserver/10.43.0/10.43.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@trpc%2fserver/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@trpc%2fserver/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@trpc%2fserver/10.43.0/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@trpc%2fserver/10.43.0/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>trpc/trpc (@​trpc/client)</summary> ### [`v10.43.1`](https://togithub.com/trpc/trpc/releases/tag/v10.43.1) [Compare Source](https://togithub.com/trpc/trpc/compare/v10.43.0...v10.43.1) ##### What's Changed - fix(server + client): incorrect inferred input type when using standalone middleware by [@​jussisaurio](https://togithub.com/jussisaurio) in [trpc/trpc#4973 - fix(server + client): fix some issues with inferring Record types as procedure outputs by [@​jussisaurio](https://togithub.com/jussisaurio) in [trpc/trpc#4986 ##### New Contributors - [@​MadaShindeInai](https://togithub.com/MadaShindeInai) made their first contribution in [trpc/trpc#4979 **Full Changelog**: trpc/trpc@v10.43.0...v10.43.1 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 3am,before 9am" (UTC), 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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/ettorepuccetti/terrarossa). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuMzEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@crowdin/crowdin-api-client](https://togithub.com/crowdin/crowdin-api-client-js) | [`1.25.1` -> `1.26.0`](https://renovatebot.com/diffs/npm/@crowdin%2fcrowdin-api-client/1.25.1/1.26.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@crowdin%2fcrowdin-api-client/1.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@crowdin%2fcrowdin-api-client/1.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@crowdin%2fcrowdin-api-client/1.25.1/1.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@crowdin%2fcrowdin-api-client/1.25.1/1.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@storybook/addon-a11y](https://togithub.com/storybookjs/storybook/tree/next/code/addons/a11y) ([source](https://togithub.com/storybookjs/storybook)) | [`7.5.1` -> `7.5.2`](https://renovatebot.com/diffs/npm/@storybook%2faddon-a11y/7.5.1/7.5.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@storybook%2faddon-a11y/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@storybook%2faddon-a11y/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@storybook%2faddon-a11y/7.5.1/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@storybook%2faddon-a11y/7.5.1/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@storybook/addon-essentials](https://togithub.com/storybookjs/storybook/tree/next/code/addons/essentials) ([source](https://togithub.com/storybookjs/storybook)) | [`7.5.1` -> `7.5.2`](https://renovatebot.com/diffs/npm/@storybook%2faddon-essentials/7.5.1/7.5.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@storybook%2faddon-essentials/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@storybook%2faddon-essentials/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@storybook%2faddon-essentials/7.5.1/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@storybook%2faddon-essentials/7.5.1/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@storybook/addon-interactions](https://togithub.com/storybookjs/storybook/tree/next/code/addons/interactions) ([source](https://togithub.com/storybookjs/storybook)) | [`7.5.1` -> `7.5.2`](https://renovatebot.com/diffs/npm/@storybook%2faddon-interactions/7.5.1/7.5.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@storybook%2faddon-interactions/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@storybook%2faddon-interactions/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@storybook%2faddon-interactions/7.5.1/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@storybook%2faddon-interactions/7.5.1/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@storybook/addon-links](https://togithub.com/storybookjs/storybook/tree/next/code/addons/links) ([source](https://togithub.com/storybookjs/storybook)) | [`7.5.1` -> `7.5.2`](https://renovatebot.com/diffs/npm/@storybook%2faddon-links/7.5.1/7.5.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@storybook%2faddon-links/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@storybook%2faddon-links/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@storybook%2faddon-links/7.5.1/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@storybook%2faddon-links/7.5.1/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@storybook/addon-viewport](https://togithub.com/storybookjs/storybook/tree/next/code/addons/viewport) ([source](https://togithub.com/storybookjs/storybook)) | [`7.5.1` -> `7.5.2`](https://renovatebot.com/diffs/npm/@storybook%2faddon-viewport/7.5.1/7.5.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@storybook%2faddon-viewport/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@storybook%2faddon-viewport/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@storybook%2faddon-viewport/7.5.1/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@storybook%2faddon-viewport/7.5.1/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@storybook/blocks](https://togithub.com/storybookjs/storybook/tree/next/code/ui/blocks) ([source](https://togithub.com/storybookjs/storybook)) | [`7.5.1` -> `7.5.2`](https://renovatebot.com/diffs/npm/@storybook%2fblocks/7.5.1/7.5.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@storybook%2fblocks/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@storybook%2fblocks/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@storybook%2fblocks/7.5.1/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@storybook%2fblocks/7.5.1/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@storybook/nextjs](https://togithub.com/storybookjs/storybook/tree/next/code/frameworks/nextjs) ([source](https://togithub.com/storybookjs/storybook)) | [`7.5.1` -> `7.5.2`](https://renovatebot.com/diffs/npm/@storybook%2fnextjs/7.5.1/7.5.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@storybook%2fnextjs/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@storybook%2fnextjs/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@storybook%2fnextjs/7.5.1/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@storybook%2fnextjs/7.5.1/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@storybook/react](https://togithub.com/storybookjs/storybook/tree/next/code/renderers/react) ([source](https://togithub.com/storybookjs/storybook)) | [`7.5.1` -> `7.5.2`](https://renovatebot.com/diffs/npm/@storybook%2freact/7.5.1/7.5.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@storybook%2freact/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@storybook%2freact/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@storybook%2freact/7.5.1/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@storybook%2freact/7.5.1/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@trpc/client](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`10.43.0` -> `10.43.1`](https://renovatebot.com/diffs/npm/@trpc%2fclient/10.43.0/10.43.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@trpc%2fclient/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@trpc%2fclient/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@trpc%2fclient/10.43.0/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@trpc%2fclient/10.43.0/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@trpc/next](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`10.43.0` -> `10.43.1`](https://renovatebot.com/diffs/npm/@trpc%2fnext/10.43.0/10.43.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@trpc%2fnext/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@trpc%2fnext/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@trpc%2fnext/10.43.0/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@trpc%2fnext/10.43.0/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@trpc/react-query](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`10.43.0` -> `10.43.1`](https://renovatebot.com/diffs/npm/@trpc%2freact-query/10.43.0/10.43.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@trpc%2freact-query/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@trpc%2freact-query/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@trpc%2freact-query/10.43.0/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@trpc%2freact-query/10.43.0/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@trpc/server](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`10.43.0` -> `10.43.1`](https://renovatebot.com/diffs/npm/@trpc%2fserver/10.43.0/10.43.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@trpc%2fserver/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@trpc%2fserver/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@trpc%2fserver/10.43.0/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@trpc%2fserver/10.43.0/10.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`18.18.7` -> `18.18.8`](https://renovatebot.com/diffs/npm/@types%2fnode/18.18.7/18.18.8) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/18.18.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/18.18.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/18.18.7/18.18.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/18.18.7/18.18.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`18.2.33` -> `18.2.35`](https://renovatebot.com/diffs/npm/@types%2freact/18.2.33/18.2.35) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.2.35?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.2.35?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/18.2.33/18.2.35?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.2.33/18.2.35?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/typescript-eslint) | [`6.9.0` -> `6.9.1`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/6.9.0/6.9.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2feslint-plugin/6.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2feslint-plugin/6.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2feslint-plugin/6.9.0/6.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2feslint-plugin/6.9.0/6.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@typescript-eslint/parser](https://togithub.com/typescript-eslint/typescript-eslint) | [`6.9.0` -> `6.9.1`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/6.9.0/6.9.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2fparser/6.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2fparser/6.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2fparser/6.9.0/6.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2fparser/6.9.0/6.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [chromatic](https://www.chromatic.com) ([source](https://togithub.com/chromaui/chromatic-cli)) | [`7.5.4` -> `7.6.0`](https://renovatebot.com/diffs/npm/chromatic/7.5.4/7.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/chromatic/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/chromatic/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/chromatic/7.5.4/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/chromatic/7.5.4/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`8.52.0` -> `8.53.0`](https://renovatebot.com/diffs/npm/eslint/8.52.0/8.53.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint/8.53.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint/8.53.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint/8.52.0/8.53.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint/8.52.0/8.53.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [i18next-http-backend](https://togithub.com/i18next/i18next-http-backend) | [`2.3.0` -> `2.3.1`](https://renovatebot.com/diffs/npm/i18next-http-backend/2.3.0/2.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/i18next-http-backend/2.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/i18next-http-backend/2.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/i18next-http-backend/2.3.0/2.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/i18next-http-backend/2.3.0/2.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [nanoid](https://togithub.com/ai/nanoid) | [`5.0.2` -> `5.0.3`](https://renovatebot.com/diffs/npm/nanoid/5.0.2/5.0.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/nanoid/5.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/nanoid/5.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/nanoid/5.0.2/5.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/nanoid/5.0.2/5.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [nextjs-routes](https://togithub.com/tatethurston/nextjs-routes) | [`2.0.1` -> `2.1.0`](https://renovatebot.com/diffs/npm/nextjs-routes/2.0.1/2.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/nextjs-routes/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/nextjs-routes/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/nextjs-routes/2.0.1/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/nextjs-routes/2.0.1/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [pnpm](https://pnpm.io) ([source](https://togithub.com/pnpm/pnpm)) | [`8.10.0` -> `8.10.2`](https://renovatebot.com/diffs/npm/pnpm/8.10.0/8.10.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/pnpm/8.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/pnpm/8.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/pnpm/8.10.0/8.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/pnpm/8.10.0/8.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [storybook](https://togithub.com/storybookjs/storybook/tree/next/code/lib/cli) ([source](https://togithub.com/storybookjs/storybook)) | [`7.5.1` -> `7.5.2`](https://renovatebot.com/diffs/npm/storybook/7.5.1/7.5.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/storybook/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/storybook/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/storybook/7.5.1/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/storybook/7.5.1/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>crowdin/crowdin-api-client-js (@​crowdin/crowdin-api-client)</summary> ### [`v1.26.0`](https://togithub.com/crowdin/crowdin-api-client-js/releases/tag/1.26.0) [Compare Source](https://togithub.com/crowdin/crowdin-api-client-js/compare/1.25.1...1.26.0) #### What's Changed - feat: Applications Api Support by [@​AksBad007](https://togithub.com/AksBad007) in [crowdin/crowdin-api-client-js#315 - feat: Added api params to string translation approvals and votes API by [@​faizan1191](https://togithub.com/faizan1191) in [crowdin/crowdin-api-client-js#319 - fix: add missing field "path" to Directory type by [@​kevinb-tryjeeves](https://togithub.com/kevinb-tryjeeves) in [crowdin/crowdin-api-client-js#322 - fix: Readme.md image not loading issue. by [@​faizan1191](https://togithub.com/faizan1191) in [crowdin/crowdin-api-client-js#317 - build(deps): bump axios from 1.5.1 to 1.6.0 by [@​dependabot](https://togithub.com/dependabot) in [crowdin/crowdin-api-client-js#320 - build(deps-dev): bump typedoc from 0.25.2 to 0.25.3 by [@​dependabot](https://togithub.com/dependabot) in [crowdin/crowdin-api-client-js#321 #### New Contributors - [@​AksBad007](https://togithub.com/AksBad007) made their first contribution in [crowdin/crowdin-api-client-js#315 - [@​faizan1191](https://togithub.com/faizan1191) made their first contribution in [crowdin/crowdin-api-client-js#317 - [@​kevinb-tryjeeves](https://togithub.com/kevinb-tryjeeves) made their first contribution in [crowdin/crowdin-api-client-js#322 **Full Changelog**: crowdin/crowdin-api-client-js@1.25.1...1.26.0 </details> <details> <summary>storybookjs/storybook (@​storybook/addon-a11y)</summary> ### [`v7.5.2`](https://togithub.com/storybookjs/storybook/blob/HEAD/CHANGELOG.md#752) [Compare Source](https://togithub.com/storybookjs/storybook/compare/v7.5.1...v7.5.2) - Addon-themes: Fix globals not being set when using absolute path - [#​24596](https://togithub.com/storybookjs/storybook/pull/24596), thanks [@​JReinhold](https://togithub.com/JReinhold)! - CLI: Allow Yarn v4 in `link` command - [#​24551](https://togithub.com/storybookjs/storybook/pull/24551), thanks [@​yannbf](https://togithub.com/yannbf)! - Next.js: Support v14.0.0 - [#​24593](https://togithub.com/storybookjs/storybook/pull/24593), thanks [@​nikospapcom](https://togithub.com/nikospapcom)! </details> <details> <summary>storybookjs/storybook (@​storybook/addon-essentials)</summary> ### [`v7.5.2`](https://togithub.com/storybookjs/storybook/compare/v7.5.1...0ef03ec3f78ee1989b7210ad90511f9cba0477ac) [Compare Source](https://togithub.com/storybookjs/storybook/compare/v7.5.1...v7.5.2) </details> <details> <summary>storybookjs/storybook (@​storybook/addon-links)</summary> ### [`v7.5.2`](https://togithub.com/storybookjs/storybook/releases/tag/v7.5.2) [Compare Source](https://togithub.com/storybookjs/storybook/compare/v7.5.1...v7.5.2) #### 7.5.2 - Addon-themes: Fix globals not being set when using absolute path - [#​24596](https://togithub.com/storybookjs/storybook/pull/24596), thanks [@​JReinhold](https://togithub.com/JReinhold)! - CLI: Allow Yarn v4 in `link` command - [#​24551](https://togithub.com/storybookjs/storybook/pull/24551), thanks [@​yannbf](https://togithub.com/yannbf)! - Next.js: Support v14.0.0 - [#​24593](https://togithub.com/storybookjs/storybook/pull/24593), thanks [@​nikospapcom](https://togithub.com/nikospapcom)! </details> <details> <summary>trpc/trpc (@​trpc/client)</summary> ### [`v10.43.1`](https://togithub.com/trpc/trpc/releases/tag/v10.43.1) [Compare Source](https://togithub.com/trpc/trpc/compare/v10.43.0...v10.43.1) ##### What's Changed - fix(server + client): incorrect inferred input type when using standalone middleware by [@​jussisaurio](https://togithub.com/jussisaurio) in [trpc/trpc#4973 - fix(server + client): fix some issues with inferring Record types as procedure outputs by [@​jussisaurio](https://togithub.com/jussisaurio) in [trpc/trpc#4986 ##### New Contributors - [@​MadaShindeInai](https://togithub.com/MadaShindeInai) made their first contribution in [trpc/trpc#4979 **Full Changelog**: trpc/trpc@v10.43.0...v10.43.1 </details> <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)</summary> ### [`v6.9.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#691-2023-10-30) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.9.0...v6.9.1) ##### Bug Fixes - **eslint-plugin:** \[naming-convention] allow PascalCase for imports ([#​7841](https://togithub.com/typescript-eslint/typescript-eslint/issues/7841)) ([7ad86ee](https://togithub.com/typescript-eslint/typescript-eslint/commit/7ad86eead76fa9e96573ac011376c1cb8c009cee)) - **eslint-plugin:** \[no-unused-expressions] handle TSInstantiationExpression expression ([#​7831](https://togithub.com/typescript-eslint/typescript-eslint/issues/7831)) ([31988e0](https://togithub.com/typescript-eslint/typescript-eslint/commit/31988e0d2e6cf5e6bb9bb287958b1f03ca084259)) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. </details> <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/parser)</summary> ### [`v6.9.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#691-2023-10-30) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.9.0...v6.9.1) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. </details> <details> <summary>chromaui/chromatic-cli (chromatic)</summary> ### [`v7.6.0`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v760-Tue-Oct-31-2023) [Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v7.5.4...v7.6.0) ##### 🚀 Enhancement - Merge Group (Queues) GitHub Action Event Support [#​825](https://togithub.com/chromaui/chromatic-cli/pull/825) ([@​mhemmings](https://togithub.com/mhemmings) [@​thafryer](https://togithub.com/thafryer)) ##### 🐛 Bug Fix - Configure auto with `prerelease` setting and update readme [#​847](https://togithub.com/chromaui/chromatic-cli/pull/847) ([@​ghengeveld](https://togithub.com/ghengeveld)) ##### Authors: 3 - Gert Hengeveld ([@​ghengeveld](https://togithub.com/ghengeveld)) - Jarel Fryer ([@​thafryer](https://togithub.com/thafryer)) - Mark Hemmings ([@​mhemmings](https://togithub.com/mhemmings)) *** </details> <details> <summary>eslint/eslint (eslint)</summary> ### [`v8.53.0`](https://togithub.com/eslint/eslint/releases/tag/v8.53.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.52.0...v8.53.0) #### Features - [`528e1c0`](https://togithub.com/eslint/eslint/commit/528e1c00dc2aa8636e5b706c4270dc655cfa17e3) feat: Deprecate formatting rules ([#​17696](https://togithub.com/eslint/eslint/issues/17696)) (Nicholas C. Zakas) - [`c0b11dd`](https://togithub.com/eslint/eslint/commit/c0b11ddb9f8aacc64c3933b9f278939aa7bea481) feat: Add suggestions for no-prototype-builtins ([#​17677](https://togithub.com/eslint/eslint/issues/17677)) (Yonathan Randolph) #### Bug Fixes - [`1ad6257`](https://togithub.com/eslint/eslint/commit/1ad6257744d63281235fcc33288394b1d69b34ce) fix: ensure that exit code for fatal errors is not overwritten ([#​17683](https://togithub.com/eslint/eslint/issues/17683)) (Milos Djermanovic) - [`b329ea7`](https://togithub.com/eslint/eslint/commit/b329ea748dff45f11c7e218208244dc24fcb5c8f) fix: add `;` after JSX nodes in `no-object-constructor` autofix ([#​17672](https://togithub.com/eslint/eslint/issues/17672)) (Francesco Trotta) #### Documentation - [`ab8c60d`](https://togithub.com/eslint/eslint/commit/ab8c60d4f859cec787b5a12f7271b40e666235f5) docs: change position of return to top button ([#​17688](https://togithub.com/eslint/eslint/issues/17688)) (Tanuj Kanti) - [`4fc44c0`](https://togithub.com/eslint/eslint/commit/4fc44c0b8c5dca466bffdfe01dfd80794d7762b7) docs: update twitter icon to new X icon ([#​17687](https://togithub.com/eslint/eslint/issues/17687)) (Tanuj Kanti) - [`4164b2c`](https://togithub.com/eslint/eslint/commit/4164b2ceec89726b18ea0b0e34fab05735d55a09) docs: Update README (GitHub Actions Bot) - [`8651895`](https://togithub.com/eslint/eslint/commit/8651895ca7ae15e13d74c8be67d9eebd63a7ce1f) docs: Fix tabs in rule examples ([#​17653](https://togithub.com/eslint/eslint/issues/17653)) (Francesco Trotta) - [`3aec1c5`](https://togithub.com/eslint/eslint/commit/3aec1c55ba2c6d2833e1c0afe0a58f0cc6bbc0a4) docs: explained rule fixers and suggestions ([#​17657](https://togithub.com/eslint/eslint/issues/17657)) (Josh Goldberg ✨) #### Chores - [`ba4d4d5`](https://togithub.com/eslint/eslint/commit/ba4d4d567a82554250dd8c7933322824e6a73944) chore: remove metascraper ([#​17707](https://togithub.com/eslint/eslint/issues/17707)) (Milos Djermanovic) - [`0d07338`](https://togithub.com/eslint/eslint/commit/0d0733882944b4849d71a40723c251213698cef9) chore: Update dependencies ([#​17706](https://togithub.com/eslint/eslint/issues/17706)) (Milos Djermanovic) - [`93256a3`](https://togithub.com/eslint/eslint/commit/93256a32e312f3f4e5c532762df71bdc06bded20) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`485ec7d`](https://togithub.com/eslint/eslint/commit/485ec7d08ed2040c292f52bf9b9152f6c8ef4809) test: fix ESLint tests for caching ([#​17699](https://togithub.com/eslint/eslint/issues/17699)) (Milos Djermanovic) - [`db06a7f`](https://togithub.com/eslint/eslint/commit/db06a7ff7992a74368f03d1f21beb00df0407021) ci: bump actions/setup-node from 3 to 4 ([#​17676](https://togithub.com/eslint/eslint/issues/17676)) (dependabot\[bot]) - [`994596b`](https://togithub.com/eslint/eslint/commit/994596b07f5ff20a615a4be1ea03e5fd59cdb84b) ci: run tests in Node.js 21 ([#​17673](https://togithub.com/eslint/eslint/issues/17673)) (Francesco Trotta) </details> <details> <summary>i18next/i18next-http-backend (i18next-http-backend)</summary> ### [`v2.3.1`](https://togithub.com/i18next/i18next-http-backend/blob/HEAD/CHANGELOG.md#231) [Compare Source](https://togithub.com/i18next/i18next-http-backend/compare/v2.3.0...v2.3.1) - fix for browser usage </details> <details> <summary>ai/nanoid (nanoid)</summary> ### [`v5.0.3`](https://togithub.com/ai/nanoid/blob/HEAD/CHANGELOG.md#503) [Compare Source](https://togithub.com/ai/nanoid/compare/5.0.2...5.0.3) - Fixed CLI docs (by Chris Schmich). </details> <details> <summary>tatethurston/nextjs-routes (nextjs-routes)</summary> ### [`v2.1.0`](https://togithub.com/tatethurston/nextjs-routes/blob/HEAD/CHANGELOG.md#210) [Compare Source](https://togithub.com/tatethurston/nextjs-routes/compare/v2.0.1...v2.1.0) - Add experimental support for app directory [route handler](https://nextjs.org/docs/app/building-your-application/routing/route-handlers). See [#​178](https://togithub.com/tatethurston/nextjs-routes/issues/178). </details> <details> <summary>pnpm/pnpm (pnpm)</summary> ### [`v8.10.2`](https://togithub.com/pnpm/pnpm/releases/tag/v8.10.2) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v8.10.1...v8.10.2) #### Patch Changes - Fixed a regression that was shipped with pnpm v8.10.0. Dependencies that were already built should not be rebuilt on repeat install. This issue was introduced via the changes related to [supportedArchitectures](https://togithub.com/pnpm/pnpm/pull/7214). Related issue [#​7268](https://togithub.com/pnpm/pnpm/issues/7268). #### Our Gold Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a> </td> <td align="center" valign="middle"> <a href="https://prisma.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/prisma.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/prisma_light.svg" /> <img src="https://pnpm.io/img/users/prisma.svg" width="180" /> </picture> </a> </td> <tr> <td align="center" valign="middle"> <a href="https://uscreen.de/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/uscreen.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/uscreen_light.svg" /> <img src="https://pnpm.io/img/users/uscreen.svg" width="180" /> </picture> </a> </td> </tr> </tr> </tbody> </table> #### Our Silver Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80"> </a> </td> <td align="center" valign="middle"> <a href="https://vercel.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/vercel.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/vercel_light.svg" /> <img src="https://pnpm.io/img/users/vercel.svg" width="180" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://depot.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/depot.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/depot_light.svg" /> <img src="https://pnpm.io/img/users/depot.svg" width="200" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://moonrepo.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/moonrepo.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/moonrepo_light.svg" /> <img src="https://pnpm.io/img/users/moonrepo.svg" width="200" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://www.thinkmill.com.au/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/thinkmill.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/thinkmill_light.svg" /> <img src="https://pnpm.io/img/users/thinkmill.svg" width="200" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://devowl.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/devowlio.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/devowlio.svg" /> <img src="https://pnpm.io/img/users/devowlio.svg" width="200" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://macpaw.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/macpaw.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/macpaw_light.svg" /> <img src="https://pnpm.io/img/users/thinkmill.svg" width="200" /> </picture> </a> </td> </tr> </tbody> </table> ### [`v8.10.1`](https://togithub.com/pnpm/pnpm/releases/tag/v8.10.1) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v8.10.0...v8.10.1) #### Patch Changes - (Important) Tarball resolutions in `pnpm-lock.yaml` will no longer contain a `registry` field. This field has been unused for a long time. This change should not cause any issues besides backward compatible modifications to the lockfile [#​7262](https://togithub.com/pnpm/pnpm/pull/7262). - Fix issue when trying to use `pnpm dlx` in the root of a Windows Drive [#​7263](https://togithub.com/pnpm/pnpm/issues/7263). - Optional dependencies that do not have to be built will be reflinked (or hardlinked) to the store instead of copied [#​7046](https://togithub.com/pnpm/pnpm/issues/7046). - If a package's tarball cannot be fetched, print the dependency chain that leads to the failed package [#​7265](https://togithub.com/pnpm/pnpm/pull/7265). - After upgrading one of our dependencies, we started to sometimes have an error on publish. We have forked `@npmcli/arborist` to patch it with a fix [#​7269](https://togithub.com/pnpm/pnpm/pull/7269). #### Our Gold Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a> </td> <td align="center" valign="middle"> <a href="https://prisma.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/prisma.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/prisma_light.svg" /> <img src="https://pnpm.io/img/users/prisma.svg" width="180" /> </picture> </a> </td> <tr> <td align="center" valign="middle"> <a href="https://uscreen.de/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/uscreen.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/uscreen_light.svg" /> <img src="https://pnpm.io/img/users/uscreen.svg" width="180" /> </picture> </a> </td> </tr> </tr> </tbody> </table> #### Our Silver Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80"> </a> </td> <td align="center" valign="middle"> <a href="https://vercel.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/vercel.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/vercel_light.svg" /> <img src="https://pnpm.io/img/users/vercel.svg" width="180" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://depot.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/depot.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/depot_light.svg" /> <img src="https://pnpm.io/img/users/depot.svg" width="200" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://moonrepo.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/moonrepo.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/moonrepo_light.svg" /> <img src="https://pnpm.io/img/users/moonrepo.svg" width="200" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://www.thinkmill.com.au/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/thinkmill.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/thinkmill_light.svg" /> <img src="https://pnpm.io/img/users/thinkmill.svg" width="200" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://devowl.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/devowlio.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/devowlio.svg" /> <img src="https://pnpm.io/img/users/devowlio.svg" width="200" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://macpaw.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/macpaw.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/macpaw_light.svg" /> <img src="https://pnpm.io/img/users/thinkmill.svg" width="200" /> </picture> </a> </td> </tr> </tbody> </table> </details> --- ### 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 is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/weareinreach/GLAAD). PR-URL: #229 Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@trpc/client](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`^10.43.0` -> `^10.43.3`](https://renovatebot.com/diffs/npm/@trpc%2fclient/10.43.0/10.43.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@trpc%2fclient/10.43.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@trpc%2fclient/10.43.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@trpc%2fclient/10.43.0/10.43.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@trpc%2fclient/10.43.0/10.43.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@trpc/next](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`^10.43.0` -> `^10.43.3`](https://renovatebot.com/diffs/npm/@trpc%2fnext/10.43.0/10.43.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@trpc%2fnext/10.43.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@trpc%2fnext/10.43.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@trpc%2fnext/10.43.0/10.43.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@trpc%2fnext/10.43.0/10.43.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@trpc/react-query](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`^10.43.0` -> `^10.43.3`](https://renovatebot.com/diffs/npm/@trpc%2freact-query/10.43.0/10.43.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@trpc%2freact-query/10.43.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@trpc%2freact-query/10.43.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@trpc%2freact-query/10.43.0/10.43.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@trpc%2freact-query/10.43.0/10.43.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@trpc/server](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`^10.43.0` -> `^10.43.3`](https://renovatebot.com/diffs/npm/@trpc%2fserver/10.43.0/10.43.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@trpc%2fserver/10.43.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@trpc%2fserver/10.43.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@trpc%2fserver/10.43.0/10.43.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@trpc%2fserver/10.43.0/10.43.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>trpc/trpc (@​trpc/client)</summary> ### [`v10.43.3`](https://togithub.com/trpc/trpc/releases/tag/v10.43.3) [Compare Source](https://togithub.com/trpc/trpc/compare/v10.43.2...v10.43.3) ##### What's Changed - fix(server): inference fix for inputs using primitives with middleware by [@​jussisaurio](https://togithub.com/jussisaurio) & [@​KATT](https://togithub.com/KATT) in [trpc/trpc#5017 ##### New Contributors - [@​junya-ishibuchi](https://togithub.com/junya-ishibuchi) made their first contribution in [trpc/trpc#5023 **Full Changelog**: trpc/trpc@v10.43.2...v10.43.3 ### [`v10.43.2`](https://togithub.com/trpc/trpc/releases/tag/v10.43.2) [Compare Source](https://togithub.com/trpc/trpc/compare/v10.43.1...v10.43.2) ##### What's Changed - fix(next): omit "fetch" from options by [@​withyellow](https://togithub.com/withyellow) in [trpc/trpc#5003 ##### New Contributors - [@​spirobel](https://togithub.com/spirobel) made their first contribution in [trpc/trpc#5007 - [@​AvaYnE2](https://togithub.com/AvaYnE2) made their first contribution in [trpc/trpc#4835 - [@​withyellow](https://togithub.com/withyellow) made their first contribution in [trpc/trpc#5003 **Full Changelog**: trpc/trpc@v10.43.1...v10.43.2 ### [`v10.43.1`](https://togithub.com/trpc/trpc/releases/tag/v10.43.1) [Compare Source](https://togithub.com/trpc/trpc/compare/v10.43.0...v10.43.1) ##### What's Changed - fix(server + client): incorrect inferred input type when using standalone middleware by [@​jussisaurio](https://togithub.com/jussisaurio) in [trpc/trpc#4973 - fix(server + client): fix some issues with inferring Record types as procedure outputs by [@​jussisaurio](https://togithub.com/jussisaurio) in [trpc/trpc#4986 ##### New Contributors - [@​MadaShindeInai](https://togithub.com/MadaShindeInai) made their first contribution in [trpc/trpc#4979 **Full Changelog**: trpc/trpc@v10.43.0...v10.43.1 </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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/dotkom/monoweb). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…utputs
Closes #4985
🎯 Changes
What changes are made in this PR? Is it a feature or a bug fix?
Fixes some issues with inferring Record types as procedure outputs. See linked issue.
✅ Checklist