Skip to content

Commit

Permalink
chore(deps): update all non-major dependencies (#7997)
Browse files Browse the repository at this point in the history
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 (@&#8203;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 🎭

-
[#&#8203;12042](https://redirect.github.com/apollographql/apollo-client/pull/12042)
[`1c0ecbf`](https://redirect.github.com/apollographql/apollo-client/commit/1c0ecbf3c0454056853dd3dcb493dfd5fa1a96b1)
Thanks [@&#8203;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).

-
[#&#8203;12131](https://redirect.github.com/apollographql/apollo-client/pull/12131)
[`21c3f08`](https://redirect.github.com/apollographql/apollo-client/commit/21c3f083013445707b7b50ae6390318bc568d0f5)
Thanks [@&#8203;jerelmiller](https://redirect.github.com/jerelmiller)! -
Allow `null` as a valid `from` value in `useFragment`.

<details open>
  <summary><h3>More Patch Changes</h3></summary>

-
[#&#8203;12126](https://redirect.github.com/apollographql/apollo-client/pull/12126)
[`d10d702`](https://redirect.github.com/apollographql/apollo-client/commit/d10d702ee9bd4d1d1dee2551821140f2c49d5c0c)
Thanks [@&#8203;jerelmiller](https://redirect.github.com/jerelmiller)! -
Maintain the existing document if its unchanged by the codemod and move
to more naive whitespace formatting

-
[#&#8203;12150](https://redirect.github.com/apollographql/apollo-client/pull/12150)
[`9ed1e1e`](https://redirect.github.com/apollographql/apollo-client/commit/9ed1e1ef02b28445614fed4f5c141a289ac32d66)
Thanks [@&#8203;jerelmiller](https://redirect.github.com/jerelmiller)! -
Fix issue when using `Unmasked` with older versions of TypeScript when
used with array fields.

-
[#&#8203;12116](https://redirect.github.com/apollographql/apollo-client/pull/12116)
[`8ae6e4e`](https://redirect.github.com/apollographql/apollo-client/commit/8ae6e4e5cec296c3910fdffb0ce51a0f5f06c5d3)
Thanks [@&#8203;jerelmiller](https://redirect.github.com/jerelmiller)! -
Prevent field accessor warnings when using `@unmask(mode: "migrate")` on
objects that are passed into `cache.identify`.

-
[#&#8203;12120](https://redirect.github.com/apollographql/apollo-client/pull/12120)
[`6a98e76`](https://redirect.github.com/apollographql/apollo-client/commit/6a98e76af5c800a91a748c498611b55c33e02c68)
Thanks [@&#8203;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).

-
[#&#8203;12134](https://redirect.github.com/apollographql/apollo-client/pull/12134)
[`cfaf4ef`](https://redirect.github.com/apollographql/apollo-client/commit/cfaf4efc6dea56ae46a5b5199d8ed9414b0f17d8)
Thanks [@&#8203;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.

-
[#&#8203;12154](https://redirect.github.com/apollographql/apollo-client/pull/12154)
[`d933def`](https://redirect.github.com/apollographql/apollo-client/commit/d933def986d476cd64321059299ab15031297f04)
Thanks [@&#8203;phryneas](https://redirect.github.com/phryneas)! - Data
masking types: handle overlapping nested array types and fragments on
interface types.

-
[#&#8203;12139](https://redirect.github.com/apollographql/apollo-client/pull/12139)
[`5a53e15`](https://redirect.github.com/apollographql/apollo-client/commit/5a53e15e713e5eb2ebc9216615ea1a845fad2685)
Thanks [@&#8203;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.

-
[#&#8203;12123](https://redirect.github.com/apollographql/apollo-client/pull/12123)
[`8422a30`](https://redirect.github.com/apollographql/apollo-client/commit/8422a305eff861fc8f953731e92c860f555bd99a)
Thanks [@&#8203;jerelmiller](https://redirect.github.com/jerelmiller)! -
Warn when using data masking with "no-cache" operations.

-
[#&#8203;12139](https://redirect.github.com/apollographql/apollo-client/pull/12139)
[`5a53e15`](https://redirect.github.com/apollographql/apollo-client/commit/5a53e15e713e5eb2ebc9216615ea1a845fad2685)
Thanks [@&#8203;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.

-
[#&#8203;12114](https://redirect.github.com/apollographql/apollo-client/pull/12114)
[`1d4ce00`](https://redirect.github.com/apollographql/apollo-client/commit/1d4ce0034395147445165022f7d23f42ff638d8a)
Thanks [@&#8203;jerelmiller](https://redirect.github.com/jerelmiller)! -
Fix error when combining `@unmask` and `@defer` directives on a fragment
spread when data masking is enabled.

-
[#&#8203;12130](https://redirect.github.com/apollographql/apollo-client/pull/12130)
[`1e7d009`](https://redirect.github.com/apollographql/apollo-client/commit/1e7d009e4a52949dab0065f3219dfe148837531e)
Thanks [@&#8203;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.

-
[#&#8203;12152](https://redirect.github.com/apollographql/apollo-client/pull/12152)
[`78137ec`](https://redirect.github.com/apollographql/apollo-client/commit/78137eccba90b80dd29bd8e1423b49ebe51ef8df)
Thanks [@&#8203;phryneas](https://redirect.github.com/phryneas)! - Add a
helper that will skip the TS unmasking alorithm when no fragments are
present on type level

-
[#&#8203;12126](https://redirect.github.com/apollographql/apollo-client/pull/12126)
[`d10d702`](https://redirect.github.com/apollographql/apollo-client/commit/d10d702ee9bd4d1d1dee2551821140f2c49d5c0c)
Thanks [@&#8203;jerelmiller](https://redirect.github.com/jerelmiller)! -
Ensure documents unchanged by the codemod are left untouched.

-
[#&#8203;12133](https://redirect.github.com/apollographql/apollo-client/pull/12133)
[`a6ece37`](https://redirect.github.com/apollographql/apollo-client/commit/a6ece375119ce12c19749471c55b0059843a7217)
Thanks [@&#8203;jerelmiller](https://redirect.github.com/jerelmiller)! -
Ensure `null` is retained in nullable types when unmasking a type with
the `Unmasked` helper type.

-
[#&#8203;12139](https://redirect.github.com/apollographql/apollo-client/pull/12139)
[`5a53e15`](https://redirect.github.com/apollographql/apollo-client/commit/5a53e15e713e5eb2ebc9216615ea1a845fad2685)
Thanks [@&#8203;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
([#&#8203;16796](https://redirect.github.com/prettier/prettier/pull/16796)
by [@&#8203;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
([#&#8203;16891](https://redirect.github.com/prettier/prettier/pull/16891)
by [@&#8203;fisker](https://redirect.github.com/fisker))

<!-- prettier-ignore -->

```jsx
// Input
class A {
  @&#8203;decorator
  /** 
   * The method description
   *
  */
  async method(foo: Foo, bar: Bar) {
    console.log(foo);
  }
}

// Prettier 3.4.1
class A {
  @&#8203;decorator
  async /**
   * The method description
   *
   */
  method(foo: Foo, bar: Bar) {
    console.log(foo);
  }
}

// Prettier 3.4.2
class A {
  @&#8203;decorator
  /**
   * The method description
   *
   */
  async method(foo: Foo, bar: Bar) {
    console.log(foo);
  }
}
```

##### Fix non-idempotent formatting
([#&#8203;16899](https://redirect.github.com/prettier/prettier/pull/16899)
by [@&#8203;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
renovate[bot] authored Dec 4, 2024
1 parent 51d24e2 commit 87e095d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
28 changes: 14 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -106,7 +106,7 @@
]
},
"volta": {
"node": "22.11.0",
"node": "22.12.0",
"npm": "9.9.3"
}
}

0 comments on commit 87e095d

Please sign in to comment.