chore(deps): weekly dependencies update 2026-06-03#348
Merged
Conversation
Member
Author
|
Local validation was skipped ( |
lisaparma
approved these changes
Jun 3, 2026
72142e0 to
d8131b2
Compare
Member
Author
|
Rielaborata: |
Bundled minor/patch update of runtime dependencies (excluding @apollo/client, which is handled in a dedicated PR due to breaking type changes in 3.14): - @zextras/carbonio-design-system 12.0.0 -> 12.0.4 - @zextras/carbonio-shell-ui 14.0.1 -> 14.3.1 - core-js 3.45.1 -> 3.49.0 - date-fns 4.1.0 -> 4.4.0 - graphql 16.10.0 -> 16.14.1 - react-router-dom 6.30.3 -> 6.30.4 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
d8131b2 to
c8fc370
Compare
|
CataldoMazzilli
added a commit
that referenced
this pull request
Jun 4, 2026
## Summary Updates **`@apollo/client` `3.10.8` → `3.14.1`**. This bump was split out of the bundled runtime-dependencies PR (#348) because, unlike the other runtime packages, it requires source changes to adapt to breaking type and API changes introduced across the 3.11–3.14 releases. ## Type changes - **`cache.modify` / `Modifier<T>`** — `Modifier<T>` now returns `DeepPartial<T>` (previously `T`), and `cache.modify` infers its `Entity` type from the field modifiers. This broke the list-field modifiers. - Annotated the call sites with the explicit field shape: `cache.modify<{ findTasks: Reference[] }>(...)` (`NewTaskBoard.tsx`, `useTrashAction.ts`, `RemindersManager.test.tsx`). - Narrowed the helpers in `cacheUtils.ts` from `Modifier<readonly Reference[] | Reference>` to `Modifier<readonly Reference[]>` (the single-`Reference` branch is invalid for a list field's return type). - **`MockedResponse`** — now declared `MockedResponse<out TData, out TVariables>` with `result: FetchResult<Unmasked<TData>>`. The local `Mock` interface can no longer be widened to `Mock<Record<string, unknown>>` (the `out` covariance can't be propagated through `Unmasked`). Typed the test helper's `mocks` option as `MockedResponse[]` — exactly what `MockedProvider` accepts — instead of the local `Mock[]`. ## Deprecations These were emitted as `console.warn` and broke the `vitest-fail-on-console` test setup, so they had to be migrated: - **`ApolloClient({ connectToDevTools })`** → `devtools: { enabled }` (`apollo/index.ts`). - **`useLazyQuery(doc, { variables })`** → variables are now passed to the returned `execute` function instead (`RemindersManager.tsx`). ## Verification - `pnpm type-check` ✅ - `pnpm lint` ✅ (only the 2 pre-existing `import/no-extraneous-dependencies` warnings in `testUtils.tsx`) - `pnpm test` ✅ — 229/229 - `pnpm build` ✅ ## Changelog Release notes: https://github.com/apollographql/apollo-client/releases (3.11.x → 3.14.1) --- Split from #348 (bundled runtime dependencies update). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

0 New Issues
0 Fixed Issues
0 Accepted Issues
No data about coverage (94.30% Estimated after merge)
Weekly dependencies update — 2026-06-03
Bundle of runtime dependencies bumped to the latest minor/patch within the same major.
Updates
@zextras/carbonio-design-system12.0.012.0.4@zextras/carbonio-shell-ui14.0.114.3.1core-js3.45.13.49.0date-fns4.1.04.4.0graphql16.10.016.14.1react-router-dom6.30.36.30.4@zextras/carbonio-shell-ui14.0.114.3.1core-js3.45.13.49.0date-fns4.1.04.4.0graphql16.10.016.14.1🔒 Security
A known moderate advisory affects
i18next-http-backend(GHSA-q89c-q3h5-w34g). It is not addressed by this PR — that package is not among the updated dependencies and has no direct minor/patch upgrade here. It should be handled separately.Notes
develpackage.jsonandpnpm-lock.yamlwere modified.🤖 Generated by the
update-depsskill (Apollo split off manually into #349).