Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dep-ranger

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dep-ranger

A dependencies supervisor.

  • 0.0.3
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

dep-ranger

Cause if you don't keep up to date your dependencies you're a bad guy.

Installation

npm i dep-ranger

Usage

dep-ranger

Why?

Updating dependencies is hard, and it's even harder if you don't do it often.

Why not simply updating everything and be done with it?

We can divide dependencies in two categories:

  • to keep updated: always update as soon as a new version is out

    • examples: tcomb, lodash
  • to keep outdated: never update carelessly. Requires some discussion and agreement within the team.

    • examples: react, babel

If there are outdated or uncategorized dependencies the tool exit with an error.

The solution

dep-ranger runs npm outdated and notifies you if it finds dependencies belonging to the out-of-date group.

You can run this tool on your CI servers and always be in control of what dependencies are being left behind, with the flexibility of specifying what you don't care about.

Configuration

dep-ranger read dependencies configuration from .deprangerrc. You can define your toKeepOutdated deps as String or Object with name and reason key. The purpose of the reason key is to share why the dep shouldn't be updated across the team.

A valid .deprangerrc should look like this:

{
  "toKeepUpdated": ["react", "lodash"],
  "toKeepOutdated": [
    {
      "name": "babel",
      "reason": "Babel ^6 dropped support for decorators"
    },
    "eslint"
  ]
}

FAQs

Package last updated on 18 Mar 2016

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc