npm dependency-cruiser 2.7.1

latest releases: 16.7.0-beta-1, 16.6.0, 16.6.0-beta-1...
7 years ago
  • Deprecates the --system option in favour of --module-systems. It's clearer and simplified the code a bit. The shorthand (-M) stays. --system will be available until the 3.0.0 release, but will will issue a deprecation warning.
  • makes the --init-rules use the file name from -v. It's a hack for testing purposes. I won't document it and don't recommend using it
  • 🐛 if you pass multiple module systems with not only comma's but also spaces between them (which you can do if you're very persistent, like so: --module-systems "amd, cjs") the cli strips the spaces.
  • The behaviour of the CLI stays the same for all other cases; the API changes a bit though as parameter validation moved over there and it'll throw an occasional Error if you feed it erroneous options.
  • ⬆️ typescript
  • 🔍 Adds some tests. line, statement and function coverage are now on 100%
  • 🔧 some refactoring so stuff is (hopefully) easier to find and maintain.

Don't miss a new dependency-cruiser release

NewReleases is sending notifications on new releases.