makenowjust-labs / recheck

The trustworthy ReDoS checker
https://makenowjust-labs.github.io/recheck/
MIT License
246 stars 12 forks source link

Update dependency org.scalameta:scalafmt-core_2.13 to v3.8.1 #1217

Closed renovate[bot] closed 6 months ago

renovate[bot] commented 6 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.scalameta:scalafmt-core_2.13 3.8.0 -> 3.8.1 age adoption passing confidence

[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

scalameta/scalafmt (org.scalameta:scalafmt-core_2.13) ### [`v3.8.1`](https://togithub.com/scalameta/scalafmt/releases/tag/v3.8.1) [Compare Source](https://togithub.com/scalameta/scalafmt/compare/v3.8.0...v3.8.1) ##### New features - ScalafmtOptimizer: rename forceConfigStyleOnOffset ([#​3874](https://togithub.com/scalameta/scalafmt/issues/3874)) [@​kitbellew](https://togithub.com/kitbellew) - RemoveScala3OptionalBraces: handle fewer braces ([#​3815](https://togithub.com/scalameta/scalafmt/issues/3815)) [@​kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: check rewritten tokens sorted ([#​3871](https://togithub.com/scalameta/scalafmt/issues/3871)) [@​kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: simplify claiming on right ([#​3870](https://togithub.com/scalameta/scalafmt/issues/3870)) [@​kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: track source index explicitly ([#​3869](https://togithub.com/scalameta/scalafmt/issues/3869)) [@​kitbellew](https://togithub.com/kitbellew) - RedundantBraces: remove parens and trailing comma ([#​3868](https://togithub.com/scalameta/scalafmt/issues/3868)) [@​kitbellew](https://togithub.com/kitbellew) - Router: break on `(lambda` to keep trailing comma ([#​3855](https://togithub.com/scalameta/scalafmt/issues/3855)) [@​kitbellew](https://togithub.com/kitbellew) - FormatOps: fix leading infix before fewer braces ([#​3859](https://togithub.com/scalameta/scalafmt/issues/3859)) [@​kitbellew](https://togithub.com/kitbellew) - FormatWriter: trailing comma with a removed paren ([#​3858](https://togithub.com/scalameta/scalafmt/issues/3858)) [@​kitbellew](https://togithub.com/kitbellew) - FormatWriter: keep braces if trailingCommas=Always ([#​3856](https://togithub.com/scalameta/scalafmt/issues/3856)) [@​kitbellew](https://togithub.com/kitbellew) - RedundantBraces: claim left brace inside parens ([#​3867](https://togithub.com/scalameta/scalafmt/issues/3867)) [@​kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: return index, vs rule applied ([#​3866](https://togithub.com/scalameta/scalafmt/issues/3866)) [@​kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: onRight proxy in Replacement ([#​3865](https://togithub.com/scalameta/scalafmt/issues/3865)) [@​kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: pass FormatToken to resurrect ([#​3864](https://togithub.com/scalameta/scalafmt/issues/3864)) [@​kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: `claim` implicit FormatToken ([#​3863](https://togithub.com/scalameta/scalafmt/issues/3863)) [@​kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: reuse index claimed earlier ([#​3860](https://togithub.com/scalameta/scalafmt/issues/3860)) [@​kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: obtain rule from Replacement ([#​3862](https://togithub.com/scalameta/scalafmt/issues/3862)) [@​kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: token index in Replacement ([#​3861](https://togithub.com/scalameta/scalafmt/issues/3861)) [@​kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: token map expects left token ([#​3857](https://togithub.com/scalameta/scalafmt/issues/3857)) [@​kitbellew](https://togithub.com/kitbellew) - Test preserving non-folding trailing comma ([#​3849](https://togithub.com/scalameta/scalafmt/issues/3849)) [@​kitbellew](https://togithub.com/kitbellew) - RewriteTrailingCommas: take over check, refactor ([#​3854](https://togithub.com/scalameta/scalafmt/issues/3854)) [@​kitbellew](https://togithub.com/kitbellew) - TreeOps: rename, improve `endsWithFewerBraces` ([#​3853](https://togithub.com/scalameta/scalafmt/issues/3853)) [@​kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: define `Replacement.isRemove` ([#​3851](https://togithub.com/scalameta/scalafmt/issues/3851)) [@​kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: add getClaimed method ([#​3848](https://togithub.com/scalameta/scalafmt/issues/3848)) [@​kitbellew](https://togithub.com/kitbellew) - Rewrite rules: pass FormatTokens as implicit ([#​3847](https://togithub.com/scalameta/scalafmt/issues/3847)) [@​kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: find only enabled rules ([#​3846](https://togithub.com/scalameta/scalafmt/issues/3846)) [@​kitbellew](https://togithub.com/kitbellew) - RemoveScala3OptionalBraces: allow leading infix op ([#​3840](https://togithub.com/scalameta/scalafmt/issues/3840)) [@​kitbellew](https://togithub.com/kitbellew) - RedundantBraces: fix "moving" braces around func ([#​3834](https://togithub.com/scalameta/scalafmt/issues/3834)) [@​kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: ScalafmtConfig in Replacement ([#​3838](https://togithub.com/scalameta/scalafmt/issues/3838)) [@​kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: update claims in `onRight` ([#​3835](https://togithub.com/scalameta/scalafmt/issues/3835)) [@​kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: "claim" index in `tokens` ([#​3830](https://togithub.com/scalameta/scalafmt/issues/3830)) [@​kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: move Rule into Replacement ([#​3828](https://togithub.com/scalameta/scalafmt/issues/3828)) [@​kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: keep each token's replacement ([#​3827](https://togithub.com/scalameta/scalafmt/issues/3827)) [@​kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: sort rule factories ([#​3826](https://togithub.com/scalameta/scalafmt/issues/3826)) [@​kitbellew](https://togithub.com/kitbellew) - FormatWriter: mind rewritten tokens for {} -> () ([#​3822](https://togithub.com/scalameta/scalafmt/issues/3822)) [@​kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: include all rules in Session ([#​3816](https://togithub.com/scalameta/scalafmt/issues/3816)) [@​kitbellew](https://togithub.com/kitbellew) - RemoveScala3OptionalBraces: move next token check ([#​3814](https://togithub.com/scalameta/scalafmt/issues/3814)) [@​kitbellew](https://togithub.com/kitbellew) - RewriteScala3Settings: expand RemoveOptionalBraces ([#​3813](https://togithub.com/scalameta/scalafmt/issues/3813)) [@​kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: add `createIfRequested()` ([#​3808](https://togithub.com/scalameta/scalafmt/issues/3808)) [@​kitbellew](https://togithub.com/kitbellew) - SortSettings: implement the `styleGuide` preset ([#​3797](https://togithub.com/scalameta/scalafmt/issues/3797)) [@​kitbellew](https://togithub.com/kitbellew) - SortSettings: add `erased` ([#​3796](https://togithub.com/scalameta/scalafmt/issues/3796)) [@​kitbellew](https://togithub.com/kitbellew) ##### Bug fixes - Scalameta: upgrade to v4.9.3 ([#​3875](https://togithub.com/scalameta/scalafmt/issues/3875)) [@​kitbellew](https://togithub.com/kitbellew) - Scalameta: upgrade to v4.9.2 ([#​3839](https://togithub.com/scalameta/scalafmt/issues/3839)) [@​kitbellew](https://togithub.com/kitbellew) ##### Miscellaneous - Docs: use parens, not brackets for `since vX.Y.Z` ([#​3873](https://togithub.com/scalameta/scalafmt/issues/3873)) [@​kitbellew](https://togithub.com/kitbellew) - Docs: mention version for `fewerBracesMin/MaxSpan` ([#​3872](https://togithub.com/scalameta/scalafmt/issues/3872)) [@​kitbellew](https://togithub.com/kitbellew) - Replace scalafiddle reference with scastie ([#​3843](https://togithub.com/scalameta/scalafmt/issues/3843)) [@​sake92](https://togithub.com/sake92) - LoggerOps: use Token.structure for logging ([#​3850](https://togithub.com/scalameta/scalafmt/issues/3850)) [@​kitbellew](https://togithub.com/kitbellew) - FormatOps: simplify `functionExpire` ([#​3841](https://togithub.com/scalameta/scalafmt/issues/3841)) [@​kitbellew](https://togithub.com/kitbellew) - FormatTokens: modify getHead/getLast ([#​3837](https://togithub.com/scalameta/scalafmt/issues/3837)) [@​kitbellew](https://togithub.com/kitbellew) - TreeOps: extract both braces in SingleArgInBraces ([#​3836](https://togithub.com/scalameta/scalafmt/issues/3836)) [@​kitbellew](https://togithub.com/kitbellew) - FormatTokens: add nextNonCommentAfter ([#​3833](https://togithub.com/scalameta/scalafmt/issues/3833)) [@​kitbellew](https://togithub.com/kitbellew) - FormatTokens: import TokenOps.\_ ([#​3832](https://togithub.com/scalameta/scalafmt/issues/3832)) [@​kitbellew](https://togithub.com/kitbellew) - FormatTokens: getDelimsIfEnclosed ([#​3831](https://togithub.com/scalameta/scalafmt/issues/3831)) [@​kitbellew](https://togithub.com/kitbellew) - DynamicSuite: test newer versions without problems ([#​3823](https://togithub.com/scalameta/scalafmt/issues/3823)) [@​kitbellew](https://togithub.com/kitbellew) - `:` could be from the single term in ArgClause ([#​3805](https://togithub.com/scalameta/scalafmt/issues/3805)) [@​kitbellew](https://togithub.com/kitbellew) - TreeOps: in SingleArgInBraces, check rewrites ([#​3809](https://togithub.com/scalameta/scalafmt/issues/3809)) [@​kitbellew](https://togithub.com/kitbellew) - FormatOps: pass FormatTokens as implicit ([#​3807](https://togithub.com/scalameta/scalafmt/issues/3807)) [@​kitbellew](https://togithub.com/kitbellew) - TreeOps: add `isEmptyTree` and function body ([#​3806](https://togithub.com/scalameta/scalafmt/issues/3806)) [@​kitbellew](https://togithub.com/kitbellew) - `}` could be from a block arg or splice ([#​3804](https://togithub.com/scalameta/scalafmt/issues/3804)) [@​kitbellew](https://togithub.com/kitbellew) - FormatWriter: fix top-level identification logic ([#​3802](https://togithub.com/scalameta/scalafmt/issues/3802)) [@​kitbellew](https://togithub.com/kitbellew) - ScalafmtConfig: use Sbt dialect for .sbt files ([#​3795](https://togithub.com/scalameta/scalafmt/issues/3795)) [@​kitbellew](https://togithub.com/kitbellew) - Documentation: add min version for `styleGuide` ([#​3798](https://togithub.com/scalameta/scalafmt/issues/3798)) [@​kitbellew](https://togithub.com/kitbellew) - Scalafmt: use .forSbt for .sbt files only ([#​3792](https://togithub.com/scalameta/scalafmt/issues/3792)) [@​kitbellew](https://togithub.com/kitbellew) - Scalafmt: remove unused methods ([#​3791](https://togithub.com/scalameta/scalafmt/issues/3791)) [@​kitbellew](https://togithub.com/kitbellew) - SortSettings: create a variable for each modifier ([#​3793](https://togithub.com/scalameta/scalafmt/issues/3793)) [@​kitbellew](https://togithub.com/kitbellew) - Documentation: expand section on `SortModifiers` ([#​3794](https://togithub.com/scalameta/scalafmt/issues/3794)) [@​kitbellew](https://togithub.com/kitbellew) ##### Dependency updates - Update scala-library, scala-reflect to 2.13.13 ([#​3818](https://togithub.com/scalameta/scalafmt/issues/3818)) [@​scalameta-bot](https://togithub.com/scalameta-bot) - Update scalafmt-core to 3.8.0 ([#​3820](https://togithub.com/scalameta/scalafmt/issues/3820)) [@​scalameta-bot](https://togithub.com/scalameta-bot) - Update scalameta, testkit to 4.9.1 ([#​3821](https://togithub.com/scalameta/scalafmt/issues/3821)) [@​scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt to 1.9.9 ([#​3819](https://togithub.com/scalameta/scalafmt/issues/3819)) [@​scalameta-bot](https://togithub.com/scalameta-bot) - Update scala-library, scala-reflect to 2.12.19 ([#​3817](https://togithub.com/scalameta/scalafmt/issues/3817)) [@​scalameta-bot](https://togithub.com/scalameta-bot) - Bump release-drafter/release-drafter from 5 to 6 ([#​3803](https://togithub.com/scalameta/scalafmt/issues/3803)) [@​dependabot](https://togithub.com/dependabot)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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 Mend Renovate. View repository job log here.

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (9af4e67) to head (3623f24).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1217 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 69 69 Lines 3080 3080 Branches 487 516 +29 ========================================= Hits 3080 3080 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.