Socket
Socket
Sign inDemoInstall

affected

Package Overview
Dependencies
8
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    affected

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)


Version published
Weekly downloads
40
increased by48.15%
Maintainers
1
Install size
72.0 kB
Created
Weekly downloads
 

Readme

Source

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

FAQs

Last updated on 24 Mar 2016

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc