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

build(deps-dev): bump prettier-plugin-java from 0.8.3 to 2.0.0 in /tools #243

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

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Nov 28, 2022

Bumps prettier-plugin-java from 0.8.3 to 2.0.0.

Release notes

Sourced from prettier-plugin-java's releases.

v2.0.0

Breaking changes

  • Drop support of Node.js 12

Enhancements

  • Support pattern matching guards (Issue #535 closed with #559)
// Input
class T {
void test(Buyer other) {
    return switch (other) {
        case null -> true;
        case Buyer b && this.bestPrice > b.bestPrice -> true;
        case Buyer b && this.bestPrice > b.bestPrice -> {
            return true;
        }
        case (Buyer b && this.bestPrice > b.bestPrice) -> true;
        case Buyer b && this.bestPrice > b.bestPrice && this.bestPrice > b.bestPrice && this.bestPrice > b.bestPrice && this.bestPrice > b.bestPrice -> true;
        case Buyer b && this.bestPrice > b.bestPrice && this.bestPrice > b.bestPrice && this.bestPrice > b.bestPrice && this.bestPrice > b.bestPrice -> {
            return true;
        }
        case (Buyer b && this.bestPrice > b.bestPrice && this.bestPrice > b.bestPrice && this.bestPrice > b.bestPrice && this.bestPrice > b.bestPrice) -> true;
        case (Buyer b && this.bestPrice > b.bestPrice && this.bestPrice > b.bestPrice && this.bestPrice > b.bestPrice && this.bestPrice > b.bestPrice) -> {
            return true;
        }
        default -> false;
    };
}

}
// Output
class T {
void test(Buyer other) {
return switch (other) {
case null -> true;
case Buyer b && this.bestPrice > b.bestPrice -> true;
case Buyer b && this.bestPrice > b.bestPrice -> {
return true;
}
case (Buyer b && this.bestPrice > b.bestPrice) -> true;
case Buyer b &&
this.bestPrice > b.bestPrice &&
this.bestPrice > b.bestPrice &&
this.bestPrice > b.bestPrice &&
this.bestPrice > b.bestPrice -> true;
case Buyer b &&
this.bestPrice > b.bestPrice &&
</tr></table>

... (truncated)

Changelog

Sourced from prettier-plugin-java's changelog.

Latest v2.0.0

Breaking changes

  • Drop support of Node.js 12

Enhancements

  • Support pattern matching guards (Issue #535 closed with #559)
// Input
class T {
void test(Buyer other) {
    return switch (other) {
        case null -&gt; true;
        case Buyer b &amp;&amp; this.bestPrice &gt; b.bestPrice -&gt; true;
        case Buyer b &amp;&amp; this.bestPrice &gt; b.bestPrice -&gt; {
            return true;
        }
        case (Buyer b &amp;&amp; this.bestPrice &gt; b.bestPrice) -&gt; true;
        case Buyer b &amp;&amp; this.bestPrice &gt; b.bestPrice &amp;&amp; this.bestPrice &gt; b.bestPrice &amp;&amp; this.bestPrice &gt; b.bestPrice &amp;&amp; this.bestPrice &gt; b.bestPrice -&gt; true;
        case Buyer b &amp;&amp; this.bestPrice &gt; b.bestPrice &amp;&amp; this.bestPrice &gt; b.bestPrice &amp;&amp; this.bestPrice &gt; b.bestPrice &amp;&amp; this.bestPrice &gt; b.bestPrice -&gt; {
            return true;
        }
        case (Buyer b &amp;&amp; this.bestPrice &gt; b.bestPrice &amp;&amp; this.bestPrice &gt; b.bestPrice &amp;&amp; this.bestPrice &gt; b.bestPrice &amp;&amp; this.bestPrice &gt; b.bestPrice) -&gt; true;
        case (Buyer b &amp;&amp; this.bestPrice &gt; b.bestPrice &amp;&amp; this.bestPrice &gt; b.bestPrice &amp;&amp; this.bestPrice &gt; b.bestPrice &amp;&amp; this.bestPrice &gt; b.bestPrice) -&gt; {
            return true;
        }
        default -&gt; false;
    };
}

}
// Output
class T {
void test(Buyer other) {
return switch (other) {
case null -> true;
case Buyer b && this.bestPrice > b.bestPrice -> true;
case Buyer b && this.bestPrice > b.bestPrice -> {
return true;
}
case (Buyer b && this.bestPrice > b.bestPrice) -> true;
case Buyer b &&
this.bestPrice > b.bestPrice &&
this.bestPrice > b.bestPrice &&
this.bestPrice > b.bestPrice &&
this.bestPrice > b.bestPrice -> true;
case Buyer b &&
</tr></table>

... (truncated)

Commits
  • d1d1e41 Publish
  • 4dd9016 chore: update CHANGELOG
  • bc41613 refactor: prepare migration to Prettier v3
  • 8d7b901 build(deps): bump node-fetch from 2.6.1 to 2.6.7 (#540)
  • 3735953 build(deps): bump trim-off-newlines from 1.0.1 to 1.0.3 (#539)
  • ea0005a build(deps): bump path-parse from 1.0.6 to 1.0.7 (#494)
  • 2f9d09c build(deps): bump minimatch from 3.0.4 to 3.0.5 (#562)
  • a331886 Chore/update dependencies (#560)
  • a36b2cc feat(printer): add guarded pattern matching support
  • bfdc38e feat(parser): support pattern matching guards
  • 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 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 [prettier-plugin-java](https://github.com/jhipster/prettier-java) from 0.8.3 to 2.0.0.
- [Release notes](https://github.com/jhipster/prettier-java/releases)
- [Changelog](https://github.com/jhipster/prettier-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jhipster/prettier-java/compare/v0.8.3...prettier-plugin-java@2.0.0)

---
updated-dependencies:
- dependency-name: prettier-plugin-java
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from theswerd as a code owner November 28, 2022 05:01
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Nov 28, 2022

The following labels could not be found: t:deps, a:dev-workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
0 participants