@midscene/cli 1.9.0 → 1.9.1-beta-20260605030300.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.
package/dist/es/index.mjs CHANGED
@@ -3026,9 +3026,7 @@ var __webpack_modules__ = {
3026
3026
  "./src/index.ts" (__unused_rspack_module, __unused_rspack___webpack_exports__, __webpack_require__) {
3027
3027
  var main = __webpack_require__("../../node_modules/.pnpm/dotenv@16.4.5/node_modules/dotenv/lib/main.js");
3028
3028
  var main_default = /*#__PURE__*/ __webpack_require__.n(main);
3029
- var package_namespaceObject = {
3030
- rE: "1.9.0"
3031
- };
3029
+ var package_namespaceObject = JSON.parse('{"rE":"1.9.1-beta-20260605030300.0"}');
3032
3030
  var brace_expansion = __webpack_require__("../../node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js");
3033
3031
  const MAX_PATTERN_LENGTH = 65536;
3034
3032
  const assertValidPattern = (pattern)=>{
@@ -10851,7 +10849,7 @@ Usage:
10851
10849
  type: 'boolean',
10852
10850
  description: `Turn on logging to help debug why certain keys or values are not being set as you expect, default is ${config_factory_defaultConfig.dotenvDebug}`
10853
10851
  }
10854
- }).version('version', 'Show version number', "1.9.0").help().epilogue(`For complete list of configuration options, please visit:
10852
+ }).version('version', 'Show version number', "1.9.1-beta-20260605030300.0").help().epilogue(`For complete list of configuration options, please visit:
10855
10853
  • Web options: https://midscenejs.com/automate-with-scripts-in-yaml#the-web-part
10856
10854
  • Android options: https://midscenejs.com/automate-with-scripts-in-yaml#the-android-part
10857
10855
  • iOS options: https://midscenejs.com/automate-with-scripts-in-yaml#the-ios-part
@@ -11138,12 +11136,13 @@ defineYamlBatchTest(${JSON.stringify(testOptions, null, 2)});
11138
11136
  bail: options.bail
11139
11137
  };
11140
11138
  }
11141
- const requireFromCliEntry = ()=>{
11139
+ const requireFromCliPackage = ()=>{
11140
+ if ('undefined' != typeof __dirname) return createRequire(external_node_path_join(__dirname, 'index.js'));
11142
11141
  const entry = process.argv[1] ? external_node_path_resolve(process.argv[1]) : external_node_path_join(process.cwd(), 'midscene-cli.js');
11143
11142
  return createRequire(entry);
11144
11143
  };
11145
11144
  const resolvePackageFromRstestCore = (packageName)=>{
11146
- const require1 = requireFromCliEntry();
11145
+ const require1 = requireFromCliPackage();
11147
11146
  const rstestPackageJsonPath = require1.resolve('@rstest/core/package.json');
11148
11147
  return createRequire(rstestPackageJsonPath).resolve(packageName);
11149
11148
  };