Skip to content

Fix the Dependabot alerts in the development tooling - #28

Merged
padams merged 2 commits into
masterfrom
chore/dependabot-alerts
Dec 2, 2026
Merged

padams merged 2 commits into
masterfrom
chore/dependabot-alerts

Conversation

@padams

@padams padams commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Fixes the eight open Dependabot alerts (#23–#26, #29, #30, #32, #33). All are npm development dependencies inside @wordpress/scripts; none ship in the plugin.

Package Was Now How
http-proxy-middleware 2.0.10 2.0.12 npm audit fix
follow-redirects 1.16.1 1.16.3 npm audit fix
js-yaml (markdownlint-cli's) 5.2.3 5.5.0 override
smol-toml 1.7.2 1.9.1 override
katex 0.16.47 0.18.10 override
serialize-javascript 6.0.2 7.1.4 override
uuid 8.3.2 11.1.1 override

The overrides are needed because the parents pin the vulnerable ranges: markdownlint-cli 0.49 (~5.2.1, ~1.7.0), micromark-extension-math (^0.16.0), copy-webpack-plugin 10 (^6.0.0), sockjs (^8.3.2). @wordpress/scripts 37 still uses markdownlint-cli 0.49 and copy-webpack-plugin 10, so a major bump would not remove them.

Two more that npm audit reports and Dependabot does not yet: websocket-driver 0.7.5 → 0.8.3 (critical; sockjs) and markdownlint-cli's minimatch 10.2.6 → 11.0.10 (moderate). npm audit now finds none.

CI runs the build (copy-webpack-plugin, so serialize-javascript 7), vitest and the e2e suite. Not exercised by CI: npm start (webpack-dev-server → sockjs → uuid, websocket-driver) and markdownlint, which no script here runs.

npm audit fix updated http-proxy-middleware (2.0.12) and follow-redirects
(1.16.3). The rest are pinned by packages inside @wordpress/scripts 36, so
overrides raise them: js-yaml 5.5.0, smol-toml 1.9.1 and minimatch 11.0.10
under markdownlint-cli; katex 0.18.10; serialize-javascript 7.1.4; uuid
11.1.1 and websocket-driver 0.8.3 (sockjs, used only by wp-scripts start).
npm audit reports none left.
@padams
padams merged commit c16d743 into master Dec 2, 2026
9 checks passed
@padams
padams deleted the chore/dependabot-alerts branch December 2, 2026 09:40
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