sec(frontend): pin npm dependencies to exact versions (closes #425)#872
sec(frontend): pin npm dependencies to exact versions (closes #425)#872cristim wants to merge 1 commit into
Conversation
|
@coderabbitai review |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis change updates frontend/package.json, bumping multiple devDependencies (Babel, TypeScript tooling, Jest, ESLint, Webpack stack, loaders/plugins, jsdom) and pinning them to exact version specifiers instead of caret ranges. The chart.js dependency version is also bumped. ChangesFrontend dependency version updates
Estimated code review effort: 1 (Trivial) | ~5 minutes Related issues: None specified Related PRs: None specified Suggested labels: dependencies, frontend Suggested reviewers: None specified 🐰 A carrot-crunch, a version bump, 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
✅ Actions performedReview triggered.
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
@coderabbitai full review |
✅ Action performedFull review finished. |
|
@coderabbitai review |
✅ Action performedReview finished.
|
Replace all 29 caret ranges (^) in package.json with the exact versions already recorded in package-lock.json. Exact pins eliminate the window where `npm install` (vs `npm ci`) resolves a newer minor/patch that may carry unaudited CVEs, and make supply-chain review straightforward. No functional change: every pinned version is the version currently installed, so the lockfile is unchanged.
Summary
^) version ranges infrontend/package.jsonwith the exact versions already recorded inpackage-lock.json.npm install(rather thannpm ci) resolves a newer minor/patch release that may carry unaudited CVEs.Test plan
dependencies+devDependenciesentries verified to matchpackage-lock.jsonexactly (node script).npx tsc --noEmit-- no errors.npm test --coverage-- 65 suites, 2142 tests passed, 1 skipped.npm ciin a clean environment (disk full locally; CI will exercise this).Summary by CodeRabbit