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

Bump dependency-cruiser from 15.5.0 to 16.0.0 #129

Merged
merged 1 commit into from
Dec 29, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 28, 2023

Bumps dependency-cruiser from 15.5.0 to 16.0.0.

Release notes

Sourced from dependency-cruiser's releases.

v16.0.0

⚡ Is this release breaking for me?

TL;DR: Not likely, if you only use the command line interface

👩 I use the command line interface

When you have rules defined on dependency type type-only or on the aliased-* ones, dependency-cruiser might start to report issues it didn't in previous versions as it now more precisely detects those.

  • 03bdda23 fix(resolve)!: makes alias type derivation more correct and precise BREAKING (#867)
  • 19033e87 feat(extract)!: detect 'type-only' with inline imports/exports - BREAKING (#875) (@​alvaro-cuesta)

🤖 I use the API

  • 05d97951 feat!: restructures the via* sub-restrictions to also accept & validate against dependency types (BREAKING for API users) (#894). See rules-reference.md#circular for details.

    • before: in rules cycles can be restricted with the restrictions via, viaOnly, viaNot and viaSomeNot, each of which would accept a regular expression (or an array of them) to match against the module names in the cycle.
    • after: in rules cycles can be restricted with the restrictions via and viaOnly each of which takes an object with the following properties:
      • path: a regular expression (or an array of them) to match against the module names in the cycle.
      • pathNot: a regular expression (or an array of them) to match against the module names in the cycle.
      • dependencyTypes: an array of strings (dependency types) match against the dependency types in the cycle.
      • dependencyTypesNot: an array of strings (dependency types) match against the dependency types in the cycle.
  • c6421e3c feat!: makes entries in 'cycle' contain more information (BREAKING for API users) (#888)

    • before: a cycle in the dependency graph would be reported as an array of strings (the module names)
    • after: a cycle in the dependency graph is reported as an array of objects with the following properties:
      • name: the name of the module
      • dependencyTypes: the types of dependency the module has with the previous module in the cycle.
  • e8cda75a feat!: makes entries in reachability via's contain more information (BREAKING for API users) (#895)

    • before: a route ('via') in the dependency graph would be reported as an array of strings (the module names)
    • after: a route ('via') in the dependency graph is reported as an array of objects with the following properties:
      • name: the name of the module
      • dependencyTypes: the types of dependency the module has with the previous module in the route.

❤️ Thanks

  • @​camillef - for raising the clear & complete issue that asks to check against dependency types over the entire cycle for circular dependencies
  • @​alvaro-cuesta - for the PR that made the type-only detection more precise
  • @​throrin19 - for raising #863 that led to better detection of aliased-* dependencies and for testing the fixes
  • @​stelescuraul - on adding a test case for workspace aliases on that issue and for testing the fixes for them

... (truncated)

Commits
  • 0d70164 16.0.0
  • c5eea78 chore(test): raises branch coverage limit
  • bfb3e2b build(npm): updates external dependencies
  • 52dee75 doc(types): swaps the comments for via and viaOnly
  • 7af8569 revert 'feat(init): reduces the moduleSystems in the template to cjs and es6'
  • e8cda75 feat!: makes entries in reachability via's contain more information (BREAKING...
  • 05d9795 feat!: restructures the via* sub-restrictions to also accept & validate again...
  • 97e7c03 doc(options-reference): fix typo in swc dependency (#893)
  • 0278445 feat(extract): adds "pre-compilation-only" to the dependencyTypes as well, wh...
  • 7ddf2db feat(cache): adds cache format version & checks against it (#891)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [dependency-cruiser](https://github.com/sverweij/dependency-cruiser) from 15.5.0 to 16.0.0.
- [Release notes](https://github.com/sverweij/dependency-cruiser/releases)
- [Changelog](https://github.com/sverweij/dependency-cruiser/blob/main/CHANGELOG.md)
- [Commits](sverweij/dependency-cruiser@v15.5.0...v16.0.0)

---
updated-dependencies:
- dependency-name: dependency-cruiser
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 28, 2023
Copy link

Updated dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
dependency-cruiser 15.5.0...16.0.0 None +2/-2 706 kB sverweij

@coveralls
Copy link

Pull Request Test Coverage Report for Build 7351949304

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 91.019%

Totals Coverage Status
Change from base Build 7351433423: 0.0%
Covered Lines: 2468
Relevant Lines: 2673

💛 - Coveralls

@bcomnes bcomnes merged commit 44cf2b3 into master Dec 29, 2023
6 checks passed
@bcomnes bcomnes deleted the dependabot/npm_and_yarn/dependency-cruiser-16.0.0 branch December 29, 2023 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants