Skip to content

chore(deps-dev): remove unused Puppeteer e2e dependencies - #529

Merged
josephfusco merged 2 commits into
mainfrom
deps/security-overrides
Oct 22, 2026
Merged

josephfusco merged 2 commits into
mainfrom
deps/security-overrides

Conversation

@josephfusco

Copy link
Copy Markdown
Member

Resolves the two high-severity Dependabot alerts for extract-zip (#197, #209), which have no patched release.

extract-zip came in through @wordpress/jest-puppeteer-axe → puppeteer → @puppeteer/browsers. The Puppeteer packages and test-e2e scripts are left over from an e2e setup that was scaffolded but never used. The repo has no e2e specs or Jest config. This PR removes:

  • the test-e2e, test-e2e:debug, and test-e2e:watch scripts
  • @wordpress/jest-console, @wordpress/jest-puppeteer-axe, expect-puppeteer, and puppeteer-testing-library

That drops about 5,500 lockfile lines, including puppeteer and extract-zip. Nothing shipped in the plugin zip changes.

Other open alerts

Testing

  • npm ci and npm run build:zip succeed on Node 24.
  • npm audit high findings go from 30 to 20. The remaining 20 all trace to braces <= 3.0.3 (GHSA-vfj7-8cjw-p6xm) inside @wordpress/scripts. There's no patched braces release and Dependabot doesn't raise that alert.
Use of AI Tools

AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 5.5
Used for: Assisting with triaging the Dependabot alerts and removing the unused dependencies.

@josephfusco
josephfusco requested review from a team and colinmurphy as code owners October 22, 2026 16:35
@josephfusco
josephfusco merged commit a43b252 into main Oct 22, 2026
15 checks passed
@josephfusco
josephfusco deleted the deps/security-overrides branch October 22, 2026 16:36
@josephfusco
josephfusco restored the deps/security-overrides branch October 22, 2026 16:46
@josephfusco
josephfusco deleted the deps/security-overrides branch October 22, 2026 16:59
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