@wdio/cli 9.21.0 → 9.21.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.
- package/build/commands/run.d.ts.map +1 -1
- package/build/index.js +8 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../src/commands/run.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../src/commands/run.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AAMjC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAOtD,eAAO,MAAM,OAAO,qBAAqB,CAAA;AAEzC,eAAO,MAAM,IAAI,yEAAyE,CAAA;AAE1F,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAmDI,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAkDN,MAAM;;;;;CAQpB,CAAA;AAEV,eAAO,MAAM,OAAO,GAAI,OAAO,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCA5DX,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAkDN,MAAM;;;;;GAoB7B,CAAA;AAED,wBAAgB,eAAe,CAAC,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,QAezF;AAED,wBAAsB,MAAM,CAAC,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,iBAgBtF;AAED,wBAAsB,OAAO,CAAC,IAAI,EAAE,mBAAmB,iBAiEtD"}
|
package/build/index.js
CHANGED
|
@@ -1271,6 +1271,7 @@ __export(run_exports, {
|
|
|
1271
1271
|
});
|
|
1272
1272
|
import fs from "node:fs/promises";
|
|
1273
1273
|
import path2 from "node:path";
|
|
1274
|
+
import { pathToFileURL } from "node:url";
|
|
1274
1275
|
|
|
1275
1276
|
// src/watcher.ts
|
|
1276
1277
|
import url from "node:url";
|
|
@@ -1573,7 +1574,7 @@ async function handler(argv) {
|
|
|
1573
1574
|
}
|
|
1574
1575
|
async function tsConfigPathFromConfigFile(wdioConfPath, params) {
|
|
1575
1576
|
try {
|
|
1576
|
-
const configParser = new ConfigParser3(wdioConfPath, params);
|
|
1577
|
+
const configParser = new ConfigParser3(cacheBustFilePath(wdioConfPath), params);
|
|
1577
1578
|
await configParser.initialize();
|
|
1578
1579
|
const { tsConfigPath } = configParser.getConfig();
|
|
1579
1580
|
if (tsConfigPath) {
|
|
@@ -1585,6 +1586,12 @@ async function tsConfigPathFromConfigFile(wdioConfPath, params) {
|
|
|
1585
1586
|
}
|
|
1586
1587
|
return;
|
|
1587
1588
|
}
|
|
1589
|
+
function cacheBustFilePath(filePath) {
|
|
1590
|
+
const absolutePath = path2.resolve(filePath);
|
|
1591
|
+
const fileUrl = pathToFileURL(absolutePath);
|
|
1592
|
+
fileUrl.search = `v=${Date.now()}&log_errors=false`;
|
|
1593
|
+
return fileUrl.href;
|
|
1594
|
+
}
|
|
1588
1595
|
|
|
1589
1596
|
// src/commands/repl.ts
|
|
1590
1597
|
var IGNORED_ARGS = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/cli",
|
|
3
|
-
"version": "9.21.
|
|
3
|
+
"version": "9.21.1",
|
|
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",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"publishConfig": {
|
|
71
71
|
"access": "public"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "3440650fd487eff5fe3f84b704c103e510f14677"
|
|
74
74
|
}
|