chore(deps): remove stale package-lock.json to clear Dependabot alerts#1483
chore(deps): remove stale package-lock.json to clear Dependabot alerts#1483
Conversation
This file was deleted in #85 (Bun migration) but accidentally re-committed in #89 unrelated to that PR's actual fix. It hasn't been touched since April and isn't used by anything (CI runs `bun install`), but Dependabot keeps scanning it — every one of the 21 open alerts triaged in #1353 is against this file, not bun.lock. Removing it closes all 21 alerts. The axios `^1.15.0` override in package.json stays — it's doing real work for the bun tree because @slack/bolt pulls in a vulnerable axios transitively (CVE-2025-62718). Add package-lock.json (and yarn/pnpm lockfiles) to .gitignore so this can't silently slip back in. Closes #1353
Targets #1353 alerts that resolve in the actual runtime tree (bun.lock), not just the stale package-lock.json removed in the previous commit. Added overrides: - follow-redirects ^1.16.0 — auth-header leak on cross-domain redirect (GHSA-r4q5-vmmm-2653); via @slack/bolt - path-to-regexp ^8.4.2 — DoS via sequential optional groups (CVE-2026-4926, CVE-2026-4923); via @slack/bolt + claude-agent-sdk - qs ^6.15.1 — arrayLimit bypass DoS (CVE-2025-15284, CVE-2026-2391); via @slack/bolt - flatted ^3.4.2 — prototype pollution in parse() (CVE-2026-33228); dev-only via eslint chain bun audit confirms each resolves to a single non-vulnerable version across the tree. bun run validate green. No code changes — purely transitive bumps; we don't import any of these directly. Skipped (require deeper triage): undici, lodash, picomatch — each has multiple major versions resolved in the bun tree, so a single override would force-downgrade other consumers.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (2)
📝 WalkthroughWalkthroughUpdates Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 6/8 reviews remaining, refill in 12 minutes and 36 seconds.Comment |
Summary
package-lock.json— a file that was deleted in Add crawl4ai docs functionality and update related files #85 (Bun migration) but accidentally re-committed in Local Supabase #89 unrelated to that PR's actual fix. It's been stale since April; nothing installs from it (CI usesbun installagainstbun.lock).bun.lock) without the noise.git rm package-lock.json; addpackage-lock.json/yarn.lock/pnpm-lock.yamlto.gitignoreso this can't slip back in silently.package.jsondeps, no overrides. Theaxios^1.15.0override stays —bun pm why axiosconfirms@slack/boltpulls in a vulnerable axios transitively (CVE-2025-62718), so that override is doing real runtime work.UX Journey
N/A — repo hygiene, no user-facing change.
Architecture Diagram
N/A — no module changes.
Label Snapshot
Change Metadata
Linked Issue
Validation Evidence (required)
```bash
bun run validate
check:bundled → up to date (36 commands, 20 workflows)
type-check → all packages exit 0
lint → 0 warnings, 0 errors
format:check → All matched files use Prettier code style
test → all packages pass (full suite green)
```
Also confirmed:
```bash
bun pm why axios
axios@1.15.1 ← @slack/bolt + @slack/web-api (override is load-bearing, kept as-is)
```
Security Impact (required)
Note for follow-up: Dependabot's
bun.lockcoverage is incomplete — removingpackage-lock.jsonclears the visible alerts but doesn't audit the actual runtime tree. A separate sweep againstbun.lock(e.g. viabun auditor manual review of the high-severity packages: undici, lodash, follow-redirects, qs, path-to-regexp) is worth doing as a follow-up if any of those resolve in the bun tree at vulnerable versions.Compatibility / Migration
Human Verification (required)
Side Effects / Blast Radius (required)
package-lock.jsonhadn't been regenerated since April)Rollback Plan (required)
Risks and Mitigations
Summary by CodeRabbit