šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

@constgen/neutrino-dependency

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@constgen/neutrino-dependency

Neutrino middleware for detection of circular dependencies

1.9.2
latest
Source
npm
Version published
Weekly downloads
3
-70%
Maintainers
1
Weekly downloads
Ā 
Created
Source

@constgen/neutrino-dependency

npm npm

Neutrino middleware for detection and warning about dependencies issues

You may want to use @constgen/neutrino-analysis that already includes this middleware

Features

  • Detect and warn about circular dependencies during the build time
  • Detect and warn about duplicated dependencies during the build time
  • Enforce the entire path of all required modules match exact case of the actual path on disk

Requirements

  • Node.js v10+
  • Neutrino v9
  • Webpack v4

Installation

@constgen/neutrino-dependency can be installed from NPM. You should install it to "dependencies" (--save) or "devDependncies" (--save-dev) depending on your goal.

npm install --save @constgen/neutrino-dependency

Usage

In preset

Require this package and plug it into Neutrino. The middleware has no options:

let dependency = require('@constgen/neutrino-dependency')

neutrino.use(dependency())

In neutrinorc

The middleware also may be used together with another presets in Neutrino rc-file, e.g.:

.neutrinorc.js

let dependency = require('@constgen/neutrino-dependency')

module.exports = {
   use: [
      dependency()
   ]
}

Keywords

neutrino

FAQs

Package last updated on 28 Sep 2020

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