fix(deps): update all non-major dependencies (patch)
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
@webcomponents/scoped-custom-element-registry (source) | dependencies | patch | ^0.0.7 -> ^0.0.8 |
jose | dependencies | patch | 4.11.2 -> 4.11.4 |
prettier (source) | devDependencies | patch | 2.8.3 -> 2.8.4 |
typescript (source) | devDependencies | patch | 4.9.4 -> 4.9.5 |
Release Notes
webcomponents/polyfills
v0.0.8
Fixed
- toggleAttribute polyfill now retains the force argument if it is present
prettier/prettier
v2.8.4
readonly
(#13427 by @thorn0, @sosukesuzuki)
Fix leading comments in mapped types with // Input
type Type = {
// comment
readonly [key in Foo];
};
// Prettier 2.8.3
type Type = {
readonly // comment
[key in Foo];
};
// Prettier 2.8.4
type Type = {
// comment
readonly [key in Foo];
};
#14067 by @jamescdavis)
Group params in opening block statements (This is a follow-up to #13930 to establish wrapping consistency between opening block statements and else blocks by grouping params in opening blocks. This causes params to break to a new line together and not be split across lines unless the length of params exceeds the print width. This also updates the else block wrapping to behave exactly the same as opening blocks.
{{! Input }}
{{#block param param param param param param param param param param as |blockParam|}}
Hello
{{else block param param param param param param param param param param as |blockParam|}}
There
{{/block}}
{{! Prettier 2.8.3 }}
{{#block
param
param
param
param
param
param
param
param
param
param
as |blockParam|
}}
Hello
{{else block param
param
param
param
param
param
param
param
param
param}}
There
{{/block}}
{{! Prettier 2.8.4 }}
{{#block
param param param param param param param param param param
as |blockParam|
}}
Hello
{{else block
param param param param param param param param param param
as |blockParam|
}}
There
{{/block}}
.sl/
(#14206 by @bolinfest)
Ignore files in In Sapling SCM, .sl/
is the folder where it stores its state, analogous to .git/
in Git. It should be ignored in Prettier like the other SCM folders.
@satisfies
in Closure-style type casts (#14262 by @fisker)
Recognize // Input
const a = /** @​satisfies {Record<string, string>} */ ({hello: 1337});
const b = /** @​type {Record<string, string>} */ ({hello: 1337});
// Prettier 2.8.3
const a = /** @​satisfies {Record<string, string>} */ { hello: 1337 };
const b = /** @​type {Record<string, string>} */ ({ hello: 1337 });
// Prettier 2.8.4
const a = /** @​satisfies {Record<string, string>} */ ({hello: 1337});
const b = /** @​type {Record<string, string>} */ ({hello: 1337});
extends
(#14279 by @fisker)
Fix parens in inferred function return types with // Input
type Foo<T> = T extends ((a) => a is infer R extends string) ? R : never;
// Prettier 2.8.3 (First format)
type Foo<T> = T extends (a) => a is infer R extends string ? R : never;
// Prettier 2.8.3 (Second format)
SyntaxError: '?' expected.
// Prettier 2.8.4
type Foo<T> = T extends ((a) => a is infer R extends string) ? R : never;
Microsoft/TypeScript
v4.9.5
: TypeScript 4.9.5
For release notes, check out the release announcement.
Downloads are available on:
Changes:
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.