@mablhq/mabl-cli 1.52.8 → 1.53.4

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
@@ -6,7 +6,6 @@ var _a;
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.CLI_MIDDLEWARE = void 0;
8
8
  const chalk_1 = __importDefault(require("chalk"));
9
- const os_1 = require("os");
10
9
  const versionUtil_1 = require("./commands/commandUtil/versionUtil");
11
10
  const logLineMessaging_1 = require("./core/messaging/logLineMessaging");
12
11
  const messaging_1 = require("./core/messaging/messaging");
@@ -17,13 +16,11 @@ const simple_update_notifier_1 = __importDefault(require("simple-update-notifier
17
16
  const cliPackage = require('./package.json');
18
17
  const UPDATE_CHECK_INTERVAL_MILLISECONDS = 24 * 60 * 60 * 1000;
19
18
  const MIN_SUPPORTED_NODE_VERSION = (0, versionUtil_1.extractNodeVersionTuple)((_a = cliPackage === null || cliPackage === void 0 ? void 0 : cliPackage.engines) === null || _a === void 0 ? void 0 : _a.node);
20
- const MIN_APPLE_SILICON_NODE_VERSION = (0, versionUtil_1.extractNodeVersionTuple)('16.0.0');
21
19
  exports.CLI_MIDDLEWARE = [
22
20
  () => {
23
21
  (0, logLineMessaging_1.registerConsoleLoggerForOutput)(messaging_1.mablEventEmitter);
24
22
  },
25
23
  warnOnUnsupportedNodeVersion,
26
- warnOnNonNativeAppleSiliconVersion,
27
24
  async (argv) => (0, analytics_1.trackCliEvent)(argv._, (0, pureUtil_1.extractKeyCountsFromArgs)(argv)),
28
25
  runUpdateCheck,
29
26
  ];
@@ -37,14 +34,6 @@ function warnOnUnsupportedNodeVersion() {
37
34
  chalk_1.default.bgYellow.black(' or later.\n'));
38
35
  }
39
36
  }
40
- function warnOnNonNativeAppleSiliconVersion() {
41
- const nodeVersion = (0, versionUtil_1.extractNodeVersionTuple)(process.version);
42
- const isRunningOnAppleSilicon = (0, os_1.cpus)().some((cpu) => { var _a; return (_a = cpu.model) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes('apple'); });
43
- if (isRunningOnAppleSilicon &&
44
- (0, versionUtil_1.compareNodeVersions)(nodeVersion, MIN_APPLE_SILICON_NODE_VERSION) < 0) {
45
- loggingProvider_1.logger.info(`WARNING: Node.js version ${chalk_1.default.bold((0, versionUtil_1.nodeVersionToString)(nodeVersion))} does not provide native support for Apple silicon.\nFor improved mabl-cli performance, consider upgrading to ${chalk_1.default.bold((0, versionUtil_1.nodeVersionToString)(MIN_APPLE_SILICON_NODE_VERSION))} or later.\n`);
46
- }
47
- }
48
37
  async function runUpdateCheck() {
49
38
  await (0, simple_update_notifier_1.default)({
50
39
  pkg: cliPackage,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mablhq/mabl-cli",
3
- "version": "1.52.8",
3
+ "version": "1.53.4",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "The official mabl command line interface tool",
6
6
  "main": "index.js",
@@ -17,7 +17,7 @@
17
17
  "email": "support@mabl.com"
18
18
  },
19
19
  "engines": {
20
- "node": ">=14.0.0"
20
+ "node": ">=16.0.0"
21
21
  },
22
22
  "dependencies": {
23
23
  "@mablhq/newman-reporter-mabl-console": "0.1.0",