Skip to content

Releases: sverweij/dependency-cruiser

v3.0.0-beta-0

22 Feb 20:33
Compare
Choose a tag to compare
v3.0.0-beta-0 Pre-release
Pre-release
  • 🐣 by default follow symlinks / add --preserve-symlinks option (issue #33, PR #37 thanks @ajafff for the contribution!!)
  • ⬆️ devDependencies: coffeescript, eslint, eslint-plugin-import

Breaking change: symbolic links followed by default

impact classification: low.

By default dependency-cruiser now follows links when resolving dependencies. This is consistent with how NodeJS behaves itself since version 6.

In the unlikely event you use symlinks (e.g. with npm link/ yarn workspaces) and depend on the old behaviour, you can do one of these:

  • use the --preserve-symlinks command line option
  • in the options section of your .dependency-cruiser.json add a preserveSymlinks key with the value true.

globsmacked (v2.14.0)

22 Feb 20:01
Compare
Choose a tag to compare
  • 🐣 introduce globs as command line arguments so globbing can be used cross platform (issue #32, PR #36); thanks @ajafff for the suggestion!

v2.14.0-beta-0

16 Feb 20:40
Compare
Choose a tag to compare
v2.14.0-beta-0 Pre-release
Pre-release
  • 🐥 run 'glob' on passed arguments to abstract file expansion mechanism across platforms (issue #32, PR #36)

v2.13.1

16 Feb 08:43
Compare
Choose a tag to compare
  • ⬆️ acorn, chalk, commander, lodash, semver-try-require
  • ⬆️ coffeescript, typescript
    (This verifies dependency-cruiser also works with latest versions of coffeescript (2.2.1) and typescript (2.7.2))
  • ⬆️ development dependencies eslint, eslint-plugin-node js-makedepend, mocha and nsp

Sorry Ben! (v2.13.0)

01 Feb 19:10
Compare
Choose a tag to compare
  • 🐣 (typescript): add a command line switch to opt in to typescript pre-compilation dependencies (#31)
  • 🐛 (typescript): make typescript (pre-compilation) dependency detection compiler version independent
  • ⬆️ ajv, typescript

This release partly makes the detection of typescript pre-compilation dependencies (unused imports and types-only imports) an opt-in affair, as this is not always desired.

If you need or want typescript pre-compilation only dependencies to be cruised do one of these:

  • pass --ts-pre-compilation-deps as a command line option
  • if you have a .dependency-cruiser.json, put "tsPreCompilationDeps": true in the options section:
    ...
    "options": {
        "doNotFollow": "^node_modules",
        "tsPreCompilationDeps": true
    }
    ...

Read more in the FAQ and the command line reference.

v2.13.0-beta-1

31 Jan 21:45
Compare
Choose a tag to compare
v2.13.0-beta-1 Pre-release
Pre-release
  • 🐣 (typescript): add a command line switch to opt in to typescript pre-compilation dependencies
  • 🐛 (typescript): make typescript (pre-compilation) dependency detection compiler version independent
  • ⬆️ ajv, typescript

v2.12.1

28 Jan 20:38
Compare
Choose a tag to compare
  • 🐛 (typescript) leave 'import equals' without a 'require' (but instead a variable of some sort)

v2.12.0

28 Jan 13:17
Compare
Choose a tag to compare
  • 🐣 (typescript) also detect dependencies when only importing types. Fixes #28. The two next features are a side effect of this change:
  • 🐣 (typescript) detect dependency to imports that aren't used (the typescript compiler throws these out)
  • 🐣 (typescript) detect dependencies in tripple slash directives
  • 🔧 some refactoring for better performance and easier maintenance
  • ⬆️ ajv

v2.12.0-beta-2

28 Jan 09:26
Compare
Choose a tag to compare
v2.12.0-beta-2 Pre-release
Pre-release
  • 🔧 some refactoring for better performance and easier maintenance

v2.12.0-beta-1

27 Jan 14:49
Compare
Choose a tag to compare
v2.12.0-beta-1 Pre-release
Pre-release
  • 🐣 (typescript) also detect dependencies when only importing types. Fixes #28.

A side effect of this change is that dependency-cruiser now detects these (typescript) dependencies as well:

  • 🐣 (typescript) detect dependency to imports that aren't used (the typescript compiler throws these out)

  • 🐣 (typescript) detect dependencies in tripple slash directives

  • ⬆️ ajv