@oclif/core 2.0.2-beta.2 → 2.0.2-beta.5

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.
@@ -1,2 +1,2 @@
1
- import * as cliProgress from 'cli-progress';
2
- export default function progress(options?: cliProgress.Options): cliProgress.SingleBar;
1
+ import { Options, SingleBar } from 'cli-progress';
2
+ export default function progress(options?: Options): SingleBar;
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  // 3pp
4
- const cliProgress = require("cli-progress");
4
+ const cli_progress_1 = require("cli-progress");
5
5
  function progress(options = {}) {
6
6
  // set noTTYOutput for options
7
7
  options.noTTYOutput = Boolean(process.env.TERM === 'dumb' || !process.stdin.isTTY);
8
- return new cliProgress.SingleBar(options);
8
+ return new cli_progress_1.SingleBar(options);
9
9
  }
10
10
  exports.default = progress;
@@ -41,7 +41,6 @@ const readStdin = async () => {
41
41
  debug('resolved from stdin', result);
42
42
  resolve(result);
43
43
  });
44
- // @ts-expect-error because the AbortSignal interface is missing addEventListener
45
44
  signal.addEventListener('abort', () => {
46
45
  debug('stdin aborted');
47
46
  clearTimeout(timeout);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oclif/core",
3
3
  "description": "base library for oclif CLIs",
4
- "version": "2.0.2-beta.2",
4
+ "version": "2.0.2-beta.5",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/core/issues",
7
7
  "dependencies": {
@@ -49,7 +49,7 @@
49
49
  "@types/js-yaml": "^3.12.7",
50
50
  "@types/mocha": "^8.2.3",
51
51
  "@types/nock": "^11.1.0",
52
- "@types/node": "^15.14.9",
52
+ "@types/node": "^16",
53
53
  "@types/node-notifier": "^8.0.2",
54
54
  "@types/proxyquire": "^1.3.28",
55
55
  "@types/semver": "^7.3.13",
@@ -64,7 +64,7 @@
64
64
  "eslint": "^7.32.0",
65
65
  "eslint-config-oclif": "^4.0.0",
66
66
  "eslint-config-oclif-typescript": "^1.0.2",
67
- "fancy-test": "^1.4.10",
67
+ "fancy-test": "^2.0.12",
68
68
  "globby": "^11.1.0",
69
69
  "husky": "6",
70
70
  "mocha": "^8.4.0",