Skip to content

deps: bump markdownlint-cli2 to 0.24.0 (markdown-it 15.0.3) - #323

Closed
nishimotz wants to merge 1 commit into
masterfrom
deps/markdownlint-cli2-0.24.0
Closed

nishimotz wants to merge 1 commit into
masterfrom
deps/markdownlint-cli2-0.24.0

Conversation

@nishimotz

Copy link
Copy Markdown
Contributor

概要

GitHub の Dependabot アラート(waic/as_test, package-lock.json)に対応する。

markdown-it は直接依存ではなく markdownlint-cli2 の推移的依存(dev)。markdownlint-cli2 を 0.23.x → 0.24.0 に上げ、同梱の markdown-it を 15.0.1 → 15.0.3 に更新する。

解消するアラート

パッケージ 変更 解消する勧告
markdown-it 15.0.1 → 15.0.3 Quadratic complexity in smartquotes with unmatched closing quotes (GHSA-r7fv-28h4-cvq7, High)
Quadratic-time DoS in inline HTML parsing with html enabled (GHSA-vfgh-jcmw-g37q)
Quadratic-time rendering of a single multi-line link reference definition (GHSA-gfr2-rv44-r23c)
smol-toml 1.8.0 → 1.9.1 Quadratic-time parse() from parseKey (GHSA-r4xh-jqrq-34v2, Moderate)
katex → 0.16.47 Prototype pollution bypass of trust restrictions (GHSA-238p-pmpm-9mq7, Low)

npm audit: 10 件 → 8 件、moderate 0 件。

残る high 5 件(別対応)

fast-glob / globby / braces / micromatch / markdownlint-cli2 本体。npm audit fix では解決せず、--force は markdownlint-cli2@0.0.4 へのダウングレードを提案するため使わない。upstream の更新待ちとして別途追跡する。

検証

  • npm install 後の package-lock.json で markdown-it 15.0.3 / smol-toml 1.9.1 / katex 0.16.47 を確認
  • npm audit 実行済み(上記)

到達可能性

本リポジトリは Markdown テストケースの静的 lint のみで、外部入力のレンダリング経路はない。修正は更新コストが低いため実施する。

@nishimotz

Copy link
Copy Markdown
Contributor Author

本体の更新(markdownlint-cli2 の 0.24.0 / markdown-it 15.0.3 / smol-toml 修正版)は #324 に含めてマージ済みです。#324 では re2js (GHSA-gg6h-894w-4m9c) と katex (GHSA-238p-pmpm-9mq7) も解消しており、本 PR は置き換えのためクローズします。

@nishimotz nishimotz closed this Nov 3, 2026
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