@wdio/config 8.18.0 → 8.18.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.d.ts +2 -2
- package/build/index.d.ts.map +1 -1
- package/build/index.js +2 -2
- package/build/utils.d.ts +0 -1
- package/build/utils.d.ts.map +1 -1
- package/build/utils.js +0 -5
- package/package.json +3 -3
package/build/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DEFAULT_CONFIGS } from './constants.js';
|
|
2
|
-
import { validateConfig, isCloudCapability
|
|
2
|
+
import { validateConfig, isCloudCapability } from './utils.js';
|
|
3
3
|
import ConfigParser from './lib/ConfigParser.js';
|
|
4
|
-
export { validateConfig, isCloudCapability,
|
|
4
|
+
export { validateConfig, isCloudCapability, ConfigParser,
|
|
5
5
|
/**
|
|
6
6
|
* constants
|
|
7
7
|
*/
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAC9D,OAAO,YAAY,MAAM,uBAAuB,CAAA;AAEhD,OAAO,EACH,cAAc,EACd,iBAAiB,EACjB,YAAY;AAEZ;;GAEG;AACH,eAAe,EAClB,CAAA;AAED,cAAc,YAAY,CAAA"}
|
package/build/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* istanbul ignore file */
|
|
2
2
|
import { DEFAULT_CONFIGS } from './constants.js';
|
|
3
|
-
import { validateConfig, isCloudCapability
|
|
3
|
+
import { validateConfig, isCloudCapability } from './utils.js';
|
|
4
4
|
import ConfigParser from './lib/ConfigParser.js';
|
|
5
|
-
export { validateConfig, isCloudCapability,
|
|
5
|
+
export { validateConfig, isCloudCapability, ConfigParser,
|
|
6
6
|
/**
|
|
7
7
|
* constants
|
|
8
8
|
*/
|
package/build/utils.d.ts
CHANGED
|
@@ -15,7 +15,6 @@ export declare function removeLineNumbers(filePath: string): string;
|
|
|
15
15
|
*/
|
|
16
16
|
export declare function isCucumberFeatureWithLineNumber(spec: string | string[]): boolean;
|
|
17
17
|
export declare function isCloudCapability(caps: WebdriverIO.Capabilities): boolean;
|
|
18
|
-
export declare function isAppiumCapability(caps: WebdriverIO.Capabilities): boolean;
|
|
19
18
|
/**
|
|
20
19
|
* validates configurations based on default values
|
|
21
20
|
* @param {Object} defaults object describing all allowed properties
|
package/build/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAE1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAIrD,eAAO,MAAM,kBAAkB,WAAY,GAAG,6BACoB,CAAA;AAElE;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,UAMjD;AAED;;;;GAIG;AACH,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,WAGtE;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,WAAW,CAAC,YAAY,WAE/D;AAED
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAE1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAIrD,eAAO,MAAM,kBAAkB,WAAY,GAAG,6BACoB,CAAA;AAElE;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,UAMjD;AAED;;;;GAIG;AACH,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,WAGtE;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,WAAW,CAAC,YAAY,WAE/D;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,CAAC,EAAE,QAAQ,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,UAAU,cAAoB,KA+C5G;AAED,wBAAsB,iBAAiB,CAAC,iBAAiB,EAAE,OAAO,CAAC,iBAAiB,EAAE,cAAc,EAAE,mBAAmB,gCAYxH;AAED,wBAAsB,sBAAsB,CAAE,iBAAiB,EAAE,OAAO,CAAC,iBAAiB,oBAuBzF;AAED,wBAAgB,WAAW,CAAE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QAkBxD;AAED,wBAAsB,iBAAiB,CAAE,SAAS,iCAA0B,EAAE,cAAc,EAAE,mBAAmB,oBAehH;AAED,wBAAgB,iBAAiB,CAAE,KAAK,GAAE,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,EAAO,GAAG,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,EAAE,CAkB3F"}
|
package/build/utils.js
CHANGED
|
@@ -31,11 +31,6 @@ export function isCucumberFeatureWithLineNumber(spec) {
|
|
|
31
31
|
export function isCloudCapability(caps) {
|
|
32
32
|
return Boolean(caps && (caps['bstack:options'] || caps['sauce:options'] || caps['tb:options']));
|
|
33
33
|
}
|
|
34
|
-
export function isAppiumCapability(caps) {
|
|
35
|
-
return Boolean(caps &&
|
|
36
|
-
// @ts-expect-error outdated jsonwp cap
|
|
37
|
-
(caps.automationName || caps['appium:automationName'] || caps.deviceName || caps.appiumVersion));
|
|
38
|
-
}
|
|
39
34
|
/**
|
|
40
35
|
* validates configurations based on default values
|
|
41
36
|
* @param {Object} defaults object describing all allowed properties
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/config",
|
|
3
|
-
"version": "8.18.
|
|
3
|
+
"version": "8.18.2",
|
|
4
4
|
"description": "A helper utility to parse and validate WebdriverIO options",
|
|
5
5
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-config",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@wdio/logger": "8.16.17",
|
|
33
33
|
"@wdio/types": "8.17.0",
|
|
34
|
-
"@wdio/utils": "8.18.
|
|
34
|
+
"@wdio/utils": "8.18.2",
|
|
35
35
|
"decamelize": "^6.0.0",
|
|
36
36
|
"deepmerge-ts": "^5.0.0",
|
|
37
37
|
"glob": "^10.2.2",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"minimatch": "^9.0.0",
|
|
46
46
|
"tsconfig-paths": "^4.1.0"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "910c79f1640f0100e763a507fdcaee9e4f52560f"
|
|
49
49
|
}
|