Update NodeJS dependencies
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| @docsearch/css (source) | dependencies | patch | ^3.3.2 -> ^3.3.3 |
| @gitlab/svgs | dependencies | minor | ^3.19.0 -> ^3.20.0 |
| babel-jest | devDependencies | patch | ^29.4.1 -> ^29.4.2 |
| eslint (source) | devDependencies | minor | ^8.33.0 -> ^8.34.0 |
| instantsearch.js (source) | dependencies | patch | ^4.50.2 -> ^4.50.3 |
| jest (source) | devDependencies | patch | ^29.4.1 -> ^29.4.2 |
| jest-environment-jsdom | devDependencies | patch | ^29.4.1 -> ^29.4.2 |
| prettier (source) | devDependencies | patch | ^2.8.3 -> ^2.8.4 |
| rollup (source) | devDependencies | minor | ^3.14.0 -> ^3.15.0 |
MR created with the help of gitlab-org/frontend/renovate-gitlab-bot
Release Notes
facebook/jest
v29.4.2
Features
-
[@jest/core]Instrument significant lifecycle events withperformance.mark()(#13859)
Fixes
-
[expect, @​jest/expect]Provide type ofactualas a generic argument toMatchersto allow better-typed extensions (#13848) -
[jest-circus]Added explicit mention of test failing becausedone()is not being called in error message (#13847) -
[jest-runtime]Handle CJS re-exports of node core modules from ESM (#13856) -
[jest-transform]Downgradewrite-file-atomicto v4 (#13853) -
[jest-worker]Ignore IPC messages not intended for Jest (#13543)
Chore & Maintenance
eslint/eslint
v8.34.0
Features
Bug Fixes
Documentation
-
f0a9883docs: split rules documentation (#16797) (Ben Perlmutter) -
67aa37bdocs: fix typo in command-line-interface.md (#16871) (Kevin Rouchut) -
337f7eddocs: fix width of language input (#16849) (Tanuj Kanti) -
71349a1docs: Configure a Parser page (#16803) (Ben Perlmutter) -
de7e925docs: remove extra line numbers in example (#16848) (jonz94) -
ad38d77docs: Update README (GitHub Actions Bot)
Chores
prettier/prettier
v2.8.4
Fix leading comments in mapped types with readonly (#13427 by @thorn0, @sosukesuzuki)
// 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 by @jamescdavis)
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}}
Ignore files in .sl/ (#14206 by @bolinfest)
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.
Recognize @satisfies in Closure-style type casts (#14262 by @fisker)
// 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});
Fix parens in inferred function return types with extends (#14279 by @fisker)
// 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;
rollup/rollup
v3.15.0
2023-02-10
Features
- Do not consider instantiating a constructor a side effect if it adds properties to "this" and is instantiated elsewhere (#4842)
Bug Fixes
- Improve side effect detection in constructors (#4842)
Merge Requests
- #4842: fix: add this option to context.ignore (@TrickyPi)
- #4843: fixed the logo link (@oMatheuss)
- #4844: Update index.md (@cunzaizhuyi)
- #4845: docs: fix style (@TrickyPi)
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.