Update dependency cruiser#6530
Conversation
|
Differences FoundExpandLicense Package MIT global-directory SummaryExpand
|
| @@ -1,5 +1,5 @@ | |||
| /** @type {import('dependency-cruiser').IConfiguration} */ | |||
| module.exports = { | |||
| export default { | |||
There was a problem hiding this comment.
removed legacy module syntax. This also require extension to be mjs
| trustPolicyExclude: | ||
| # Semver packages are not signed before 7.x. Check pnpm-lock which package is still using 6.x and plan upgrade entire tree. | ||
| - "semver@6.3.1" |
There was a problem hiding this comment.
Must be added to ignored policies, because semver introduced signing after 7.x
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6530 +/- ##
=======================================
Coverage 47.93% 47.93%
=======================================
Files 2579 2579
Lines 45752 45752
Branches 10774 10808 +34
=======================================
Hits 21932 21932
Misses 22571 22571
Partials 1249 1249
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
Updates the repo’s dependency-cruiser tooling to a newer version to address reported vulnerabilities and keep the dependency-check workflow current.
Changes:
- Bump
dependency-cruiserfrom^12.12.2to17.3.10(and refresh lockfile accordingly). - Update
dep-statusscript and GitHub workflow to use a.dependency-cruiser.mjsconfig. - Add a pnpm trust-policy exclusion for
semver@6.3.1.
Reviewed changes
Copilot reviewed 4 out of 6 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
pnpm-workspace.yaml |
Adds trustPolicyExclude entry for semver@6.3.1. |
pnpm-lock.yaml |
Lockfile updates reflecting dependency-cruiser@17.3.10 and transitive upgrades. |
package.json |
Updates dep-status to point to .dependency-cruiser.mjs and bumps dependency-cruiser version. |
.github/workflows/dependency-check.yaml |
Switches depcruise invocations to .dependency-cruiser.mjs. |
.dependency-cruiser.js |
Removes the previous dependency-cruiser configuration file. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
dependency cruiser package was very old and
pnpm auditreported several vulnerabilities in it's packagesThis PR updates it