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 all non-major dependencies (#7997)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | Type | Update | |---|---|---|---|---|---|---|---| | [@apollo/client](https://www.apollographql.com/docs/react/) ([source](https://redirect.github.com/apollographql/apollo-client)) | [`3.11.10` -> `3.12.0`](https://renovatebot.com/diffs/npm/@apollo%2fclient/3.11.10/3.12.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@apollo%2fclient/3.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@apollo%2fclient/3.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@apollo%2fclient/3.11.10/3.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@apollo%2fclient/3.11.10/3.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [node](https://nodejs.org) ([source](https://redirect.github.com/nodejs/node)) | [`22.11.0` -> `22.12.0`](https://renovatebot.com/diffs/npm/node/v22.11.0/v22.12.0) | [![age](https://developer.mend.io/api/mc/badges/age/node-version/node/v22.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/node-version/node/v22.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/node-version/node/v22.11.0/v22.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/node-version/node/v22.11.0/v22.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | volta | minor | | [prettier](https://prettier.io) ([source](https://redirect.github.com/prettier/prettier)) | [`3.4.1` -> `3.4.2`](https://renovatebot.com/diffs/npm/prettier/3.4.1/3.4.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/prettier/3.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/prettier/3.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/prettier/3.4.1/3.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/prettier/3.4.1/3.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | --- ### Release Notes <details> <summary>apollographql/apollo-client (@​apollo/client)</summary> ### [`v3.12.0`](https://redirect.github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3120) [Compare Source](https://redirect.github.com/apollographql/apollo-client/compare/v3.11.10...v3.12.0) ##### Minor Changes ##### Data masking 🎭 - [#​12042](https://redirect.github.com/apollographql/apollo-client/pull/12042) [`1c0ecbf`](https://redirect.github.com/apollographql/apollo-client/commit/1c0ecbf3c0454056853dd3dcb493dfd5fa1a96b1) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Introduces data masking in Apollo Client. Data masking enforces that only the fields requested by the query or fragment is available to that component. Data masking is best paired with [colocated fragments](https://www.apollographql.com/docs/react/data/fragments#colocating-fragments). To enable data masking in Apollo Client, set the `dataMasking` option to `true`. ```ts new ApolloClient({ dataMasking: true, // ... other options }); ``` For detailed information on data masking, including how to incrementally adopt it in an existing applications, see the [data masking documentation](https://www.apollographql.com/docs/react/data/fragments#data-masking). - [#​12131](https://redirect.github.com/apollographql/apollo-client/pull/12131) [`21c3f08`](https://redirect.github.com/apollographql/apollo-client/commit/21c3f083013445707b7b50ae6390318bc568d0f5) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Allow `null` as a valid `from` value in `useFragment`. <details open> <summary><h3>More Patch Changes</h3></summary> - [#​12126](https://redirect.github.com/apollographql/apollo-client/pull/12126) [`d10d702`](https://redirect.github.com/apollographql/apollo-client/commit/d10d702ee9bd4d1d1dee2551821140f2c49d5c0c) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Maintain the existing document if its unchanged by the codemod and move to more naive whitespace formatting - [#​12150](https://redirect.github.com/apollographql/apollo-client/pull/12150) [`9ed1e1e`](https://redirect.github.com/apollographql/apollo-client/commit/9ed1e1ef02b28445614fed4f5c141a289ac32d66) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Fix issue when using `Unmasked` with older versions of TypeScript when used with array fields. - [#​12116](https://redirect.github.com/apollographql/apollo-client/pull/12116) [`8ae6e4e`](https://redirect.github.com/apollographql/apollo-client/commit/8ae6e4e5cec296c3910fdffb0ce51a0f5f06c5d3) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Prevent field accessor warnings when using `@unmask(mode: "migrate")` on objects that are passed into `cache.identify`. - [#​12120](https://redirect.github.com/apollographql/apollo-client/pull/12120) [`6a98e76`](https://redirect.github.com/apollographql/apollo-client/commit/6a98e76af5c800a91a748c498611b55c33e02c68) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Provide a codemod that applies `@unmask` to all named fragments for all operations and fragments. Learn how to use the codemod in the [incremental adoption documentation](https://www.apollographql.com/docs/react/data/fragments#incremental-adoption-in-an-existing-application). - [#​12134](https://redirect.github.com/apollographql/apollo-client/pull/12134) [`cfaf4ef`](https://redirect.github.com/apollographql/apollo-client/commit/cfaf4efc6dea56ae46a5b5199d8ed9414b0f17d8) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Fix issue where data went missing when an unmasked fragment in migrate mode selected fields that the parent did not. - [#​12154](https://redirect.github.com/apollographql/apollo-client/pull/12154) [`d933def`](https://redirect.github.com/apollographql/apollo-client/commit/d933def986d476cd64321059299ab15031297f04) Thanks [@​phryneas](https://redirect.github.com/phryneas)! - Data masking types: handle overlapping nested array types and fragments on interface types. - [#​12139](https://redirect.github.com/apollographql/apollo-client/pull/12139) [`5a53e15`](https://redirect.github.com/apollographql/apollo-client/commit/5a53e15e713e5eb2ebc9216615ea1a845fad2685) Thanks [@​phryneas](https://redirect.github.com/phryneas)! - Fix issue where masked data would sometimes get returned when the field was part of a child fragment from a fragment unmasked by the parent query. - [#​12123](https://redirect.github.com/apollographql/apollo-client/pull/12123) [`8422a30`](https://redirect.github.com/apollographql/apollo-client/commit/8422a305eff861fc8f953731e92c860f555bd99a) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Warn when using data masking with "no-cache" operations. - [#​12139](https://redirect.github.com/apollographql/apollo-client/pull/12139) [`5a53e15`](https://redirect.github.com/apollographql/apollo-client/commit/5a53e15e713e5eb2ebc9216615ea1a845fad2685) Thanks [@​phryneas](https://redirect.github.com/phryneas)! - Fix issue where the warning emitted by `@unmask(mode: "migrate")` would trigger unnecessarily when the fragment was used alongside a masked fragment inside an inline fragment. - [#​12114](https://redirect.github.com/apollographql/apollo-client/pull/12114) [`1d4ce00`](https://redirect.github.com/apollographql/apollo-client/commit/1d4ce0034395147445165022f7d23f42ff638d8a) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Fix error when combining `@unmask` and `@defer` directives on a fragment spread when data masking is enabled. - [#​12130](https://redirect.github.com/apollographql/apollo-client/pull/12130) [`1e7d009`](https://redirect.github.com/apollographql/apollo-client/commit/1e7d009e4a52949dab0065f3219dfe148837531e) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Fix error thrown when applying unmask migrate mode warnings on interface types with selection sets that contain inline fragment conditions. - [#​12152](https://redirect.github.com/apollographql/apollo-client/pull/12152) [`78137ec`](https://redirect.github.com/apollographql/apollo-client/commit/78137eccba90b80dd29bd8e1423b49ebe51ef8df) Thanks [@​phryneas](https://redirect.github.com/phryneas)! - Add a helper that will skip the TS unmasking alorithm when no fragments are present on type level - [#​12126](https://redirect.github.com/apollographql/apollo-client/pull/12126) [`d10d702`](https://redirect.github.com/apollographql/apollo-client/commit/d10d702ee9bd4d1d1dee2551821140f2c49d5c0c) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Ensure documents unchanged by the codemod are left untouched. - [#​12133](https://redirect.github.com/apollographql/apollo-client/pull/12133) [`a6ece37`](https://redirect.github.com/apollographql/apollo-client/commit/a6ece375119ce12c19749471c55b0059843a7217) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Ensure `null` is retained in nullable types when unmasking a type with the `Unmasked` helper type. - [#​12139](https://redirect.github.com/apollographql/apollo-client/pull/12139) [`5a53e15`](https://redirect.github.com/apollographql/apollo-client/commit/5a53e15e713e5eb2ebc9216615ea1a845fad2685) Thanks [@​phryneas](https://redirect.github.com/phryneas)! - Fix issue that threw errors when masking partial data with `@unmask(mode: "migrate")`. </details> </details> <details> <summary>nodejs/node (node)</summary> ### [`v22.12.0`](https://redirect.github.com/nodejs/node/compare/v22.11.0...v22.12.0) [Compare Source](https://redirect.github.com/nodejs/node/compare/v22.11.0...v22.12.0) </details> <details> <summary>prettier/prettier (prettier)</summary> ### [`v3.4.2`](https://redirect.github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#342) [Compare Source](https://redirect.github.com/prettier/prettier/compare/3.4.1...3.4.2) [diff](https://redirect.github.com/prettier/prettier/compare/3.4.1...3.4.2) ##### Treat U+30A0 & U+30FB in Katakana Block as CJK ([#​16796](https://redirect.github.com/prettier/prettier/pull/16796) by [@​tats-u](https://redirect.github.com/tats-u)) Prettier doesn't treat U+30A0 & U+30FB as Japanese. U+30FB is commonly used in Japanese to represent the delimitation of first and last names of non-Japanese people or “and”. The following “C言語・C++・Go・Rust” means “C language & C++ & Go & Rust” in Japanese. <!-- prettier-ignore --> ```md <!-- Input (--prose-wrap=never) --> C言 語 ・ C++ ・ Go ・ Rust <!-- Prettier 3.4.1 --> C言語・ C++ ・ Go ・ Rust <!-- Prettier 3.4.2 --> C言語・C++・Go・Rust ``` U+30A0 can be used as the replacement of the `-` in non-Japanese names (e.g. “Saint-Saëns” (Charles Camille Saint-Saëns) can be represented as “サン゠サーンス” in Japanese), but substituted by ASCII hyphen (U+002D) or U+FF1D (full width hyphen) in many cases (e.g. “サン=サーンス” or “サン=サーンス”). ##### Fix comments print on class methods with decorators ([#​16891](https://redirect.github.com/prettier/prettier/pull/16891) by [@​fisker](https://redirect.github.com/fisker)) <!-- prettier-ignore --> ```jsx // Input class A { @​decorator /** * The method description * */ async method(foo: Foo, bar: Bar) { console.log(foo); } } // Prettier 3.4.1 class A { @​decorator async /** * The method description * */ method(foo: Foo, bar: Bar) { console.log(foo); } } // Prettier 3.4.2 class A { @​decorator /** * The method description * */ async method(foo: Foo, bar: Bar) { console.log(foo); } } ``` ##### Fix non-idempotent formatting ([#​16899](https://redirect.github.com/prettier/prettier/pull/16899) by [@​seiyab](https://redirect.github.com/seiyab)) This bug fix is not language-specific. You may see similar change in any languages. This fixes regression in 3.4.0 so change caused by it should yield same formatting as 3.3.3. <!-- prettier-ignore --> ```jsx // Input <div> foo <span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span> , abc </div>; // Prettier 3.4.1 (first) <div> foo <span> longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo </span>, abc </div>; // Prettier 3.4.1 (second) <div> foo <span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span> , abc </div>; // Prettier 3.4.2 <div> foo <span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span> , abc </div>; ``` </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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/apollographql/apollo-server). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS40Mi40IiwidXBkYXRlZEluVmVyIjoiMzkuNDIuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiOmNocmlzdG1hc190cmVlOiBkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information