dependency-updates-checker

3.1.0 • Public • Published

dependency-updates-checker

Table of contents

Overview

The aim of the project is to help with if there is a package in the dependency graph of your project and now if you want to update that then how much updations are needed for the direct dependencies of your project

Install

    npm install dependency-updates-checker

OR

    yarn add dependency-updates-checker

Usage

    dependency-updates-checker <dependencyName> <requiredVersion> 

OR

    node_modules/.bin/./dependency-updates-checker <dependencyName> <requiredVersion> 

OR

    npx dependency-updates-checker <dependencyName> <requiredVersion> 

This will provide with a list of all the packages (which are the dependencies of your project and are depended directly or indirectly on dependency) need to be updated and how much you need to update each of these packages , sometimes if all the versions of a package depends on a lower version of dependency then this will be reported.

Note

Peer dependencies and dev dependencies are ignord here so a lower version of dependency can still be present in the lock file.

Yarn@3.x should be installed as the yarn -why command is used

Some packages are not present in the npm registry these are not considered while making dependency graph


Limitations

The algorithm here assumes that with an upgrade the versions of the dependency graph changes monotonically, this assumption is wrong very rarely and in this case the output might not be true.

References


Dependents (0)

Package Sidebar

Install

npm i dependency-updates-checker

Weekly Downloads

0

Version

3.1.0

License

ISC

Unpacked Size

19.8 kB

Total Files

7

Last publish

Collaborators

  • sakhiya07