@wdio/browser-runner 9.22.0 → 9.23.1

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.
@@ -22,7 +22,7 @@ function getCID() {
22
22
  var WDIO_EVENT_NAME = "wdio:workerMessage";
23
23
 
24
24
  // src/browser/expect.ts
25
- var asymmetricMatcher = typeof Symbol === "function" && Symbol.for ? Symbol.for("jest.asymmetricMatcher") : 1267621;
25
+ var asymmetricMatcher = typeof Symbol === "function" && Symbol.for ? /* @__PURE__ */ Symbol.for("jest.asymmetricMatcher") : 1267621;
26
26
  var matcherRequestCount = 0;
27
27
  var matcherRequests = /* @__PURE__ */ new Map();
28
28
  var COMMAND_TIMEOUT = 30 * 1e3;
package/build/index.js CHANGED
@@ -1034,7 +1034,12 @@ function isUsingTailwindCSS(rootDir) {
1034
1034
  }
1035
1035
  async function optimizeForTailwindCSS(rootDir) {
1036
1036
  const viteConfig = {};
1037
- const tailwindcssPath = await resolve3("tailwindcss", url5.pathToFileURL(path7.resolve(rootDir, "index.js")).href);
1037
+ let tailwindcssPath;
1038
+ try {
1039
+ tailwindcssPath = await resolve3("@tailwindcss/postcss", url5.pathToFileURL(path7.resolve(rootDir, "index.js")).href);
1040
+ } catch {
1041
+ tailwindcssPath = await resolve3("tailwindcss", url5.pathToFileURL(path7.resolve(rootDir, "index.js")).href);
1042
+ }
1038
1043
  const tailwindcss = (await import(tailwindcssPath)).default;
1039
1044
  viteConfig.css = {
1040
1045
  postcss: { plugins: [tailwindcss] }
@@ -1034,7 +1034,12 @@ function isUsingTailwindCSS(rootDir) {
1034
1034
  }
1035
1035
  async function optimizeForTailwindCSS(rootDir) {
1036
1036
  const viteConfig = {};
1037
- const tailwindcssPath = await resolve3("tailwindcss", url5.pathToFileURL(path7.resolve(rootDir, "index.js")).href);
1037
+ let tailwindcssPath;
1038
+ try {
1039
+ tailwindcssPath = await resolve3("@tailwindcss/postcss", url5.pathToFileURL(path7.resolve(rootDir, "index.js")).href);
1040
+ } catch {
1041
+ tailwindcssPath = await resolve3("tailwindcss", url5.pathToFileURL(path7.resolve(rootDir, "index.js")).href);
1042
+ }
1038
1043
  const tailwindcss = (await import(tailwindcssPath)).default;
1039
1044
  viteConfig.css = {
1040
1045
  postcss: { plugins: [tailwindcss] }
@@ -1 +1 @@
1
- {"version":3,"file":"tailwindcss.d.ts","sourceRoot":"","sources":["../../../src/vite/frameworks/tailwindcss.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;AAIxC;;;GAGG;AACH,wBAAgB,kBAAkB,CAAE,OAAO,EAAE,MAAM,qCAOlD;AAED;;GAEG;AACH,wBAAsB,sBAAsB,CAAE,OAAO,EAAE,MAAM,yBAQ5D"}
1
+ {"version":3,"file":"tailwindcss.d.ts","sourceRoot":"","sources":["../../../src/vite/frameworks/tailwindcss.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;AAIxC;;;GAGG;AACH,wBAAgB,kBAAkB,CAAE,OAAO,EAAE,MAAM,qCAOlD;AAED;;GAEG;AACH,wBAAsB,sBAAsB,CAAE,OAAO,EAAE,MAAM,yBAa5D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/browser-runner",
3
- "version": "9.22.0",
3
+ "version": "9.23.1",
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",
@@ -74,16 +74,16 @@
74
74
  "dependencies": {
75
75
  "@originjs/vite-plugin-commonjs": "^1.0.3",
76
76
  "@vitest/spy": "^2.0.4",
77
- "@wdio/globals": "9.17.0",
78
- "@wdio/local-runner": "9.22.0",
77
+ "@wdio/globals": "9.23.0",
78
+ "@wdio/local-runner": "9.23.1",
79
79
  "@wdio/logger": "9.18.0",
80
- "@wdio/mocha-framework": "9.22.0",
81
- "@wdio/protocols": "9.16.2",
82
- "@wdio/runner": "9.22.0",
83
- "@wdio/types": "9.20.0",
84
- "@wdio/utils": "9.22.0",
80
+ "@wdio/mocha-framework": "9.23.1",
81
+ "@wdio/protocols": "9.23.1",
82
+ "@wdio/runner": "9.23.1",
83
+ "@wdio/types": "9.23.1",
84
+ "@wdio/utils": "9.23.1",
85
85
  "deepmerge-ts": "^7.0.3",
86
- "expect": "30.0.4",
86
+ "expect": "30.2.0",
87
87
  "get-port": "^7.1.0",
88
88
  "import-meta-resolve": "^4.0.0",
89
89
  "istanbul-lib-coverage": "^3.2.2",
@@ -121,10 +121,10 @@
121
121
  "@types/istanbul-lib-report": "^3.0.3",
122
122
  "@types/istanbul-lib-source-maps": "^4.0.4",
123
123
  "@types/istanbul-reports": "^3.0.4",
124
- "esbuild": "^0.25.0",
124
+ "esbuild": "^0.27.2",
125
125
  "geckodriver": "^6.1.0",
126
126
  "mocha": "^10.7.3",
127
- "webdriverio": "9.22.0"
127
+ "webdriverio": "9.23.1"
128
128
  },
129
129
  "optionalDependencies": {
130
130
  "@nuxt/kit": "^3.12.4",
@@ -134,5 +134,5 @@
134
134
  "publishConfig": {
135
135
  "access": "public"
136
136
  },
137
- "gitHead": "1c858cd9cfb667283c325c4ac722a0227138acc0"
137
+ "gitHead": "19ac2c1dd86f3bdd967bc6c22c5bcdd78907b988"
138
138
  }