@wdio/utils 8.10.4 → 8.10.7
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"envDetector.d.ts","sourceRoot":"","sources":["../src/envDetector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAQ/C;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,YAAY,CAAC,EAAE,YAAY,CAAC,mBAAmB,WAwCpE;
|
|
1
|
+
{"version":3,"file":"envDetector.d.ts","sourceRoot":"","sources":["../src/envDetector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAQ/C;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,YAAY,CAAC,EAAE,YAAY,CAAC,mBAAmB,WAwCpE;AA4ID;;;;;GAKG;AACH,wBAAgB,+BAA+B,CAAC,YAAY,EAAE,YAAY,CAAC,YAAY,EAAE,kBAAkB,EAAE,MAAM;;;;;;;EAIlH;AAED;;;;;GAKG;AACH,wBAAgB,0BAA0B,CAAC,EAAE,YAAY,EAAE,qBAAqB,EAAE,EAC9E;IAAE,YAAY,EAAE,YAAY,CAAC,gBAAgB,CAAC;IAAC,qBAAqB,EAAE,YAAY,CAAC,gBAAgB,CAAA;CAAE;;;;;;;;;EAcxG;AAED;;;;GAIG;AACH,wBAAgB,2BAA2B,CAAC,EAAE,WAAW,EAAE,EAAE,YAAY,CAAC,YAAY;;;;;;;;;;EAYrF;AAED;;;;;GAKG;AACH,wBAAgB,4BAA4B,CAAC,YAAY,EAAE,YAAY,CAAC,YAAY;;;;;;;EASnF"}
|
package/build/envDetector.js
CHANGED
|
@@ -81,9 +81,11 @@ function isMobile(capabilities) {
|
|
|
81
81
|
*/
|
|
82
82
|
return Boolean(
|
|
83
83
|
/**
|
|
84
|
-
*
|
|
84
|
+
* If the device is ios, tvos or android, the device might be mobile.
|
|
85
85
|
*/
|
|
86
|
-
|
|
86
|
+
capabilities.platformName && capabilities.platformName.match(/ios/i) ||
|
|
87
|
+
capabilities.platformName && capabilities.platformName.match(/tvos/i) ||
|
|
88
|
+
capabilities.platformName && capabilities.platformName.match(/android/i) ||
|
|
87
89
|
/**
|
|
88
90
|
* capabilities contain mobile only specific capabilities
|
|
89
91
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/utils",
|
|
3
|
-
"version": "8.10.
|
|
3
|
+
"version": "8.10.7",
|
|
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",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"url": "https://github.com/webdriverio/webdriverio/issues"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@wdio/logger": "8.
|
|
33
|
+
"@wdio/logger": "8.10.6",
|
|
34
34
|
"@wdio/types": "8.10.4",
|
|
35
35
|
"import-meta-resolve": "^3.0.0",
|
|
36
36
|
"p-iteration": "^1.1.8"
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "c7f9f09295f3ddfff03279f552f7b36a03575d1f"
|
|
42
42
|
}
|