@mablhq/mabl-cli 1.48.0 → 1.48.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/middleware.js CHANGED
@@ -13,7 +13,7 @@ const messaging_1 = require("./core/messaging/messaging");
13
13
  const loggingProvider_1 = require("./providers/logging/loggingProvider");
14
14
  const analytics_1 = require("./util/analytics");
15
15
  const pureUtil_1 = require("./util/pureUtil");
16
- const updateNotifier = require('update-notifier');
16
+ const simple_update_notifier_1 = __importDefault(require("simple-update-notifier"));
17
17
  const cliPackage = require('./package.json');
18
18
  const UPDATE_CHECK_INTERVAL_MILLISECONDS = 24 * 60 * 60 * 1000;
19
19
  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);
@@ -45,18 +45,9 @@ function warnOnNonNativeAppleSiliconVersion() {
45
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
46
  }
47
47
  }
48
- function runUpdateCheck() {
49
- updateNotifier({
48
+ async function runUpdateCheck() {
49
+ await (0, simple_update_notifier_1.default)({
50
50
  pkg: cliPackage,
51
51
  updateCheckInterval: UPDATE_CHECK_INTERVAL_MILLISECONDS,
52
- }).notify({
53
- isGlobal: true,
54
- boxenOptions: {
55
- padding: 1,
56
- margin: 0,
57
- align: 'center',
58
- borderColor: 'cyan',
59
- borderStyle: 'round',
60
- },
61
52
  });
62
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mablhq/mabl-cli",
3
- "version": "1.48.0",
3
+ "version": "1.48.1",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "The official mabl command line interface tool",
6
6
  "main": "index.js",
@@ -77,15 +77,15 @@
77
77
  "range_check": "2.0.4",
78
78
  "retry": "0.13.1",
79
79
  "sanitize-html": "2.3.3",
80
- "serve-handler": "6.1.3",
80
+ "serve-handler": "6.1.5",
81
81
  "set-cookie-parser": "2.5.1",
82
+ "simple-update-notifier": "1.1.0",
82
83
  "socks-proxy-agent": "6.1.1",
83
84
  "stoppable": "1.1.0",
84
85
  "strip-ansi": "6.0.0",
85
86
  "tmp-promise": "3.0.2",
86
87
  "tough-cookie": "4.0.0",
87
88
  "triple-beam": "1.3.0",
88
- "update-notifier": "5.1.0",
89
89
  "uuid": "7.0.3",
90
90
  "v8-compile-cache": "2.1.1",
91
91
  "winston": "3.7.2",