Skip to content

fix(deps): update the Next.js template dependencies (next 16.4.6 security fixes) - #98

Merged
andiikaa merged 1 commit into
mainfrom
fix/nextjs-template-16.4.5
Nov 24, 2026
Merged

andiikaa merged 1 commit into
mainfrom
fix/nextjs-template-16.4.5

Conversation

@andiikaa

@andiikaa andiikaa commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Resolves the 7 open Dependabot alerts for next (fixed in 16.4.5), and takes over the other updates of Dependabot's #91, which Dependabot then closes by itself.

package from to
next 16.4.3 16.4.6 (security)
@wandelbots/nova-js 4.12.0 4.13.0
@wandelbots/wandelbots-js-react-components 6.3.0 6.4.0
@wandelbots/mui (transitive 1.12.0) ^2.0.2, now direct
@tanstack/react-query 5.90 5.108
@biomejs/biome 2.6.4 2.6.8 ($schema in biome.jsonc too)
knip 6.43 6.47

Why #91 alone isn't enough: wandelbots-js-react-components 6.4.0 is breaking in a minor:

  • @wandelbots/mui moved from a dependency (^1) to a peer dependency (^2.0.0); pnpm kept 1.12.0 ("unmet peer").
  • createNovaMuiTheme is no longer exported from .../core, so tsc and next build failed (ClientLayout.tsx).
    The template now depends on @wandelbots/mui ^2.0.2 and imports createNovaMuiTheme from there, as the library's README says. The signature createNovaMuiTheme(...overrides: ThemeOptions[]) is unchanged.

Rebased onto main (Node 26): the earlier commit's lockfile didn't fit anymore, so this replaces it. The lockfile is regenerated with pnpm 10.24.0 on Node 26.13.1.

Verified with a generated app (nova app create my-web -g nextjs_app) in node:26.13.1-alpine:

  • pnpm install --frozen-lockfile, lint, tsc, knip and build pass.
  • docker build passes, and the container started with BASE_PATH=/cell/my-web answers 200.
  • Not checked in a browser: the theme is applied client-side.

Not included, unchanged from before: the i18next alert (GHSA-6jcc-5g8w-32mx) is only fixed in 26.3.4, a major bump of a transitive dependency of react-components (via react-i18next). Best fixed there.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.

Tip: disable this comment in your organization's Code Review settings.

…rity fixes)

- next 16.4.3 -> 16.4.6: fixes the 7 open Dependabot alerts (fixed in 16.4.5)
- the other updates of Dependabot's #91: @wandelbots/nova-js 4.13.0,
  @wandelbots/wandelbots-js-react-components 6.4.0, @tanstack/react-query
  5.108, @biomejs/biome 2.6.8 (schema in biome.jsonc), knip 6.47
- react-components 6.4.0 moved @wandelbots/mui to a peer dependency (^2)
  and no longer exports createNovaMuiTheme: the template depends on
  @wandelbots/mui ^2.0.2 and imports the theme from there (as its README
  says). #91 alone would have broken tsc and the build.

Lockfile regenerated with pnpm 10.24.0 on Node 26.13.1.
@andiikaa
andiikaa force-pushed the fix/nextjs-template-16.4.5 branch from b6dbcde to 67ace7e Compare November 24, 2026 16:10
@andiikaa andiikaa changed the title fix(deps): bump next to 16.4.6 in the Next.js template fix(deps): update the Next.js template dependencies (next 16.4.6 security fixes) Nov 24, 2026
@andiikaa
andiikaa merged commit cd91372 into main Nov 24, 2026
24 checks passed
@andiikaa
andiikaa deleted the fix/nextjs-template-16.4.5 branch November 24, 2026 16:23
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