Skip to content

v16.7.0

Compare
Choose a tag to compare
@sverweij sverweij released this 01 Dec 20:18
· 13 commits to main since this release
v16.7.0
da9b8d5

✨ feature: recognize type imports in jsdoc

Dependency-cruiser now has the ability to recognize imports in jsdoc - both the new ones introduced in TS5.5 (e.g. /** @import { something } from "blah"; */), as well as the older ones (e.g. /** @type {import('blah').something} */). It's behind an option so it will only detect them if you want it to.

Thanks to @louwers for raising the associated issue and testing a very early version of PR #965

commits:

  • 09e9e41 feat(extract): adds recognition of jsdoc @import type imports (#965)
  • 0d49477 feat(extract): adds recognition of the 'classic' jsdoc 'bracket' imports (#969)
  • fedead6 feat(init): adds question to enable detection of jsdoc imports (#970)

🐛 fixes

  • 09ae707 fix(npm): shortens the message in the (only) distributed script

👷 maintenance

  • aae6edd/ b5bfe76 refactor: addresses small linting issues
  • 2d2b0e5 refactor(resolve): uses Maps for the context maps
  • 79e1aa1 build(npm): updates external dependencies
  • 09ae707 fix(npm): shortens the message in the (only) distributed script

🧹 chores

  • 8a288dd chore: migrates to eslint 9 & flat config (#968)
  • 69b59b6 chore: makes ci use node 23 instead of 22
  • 78960d3 build(npm): adds svgo to devDependencies