Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency dependency-cruiser to v9.26.1 #92

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Sep 20, 2020

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
dependency-cruiser 9.14.0 -> 9.26.1 age adoption passing confidence

Release Notes

sverweij/dependency-cruiser

v9.26.1

Compare Source

👷 maintenance

v9.26.0

Compare Source

🌟 features

  • 1d1f9b4 feature(extract): adds basic support for ESM urls (a.o. the node: protocol) (#​457)

With this feature dependency-cruiser also recognises things like import * as fs from 'node:fs' (which works from node 12.20) and const { 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 matrices
  • 3bfe6ad build(npm): ⬆️ @​babel/core, @​swc/core, acorn, acorn-loose, acorn-walk, chalk, eslint, eslint-config-prettier, eslint-plugin-unicorn, get-stream
  • cf1154e 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

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

v9.24.0

Compare Source

🌟 Features

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 the shared 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):

// ...
  {
    name: "no-unshared-in-shared",
    from: { 
      path: "^src",
      pathNot: "^src/shared"
    },
    module: {
      path: "^src/shared",
      numberOfDependentsLessThan: 2
    }
  },
// ...

You can read more about it in the rules reference on dependents rules and in the illustrated recipes.

🐛 Bugfixes

🧑‍🏭 Maintenance

v9.23.3

Compare Source

📖 documentation

👷 maintenance

v9.23.2

Compare Source

🐛 bugfixes

  • c17007a bugfix(enrich): adds support for capturing groups on 'reachable' rules (#​443)

👷‍♀️ maintenance

v9.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 script
  • 4f2f02f bugfix(plugin): make local plugins work better on on windows (#​441)

👷 maintenance

v9.23.0

Compare Source

🌟 features

  • feature: adds plumbing for reporter plugins (#​439)
    This adds the possibility to have depcruise and depcruise-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

  • bugfix(extract): makes baseDir option usable from API and config (#​438) - thanks @​gaggle for the pull request!

📖 documentation

  • doc(real-world-samples): make the react graph easier to reproduce

👷 maintenance

  • test: adds non-regresion test for #​437

v9.22.1

Compare Source

🐛 bugfixes

  • bugfix(report/dot): fixes bug where multiple runs leak theme modules (#​437) (thanks @​gaggle for the PR!)
  • bugfix(report): adds 'flat' as a reporter options type to the json schema and typescript definitions

📖 documentation

  • doc: adds a separate entry to the FAQ on seemingly partialy cruised (TypeScipt) graphs
  • doc: updates the state-machine-cat real world sample

🔧 maintenance

v9.22.0

Compare Source

🌟 features

  • feature(render): adds a 'flat' graph reporter (#​432)

🐛 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!

    • refactor(transpile): also pass a filename to the transpilers (#​428)
    • bugfix(babel): re-add presets to config after running babel.loadConfig (#​431)
      (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

  • perf: limit external manifest resolution to positively external modules only (#​425)

🐛 bug fixes

  • bugfix(main): relax the check to load tsconfig-paths-plugin (#​427) (thanks @​fabb and @​lwolle for filing the (clear and complete) issues this fix solves and for validating it as a fix!)
  • bugfix(babel): also pass a filename to babel when parsing a babel config (#​423) (thanks to @​lwolle for filing the issue)

🧑‍🏭 regular maintenance

v9.21.6

Compare Source

🚀 performance improvements

  • perf: restricts requiring init-config (+ inquirer) to when it's necessary (#​420)
    (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

  • perf(resolve): only load tsconfig-paths-plugin when there's at least one defined path (#​419)

🔧 maintenance

v9.21.4

Compare Source

🐛 bugfixes

  • bugfix(init): explicitly pass no params to ts config detector (#​417) - thanks @​bx-ali for raising the issue!!

v9.21.3

Compare Source

🚀 performance improvements

In order of impact:

  • build(npm): ⬇️ enhanced-resolve to 5.1.0 (#​415)
    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.
  • perf(resolve): limits the #times external manifests are retrieved (#​413)
  • perf(resolve): only read license/ deprecation when used in rule set (#​412)
  • perf(resolve): reduces #extensions enhanced-resolve tries for manifest resolution
  • perf(resolve): only calculate exoticRequire strings once

📖 documentation

  • doc(samples): updates the config for react and yarn(berry)

⛏️ maintenance

v9.21.2

Compare Source

🐛 bugfixes

  • bugfix(babel): gives babel plugins a filename to work with (#​411) (thanks to @​mesteche for raising the issue & testing the fix!)
  • bugfix(types): makes corections and additions to the ICruiseOptions interface

👩‍🏭 refactoring

  • refactor(init): types the init config slightly better

v9.21.1

Compare Source

☄️ performance improvements

  • refactor(extract): excludes excludable file name patterns earlier (#​408)
    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

  • doc(config): adds declaration to types & tools dc configs

🎅 maintenance

  • chore(ci): reduce the scanned extensions in dc's ow config to the ones actually used
  • bugfix(init): correct typo's in template

v9.21.0

Compare Source

🌟 Features

  • feature(resolve): improves support for package entry points (#​407)
  • feature(init): types the generated .dependency-cruiser.js
    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:

/** @​type {import('dependency-cruiser').IConfiguration} */
module.exports = {
  forbidden: [
    ...
  ],
  options: {
    ...
  }
}

If you're using a .json configuration - if you point it to the location of the schema (with the "$schema" attribute at root level)
it'll get you code completion as well

 {
   "$schema": "https://raw.githubusercontent.com/sverweij/dependency-cruiser/master/src/schema/configuration.schema.json",
   "forbidden": [
     ...
   ],
   "options": {
     ...
   }
}

Do upgrade to 9.21.0 for this to work, though.

👷‍♀️ Maintenance

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

  • bugfix(doc): fixes links in pull request template
  • bugfix(extract): filter invalid symlinks (#​405) (thanks to @​dword-design for detecting the issue and fixing it!!)

⚒️ maintenance

v9.19.0

Compare Source

🌟 features

  • feature(cli): adds showing % complete in cli-feedback (#​403)
  • refactor(cli): exposes config extraction to the outside world (#​402)
    this uses the exports feature which means two things:
    • if you want to use the newly exposed config extraction functions (e.g. the one defined in dependency-cruiser/config-utl/extract-ts-config), you need to be on a fairly recent version of node; ^12.19 || >=14.17
    • deep imports from dependency-cruiser's code base (that were never supported in the first place) won't work anymore.

🧰 maintenance

v9.18.0

Compare Source

🌟 features

  • feature: adds support for svelte single file components (#​393) - thanks @​truongsinh for starting of the pull request!

🛠️ maintenance

v9.17.1

Compare Source

🐛 bugfixes

  • bugfix(validate): also correctly validate situations where 'moreThanOneDependencyType' equals false (#​400) - thanks to @​lo1tuma for raising the issue and validating the fix)
  • bugfix(extract): use acorn-jsx for parsing jsx (instead of acorn + acorn-loose) (#​396) - thanks to @​audunsol for raising the issue and the detailed feedback on the fix)

🔧 maintenance

  • refactor(enrich): put summarization in separate folder (#​397)
  • build(npm): removes redundant /'s from the files config

v9.17.0

Compare Source

🌟 Features

  • feature(extract): adds support for webpack inline loaders and require.js plugins (#​390)
    Thanks to @​tvolodimir for requesting this feature.

🚀 Refactoring/ speed improvements

  • refactor(extract): call path-to-posix less often (#​389)
    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

  • feature(init): updates deprecated core modules to match node 14 (#​380) (thanks @​Winner95 !)
  • feature(init): updates pattern for matching test files in initial config (#​381) (thanks @​dignite !)

📖 documentation

  • bugfix(doc): consistently use .dependency-cruiser.js as config file name (#​384)

🛠️ maintenance

v9.15.1

Compare Source

🔧 maintenance

v9.15.0

Compare Source

🌟 features

  • feature(cli): adds a --progress option to the cli (#​376)

🐛 bugfixes

  • bugfix(wrap-stream-in-html): also highlight in graphs that have only folders (ddot) (#​375)
  • bugfix(report): make the err-long reporter print comments again (#​377)

📖 documentation

  • doc(real-world-samples): updates the react and yarn/berry graphs (#​374) (thanks to @​Guzzler)
  • doc(options-reference): add the 'collapse' option to the index
  • doc(README): adds options reference link to the Usage section

🔧 maintenance

v9.14.1

Compare Source

🐛 bugfixes

  • bugfix(resolve): don't count regular and @​types in package.json as two separate things (#​369)
    => this fixes a bug that caused false positives on the default packaged rules no-duplicate-dep-types and not-to-dev-dep in some typescript based projects that separately installed @​types as development dependencies.

🔧 maintenance

  • build(npm): ⬆️ enhanced-resolve, eslint-plugin-unicorn, typescript
  • refactor(resolve): consolidate resolution classifiers (#​368)

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.


  • If you want to rebase/retry this PR, check this box.

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

@renovate renovate bot force-pushed the renovate/dependency-cruiser-9.x branch from abe50dc to f04fd82 Compare October 4, 2020 15:18
@renovate renovate bot changed the title chore(deps): update dependency dependency-cruiser to v9.14.1 chore(deps): update dependency dependency-cruiser to v9.15.0 Oct 4, 2020
@renovate renovate bot force-pushed the renovate/dependency-cruiser-9.x branch from f04fd82 to d537dac Compare October 18, 2020 19:52
@renovate renovate bot changed the title chore(deps): update dependency dependency-cruiser to v9.15.0 chore(deps): update dependency dependency-cruiser to v9.15.1 Oct 18, 2020
@renovate renovate bot force-pushed the renovate/dependency-cruiser-9.x branch from d537dac to 2168d2a Compare November 1, 2020 19:14
@renovate renovate bot changed the title chore(deps): update dependency dependency-cruiser to v9.15.1 chore(deps): update dependency dependency-cruiser to v9.16.0 Nov 1, 2020
@renovate renovate bot force-pushed the renovate/dependency-cruiser-9.x branch from 2168d2a to 601ace3 Compare November 8, 2020 13:47
@renovate renovate bot changed the title chore(deps): update dependency dependency-cruiser to v9.16.0 chore(deps): update dependency dependency-cruiser to v9.17.0 Nov 8, 2020
@renovate renovate bot force-pushed the renovate/dependency-cruiser-9.x branch from 601ace3 to 630287c Compare November 20, 2020 18:16
@renovate renovate bot changed the title chore(deps): update dependency dependency-cruiser to v9.17.0 chore(deps): update dependency dependency-cruiser to v9.17.1 Nov 20, 2020
@renovate renovate bot force-pushed the renovate/dependency-cruiser-9.x branch from 630287c to 68c054f Compare December 9, 2020 17:59
@renovate renovate bot changed the title chore(deps): update dependency dependency-cruiser to v9.17.1 chore(deps): update dependency dependency-cruiser to v9.19.0 Dec 9, 2020
@renovate renovate bot force-pushed the renovate/dependency-cruiser-9.x branch from 68c054f to b65a574 Compare January 6, 2021 21:59
@renovate renovate bot changed the title chore(deps): update dependency dependency-cruiser to v9.19.0 chore(deps): update dependency dependency-cruiser to v9.21.4 Jan 6, 2021
@renovate renovate bot force-pushed the renovate/dependency-cruiser-9.x branch from b65a574 to 4611694 Compare January 24, 2021 11:00
@renovate renovate bot changed the title chore(deps): update dependency dependency-cruiser to v9.21.4 chore(deps): update dependency dependency-cruiser to v9.21.7 Jan 24, 2021
@renovate renovate bot force-pushed the renovate/dependency-cruiser-9.x branch from 4611694 to 6c9bbc8 Compare February 3, 2021 10:53
@renovate renovate bot changed the title chore(deps): update dependency dependency-cruiser to v9.21.7 chore(deps): update dependency dependency-cruiser to v9.22.0 Feb 3, 2021
@renovate renovate bot force-pushed the renovate/dependency-cruiser-9.x branch from 6c9bbc8 to f08f22f Compare February 8, 2021 23:56
@renovate renovate bot changed the title chore(deps): update dependency dependency-cruiser to v9.22.0 chore(deps): update dependency dependency-cruiser to v9.23.0 Feb 8, 2021
@renovate renovate bot force-pushed the renovate/dependency-cruiser-9.x branch from f08f22f to 46d22f9 Compare April 26, 2021 13:11
@renovate renovate bot changed the title chore(deps): update dependency dependency-cruiser to v9.23.0 chore(deps): update dependency dependency-cruiser to v9.26.0 Apr 26, 2021
@renovate renovate bot force-pushed the renovate/dependency-cruiser-9.x branch from 46d22f9 to e34de09 Compare May 9, 2021 23:24
@renovate renovate bot changed the title chore(deps): update dependency dependency-cruiser to v9.26.0 chore(deps): update dependency dependency-cruiser to v9.26.1 May 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant