lint-staged 16.2.6 → 16.2.7

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.
@@ -30,9 +30,12 @@ const handleOutput = (command, result, ctx, isError = false) => {
30
30
  const outputTitle = isError ? red(`${error} ${command}:`) : `${info} ${command}:`
31
31
  const output = [...(ctx.quiet ? [] : ['', outputTitle]), result.output]
32
32
  ctx.output.push(output.join('\n'))
33
+ return
33
34
  }
34
35
 
35
- if (ctx.quiet) return
36
+ if (ctx.quiet) {
37
+ return
38
+ }
36
39
 
37
40
  if (result instanceof SubprocessError) {
38
41
  ctx.output.push(red(`\n${error} ${command} failed to spawn:`), result.message, result.cause)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lint-staged",
3
- "version": "16.2.6",
3
+ "version": "16.2.7",
4
4
  "description": "Lint files staged by git",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -48,7 +48,7 @@
48
48
  "tag": "npx changeset tag"
49
49
  },
50
50
  "dependencies": {
51
- "commander": "^14.0.1",
51
+ "commander": "^14.0.2",
52
52
  "listr2": "^9.0.5",
53
53
  "micromatch": "^4.0.8",
54
54
  "nano-spawn": "^2.0.0",
@@ -61,12 +61,12 @@
61
61
  "@changesets/cli": "2.29.7",
62
62
  "@commitlint/cli": "20.1.0",
63
63
  "@commitlint/config-conventional": "20.0.0",
64
- "@eslint/js": "9.38.0",
65
- "@vitest/coverage-v8": "4.0.1",
66
- "@vitest/eslint-plugin": "1.3.23",
64
+ "@eslint/js": "9.39.1",
65
+ "@vitest/coverage-v8": "4.0.10",
66
+ "@vitest/eslint-plugin": "1.4.3",
67
67
  "consolemock": "1.1.0",
68
68
  "cross-env": "10.1.0",
69
- "eslint": "9.38.0",
69
+ "eslint": "9.39.1",
70
70
  "eslint-config-prettier": "10.1.8",
71
71
  "eslint-plugin-n": "17.23.1",
72
72
  "eslint-plugin-prettier": "5.5.4",
@@ -76,7 +76,7 @@
76
76
  "prettier": "3.6.2",
77
77
  "semver": "7.7.3",
78
78
  "typescript": "5.9.3",
79
- "vitest": "4.0.1"
79
+ "vitest": "4.0.10"
80
80
  },
81
81
  "keywords": [
82
82
  "lint",