This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
eslint-plugin-import | ^2.25.3 -> ^2.25.4 |
||||
eslint-plugin-react | ^7.27.1 -> ^7.28.0 |
||||
prettier (source) | 2.5.0 -> 2.5.1 |
Release Notes
import-js/eslint-plugin-import
### [`v2.25.4`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2254---2022-01-02) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.25.3...v2.25.4) ##### Fixed - `importType`: avoid crashing on a non-string' (\[[#2305](https://togithub.com/import-js/eslint-plugin-import/issues/2305)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[`first`]: prevent crash when parsing angular templates (\[[#2210](https://togithub.com/import-js/eslint-plugin-import/issues/2210)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - `importType`: properly resolve `@/*`-aliased imports as internal (\[[#2334](https://togithub.com/import-js/eslint-plugin-import/issues/2334)], thanks \[[@ombene](https://togithub.com/ombene)]) - \[`named`]/`ExportMap`: handle named imports from CJS modules that use dynamic import (\[[#2341](https://togithub.com/import-js/eslint-plugin-import/issues/2341)], thanks \[[@ludofischer](https://togithub.com/ludofischer)]) ##### Changed - \[`no-default-import`]: report on the token "default" instead of the entire node (\[[#2299](https://togithub.com/import-js/eslint-plugin-import/issues/2299)], thanks \[[@pmcelhaney](https://togithub.com/pmcelhaney)]) - \[Docs] \[`order`]: Remove duplicate mention of default (\[[#2280](https://togithub.com/import-js/eslint-plugin-import/issues/2280)], thanks \[[@johnthagen](https://togithub.com/johnthagen)]) - \[Deps] update `eslint-module-utils`yannickcr/eslint-plugin-react
### [`v7.28.0`](https://togithub.com/yannickcr/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7280---20211222) [Compare Source](https://togithub.com/yannickcr/eslint-plugin-react/compare/v7.27.1...v7.28.0) ##### Added - \[`function-component-definition`]: support namedComponents option being an array ([#3129][] [@petersendidit](https://togithub.com/petersendidit)) ##### Fixed - \[`jsx-indent-props`]: Reset `line.isUsingOperator` correctly after ternary ([#3146][] [@tobiaswaltl](https://togithub.com/tobiaswaltl)) ##### Changed - \[Refactor] \[`no-arrow-function-lifecycle`], \[`no-unused-class-component-methods`]: use report/messages convention ([@ljharb](https://togithub.com/ljharb)) - \[Tests] component detection: Add testing scaffolding ([#3149][] [@duncanbeevers](https://togithub.com/duncanbeevers)) - \[New] component detection: track React imports ([#3149][] [@duncanbeevers](https://togithub.com/duncanbeevers)) - \[New] component detection: add `util.isReactHookCall` ([#3156][] [@duncanbeevers](https://togithub.com/duncanbeevers))prettier/prettier
### [`v2.5.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#251) [Compare Source](https://togithub.com/prettier/prettier/compare/2.5.0...2.5.1) [diff](https://togithub.com/prettier/prettier/compare/2.5.0...2.5.1) ##### Improve formatting for empty tuple types ([#11884](https://togithub.com/prettier/prettier/pull/11884) by [@sosukesuzuki](https://togithub.com/sosukesuzuki)) ```tsx // Input type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [] ? Foo3 : Foo4; // Prettier 2.5.0 type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [ ] ? Foo3 : Foo4; // Prettier 2.5.0 (tailingCommma = all) // Invalid TypeScript code type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [ , ] ? Foo3 : Foo4; // Prettier 2.5.1 type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [] ? Foo3 : Foo4; ``` ##### Fix compatibility with Jest inline snapshot test ([#11892](https://togithub.com/prettier/prettier/pull/11892) by [@fisker](https://togithub.com/fisker)) A internal change in [email protected] accidentally breaks the Jest inline snapshot test. ##### Support Glimmer's named blocks ([#11899](https://togithub.com/prettier/prettier/pull/11899) by [@duailibe](https://togithub.com/duailibe)) Prettier already supported this feature, but it converted empty named blocks to self-closing, which is not supported by the Glimmer compiler. See: [Glimmer's named blocks](https://emberjs.github.io/rfcs/0460-yieldable-named-blocks.html). ```hbs // InputConfiguration
📅 Schedule: "before 7am on the first day of the month" in timezone GMT.
🚦 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.
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by WhiteSource Renovate. View repository job log here.