@wdio/sauce-service 9.4.5 → 9.5.0

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 CHANGED
@@ -59,11 +59,15 @@ var SauceLauncher = class {
59
59
  * generate random identifier if not provided
60
60
  */
61
61
  `SC-tunnel-${Math.random().toString().slice(2)}`;
62
+ const noSslBumpDomains = /* @__PURE__ */ new Set(["127.0.0.1", "localhost", getLocalIpAddress()]);
63
+ if (this._options.sauceConnectOpts?.noSslBumpDomains) {
64
+ this._options.sauceConnectOpts.noSslBumpDomains.split(",").forEach((domain) => noSslBumpDomains.add(domain));
65
+ }
62
66
  const sauceConnectOpts = {
63
67
  noAutodetect: true,
64
68
  tunnelIdentifier: sauceConnectTunnelIdentifier,
65
69
  ...this._options.sauceConnectOpts,
66
- noSslBumpDomains: `127.0.0.1,localhost,${getLocalIpAddress()}` + (this._options.sauceConnectOpts?.noSslBumpDomains ? `,${this._options.sauceConnectOpts.noSslBumpDomains}` : ""),
70
+ noSslBumpDomains: Array.from(noSslBumpDomains).join(","),
67
71
  logger: this._options.sauceConnectOpts?.logger || ((output) => log.debug(`Sauce Connect Log: ${output}`)),
68
72
  ...!this._options.sauceConnectOpts?.logfile && this._config.outputDir ? { logfile: path.join(this._config.outputDir, "wdio-sauce-connect-tunnel.log") } : {}
69
73
  };
@@ -1 +1 @@
1
- {"version":3,"file":"launcher.d.ts","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":"AAEA,OAAO,EAGH,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EAC5B,MAAM,WAAW,CAAA;AAElB,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAGlE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAMpD,MAAM,CAAC,OAAO,OAAO,aAAc,YAAW,QAAQ,CAAC,eAAe;IAK9D,OAAO,CAAC,QAA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6 @@
1
1
  {
2
2
  "name": "@wdio/sauce-service",
3
- "version": "9.4.5",
3
+ "version": "9.5.0",
4
4
  "description": "WebdriverIO service that provides a better integration into Sauce Labs",
5
5
  "author": "Christian Bromann <mail@bromann.dev>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-sauce-service",
@@ -33,17 +33,17 @@
33
33
  "typeScriptVersion": "3.8.3",
34
34
  "dependencies": {
35
35
  "@wdio/logger": "9.4.4",
36
- "@wdio/types": "9.4.4",
37
- "@wdio/utils": "9.4.4",
36
+ "@wdio/types": "9.5.0",
37
+ "@wdio/utils": "9.5.0",
38
38
  "saucelabs": "8.0.0",
39
- "webdriverio": "9.4.5"
39
+ "webdriverio": "9.5.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/ip": "^1.1.0",
43
- "@wdio/globals": "9.4.5"
43
+ "@wdio/globals": "9.5.0"
44
44
  },
45
45
  "publishConfig": {
46
46
  "access": "public"
47
47
  },
48
- "gitHead": "cef3ee07f23f9029e3a73cfee2ab2326b5d44b05"
48
+ "gitHead": "379782cd89707c184a038d6702b46b852817803a"
49
49
  }