@extrahorizon/exh-cli 1.5.1-dev-34-b5123be → 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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Extra Horizon CLI
2
2
 
3
- This is the command-line interface to the Extra Horizon platform. It allows you to manage schemas & tasks for now, but
3
+ This is the command-line interface to the Extra Horizon platform. It allows you to manage just some parts of your Extra Horizon configuration for now, but
4
4
  will be extended with additional functionality.
5
5
 
6
6
  See [changelog](CHANGELOG.md) for the latest changes.
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-34-b5123be",
3
+ "version": "1.5.1-dev-36-6147e31",
4
4
  "main": "build/index.js",
5
5
  "exports": "./build/index.js",
6
6
  "license": "MIT",
@@ -11,7 +11,7 @@
11
11
  "url": "https://github.com/ExtraHorizon/exh-cli.git"
12
12
  },
13
13
  "scripts": {
14
- "start": "yarn test",
14
+ "start": "yarn build && node ./build/index.js",
15
15
  "clean": "rimraf build",
16
16
  "build": "yarn clean && tsc",
17
17
  "test": "jest",
@@ -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
  }