@extrahorizon/exh-cli 1.5.1-dev-35-690a5d5 → 1.5.1-dev-36-6147e31

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/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Extra Horizon CLI changelog
2
2
 
3
+ ### [Unreleased]
4
+ * Removed the update notifier. The version of the package we used had security vulnerabilities and we're unable to migrate to the latest version right now. We'll look into this again in the future.
5
+
3
6
  ### v1.5.1
4
7
  * Now also publishing to the NPM registry, no longer needing to authenticate with GitHub Packages to install the CLI
5
8
 
package/build/index.js CHANGED
@@ -6,13 +6,6 @@ const lodash_1 = require("lodash");
6
6
  const yargs = require("yargs");
7
7
  const helpers_1 = require("yargs/helpers");
8
8
  const exh_1 = require("./exh");
9
- function checkVersion() {
10
- const pkg = require('../package.json');
11
- const updateNotifier = require('update-notifier');
12
- const notifier = updateNotifier({ pkg, updateCheckInterval: 0 });
13
- notifier.notify();
14
- }
15
- checkVersion();
16
9
  yargs((0, helpers_1.hideBin)(process.argv))
17
10
  .middleware(async (argv) => {
18
11
  const isTTY = tty.isatty(process.stdout.fd);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@extrahorizon/exh-cli",
3
- "version": "1.5.1-dev-35-690a5d5",
3
+ "version": "1.5.1-dev-36-6147e31",
4
4
  "main": "build/index.js",
5
5
  "exports": "./build/index.js",
6
6
  "license": "MIT",
@@ -46,7 +46,6 @@
46
46
  "chalk": "^4.0.0",
47
47
  "joi": "^17.6.0",
48
48
  "lodash": "^4.17.21",
49
- "update-notifier": "5.1.0",
50
49
  "uuid": "^8.3.2",
51
50
  "yargs": "^17.5.1"
52
51
  }