@barney-media/cognitive-typescript 0.2.2 → 0.4.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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -38,7 +38,7 @@ npx cognitive-typescript --format json --output reports/cognitive.json --junit-r
38
38
  Omit redundant per-method status in the primary report
39
39
  --output <path> Write the primary report to a file instead of stdout
40
40
  --junit-report <path> Also write a full JUnit XML report for CI test-report UIs
41
- --threshold <integer> Override the Cognitive Complexity threshold (default: 15)
41
+ --threshold <integer> Override the Cognitive Complexity threshold (default: 8)
42
42
  --agent Compact the primary report to actionable failures by default
43
43
  ```
44
44
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barney-media/cognitive-typescript",
3
- "version": "0.2.2",
3
+ "version": "0.4.0",
4
4
  "description": "CLI for Cognitive Complexity analysis in TypeScript projects.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Fabian Barney (https://github.com/fabian-barney)",
@@ -42,6 +42,6 @@
42
42
  "node": ">=22.13.0"
43
43
  },
44
44
  "dependencies": {
45
- "@barney-media/cognitive-typescript-core": "^0.2.1"
45
+ "@barney-media/cognitive-typescript-core": "^0.4.0"
46
46
  }
47
47
  }