chore(deps): update dependency dependency-cruiser to v9.26.1 #92
+157
−94
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
9.14.0
->9.26.1
Release Notes
sverweij/dependency-cruiser
v9.26.1
Compare Source
👷 maintenance
7488a38
doc(plugins): adds an example 3d reporter pluginca2f303
/1fb78cf
build(npm): ⬆️ @babel/core, @babel/plugin-transform-modules-commonjs, acorn, ajv, sveltee40453e
test(transpile): adjust babel fixture to latest transpiler outputv9.26.0
Compare Source
🌟 features
1d1f9b4
feature(extract): adds basic support for ESM urls (a.o. thenode:
protocol) (#457)With this feature dependency-cruiser also recognises things like
import * as fs from 'node:fs'
(which works from node 12.20) andconst { readFileSync } = require('node:fs')
(which works from node 16). See this issue in the nodejs repo to see why this might be useful and why it might get more commonplace.🐛 bugfixes
201ae05
bugfix(cli): adds .cjs as a supported config format (#456)👷♀️ maintenance
d9c485f
chore(actions): use node 16 as default, drop node 15 from build matrices3bfe6ad
build(npm): ⬆️ @babel/core, @swc/core, acorn, acorn-loose, acorn-walk, chalk, eslint, eslint-config-prettier, eslint-plugin-unicorn, get-streamcf1154e
build(npm): ⬇️ symlink-dir (as it didn't work on node 10 anymore, while we will still support that for a few weeks)v9.25.1
Compare Source
🐛 bugfixes
3ce2a7d
bugfix(transpile): when swc is there also cite typescript as supported extensions (#455)👷 maintenance
6a7d12c
build(npm): ⬆️ @babel/core, @swc/core, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, acorn, ajv, eslint, symlink-dir, typescript☝️ nice: acorn lost 600Kb of its weight over the last version bump because of this PR in acorn. This should make dependency-cruiser a bit faster to install 😃
e08391a
refactor(swc): adds typeAnnotation detection, refactors (#453)v9.25.0
Compare Source
🌟 features
dd40f69
feature(parse): adds swc as an alternative to the acorn and tsc parsers (#451) (also 🚀 performance improvement...)19a73ba
feature(validate): adds a dependents count more than check (#450)📖 documentation
1596a77
bufgfix(doc): correct some typos👷 maintenance
5892678
build(npm): ⬆️ @babel/core, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, ajv, eslint, semver, sveltev9.24.0
Compare Source
🌟 Features
59fdb49
feature(validate): adds a dependents count validation (#449) - thanks @davidparkagoda for the suggestion and the first validation!641a7c2
feature(enrich): adds dependents to each module (#446)With these changes you can now define rules on the number of dependents a module must have. E.g. with this rule in the
forbidden
section, you can ensure modules in theshared
folder are used at least twice (and if it drops below that you can move them to the sole dependent or remove the module altogether):You can read more about it in the rules reference on dependents rules and in the illustrated recipes.
🐛 Bugfixes
ce5342f
bugfix(doc): corrects a typo (#447)🧑🏭 Maintenance
e0e9f69
/4f470be
build(npm): @typescript-eslint/eslint-plugin, @typescript-eslint/parser, ajv, chai, commander, eslint, eslint-plugin-unicorn, mocha, tsconfig-paths-webpack-plugin577d8c4
chore: removes a superfluous filev9.23.3
Compare Source
📖 documentation
7e5cb50
doc: adds some 'recipes' to the tutorial (#444)👷 maintenance
490664d
build(npm): ⬆️ ajv, semver-try-require, @babe/core, @babe/plygin-transform-modules-commonjs, @babel/preset-typescript, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, acorn, ajv, eslint, eslint-plugin-mocha, mocha, svelte, typescriptv9.23.2
Compare Source
🐛 bugfixes
c17007a
bugfix(enrich): adds support for capturing groups on 'reachable' rules (#443)👷♀️ maintenance
6df6dab
build(npm): ⬆️ ajv, lodash, @babel/core, @babel/preset-typescript, eslint-config-moving-meadow, eslint-plugin-unicornv9.23.1
Compare Source
🚀 performance improvements
c6a0d0f
perf(enrich): stop searching for reachables when one is found🐛 bug fixes
8918dfe
bugfix(package.json): fixes typo in a run script4f2f02f
bugfix(plugin): make local plugins work better on on windows (#441)👷 maintenance
2a55d63
refactor(config-utl): replaces _.isEqual with util.isDeepStrictEqualc33e212
build(npm): ⬆️ ajv, commander, handlebars, @babe/core, @babel/preset-typescript, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint, eslint-plugin-unicorn, mocha, svelte, typescriptv9.23.0
Compare Source
🌟 features
This adds the possibility to have
depcruise
anddepcruise-fmt
use a reporter that is not shipped with dependency-cruiser via a simple plugin system. See the PR and the FAQ entry for details.🐛 bugfixes
📖 documentation
👷 maintenance
v9.22.1
Compare Source
🐛 bugfixes
📖 documentation
🔧 maintenance
v9.22.0
Compare Source
🌟 features
🐛 bugfixes
Two fixes that makes using babel with TypeScript possible (with @babel/config-typescript) - thanks to @lwolle for providing the reproduction repo to test this against!
(this is a workaround on what seems like an unexpected side-effect of the babel-api, that might warrant an upstream fix)
bugfix(parse): for the typescript-via-acorn route pass jsx'ness of the original source (#433)
🏗️ maintenance
v9.21.7
Compare Source
🚀 performance improvements
🐛 bug fixes
🧑🏭 regular maintenance
v9.21.6
Compare Source
🚀 performance improvements
(saves ~100ms in start-up time on a 2,6 GHz Quad-Core i7 running macOS with an ssd, likely more on similar windows machines, judging runs of the ci ~400ms)
v9.21.5
Compare Source
🚀 performance improvements
🔧 maintenance
v9.21.4
Compare Source
🐛 bugfixes
v9.21.3
Compare Source
🚀 performance improvements
In order of impact:
With version 5.2.0 (and up) dependency-cruiser is _significantly_ slower than with earlier versions of the 5 major. The self cruise with her 5.2.0 takes ~8s, with 5.1.0 it takes ~3s. Might be worth it to issue a PR on enhanced-resolve to remedy that. Until then dc will be using 5.1.0.
📖 documentation
⛏️ maintenance
v9.21.2
Compare Source
🐛 bugfixes
👩🏭 refactoring
v9.21.1
Compare Source
☄️ performance improvements
In cases where your exclude/ doNotFollow patterns happen to match the arguments to the depcruise command this can reduce running time, sometimes quite dramatically so. Thanks to @curledUpSheep for noticing and proposing & testing the improvement.
🎄 documentation
🎅 maintenance
v9.21.0
Compare Source
🌟 Features
Newly generated
.dependency-cruiser.js
get a comment on top that declares the type of the exported object. In editors that support this, this will grow you code completion for the configuration.You can use this type declaration in your own
.dependency-cruiser.js
configurations too:Where is version 9.20.0?
20 has proven to be an unlucky number this year, so we skipped it.
v9.19.1
Compare Source
🐛 bugfixes
⚒️ maintenance
v9.19.0
Compare Source
🌟 features
this uses the exports feature which means two things:
dependency-cruiser/config-utl/extract-ts-config
), you need to be on a fairly recent version of node;^12.19 || >=14.17
🧰 maintenance
v9.18.0
Compare Source
🌟 features
🛠️ maintenance
v9.17.1
Compare Source
🐛 bugfixes
🔧 maintenance
v9.17.0
Compare Source
🌟 Features
Thanks to @tvolodimir for requesting this feature.
🚀 Refactoring/ speed improvements
When you happen to run on an MS-DOS derivative operating system , this tends to improve performance of reading files a bit (on an i5 laptop with windows 10 & a corporate virus scanner it saves ~4 of the 32s it took to cruise dependency-cruiser on itself. For comparison: on a similar machine with linux it takes ~9s regardless of the refactoring). Thanks to @tvolodimir for identifying the issue and doing detailed research that led to this improvement. More improvements for running on ms-dos derivative OS's might be following later.
⚒️ maintenance
v9.16.0
Compare Source
🌟 features
📖 documentation
🛠️ maintenance
v9.15.1
Compare Source
🔧 maintenance
v9.15.0
Compare Source
🌟 features
🐛 bugfixes
📖 documentation
🔧 maintenance
v9.14.1
Compare Source
🐛 bugfixes
=> this fixes a bug that caused false positives on the default packaged rules
no-duplicate-dep-types
andnot-to-dev-dep
in some typescript based projects that separately installed @types as development dependencies.🔧 maintenance
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 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.