New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

depdiff

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

depdiff

A CLI tool to check dependency changes between project versions.

latest
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

depdiff

Build Status Coverage Status

I kept running into a problem where stuff I commited did not work on a build machine or someone else's computer, and quite often the problem turned out to be that my npm dependencies had changed.

To repair the issue, I made this small tool that allows you to keep track of those changes to immediately see what might have caused the issues.

Installation

To install the CLI:

$ npm install -g depdiff

Usage

The CLI features two commands, list-dependencies and list-changes. list-dependencies lists your dependencies as JSON, going through your bower.json and package.json files. list-changes takes a file of this JSON format and compares it to the current situation, showing a diff similar to what you might be used to in your version control.

To save the current state to a file:

$ depdiff list-dependencies > current-deps.json

To compare current state to an older state:

$ depdiff list-changes old-deps.json

FAQs

Package last updated on 27 May 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts