Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 10, 2024

This PR contains the following updates:

Package Change Age Confidence
@types/node (source) 18.19.14 -> 18.19.123 age confidence
eslint (source) 8.56.0 -> 8.57.1 age confidence
eslint-plugin-import 2.29.1 -> 2.32.0 age confidence
prettier (source) 3.2.5 -> 3.6.2 age confidence
typescript (source) 5.3.3 -> 5.9.2 age confidence

Release Notes

eslint/eslint (eslint)

v8.57.1

Compare Source

Bug Fixes
  • a19072f fix: add logic to handle fixTypes in the lintText() method (#​18900) (Francesco Trotta)
  • 04c7188 fix: Don't lint same file multiple times (#​18899) (Francesco Trotta)
  • 87ec3c4 fix: do not throw when defining a global named __defineSetter__ (#​18898) (Francesco Trotta)
  • 60a1267 fix: Provide helpful error message for nullish configs (#​18889) (Milos Djermanovic)
  • a0dea8e fix: allow name in global ignores, fix --no-ignore for non-global (#​18875) (Milos Djermanovic)
  • 3836bb4 fix: do not crash on error in fs.walk filter (#​18886) (Milos Djermanovic)
  • 2dec349 fix: skip processor code blocks that match only universal patterns (#​18880) (Milos Djermanovic)
Documentation
Build Related
  • 35d366a build: Support updates to previous major versions (#​18870) (Milos Djermanovic)
Chores

v8.57.0

Compare Source

Features
  • 1120b9b feat: Add loadESLint() API method for v8 (#​18098) (Nicholas C. Zakas)
  • dca7d0f feat: Enable eslint.config.mjs and eslint.config.cjs (#​18066) (Nitin Kumar)
Bug Fixes
  • 2196d97 fix: handle absolute file paths in FlatRuleTester (#​18064) (Nitin Kumar)
  • 69dd1d1 fix: Ensure config keys are printed for config errors (#​18067) (Nitin Kumar)
  • 9852a31 fix: deep merge behavior in flat config (#​18065) (Nitin Kumar)
  • 4c7e9b0 fix: allow circular references in config (#​18056) (Milos Djermanovic)
Documentation
Chores
import-js/eslint-plugin-import (eslint-plugin-import)

v2.32.0

Compare Source

Added
Fixed
Changed

v2.31.0

Compare Source

Added
Fixed
Changed

v2.30.0

Compare Source

Added
Fixed
Changed
  • [Docs] [no-extraneous-dependencies]: Make glob pattern description more explicit ([#​2944], thanks [@​mulztob])
  • [no-unused-modules]: add console message to help debug [#​2866]
  • [Refactor] ExportMap: make procedures static instead of monkeypatching exportmap ([#​2982], thanks [@​soryy708])
  • [Refactor] ExportMap: separate ExportMap instance from its builder logic ([#​2985], thanks [@​soryy708])
  • [Docs] [order]: Add a quick note on how unbound imports and --fix ([#​2640], thanks [@​minervabot])
  • [Tests] appveyor -> GHA (run tests on Windows in both pwsh and WSL + Ubuntu) ([#​2987], thanks [@​joeyguerra])
  • [actions] migrate OSX tests to GHA ([ljharb#37], thanks [@​aks-])
  • [Refactor] exportMapBuilder: avoid hoisting ([#​2989], thanks [@​soryy708])
  • [Refactor] ExportMap: extract "builder" logic to separate files ([#​2991], thanks [@​soryy708])
  • [Docs] [order]: update the description of the pathGroupsExcludedImportTypes option ([#​3036], thanks [@​liby])
  • [readme] Clarify how to install the plugin ([#​2993], thanks [@​jwbth])
prettier/prettier (prettier)

v3.6.2

Compare Source

diff

Markdown: Add missing blank line around code block (#​17675 by @​fisker)
<!-- Input -->
1. Some text, and code block below, with newline after code block

   ```yaml
   ---
   foo: bar
   ```

   1. Another
   2. List

<!-- Prettier 3.6.1 -->
1. Some text, and code block below, with newline after code block

   ```yaml
   ---
   foo: bar
   ```
   1. Another
   2. List

<!-- Prettier 3.6.2 -->
1. Some text, and code block below, with newline after code block

   ```yaml
   ---
   foo: bar
   ```

   1. Another
   2. List

v3.6.1

Compare Source

diff

TypeScript: Allow const without initializer (#​17650, #​17654 by @​fisker)
// Input
export const version: string;

// Prettier 3.6.0 (--parser=babel-ts)
SyntaxError: Unexpected token (1:21)
> 1 | export const version: string;
    |                     ^

// Prettier 3.6.0 (--parser=oxc-ts)
SyntaxError: Missing initializer in const declaration (1:14)
> 1 | export const version: string;
    |              ^^^^^^^^^^^^^^^

// Prettier 3.6.1
export const version: string;
Miscellaneous: Avoid closing files multiple times (#​17665 by @​43081j)

When reading a file to infer the interpreter from a shebang, we use the
n-readlines library to read the first line in order to get the shebang.

This library closes files when it reaches EOF, and we later try close the same
files again. We now close files only if n-readlines did not already close
them.

v3.6.0

Compare Source

diff

🔗 Release Notes

v3.5.3

Compare Source

v3.5.2

Compare Source

diff

Remove module-sync condition (#​17156 by @​fisker)

In Prettier 3.5.0, we added module-sync condition to package.json, so that require("prettier") can use ESM version, but turns out it doesn't work if CommonJS and ESM plugins both imports builtin plugins. To solve this problem, we decide simply remove the module-sync condition, so require("prettier") will still use the CommonJS version, we'll revisit until require(ESM) feature is more stable.

v3.5.1

Compare Source

diff

Fix CLI crash when cache for old version exists (#​17100 by @​sosukesuzuki)

Prettier 3.5 uses a different cache format than previous versions, Prettier 3.5.0 crashes when reading existing cache file, Prettier 3.5.1 fixed the problem.

Support dockercompose and github-actions-workflow in VSCode (#​17101 by @​remcohaszing)

Prettier now supports the dockercompose and github-actions-workflow languages in Visual Studio Code.

v3.5.0

Compare Source

diff

🔗 Release Notes

v3.4.2

Compare Source

diff

Treat U+30A0 & U+30FB in Katakana Block as CJK (#​16796 by @​tats-u)

Prettier doesn't treat U+30A0 & U+30FB as Japanese. U+30FB is commonly used in Japanese to represent the delimitation of first and last names of non-Japanese people or “and”. The following “C言語・C++・Go・Rust” means “C language & C++ & Go & Rust” in Japanese.

<!-- Input (--prose-wrap=never) -->

C言
語
・
C++
・
Go
・
Rust

<!-- Prettier 3.4.1 -->
C言語・ C++ ・ Go ・ Rust

<!-- Prettier 3.4.2 -->
C言語・C++・Go・Rust

U+30A0 can be used as the replacement of the - in non-Japanese names (e.g. “Saint-Saëns” (Charles Camille Saint-Saëns) can be represented as “サン゠サーンス” in Japanese), but substituted by ASCII hyphen (U+002D) or U+FF1D (full width hyphen) in many cases (e.g. “サン=サーンス” or “サン=サーンス”).

Fix comments print on class methods with decorators (#​16891 by @​fisker)
// Input
class A {
  @&#8203;decorator
  /** 
   * The method description
   *
  */
  async method(foo: Foo, bar: Bar) {
    console.log(foo);
  }
}

// Prettier 3.4.1
class A {
  @&#8203;decorator
  async /**
   * The method description
   *
   */
  method(foo: Foo, bar: Bar) {
    console.log(foo);
  }
}

// Prettier 3.4.2
class A {
  @&#8203;decorator
  /**
   * The method description
   *
   */
  async method(foo: Foo, bar: Bar) {
    console.log(foo);
  }
}
Fix non-idempotent formatting (#​16899 by @​seiyab)

This bug fix is not language-specific. You may see similar change in any languages. This fixes regression in 3.4.0 so change caused by it should yield same formatting as 3.3.3.

// Input
<div>
  foo
  <span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span>
  , abc
</div>;

// Prettier 3.4.1 (first)
<div>
  foo
  <span>
    longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo
  </span>, abc
</div>;

// Prettier 3.4.1 (second)
<div>
  foo
  <span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span>
  , abc
</div>;

// Prettier 3.4.2
<div>
  foo
  <span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span>
  , abc
</div>;

v3.4.1

Compare Source

diff

Remove unnecessary parentheses around assignment in v-on (#​16887 by @​fisker)
<!-- Input -->
<template>
  <button @&#8203;click="foo += 2">Click</button>
</template>

<!-- Prettier 3.4.0 -->
<template>
  <button @&#8203;click="(foo += 2)">Click</button>
</template>

<!-- Prettier 3.4.1 -->
<template>
  <button @&#8203;click="foo += 2">Click</button>
</template>

v3.4.0

Compare Source

diff

🔗 Release Notes

v3.3.3

Compare Source

diff

Add parentheses for nullish coalescing in ternary (#​16391 by @​cdignam-segment)

This change adds clarity to operator precedence.

// Input
foo ? bar ?? foo : baz;
foo ?? bar ? a : b;
a ? b : foo ?? bar;

// Prettier 3.3.2
foo ? bar ?? foo : baz;
foo ?? bar ? a : b;
a ? b : foo ?? bar;

// Prettier 3.3.3
foo ? (bar ?? foo) : baz;
(foo ?? bar) ? a : b;
a ? b : (foo ?? bar);
Add parentheses for decorator expressions (#​16458 by @​y-schneider)

Prevent parentheses around member expressions or tagged template literals from being removed to follow the stricter parsing rules of TypeScript 5.5.

// Input
@&#8203;(foo`tagged template`)
class X {}

// Prettier 3.3.2
@&#8203;foo`tagged template`
class X {}

// Prettier 3.3.3
@&#8203;(foo`tagged template`)
class X {}
Support @let declaration syntax (#​16474 by @​sosukesuzuki)

Adds support for Angular v18 @let declaration syntax.

Please see the following code example. The @let declaration allows you to define local variables within the template:

@&#8203;let name = 'Frodo';

<h1>Dashboard for {{name}}</h1>
Hello, {{name}}

For more details, please refer to the excellent blog post by the Angular Team: Introducing @​let in Angular.

We also appreciate the Angular Team for kindly answering our questions to implement this feature.

v3.3.2

Compare Source

diff

Fix handlebars path expressions starts with @ (#​16358 by @​Princeyadav05)
{{! Input }}
<div>{{@&#8203;x.y.z}}</div>

{{! Prettier 3.3.1 }}
<div>{{@&#8203;x}}</div>

{{! Prettier 3.3.2 }}
<div>{{@&#8203;x.y.z}}</div>

v3.3.1

Compare Source

diff

Preserve empty lines in front matter (#​16347 by @​fisker)
<!-- Input -->
---
foo:
  - bar1

  - bar2

  - bar3
---
Markdown

<!-- Prettier 3.3.0 -->

---
foo:
  - bar1
  - bar2
  - bar3
---

Markdown

<!-- Prettier 3.3.1 -->
---
foo:
  - bar1

  - bar2

  - bar3
---

Markdown
Preserve explicit language in front matter (#​16348 by @​fisker)
<!-- Input -->
---yaml
title: Hello
slug: home
---

<!-- Prettier 3.3.0 -->
---
title: Hello
slug: home
---

<!-- Prettier 3.3.1 -->
---yaml
title: Hello
slug: home
---
Avoid line breaks in import attributes (#​16349 by @​fisker)
// Input
import something from "./some-very-very-very-very-very-very-very-very-long-path.json" with { type: "json" };

// Prettier 3.3.0
import something from "./some-very-very-very-very-very-very-very-very-long-path.json" with { type:
  "json" };

// Prettier 3.3.1
import something from "./some-very-very-very-very-very-very-very-very-long-path.json" with { type: "json" };

v3.3.0

Compare Source

diff

🔗 Release Notes

microsoft/TypeScript (typescript)

v5.9.2

Compare Source

v5.8.3

Compare Source

v5.8.2

Compare Source

v5.7.3: TypeScript 5.7.3

Compare Source

For release notes, check out the release announcement.

Downloads are available on npm

v5.7.2: TypeScript 5.7

Compare Source

For release notes, check out the release announcement.

Downloads are available on:

v5.6.3: TypeScript 5.6.3

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.6.2: TypeScript 5.6

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.5.4: TypeScript 5.5.4

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.5.3: TypeScript 5.5.3

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.5.2: TypeScript 5.5

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.4.5: TypeScript 5.4.5

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.4.4: TypeScript 5.4.4

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.4.3: TypeScript 5.4.3

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.4.2: TypeScript 5.4

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:


Configuration

📅 Schedule: Branch creation - "every weekend" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner February 10, 2024 12:49
@renovate renovate bot enabled auto-merge (squash) February 10, 2024 12:49
@renovate renovate bot changed the title chore(deps): update dependency @types/node to v18.19.15 chore(deps): update dependency @types/node to v18.19.17 Feb 17, 2024
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 5da328f to 0c86569 Compare February 17, 2024 11:04
@renovate renovate bot changed the title chore(deps): update dependency @types/node to v18.19.17 chore(deps): update all non-major dependencies Feb 24, 2024
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 0c86569 to ff49ba7 Compare February 24, 2024 10:40
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 162c1c6 to b6ec56e Compare March 9, 2024 08:14
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from b6ec56e to 78ff24c Compare March 16, 2024 07:50
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from bc7a1a7 to 4ad98b4 Compare March 30, 2024 07:58
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 4ad98b4 to 2113a6a Compare April 6, 2024 07:50
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 2113a6a to 40b4e99 Compare April 13, 2024 09:53
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 40b4e99 to 2c95e8d Compare May 11, 2024 08:32
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 3c94926 to 18b9795 Compare June 8, 2024 07:45
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 18b9795 to 003c4a3 Compare June 15, 2024 07:32
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 003c4a3 to 6c27fc8 Compare June 22, 2024 11:02
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 6c27fc8 to 178a79e Compare July 6, 2024 08:39
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from dd0cb70 to eb47622 Compare July 20, 2024 11:34
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 030f24f to b0aecec Compare August 3, 2024 08:26
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from b0aecec to e294c4b Compare August 10, 2024 08:09
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from e294c4b to befd8a3 Compare August 19, 2024 04:23
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 1e9ad28 to dc62776 Compare September 1, 2024 12:52
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from dc62776 to 8b46bdf Compare September 7, 2024 10:29
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 8b46bdf to 3ff9a7a Compare September 14, 2024 11:02
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from f1460a6 to 92584b7 Compare January 25, 2025 09:23
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from d47a09c to 2425ff5 Compare February 9, 2025 12:32
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 2425ff5 to 00cd614 Compare February 15, 2025 10:33
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from d1bcb13 to 44891fa Compare March 1, 2025 10:20
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from bed0c87 to df63721 Compare March 8, 2025 11:03
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 2b0c285 to 1a656b1 Compare March 29, 2025 09:47
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 672b3ac to 709a76c Compare April 12, 2025 07:06
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 709a76c to b61a46a Compare April 19, 2025 10:32
@renovate renovate bot requested a review from a team as a code owner April 19, 2025 10:32
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from b61a46a to 6fdf1a6 Compare April 26, 2025 10:23
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 6fdf1a6 to 04e36be Compare May 10, 2025 10:53
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 36e99f2 to 870a5a9 Compare May 24, 2025 09:21
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 7d937dc to c79b1df Compare June 7, 2025 08:44
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 8884bdf to a82b814 Compare June 23, 2025 05:07
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from a75de2a to 4c7f3cf Compare July 5, 2025 09:12
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 8ae9f5c to 20913bf Compare July 19, 2025 08:30
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 20913bf to 42b6d88 Compare August 2, 2025 08:32
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 42b6d88 to 4218016 Compare August 9, 2025 09:36
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 4218016 to f921bbf Compare August 16, 2025 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants