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 @biomejs packages #2732

Merged
merged 1 commit into from
May 6, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 6, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@biomejs/wasm-bundler (source) ^1.7.1 -> ^1.7.2 age adoption passing confidence
@biomejs/wasm-nodejs (source) ^1.7.1 -> ^1.7.2 age adoption passing confidence
@biomejs/wasm-web (source) ^1.7.1 -> ^1.7.2 age adoption passing confidence
@types/bun (source) 1.1.0 -> 1.1.1 age adoption passing confidence
@types/node (source) 20.12.7 -> 20.12.8 age adoption passing confidence
vite (source) 5.2.10 -> 5.2.11 age adoption passing confidence
vitest (source) 1.5.2 -> 1.6.0 age adoption passing confidence

Release Notes

biomejs/biome (@​biomejs/wasm-bundler)

v1.7.2

Compare Source

Analyzer
Bug fixes
  • Import sorting now ignores side effect imports (#​817).

    A side effect import consists now in its own group.
    This ensures that side effect imports are not reordered.

    Here is an example of how imports are now sorted:

      import "z"
    - import { D } from "d";
      import { C } from "c";
    + import { D } from "d";
      import "y"
      import "x"
    - import { B } from "b";
      import { A } from "a";
    + import { B } from "b";
      import "w"

    Contributed by @​Conaclos

  • Import sorting now adds spaces where needed (#​1665)
    Contributed by @​Conaclos

CLI
Bug fixes
  • biome migrate eslint now handles cyclic references.

    Some plugins and configurations export objects with cyclic references.
    This causes biome migrate eslint to fail or ignore them.
    These edge cases are now handled correctly.

    Contributed by @​Conaclos

Formatter
Bug fixes
  • Correctly handle placement of comments inside named import clauses. #​2566. Contributed by @​ah-yu
Linter
New features
Bug fixes
  • noDuplicateJsonKeys no longer crashes when a JSON file contains an unterminated string (#​2357).
    Contributed by @​Conaclos

  • noRedeclare now reports redeclarations of parameters in a functions body (#​2394).

    The rule was unable to detect redeclarations of a parameter or a type parameter in the function body.
    The following two redeclarations are now reported:

    function f<T>(a) {
      type T = number; // redeclaration
      const a = 0; // redeclaration
    }

    Contributed by @​Conaclos

  • noRedeclare no longer reports overloads in object types (#​2608).

    The rule no longer report redeclarations in the following code:

    type Overloads = {
      ({ a }: { a: number }): number,
      ({ a }: { a: string }): string,
    };

    Contributed by @​Conaclos

  • noRedeclare now merge default function export declarations and types (#​2372).

    The following code is no longer reported as a redeclaration:

    interface Foo {}
    export default function Foo() {}

    Contributed by @​Conaclos

  • noUndeclaredVariables no longer reports variable-only and type-only exports (#​2637).
    Contributed by @​Conaclos

  • noUnusedVariables no longer crash Biome when encountering a malformed conditional type (#​1695).
    Contributed by @​Conaclos

  • useConst now ignores a variable that is read before its assignment.

    Previously, the rule reported the following example:

    let x;
    x; // read
    x = 0; // write

    It is now correctly ignored.

    Contributed by @​Conaclos

  • useShorthandFunctionType now suggests correct code fixes when parentheses are required (#​2595).

    Previously, the rule didn't add parentheses when they were needed.
    It now adds parentheses when the function signature is inside an array, a union, or an intersection.

    - type Union = { (): number } | string;
    + type Union = (() => number) | string;

    Contributed by @​Conaclos

  • useTemplate now correctly escapes strings (#​2580).

    Previously, the rule didn't correctly escape characters preceded by an escaped character.

    Contributed by @​Conaclos

  • noMisplacedAssertion now allow these matchers

    • expect.any()
    • expect.anything()
    • expect.closeTo
    • expect.arrayContaining
    • expect.objectContaining
    • expect.stringContaining
    • expect.stringMatching
    • expect.extend
    • expect.addEqualityTesters
    • expect.addSnapshotSerializer

    Contributed by @​fujiyamaorange

Parser
Bug fixes
  • The language parsers no longer panic on unterminated strings followed by a newline and a space (#​2606, #​2410).

    The following example is now parsed without making Biome panics:

    "
     "
    

    Contributed by @​Conaclos

vitejs/vite (vite)

v5.2.11

Compare Source

vitest-dev/vitest (vitest)

v1.6.0

Compare Source

   🚀 Features
   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

v1.5.3

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

Configuration

📅 Schedule: Branch creation - "before 9am on monday" in timezone Europe/Gibraltar, Automerge - 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, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@arendjr arendjr merged commit 37a809f into main May 6, 2024
6 checks passed
@arendjr arendjr deleted the renovate/@biomejs-packages branch May 6, 2024 07:30
@Conaclos Conaclos added the A-Changelog Area: changelog label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Changelog Area: changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants