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

@debitoor/mocha-strict-dependencies

Package Overview
Dependencies
Maintainers
15
Versions
2
Alerts
File Explorer

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

latest
Source
npmnpm
Version
1.1.0
Version published
Weekly downloads
113
25.56%
Maintainers
15
Weekly downloads
 
Created
Source

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)

Keywords

mocha

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