@midscene/cli 1.10.0 → 1.10.1-beta-20260624112700.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/lib/index.js CHANGED
@@ -3560,7 +3560,11 @@ defineYamlBatchTest(test, testOptions);
3560
3560
  require("@midscene/web/bridge-mode");
3561
3561
  (0, logger_.getDebug)('create-yaml-player');
3562
3562
  __webpack_require__("../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js");
3563
- process.env.MIDSCENE_CLI_LOG_ON_NON_TTY || process.stdout.isTTY;
3563
+ function resolveIsTTY(env = process.env, stdoutIsTTY = process.stdout.isTTY) {
3564
+ if (env.MIDSCENE_CLI_LOG_ON_NON_TTY || env.NO_COLOR || 'dumb' === env.TERM || env.CI) return false;
3565
+ return Boolean(stdoutIsTTY);
3566
+ }
3567
+ resolveIsTTY();
3564
3568
  require("node:util");
3565
3569
  },
3566
3570
  "./src/index.ts" (__unused_rspack_module, __unused_rspack___webpack_exports__, __webpack_require__) {
@@ -3572,9 +3576,7 @@ defineYamlBatchTest(test, testOptions);
3572
3576
  const cli_namespaceObject = require("@midscene/shared/cli");
3573
3577
  var main = __webpack_require__("../../node_modules/.pnpm/dotenv@16.4.5/node_modules/dotenv/lib/main.js");
3574
3578
  var main_default = /*#__PURE__*/ __webpack_require__.n(main);
3575
- var package_namespaceObject = {
3576
- rE: "1.10.0"
3577
- };
3579
+ var package_namespaceObject = JSON.parse('{"rE":"1.10.1-beta-20260624112700.0"}');
3578
3580
  var logger_ = __webpack_require__("@midscene/shared/logger");
3579
3581
  var brace_expansion = __webpack_require__("../../node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js");
3580
3582
  const MAX_PATTERN_LENGTH = 65536;
@@ -11416,7 +11418,7 @@ Usage:
11416
11418
  type: 'boolean',
11417
11419
  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}`
11418
11420
  }
11419
- }).version('version', 'Show version number', "1.10.0").help().epilogue(`For complete list of configuration options, please visit:
11421
+ }).version('version', 'Show version number', "1.10.1-beta-20260624112700.0").help().epilogue(`For complete list of configuration options, please visit:
11420
11422
  • Web options: https://midscenejs.com/automate-with-scripts-in-yaml#the-web-part
11421
11423
  • Android options: https://midscenejs.com/automate-with-scripts-in-yaml#the-android-part
11422
11424
  • iOS options: https://midscenejs.com/automate-with-scripts-in-yaml#the-ios-part