Repository navigation
build(deps): upgrade dependencies to their latest versions - #107
Merged
Merged
Conversation
Majors: mermaid 12, simple-git 4, vitest and @vitest/coverage-v8 5, pnpm 12, actions/checkout 7 and actions/cache 6. Overrides move to the latest patched release of the major their dependents require, and lodash-es is overridden to 4.18.1 as chevrotain (from mermaid 12) pins the vulnerable 4.17.23. Node stays on the 24 LTS line. Mermaid 12 sizes its HTML labels at a 1.5 line-height while VitePress styles the <p> they render in with a 28px line-height and margins, clipping multi-line labels. The theme now resets both inside mermaid labels.
Overrides pin patched versions of transitive dependencies, so bumping their major forces a version the dependents never asked for (e.g. nanoid 6 under postcss, which needs 3).
Contributor
|
🤖 Hey ! ✅ Gitleaks found no leaked secrets in the git history. The secret scan report for the current pull request is available in the GitHub Security Tab. |
Contributor
|
🤖 Hey ! The security scan report for the current pull request is available in the GitHub Security Tab. |
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.
Summary
Upgrade every dependency to its latest version, including majors.
mermaid12,simple-git4vitest+@vitest/coverage-v85zod,yaml,eslint,vite,vue,@vitejs/plugin-vue,@types/node,@commitlint/*lodash-es^4.18.1 overridemise.toml)pnpm12.7.0;nodestays on the 24 LTS line (24.21.0, already latest);bun1.4.2 is already latestactions/checkout7,actions/cache6Mermaid 12 label clipping fix
Mermaid 12 sizes its HTML labels at a 1.5 line-height (21px), but VitePress styles the
<p>they render in with a 28px line-height and margins, so multi-line node and edge labels were clipped.public/templates/theme/mermaid.cssresets both inside mermaid labels (picked up by the theme's CSS glob).Renovate
minimumReleaseAge: 3 daysbefore proposing a release.overridesare disabled: they pin patched versions of transitive dependencies, and bumping their major forces a version the dependents never asked for (e.g.nanoid6 underpostcss, which requires 3).Security check
--minimum-release-ageset to 3 days, so releases younger than that were skipped (vitest5.0.3 → 5.0.2,pnpm12.8.x → 12.7.0).bun audit: 9 → 4 vulnerabilities.mermaid12 pulled inlodash-es4.17.23 (pinned exactly bychevrotain), fixed by the new override.vite5 /esbuild0.21 insidevitepress1.6.4, the latest stable release, and only affect the dev server.file-entry-cache→cacheablefamily),mermaid12 (chevrotain,elkjs) and vitest. Known maintainers, mostly published with npm provenance, and none run install scripts.Verification
homelabanddocpresssucceeds.npm,pnpm12,bun) pass on Node 24.21.0.homelabpages checked in a browser: they render, with no clipped labels. One diagram inhomelab/projectsfails to parse, the same way onmainwith mermaid 11 (unquoted(inside a[...]label in the homelab docs).Notes
layout: 'dagre'mermaid option away if preferred.typescript7 (typescript-eslintstill requires<6.1.0),vitepress2 (alpha only).package.jsonoverridesonly apply to this repository's installs (including the Docker image), not to npm consumers of docpress.packageManageris bun) and, in the consumer-install test,pnpm initpins and downloads its own latest release for the scratch project.