benchmark
benchmark copied to clipboard
build(deps): update xo
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| eslint-plugin-prettier | 5.1.3 -> 5.2.1 |
||||
| prettier (source) | 3.2.5 -> 3.3.3 |
||||
| xo | 0.56.0 -> 0.59.3 |
Release Notes
prettier/eslint-plugin-prettier (eslint-plugin-prettier)
v5.2.1
Patch Changes
- #668
ac036ccThanks @OrlovAlexei! - build(deps): Bump synckit from 0.8.6 to 0.9.1
prettier/prettier (prettier)
v3.3.3
Add parentheses for nullish coalescing in ternary (#16391 by @cdignam-segment)
This change adds clarity to operator precedence.
// Input
foo ? bar ?? foo : baz;
foo ?? bar ? a : b;
a ? b : foo ?? bar;
// Prettier 3.3.2
foo ? bar ?? foo : baz;
foo ?? bar ? a : b;
a ? b : foo ?? bar;
// Prettier 3.3.3
foo ? (bar ?? foo) : baz;
(foo ?? bar) ? a : b;
a ? b : (foo ?? bar);
Add parentheses for decorator expressions (#16458 by @y-schneider)
Prevent parentheses around member expressions or tagged template literals from being removed to follow the stricter parsing rules of TypeScript 5.5.
// Input
@​(foo`tagged template`)
class X {}
// Prettier 3.3.2
@​foo`tagged template`
class X {}
// Prettier 3.3.3
@​(foo`tagged template`)
class X {}
Support @let declaration syntax (#16474 by @sosukesuzuki)
Adds support for Angular v18 @let declaration syntax.
Please see the following code example. The @let declaration allows you to define local variables within the template:
@​let name = 'Frodo';
<h1>Dashboard for {{name}}</h1>
Hello, {{name}}
For more details, please refer to the excellent blog post by the Angular Team: Introducing @let in Angular.
We also appreciate the Angular Team for kindly answering our questions to implement this feature.
v3.3.2
Fix handlebars path expressions starts with @ (#16358 by @Princeyadav05)
{{! Input }}
<div>{{@​x.y.z}}</div>
{{! Prettier 3.3.1 }}
<div>{{@​x}}</div>
{{! Prettier 3.3.2 }}
<div>{{@​x.y.z}}</div>
v3.3.1
Preserve empty lines in front matter (#16347 by @fisker)
<!-- Input -->
---
foo:
- bar1
- bar2
- bar3
---
Markdown
<!-- Prettier 3.3.0 -->
---
foo:
- bar1
- bar2
- bar3
---
Markdown
<!-- Prettier 3.3.1 -->
---
foo:
- bar1
- bar2
- bar3
---
Markdown
Preserve explicit language in front matter (#16348 by @fisker)
<!-- Input -->
---yaml
title: Hello
slug: home
---
<!-- Prettier 3.3.0 -->
---
title: Hello
slug: home
---
<!-- Prettier 3.3.1 -->
---yaml
title: Hello
slug: home
---
Avoid line breaks in import attributes (#16349 by @fisker)
// Input
import something from "./some-very-very-very-very-very-very-very-very-long-path.json" with { type: "json" };
// Prettier 3.3.0
import something from "./some-very-very-very-very-very-very-very-very-long-path.json" with { type:
"json" };
// Prettier 3.3.1
import something from "./some-very-very-very-very-very-very-very-very-long-path.json" with { type: "json" };
v3.3.0
xojs/xo (xo)
v0.59.3
v0.59.2
v0.59.1
v0.59.0
New rules
unicorn/no-single-promise-in-promise-methodsunicorn/no-await-in-promise-methodsunicorn/no-anonymous-default-exportunicorn/consistent-empty-array-spreadunicorn/no-invalid-fetch-optionsunicorn/no-magic-array-flat-depthunicorn/prefer-structured-cloneunicorn/no-negation-in-equality-check@typescript-eslint/no-unnecessary-parameter-property-assignment@typescript-eslint/use-unknown-in-catch-callback-variable
Breaking
v0.58.0
- TypeScript: Disable
default-caserule to avoid conflict with stricter@typescript-eslint/switch-exhaustiveness-checkrule
v0.57.0
Breaking
- Require Node.js 18
3b9d372
New rules
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Branch automerge failure
This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.
- Branch has one or more failed status checks
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 97.51%. Comparing base (
642df1a) to head (4c56b94). Report is 1 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #284 +/- ##
=======================================
Coverage 97.51% 97.51%
=======================================
Files 8 8
Lines 766 766
Branches 46 46
=======================================
Hits 747 747
Misses 19 19
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.