Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update all non-major dependencies #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 25, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/node (source) ^20.9.3 -> ^20.17.24 age adoption passing confidence
@types/semver (source) ^7.5.6 -> ^7.5.8 age adoption passing confidence
chalk ^5.3.0 -> ^5.4.1 age adoption passing confidence
changelogen ^0.5.5 -> ^0.6.1 age adoption passing confidence
defu ^6.1.3 -> ^6.1.4 age adoption passing confidence
dotenv ^16.3.1 -> ^16.4.7 age adoption passing confidence
eslint (source) 8.54.0 -> 8.57.1 age adoption passing confidence
knip (source) ^2.41.5 -> ^2.43.0 age adoption passing confidence
pathe ^1.1.1 -> ^1.1.2 age adoption passing confidence
prettier (source) 3.1.0 -> 3.5.3 age adoption passing confidence
release-it ^17.0.0 -> ^17.11.0 age adoption passing confidence
semver ^7.5.4 -> ^7.7.1 age adoption passing confidence
typescript (source) ^5.3.2 -> ^5.8.2 age adoption passing confidence

Release Notes

chalk/chalk (chalk)

v5.4.1

Compare Source

v5.4.0

Compare Source

  • Update CIRCLECI environments to return level 3 color support f838120
unjs/changelogen (changelogen)

v0.6.1

Compare Source

compare changes

