npm · npm:git-diff
git-diff active
Returns the git diff of two strings
The latest stable version of git-diff is 2.0.7, published on 2026-06-26. Verified by Vigia on 2026-11-12.
| Latest stable version | 2.0.7 |
|---|---|
| Published | 2026-06-26 04:55:57 UTC |
| Install | npm install git-diff@latest |
| Requires (engines) | {"node":">= 4.8.0"} |
| Peer dependencies | — |
| Dist-tags | latest: 2.0.7 |
| License | ISC |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 13:46:26 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the npm package "git-diff", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/git-diff . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-06-26 04:55:57 UTC · 139 days ago |
| Stable releases in the last 12 months | 1 |
| Published versions | 16 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
2.0.7 | 2026-06-26 04:55:57 UTC |
2.0.6 | 2018-03-09 04:09:36 UTC |
2.0.5 | 2018-03-09 03:57:10 UTC |
2.0.4 | 2017-10-15 23:41:04 UTC |
2.0.3 | 2017-10-15 03:09:34 UTC |
2.0.2 | 2017-10-09 21:08:24 UTC |
2.0.1 | 2017-10-05 05:23:25 UTC |
2.0.0 | 2017-10-04 21:00:09 UTC |
1.0.7 | 2017-10-04 02:42:57 UTC |
1.0.6 | 2017-09-26 04:47:01 UTC |
1.0.5 | 2017-09-26 04:29:32 UTC |
1.0.4 | 2017-08-24 05:09:49 UTC |
1.0.3 | 2017-08-24 02:53:33 UTC |
1.0.2 | 2017-08-24 02:50:33 UTC |
1.0.1 | 2017-08-24 02:50:11 UTC |
1.0.0 | 2017-08-24 02:02:00 UTC |
Showing the 16 most recent of 16 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 2.0.7 |
node 18 | 2.0.7 |
node 20 | 2.0.7 |
node 22 | 2.0.7 |
node 24 | 2.0.7 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of git-diff?
The latest stable version of git-diff is 2.0.7, published on 2026-06-26. Verified by Vigia on 2026-11-12.
How do I install the latest version of git-diff?
Run npm install git-diff@latest. The latest stable version is 2.0.7 (verified 2026-11-12).
Is git-diff deprecated?
No. git-diff is not marked as deprecated in the registry.
Which Node.js version does git-diff require?
git-diff 2.0.7 declares this requirement: {"node":">= 4.8.0"}.
Does git-diff 2.0.7 have known vulnerabilities?
No known advisories affect git-diff 2.0.7 according to the data Vigia checks.
Is git-diff still maintained?
git-diff published 1 stable releases in the last 12 months; the most recent was 139 days ago. Activity: active.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- @heroui/ripple
- @azure/arm-containerinstance
- vue-meta
- @oxlint/binding-linux-s390x-gnu
- @connectrpc/connect-node
- fizzy-ui-utils
- @parcel/optimizer-terser
- @oxlint/binding-linux-ppc64-gnu
- json-stringify-deterministic
- @koa/multer
- btch-downloader
- @hono/swagger-ui
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/git-diff) [](https://vigia.coredls.cloud/npm/git-diff) [](https://vigia.coredls.cloud/npm/git-diff)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/git-diff
GET https://vigia.coredls.cloud/v1/packages/npm/git-diff/versions/{version}