chore(deps): refresh postcss, markdown-it, and linkify-it - #179
Merged
Conversation
Clears five Dependabot alerts with a lockfile refresh alone — every parent's declared range already admitted the patched version, so no manifest edit and no `overrides:` entry are involved. postcss 8.5.15 -> 8.5.26 (#28 high, #42 medium) markdown-it 14.1.0/14.2.0/14.3.0 -> 14.3.0 (#11, #12 medium) linkify-it 5.0.1/5.0.2 -> 5.0.2 (#25 high) markdown-it and linkify-it each collapse to a single copy, so the lockfile is 33 lines shorter than before. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
Refreshes
postcss,markdown-it, andlinkify-itinpnpm-lock.yaml, clearing five open Dependabot alerts across the three packages.Alerts cleared
<= 8.5.17<= 5.0.1<= 8.5.22>= 13.0.0, < 14.1.1<= 14.1.1Resolutions
Only
markdown-it@14.1.0andlinkify-it@5.0.1were the vulnerable copies; the higher duplicates were already clean. Deduplicating them is what makes the lockfile diff net negative — 11 insertions, 44 deletions.Why a lockfile refresh is the whole fix
Every parent's declared range already admitted the patched version, so the lockfile was simply stale:
vite@6.4.3^8.5.3@vscode/vsce@3.9.2^14.1.0markdown-it@14.1.0/@14.2.0^5.0.0/^5.0.1pnpm update postcss linkify-it markdown-it -rresolves all three. No manifest range bump is needed — unlike #177, none of these is a directdependenciesentry of a published package, so there is no declared floor of ours to raise.Why not an
overrides:entrypnpm-workspace.yamlhas nooverrides:block (verified on75b0dd7: it holds onlypackages:,verifyDepsBeforeRun:,catalog:,allowBuilds:), and adding one would change nothing. An override exists to force a resolution the declared ranges would otherwise forbid; here every range already permits the patched version and the lock now lands there on its own. An override would be an inert pin that masks future range drift. None added.catalog:is likewise not a lever here — it reaches only direct deps, and none of these three appears in any workspace manifest.Exposure
Dev-only — nothing published reaches any of the three. Every path terminates in a
devDependenciesedge:The consumers are the test runner (vite/vitest), the VS Code extension's packaging tool (vsce), the markdown linter used on this repo's own docs, and the API-docs generator. The published packages ship
files: ["dist", "src", "index.ts"](core) /["dist", "index.ts"]and never include the lockfile, so no downstream install resolves any of these.This is the #176 shape, not the #177 shape: no consumer-facing surface, therefore no manifest edit.
No version bump
No
packages/*/package.jsonis touched, sorelease.ymldoes not even trigger. Consistent with #107, #174, and #176.Verification
pnpm test— 54 files, 1231 tests passingpnpm lint— clean (145 files)pnpm --filter @mermaid-lint/jest test— 3 tests passingpnpm --filter mermaid-lint-vscode package— VSIX builds clean, exercisingvsceend to end against the bumpedmarkdown-itpnpm why— one resolved version each ofpostcss,markdown-it, andlinkify-itpnpm-lock.yamlonly, net −33 lines🤖 Generated with Claude Code