chore: remove unused @playwright/cli dependency#2652
Conversation
Bumps [@playwright/cli](https://github.com/microsoft/playwright-cli) from 0.1.1 to 0.1.8. - [Release notes](https://github.com/microsoft/playwright-cli/releases) - [Commits](microsoft/playwright-cli@v0.1.1...v0.1.8) --- updated-dependencies: - dependency-name: "@playwright/cli" dependency-version: 0.1.8 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Jonathan Kingston <jonathanKingston@users.noreply.github.com>
Build Branch
Static preview entry points
QR codes (mobile preview)
Integration commandsnpm (Android / Extension): Swift Package Manager (Apple): .package(url: "https://github.com/duckduckgo/content-scope-scripts.git", branch: "pr-releases/jkt/auto/dependency-update-review-e7b1")git submodule (Windows): git -C submodules/content-scope-scripts fetch origin pr-releases/jkt/auto/dependency-update-review-e7b1
git -C submodules/content-scope-scripts checkout origin/pr-releases/jkt/auto/dependency-update-review-e7b1Pin to exact commitnpm (Android / Extension): Swift Package Manager (Apple): .package(url: "https://github.com/duckduckgo/content-scope-scripts.git", revision: "b5ad6915636bef20a59d73ec37191565963ac80f")git submodule (Windows): git -C submodules/content-scope-scripts fetch origin pr-releases/jkt/auto/dependency-update-review-e7b1
git -C submodules/content-scope-scripts checkout b5ad6915636bef20a59d73ec37191565963ac80f |
[Beta] Generated file diffTime updated: Thu, 23 Apr 2026 22:57:14 GMT |
There was a problem hiding this comment.
Stale comment
Web Compatibility Assessment
File:
package.json
Line range:42-45
Severity:info
Removal of@playwright/clifromdevDependenciesdoes not alter injected feature code, wrapper utilities, platform entry points, or runtime API shims. No web API surface, descriptor, prototype, DOM, or timing behavior changes are introduced.File:
package-lock.json
Line range:18-26,1544-1598
Severity:info
Lockfile-only cleanup removes the corresponding@playwright/cliand nested alpha Playwright package entries. This is build/dependency metadata and does not change browser-injected JavaScript behavior.Security Assessment
File:
package.json
Line range:42-45
Severity:info
No changes to captured globals, message bridge, transport origin checks, or any content-script runtime execution paths. Threat model boundaries remain unchanged.File:
package-lock.json
Line range:1544-1598
Severity:info
Dependency reduction removes an unnecessary package tree (including a nested alpha Playwright dependency), slightly reducing supply-chain surface in development tooling. No new exfiltration or injection vectors are introduced.Risk Level
Low Risk — manifest/lockfile dependency cleanup only; no modifications to injected runtime logic, compatibility shims, or security-sensitive messaging/proxy layers.
Recommendations
- Run CI validation for tooling paths that may have referenced
playwright-cli(if any local scripts existed outside npm workspaces).- Keep
@playwright/testas the single Playwright dependency to avoid future dual-version drift in lockfile.- Optional hardening: add an automated dependency hygiene check (unused dev dependency detection) to prevent reintroduction.
Sent by Cursor Automation: Web compat and sec
There was a problem hiding this comment.
Web Compatibility Assessment
- No compatibility regressions found in this diff.
package.json(devDependencies block), severity: info
Removal of@playwright/clionly affects local/dev tooling dependency resolution; there are no changes to injected runtime code paths (injected/src/**), API shims, wrapper utilities, feature lifecycle (load/init/urlChanged), or platform entry points.package-lock.json(removednode_modules/@playwright/clisubtree), severity: info
Lockfile updates are consistent with the dependency removal and do not alter browser-executed JS behavior, prototype overrides, or DOM interaction logic.
Security Assessment
- No security vulnerabilities introduced by the changed lines.
package.json/package-lock.json, severity: info
This is a dev-dependency cleanup only; it does not touch message bridge trust boundaries, captured globals, origin validation, exemption logic, or any injected feature code. As a positive side effect, removing an unused package reduces supply-chain exposure in the development toolchain.
Risk Level
Low Risk — the PR is dependency-only (@playwright/cli removal) and does not modify runtime injected scripts, compatibility-sensitive wrappers, or security-critical subsystems.
Recommendations
- Run CI integration tests that rely on Playwright to confirm no script/tooling invocation still assumes
@playwright/clibinaries. - Keep Playwright usage standardized on
@playwright/testto avoid future parallel CLI dependency drift.
Sent by Cursor Automation: Web compat and sec


Asana Task/Github Issue: N/A
Description
Removes
@playwright/clifrom rootdevDependenciesand lockfile entries because it is not used by repository scripts/tests.This reduces dependency surface and avoids tracking alpha transitive
playwrightversions through an unused package.Testing Steps
npm install --package-lock-onlyfrom repo root and confirm lockfile remains consistent.Checklist
Please tick all that apply:
Note
Low Risk
Low risk: this only removes an unused devDependency and its lockfile entries, with no runtime code changes. The main risk is CI/scripts that implicitly relied on
@playwright/cli, but no usages were found in repo scripts.Overview
Removes the unused
@playwright/clidevDependency frompackage.jsonand deletes its associatedpackage-lock.jsonentries (including the alphaplaywright/playwright-coretransitive versions it pulled in).No code or test logic changes; Playwright testing remains via
@playwright/test.Reviewed by Cursor Bugbot for commit 72837a4. Bugbot is set up for automated code reviews on this repo. Configure here.