@wdio/browser-runner 8.1.2 → 8.2.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,7 +1,6 @@
1
- import type { Browser } from 'webdriverio';
2
1
  import type { Environment } from './types.js';
3
2
  export declare const SESSIONS: Map<string, Environment>;
4
- export declare const BROWSER_POOL: Map<string, Browser<'async'>>;
3
+ export declare const BROWSER_POOL: Map<string, WebdriverIO.Browser>;
5
4
  export declare const EVENTS: {
6
5
  readonly suite: "suite:start";
7
6
  readonly 'suite end': "suite:end";
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAE7C,eAAO,MAAM,QAAQ,0BAAiC,CAAA;AACtD,eAAO,MAAM,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC,CAAa,CAAA;AAEpE,eAAO,MAAM,MAAM;;;;;;;;;;;CAWT,CAAA;AAEV,eAAO,MAAM,uBAAuB,wFAAsF,CAAA;AAE1H,oBAAY,aAAa;IACrB,cAAc,IAAI;IAClB,qBAAqB,IAAA;IACrB,sBAAsB,IAAA;IACtB,kBAAkB,IAAA;IAClB,iBAAiB,IAAA;CACpB"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAE7C,eAAO,MAAM,QAAQ,0BAAiC,CAAA;AACtD,eAAO,MAAM,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,OAAO,CAAa,CAAA;AAEvE,eAAO,MAAM,MAAM;;;;;;;;;;;CAWT,CAAA;AAEV,eAAO,MAAM,uBAAuB,wFAAsF,CAAA;AAE1H,oBAAY,aAAa;IACrB,cAAc,IAAI;IAClB,qBAAqB,IAAA;IACrB,sBAAsB,IAAA;IACtB,kBAAkB,IAAA;IAClB,iBAAiB,IAAA;CACpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/vite/constants.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;AAExC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAElD,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CAgB1F,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,OAAO,CAAC,YAAY,CAuBrD,CAAA"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/vite/constants.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;AAExC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAElD,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CAgB1F,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,OAAO,CAAC,YAAY,CAwBrD,CAAA"}
@@ -33,6 +33,7 @@ export const DEFAULT_VITE_CONFIG = {
33
33
  },
34
34
  // Enable esbuild polyfill plugins
35
35
  plugins: [
36
+ // @ts-expect-error see https://github.com/webdriverio/webdriverio/pull/9593
36
37
  NodeGlobalsPolyfillPlugin({
37
38
  process: true,
38
39
  buffer: true
@@ -1 +1 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/vite/server.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAM1C,OAAO,EAAE,eAAe,EAAE,MAAM,IAAI,CAAA;AAGpC,OAAO,KAAK,EAAiB,YAAY,EAAE,MAAM,MAAM,CAAA;AASvD,OAAO,KAAK,EAAgB,gBAAgB,EAA6E,MAAM,YAAY,CAAA;AAY3I,qBAAa,UAAW,SAAQ,YAAY;;IAQxC,IAAI,YAAY,gCAEf;IAED,IAAI,MAAM,0BAET;gBAEY,OAAO,EAAE,WAAW,CAAC,oBAAoB;IAkBhD,KAAK;IAwCL,KAAK;IAmIX,OAAO,CAAC,cAAc;IAetB,WAAW,CAAE,MAAM,EAAE,gBAAgB;CAUxC"}
1
+ {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/vite/server.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAM1C,OAAO,EAAE,eAAe,EAAE,MAAM,IAAI,CAAA;AAGpC,OAAO,KAAK,EAAiB,YAAY,EAAE,MAAM,MAAM,CAAA;AAQvD,OAAO,KAAK,EAAgB,gBAAgB,EAA6E,MAAM,YAAY,CAAA;AAY3I,qBAAa,UAAW,SAAQ,YAAY;;IAQxC,IAAI,YAAY,gCAEf;IAED,IAAI,MAAM,0BAET;gBAEY,OAAO,EAAE,WAAW,CAAC,oBAAoB;IAkBhD,KAAK;IAwCL,KAAK;IAmIX,OAAO,CAAC,cAAc;IAetB,WAAW,CAAE,MAAM,EAAE,gBAAgB;CAUxC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/browser-runner",
3
- "version": "8.1.2",
3
+ "version": "8.2.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",
@@ -30,25 +30,25 @@
30
30
  "@babel/plugin-proposal-class-properties": "^7.18.6",
31
31
  "@esbuild-plugins/node-globals-polyfill": "^0.1.1",
32
32
  "@originjs/vite-plugin-commonjs": "^1.0.3",
33
- "@types/node": "^18.0.0",
34
- "@wdio/globals": "8.1.2",
35
- "@wdio/local-runner": "8.1.2",
33
+ "@types/node": "^18.11.18",
34
+ "@wdio/globals": "8.2.0",
35
+ "@wdio/local-runner": "8.2.0",
36
36
  "@wdio/logger": "8.1.0",
37
- "@wdio/mocha-framework": "8.1.2",
38
- "@wdio/protocols": "8.1.0",
37
+ "@wdio/mocha-framework": "8.2.0",
38
+ "@wdio/protocols": "8.2.0",
39
39
  "@wdio/types": "8.1.2",
40
- "@wdio/utils": "8.1.2",
40
+ "@wdio/utils": "8.2.0",
41
41
  "deepmerge-ts": "^4.2.2",
42
- "expect-webdriverio": "^4.0.1",
42
+ "expect-webdriverio": "^4.1.0",
43
43
  "fast-safe-stringify": "^2.1.1",
44
44
  "get-port": "^6.1.2",
45
- "import-meta-resolve": "^2.1.0",
45
+ "import-meta-resolve": "^2.2.1",
46
46
  "serialize-error": "^11.0.0",
47
- "vite": "^4.0.2",
48
- "vite-plugin-top-level-await": "^1.2.1",
49
- "webdriver": "8.1.2",
50
- "webdriverio": "8.1.2",
51
- "ws": "^8.10.0"
47
+ "vite": "^4.0.4",
48
+ "vite-plugin-top-level-await": "^1.2.2",
49
+ "webdriver": "8.2.0",
50
+ "webdriverio": "8.2.0",
51
+ "ws": "^8.12.0"
52
52
  },
53
53
  "scripts": {
54
54
  "prepare": "rimraf node_modules/@wdio/config node_modules/@wdio/repl node_modules/@wdio/utils"
@@ -57,8 +57,8 @@
57
57
  "access": "public"
58
58
  },
59
59
  "devDependencies": {
60
- "@types/ws": "^8.5.3",
61
- "@wdio/runner": "8.1.2"
60
+ "@types/ws": "^8.5.4",
61
+ "@wdio/runner": "8.2.0"
62
62
  },
63
- "gitHead": "14625257acfd6081b4c9914b214110c0c7bf7218"
63
+ "gitHead": "3620e90e47b6d3e62832f5de24f43cee6b31e972"
64
64
  }