Repository navigation
[npm] Update dependencies - #478
Conversation
There was a problem hiding this comment.
Summary
Dependency bump PR: @fluentui/react-components 9.75.2→9.75.3, vite 8.3.8→8.4.0, eslint 10.14.0→10.16.0, typescript-eslint 8.72.2→8.74.0, postcss 8.5.32→8.5.34, plus @types/* patch bumps. The package.json changes are straightforward minor/patch updates with no major version jumps, and the second lockfile document's specifiers/versions match package.json (e.g. @fluentui/react-components 9.75.3, vite 8.4.0, eslint 10.16.0, typescript-eslint 8.74.0, postcss 8.5.34, @types/node 26.6.11, @types/react 19.3.3).
However, the lockfile as committed is not a valid pnpm lockfile.
Findings
🔴 Critical — pnpm-lock.yaml contains two concatenated lockfile documents
The file contains two lockfileVersion: '9.0' documents:
- Lines 1–158: a document whose only importer is
configDependencies: {}+packageManagerDependencies: {pnpm: 12.5.1}, and whose only packages arepnpm@12.5.1and the@pnpm/exe.*platform binaries. This is a lockfile for the pnpm package itself — it contains none of the project's dependencies. - Line 159 onward: the actual project lockfile (
settings,importerswith all real deps,packages,snapshots).
pnpm parses only the first document of a pnpm-lock.yaml. With this file, pnpm install --frozen-lockfile (CI) would either fail the frozen-lockfile check or resolve against a document that has no project dependencies — builds and CI installs will break. This looks like a stray/concatenated artifact (e.g. a lockfile generated in the pnpm repo or a bad merge) rather than output of pnpm install in this project; packageManagerDependencies is not a standard pnpm lockfile key.
Fix: delete lines 1–158 so the file starts with the real project document (or, more safely, delete the file locally and regenerate with pnpm install after the package.json bumps, then verify with pnpm install --frozen-lockfile). If the base branch already contained this structure, it still needs fixing here since this PR rewrites the file anyway.
⚠️ CI not green at review time
The check and Analyze workflows are still running/pending at the head commit, so pnpm lint / pnpm build from the PR description couldn't be independently verified (this environment can't run builds either). Given the lockfile issue above, the install step is the most likely place the CI check job will fail. Please confirm CI goes green after fixing the lockfile.
Suggestion
@telekom/scale-components/-reactare pinned to3.0.0-beta.162— no change in this PR, just noting these are pre-release pins; consider moving off betas when a stable release exists.
Verdict
Request changes — the malformed two-document pnpm-lock.yaml must be fixed before merging, then CI re-run to confirm lint/build pass.
There was a problem hiding this comment.
Summary
Dependency bump via pnpm up --latest: @fluentui/react-components 9.75.2→9.75.3, @types/lodash 4.17.27→4.17.28, @types/node 26.6.6→26.6.11, @types/react 19.3.0→19.3.3, eslint 10.14.0→10.16.0, postcss 8.5.32→8.5.34, typescript-eslint 8.72.2→8.74.0, vite 8.3.8→8.4.0, all minor/patch within existing majors. No source code changes.
I verified the pnpm-lock.yaml importers section resolves to exactly the versions in package.json (fluentui 9.75.3, @types/node 26.6.11, @types/react 19.3.3, eslint 10.16.0, postcss 8.5.34, typescript-eslint 8.74.0, vite 8.4.0, @types/lodash 4.17.28), so package.json and lockfile are consistent. CI check (install + lint), CodeQL, and GitGuardian all pass.
Verdict: approve — mechanical, consistent bump; no correctness or security concerns in the diff.
Findings
suggestion
-
Stale
minimumReleaseAgeExcludeentries (pnpm-workspace.yaml)
The exclusion list still pins the previous versions (vite@8.3.0,typescript-eslint@8.70.1,@fluentui/react-components@9.74.9,postcss@8.5.15, the@typescript-eslint/*@8.70.1set,@types/node@25.9.1 || 26.0.0), none of which appear in the new lockfile. This is why the install in CI passed (the new versions were already past the release-age window at check time), but the list no longer reflects what the lockfile actually contains. Fix: prune the dead entries and add the versions currently locked (vite@8.4.0,typescript-eslint@8.74.0+@typescript-eslint/*@8.74.0,@fluentui/react-components@9.75.3,postcss@8.5.34,@types/node@26.6.11) if they are recent enough to fall inside the minimum-release-age window when installs run. -
CI does not run build or tests (
.github/workflows/check.yaml)
Thecheckjob only runspnpm installandpnpm lint; there is nopnpm buildorpnpm teststep, so the PR description's claim "Verified withpnpm lintandpnpm build" is not enforced by CI. For a repo where vite/eslint major-track updates land frequently, addingpnpm build(andpnpm test) to thecheckjob would catch regressions that lint alone cannot. -
TypeScript is not a declared dependency (
package.json)
The lockfile resolvestypescript@6.0.3(auto-installed as a peer viaautoInstallPeers: truefortypescript-eslint), butpackage.jsonhas notypescriptentry. It's a pre-existing condition, not introduced by this PR, but pinning it as a devDependency would stop the TS version from silently drifting with pnpm's peer resolution. -
@types/node26 vs Node 24 runtime (.github/workflows/check.yaml)
Types are bumped to^26.6.11while CI builds on Node 24. Low risk for types-only, but if you rely on Node-26-specific typings that don't exist in the Node 24 runtime, that mismatch won't be caught until runtime. Consider aligning@types/nodemajor with the CI Node version (or bumping CI to Node 26).
Not blocking
- The lockfile diff also contains the leading document locking pnpm 12.5.1 and its platform binaries (
@pnpm/exe.*) — this is pnpm 12'spackageManagerDependencieslocking behavior consistent with"packageManager": "pnpm@12.5.1"; harmless. - I could not execute install/build/tests in this environment; the assessment of lockfile consistency is based on reading the importers section of
pnpm-lock.yamland the passing CIcheckrun.
pnpm up --latest: @FluentUI 9.75.3, vite 8.4.0, eslint 10.16.0, typescript-eslint 8.74.0, postcss 8.5.34, plus type packages.
No major versions were available; every package already tracks its latest major.
Verified with
pnpm lintandpnpm build.