Skip to content

Update dependencies within existing version ranges - #866

Merged
rzueger merged 1 commit into
developfrom
chore/update-in-range-dependencies
Sep 2, 2026
Merged

Update dependencies within existing version ranges#866
rzueger merged 1 commit into
developfrom
chore/update-in-range-dependencies

Conversation

@rzueger

@rzueger rzueger commented Sep 2, 2026

Copy link
Copy Markdown
Member

Runs npm update in the root project and in functions/. No package.json ranges were touched — every bump fits the existing ^ ranges — so the only production change is to the two lockfiles.

Rebased onto current develop (after the csv-parse removal merged) and squashed to a single commit.

Root

styled-components 6.4.2→6.5.3, webpack 5.107.2→5.110.3, firebase 12.15.0→12.18.0, @sentry/react 10.59.0→10.73.0, cypress 15.17.0→15.21.1, jest + jest-environment-jsdom + babel-jest 30.4→30.5.1, react/react-dom 19.2.7→19.2.8, react-i18next 17.0.8→17.0.13, i18next 26.3.1→26.4.1, react-router-dom 7.18.0→7.18.3, redux-saga 1.5.0→1.5.1, moment-timezone 0.6.2→0.6.3, webpack-cli 7.0.3→7.2.3, webpack-dev-server 5.2.5→5.2.6, plus @types/react, @types/react-dom, @testing-library/react, @testing-library/user-event, css-loader, csv-stringify, html-webpack-plugin, start-server-and-test.

functions/

firebase-functions 7.2.5→7.3.2, @simplewebauthn/server 13.3.1→13.3.3, jest 30.4.2→30.5.1.

Snapshot regeneration

Eight component snapshots are regenerated (ImageButton, OptionalLink, LabeledBox, LabeledComponent, ModalDialog). styled-components derives its generated componentId from a hash seeded with the library version, and the style class name is in turn seeded from that componentId, so every sc-* class changes on any upgrade. Confirmed as the sole cause: with the rest of the update applied but styled-components pinned back to 6.4.2, all eight snapshots pass unchanged.

The diff is 19 class attributes and nothing else — no change to rendered DOM structure.

Verification

Run as the CI build job does, against a clean npm ci tree:

  • npm run typecheck — clean
  • npm run build — succeeds
  • npm run test:app — 2057/2057 pass, 176/176 suites, 9/9 snapshots
  • cd functions && npm test — 443/443 pass

npm run cy:test was not run locally; the Cypress binary download is blocked in my environment. That step is exercised by CI.

Not included

Remaining outdated packages all need major upgrades and are better handled separately: Babel 8, TypeScript 7, Cypress 16, webpack-dev-server 6, @simplewebauthn 14 (root and functions must move together), firebase-admin 14, nodemailer 9, @testing-library/jest-dom 7, @firebase/rules-unit-testing 5.

Runs npm update in the root project and in functions/. No package.json
ranges were touched, so only the lockfiles change.

Notable bumps: styled-components 6.4.2 -> 6.5.3, webpack 5.107.2 ->
5.110.3, firebase 12.15.0 -> 12.18.0, jest 30.4.2 -> 30.5.1, react
19.2.7 -> 19.2.8, cypress 15.17.0 -> 15.21.1, @sentry/react 10.59.0 ->
10.73.0, firebase-functions 7.2.5 -> 7.3.2.

Regenerates eight component snapshots. styled-components derives its
generated componentIds from a hash seeded with the library version, so
every sc-* class name changes when it is upgraded. The snapshot diff is
19 class attributes; the rendered DOM structure is unchanged.
@rzueger
rzueger force-pushed the chore/update-in-range-dependencies branch from 01c4336 to 994cd8c Compare September 2, 2026 08:25
@rzueger
rzueger merged commit 15c5091 into develop Sep 2, 2026
2 checks passed
@rzueger
rzueger deleted the chore/update-in-range-dependencies branch September 2, 2026 08:37
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.

1 participant