yargs-help-output 2.0.1 → 4.0.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yargs-help-output",
3
- "version": "2.0.1",
3
+ "version": "4.0.0",
4
4
  "description": "Update docs to include the full output of yargs help",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,7 +22,7 @@
22
22
  "lint:md": "remark -f README.md",
23
23
  "start": "yargs-help-output",
24
24
  "release": "standard-version --commit-all",
25
- "test": "mocha --recursive"
25
+ "test": "mocha"
26
26
  },
27
27
  "standard-version": {
28
28
  "scripts": {
@@ -32,31 +32,31 @@
32
32
  }
33
33
  },
34
34
  "dependencies": {
35
- "execa": "^5.0.0",
35
+ "execa": "^7.0.0",
36
36
  "yargs": "^17.0.0"
37
37
  },
38
38
  "devDependencies": {
39
- "@crowdstrike/commitlint": "^4.0.0",
39
+ "@crowdstrike/commitlint": "^6.0.0",
40
40
  "chai": "^4.3.0",
41
41
  "chai-as-promised": "^7.1.1",
42
42
  "chai-fs": "^2.0.0",
43
- "eslint": "^7.19.0",
44
- "eslint-config-crowdstrike": "^3.0.1",
45
- "eslint-config-crowdstrike-node": "^3.0.0",
46
- "eslint-plugin-json-files": "^1.1.0",
47
- "eslint-plugin-mocha": "^9.0.0",
43
+ "eslint": "^8.0.0",
44
+ "eslint-config-crowdstrike": "10.1.0",
45
+ "eslint-config-crowdstrike-node": "3.0.1",
46
+ "eslint-plugin-json-files": "^3.0.0",
47
+ "eslint-plugin-mocha": "^10.0.0",
48
48
  "eslint-plugin-node": "^11.1.0",
49
- "mocha": "^9.0.0",
50
- "mocha-helpers": "^6.0.0",
51
- "remark-cli": "^9.0.0",
49
+ "mocha": "^10.0.0",
50
+ "mocha-helpers": "^8.0.0",
51
+ "remark-cli": "^11.0.0",
52
52
  "remark-preset-lint-crowdstrike": "^2.0.0",
53
53
  "renovate-config-standard": "^2.1.1",
54
- "standard-node-template": "2.0.0",
54
+ "standard-node-template": "4.0.1",
55
55
  "standard-version": "^9.2.0",
56
56
  "tmp": "0.2.1",
57
57
  "yargs-help-output": "file:"
58
58
  },
59
59
  "engines": {
60
- "node": ">=12.13"
60
+ "node": ">=16.13"
61
61
  }
62
62
  }
package/src/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  'use strict';
2
2
 
3
- const execa = require('execa');
4
3
  const { replaceFile } = require('./fs');
5
4
  const path = require('path');
6
5
 
@@ -66,6 +65,8 @@ async function _getHelpText({
66
65
 
67
66
  args.push('--help');
68
67
 
68
+ const { execa } = await import('execa');
69
+
69
70
  let { stdout } = await execa(command, args, {
70
71
  preferLocal: true,
71
72
  ...options,
package/CHANGELOG.md DELETED
@@ -1,24 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
-
5
- ### [2.0.1](https://github.com/CrowdStrike/yargs-help-output/compare/v2.0.0...v2.0.1) (2021-06-15)
6
-
7
- ### [1.0.4](https://github.com/CrowdStrike/yargs-help-output/compare/v1.0.3...v1.0.4) (2021-02-18)
8
-
9
- ### [1.0.3](https://github.com/CrowdStrike/yargs-help-output/compare/v1.0.2...v1.0.3) (2021-02-18)
10
-
11
- ### [1.0.2](https://github.com/CrowdStrike/yargs-help-output/compare/v1.0.1...v1.0.2) (2021-02-18)
12
-
13
- ### [1.0.1](https://github.com/CrowdStrike/yargs-help-output/compare/v1.0.0...v1.0.1) (2021-02-18)
14
-
15
- ## [1.0.0](https://github.com/CrowdStrike/yargs-help-output/compare/v0.1.0...v1.0.0) (2021-02-18)
16
-
17
- ## 0.1.0 (2021-02-18)
18
-
19
-
20
- ### ⚠ BREAKING CHANGES
21
-
22
- * implementation
23
-
24
- * implementation ([05d465b](https://github.com/CrowdStrike/yargs-help-output/commit/05d465b0137180b734e354d0e0aa1dfacd147672))