@mablhq/mabl-cli 2.70.18 → 2.70.20

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/middleware.js CHANGED
@@ -25,7 +25,8 @@ exports.CLI_MIDDLEWARE = [
25
25
  ];
26
26
  function warnOnUnsupportedNodeVersion() {
27
27
  const nodeVersion = (0, versionUtil_1.extractNodeVersionTuple)(process.version);
28
- if ((0, versionUtil_1.compareNodeVersions)(nodeVersion, MIN_SUPPORTED_NODE_VERSION) < 0) {
28
+ if ((0, versionUtil_1.compareNodeVersions)(nodeVersion, MIN_SUPPORTED_NODE_VERSION) < 0 &&
29
+ !isMcpProcess()) {
29
30
  loggingProvider_1.logger.info(chalk_1.default.bgYellow.black(`WARNING: Unsupported Node.js detected (`) +
30
31
  chalk_1.default.bgYellow.bold.white((0, versionUtil_1.nodeVersionToString)(nodeVersion)) +
31
32
  chalk_1.default.bgYellow.black(`). \nmabl-cli functionality may be limited, please update to `) +
@@ -39,3 +40,6 @@ async function runUpdateCheck() {
39
40
  updateCheckInterval: UPDATE_CHECK_INTERVAL_MILLISECONDS,
40
41
  });
41
42
  }
43
+ function isMcpProcess() {
44
+ return process.argv.includes('mcp');
45
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mablhq/mabl-cli",
3
- "version": "2.70.18",
3
+ "version": "2.70.20",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "The official mabl command line interface tool",
6
6
  "main": "index.js",