npm dependency-cruiser 18.4.0

3 hours ago

✨ features

To improve visibility of the state of the baseline (.dependency-cruiser-known-violations.json)...

  • ...the err, err-html and markdown reporters now show the number of stale entries in the baseline.
    (c617e58/ e9ad4ce/ be91a27/ 993ac9d)
  • ... the err, null, azure-devops and teamcity reporters can exit with a non-zero exit code when the baseline contains stale entries (set baseline.staleEntriesSeverity to error to enable).
    (#1100 / 0dbd761)
  • ... the new baseline-mode 'format' sorts the baseline so future diffs are easier to read after manual edits.
    (077d443/ 3e465ea)

Thanks to @yunusdim and @BPScott for the raising the issues and providing the suggestions and feedback that birthed these 🙇.

📖 documentation

  • e41450b doc(cli): adds note to --baseline that severities are ignored on comparison

👷 maintenance

  • 9f402bb/ ab42c71 chore(npm): updates all external devDependencies
  • c9d8fb5 chore(npm): adds upem policy to prevent accidents when @types/node publishes a super-old version as 'latest'

Don't miss a new dependency-cruiser release

NewReleases is sending notifications on new releases.