devcompass 2.3.1 โ†’ 2.5.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/README.md CHANGED
@@ -1,40 +1,59 @@
1
- cd ~/devCampuss
2
- cat > README.md << 'EOF'
3
1
  # ๐Ÿงญ DevCompass
4
2
 
5
- **Dependency health checker with ecosystem intelligence for JavaScript/TypeScript projects**
3
+ **Dependency health checker with ecosystem intelligence and real-time GitHub issue tracking for 500+ popular npm packages**
6
4
 
7
5
  [![npm version](https://img.shields.io/npm/v/devcompass.svg)](https://www.npmjs.com/package/devcompass)
8
6
  [![npm downloads](https://img.shields.io/npm/dm/devcompass.svg)](https://www.npmjs.com/package/devcompass)
9
7
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
10
8
 
11
- Analyze your JavaScript projects to find unused dependencies, outdated packages, **detect security vulnerabilities**, **check bundle sizes**, **verify licenses**, and **automatically fix issues** with a single command. Perfect for **CI/CD pipelines** with JSON output and exit codes.
9
+ Analyze your JavaScript projects to find unused dependencies, outdated packages, **detect security vulnerabilities**, **monitor GitHub issues in real-time for 500+ packages**, **check bundle sizes**, **verify licenses**, and **automatically fix issues** with a single command. Perfect for **CI/CD pipelines** with JSON output and exit codes.
12
10
 
11
+ > **NEW in v2.5.0:** Expanded to 502 packages across 33 categories! ๐ŸŽฏ
12
+ > **NEW in v2.4.0:** Real-time GitHub issue tracking & predictive warnings! ๐Ÿ”ฎ
13
13
  > **NEW in v2.3.1:** Fixed all security vulnerabilities! Health score: 2.5/10 โ†’ 8/10 ๐Ÿ”’
14
14
  > **NEW in v2.3:** Security scanning, bundle analysis & license checker! ๐Ÿ”
15
- > **NEW in v2.2:** CI/CD integration with JSON output & smart caching! ๐Ÿš€
16
- > **NEW in v2.1:** Auto-fix command! ๐Ÿ”ง Fix critical issues automatically!
17
- > **NEW in v2.0:** Real-time ecosystem alerts for known issues! ๐Ÿšจ
15
+ > **NEW in v2.2:** CI/CD integration with JSON output & smart caching! ๐Ÿš€
18
16
 
19
- ## ๐ŸŽ‰ Latest Update: v2.3.1
17
+ ## ๐ŸŽ‰ Latest Update: v2.5.0
20
18
 
21
- **We practice what we preach!** After releasing v2.3.0 with security scanning, we ran DevCompass on itself and found 14 vulnerabilities. We fixed them all:
19
+ **500+ package coverage is here!** DevCompass now monitors live GitHub activity across the entire npm ecosystem:
22
20
 
23
- - โœ… **Health score improved:** 2.5/10 โ†’ 8/10
24
- - โœ… **Security vulnerabilities:** 14 โ†’ 0
25
- - โœ… **Bundle size reduced:** 9.1 MB โ†’ 6.2 MB (32% smaller)
26
- - โœ… **Dependencies upgraded:** npm-check-updates v16 โ†’ v20
27
- - โœ… **Removed 315 vulnerable packages**
21
+ - ๐ŸŽฏ **502 tracked packages** organized into 33 categories
22
+ - ๐ŸŒ **Full ecosystem coverage** - Frontend, backend, build tools, testing, databases, and more
23
+ - โšก **Zero performance impact** - Smart filtering only checks installed packages
24
+ - ๐Ÿ“Š **Comprehensive monitoring** - React, Vue, Angular, Next.js, Express, and 497+ more
25
+ - ๐Ÿ”ง **Framework-agnostic** - Supports all major JavaScript frameworks and tools
28
26
 
29
- This is what "eating your own dog food" looks like. DevCompass helps you catch and fix security issues before they reach production.
27
+ **What's tracked:**
28
+ - Web Frameworks (25): react, vue, angular, svelte, preact, solid-js, etc.
29
+ - Backend Frameworks (20): express, koa, fastify, hapi, nest, strapi, etc.
30
+ - Build Tools (25): webpack, vite, rollup, parcel, esbuild, turbopack, etc.
31
+ - Testing (25): jest, mocha, vitest, cypress, playwright, storybook, etc.
32
+ - And 29 more categories covering the entire JavaScript ecosystem!
33
+
34
+ **Example output:**
35
+ ```
36
+ ๐Ÿ”ฎ PREDICTIVE WARNINGS (1)
37
+
38
+ Based on recent GitHub activity (502+ packages monitored):
39
+
40
+ ๐ŸŸก express
41
+ Increased issue activity
42
+ 1 issues opened recently
43
+ โ†’ Monitor for stability
44
+ GitHub: https://github.com/expressjs/express
45
+ ```
30
46
 
31
47
  ## โœจ Features
32
48
 
49
+ - ๐ŸŽฏ **500+ Package Coverage** (v2.5) - Comprehensive ecosystem monitoring
50
+ - ๐Ÿ”ฎ **GitHub Issue Tracking** (v2.4) - Real-time monitoring of package health
51
+ - ๐Ÿ“ˆ **Predictive Warnings** (v2.4) - Detect issues before they're announced
33
52
  - ๐Ÿ” **Security Scanning** (v2.3) - npm audit integration with severity breakdown
34
53
  - ๐Ÿ“ฆ **Bundle Size Analysis** (v2.3) - Identify heavy packages (> 1MB)
35
54
  - โš–๏ธ **License Checker** (v2.3) - Detect restrictive licenses (GPL, AGPL)
36
55
  - ๐Ÿš€ **CI/CD Integration** (v2.2) - JSON output, exit codes, and silent mode
37
- - โšก **Smart Caching** (v2.2) - 70% faster on repeated runs
56
+ - โšก **Smart Caching** (v2.2) - 93% faster on repeated runs
38
57
  - ๐ŸŽ›๏ธ **Advanced Filtering** (v2.2) - Control alerts by severity level
39
58
  - ๐Ÿ”ง **Auto-Fix Command** (v2.1) - Fix issues automatically with one command
40
59
  - ๐Ÿšจ **Ecosystem Intelligence** (v2.0) - Detect known issues before they break production
@@ -80,6 +99,81 @@ devcompass analyze --ci
80
99
  devcompass analyze --silent
81
100
  ```
82
101
 
102
+ ## ๐Ÿ”ฎ Predictive Warnings (v2.5.0)
103
+
104
+ DevCompass now monitors **real-time GitHub activity for 500+ packages** to detect potential issues before they're officially reported!
105
+
106
+ ### What it tracks:
107
+ - ๐Ÿ› **Open bug reports** in the last 7/30 days
108
+ - ๐Ÿ”ฅ **High-activity packages** with unusual issue spikes
109
+ - ๐Ÿ“ˆ **Trend analysis** (increasing/stable/decreasing)
110
+ - โš ๏ธ **Critical issues** flagged by maintainers
111
+
112
+ ### Currently tracked packages (502+):
113
+ Organized into 33 categories covering the entire JavaScript ecosystem:
114
+
115
+ **Web & UI Frameworks (25):** react, vue, angular, svelte, preact, solid-js, lit, alpine, qwik, astro, etc.
116
+
117
+ **Meta Frameworks (15):** next, nuxt, gatsby, remix, sveltekit, blitz, redwood, docusaurus, etc.
118
+
119
+ **Mobile Frameworks (10):** react-native, ionic, expo, capacitor, cordova, etc.
120
+
121
+ **Backend Frameworks (20):** express, koa, fastify, hapi, nest, strapi, meteor, trpc, apollo-server, etc.
122
+
123
+ **Build Tools (25):** webpack, vite, rollup, parcel, esbuild, turbopack, swc, babel, rome, etc.
124
+
125
+ **Testing Frameworks (25):** jest, mocha, vitest, cypress, playwright, puppeteer, storybook, etc.
126
+
127
+ **Linters & Formatters (15):** eslint, prettier, stylelint, biome, dprint, etc.
128
+
129
+ **TypeScript Tools (15):** typescript, ts-node, tsx, zod, yup, joi, ajv, etc.
130
+
131
+ **State Management (20):** redux, mobx, zustand, jotai, recoil, valtio, xstate, etc.
132
+
133
+ **HTTP Clients (20):** axios, got, ky, superagent, undici, @tanstack/react-query, swr, etc.
134
+
135
+ **Utilities (50):** lodash, moment, dayjs, chalk, ora, commander, uuid, nanoid, etc.
136
+
137
+ **CSS & Styling (25):** tailwindcss, sass, styled-components, emotion, unocss, etc.
138
+
139
+ **Plus 21 more categories:** Documentation, Database & ORM, GraphQL, Authentication, Validation, Reactivity, Animation, Charts, UI Libraries, Forms, Routing, File Upload, Markdown, Image Processing, Email, WebSockets, Compression, Security, CLI Tools, Performance, and Miscellaneous.
140
+
141
+ ### Example Output:
142
+ ```
143
+ ๐Ÿ”ฎ PREDICTIVE WARNINGS (2)
144
+
145
+ Based on recent GitHub activity (502+ packages monitored):
146
+
147
+ ๐ŸŸ  axios
148
+ High bug activity detected
149
+ 15 new issues in last 7 days
150
+ โ†’ Consider delaying upgrade or monitoring closely
151
+ GitHub: https://github.com/axios/axios
152
+
153
+ ๐ŸŸก webpack
154
+ Increased issue activity
155
+ 8 issues opened recently
156
+ โ†’ Monitor for stability
157
+ GitHub: https://github.com/webpack/webpack
158
+ ```
159
+
160
+ ### How it works:
161
+ 1. Fetches live issue data from GitHub API
162
+ 2. Analyzes issue frequency (last 7/30 days)
163
+ 3. Detects critical issues via labels
164
+ 4. Calculates risk scores
165
+ 5. Provides actionable recommendations
166
+ 6. **Smart filtering:** Only checks packages you've actually installed
167
+
168
+ ### Performance:
169
+ - **Smart filtering:** Only checks installed packages from your project
170
+ - **First run:** ~1 second per installed tracked package
171
+ - **Cached runs:** ~0.5 seconds (93% faster!)
172
+ - **Cache duration:** 1 hour
173
+ - **Zero overhead:** Uninstalled packages aren't checked
174
+
175
+ > **Performance Example:** If you have 5 tracked packages installed (e.g., react, axios, lodash, express, webpack), DevCompass only checks those 5, not all 502!
176
+
83
177
  ## ๐Ÿ” Security & Compliance Features
84
178
 
85
179
  ### Security Vulnerability Scanning
@@ -160,7 +254,7 @@ Detect restrictive licenses that may require legal review!
160
254
 
161
255
  **Full Output:**
162
256
  ```
163
- ๐Ÿ” DevCompass v2.3.1 - Analyzing your project...
257
+ ๐Ÿ” DevCompass v2.5.0 - Analyzing your project...
164
258
  โœ” Scanned 25 dependencies in project
165
259
 
166
260
  โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
@@ -180,6 +274,18 @@ Detect restrictive licenses that may require legal review!
180
274
 
181
275
  โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
182
276
 
277
+ ๐Ÿ”ฎ PREDICTIVE WARNINGS (1)
278
+
279
+ Based on recent GitHub activity (502+ packages monitored):
280
+
281
+ ๐ŸŸก express
282
+ Increased issue activity
283
+ 8 issues opened recently
284
+ โ†’ Monitor for stability
285
+ GitHub: https://github.com/expressjs/express
286
+
287
+ โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
288
+
183
289
  ๐Ÿ“ฆ HEAVY PACKAGES (2)
184
290
 
185
291
  Packages larger than 1MB:
@@ -200,6 +306,7 @@ Detect restrictive licenses that may require legal review!
200
306
  Overall Score: 8.5/10
201
307
  Total Dependencies: 25
202
308
  Ecosystem Alerts: 1
309
+ Predictive Warnings: 1
203
310
  Unused: 0
204
311
  Outdated: 2
205
312
 
@@ -229,13 +336,14 @@ devcompass analyze --json
229
336
  **Output:**
230
337
  ```json
231
338
  {
232
- "version": "2.3.1",
233
- "timestamp": "2026-04-02T10:30:00.000Z",
339
+ "version": "2.5.0",
340
+ "timestamp": "2026-04-04T10:30:00.000Z",
234
341
  "summary": {
235
342
  "healthScore": 8.5,
236
343
  "totalDependencies": 25,
237
344
  "securityVulnerabilities": 0,
238
345
  "ecosystemAlerts": 1,
346
+ "predictiveWarnings": 1,
239
347
  "unusedDependencies": 0,
240
348
  "outdatedPackages": 2,
241
349
  "heavyPackages": 2,
@@ -249,6 +357,21 @@ devcompass analyze --json
249
357
  "low": 0,
250
358
  "vulnerabilities": []
251
359
  },
360
+ "predictiveWarnings": [
361
+ {
362
+ "package": "express",
363
+ "severity": "medium",
364
+ "title": "Increased issue activity",
365
+ "description": "8 issues opened recently",
366
+ "recommendation": "Monitor for stability",
367
+ "githubData": {
368
+ "totalIssues": 234,
369
+ "recentIssues": 8,
370
+ "trend": "increasing",
371
+ "repoUrl": "https://github.com/expressjs/express"
372
+ }
373
+ }
374
+ ],
252
375
  "bundleAnalysis": {
253
376
  "heavyPackages": [
254
377
  { "name": "typescript", "size": "8.1 MB" },
@@ -300,12 +423,14 @@ echo $? # Check exit code
300
423
 
301
424
  DevCompass caches results to improve performance:
302
425
 
303
- - **First run:** Normal speed (fetches all data)
304
- - **Cached runs:** ~70% faster
426
+ - **First run:** ~8 seconds (fetches GitHub + npm data)
427
+ - **Cached runs:** ~0.5 seconds (93% faster!)
305
428
  - **Cache duration:** 1 hour
306
429
  - **Cache file:** `.devcompass-cache.json` (auto-gitignored)
307
430
 
308
431
  **What gets cached:**
432
+ - GitHub issue data (v2.4+)
433
+ - Predictive warnings (v2.4+)
309
434
  - Security vulnerabilities
310
435
  - Ecosystem alerts
311
436
  - Unused dependencies
@@ -385,6 +510,7 @@ DevCompass can **automatically fix issues** in your project!
385
510
  - ๐Ÿงน **Removes unused dependencies** - Cleans up packages you're not using
386
511
  - โฌ†๏ธ **Safe updates** - Applies patch and minor updates automatically
387
512
  - โš ๏ธ **Skips breaking changes** - Major updates require manual review
513
+ - ๐Ÿ”„ **Clears cache** - Ensures fresh analysis after fixes (v2.4+)
388
514
 
389
515
  ### Usage
390
516
  ```bash
@@ -404,6 +530,7 @@ devcompass fix --path /path/to/project
404
530
  - โœ… Requires confirmation (unless `--yes` flag used)
405
531
  - โœ… Skips major updates (may have breaking changes)
406
532
  - โœ… Groups actions by priority (critical โ†’ cleanup โ†’ updates)
533
+ - โœ… Clears cache after fixes (v2.4+)
407
534
  - โœ… Provides clear summary of changes
408
535
 
409
536
  ### Workflow Example
@@ -420,7 +547,7 @@ devcompass analyze
420
547
 
421
548
  ## ๐Ÿšจ Ecosystem Intelligence
422
549
 
423
- DevCompass tracks **real-world issues** in popular packages and warns you before they break production!
550
+ DevCompass tracks **real-world issues** in 500+ popular packages and warns you before they break production!
424
551
 
425
552
  ### What Gets Detected:
426
553
  - ๐Ÿ”ด **Critical security vulnerabilities** - Zero-day exploits, prototype pollution
@@ -434,20 +561,12 @@ DevCompass tracks **real-world issues** in popular packages and warns you before
434
561
  - **MEDIUM** - Maintenance concerns, deprecations (โˆ’0.5 points per issue)
435
562
  - **LOW** - Minor issues (โˆ’0.2 points per issue)
436
563
 
437
- ### Currently Tracked Packages:
438
- - **axios** - Memory leaks, breaking changes
439
- - **lodash** - Security vulnerabilities (prototype pollution)
440
- - **moment** - Deprecation notice
441
- - **express** - Security issues in dependencies
442
- - **request** - Package deprecated
443
-
444
- > More packages being added regularly! [Suggest a package](https://github.com/AjayBThorat-20/devcompass/issues)
445
-
446
564
  ### How It Works:
447
565
  1. Reads your actual installed versions from `node_modules`
448
566
  2. Matches against curated issues database
449
567
  3. Uses semantic versioning for precise detection
450
- 4. Shows actionable fix commands
568
+ 4. Checks live GitHub activity for 502+ packages
569
+ 5. Shows actionable fix commands
451
570
 
452
571
  ## ๐ŸŽฏ What It Detects
453
572
 
@@ -618,6 +737,8 @@ If you encounter a false positive, please [report it](https://github.com/AjayBTh
618
737
  8. **Use JSON output** - Integrate with your monitoring tools
619
738
  9. **Review major updates** - Always check changelogs before major version bumps
620
739
  10. **Verify before uninstalling** - DevCompass helps identify candidates, but always verify
740
+ 11. **Watch predictive warnings** - Monitor packages with increasing issue activity
741
+ 12. **Cache for speed** - First run takes ~8s, cached runs ~0.5s
621
742
 
622
743
  ## ๐Ÿค Contributing
623
744
 
@@ -710,13 +831,16 @@ Check out DevCompass stats:
710
831
  - [x] ~~Bundle size analysis~~ โœ… **Added in v2.3!**
711
832
  - [x] ~~License compliance checker~~ โœ… **Added in v2.3!**
712
833
  - [x] ~~Fix all security vulnerabilities~~ โœ… **Fixed in v2.3.1!**
713
- - [ ] GitHub Issues API for real-time issue tracking (v2.4.0)
714
- - [ ] Automated security patch suggestions (v2.4.0)
715
- - [ ] Dependency graph visualization (v2.5.0)
716
- - [ ] Web dashboard for team health monitoring (v2.5.0)
717
- - [ ] More tracked packages (React, Next.js, Vue, Angular) (v2.5.0)
718
- - [ ] Team collaboration features (v2.6.0)
719
- - [ ] Slack/Discord notifications (v2.6.0)
834
+ - [x] ~~GitHub Issues API for real-time issue tracking~~ โœ… **Added in v2.4.0!**
835
+ - [x] ~~Predictive warnings based on bug activity~~ โœ… **Added in v2.4.0!**
836
+ - [x] ~~Expand to top 500 npm packages~~ โœ… **Added in v2.5.0!**
837
+ - [ ] Performance optimizations with parallel processing (v2.6.0)
838
+ - [ ] Advanced security features with Snyk integration (v2.7.0)
839
+ - [ ] Enhanced fix command improvements (v2.8.0)
840
+ - [ ] Dependency graph visualization (v3.0.0)
841
+ - [ ] Web dashboard for team health monitoring (v3.0.0)
842
+ - [ ] Team collaboration features (v3.1.0)
843
+ - [ ] Slack/Discord notifications (v3.1.0)
720
844
 
721
845
  Want to contribute? Pick an item and open an issue! ๐Ÿš€
722
846
 
@@ -726,5 +850,4 @@ Want to contribute? Pick an item and open an issue! ๐Ÿš€
726
850
 
727
851
  *DevCompass - Keep your dependencies healthy!* ๐Ÿงญ
728
852
 
729
- **Like Lighthouse for your dependencies** โšก
730
- EOF
853
+ **Like Lighthouse for your dependencies** โšก
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "devcompass",
3
- "version": "2.3.1",
4
- "description": "Dependency health checker with ecosystem intelligence for JavaScript/TypeScript projects",
3
+ "version": "2.5.0",
4
+ "description": "Dependency health checker with ecosystem intelligence and real-time GitHub issue tracking for JavaScript/TypeScript projects. Monitors 500+ popular npm packages.",
5
5
  "main": "src/index.js",
6
6
  "bin": {
7
7
  "devcompass": "./bin/devcompass.js"
@@ -36,7 +36,14 @@
36
36
  "json-output",
37
37
  "npm-audit",
38
38
  "bundle-size",
39
- "license-checker"
39
+ "license-checker",
40
+ "github-issues",
41
+ "predictive-warnings",
42
+ "risk-detection",
43
+ "dependency-monitoring",
44
+ "issue-tracking",
45
+ "package-health",
46
+ "top-500-packages"
40
47
  ],
41
48
  "author": "Ajay Thorat <ajaythorat988@gmail.com>",
42
49
  "license": "MIT",
@@ -59,4 +66,4 @@
59
66
  "url": "https://github.com/AjayBThorat-20/devcompass/issues"
60
67
  },
61
68
  "homepage": "https://github.com/AjayBThorat-20/devcompass#readme"
62
- }
69
+ }