@wdio/utils 9.4.4 → 9.6.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.
- package/build/index.js +3 -3
- package/build/node.js +3 -3
- package/build/utils.d.ts.map +1 -1
- package/package.json +3 -3
package/build/index.js
CHANGED
|
@@ -301,9 +301,9 @@ var sleep = (ms = 0) => new Promise((r) => setTimeout(r, ms));
|
|
|
301
301
|
function isAppiumCapability(caps) {
|
|
302
302
|
return Boolean(
|
|
303
303
|
caps && // @ts-expect-error outdated jsonwp cap
|
|
304
|
-
(caps.automationName || caps["appium:automationName"] || // @ts-expect-error outdated jsonwp cap
|
|
305
|
-
caps.deviceName || caps["appium:deviceName"] || // @ts-expect-error outdated jsonwp cap
|
|
306
|
-
caps.appiumVersion || caps["appium:appiumVersion"])
|
|
304
|
+
(caps.automationName || caps["appium:automationName"] || "appium:options" in caps && caps["appium:options"]?.automationName || // @ts-expect-error outdated jsonwp cap
|
|
305
|
+
caps.deviceName || caps["appium:deviceName"] || "appium:options" in caps && caps["appium:options"]?.deviceName || "lt:options" in caps && caps["lt:options"]?.deviceName || // @ts-expect-error outdated jsonwp cap
|
|
306
|
+
caps.appiumVersion || caps["appium:appiumVersion"] || "appium:options" in caps && caps["appium:options"]?.appiumVersion || "lt:options" in caps && caps["lt:options"]?.appiumVersion)
|
|
307
307
|
);
|
|
308
308
|
}
|
|
309
309
|
function definesRemoteDriver(options) {
|
package/build/node.js
CHANGED
|
@@ -258,9 +258,9 @@ var DEFAULT_PATH = "/";
|
|
|
258
258
|
function isAppiumCapability(caps) {
|
|
259
259
|
return Boolean(
|
|
260
260
|
caps && // @ts-expect-error outdated jsonwp cap
|
|
261
|
-
(caps.automationName || caps["appium:automationName"] || // @ts-expect-error outdated jsonwp cap
|
|
262
|
-
caps.deviceName || caps["appium:deviceName"] || // @ts-expect-error outdated jsonwp cap
|
|
263
|
-
caps.appiumVersion || caps["appium:appiumVersion"])
|
|
261
|
+
(caps.automationName || caps["appium:automationName"] || "appium:options" in caps && caps["appium:options"]?.automationName || // @ts-expect-error outdated jsonwp cap
|
|
262
|
+
caps.deviceName || caps["appium:deviceName"] || "appium:options" in caps && caps["appium:options"]?.deviceName || "lt:options" in caps && caps["lt:options"]?.deviceName || // @ts-expect-error outdated jsonwp cap
|
|
263
|
+
caps.appiumVersion || caps["appium:appiumVersion"] || "appium:options" in caps && caps["appium:options"]?.appiumVersion || "lt:options" in caps && caps["lt:options"]?.appiumVersion)
|
|
264
264
|
);
|
|
265
265
|
}
|
|
266
266
|
function definesRemoteDriver(options) {
|
package/build/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAepD,wBAAgB,UAAU,CAAC,CAAC,EAAE,MAAM,WAGnC;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,gBAAgB,EAAE;IAAE,sBAAsB,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,CAAC;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,QA0CjJ;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAE,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,MAAM,UAAQ,UA+BzF;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAE,MAAM,EAAE,OAAO,aAiBzD;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAE,GAAG,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,WAgCnE;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAE,GAAG,EAAE,OAAO,wGAE5C;AAED;;;;;GAKG;AACH,wBAAsB,UAAU,CAAC,CAAC,EAAG,UAAU,EAA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B,CAAE,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAO1E"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/utils",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.6.2",
|
|
4
4
|
"description": "A WDIO helper utility to provide several utility functions used across the project.",
|
|
5
5
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-utils",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@puppeteer/browsers": "^2.2.0",
|
|
40
40
|
"@wdio/logger": "9.4.4",
|
|
41
|
-
"@wdio/types": "9.
|
|
41
|
+
"@wdio/types": "9.6.2",
|
|
42
42
|
"decamelize": "^6.0.0",
|
|
43
43
|
"deepmerge-ts": "^7.0.3",
|
|
44
44
|
"edgedriver": "^6.1.1",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "918477b20c54c27b98655b08f55a2a304495f0fa"
|
|
57
57
|
}
|