browser-devtools-mcp 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/postinstall.cjs +1 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "browser-devtools-mcp",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "MCP Server for Browser Dev Tools",
5
5
  "private": false,
6
6
  "type": "module",
package/postinstall.cjs CHANGED
@@ -7,7 +7,7 @@
7
7
  * - BROWSER_DEVTOOLS_INSTALL_FIREFOX=true → firefox
8
8
  * - BROWSER_DEVTOOLS_INSTALL_WEBKIT=true → webkit
9
9
  * If none are set, we do nothing; Playwright's own install scripts behave as usual.
10
- * Respects PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD; does not fail npm install on error.
10
+ * Does not fail npm install on error.
11
11
  */
12
12
 
13
13
  const CHROMIUM_BROWSERS = ['chromium', 'chromium-headless-shell', 'ffmpeg'];
@@ -21,9 +21,6 @@ function envTruthy(name) {
21
21
 
22
22
  /** Returns list of browser names to install based on env vars only. */
23
23
  function getBrowsersToInstall() {
24
- if (envTruthy('PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD')) {
25
- return [];
26
- }
27
24
  const list = [];
28
25
  if (envTruthy('BROWSER_DEVTOOLS_INSTALL_CHROMIUM')) {
29
26
  list.push(...CHROMIUM_BROWSERS);