@wdio/mcp 2.5.0 → 2.5.1
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.
- package/lib/server.js +3 -3
- package/lib/server.js.map +1 -1
- package/lib/snapshot.js +1 -1
- package/lib/snapshot.js.map +1 -1
- package/package.json +2 -2
package/lib/server.js
CHANGED
|
@@ -1179,7 +1179,7 @@ function isValidValue(value) {
|
|
|
1179
1179
|
return value !== void 0 && value !== null && value !== "null" && value.trim() !== "";
|
|
1180
1180
|
}
|
|
1181
1181
|
function escapeText(text) {
|
|
1182
|
-
return text.replace(/"/g, '\\"').replace(/\n/g, "\\n");
|
|
1182
|
+
return text.replace(/\\/g, "\\\\").replace(/"/g, '\\"').replace(/\n/g, "\\n");
|
|
1183
1183
|
}
|
|
1184
1184
|
function escapeXPathValue(value) {
|
|
1185
1185
|
if (!value.includes("'")) {
|
|
@@ -2842,7 +2842,7 @@ var package_default = {
|
|
|
2842
2842
|
type: "git",
|
|
2843
2843
|
url: "git://github.com/webdriverio/mcp.git"
|
|
2844
2844
|
},
|
|
2845
|
-
version: "2.
|
|
2845
|
+
version: "2.5.0",
|
|
2846
2846
|
description: "MCP server with WebdriverIO for browser and mobile app automation (iOS/Android via Appium)",
|
|
2847
2847
|
main: "./lib/server.js",
|
|
2848
2848
|
module: "./lib/server.js",
|
|
@@ -2907,7 +2907,7 @@ var package_default = {
|
|
|
2907
2907
|
typescript: "5.9",
|
|
2908
2908
|
vitest: "^4.0.18"
|
|
2909
2909
|
},
|
|
2910
|
-
packageManager: "pnpm@10.
|
|
2910
|
+
packageManager: "pnpm@10.32.1"
|
|
2911
2911
|
};
|
|
2912
2912
|
|
|
2913
2913
|
// src/server.ts
|