@wdio/utils 8.24.0 → 8.24.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/shim.js +1 -1
- package/package.json +3 -3
package/build/shim.js
CHANGED
|
@@ -272,7 +272,7 @@ export async function executeAsync(fn, retries, args = [], timeout = 20000) {
|
|
|
272
272
|
})
|
|
273
273
|
]);
|
|
274
274
|
done = true;
|
|
275
|
-
if (result && typeof result.finally === 'function') {
|
|
275
|
+
if (typeof result === 'object' && 'finally' in result && typeof result.finally === 'function') {
|
|
276
276
|
result.catch((err) => err);
|
|
277
277
|
}
|
|
278
278
|
return await result;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/utils",
|
|
3
|
-
"version": "8.24.
|
|
3
|
+
"version": "8.24.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",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@puppeteer/browsers": "^1.6.0",
|
|
41
41
|
"@wdio/logger": "8.16.17",
|
|
42
|
-
"@wdio/types": "8.24.
|
|
42
|
+
"@wdio/types": "8.24.2",
|
|
43
43
|
"decamelize": "^6.0.0",
|
|
44
44
|
"deepmerge-ts": "^5.1.0",
|
|
45
45
|
"edgedriver": "^5.3.5",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "6c01d2d2c47c32988e8b01ee9c43279f813b2e41"
|
|
59
59
|
}
|