affected
v1.0.0
Published
This module checks whether your project is affected by the recent module "liberation" (Source: https://medium.com/@azerbike/i-ve-just-liberated-my-modules-9045c06be67c)
Downloads
21
Readme
affected
This module allows you to check your project's package.json against the modules recently been taken down from npmjs.org (Source: https://medium.com/@azerbike/i-ve-just-liberated-my-modules-9045c06be67c)
Install
Ideally, you install the package globally to be able check regardless in which project folder you are currently located.
npm install -g affected
Usage
By default, without any arguments, the tool assumes you are inside a project's folder which contains the package.json
file.
affected
However, you can also specify a relative or absolute path.
affected ./package.json
affected package.json
affected /opt/project/package.json
Example Output
Project not affected, all good!
or
Found affected dependency: left-pad
Dependency hierarchy: X -> Y -> left-pad