@wdio/cli 8.38.1 → 8.38.2

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.
@@ -201,7 +201,7 @@ export async function handler(argv) {
201
201
  */
202
202
  const nodePath = process.argv[0];
203
203
  let NODE_OPTIONS = process.env.NODE_OPTIONS || '';
204
- const isTSFile = wdioConf.fullPath.endsWith('.ts') || wdioConf.fullPath.endsWith('.mts');
204
+ const isTSFile = wdioConf.fullPath.endsWith('.ts') || wdioConf.fullPath.endsWith('.mts') || confAccess?.endsWith('.ts') || confAccess?.endsWith('.mts');
205
205
  const runsWithLoader = (Boolean(process.argv.find((arg) => arg.startsWith('--loader')) &&
206
206
  process.argv.find((arg) => arg.endsWith('ts-node/esm'))) ||
207
207
  NODE_OPTIONS?.includes('ts-node/esm'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/cli",
3
- "version": "8.38.1",
3
+ "version": "8.38.2",
4
4
  "description": "WebdriverIO testrunner command line interface",
5
5
  "author": "Christian Bromann <mail@bromann.dev>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-cli",
@@ -47,12 +47,12 @@
47
47
  "dependencies": {
48
48
  "@types/node": "^20.1.1",
49
49
  "@vitest/snapshot": "^1.2.1",
50
- "@wdio/config": "8.38.0",
51
- "@wdio/globals": "8.38.0",
50
+ "@wdio/config": "8.38.2",
51
+ "@wdio/globals": "8.38.2",
52
52
  "@wdio/logger": "8.38.0",
53
53
  "@wdio/protocols": "8.38.0",
54
- "@wdio/types": "8.37.0",
55
- "@wdio/utils": "8.38.0",
54
+ "@wdio/types": "8.38.2",
55
+ "@wdio/utils": "8.38.2",
56
56
  "async-exit-hook": "^2.0.1",
57
57
  "chalk": "^5.2.0",
58
58
  "chokidar": "^3.5.3",
@@ -67,7 +67,7 @@
67
67
  "lodash.union": "^4.6.0",
68
68
  "read-pkg-up": "10.0.0",
69
69
  "recursive-readdir": "^2.2.3",
70
- "webdriverio": "8.38.0",
70
+ "webdriverio": "8.38.2",
71
71
  "yargs": "^17.7.2"
72
72
  },
73
73
  "devDependencies": {
@@ -83,5 +83,5 @@
83
83
  "publishConfig": {
84
84
  "access": "public"
85
85
  },
86
- "gitHead": "903a7a574979e2288f1b7b956630449d111ff307"
86
+ "gitHead": "942ba6095b993a4ea5a893d4b935f5ab2ca04ab2"
87
87
  }