Skip to content

feat: only report newly introduced duplicate dependencies - #172

Merged
43081j merged 4 commits into
e18e:mainfrom
ocavue-forks:new-duplicates-only
Jul 27, 2026
Merged

feat: only report newly introduced duplicate dependencies#172
43081j merged 4 commits into
e18e:mainfrom
ocavue-forks:new-duplicates-only

Conversation

@ocavue

@ocavue ocavue commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Aligns the duplicates check with the other diff-based checks (count, size, provenance) by comparing against the base lockfile, so it only reports packages whose installed version count increases in the PR, instead of warning about every pre-existing duplicate on every PR.

@ocavue
ocavue marked this pull request as ready for review July 19, 2026 15:28
Comment thread action.yml Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
ocavue and others added 3 commits July 28, 2026 02:42
Co-authored-by: James Garbutt <43081j@users.noreply.github.com>
Co-authored-by: James Garbutt <43081j@users.noreply.github.com>
Co-authored-by: James Garbutt <43081j@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

⚠️ Duplicate Dependencies (found: 3, threshold: 1)

📦 Package 📋 Versions
@actions/http-client
2 versions
  • @e18e/action-dependency-diff@0.0.1
    • @actions/github@9.1.1
      • @actions/http-client@3.0.2

  • @e18e/action-dependency-diff@0.0.1
    • @actions/core@3.0.1
      • @actions/http-client@4.0.0

eslint-visitor-keys
2 versions
  • @e18e/action-dependency-diff@0.0.1
    • eslint@10.6.0
      • @eslint-community/eslint-utils@4.9.1
        • eslint-visitor-keys@3.4.3

  • @e18e/action-dependency-diff@0.0.1
    • eslint@10.6.0
      • eslint-visitor-keys@5.0.1

ignore
2 versions
  • @e18e/action-dependency-diff@0.0.1
    • eslint@10.6.0
      • ignore@5.3.2

  • @e18e/action-dependency-diff@0.0.1
    • typescript-eslint@8.63.0
      • @typescript-eslint/eslint-plugin@8.63.0
        • ignore@7.0.5

💡 To find out what depends on a specific package, run: npm ls example-package

@43081j
43081j merged commit 6fdf9b0 into e18e:main Jul 27, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants