eslint/eslint
### [`v8.12.0`](https://togithub.com/eslint/eslint/releases/v8.12.0)
[Compare Source](https://togithub.com/eslint/eslint/compare/v8.11.0...v8.12.0)
#### Features
- [`685a67a`](https://togithub.com/eslint/eslint/commit/685a67a62bdea19ca9ce12008a034b8d31162422) feat: fix logic for top-level `this` in no-invalid-this and no-eval ([#15712](https://togithub.com/eslint/eslint/issues/15712)) (Milos Djermanovic)
#### Chores
- [`18f5e05`](https://togithub.com/eslint/eslint/commit/18f5e05bce10503186989d81ca484abb185a2c9d) chore: padding-line-between-statements remove useless `additionalItems` ([#15706](https://togithub.com/eslint/eslint/issues/15706)) (Martin Sadovy)
import-js/eslint-plugin-import
### [`v2.26.0`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2260---2022-04-05)
[Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.25.4...v2.26.0)
##### Added
- \[`no-named-default`, `no-default-export`, `prefer-default-export`, `no-named-export`, `export`, `named`, `namespace`, `no-unused-modules`]: support arbitrary module namespace names (\[[#2358](https://togithub.com/import-js/eslint-plugin-import/issues/2358)], thanks \[[@sosukesuzuki](https://togithub.com/sosukesuzuki)])
- \[`no-dynamic-require`]: support dynamic import with espree (\[[#2371](https://togithub.com/import-js/eslint-plugin-import/issues/2371)], thanks \[[@sosukesuzuki](https://togithub.com/sosukesuzuki)])
- \[`no-relative-packages`]: add fixer (\[[#2381](https://togithub.com/import-js/eslint-plugin-import/issues/2381)], thanks \[[@forivall](https://togithub.com/forivall)])
##### Fixed
- \[`default`]: `typescript-eslint-parser`: avoid a crash on exporting as namespace (thanks \[[@ljharb](https://togithub.com/ljharb)])
- \[`export`]/TypeScript: false positive for typescript namespace merging (\[[#1964](https://togithub.com/import-js/eslint-plugin-import/issues/1964)], thanks \[[@magarcia](https://togithub.com/magarcia)])
- \[`no-duplicates`]: ignore duplicate modules in different TypeScript module declarations (\[[#2378](https://togithub.com/import-js/eslint-plugin-import/issues/2378)], thanks \[[@remcohaszing](https://togithub.com/remcohaszing)])
- \[`no-unused-modules`]: avoid a crash when processing re-exports (\[[#2388](https://togithub.com/import-js/eslint-plugin-import/issues/2388)], thanks \[[@ljharb](https://togithub.com/ljharb)])
##### Changed
- \[Tests] `no-nodejs-modules`: add tests for node protocol URL (\[[#2367](https://togithub.com/import-js/eslint-plugin-import/issues/2367)], thanks \[[@sosukesuzuki](https://togithub.com/sosukesuzuki)])
- \[Tests] `default`, `no-anonymous-default-export`, `no-mutable-exports`, `no-named-as-default-member`, `no-named-as-default`: add tests for arbitrary module namespace names (\[[#2358](https://togithub.com/import-js/eslint-plugin-import/issues/2358)], thanks \[[@sosukesuzuki](https://togithub.com/sosukesuzuki)])
- \[Docs] \[`no-unresolved`]: Fix RegExp escaping in readme (\[[#2332](https://togithub.com/import-js/eslint-plugin-import/issues/2332)], thanks \[[@stephtr](https://togithub.com/stephtr)])
- \[Refactor] `namespace`: try to improve performance (\[[#2340](https://togithub.com/import-js/eslint-plugin-import/issues/2340)], thanks \[[@ljharb](https://togithub.com/ljharb)])
- \[Docs] make rule doc titles consistent (\[[#2393](https://togithub.com/import-js/eslint-plugin-import/issues/2393)], thanks \[[@TheJaredWilcurt](https://togithub.com/TheJaredWilcurt)])
- \[Docs] `order`: TS code examples should use TS code blocks (\[[#2411](https://togithub.com/import-js/eslint-plugin-import/issues/2411)], thanks \[[@MM25Zamanian](https://togithub.com/MM25Zamanian)])
- \[Docs] `no-unresolved`: fix link (\[[#2417](https://togithub.com/import-js/eslint-plugin-import/issues/2417)], thanks \[[@kylemh](https://togithub.com/kylemh)])
facebook/react
### [`v4.4.0`](https://togithub.com/facebook/react/blob/HEAD/packages/eslint-plugin-react-hooks/CHANGELOG.md#440)
- No changes, this was an automated release together with React 18.
gatsbyjs/gatsby
### [`v4.11.2`](https://togithub.com/gatsbyjs/gatsby/compare/ad8c330df7b452b2e515b20d0d11dcb1385b9f6b...390eeffe931033a56429470323a6733d9c68a093)
[Compare Source](https://togithub.com/gatsbyjs/gatsby/compare/ad8c330df7b452b2e515b20d0d11dcb1385b9f6b...390eeffe931033a56429470323a6733d9c68a093)
### [`v4.11.1`](https://togithub.com/gatsbyjs/gatsby/compare/ac3f088a160cfb4913310a6992b106f760c2cafd...ad8c330df7b452b2e515b20d0d11dcb1385b9f6b)
[Compare Source](https://togithub.com/gatsbyjs/gatsby/compare/ac3f088a160cfb4913310a6992b106f760c2cafd...ad8c330df7b452b2e515b20d0d11dcb1385b9f6b)
### [`v4.11.0`](https://togithub.com/gatsbyjs/gatsby/releases/gatsby@4.11.0)
[Compare Source](https://togithub.com/gatsbyjs/gatsby/compare/40ea307dc578d20c440f229906e85505261487db...ac3f088a160cfb4913310a6992b106f760c2cafd)
Welcome to `gatsby@4.11.0` release (March 2022 #3)
Key highlights of this release:
- [`gatsby-source-shopify` v7](https://www.gatsbyjs.com/docs/reference/release-notes/v4.11#gatsby-source-shopify-v7)
- [React 18](https://www.gatsbyjs.com/docs/reference/release-notes/v4.11#react-18)
Also check out [notable bugfixes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.11#notable-bugfixes--improvements).
**Bleeding Edge:** Want to try new features as soon as possible? Install `gatsby@next` and let us know
if you have any [issues](https://togithub.com/gatsbyjs/gatsby/issues).
[Previous release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.10)
[Full changelog][full-changelog]
[full-changelog]: https://togithub.com/gatsbyjs/gatsby/compare/gatsby@4.11.0-next.0...gatsby@4.11.0
prettier/prettier
### [`v2.6.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#262)
[Compare Source](https://togithub.com/prettier/prettier/compare/2.6.1...2.6.2)
[diff](https://togithub.com/prettier/prettier/compare/2.6.1...2.6.2)
##### Fix LESS/SCSS format error ([#12536](https://togithub.com/prettier/prettier/pull/12536) by [@fisker](https://togithub.com/fisker))
```less
// Input
.background-gradient(@cut) {
background: linear-gradient(
to right,
@white 0%,
@white (@cut - 0.01%),
@portal-background @cut,
@portal-background 100%
);
}
// Prettier 2.6.1
TypeError: Cannot read properties of undefined (reading 'endOffset')
// Prettier 2.6.2
.background-gradient(@cut) {
background: linear-gradient(
to right,
@white 0%,
@white (@cut - 0.01%),
@portal-background @cut,
@portal-background 100%
);
}
```
##### Update `meriyah` to fix several bugs ([#12567](https://togithub.com/prettier/prettier/pull/12567) by [@fisker](https://togithub.com/fisker), fixes in [`meriyah`](https://togithub.com/meriyah/meriyah/) by [@3cp](https://togithub.com/3cp))
Fixes bugs when parsing following valid code:
```js
foo(await bar());
```
```js
const regex = /.*/ms;
```
```js
const element =
{/w/.test(s)}
;
```
```js
class A extends B {
#privateMethod() {
super.method();
}
}
```
### [`v2.6.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#261)
[Compare Source](https://togithub.com/prettier/prettier/compare/2.6.0...2.6.1)
[diff](https://togithub.com/prettier/prettier/compare/2.6.0...2.6.1)
##### Ignore `loglevel` when printing information ([#12477](https://togithub.com/prettier/prettier/pull/12477) by [@fisker](https://togithub.com/fisker))
```bash
```
Configuration
📅 Schedule: 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, click this checkbox.
This PR contains the following updates:
2.6.2
->2.6.3
8.11.0
->8.12.0
2.25.4
->2.26.0
4.3.0
->4.4.0
4.10.3
->4.11.2
2.6.0
->2.6.2
Release Notes
eslint/eslint
### [`v8.12.0`](https://togithub.com/eslint/eslint/releases/v8.12.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.11.0...v8.12.0) #### Features - [`685a67a`](https://togithub.com/eslint/eslint/commit/685a67a62bdea19ca9ce12008a034b8d31162422) feat: fix logic for top-level `this` in no-invalid-this and no-eval ([#15712](https://togithub.com/eslint/eslint/issues/15712)) (Milos Djermanovic) #### Chores - [`18f5e05`](https://togithub.com/eslint/eslint/commit/18f5e05bce10503186989d81ca484abb185a2c9d) chore: padding-line-between-statements remove useless `additionalItems` ([#15706](https://togithub.com/eslint/eslint/issues/15706)) (Martin Sadovy)import-js/eslint-plugin-import
### [`v2.26.0`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2260---2022-04-05) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.25.4...v2.26.0) ##### Added - \[`no-named-default`, `no-default-export`, `prefer-default-export`, `no-named-export`, `export`, `named`, `namespace`, `no-unused-modules`]: support arbitrary module namespace names (\[[#2358](https://togithub.com/import-js/eslint-plugin-import/issues/2358)], thanks \[[@sosukesuzuki](https://togithub.com/sosukesuzuki)]) - \[`no-dynamic-require`]: support dynamic import with espree (\[[#2371](https://togithub.com/import-js/eslint-plugin-import/issues/2371)], thanks \[[@sosukesuzuki](https://togithub.com/sosukesuzuki)]) - \[`no-relative-packages`]: add fixer (\[[#2381](https://togithub.com/import-js/eslint-plugin-import/issues/2381)], thanks \[[@forivall](https://togithub.com/forivall)]) ##### Fixed - \[`default`]: `typescript-eslint-parser`: avoid a crash on exporting as namespace (thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[`export`]/TypeScript: false positive for typescript namespace merging (\[[#1964](https://togithub.com/import-js/eslint-plugin-import/issues/1964)], thanks \[[@magarcia](https://togithub.com/magarcia)]) - \[`no-duplicates`]: ignore duplicate modules in different TypeScript module declarations (\[[#2378](https://togithub.com/import-js/eslint-plugin-import/issues/2378)], thanks \[[@remcohaszing](https://togithub.com/remcohaszing)]) - \[`no-unused-modules`]: avoid a crash when processing re-exports (\[[#2388](https://togithub.com/import-js/eslint-plugin-import/issues/2388)], thanks \[[@ljharb](https://togithub.com/ljharb)]) ##### Changed - \[Tests] `no-nodejs-modules`: add tests for node protocol URL (\[[#2367](https://togithub.com/import-js/eslint-plugin-import/issues/2367)], thanks \[[@sosukesuzuki](https://togithub.com/sosukesuzuki)]) - \[Tests] `default`, `no-anonymous-default-export`, `no-mutable-exports`, `no-named-as-default-member`, `no-named-as-default`: add tests for arbitrary module namespace names (\[[#2358](https://togithub.com/import-js/eslint-plugin-import/issues/2358)], thanks \[[@sosukesuzuki](https://togithub.com/sosukesuzuki)]) - \[Docs] \[`no-unresolved`]: Fix RegExp escaping in readme (\[[#2332](https://togithub.com/import-js/eslint-plugin-import/issues/2332)], thanks \[[@stephtr](https://togithub.com/stephtr)]) - \[Refactor] `namespace`: try to improve performance (\[[#2340](https://togithub.com/import-js/eslint-plugin-import/issues/2340)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[Docs] make rule doc titles consistent (\[[#2393](https://togithub.com/import-js/eslint-plugin-import/issues/2393)], thanks \[[@TheJaredWilcurt](https://togithub.com/TheJaredWilcurt)]) - \[Docs] `order`: TS code examples should use TS code blocks (\[[#2411](https://togithub.com/import-js/eslint-plugin-import/issues/2411)], thanks \[[@MM25Zamanian](https://togithub.com/MM25Zamanian)]) - \[Docs] `no-unresolved`: fix link (\[[#2417](https://togithub.com/import-js/eslint-plugin-import/issues/2417)], thanks \[[@kylemh](https://togithub.com/kylemh)])facebook/react
### [`v4.4.0`](https://togithub.com/facebook/react/blob/HEAD/packages/eslint-plugin-react-hooks/CHANGELOG.md#440) - No changes, this was an automated release together with React 18.gatsbyjs/gatsby
### [`v4.11.2`](https://togithub.com/gatsbyjs/gatsby/compare/ad8c330df7b452b2e515b20d0d11dcb1385b9f6b...390eeffe931033a56429470323a6733d9c68a093) [Compare Source](https://togithub.com/gatsbyjs/gatsby/compare/ad8c330df7b452b2e515b20d0d11dcb1385b9f6b...390eeffe931033a56429470323a6733d9c68a093) ### [`v4.11.1`](https://togithub.com/gatsbyjs/gatsby/compare/ac3f088a160cfb4913310a6992b106f760c2cafd...ad8c330df7b452b2e515b20d0d11dcb1385b9f6b) [Compare Source](https://togithub.com/gatsbyjs/gatsby/compare/ac3f088a160cfb4913310a6992b106f760c2cafd...ad8c330df7b452b2e515b20d0d11dcb1385b9f6b) ### [`v4.11.0`](https://togithub.com/gatsbyjs/gatsby/releases/gatsby@4.11.0) [Compare Source](https://togithub.com/gatsbyjs/gatsby/compare/40ea307dc578d20c440f229906e85505261487db...ac3f088a160cfb4913310a6992b106f760c2cafd) Welcome to `gatsby@4.11.0` release (March 2022 #3) Key highlights of this release: - [`gatsby-source-shopify` v7](https://www.gatsbyjs.com/docs/reference/release-notes/v4.11#gatsby-source-shopify-v7) - [React 18](https://www.gatsbyjs.com/docs/reference/release-notes/v4.11#react-18) Also check out [notable bugfixes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.11#notable-bugfixes--improvements). **Bleeding Edge:** Want to try new features as soon as possible? Install `gatsby@next` and let us know if you have any [issues](https://togithub.com/gatsbyjs/gatsby/issues). [Previous release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.10) [Full changelog][full-changelog] [full-changelog]: https://togithub.com/gatsbyjs/gatsby/compare/gatsby@4.11.0-next.0...gatsby@4.11.0prettier/prettier
### [`v2.6.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#262) [Compare Source](https://togithub.com/prettier/prettier/compare/2.6.1...2.6.2) [diff](https://togithub.com/prettier/prettier/compare/2.6.1...2.6.2) ##### Fix LESS/SCSS format error ([#12536](https://togithub.com/prettier/prettier/pull/12536) by [@fisker](https://togithub.com/fisker)) ```less // Input .background-gradient(@cut) { background: linear-gradient( to right, @white 0%, @white (@cut - 0.01%), @portal-background @cut, @portal-background 100% ); } // Prettier 2.6.1 TypeError: Cannot read properties of undefined (reading 'endOffset') // Prettier 2.6.2 .background-gradient(@cut) { background: linear-gradient( to right, @white 0%, @white (@cut - 0.01%), @portal-background @cut, @portal-background 100% ); } ``` ##### Update `meriyah` to fix several bugs ([#12567](https://togithub.com/prettier/prettier/pull/12567) by [@fisker](https://togithub.com/fisker), fixes in [`meriyah`](https://togithub.com/meriyah/meriyah/) by [@3cp](https://togithub.com/3cp)) Fixes bugs when parsing following valid code: ```js foo(await bar()); ``` ```js const regex = /.*/ms; ``` ```js const element ={/w/.test(s)}
; ``` ```js class A extends B { #privateMethod() { super.method(); } } ``` ### [`v2.6.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#261) [Compare Source](https://togithub.com/prettier/prettier/compare/2.6.0...2.6.1) [diff](https://togithub.com/prettier/prettier/compare/2.6.0...2.6.1) ##### Ignore `loglevel` when printing information ([#12477](https://togithub.com/prettier/prettier/pull/12477) by [@fisker](https://togithub.com/fisker)) ```bash ```Configuration
📅 Schedule: 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 WhiteSource Renovate. View repository job log here.