🩹 Fixes
  • Pass cwd in more places before running commands (#​266)
🏡 Chore
✅ Tests
❤️ Contributors

v0.6.0

Compare Source

compare changes

🚀 Enhancements
  • Update jiti to v2 (6e85d32)
  • Add check for breaking changes in commit body (#​228)
  • Hide author email address via flag (#​247)
  • Add noAuthors option (#​183)
🩹 Fixes
  • Use https proto for author's github link (#​225)
  • Use https proto for author's github link in tests (#​226)
  • Release version regex supporting pre versions (#​259)
  • Use correct compare changes URL for Bitbucket (#​257)
  • Use tag template for version title and compare change link (#​255)
  • Render usernames in github changelog (#​265)
💅 Refactors
  • Use consola for colors (49e0401)
  • Use confbox for yaml parsing (19e940c)
📦 Build
🏡 Chore
✅ Tests
  • Add tests for parsing co-authors from commit body (#​229)
⚠️ Breaking Changes
❤️ Contributors

v0.5.7

Compare Source

compare changes

🩹 Fixes
  • bump: Avoid using + for canary suffix (#​224)
❤️ Contributors

v0.5.6

Compare Source

compare changes

🚀 Enhancements
  • Add option to sign git tags (#​117)
  • git: Support parse git messages that have prefix emoji (#​146)
🩹 Fixes
  • github: Use bearer token (#​180)
  • Handle repo name with multiple segments (#​219)
  • Lowercase scope when filtering (#​199)
💅 Refactors
  • Replace execa with execSync (#​222)
  • Use human readable date for canary versions (#​223)
  • Update execCommand (68127be)
🏡 Chore
❤️ Contributors
unjs/defu (defu)

v6.1.4

Compare Source

compare changes

🩹 Fixes
  • Merge objects with Module type (#​121)
💅 Refactors
  • Move isPlainObject to _utils to allow testing (e922a16)
  • Make isPlainObject logic more readable (e458b63)
📖 Documentation
🏡 Chore
✅ Tests
  • Improve tests for isPlainObject (b24a213)
❤️ Contributors
motdotla/dotenv (dotenv)

v16.4.7

Compare Source

Changed
  • Ignore .tap folder when publishing. (oops, sorry about that everyone. - @​motdotla) #​848

v16.4.6

Compare Source

Changed
  • Clean up stale dev dependencies #​847
  • Various README updates clarifying usage and alternative solutions using dotenvx

v16.4.5

Compare Source

Changed
  • 🐞 Fix recent regression when using path option. return to historical behavior: do not attempt to auto find .env if path set. (regression was introduced in 16.4.3) #​814

v16.4.4

Compare Source

Changed
  • 🐞 Replaced chaining operator ?. with old school && (fixing node 12 failures) #​812

v16.4.3

Compare Source

Changed
  • Fixed processing of multiple files in options.path #​805

v16.4.2

Compare Source

Changed

v16.4.1

Compare Source

  • Patch support for array as path option #​797

v16.4.0

Compare Source

  • Add error.code to error messages around .env.vault decryption handling #​795
  • Add ability to find .env.vault file when filename(s) passed as an array #​784

v16.3.2

Compare Source

Added
  • Add debug message when no encoding set #​735
Changed
  • Fix output typing for populate #​792
  • Use subarray instead of slice #​793
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

v8.56.0

Compare Source

Features
  • 0dd9704 feat: Support custom severity when reporting unused disable directives (#​17212) (Bryan Mishkin)
  • 31a7e3f feat: fix no-restricted-properties false negatives with unknown objects (#​17818) (Arka Pratim Chaudhuri)
Bug Fixes
  • 7d5e5f6 fix: TypeError: fs.exists is not a function on read-only file system (#​17846) (Francesco Trotta)
  • 74739c8 fix: suggestion with invalid syntax in no-promise-executor-return rule (#​17812) (Bryan Mishkin)
Documentation
  • 9007719 docs: update link in ways-to-extend.md (#​17839) (Amel SELMANE)
  • 3a22236 docs: Update README (GitHub Actions Bot)
  • 54c3ca6 docs: fix migration-guide example (#​17829) (Tanuj Kanti)
  • 4391b71 docs: check config comments in rule examples (#​17815) (Francesco Trotta)
  • fd28363 docs: remove mention about ESLint stylistic rules in readme (#​17810) (Zwyx)
  • 48ed5a6 docs: Update README (GitHub Actions Bot)
Chores

v8.55.0

Compare Source

Features
  • 8c9e6c1 feat: importNamePattern option in no-restricted-imports (#​17721) (Tanuj Kanti)
Documentation
  • 83ece2a docs: fix typo --rules -> --rule (#​17806) (OKURA Masafumi)
  • fffca5c docs: remove "Open in Playground" buttons for removed rules (#​17791) (Francesco Trotta)
  • a6d9442 docs: fix correct/incorrect examples of rules (#​17789) (Tanuj Kanti)
  • 383e999 docs: update and fix examples for no-unused-vars (#​17788) (Tanuj Kanti)
  • 5a8efd5 docs: add specific stylistic rule for each deprecated rule (#​17778) (Etienne)
Chores
webpro-nl/knip (knip)

v2.43.0

Compare Source

  • Fix up name resolver in babel plugin helper (resolves #​363) (a3a5fbb)
  • Add config file paths to babel plugin (d7a07a0)
  • Use flowNode pos if available for export declarations (resolves #​353) (9e89be6)

v2.42.0

Compare Source

  • Add tests with typescript@latest (c95e060)
  • Add compat w/ typescript v5.3.2 (395c278)

v2.41.6

Compare Source

  • Update dependencies (a69fa9e)
  • Fix error message (76c5b26)
  • Add tsconfig.json to nx fixture (#​358) (622848a)
  • Use babel plugin to find dependencies from babelOptions in eslint plugin (resolves #​357) (be9a14c)
unjs/pathe (pathe)

v1.1.2

Compare Source

compare changes

🩹 Fixes
  • Trim root folder / when calculating relative paths (#​142)
  • Check process.cwd before calling it (#​147)
  • Uppercase windows drive letters (#​151)
  • resolveAlias: Handle aliases ending with trailing slash (#​155)
  • relative: Handle different windows drive letters (#​158)
🏡 Chore
❤️ Contributors
1.1.1 (2023-06-01)
Bug Fixes
prettier/prettier (prettier)

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

v3.2.5

Compare Source

diff

Support Angular inline styles as single template literal (#​15968 by @​sosukesuzuki)

Angular v17 supports single string inline styles.

// Input
@&#8203;Component({
  template: `<div>...</div>`,
  styles: `h1 { color: blue; }`,
})
export class AppComponent {}

// Prettier 3.2.4
@&#8203;Component({
  template: `<div>...</div>`,
  styles: `h1 { color: blue; }`,
})
export class AppComponent {}

// Prettier 3.2.5
@&#8203;Component({
  template: `<div>...</div>`,
  styles: `
    h1 {
      color: blue;
    }
  `,
})
export class AppComponent {}
Unexpected embedded formatting for Angular template (#​15969 by @​JounQin)

Computed template should not be considered as Angular component template

// Input
const template = "foobar";

@&#8203;Component({
  [template]: `<h1>{{       hello }}</h1>`,
})
export class AppComponent {}

// Prettier 3.2.4
const template = "foobar";

@&#8203;Component({
  [template]: `<h1>{{ hello }}</h1>`,
})
export class AppComponent {}

// Prettier 3.2.5
const template = "foobar";

@&#8203;Component({
  [template]: `<h1>{{       hello }}</h1>`,
})
export class AppComponent {}
Use "json" parser for tsconfig.json by default (#​16012 by @​sosukesuzuki)

In v3.2.0, we introduced "jsonc" parser which adds trailing comma by default.

When adding a new parser we also define how it will be used based on the linguist-languages data.

tsconfig.json is a special file used by TypeScript, it uses .json file extension, but it actually uses the JSON with Comments syntax. However, we found that there are many third-party tools not recognize it correctly because of the confusing .json file extension.

We decide to treat it as a JSON file for now to avoid the extra configuration step.

To keep using the "jsonc" parser for your tsconfig.json files, add the following to your .prettierrc file

{
  "overrides": [
    {
      "files": ["tsconfig.json", "jsconfig.json"],
      "options": {
        "parser": "jsonc"
      }
    }
  ]
}

v3.2.4

Compare Source

prettier --file-info tsconfig.json
{ "ignored": false, "inferredParser": "jsonc" }

v3.2.3

Compare Source

diff

Throw errors for invalid code (#​15881 by @​fisker, @​Josh-Cena, @​auvred)
// Input
1++;

// Prettier 3.2.2
1++;

// Prettier 3.2.3
SyntaxError: Invalid left-hand side expression in unary operation (1:1)
> 1 | 1++;
    | ^
// Input
try {} catch (error = 1){}

// Prettier 3.2.2
try {
} catch (error) {}

// Prettier 3.2.3
SyntaxError: Catch clause variable cannot have an initializer. (1:23)
> 1 | try {} catch (error = 1){}
    |                       ^
Fix parser inference (#​15927 by @​fisker)
// Prettier 3.2.2
prettier --file-info tsconfig.json
{ "ignored": false, "inferredParser": "json" }

// Prettier 3.2.3
prettier --file-info tsconfig.json
{ "ignored": false, "inferredParser": "jsonc" }

v3.2.2

Compare Source

diff

Fix crash when parsing template literal CSS in a JSX style tag using a spread attribute (#​15896 by @​eelco)

For example this code would crash before:

<style {...spread}>{`.{}`}</style>
Fix formatting error on optional call expression and member chain ([#​15920](https://

Configuration

📅 Schedule: Branch creation - "after 2am and before 3am" (UTC), Automerge - "after 1am and before 2am" (UTC).

🚦 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 force-pushed the renovate/all-minor-patch branch 3 times, most recently from cbbd4d6 to fdaba8a Compare December 3, 2023 20:12
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 4 times, most recently from 6913ee4 to f9d9d0a Compare December 10, 2023 10:47
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from ceaf653 to de591be Compare December 18, 2023 01:42
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 7c5e9bb to ab32fbe Compare January 5, 2024 21:12
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 7 times, most recently from 1cc6f80 to b47ab21 Compare January 14, 2024 05:11
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 8 times, most recently from 573aeea to 363303a Compare January 19, 2024 17:27
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 4 times, most recently from e5ddc68 to 6437d0c Compare January 24, 2024 19:55
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from fa55e60 to d46ed84 Compare December 4, 2024 07:21
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from d46ed84 to 6329159 Compare December 11, 2024 11:06
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from 01336c4 to 38c0b7e Compare December 23, 2024 13:43
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 0831397 to 5148160 Compare January 6, 2025 11:14
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 113b805 to 30e3e55 Compare January 14, 2025 23:15
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 30e3e55 to 836e2a9 Compare January 16, 2025 01:01
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from ff037e6 to cd4712a Compare January 29, 2025 22:13
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 680e503 to 96f3a89 Compare February 9, 2025 14:13
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from fabfc67 to 6d99590 Compare February 14, 2025 03:11
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 4 times, most recently from 48f4004 to 023a95d Compare February 28, 2025 22:39
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 4 times, most recently from 922d883 to b1ab88d Compare March 3, 2025 23:00
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from b1ab88d to f8f8afb Compare March 8, 2025 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants