Skip to content

chore(deps): major updates, part 1: the bumps that need no code change - #268

Merged
xabierlameiro merged 3 commits into
masterfrom
chore/deps-major-updates-1
Oct 25, 2026
Merged

xabierlameiro merged 3 commits into
masterfrom
chore/deps-major-updates-1

Conversation

@xabierlameiro

@xabierlameiro xabierlameiro commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

First half of #260. Branched from #267 so the audit gate is green underneath; until #267 merges the diff here shows its commits too, and shrinks to this PR's own commit afterwards. Based on master directly because the Quality Gate only runs for pull requests against master. Twelve bumps, no source change:

Package From To
@google-analytics/data 5.2 7.2
@mdx-js/loader, @mdx-js/react 2.3 3.1
@babel/core, @babel/preset-typescript 7 8
@testing-library/jest-dom 6.9 7.0
@types/node (deps and overrides) 22 26
cross-env 7 10
dotenv 16 18
glob 11 13
globals 14 17
jest-fetch-mock 3 4

Left out, on purpose

  • googleapis 183 and octokit 5. Each one alone passes; together the type check inside next build runs out of the default 2 GB heap (measured here by reverting one at a time: with either on its old major the build passes, with both bumped it dies with Failed to type check / OOM). The tree is already near that line because src/helpers/searchConsole.ts imports the all-APIs googleapis entry point, 339 APIs of declarations for one client. chore(deps): major updates, part 2: the bumps that needed code #269 switches that import to the Search Console package and takes both bumps.
  • eslint 10, eslint-plugin-sonarjs 4, react-icons 5, jest 30 and react-intl 12: config or code changes, in chore(deps): major updates, part 2: the bumps that needed code #269.
  • jsdom 30: ESM-only chain that Jest cannot require on Node 22, so every suite importing src/pages/api/news.ts fails to load. Stays on 26; Dependabot now ignores its majors, with the reason in dependabot.yml.

Checked locally: lint (0 errors), tsc for both tsconfigs with the default heap, jest with coverage thresholds (90 suites), npm run audit:prod, next build.

First half of #260. Twelve of its bumps pass lint, typecheck, the unit suite
with its coverage thresholds and `next build` without touching a source file:
@google-analytics/data 7, @mdx-js/loader and @mdx-js/react 3, @babel/core and
@babel/preset-typescript 8, @testing-library/jest-dom 7, @types/node 26
(package and overrides), cross-env 10, dotenv 18, glob 13, globals 17 and
jest-fetch-mock 4.

Left for the second half, each for a reason measured here:
- googleapis 183 and octokit 5 each add enough declaration types that the type
  check inside `next build` runs out of the default 2 GB heap when both land;
  the tree is already close to the line. They move together with the switch
  from the all-APIs `googleapis` entry point to the Search Console package.
- eslint 10, eslint-plugin-sonarjs 4, react-icons 5, jest 30 and react-intl 12
  need config or code changes.
- jsdom 30 cannot load under Jest on Node 22 (ESM-only chain). Dependabot now
  ignores its majors; the reason is in dependabot.yml.
@vercel

vercel Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
the-last-dance Ready Ready Preview Oct 25, 2026 12:41pm UTC

@deepsource-io

deepsource-io Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

DeepSource Code Review

We reviewed changes in fcfd707...c9f6c4a on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Code Review Summary

Analyzer Status Updated (UTC) Details
JavaScript Oct 25, 2026 12:37p.m. Review ↗

Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

@xabierlameiro
xabierlameiro changed the base branch from xlameiro/compassionate-shannon-1cbyhz to master October 25, 2026 12:03
@xabierlameiro
xabierlameiro marked this pull request as ready for review October 25, 2026 12:45
@xabierlameiro
xabierlameiro merged commit 98d6d6d into master Oct 25, 2026
12 checks passed

This branch was successfully deployed

1 active deployment
Preview — c9f6c4a6 Deployed Oct 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants