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

compatibility

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

compatibility

run your dependencies tests, to check they are compatible

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

compatibility

tool to run tests of your dependencies, to check they are compatible

install

npm install -g compatibility

how

first, add a list of the dependencies you wish to test into your package.json

"compatibility": [
  "foo",
  "bar",
  "baz"
]

then run the compatibility command (or include it in your test script).

what

compatibility will first check that the devDependencies of any module you are testing are also included in your top level module. If a dependency is out of date, compatibility will exit with an error. It has updated your devDependencies, so run npm install and test again.

This time, all the tests should run (one at a time, in the order specified) hopefully they pass.

License

MIT

FAQs

Package last updated on 27 May 2019

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