npm dependency-cruiser 2.1.0
deprecate check (v2.1.0)

latest releases: 16.4.1, 16.4.0, 16.3.10...
7 years ago
  • Adds the possibility to check on deprecated npm modules (see sample rule snippet below).
    deprecated is just an other 'dependency type' - so it should be a doddle to use.
  • ⬆️ ajv
  • 📖 documents some of the internal interfaces so maintaining dependency-cruiser will still be fun half a year or more from now

In your dependency-cruiser config you can use the 'deprecated' attribute, just like you use other dependency types e.g. like this:

    {
        "name": "no-deprecated-npm",
        "comment": "These npm modules are deprecated - find an alternative.",
        "severity": "warn",
        "from": {},
        "to": { "dependencyTypes": ["deprecated"] }
    }

Don't miss a new dependency-cruiser release

NewReleases is sending notifications on new releases.