@mcp-b/chrome-devtools-mcp 2.0.2-beta.test123 → 2.0.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.
@@ -916,8 +916,7 @@ export class McpContext {
916
916
  try {
917
917
  const dir = await fs.mkdtemp(path.join(os.tmpdir(), 'chrome-devtools-mcp-'));
918
918
  const filename = path.join(dir, `screenshot.${getExtensionFromMimeType(mimeType)}`);
919
- // Use mode 0o600 (owner read/write only) for secure temp file creation
920
- await fs.writeFile(filename, data, { mode: 0o600 });
919
+ await fs.writeFile(filename, data);
921
920
  return { filename };
922
921
  }
923
922
  catch (err) {
@@ -928,8 +927,7 @@ export class McpContext {
928
927
  async saveFile(data, filename) {
929
928
  try {
930
929
  const filePath = path.resolve(filename);
931
- // Use mode 0o644 (owner read/write, others read) for user-specified paths
932
- await fs.writeFile(filePath, data, { mode: 0o644 });
930
+ await fs.writeFile(filePath, data);
933
931
  return { filename };
934
932
  }
935
933
  catch (err) {
@@ -11,6 +11,6 @@ export { default as debug } from 'debug';
11
11
  export { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
12
12
  export { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
13
13
  export { SetLevelRequestSchema, ToolListChangedNotificationSchema, } from '@modelcontextprotocol/sdk/types.js';
14
- export { z as zod } from 'zod';
14
+ export { z as zod } from 'zod/v4';
15
15
  export { Locator, PredefinedNetworkConditions, CDPSessionEvent, } from 'puppeteer-core';
16
16
  export { default as puppeteer } from 'puppeteer-core';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcp-b/chrome-devtools-mcp",
3
- "version": "2.0.2-beta.test123",
3
+ "version": "2.0.2",
4
4
  "description": "MCP server for Chrome DevTools with WebMCP integration for connecting to website MCP tools",
5
5
  "keywords": [
6
6
  "mcp",
@@ -48,11 +48,11 @@
48
48
  "!*.tsbuildinfo"
49
49
  ],
50
50
  "dependencies": {
51
- "@composio/json-schema-to-zod": "^0.1.19",
51
+ "@composio/json-schema-to-zod": "^0.1.17",
52
52
  "@modelcontextprotocol/sdk": "1.25.2",
53
53
  "core-js": "3.47.0",
54
54
  "debug": "4.4.3",
55
- "esbuild": "^0.27.2",
55
+ "esbuild": "^0.24.2",
56
56
  "puppeteer": "24.32.0",
57
57
  "puppeteer-core": "24.32.0",
58
58
  "yargs": "18.0.0",
@@ -64,13 +64,13 @@
64
64
  "@rollup/plugin-commonjs": "^29.0.0",
65
65
  "@rollup/plugin-json": "^6.1.0",
66
66
  "@rollup/plugin-node-resolve": "^16.0.3",
67
- "@stylistic/eslint-plugin": "^5.7.1",
67
+ "@stylistic/eslint-plugin": "^5.4.0",
68
68
  "@types/debug": "^4.1.12",
69
69
  "@types/filesystem": "^0.0.36",
70
70
  "@types/node": "^24.3.3",
71
71
  "@types/sinon": "^21.0.0",
72
72
  "@types/yargs": "^17.0.33",
73
- "@typescript-eslint/eslint-plugin": "^8.53.1",
73
+ "@typescript-eslint/eslint-plugin": "^8.43.0",
74
74
  "@typescript-eslint/parser": "^8.43.0",
75
75
  "chrome-devtools-frontend": "1.0.1550444",
76
76
  "core-js": "3.47.0",
@@ -79,15 +79,15 @@
79
79
  "eslint-import-resolver-typescript": "^4.4.4",
80
80
  "eslint-plugin-import": "^2.32.0",
81
81
  "globals": "^16.4.0",
82
- "prettier": "^3.8.1",
82
+ "prettier": "^3.6.2",
83
83
  "puppeteer": "24.32.0",
84
84
  "puppeteer-core": "24.32.0",
85
85
  "rollup": "4.53.3",
86
86
  "rollup-plugin-cleanup": "^3.2.1",
87
87
  "rollup-plugin-license": "^3.6.0",
88
- "sinon": "^21.0.1",
88
+ "sinon": "^21.0.0",
89
89
  "typescript": "^5.9.2",
90
- "typescript-eslint": "^8.53.1",
90
+ "typescript-eslint": "^8.43.0",
91
91
  "yargs": "18.0.0",
92
92
  "zod": "4.3.5"
93
93
  },