BranchMetrics / capacitor-branch-deep-links

Capacitor plugin for branch.io deep links
MIT License
32 stars 44 forks source link

build(deps-dev): bump prettier-plugin-java from 0.8.3 to 2.0.0 #72

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

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)
dependabot[bot] commented 1 year ago

The following labels could not be found: npm prod dependencies, dependabot-PR.

dependabot[bot] commented 1 year ago

Superseded by #87.