@crowdstrike/commitlint 8.0.0 → 8.0.2

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.
Files changed (2) hide show
  1. package/package.json +5 -5
  2. package/src/cp.js +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crowdstrike/commitlint",
3
- "version": "8.0.0",
3
+ "version": "8.0.2",
4
4
  "description": "commitlint settings for CrowdStrike",
5
5
  "bin": {
6
6
  "commitlint": "bin/index.js"
@@ -48,7 +48,7 @@
48
48
  "@commitlint/read": "^18.0.0",
49
49
  "commitlint-format-junit": "^1.1.4",
50
50
  "debug": "^4.1.1",
51
- "execa": "^5.0.0",
51
+ "execa": "^9.0.0",
52
52
  "yargs": "^17.0.0"
53
53
  },
54
54
  "devDependencies": {
@@ -61,13 +61,13 @@
61
61
  "eslint-plugin-mocha": "^10.0.0",
62
62
  "eslint-plugin-node": "^11.0.0",
63
63
  "git-fixtures": "^8.0.0",
64
- "mocha": "^10.0.0",
64
+ "mocha": "^11.0.0",
65
65
  "mocha-helpers": "^9.0.0",
66
66
  "remark-cli": "^12.0.0",
67
- "remark-preset-lint-crowdstrike": "^3.0.0",
67
+ "remark-preset-lint-crowdstrike": "^4.0.0",
68
68
  "renovate-config-standard": "^2.0.0",
69
69
  "standard-node-template": "6.0.0",
70
70
  "standard-version": "^9.1.0",
71
- "yargs-help-output": "^4.0.0"
71
+ "yargs-help-output": "^5.0.0"
72
72
  }
73
73
  }
package/src/cp.js CHANGED
@@ -1,9 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  const debug = require('./debug');
4
- const execa = require('execa');
5
4
 
6
- function spawn() {
5
+ async function spawn() {
6
+ const { execa } = await import('execa');
7
+
7
8
  debug(...arguments);
8
9
 
9
10
  let ps = execa(...arguments);