👷♀️ maintenance
91e353f build: drop support for node <12.20 (💥 breaking change)
What changed?
From this version on dependency-cruiser supports node ^12.20, ^14 and >=16 (which are not coincidentally the same as the ones nodejs supports).
None if you're on node 12.20, ^14 or >= 16 which is likely. Low in all other cases (see How to migrate below)
If you still are on one node 10.x, 13.x or 15.x there's two options:
Why?
What is the impact?
How to migrate
🐛 bugfixes
3fc204d bugfix(validate): correctly filter out dependents from pathNot (#460) (💥 breaking change)
What changed?
This is technically a breaking change: if you had a rule with dependents in them and a pathNot attribute in the from part, the validator would treat the paths in pathNot as if they were regular paths. This is obviously wrong, but if your ruleset relies on this erroneous behaviour rules might fire that didn't before.
Thanks @davidparkagoda who both spotted the error and contributed this bugfix!
The previous implementation was (quite obviously, in hindsight) wrong.
None if you're not using dependents rules with a pathNot attribute.
Why?
What is the impact?
How to migrate
path
attribute - rename pathNot to path (or merge the things in path and pathNot if a path
attribute already existed).