typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
### [`v5.51.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#5510-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5500v5510-2023-02-06)
[Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.50.0...v5.51.0)
##### Bug Fixes
- **eslint-plugin:** \[sort-type-constituents] fixed behavior change ([#6384](https://togithub.com/typescript-eslint/typescript-eslint/issues/6384)) ([5bf7f7f](https://togithub.com/typescript-eslint/typescript-eslint/commit/5bf7f7fe48aee61a676dfbe829c2a5e9e44cd552)), closes [#6339](https://togithub.com/typescript-eslint/typescript-eslint/issues/6339)
- **eslint-plugin:** do not use .at(), Node 14 does not support it ([#6402](https://togithub.com/typescript-eslint/typescript-eslint/issues/6402)) ([077ed1b](https://togithub.com/typescript-eslint/typescript-eslint/commit/077ed1b5be844df35b7fba554ddae579b3144787))
##### Features
- **eslint-plugin:** \[naming-convention] improve performance by removing unnecessary selectors ([#6376](https://togithub.com/typescript-eslint/typescript-eslint/issues/6376)) ([3647a1c](https://togithub.com/typescript-eslint/typescript-eslint/commit/3647a1c1bbcfe6551647632fc2d978fa90881de1))
- **eslint-plugin:** \[no-floating-promises] error on logical expression ([#6356](https://togithub.com/typescript-eslint/typescript-eslint/issues/6356)) ([f330e06](https://togithub.com/typescript-eslint/typescript-eslint/commit/f330e0651548d55163ddc3233c90fd3cbe37c9c0))
- **eslint-plugin:** \[no-import-type-side-effects] add rule to warn against runtime side effects with `verbatimModuleSyntax` ([#6394](https://togithub.com/typescript-eslint/typescript-eslint/issues/6394)) ([b14d3be](https://togithub.com/typescript-eslint/typescript-eslint/commit/b14d3be0f305d71e0adfc9381e9de993898b2b43))
- **eslint-plugin:** \[strict-boolean-expressions] add allow nullable enum to strict boolean expressions ([#6096](https://togithub.com/typescript-eslint/typescript-eslint/issues/6096)) ([d4747cd](https://togithub.com/typescript-eslint/typescript-eslint/commit/d4747cd8cc9dad2bf2cb64e1c0e8980ce34d82c7))
typescript-eslint/typescript-eslint (@typescript-eslint/parser)
### [`v5.51.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#5510-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5500v5510-2023-02-06)
[Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.50.0...v5.51.0)
**Note:** Version bump only for package [@typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)
facebook/jest
### [`v29.4.2`](https://togithub.com/facebook/jest/blob/HEAD/CHANGELOG.md#2942)
[Compare Source](https://togithub.com/facebook/jest/compare/v29.4.1...v29.4.2)
##### Features
- `[@jest/core]` Instrument significant lifecycle events with [`performance.mark()`](https://nodejs.org/docs/latest-v16.x/api/perf_hooks.html#performancemarkname-options) ([#13859](https://togithub.com/facebook/jest/pull/13859))
##### Fixes
- `[expect, @jest/expect]` Provide type of `actual` as a generic argument to `Matchers` to allow better-typed extensions ([#13848](https://togithub.com/facebook/jest/pull/13848))
- `[jest-circus]` Added explicit mention of test failing because `done()` is not being called in error message ([#13847](https://togithub.com/facebook/jest/pull/13847))
- `[jest-runtime]` Handle CJS re-exports of node core modules from ESM ([#13856](https://togithub.com/facebook/jest/pull/13856))
- `[jest-transform]` Downgrade `write-file-atomic` to v4 ([#13853](https://togithub.com/facebook/jest/pull/13853))
- `[jest-worker]` Ignore IPC messages not intended for Jest ([#13543](https://togithub.com/facebook/jest/pull/13543))
##### Chore & Maintenance
- `[*]` make sure to exclude `.eslintcache` from published module ([#13832](https://togithub.com/facebook/jest/pull/13832))
- `[docs]` Cleanup incorrect links in CHANGELOG.md ([#13857](https://togithub.com/facebook/jest/pull/13857))
eslint/eslint
### [`v8.34.0`](https://togithub.com/eslint/eslint/releases/tag/v8.34.0)
[Compare Source](https://togithub.com/eslint/eslint/compare/v8.33.0...v8.34.0)
#### Features
- [`9b2fcf7`](https://togithub.com/eslint/eslint/commit/9b2fcf7e928fc92ac6d43617bdee1bda250b7491) feat: `array-callback-return` supports `Array.prototype.toSorted` ([#16845](https://togithub.com/eslint/eslint/issues/16845)) (SUZUKI Sosuke)
#### Bug Fixes
- [`923f61d`](https://togithub.com/eslint/eslint/commit/923f61d8fc82d83b912c6ba95abb5a509c4d7b52) fix: false positive with assignment in `no-extra-parens` ([#16872](https://togithub.com/eslint/eslint/issues/16872)) (Francesco Trotta)
#### Documentation
- [`f0a9883`](https://togithub.com/eslint/eslint/commit/f0a988384ea1a262150e70d83abd8a5e50c46fa7) docs: split rules documentation ([#16797](https://togithub.com/eslint/eslint/issues/16797)) (Ben Perlmutter)
- [`67aa37b`](https://togithub.com/eslint/eslint/commit/67aa37b583f059226b9c959672400f04ed6a56b5) docs: fix typo in command-line-interface.md ([#16871](https://togithub.com/eslint/eslint/issues/16871)) (Kevin Rouchut)
- [`337f7ed`](https://togithub.com/eslint/eslint/commit/337f7ed96131d873be7ae6b010739476d0ad15e9) docs: fix width of language input ([#16849](https://togithub.com/eslint/eslint/issues/16849)) (Tanuj Kanti)
- [`71349a1`](https://togithub.com/eslint/eslint/commit/71349a1f709baa361bd656a7ce4a7d35d857a9a8) docs: Configure a Parser page ([#16803](https://togithub.com/eslint/eslint/issues/16803)) (Ben Perlmutter)
- [`de7e925`](https://togithub.com/eslint/eslint/commit/de7e925d03764f3681269b30bb60b92ee463c10f) docs: remove extra line numbers in example ([#16848](https://togithub.com/eslint/eslint/issues/16848)) (jonz94)
- [`ad38d77`](https://togithub.com/eslint/eslint/commit/ad38d77102d6fe30cfa92c831174f178bb35c88b) docs: Update README (GitHub Actions Bot)
#### Chores
- [`9dbe06d`](https://togithub.com/eslint/eslint/commit/9dbe06d0ad875e6d5964497e2975e8d789e763d0) chore: add `type` property to array-element-newline schema ([#16877](https://togithub.com/eslint/eslint/issues/16877)) (MHO)
- [`a061527`](https://togithub.com/eslint/eslint/commit/a061527a0332f0edf559acfc2902a327cae098d9) chore: Remove unused functions ([#16868](https://togithub.com/eslint/eslint/issues/16868)) (Nicholas C. Zakas)
prettier/prettier
### [`v2.8.4`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#284)
[Compare Source](https://togithub.com/prettier/prettier/compare/2.8.3...2.8.4)
[diff](https://togithub.com/prettier/prettier/compare/2.8.3...2.8.4)
##### Fix leading comments in mapped types with `readonly` ([#13427](https://togithub.com/prettier/prettier/pull/13427) by [@thorn0](https://togithub.com/thorn0), [@sosukesuzuki](https://togithub.com/sosukesuzuki))
```tsx
// 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];
};
```
##### Group params in opening block statements ([#14067](https://togithub.com/prettier/prettier/pull/14067) by [@jamescdavis](https://togithub.com/jamescdavis))
This is a follow-up to [#13930](https://togithub.com/prettier/prettier/issues/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.
```hbs
{{! 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}}
```
##### Ignore files in `.sl/` ([#14206](https://togithub.com/prettier/prettier/pull/14206) by [@bolinfest](https://togithub.com/bolinfest))
In [Sapling SCM](https://sapling-scm.com/), `.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.
##### Recognize `@satisfies` in Closure-style type casts ([#14262](https://togithub.com/prettier/prettier/pull/14262) by [@fisker](https://togithub.com/fisker))
```jsx
// Input
const a = /** @satisfies {Record} */ ({hello: 1337});
const b = /** @type {Record} */ ({hello: 1337});
// Prettier 2.8.3
const a = /** @satisfies {Record} */ { hello: 1337 };
const b = /** @type {Record} */ ({ hello: 1337 });
// Prettier 2.8.4
const a = /** @satisfies {Record} */ ({hello: 1337});
const b = /** @type {Record} */ ({hello: 1337});
```
##### Fix parens in inferred function return types with `extends` ([#14279](https://togithub.com/prettier/prettier/pull/14279) by [@fisker](https://togithub.com/fisker))
```ts
// Input
type Foo = T extends ((a) => a is infer R extends string) ? R : never;
// Prettier 2.8.3 (First format)
type Foo = 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 extends ((a) => a is infer R extends string) ? R : never;
```
Configuration
📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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 has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
18.11.19
->18.13.0
5.50.0
->5.51.0
5.50.0
->5.51.0
29.4.1
->29.4.2
8.33.0
->8.34.0
29.4.1
->29.4.2
2.8.3
->2.8.4
Release Notes
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
### [`v5.51.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#5510-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5500v5510-2023-02-06) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.50.0...v5.51.0) ##### Bug Fixes - **eslint-plugin:** \[sort-type-constituents] fixed behavior change ([#6384](https://togithub.com/typescript-eslint/typescript-eslint/issues/6384)) ([5bf7f7f](https://togithub.com/typescript-eslint/typescript-eslint/commit/5bf7f7fe48aee61a676dfbe829c2a5e9e44cd552)), closes [#6339](https://togithub.com/typescript-eslint/typescript-eslint/issues/6339) - **eslint-plugin:** do not use .at(), Node 14 does not support it ([#6402](https://togithub.com/typescript-eslint/typescript-eslint/issues/6402)) ([077ed1b](https://togithub.com/typescript-eslint/typescript-eslint/commit/077ed1b5be844df35b7fba554ddae579b3144787)) ##### Features - **eslint-plugin:** \[naming-convention] improve performance by removing unnecessary selectors ([#6376](https://togithub.com/typescript-eslint/typescript-eslint/issues/6376)) ([3647a1c](https://togithub.com/typescript-eslint/typescript-eslint/commit/3647a1c1bbcfe6551647632fc2d978fa90881de1)) - **eslint-plugin:** \[no-floating-promises] error on logical expression ([#6356](https://togithub.com/typescript-eslint/typescript-eslint/issues/6356)) ([f330e06](https://togithub.com/typescript-eslint/typescript-eslint/commit/f330e0651548d55163ddc3233c90fd3cbe37c9c0)) - **eslint-plugin:** \[no-import-type-side-effects] add rule to warn against runtime side effects with `verbatimModuleSyntax` ([#6394](https://togithub.com/typescript-eslint/typescript-eslint/issues/6394)) ([b14d3be](https://togithub.com/typescript-eslint/typescript-eslint/commit/b14d3be0f305d71e0adfc9381e9de993898b2b43)) - **eslint-plugin:** \[strict-boolean-expressions] add allow nullable enum to strict boolean expressions ([#6096](https://togithub.com/typescript-eslint/typescript-eslint/issues/6096)) ([d4747cd](https://togithub.com/typescript-eslint/typescript-eslint/commit/d4747cd8cc9dad2bf2cb64e1c0e8980ce34d82c7))typescript-eslint/typescript-eslint (@typescript-eslint/parser)
### [`v5.51.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#5510-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5500v5510-2023-02-06) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.50.0...v5.51.0) **Note:** Version bump only for package [@typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)facebook/jest
### [`v29.4.2`](https://togithub.com/facebook/jest/blob/HEAD/CHANGELOG.md#2942) [Compare Source](https://togithub.com/facebook/jest/compare/v29.4.1...v29.4.2) ##### Features - `[@jest/core]` Instrument significant lifecycle events with [`performance.mark()`](https://nodejs.org/docs/latest-v16.x/api/perf_hooks.html#performancemarkname-options) ([#13859](https://togithub.com/facebook/jest/pull/13859)) ##### Fixes - `[expect, @jest/expect]` Provide type of `actual` as a generic argument to `Matchers` to allow better-typed extensions ([#13848](https://togithub.com/facebook/jest/pull/13848)) - `[jest-circus]` Added explicit mention of test failing because `done()` is not being called in error message ([#13847](https://togithub.com/facebook/jest/pull/13847)) - `[jest-runtime]` Handle CJS re-exports of node core modules from ESM ([#13856](https://togithub.com/facebook/jest/pull/13856)) - `[jest-transform]` Downgrade `write-file-atomic` to v4 ([#13853](https://togithub.com/facebook/jest/pull/13853)) - `[jest-worker]` Ignore IPC messages not intended for Jest ([#13543](https://togithub.com/facebook/jest/pull/13543)) ##### Chore & Maintenance - `[*]` make sure to exclude `.eslintcache` from published module ([#13832](https://togithub.com/facebook/jest/pull/13832)) - `[docs]` Cleanup incorrect links in CHANGELOG.md ([#13857](https://togithub.com/facebook/jest/pull/13857))eslint/eslint
### [`v8.34.0`](https://togithub.com/eslint/eslint/releases/tag/v8.34.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.33.0...v8.34.0) #### Features - [`9b2fcf7`](https://togithub.com/eslint/eslint/commit/9b2fcf7e928fc92ac6d43617bdee1bda250b7491) feat: `array-callback-return` supports `Array.prototype.toSorted` ([#16845](https://togithub.com/eslint/eslint/issues/16845)) (SUZUKI Sosuke) #### Bug Fixes - [`923f61d`](https://togithub.com/eslint/eslint/commit/923f61d8fc82d83b912c6ba95abb5a509c4d7b52) fix: false positive with assignment in `no-extra-parens` ([#16872](https://togithub.com/eslint/eslint/issues/16872)) (Francesco Trotta) #### Documentation - [`f0a9883`](https://togithub.com/eslint/eslint/commit/f0a988384ea1a262150e70d83abd8a5e50c46fa7) docs: split rules documentation ([#16797](https://togithub.com/eslint/eslint/issues/16797)) (Ben Perlmutter) - [`67aa37b`](https://togithub.com/eslint/eslint/commit/67aa37b583f059226b9c959672400f04ed6a56b5) docs: fix typo in command-line-interface.md ([#16871](https://togithub.com/eslint/eslint/issues/16871)) (Kevin Rouchut) - [`337f7ed`](https://togithub.com/eslint/eslint/commit/337f7ed96131d873be7ae6b010739476d0ad15e9) docs: fix width of language input ([#16849](https://togithub.com/eslint/eslint/issues/16849)) (Tanuj Kanti) - [`71349a1`](https://togithub.com/eslint/eslint/commit/71349a1f709baa361bd656a7ce4a7d35d857a9a8) docs: Configure a Parser page ([#16803](https://togithub.com/eslint/eslint/issues/16803)) (Ben Perlmutter) - [`de7e925`](https://togithub.com/eslint/eslint/commit/de7e925d03764f3681269b30bb60b92ee463c10f) docs: remove extra line numbers in example ([#16848](https://togithub.com/eslint/eslint/issues/16848)) (jonz94) - [`ad38d77`](https://togithub.com/eslint/eslint/commit/ad38d77102d6fe30cfa92c831174f178bb35c88b) docs: Update README (GitHub Actions Bot) #### Chores - [`9dbe06d`](https://togithub.com/eslint/eslint/commit/9dbe06d0ad875e6d5964497e2975e8d789e763d0) chore: add `type` property to array-element-newline schema ([#16877](https://togithub.com/eslint/eslint/issues/16877)) (MHO) - [`a061527`](https://togithub.com/eslint/eslint/commit/a061527a0332f0edf559acfc2902a327cae098d9) chore: Remove unused functions ([#16868](https://togithub.com/eslint/eslint/issues/16868)) (Nicholas C. Zakas)prettier/prettier
### [`v2.8.4`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#284) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.3...2.8.4) [diff](https://togithub.com/prettier/prettier/compare/2.8.3...2.8.4) ##### Fix leading comments in mapped types with `readonly` ([#13427](https://togithub.com/prettier/prettier/pull/13427) by [@thorn0](https://togithub.com/thorn0), [@sosukesuzuki](https://togithub.com/sosukesuzuki)) ```tsx // 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]; }; ``` ##### Group params in opening block statements ([#14067](https://togithub.com/prettier/prettier/pull/14067) by [@jamescdavis](https://togithub.com/jamescdavis)) This is a follow-up to [#13930](https://togithub.com/prettier/prettier/issues/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. ```hbs {{! 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}} ``` ##### Ignore files in `.sl/` ([#14206](https://togithub.com/prettier/prettier/pull/14206) by [@bolinfest](https://togithub.com/bolinfest)) In [Sapling SCM](https://sapling-scm.com/), `.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. ##### Recognize `@satisfies` in Closure-style type casts ([#14262](https://togithub.com/prettier/prettier/pull/14262) by [@fisker](https://togithub.com/fisker)) ```jsx // Input const a = /** @satisfies {RecordConfiguration
📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.