Skip to content

replace git-diff with diff#306

Open
paolostyle wants to merge 1 commit intoRobinBlomberg:masterfrom
paolostyle:replace-git-diff
Open

replace git-diff with diff#306
paolostyle wants to merge 1 commit intoRobinBlomberg:masterfrom
paolostyle:replace-git-diff

Conversation

@paolostyle
Copy link

git-diff has a ton of dependencies and while it works just fine, it's also unmaintained for over 8 years. Meanwhile diff (which is also a dependency of git-diff, it's a fallback for when git is unavailable) has no dependencies and for this project's needs it looks more than sufficient. This should reduce the number of transitive dependencies significantly and remove at least some warnings about deprecated dependencies (e.g. glob 7.2.3).

Screenshot from npmgraph showing the dependency tree.
image

@AviVahl
Copy link

AviVahl commented Jan 22, 2026

heya @RobinBlomberg
this fixes a security vulnerability. any chance you've got time to review this?

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