dependency-cruiser

Validate and visualize dependencies. Your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.

MIT License

Downloads
1.5M
Stars
4.9K
Committers
47

Bot releases are hidden (Show)

dependency-cruiser -

Published by sverweij over 1 year ago

✨ features

  • 24ee9ef1 feature(cli): adds --no-progress option (#736)

📖 documentation

  • c4ef0596 doc(README): adds a message about the use with pnpx (/ yarn run) (#735)
  • 47ebec2f doc(cli): corrects typo in index link to --cache-strategy
  • 35e014b7 doc(recipes): fixes shell-lint issue & regenerates recipe illustrations

👷 maintenance

  • d13f7c3d build(npm): update external dependencies
  • 86e5607f chore: makes performance test script useful again

🔏 sha-sum of the package as published to npmjs: c20a41fd6cdf7c0b31e18220134cb35dc8d40706

dependency-cruiser -

Published by sverweij over 1 year ago

✨ features

  • b581d3b8 feature(cli): adds --no-cache option (#732)
  • 067b642c feature(progress): adds showing all totals in performance-log listener (#731)

👷 maintenance

  • f5f17bc5 chore(ci): put the (deliberately left in place) info message about a utl module not being shared enough in known violations
  • 4cfde483 refactor: changes use of statSync to throw-less
  • 754975c5 refactor(enrich): replaces local module search with the centralized one (#730)

🔏 shasum of the package as published on npmjs: abfa2c7464d063e69f2d8bd369b47f623d38b831

dependency-cruiser -

Published by sverweij over 1 year ago

🐛 fixes

  • 5eec12a0 bugfix(cache): ignores unfollowables in content cache strategy (#727) (thanks @7rulnik for finding the bug and verifying the fix!)

👷 maintenance

  • 46ed5b11 build(npm): update external devDependencies

🔏 shasum of this released as published on npmjs: 19ba6f9b1db9f9860301258f5ae097ac27ac69c2

dependency-cruiser -

Published by sverweij almost 2 years ago

✨ features

  • 1d01ca94 feature(cache): adds content based caching strategy (#722) thanks @7rulnik for the suggestion!
  • 3dc4cd4b/ 52420c9b feature(cli): adds --cache-strategy option (#724)

👷 maintenance

  • 3c069014 build(npm): update external dependencies
  • 3f2c929c refactor(cli): changes normalize steps to early returns (#723)

🔏 shasum of the package as published on npmjs: 5e2c7095ca9544c5805471a8d4e1f9975f411f87

dependency-cruiser -

Published by sverweij almost 2 years ago

✨ features

  • 87f0f5b0 feature(cache): adds a cache option compatibility check (#717)
  • d7d2b711 feature(progress): makes the maximum displayed level configurable (#721)

🐛 fixes

  • d325aa51 bugfix(progress): makes cli-feedback listener go to 100%

👷 maintenance

♻️ maintenance: LCM

  • 51b2fec5 build(npm): update external dependencies
  • 9f3755f6 doc(LICENSE): happy 2023

📜 maintenance: code

  • 6978bd95 refactor(cache): clean up code and make the cache option an object (#716)
  • e54d5539 refactor(init): separates 'find all files' functionality & make it respect .gitignore (#719)
  • 521fef94 refactor(cache): uses util/isDeepStictEqual instead of its assert variant (#720)
  • 9154de91 refactor(progress): moves cli-feedback to its own file

🔏 shasum of the package as published on npmjs.com: fa9ecb771749f05093e6fccd2f5abab137efee57

dependency-cruiser -

Published by sverweij almost 2 years ago

✨ features

  • ff726419 feature(svelte): adds support for processing svelte templates with css pre-processors (#714)
    Thanks to @irvin93d for finding the issue, providing the reproduction sample and testing the fix!
  • 76508e35 feature(init): adds extensions detection to one shot configs (#712)

🐛 fixes

  • 5b087435 bugfix(mermaid): circumvents mermaid edge naming ambiguities (#709)

📖 documentation

  • 91c6dad2 doc(types): correct typos in cruise-result ts-doc
  • 41461f45 doc(init-config): moves typings closer to source (#711)

👷 maintenance

  • cfb53ab9 build(npm): update external dependencies
  • a7caf62d ci(deps): bump actions/stale from 6 to 7 (#710)

🔏 sha-sum of the package as published on npmjs: a75fc3a7344d95707952cc220b9770b7f01cda49

dependency-cruiser -

Published by sverweij almost 2 years ago

✨ features

  • 88051d6a feature(progress): re-vamps the performance log for ease of use (#698)
  • f3af5df9 feature(progress): adds resident set size & v8 managed memory to the performance-log (#697)
  • 854f6849 refactor(performance-log): improves readability of code (#708)

🐛 fixes

  • c482c0d4 bugfix(mermaid): makes nodes without a name render as well (#705)
  • fc0404ce bugfix(report): improves instability alignment in metrics reporter (#707)

📖 documentation

  • 78b0ecc6 doc: twitter -> mastodon
  • 8af1605a doc(README): corrects flare badge link to GHA
  • 3911345f chore: shortens parameter typings

👷 maintenance

📜 code

  • 8d34441e refactor(init-config): removes superfluous function; touches up the typing a bit (#706)
  • a1cc3b6f refactor: reduces anonymous top level functions (#703)
  • 656b17f8 refactor(report): replaces metrics formatting code with Intl API calls (#699)
  • eae9d243 refactor: bans parameter re-assignments (#700)

♻️ LCM

  • ad6b71d3 build(npm): update external dependencies
  • d4b5c7c7 chore: upgrades 'interpret' to stay in line with what webpack-cli uses (#702)
  • 4caf1ccb chore: upgrades lint staged (#701)

🌀 ci

  • 26295d7b bugfix(ci): changes stale.yml close reason to 'completed'
  • fa2ea751 chore: tweaks stale action
  • 745ca872 chore(ci): adds diff graph to the github actions summary (#704)

🔏 shasum of the package published on npmjs: 441fb999330173eb3ab3c1f1308488e7b174ba9c

dependency-cruiser -

Published by sverweij almost 2 years ago

👷 Maintenance

  • aab5c173 build(npm): update external dependencies
  • 45e0170d refactor(report): moves the plugin processor out of its own folder

🔏 sha-sum of the package as published on npmjs: 0c4a9139b42f5e5c5188ba8b4d38574786e5be5f

dependency-cruiser -

Published by sverweij almost 2 years ago

✨ features

  • 1d8d21ec feature(summarize): adds the 'baseDir' option to the optionsUsed object in the summary (#693)

🐛 fixes

  • 13af2354 fix: right-click is the correct for pin in UI (#691) - thanks for @danielo515 for noticing the bug & submitting a PR for it!

📖 documentation

  • fb9615e8 doc(cli): stress you need to pass a --config even if you have a defaultly named config file
  • 16514c08 doc(cli): moves the 'metrics' reporter sub-paragraph to the --output-to paragraph

👷 maintenance

  • 03dde98f build(npm): update external dependencies

🔏 sha-sum of the package as published on npmjs: 1336a2618075e0862b98fe6f3ed5494b584a63e7

dependency-cruiser -

Published by sverweij almost 2 years ago

🐛 fixes

  • 6c0e2a16 bugfix(cli): adds using the baseDir when checking for file existence (#687)
  • 0e7b3c2d bugfix(report): shows the instability metric as percentage in the metrics reporter as well (#686)

👷 maintenance

  • cb2ab0b2 build(npm): update external dependencies

🔏 sha-sum of the package as published on npmjs: e2f736e9d6f7b362fd8a35956fbce8f7c88194f0

dependency-cruiser -

Published by sverweij almost 2 years ago

🚨 breaking changes

22decedf chore: drops support for node 12 and 17 (BREAKING CHANGE) (#681)

What changed

From this version on dependency-cruiser supports node ^14, ^16 and >=18 (which are the ones nodejs supports at the moment ).

Why?

  • Dependency-cruiser follows the support schedule of nodejs - who de-supported node 12 8(!) months ago. Many of its dependencies also stopped supporting it, so it's getting less easy (and safe!) to maintain that situation.
  • Likewise nodejs doesn't support node 17 anymore. You can safely upgrade to node 18 respectively (see the release page on the nodejs website.
  • Node >=14 contains some useful features earlier versions didn't have, which dependency-cruiser either is already using or will start using in the near future.

What is the impact?

None if you're on node ^14, ^16 or >=18 - which is likely. Low in all other cases (see How to migrate below)

How to migrate

If you still are on one node 12.x or 17.x there's two options:

  • upgrade your node version to a supported version (^14, ^16, ^18 or ^19)
  • keep using [email protected]

✨ features

  • 8f9854d4 feature: adds support for .d.cts and .d.mts extensions (#680)

🐛 fixes

  • 8b0a987d fix(report): adds a percentage sign to stability metrics in reporters that emit them as values from 0-100 (#685) Thanks to @Daumel for making me aware this was actually confusing.

👷 maintenance

  • 6c89582f/ f1ccc8ef build(npm): update external dependencies
  • 576a18d3 chore(test): types .mocharc.js
  • f0cb6603 chore(ci): replaces node 18 with node 19 in environments to test against

🔏 sha-sum of this version as published on npmjs: 9b49cb28154272a861c4357deb989919c5bdcdab

dependency-cruiser -

Published by sverweij almost 2 years ago

✨ features

  • 6f5a8056 feature: adds 'highlight' option to depcruise-fmt (#676)

👷 maintenance

  • 6bde56e3 build(npm): update external dependencies
  • 4434a347 refactor(cli): removes cli option scrubbing (#677)

🔏 shasum of the package as published on npmjs: 91bdb45298a5e79dba56872ef6ffb4a8770f7081

dependency-cruiser -

Published by sverweij about 2 years ago

✨ features

  • 5aa56f4c feature(extract): adds support for TypeScript 4.7 .cts and .mts extensions (#673)
  • b811dd59 feature: adds 'highlight' option (#675)

📖 documentation

  • 88d36d12 doc(readme): correct typo (#672) - thanks to @Creative-Ataraxia !

🐛 fixes

  • ce9e924a bugfix(npm): pin semver-try-require to 5.0.2 so yarn pnp keeps working
    (this is undone by 56753034, which upgrades to 5.0.4 which works fine with yarn pnp again)
  • b14e5d06 fix(test): update fixture to reflect change in babel output

👷 maintenance

  • 60f29c9d refactor(plugins): simplify construct to expose mermaid plugin and stay backwards compatible (#670)
  • 56753034 build(npm): update external dependencies
  • faed178f chore(test): moves mocha config to a .mocharc.js
  • e0d93190 chore(ci): adds some reporting to the step summary
  • aa6afc5e ci(deps): bump actions/stale from 5 to 6 (#669)
  • 8865ad31 chore(ci): configures dependabot for keeping github actions dependencies up to date (#668)

🔏 shasum of the package published on npm: 1f7afaf1bb4fcfab01877da600317034273c2c98

dependency-cruiser -

Published by sverweij about 2 years ago

🐛 fixes

  • 14d9c980 bugfix(validate): don't pass arrays to safe-regex (#666), which fixes the second part of the issue raised as #651 - for which thanks again go to @Lukas-Kullmann

👷 maintenance

  • 0111611f build(npm): update external devDependencies

🔏 sha-sum of the package published on npm: 94904235cc8887b3992770b228b899a54437cdb3

dependency-cruiser -

Published by sverweij about 2 years ago

✨ features

  • eb1f1128 feature(validate): relaxes safe-regex check on on repeats within rule sets (#665) - thanks to @Lukas-Kullmann for raising the issue and for the feedback on the first ideas how to fix it
  • 5e63d2f0 feature(cli): adds emission of a warning when running as global module (#661)

🐛 fixes

  • fceb6a3a bugfix(dot): removes the ordering=out restriction from the default dot theme (#660) - thanks to @magland for raising the issue & the clear reproduction example

📖 documentation

  • fb208889 doc(README): shows output formats closer to the top (#657)

  • f8b8e565 doc(cli.md|options-reference): fix broken links in .md: default-theme.js (#658)
    Thank you @magland for both of these pull requests!

  • 2f1dbcfe doc(README): restructures 'how do I use it' section (#664)

👷 maintenance

  • 710d0348/ e36837ad build(npm): update external (dev)dependencies + re-lint
  • d2ab3dee chore: adds upem-outdated run-script to manifest

🔏 sha-sum of the published package on npm: e5e2afaf74d4a8b701c3a93a61fec18608c2d75d

dependency-cruiser -

Published by sverweij about 2 years ago

✨ features

  • 108ab5d1 feature(config-utl): enables support for more types of webpack.conf (e.g. typescript, json5, yaml) (#647) - thanks to @marcellino-ornelas for raising the issue and the feedback on the first version of the feature!

👷 maintenance

  • 64362892 build(npm): update external dependencies
  • d464ed1e chore: upgrades husky

🔏 sha-sum of the package published on npm: 694b083029491091a610665a6fc077673797ce6e

dependency-cruiser -

Published by sverweij about 2 years ago

👷 maintenance

  • d30f5873 build(npm): update external dependencies
  • 30c71ac4 refactor(init): replaces 'inquirer' with 'prompts' (#648)
  • c725786a bugfix(tools): brings report fixture tool up to date with new folder structure
dependency-cruiser -

Published by sverweij about 2 years ago

🐛 fixes

  • 43923d26 Revert "bugfix(doc): corrects the exposed function type definitions to correct/ canonical ones (#643)" (#645) - thanks @hoonoh for spotting and reporting the issue so quickly!
dependency-cruiser -

Published by sverweij about 2 years ago

✨ features

  • 6e738767/ 5c37ca4d feature: adds basic, experimental caching facility (#640)
  • 608aef53 feature(dot): allows 'reaches' as a dot reporter filter (#642)

🐛 fixes

  • f9887d12 bugfix(doc): corrects the exposed function type definitions to correct/ canonical ones (#643)
  • 3d23e92f bugfix(enrich): adds 'metrics' to shareable options (#641)

👷 maintenance

  • ed7810f1 chore: brings metrics config up to date

🔏 sha-sum of the published package on npm: 76ca6fbe49130574a12efe0450856cb349106482

dependency-cruiser -

Published by sverweij about 2 years ago

👷 maintenance

  • 155ef41b build(npm): update external dependencies.

This upgrades (a.o.) tsconfig-paths-webpack-plugin (which was released yesterday) to 4.0.0. So as of now you should be able to use / at the start of path aliases, which closes #398.

🔏 shasum of the package on npm: 91c6e2113d8992e6e2e849ac292fb710b834eb96