@wdio/appium-service 8.0.11 → 8.0.14

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":"launcher.d.ts","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAGlE,OAAO,KAAK,EAAyB,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAYzE,MAAM,CAAC,OAAO,OAAO,cAAe,YAAW,QAAQ,CAAC,eAAe;IAQ/D,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,OAAO,CAAC;IATpB,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAQ;IAClC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAe;IAC9C,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAuB;IAC7C,OAAO,CAAC,QAAQ,CAAC,CAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,CAA+C;gBAGpD,QAAQ,EAAE,mBAAmB,EAC7B,aAAa,EAAE,YAAY,CAAC,kBAAkB,EAC9C,OAAO,CAAC,gCAAoB;YAS1B,WAAW;IAqBzB;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IA6BlB,SAAS;IAkBf,UAAU;IAOV,OAAO,CAAC,YAAY;YA2BN,kBAAkB;mBAeX,iBAAiB;CAezC"}
1
+ {"version":3,"file":"launcher.d.ts","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAGlE,OAAO,KAAK,EAAyB,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAYzE,MAAM,CAAC,OAAO,OAAO,cAAe,YAAW,QAAQ,CAAC,eAAe;IAQ/D,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,OAAO,CAAC;IATpB,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAQ;IAClC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAe;IAC9C,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAuB;IAC7C,OAAO,CAAC,QAAQ,CAAC,CAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,CAA+C;gBAGpD,QAAQ,EAAE,mBAAmB,EAC7B,aAAa,EAAE,YAAY,CAAC,kBAAkB,EAC9C,OAAO,CAAC,gCAAoB;YAS1B,WAAW;IAqBzB;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IA6BlB,SAAS;IAkBf,UAAU;IAOV,OAAO,CAAC,YAAY;YA2BN,kBAAkB;mBAeX,iBAAiB;CAezC"}
package/build/launcher.js CHANGED
@@ -95,7 +95,7 @@ export default class AppiumLauncher {
95
95
  }
96
96
  _startAppium(command, args, callback) {
97
97
  log.debug(`Will spawn Appium process: ${command} ${args.join(' ')}`);
98
- let process = spawn(command, args, { stdio: ['ignore', 'pipe', 'pipe'] });
98
+ const process = spawn(command, args, { stdio: ['ignore', 'pipe', 'pipe'] });
99
99
  let error;
100
100
  process.stdout.on('data', (data) => {
101
101
  if (data.includes('Appium REST http interface listener started')) {
@@ -109,7 +109,7 @@ export default class AppiumLauncher {
109
109
  process.stderr.once('data', err => { error = err; });
110
110
  process.once('exit', exitCode => {
111
111
  let errorMessage = `Appium exited before timeout (exit code: ${exitCode})`;
112
- if (exitCode == 2) {
112
+ if (exitCode === 2) {
113
113
  errorMessage += '\n' + (error || 'Check that you don\'t already have a running Appium service.');
114
114
  log.error(errorMessage);
115
115
  }
package/build/utils.js CHANGED
@@ -22,7 +22,7 @@ export function formatCliArgs(args) {
22
22
  }
23
23
  const cliArgs = [];
24
24
  for (const key in args) {
25
- let value = args[key];
25
+ const value = args[key];
26
26
  // If the value is false or null the argument is discarded
27
27
  if ((typeof value === 'boolean' && !value) || value === null) {
28
28
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/appium-service",
3
- "version": "8.0.11",
3
+ "version": "8.0.14",
4
4
  "description": "A WebdriverIO service to start & stop Appium Server",
5
5
  "author": "Morten Bjerg Gregersen <morten@mogee.dk>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-appium-service",
@@ -30,9 +30,9 @@
30
30
  "types": "./build/index.d.ts",
31
31
  "typeScriptVersion": "3.8.3",
32
32
  "dependencies": {
33
- "@wdio/config": "8.0.11",
34
- "@wdio/logger": "8.0.0",
35
- "@wdio/types": "8.0.11",
33
+ "@wdio/config": "8.0.14",
34
+ "@wdio/logger": "8.0.14",
35
+ "@wdio/types": "8.0.14",
36
36
  "import-meta-resolve": "^2.1.0",
37
37
  "param-case": "^3.0.4",
38
38
  "webdriverio": "8.0.2"
@@ -40,5 +40,5 @@
40
40
  "publishConfig": {
41
41
  "access": "public"
42
42
  },
43
- "gitHead": "22627575a41d9dc7415a2441bd894c0419725334"
43
+ "gitHead": "ab58bc79c1df2e146d02a68ee444766ec371e6d2"
44
44
  }