Skip to content

fix(deps): frontend npm vulnerabilities (COMP-405, COMP-481, COMP-518, COMP-545, COMP-546, COMP-592) - #339

Open
Tetramputechture wants to merge 1 commit into
fix/COMP-482-517-547-depsfrom
fix/COMP-npm-vulns
Open

Tetramputechture wants to merge 1 commit into
fix/COMP-482-517-547-depsfrom
fix/COMP-npm-vulns

Conversation

@Tetramputechture

Copy link
Copy Markdown

Stacked on #337 (which already has dompurify 3.4.17 and vite 8.3.8). Merge that first; this PR then retargets to main. Supersedes #327.

Package Before After How Ticket
@vitest/mocker 4.1.11 4.1.12 vitest + coverage-v8 → ^4.1.12 COMP-518
morgan 1.12.0 1.12.1 in-range update COMP-405
brace-expansion 1.1.18 / 2.1.4 / 5.0.9 1.1.22 / 5.0.13 in-range update COMP-405
postcss-selector-parser 6.0.10 6.1.6 override postcss-selector-parser@6 (@tailwindcss/typography pins 6.0.10 exactly) COMP-481
qs 6.16.0 6.16.1 existing override bumped COMP-518
follow-redirects 1.16.1 1.16.3 in-range update COMP-545
i18next-http-backend 4.0.2 4.0.10 direct dep → ^4.0.10 COMP-546
minimatch 9.0.9 / 10.2.4 11.0.1 override minimatch@9 / minimatch@10 COMP-592
vite (nested under vite-node) 7.3.5 7.3.8 in-range update open alerts OpenHands#961–967

Not fixable: deepmerge 4.3.1 (COMP-546, LOW). There's no patched release (alert OpenHands#1178 has no first patched version). It comes in through @heroui/react → @heroui/theme, which still depends on deepmerge 4.3.1 in its latest version.

The minimatch override only touches lint tooling (@typescript-eslint/typescript-estree 7.x/8.x, which still requires ^9/^10 upstream). ESLint output is identical before and after.

The lockfile was regenerated with npm 11. npm 10.9 crashes resolving the vitest peer set (Cannot read properties of null (reading 'edgesOut')); the lockfile format is unchanged (v3).

Verification (local)

…, COMP-545, COMP-546, COMP-592)

vitest/@vitest/coverage-v8 4.1.12 (@vitest/mocker 4.1.12), morgan 1.12.1,
brace-expansion 1.1.22/5.0.13, postcss-selector-parser 6.1.6 (override),
qs 6.16.1 (override), follow-redirects 1.16.3, i18next-http-backend 4.0.10,
minimatch 11.0.1 (override for the 9.x/10.x copies under typescript-eslint),
and vite-node's nested vite 7.3.5 -> 7.3.8.
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