New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@debitoor/mocha-strict-dependencies

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@debitoor/mocha-strict-dependencies

Mocha test, that checks that you have strict dependencies on your package.json, except of whitelisted

1.1.0
latest
Version published
Weekly downloads
247
42.77%
Maintainers
15
Weekly downloads
 
Created

mocha-strict-dependencies Build Status

Mocha test, that checks that you have strict dependencies on your package.json, except of whitelisted

#Usage

npm i -D -E @debitoor/mocha-strict-dependencies
echo "require('@debitoor/mocha-strict-dependencies')([]);" > test/strict-dependencies.spec.js

#Configuration

const listOfPackagesThatShouldHaveUnfixedVersion = [
  'deep-extend',
  'chai'
];
require('@debitoor/mocha-strict-dependencies')(listOfPackagesThatShouldHaveUnfixedVersion)

FAQs

Package last updated on 09 Mar 2017

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