fimbullinter / wotan

Pluggable TypeScript and JavaScript linter
Apache License 2.0
282 stars 23 forks source link

Update dependency dependency-cruiser to v10 - autoclosed #777

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
dependency-cruiser ^9.0.0 -> ^10.0.0 age adoption passing confidence

Release Notes

sverweij/dependency-cruiser ### [`v10.7.0`](https://togithub.com/sverweij/dependency-cruiser/releases/v10.7.0) [Compare Source](https://togithub.com/sverweij/dependency-cruiser/compare/v10.6.0...v10.7.0) #### šŸŒŸ features - [`2c76e2c`](https://togithub.com/sverweij/dependency-cruiser/commit/2c76e2c1) feature(report): makes the teamcity report ignore known errors ([#​521](https://togithub.com/sverweij/dependency-cruiser/issues/521)) #### šŸ‘· maintenance - [`dd6f1a3`](https://togithub.com/sverweij/dependency-cruiser/commit/dd6f1a36) lint: :arrow_up: eslint-plugin-budapestian - [`f7d0acb`](https://togithub.com/sverweij/dependency-cruiser/commit/f7d0acb2) chore(ci): adds node 17 ### [`v10.6.0`](https://togithub.com/sverweij/dependency-cruiser/releases/v10.6.0) [Compare Source](https://togithub.com/sverweij/dependency-cruiser/compare/v10.5.0...v10.6.0) #### šŸŒŸ features - [`ed52c71`](https://togithub.com/sverweij/dependency-cruiser/commit/ed52c71d) feature(extract) adds vue3 [@​vue/compiler-sfc](https://togithub.com/vue/compiler-sfc) template compiler support ([#​519](https://togithub.com/sverweij/dependency-cruiser/issues/519)) A huge thanks to [@​annamooseity](https://togithub.com/annamooseity) for this addition!! #### šŸ§° maintenance - [`2f385ef`](https://togithub.com/sverweij/dependency-cruiser/commit/2f385efb) build(npm): :arrow_up: [@​swc/core](https://togithub.com/swc/core), [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin), [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser), commander, eslint, lint-staged, svelte ### [`v10.5.0`](https://togithub.com/sverweij/dependency-cruiser/releases/v10.5.0) [Compare Source](https://togithub.com/sverweij/dependency-cruiser/compare/v10.4.0...v10.5.0) #### šŸŒŸ features - [`babe39a`](https://togithub.com/sverweij/dependency-cruiser/commit/babe39a9) feature(validate): adds a dependencyTypesNot restriction ([#​518](https://togithub.com/sverweij/dependency-cruiser/issues/518)) - thanks [@​rklos](https://togithub.com/rklos) for the suggestion ([#​516](https://togithub.com/sverweij/dependency-cruiser/issues/516))! #### šŸ› fixes - [`14d292b`](https://togithub.com/sverweij/dependency-cruiser/commit/14d292bb) bugfix(enrich/summarize): Adds knownViolations to summary ([#​517](https://togithub.com/sverweij/dependency-cruiser/issues/517)) thanks [@​radiantly](https://togithub.com/radiantly) for the excellent PR! #### šŸ‘· maintenance - [`edd5585`](https://togithub.com/sverweij/dependency-cruiser/commit/edd5585d) build(npm) :arrow_up: [@​swc/core](https://togithub.com/swc/core), [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin), [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser), eslint-plugin-import, eslint-plugin-unicorn, figures, lint-staged, mocha, svelte, typescript, yarn - [`d2c2061`](https://togithub.com/sverweij/dependency-cruiser/commit/d2c20612) chore: updates lint-staged to check mjs in test folder - [`c1d4728`](https://togithub.com/sverweij/dependency-cruiser/commit/c1d47281) refactor(report/anon): simplify random string algo, add 'apps' and 'libs' to the whitelist ### [`v10.4.0`](https://togithub.com/sverweij/dependency-cruiser/releases/v10.4.0) [Compare Source](https://togithub.com/sverweij/dependency-cruiser/compare/v10.3.1...v10.4.0) ##### šŸŒŸ features - [`a3f27ab`](https://togithub.com/sverweij/dependency-cruiser/commit/a3f27ab1) feature(extract): label typescript type-only imports as such ([#​499](https://togithub.com/sverweij/dependency-cruiser/issues/499)) - [`6d20f99`](https://togithub.com/sverweij/dependency-cruiser/commit/6d20f994) feature(validate): adds 'via' restrictions for cycles ([#​507](https://togithub.com/sverweij/dependency-cruiser/issues/507)) - [`4b7a63c`](https://togithub.com/sverweij/dependency-cruiser/commit/4b7a63c1) feature(report): makes the err-html reporter 'ignore-known' aware ([#​513](https://togithub.com/sverweij/dependency-cruiser/issues/513)) ##### šŸ“– documentation - [`43289cc`](https://togithub.com/sverweij/dependency-cruiser/commit/43289cc7) doc: updates contribution documentation ([#​506](https://togithub.com/sverweij/dependency-cruiser/issues/506)) ##### šŸ‘· maintenance - [`56d366f`](https://togithub.com/sverweij/dependency-cruiser/commit/56d366f5) build(npm) :arrow_up: [@​babel/core](https://togithub.com/babel/core), [@​swc/core](https://togithub.com/swc/core), [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin), [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser), c8, coffeescript, inquirer, lint-staged, svelte, yarn - [`61e27b4`](https://togithub.com/sverweij/dependency-cruiser/commit/61e27b4b) refactor(report): simplify the 'ignored-violations' handling of the err reporters ([#​510](https://togithub.com/sverweij/dependency-cruiser/issues/510)) ### [`v10.3.1`](https://togithub.com/sverweij/dependency-cruiser/releases/v10.3.1) [Compare Source](https://togithub.com/sverweij/dependency-cruiser/compare/v10.3.0...v10.3.1) #### šŸ› bugfixes - [`745d58e`](https://togithub.com/sverweij/dependency-cruiser/commit/745d58e5) bugfix(known-violations|summary): compare cyclic violations by cycle, properly ([#​502](https://togithub.com/sverweij/dependency-cruiser/issues/502)) - [`c456d10`](https://togithub.com/sverweij/dependency-cruiser/commit/c456d10e) bugfix(summary): fix ignore count in the model's schema + add it to the schema for the summary ([#​504](https://togithub.com/sverweij/dependency-cruiser/issues/504)) ##### šŸ‘· maintenance - [`a4211e5`](https://togithub.com/sverweij/dependency-cruiser/commit/a4211e50) build(npm): :arrow_up: [@​swc/core](https://togithub.com/swc/core), [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin), [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser), coffeescript, enhanced-resolve, glob, mocha, svelte - [`a2dddb0`](https://togithub.com/sverweij/dependency-cruiser/commit/a2dddb09) chore: adds exceptions for (some) .json orphans in dependency-cruiser config(s) ### [`v10.3.0`](https://togithub.com/sverweij/dependency-cruiser/releases/v10.3.0) [Compare Source](https://togithub.com/sverweij/dependency-cruiser/compare/v10.2.0...v10.3.0) #### šŸŒŸ features - [`d8079c8`](https://togithub.com/sverweij/dependency-cruiser/commit/d8079c87) feature: adds support for baselining known violations ([#​494](https://togithub.com/sverweij/dependency-cruiser/issues/494)) - [`af8556d`](https://togithub.com/sverweij/dependency-cruiser/commit/af8556d8) feature(extract): adds an option to specify extra (typically non-parseable) extensions to scan ([#​492](https://togithub.com/sverweij/dependency-cruiser/issues/492)) (thanks [@​binary64](https://togithub.com/binary64) for suggesting the both of these) #### šŸ‘· maintenance - [`201768a`](https://togithub.com/sverweij/dependency-cruiser/commit/201768a3) chore(resolve): adds typings - [`391db89`](https://togithub.com/sverweij/dependency-cruiser/commit/391db892) build(npm): :arrow_up: [@​babel/core](https://togithub.com/babel/core), [@​babel/plugin-transform-modules-commonjs](https://togithub.com/babel/plugin-transform-modules-commonjs), [@​swc/core](https://togithub.com/swc/core), [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin), [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser), acorn, acorn-loose, acorn-walk, ajv, c8, commander, eslint-plugin-unicorn, inquirer, prettier, svelte, typescript ### [`v10.2.0`](https://togithub.com/sverweij/dependency-cruiser/releases/v10.2.0) [Compare Source](https://togithub.com/sverweij/dependency-cruiser/compare/v10.1.1...v10.2.0) #### šŸŒŸ features - [`9ea7401`](https://togithub.com/sverweij/dependency-cruiser/commit/9ea7401a) feature(extract): makes it possible to use tsc as the primary parser ([#​489](https://togithub.com/sverweij/dependency-cruiser/issues/489)) #### šŸ‘· maintenance - [`14b3b21`](https://togithub.com/sverweij/dependency-cruiser/commit/14b3b214) chore(ci): on the ci temporarily down upem so the ci also runs on node 12 - [`32e2324`](https://togithub.com/sverweij/dependency-cruiser/commit/32e2324e) git ca build(npm): :arrow_up: [@​swc/core](https://togithub.com/swc/core), [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin), [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser), eslint-plugin-import, husky, mocha, svelte, typescript For some production dependencies dependency-cruiser started to use version ranges in package.json. This should reduce the # of maintenance updates and it might reduce dependency-cruiser's footprint in node_modules. ### [`v10.1.1`](https://togithub.com/sverweij/dependency-cruiser/releases/v10.1.1) [Compare Source](https://togithub.com/sverweij/dependency-cruiser/compare/v10.1.0...v10.1.1) #### šŸ“– Documentation - [`a989d0a`](https://togithub.com/sverweij/dependency-cruiser/commit/a989d0a4) doc: re-enables the archi graph - [`073e8a9`](https://togithub.com/sverweij/dependency-cruiser/commit/073e8a91) doc(FAQ): adds a howto with npx + more stronlgy recommend local install - fixes [#​487](https://togithub.com/sverweij/dependency-cruiser/issues/487) #### šŸ› Bugfixes - [`dee158a`](https://togithub.com/sverweij/dependency-cruiser/commit/dee158a7) bugfix(init): makes init template yarn pnp proof ([#​488](https://togithub.com/sverweij/dependency-cruiser/issues/488)) #### šŸ‘· Maintenance - [`499dbd6`](https://togithub.com/sverweij/dependency-cruiser/commit/499dbd6c)/ [`7d52237`](https://togithub.com/sverweij/dependency-cruiser/commit/7d522378) build(npm): :arrow_up: [@​swc/core](https://togithub.com/swc/core), [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin), [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser), eslint-plugin-import, mocha, prettier, svelte - [`cd29303`](https://togithub.com/sverweij/dependency-cruiser/commit/cd29303e) chore(ci): adds a workflow for running under yarn/berry ([#​486](https://togithub.com/sverweij/dependency-cruiser/issues/486)) - [`3f642c8`](https://togithub.com/sverweij/dependency-cruiser/commit/3f642c88) refactor: deep import semver functions & :arrow_up: semver-try-require ### [`v10.1.0`](https://togithub.com/sverweij/dependency-cruiser/releases/v10.1.0) [Compare Source](https://togithub.com/sverweij/dependency-cruiser/compare/v10.0.7...v10.1.0) #### šŸŒŸ Features - [`919f359`](https://togithub.com/sverweij/dependency-cruiser/commit/919f3592) feature(resolve): adds yarn virtual dependency resolution ([#​483](https://togithub.com/sverweij/dependency-cruiser/issues/483)) - [`ad5586c`](https://togithub.com/sverweij/dependency-cruiser/commit/ad5586cf) feature(init): adds a text and a 'focus' script to the experimental-scripts default config ([#​482](https://togithub.com/sverweij/dependency-cruiser/issues/482)) - [`7be9128`](https://togithub.com/sverweij/dependency-cruiser/commit/7be91289) feature(init): write to .dependency-cruiser.cjs when package type equals module ([#​479](https://togithub.com/sverweij/dependency-cruiser/issues/479)) #### šŸ› Fixes - [`41e0c5c`](https://togithub.com/sverweij/dependency-cruiser/commit/41e0c5cf) bugfix(ts-config): pass an absolute path to tsconfig.json so typescripts parsing still works under yarn 3 ([#​481](https://togithub.com/sverweij/dependency-cruiser/issues/481)) - [`9f6b697`](https://togithub.com/sverweij/dependency-cruiser/commit/9f6b697d) bugfix(init): makes --init work under yarn 3 - [`08e671f`](https://togithub.com/sverweij/dependency-cruiser/commit/08e671fc) bugfix(resolve): also puts triple slash directive dependencies through the resolution algorithm(s) ([#​484](https://togithub.com/sverweij/dependency-cruiser/issues/484)) #### šŸ‘· Maintenance - [`2e3c7e6`](https://togithub.com/sverweij/dependency-cruiser/commit/2e3c7e6a) build(npm): :arrow_up: [@​babel/core](https://togithub.com/babel/core), [@​babel/plugin-transform-modules-commonjs](https://togithub.com/babel/plugin-transform-modules-commonjs), [@​babel/preset-typescript](https://togithub.com/babel/preset-typescript), [@​swc/core](https://togithub.com/swc/core), [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin), [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser), eslint-plugin-import, eslint-plugin-unicorn, lint-staged, svelte ### [`v10.0.7`](https://togithub.com/sverweij/dependency-cruiser/releases/v10.0.7) [Compare Source](https://togithub.com/sverweij/dependency-cruiser/compare/v10.0.6...v10.0.7) #### šŸ‘· maintenance - [`d4801cd`](https://togithub.com/sverweij/dependency-cruiser/commit/d4801cd5) chore: removes deepcode configurations - [`672e70d`](https://togithub.com/sverweij/dependency-cruiser/commit/672e70d9) build(npm): :arrow_up: [@​swc/core](https://togithub.com/swc/core), [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin), [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser), c8, chalk, commander, eslint, mocha, svelte, yarn ### [`v10.0.6`](https://togithub.com/sverweij/dependency-cruiser/releases/v10.0.6) [Compare Source](https://togithub.com/sverweij/dependency-cruiser/compare/v10.0.5...v10.0.6) #### šŸ› fixes - [`286b06f`](https://togithub.com/sverweij/dependency-cruiser/commit/286b06ff) bugfix(report): minifies compiled handlebars templates This makes the compiled templates smaller and hence dependency-cruiser smaller to download and (a little) faster to load #### šŸ‘· maintenance - [`6fdabe7`](https://togithub.com/sverweij/dependency-cruiser/commit/6fdabe7a) test: converts tests to esm ([#​476](https://togithub.com/sverweij/dependency-cruiser/issues/476)) - [`c5b7049`](https://togithub.com/sverweij/dependency-cruiser/commit/c5b70495) chore: move configs & schemas from json to js ([#​475](https://togithub.com/sverweij/dependency-cruiser/issues/475)) - [`8bee23d`](https://togithub.com/sverweij/dependency-cruiser/commit/8bee23d7) build(npm): :arrow_up: [@​babel/core](https://togithub.com/babel/core), [@​swc/core](https://togithub.com/swc/core), [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin), [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser), ajv, eslint, inquirer, lint-staged, normalize-newline, svelte ### [`v10.0.5`](https://togithub.com/sverweij/dependency-cruiser/releases/v10.0.5) [Compare Source](https://togithub.com/sverweij/dependency-cruiser/compare/v10.0.4...v10.0.5) #### šŸ› fixes - [`e82891e`](https://togithub.com/sverweij/dependency-cruiser/commit/e82891e8) bugfix(wrap-stream-in-html): de-buffer so it can handle larger streams ([#​474](https://togithub.com/sverweij/dependency-cruiser/issues/474)) #### šŸ‘· maintenance - [`34bf285`](https://togithub.com/sverweij/dependency-cruiser/commit/34bf285d) chore: replaces nyc with c8 - [`2903563`](https://togithub.com/sverweij/dependency-cruiser/commit/2903563d) build(npm): :arrow_up: [@​swc/core](https://togithub.com/swc/core), [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin), [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser), acorn-jsx, acorn-walk, ajv, commander, eslint, eslint-plugin-unicorn, mocha, typescript ### [`v10.0.4`](https://togithub.com/sverweij/dependency-cruiser/releases/v10.0.4) [Compare Source](https://togithub.com/sverweij/dependency-cruiser/compare/v10.0.3...v10.0.4) #### šŸ‘· maintenance - [`a2f5ba0`](https://togithub.com/sverweij/dependency-cruiser/commit/a2f5ba0b) build(npm): :arrow_down: commander ### [`v10.0.3`](https://togithub.com/sverweij/dependency-cruiser/releases/v10.0.3) [Compare Source](https://togithub.com/sverweij/dependency-cruiser/compare/v10.0.2...v10.0.3) #### šŸ‘· maintenance - [`21c68e9`](https://togithub.com/sverweij/dependency-cruiser/commit/21c68e9e) build(npm): :arrow_up: [@​swc/core](https://togithub.com/swc/core), [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin), [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser), acorn, commander, svelte ### [`v10.0.2`](https://togithub.com/sverweij/dependency-cruiser/releases/v10.0.2) [Compare Source](https://togithub.com/sverweij/dependency-cruiser/compare/v10.0.1...v10.0.2) #### šŸ› bug fixes - [`017fd51`](https://togithub.com/sverweij/dependency-cruiser/commit/017fd51e) bugfix(cli): fix --exit-code flag ([#​470](https://togithub.com/sverweij/dependency-cruiser/issues/470)) thanks for the PR [@​neelance](https://togithub.com/neelance) ! #### šŸ‘· maintenance - [`c8a3d4d`](https://togithub.com/sverweij/dependency-cruiser/commit/c8a3d4d9) refactor(swc): consolidate swc call ([#​466](https://togithub.com/sverweij/dependency-cruiser/issues/466)) - [`d379ac6`](https://togithub.com/sverweij/dependency-cruiser/commit/d379ac6e) chore(tools): convert to ESM ([#​464](https://togithub.com/sverweij/dependency-cruiser/issues/464)) - [`f3ce5ea`](https://togithub.com/sverweij/dependency-cruiser/commit/f3ce5eae) build(npm): [@​babel/core](https://togithub.com/babel/core), [@​babel/plugin-transform-modules-commonjs](https://togithub.com/babel/plugin-transform-modules-commonjs), [@​babel/preset-typescript](https://togithub.com/babel/preset-typescript), [@​swc/core](https://togithub.com/swc/core), [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin), [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser), acorn, ajv, eslint, eslint-plugin-import, eslint-plugin-mocha, eslint-plugin-unicorn, inquirer, mocha, semver-try-require, typescript, vue-template-compiler ### [`v10.0.1`](https://togithub.com/sverweij/dependency-cruiser/releases/v10.0.1) [Compare Source](https://togithub.com/sverweij/dependency-cruiser/compare/v10.0.0...v10.0.1) ##### šŸ› bugfixes - [`e5e3a7d`](https://togithub.com/sverweij/dependency-cruiser/commit/e5e3a7d0) bugfix(init): update the doc output of --init experimental-scripts - [`8a86689`](https://togithub.com/sverweij/dependency-cruiser/commit/8a866898) bugfix(resolve): work around enhanced-resolve's hashmark-in-filenames problem ([#​461](https://togithub.com/sverweij/dependency-cruiser/issues/461)) ##### šŸ‘· maintenance - [`9ffbe85`](https://togithub.com/sverweij/dependency-cruiser/commit/9ffbe857) build(npm): :arrow_up: enhanced-resolve, eslint-plugin-unicorn ### [`v10.0.0`](https://togithub.com/sverweij/dependency-cruiser/releases/v10.0.0) [Compare Source](https://togithub.com/sverweij/dependency-cruiser/compare/v9.26.1...v10.0.0) #### šŸ‘·ā€ā™€ļø maintenance ##### [`91e353f`](https://togithub.com/sverweij/dependency-cruiser/commit/91e353f3) 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).
##### Why? - Dependency-cruiser follows the support schedule of nodejs - which de-supported node 10 this month. 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 13 anymore, and soon won't support node 15 any longer. You can safely upgrade to node 14 and 16 respectively (see the [release page](https://nodejs.org/en/about/releases/) on the nodejs website. - Node 12.20 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 12.20, ^14 or >= 16 which is likely. **Low** in all other cases (see _How to migrate_ below) ##### How to migrate If you still are on one node 10.x, 13.x or 15.x there's two options: - upgrade your node version to a supported version (^12, ^14, ^16 or even ^17 when that comes out) - keep using dependency-cruiser@9.26.1
#### šŸ› bugfixes ##### 3fc204d3 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](https://togithub.com/davidparkagoda) who both spotted the error and contributed this bugfix!
##### Why? The previous implementation was (quite obviously, in hindsight) wrong. ##### What is the impact? **None** if you're not using dependents rules with a pathNot attribute. ##### How to migrate - If you intended the new behaviour in the first place you now get the correct behaviour. - If you did not intend it, but instead put the restriction in a pathNot instead of a `path` attribute - rename pathNot to path (or merge the things in path and pathNot if a `path` attribute already existed).

Configuration

šŸ“… Schedule: "after 10pm,before 6am" in timezone Europe/Berlin.

šŸš¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.

ā™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

šŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.