Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore(deps): consolidate dev dependencies in the root package.json (#40380)
Dmitry Gozmancdc9ea69e487
diff --git a/package-lock.json b/package-lock.jsonindex 69382f2cc8..a5e442af3f 100644--- a/package-lock.json+++ b/package-lock.json@@ -14,13 +14,41 @@"devDependencies": {"@actions/core": "^3.0.0","@actions/github": "^8.0.0",- "@babel/code-frame": "^7.26.2",+ "@babel/code-frame": "^7.27.1",+ "@babel/core": "^7.28.0",+ "@babel/helper-plugin-utils": "^7.27.1",+ "@babel/parser": "^7.28.0",+ "@babel/plugin-proposal-decorators": "^7.28.0",+ "@babel/plugin-syntax-async-generators": "^7.8.4",+ "@babel/plugin-syntax-import-attributes": "^7.27.1",+ "@babel/plugin-syntax-json-strings": "^7.8.3",+ "@babel/plugin-syntax-object-rest-spread": "^7.8.3",+ "@babel/plugin-syntax-optional-catch-binding": "^7.8.3",+ "@babel/plugin-transform-class-properties": "^7.27.1",+ "@babel/plugin-transform-class-static-block": "^7.27.1",+ "@babel/plugin-transform-explicit-resource-management": "^7.28.0",+ "@babel/plugin-transform-export-namespace-from": "^7.27.1",+ "@babel/plugin-transform-logical-assignment-operators": "^7.27.1",+ "@babel/plugin-transform-modules-commonjs": "^7.27.1",+ "@babel/plugin-transform-nullish-coalescing-operator": "^7.27.1",+ "@babel/plugin-transform-numeric-separator": "^7.27.1",+ "@babel/plugin-transform-optional-chaining": "^7.27.1",+ "@babel/plugin-transform-private-methods": "^7.27.1",+ "@babel/plugin-transform-private-property-in-object": "^7.27.1",+ "@babel/plugin-transform-react-jsx": "^7.27.1",+ "@babel/preset-typescript": "^7.27.1","@eslint/compat": "^1.3.2","@eslint/eslintrc": "^3.3.1","@eslint/js": "^9.34.0",+ "@jest/expect-utils": "30.2.0","@modelcontextprotocol/sdk": "^1.28.0","@octokit/graphql-schema": "^15.26.0","@stylistic/eslint-plugin": "^5.2.3",+ "@types/babel__code-frame": "^7.0.6",+ "@types/babel__core": "^7.20.5",+ "@types/babel__helper-plugin-utils": "^7.10.3",+ "@types/babel__traverse": "^7.20.6",+ "@types/chrome": "^0.0.315","@types/codemirror": "^5.60.7","@types/debug": "^4.1.7","@types/diff": "^5.2.3",@@ -31,12 +59,11 @@"@types/node": "18.19.76","@types/pngjs": "^6.0.1","@types/progress": "^2.0.5",- "@types/proper-lockfile": "^4.1.2","@types/proxy-from-env": "^1.0.1","@types/react": "^19.2.1","@types/react-dom": "^19.2.1",+ "@types/retry": "^0.12.5","@types/source-map-support": "^0.5.4",- "@types/stack-utils": "^2.0.1","@types/stoppable": "^1.1.1","@types/ws": "8.2.2","@types/xml2js": "^0.4.9",@@ -71,6 +98,8 @@"graceful-fs": "4.2.10","https-proxy-agent": "7.0.6","ini": "^6.0.0",+ "jest-matcher-utils": "30.2.0",+ "jest-message-util": "30.2.0","jpeg-js": "0.4.4","json5": "2.2.3","license-checker": "^25.0.1",@@ -91,6 +120,7 @@"stoppable": "1.1.0","typescript": "^5.9.2","vite": "^6.4.1",+ "vite-plugin-static-copy": "^3.1.1","ws": "8.17.1","xml2js": "^0.5.0","yaml": "^2.8.3",@@ -2685,16 +2715,6 @@"@types/node": "*"}},- "node_modules/@types/proper-lockfile": {- "version": "4.1.4",- "resolved": "https://registry.npmjs.org/@types/proper-lockfile/-/proper-lockfile-4.1.4.tgz",- "integrity": "sha512-uo2ABllncSqg9F1D4nugVl9v93RmjxF6LJzQLMLDdPaXCUIDPeOJ21Gbqi43xNKzBi/WQ0Q0dICqufzQbMjipQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "@types/retry": "*"- }- },"node_modules/@types/proxy-from-env": {"version": "1.0.4","resolved": "https://registry.npmjs.org/@types/proxy-from-env/-/proxy-from-env-1.0.4.tgz",@@ -9607,11 +9627,6 @@"name": "@playwright/extension","version": "0.1.0","license": "Apache-2.0",- "devDependencies": {- "@types/chrome": "^0.0.315",- "minimist": "^1.2.5",- "vite-plugin-static-copy": "^3.1.1"- },"engines": {"node": ">=18"}@@ -9628,38 +9643,6 @@"bin": {"playwright": "cli.js"},- "devDependencies": {- "@babel/code-frame": "^7.27.1",- "@babel/core": "^7.28.0",- "@babel/helper-plugin-utils": "^7.27.1",- "@babel/parser": "^7.28.0",- "@babel/plugin-proposal-decorators": "^7.28.0",- "@babel/plugin-syntax-async-generators": "^7.8.4",- "@babel/plugin-syntax-import-attributes": "^7.27.1",- "@babel/plugin-syntax-json-strings": "^7.8.3",- "@babel/plugin-syntax-object-rest-spread": "^7.8.3",- "@babel/plugin-syntax-optional-catch-binding": "^7.8.3",- "@babel/plugin-transform-class-properties": "^7.27.1",- "@babel/plugin-transform-class-static-block": "^7.27.1",- "@babel/plugin-transform-explicit-resource-management": "^7.28.0",- "@babel/plugin-transform-export-namespace-from": "^7.27.1",- "@babel/plugin-transform-logical-assignment-operators": "^7.27.1",- "@babel/plugin-transform-modules-commonjs": "^7.27.1",- "@babel/plugin-transform-nullish-coalescing-operator": "^7.27.1",- "@babel/plugin-transform-numeric-separator": "^7.27.1",- "@babel/plugin-transform-optional-chaining": "^7.27.1",- "@babel/plugin-transform-private-methods": "^7.27.1",- "@babel/plugin-transform-private-property-in-object": "^7.27.1",- "@babel/plugin-transform-react-jsx": "^7.27.1",- "@babel/preset-typescript": "^7.27.1",- "@jest/expect-utils": "30.2.0",- "@types/babel__code-frame": "^7.0.6",- "@types/babel__core": "^7.20.5",- "@types/babel__helper-plugin-utils": "^7.10.3",- "@types/babel__traverse": "^7.20.6",- "jest-matcher-utils": "30.2.0",- "jest-message-util": "30.2.0"- },"engines": {"node": ">=18"},diff --git a/package.json b/package.jsonindex e47a444117..c123ab5036 100644--- a/package.json+++ b/package.json@@ -56,13 +56,41 @@"devDependencies": {"@actions/core": "^3.0.0","@actions/github": "^8.0.0",- "@babel/code-frame": "^7.26.2",+ "@babel/code-frame": "^7.27.1",+ "@babel/core": "^7.28.0",+ "@babel/helper-plugin-utils": "^7.27.1",+ "@babel/parser": "^7.28.0",+ "@babel/plugin-proposal-decorators": "^7.28.0",+ "@babel/plugin-syntax-async-generators": "^7.8.4",+ "@babel/plugin-syntax-import-attributes": "^7.27.1",+ "@babel/plugin-syntax-json-strings": "^7.8.3",+ "@babel/plugin-syntax-object-rest-spread": "^7.8.3",+ "@babel/plugin-syntax-optional-catch-binding": "^7.8.3",+ "@babel/plugin-transform-class-properties": "^7.27.1",+ "@babel/plugin-transform-class-static-block": "^7.27.1",+ "@babel/plugin-transform-explicit-resource-management": "^7.28.0",+ "@babel/plugin-transform-export-namespace-from": "^7.27.1",+ "@babel/plugin-transform-logical-assignment-operators": "^7.27.1",+ "@babel/plugin-transform-modules-commonjs": "^7.27.1",+ "@babel/plugin-transform-nullish-coalescing-operator": "^7.27.1",+ "@babel/plugin-transform-numeric-separator": "^7.27.1",+ "@babel/plugin-transform-optional-chaining": "^7.27.1",+ "@babel/plugin-transform-private-methods": "^7.27.1",+ "@babel/plugin-transform-private-property-in-object": "^7.27.1",+ "@babel/plugin-transform-react-jsx": "^7.27.1",+ "@babel/preset-typescript": "^7.27.1","@eslint/compat": "^1.3.2","@eslint/eslintrc": "^3.3.1","@eslint/js": "^9.34.0",+ "@jest/expect-utils": "30.2.0","@modelcontextprotocol/sdk": "^1.28.0","@octokit/graphql-schema": "^15.26.0","@stylistic/eslint-plugin": "^5.2.3",+ "@types/babel__code-frame": "^7.0.6",+ "@types/babel__core": "^7.20.5",+ "@types/babel__helper-plugin-utils": "^7.10.3",+ "@types/babel__traverse": "^7.20.6",+ "@types/chrome": "^0.0.315","@types/codemirror": "^5.60.7","@types/debug": "^4.1.7","@types/diff": "^5.2.3",@@ -73,12 +101,11 @@"@types/node": "18.19.76","@types/pngjs": "^6.0.1","@types/progress": "^2.0.5",- "@types/proper-lockfile": "^4.1.2","@types/proxy-from-env": "^1.0.1","@types/react": "^19.2.1","@types/react-dom": "^19.2.1",+ "@types/retry": "^0.12.5","@types/source-map-support": "^0.5.4",- "@types/stack-utils": "^2.0.1","@types/stoppable": "^1.1.1","@types/ws": "8.2.2","@types/xml2js": "^0.4.9",@@ -113,6 +140,8 @@"graceful-fs": "4.2.10","https-proxy-agent": "7.0.6","ini": "^6.0.0",+ "jest-matcher-utils": "30.2.0",+ "jest-message-util": "30.2.0","jpeg-js": "0.4.4","json5": "2.2.3","license-checker": "^25.0.1",@@ -133,6 +162,7 @@"stoppable": "1.1.0","typescript": "^5.9.2","vite": "^6.4.1",+ "vite-plugin-static-copy": "^3.1.1","ws": "8.17.1","xml2js": "^0.5.0","yaml": "^2.8.3",diff --git a/packages/extension/package.json b/packages/extension/package.jsonindex e9147f9660..34e5b43d04 100644--- a/packages/extension/package.json+++ b/packages/extension/package.json@@ -21,10 +21,5 @@"test": "playwright test","lint": "tsc --project .","clean": "rm -rf dist test-results"- },- "devDependencies": {- "@types/chrome": "^0.0.315",- "minimist": "^1.2.5",- "vite-plugin-static-copy": "^3.1.1"}}diff --git a/packages/playwright/package.json b/packages/playwright/package.jsonindex 1c4d762fe9..cca051e441 100644--- a/packages/playwright/package.json+++ b/packages/playwright/package.json@@ -55,38 +55,6 @@"dependencies": {"playwright-core": "1.60.0-next"},- "devDependencies": {- "@babel/code-frame": "^7.27.1",- "@babel/core": "^7.28.0",- "@babel/helper-plugin-utils": "^7.27.1",- "@babel/parser": "^7.28.0",- "@babel/plugin-proposal-decorators": "^7.28.0",- "@babel/plugin-syntax-async-generators": "^7.8.4",- "@babel/plugin-syntax-import-attributes": "^7.27.1",- "@babel/plugin-syntax-json-strings": "^7.8.3",- "@babel/plugin-syntax-object-rest-spread": "^7.8.3",- "@babel/plugin-syntax-optional-catch-binding": "^7.8.3",- "@babel/plugin-transform-class-properties": "^7.27.1",- "@babel/plugin-transform-class-static-block": "^7.27.1",- "@babel/plugin-transform-explicit-resource-management": "^7.28.0",- "@babel/plugin-transform-export-namespace-from": "^7.27.1",- "@babel/plugin-transform-logical-assignment-operators": "^7.27.1",- "@babel/plugin-transform-modules-commonjs": "^7.27.1",- "@babel/plugin-transform-nullish-coalescing-operator": "^7.27.1",- "@babel/plugin-transform-numeric-separator": "^7.27.1",- "@babel/plugin-transform-optional-chaining": "^7.27.1",- "@babel/plugin-transform-private-methods": "^7.27.1",- "@babel/plugin-transform-private-property-in-object": "^7.27.1",- "@babel/plugin-transform-react-jsx": "^7.27.1",- "@babel/preset-typescript": "^7.27.1",- "@types/babel__code-frame": "^7.0.6",- "@types/babel__core": "^7.20.5",- "@types/babel__helper-plugin-utils": "^7.10.3",- "@types/babel__traverse": "^7.20.6",- "@jest/expect-utils": "30.2.0",- "jest-matcher-utils": "30.2.0",- "jest-message-util": "30.2.0"- },"optionalDependencies": {"fsevents": "2.3.2"}