Skip to content

Commit 534f992

Browse files
authored
fix(deps): override smol-toml and katex past their new advisories (#464)
pnpm audit began failing CI on main and on every PR. Both packages reach us only through markdownlint-cli, a dev dependency. - smol-toml <=1.8.0: GHSA-r4xh-jqrq-34v2 (quadratic-time parse), patched in 1.8.1. markdownlint-cli pins ~1.7.0, so the existing 1.7.2 override no longer clears it. Replace it with >=1.8.1 (resolves to 1.9.0). - katex <0.18.2: prototype-pollution trust bypass (low), patched in 0.18.2. New override resolves to 0.19.0. Drop both overrides once markdownlint-cli ships bumped dependencies.
1 parent 5108035 commit 534f992

2 files changed

Lines changed: 20 additions & 20 deletions

File tree

‎pnpm-lock.yaml‎

Lines changed: 11 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pnpm-workspace.yaml‎

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ overrides:
1010
# unbounded intermediate arrays). It reaches us only via eslint ->
1111
# minimatch. Drop once eslint ships a bumped minimatch.
1212
'brace-expansion@>=4.0.0 <5.0.9': '>=5.0.9'
13-
# smol-toml <=1.7.0 carries GHSA-7w5x-hrqm-74c2 (malformed-input DoS)
14-
# through markdownlint-cli. Retain the compatible patched 1.7 line until
15-
# markdownlint-cli updates its direct dependency.
16-
'smol-toml@<=1.7.0': 1.7.2
13+
# smol-toml <=1.8.0 carries GHSA-7w5x-hrqm-74c2 (malformed-input DoS) and
14+
# GHSA-r4xh-jqrq-34v2 (quadratic-time parse), both patched in 1.8.1. It
15+
# reaches us only through markdownlint-cli, which pins ~1.7.0. Drop once
16+
# markdownlint-cli ships a bumped smol-toml.
17+
'smol-toml@<=1.8.0': '>=1.8.1'
18+
# katex <0.18.2 carries a prototype-pollution trust bypass (low). It reaches
19+
# us only through markdownlint -> micromark-extension-math. Drop once
20+
# markdownlint ships a bumped micromark-extension-math.
21+
'katex@>=0.11.0 <0.18.2': '>=0.18.2'

0 commit comments

Comments
 (0)