From 87e095d853a0d54811b9ae2904e180f08581b402 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 4 Dec 2024 21:46:34 +0000 Subject: [PATCH] chore(deps): update all non-major dependencies (#7997) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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
apollographql/apollo-client (@​apollo/client) ### [`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`.

More Patch Changes

- [#​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")`.
nodejs/node (node) ### [`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)
prettier/prettier (prettier) ### [`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. ```md C言 語 ・ C++ ・ Go ・ Rust C言語・ C++ ・ Go ・ Rust 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)) ```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. ```jsx // Input
foo longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo , abc
; // Prettier 3.4.1 (first)
foo longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo , abc
; // Prettier 3.4.1 (second)
foo longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo , abc
; // Prettier 3.4.2
foo longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo , abc
; ```
--- ### 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. --- - [ ] 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). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package-lock.json | 28 ++++++++++++++-------------- package.json | 6 +++--- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/package-lock.json b/package-lock.json index c4203c1f0c5..00be2e96649 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "packages/*" ], "devDependencies": { - "@apollo/client": "3.11.10", + "@apollo/client": "3.12.0", "@apollo/gateway": "2.9.3", "@apollo/subgraph": "2.9.3", "@apollo/utils.createhash": "2.0.1", @@ -63,7 +63,7 @@ "lodash.sumby": "4.6.0", "nock": "13.5.6", "node-fetch": "2.7.0", - "prettier": "3.4.1", + "prettier": "3.4.2", "qs-middleware": "1.0.3", "requisition": "1.7.0", "rollup": "3.29.5", @@ -101,9 +101,9 @@ "link": true }, "node_modules/@apollo/client": { - "version": "3.11.10", - "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.11.10.tgz", - "integrity": "sha512-IfGc+X4il0rDqVQBBWdxIKM+ciDCiDzBq9+Bg9z4tJMi87uF6po4v+ddiac1wP0ARgVPsFwEIGxK7jhN4pW8jg==", + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.12.0.tgz", + "integrity": "sha512-azaTC5Z46vgVrW56Nh/OaRsPwTDAMz+JTNiJhdxqfUd7DMqaNQitq0njECgDvXidtF6ERQ1ZMj10LpdCwI9j7g==", "license": "MIT", "dependencies": { "@graphql-typed-document-node/core": "^3.1.1", @@ -11840,9 +11840,9 @@ } }, "node_modules/prettier": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.1.tgz", - "integrity": "sha512-G+YdqtITVZmOJje6QkXQWzl3fSfMxFwm1tjTyo9exhkmWSqC4Yhd1+lug++IlR2mvRVAxEDDWYkQdeSztajqgg==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz", + "integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==", "dev": true, "license": "MIT", "bin": { @@ -14402,9 +14402,9 @@ "requires": {} }, "@apollo/client": { - "version": "3.11.10", - "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.11.10.tgz", - "integrity": "sha512-IfGc+X4il0rDqVQBBWdxIKM+ciDCiDzBq9+Bg9z4tJMi87uF6po4v+ddiac1wP0ARgVPsFwEIGxK7jhN4pW8jg==", + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.12.0.tgz", + "integrity": "sha512-azaTC5Z46vgVrW56Nh/OaRsPwTDAMz+JTNiJhdxqfUd7DMqaNQitq0njECgDvXidtF6ERQ1ZMj10LpdCwI9j7g==", "requires": { "@graphql-typed-document-node/core": "^3.1.1", "@wry/caches": "^1.0.0", @@ -23196,9 +23196,9 @@ "dev": true }, "prettier": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.1.tgz", - "integrity": "sha512-G+YdqtITVZmOJje6QkXQWzl3fSfMxFwm1tjTyo9exhkmWSqC4Yhd1+lug++IlR2mvRVAxEDDWYkQdeSztajqgg==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz", + "integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==", "dev": true }, "pretty-format": { diff --git a/package.json b/package.json index d3302bafade..02739270bd7 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "npm": ">=8.5.0" }, "devDependencies": { - "@apollo/client": "3.11.10", + "@apollo/client": "3.12.0", "@apollo/gateway": "2.9.3", "@apollo/subgraph": "2.9.3", "@apollo/utils.createhash": "2.0.1", @@ -91,7 +91,7 @@ "lodash.sumby": "4.6.0", "nock": "13.5.6", "node-fetch": "2.7.0", - "prettier": "3.4.1", + "prettier": "3.4.2", "qs-middleware": "1.0.3", "requisition": "1.7.0", "rollup": "3.29.5", @@ -106,7 +106,7 @@ ] }, "volta": { - "node": "22.11.0", + "node": "22.12.0", "npm": "9.9.3" } }