🐛 fix(deps): clear security alerts - #8
Conversation
- 🔒 refresh vulnerable lint parser dependencies
|
| Filename | Overview |
|---|---|
| node-configs/package.json | 更新 markdownlint-cli2 peerDependency 与 js-yaml dependency;未发现未说明的可到达故障。 |
| node-configs/jsr.json | 同步 JSR manifest 中 markdownlint-cli2 的版本范围。 |
| node-configs/package-lock.json | npm lockfile 与新依赖声明一致,并解析到目标修复版本。 |
| node-configs/pnpm-lock.yaml | pnpm lockfile 与 manifest 更新一致,并包含升级后的传递依赖图。 |
Reviews (1): Last reviewed commit: "🐛 fix(deps): clear security alerts" | Re-trigger Greptile
There was a problem hiding this comment.
Pull request overview
This PR updates the Node.js shared-configs package dependency set and lockfiles to remediate known security alerts, primarily by upgrading markdownlint-cli2 and js-yaml and refreshing the npm/pnpm lock resolutions to patched transitive versions.
Changes:
- Bump
markdownlint-cli2from^0.18.1to^0.23.2(peer dependency for npm; dependency for JSR manifest). - Bump direct
js-yamlfrom^4.1.1to^4.3.1. - Refresh
pnpm-lock.yamlandpackage-lock.jsonto pick up patched transitive dependencies (e.g.,markdown-it,linkify-it,picomatch).
Reviewed changes
Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| node-configs/pnpm-lock.yaml | Updates pnpm lock resolutions to the new direct/peer versions and patched transitives. |
| node-configs/package.json | Updates markdownlint-cli2 peer dependency and js-yaml direct dependency versions. |
| node-configs/package-lock.json | Updates npm lockfile to reflect the new dependency graph and patched transitives. |
| node-configs/jsr.json | Updates markdownlint-cli2 dependency version for the JSR manifest. |
Files not reviewed (2)
- node-configs/package-lock.json: Generated file
- node-configs/pnpm-lock.yaml: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
markdownlint-cli2peer from0.18.1to0.23.2js-yamlfrom4.1.1to4.3.1markdown-it@14.3.0,linkify-it@5.0.2, andpicomatch@2.3.2Validation
Breaking-change risk
markdownlint-cli2is a pre-1.0 minor upgrade and raises its Node.js floor from 20 to 22. The repository's publish workflow already uses Node.js 22, the shared configuration loads successfully, and no configuration migration was required.