chore(scorecard): update uuid dependency#3371
Conversation
Signed-off-by: Christoph Jerolimov <jerolimov+git@redhat.com>
Changed Packages
|
|
|
🤖 Finished Review · ✅ Success · Started 8:33 AM UTC · Completed 8:37 AM UTC |
PR Summary by QodoScorecard: bump uuid to v14 and remove unused dependency WalkthroughsDescription• Bump uuid dependency in scorecard backend from v9 to v14. • Remove unused uuid dependency from scorecard node package. • Add changesets to release patch versions for affected packages. Diagramgraph TD
E["Changesets"] --> A["scorecard-backend (pkg)"] --> B(("uuid v14")) --> F{{"npm registry"}}
E --> C["scorecard-node (pkg)"] --> D["uuid removed"]
subgraph Legend
direction LR
_pkg["Package"] ~~~ _dep(("Dependency")) ~~~ _ext{{"External"}}
end
High-Level AssessmentThe following are alternative approaches to this PR: 1. Use Node.js built-in `crypto.randomUUID()`
2. Centralize UUID generation behind a shared helper (scorecard-common)
Recommendation: The current approach (bump backend to uuid v14 and remove the unused node dependency) is the right minimal-change fix for deprecation. Consider File ChangesOther (4)
|
ReviewFindingsNo findings. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3371 +/- ##
==========================================
- Coverage 54.02% 53.91% -0.11%
==========================================
Files 2411 2411
Lines 87717 87696 -21
Branches 24287 24288 +1
==========================================
- Hits 47385 47279 -106
- Misses 39984 40069 +85
Partials 348 348
*This pull request uses carry forward flags. Click here to find out more. Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|



Hey, I just made a Pull Request!
Update deprecated and 3 year old uuid library. This replaces #2884
✔️ Checklist