@wdio/browser-runner 8.30.0 → 8.31.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.
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/vite/utils.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAI/D,wBAAsB,WAAW,CAAC,OAAO,EAAE,WAAW,CAAC,oBAAoB,EAAE,GAAG,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,iBAAU,mBAgIvH;AAED,wBAAsB,kBAAkB,CAAC,MAAM,EAAE,eAAe,EAAE,GAAG,CAAC,EAAE,MAAM,gBAa7E;AAED,wBAAgB,WAAW,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAY7D;AAED,wBAAsB,qBAAqB,CAAE,GAAG,EAAE,MAAM,qBAqBvD;AAGD,wBAAsB,cAAc,CAAC,WAAW,EAAE,MAAM,+BAgBvD;AAGD,wBAAsB,mBAAmB,CAAE,CAAC,EAAE,MAAM,EAAE,UAAU,WAAY,+BAK3E;AAED,wBAAgB,MAAM,CAAE,CAAC,EAAE,MAAM,oBAEhC;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,UAU9D"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/vite/utils.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAI/D,wBAAsB,WAAW,CAAC,OAAO,EAAE,WAAW,CAAC,oBAAoB,EAAE,GAAG,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,iBAAU,mBAuIvH;AAED,wBAAsB,kBAAkB,CAAC,MAAM,EAAE,eAAe,EAAE,GAAG,CAAC,EAAE,MAAM,gBAa7E;AAED,wBAAgB,WAAW,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAY7D;AAED,wBAAsB,qBAAqB,CAAE,GAAG,EAAE,MAAM,qBAqBvD;AAGD,wBAAsB,cAAc,CAAC,WAAW,EAAE,MAAM,+BAgBvD;AAGD,wBAAsB,mBAAmB,CAAE,CAAC,EAAE,MAAM,EAAE,UAAU,WAAY,+BAK3E;AAED,wBAAgB,MAAM,CAAE,CAAC,EAAE,MAAM,oBAEhC;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,UAU9D"}
@@ -13,6 +13,12 @@ export async function getTemplate(options, env, spec, p = process) {
13
13
  const isHeadless = options.headless || Boolean(process.env.CI);
14
14
  const alias = options.viteConfig?.resolve?.alias || {};
15
15
  const usesTailwindCSS = await hasFileByExtensions(path.join(root, 'tailwind.config'));
16
+ /**
17
+ * clean up some values that might cause serialization issues
18
+ */
19
+ if ('runner' in env.config) {
20
+ delete env.config.runner;
21
+ }
16
22
  let vueDeps = '';
17
23
  if (options.preset === 'vue') {
18
24
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/browser-runner",
3
- "version": "8.30.0",
3
+ "version": "8.31.0",
4
4
  "description": "A WebdriverIO runner to run unit tests tests in the browser.",
5
5
  "author": "Christian Bromann <mail@bromann.dev>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-browser-runner",
@@ -37,17 +37,17 @@
37
37
  "@originjs/vite-plugin-commonjs": "^1.0.3",
38
38
  "@types/istanbul-lib-source-maps": "^4.0.1",
39
39
  "@vitest/spy": "^1.0.1",
40
- "@wdio/globals": "8.30.0",
41
- "@wdio/local-runner": "8.30.0",
40
+ "@wdio/globals": "8.31.0",
41
+ "@wdio/local-runner": "8.31.0",
42
42
  "@wdio/logger": "8.28.0",
43
- "@wdio/mocha-framework": "8.30.0",
43
+ "@wdio/mocha-framework": "8.31.0",
44
44
  "@wdio/protocols": "8.29.7",
45
- "@wdio/runner": "8.30.0",
46
- "@wdio/types": "8.30.0",
47
- "@wdio/utils": "8.30.0",
45
+ "@wdio/runner": "8.31.0",
46
+ "@wdio/types": "8.31.0",
47
+ "@wdio/utils": "8.31.0",
48
48
  "deepmerge-ts": "^5.0.0",
49
49
  "expect": "^29.7.0",
50
- "expect-webdriverio": "^4.10.1",
50
+ "expect-webdriverio": "^4.11.2",
51
51
  "get-port": "^7.0.0",
52
52
  "import-meta-resolve": "^4.0.0",
53
53
  "istanbul-lib-coverage": "^3.2.0",
@@ -62,8 +62,8 @@
62
62
  "vite": "~4.5.0",
63
63
  "vite-plugin-istanbul": "^5.0.0",
64
64
  "vite-plugin-top-level-await": "^1.3.0",
65
- "webdriver": "8.30.0",
66
- "webdriverio": "8.30.0"
65
+ "webdriver": "8.31.0",
66
+ "webdriverio": "8.31.0"
67
67
  },
68
68
  "scripts": {
69
69
  "prepare": "rimraf node_modules/@wdio/config node_modules/@wdio/repl node_modules/@wdio/utils"
@@ -71,5 +71,5 @@
71
71
  "publishConfig": {
72
72
  "access": "public"
73
73
  },
74
- "gitHead": "033e2a91e97c9bd060eb70f2e4e412d382bec3af"
74
+ "gitHead": "3d44631bdcb332238b29aa0859dae7b335e51f89"
75
75
  }