@midscene/cli 1.9.1-beta-20260605030736.0 → 1.9.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/dist/es/index.mjs CHANGED
@@ -3026,7 +3026,9 @@ 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 = JSON.parse('{"rE":"1.9.1-beta-20260605030736.0"}');
3029
+ var package_namespaceObject = {
3030
+ rE: "1.9.1"
3031
+ };
3030
3032
  var brace_expansion = __webpack_require__("../../node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js");
3031
3033
  const MAX_PATTERN_LENGTH = 65536;
3032
3034
  const assertValidPattern = (pattern)=>{
@@ -10849,7 +10851,7 @@ Usage:
10849
10851
  type: 'boolean',
10850
10852
  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}`
10851
10853
  }
10852
- }).version('version', 'Show version number', "1.9.1-beta-20260605030736.0").help().epilogue(`For complete list of configuration options, please visit:
10854
+ }).version('version', 'Show version number', "1.9.1").help().epilogue(`For complete list of configuration options, please visit:
10853
10855
  • Web options: https://midscenejs.com/automate-with-scripts-in-yaml#the-web-part
10854
10856
  • Android options: https://midscenejs.com/automate-with-scripts-in-yaml#the-android-part
10855
10857
  • iOS options: https://midscenejs.com/automate-with-scripts-in-yaml#the-ios-part
@@ -11136,12 +11138,13 @@ defineYamlBatchTest(${JSON.stringify(testOptions, null, 2)});
11136
11138
  bail: options.bail
11137
11139
  };
11138
11140
  }
11139
- const requireFromCliEntry = ()=>{
11141
+ const requireFromCliPackage = ()=>{
11142
+ if ('undefined' != typeof __dirname) return createRequire(external_node_path_join(__dirname, 'index.js'));
11140
11143
  const entry = process.argv[1] ? external_node_path_resolve(process.argv[1]) : external_node_path_join(process.cwd(), 'midscene-cli.js');
11141
11144
  return createRequire(entry);
11142
11145
  };
11143
11146
  const resolvePackageFromRstestCore = (packageName)=>{
11144
- const require1 = requireFromCliEntry();
11147
+ const require1 = requireFromCliPackage();
11145
11148
  const rstestPackageJsonPath = require1.resolve('@rstest/core/package.json');
11146
11149
  return createRequire(rstestPackageJsonPath).resolve(packageName);
11147
11150
  };