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 dependency @biomejs/biome to v1.6.2 #220

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 14, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@biomejs/biome (source) 1.5.1 -> 1.6.2 age adoption passing confidence

Release Notes

biomejs/biome (@​biomejs/biome)

v1.6.2

Compare Source

Analyzer
Bug fixes
  • The noSuperWithoutExtends rule now allows for calling super() in derived class constructors of class expressions (#​2108). Contributed by @​Sec-ant

  • Fix discrepancies on file source detection. Allow module syntax in .cts files (#​2114). Contributed by @​Sec-ant

CLI
Bug fixes
  • Fixes #​2131, where folders were incorrectly ignored when running the command check. Now folders are correctly ignored based on their command. Contributed by @​ematipico

  • Smoother handling of "endOfLine": "auto" in prettier migration: falling back to "lf" (#​2145). Contributed by @​eMerzh

Configuration
Bug fixes
  • Fix enabled rules calculation. The precendence of individual rules, all and recommend presets in top-level and group-level configs is now correctly respected. More details can be seen in (#​2072) (#​2028). Contributed by @​Sec-ant
Formatter
Bug fixes
  • Fix #​1661. Now nested conditionals are aligned with Prettier's logic, and won't contain mixed spaces and tabs. Contributed by @​ematipico
JavaScript APIs
Enhancements
  • Support applying lint fixes when calling the lintContent method of the Biome class (#​1956). Contributed by @​mnahkies
Linter
Bug fixes
  • Rule noUndeclaredDependencies now also validates peerDependencies and optionalDependencies (#​2122). Contributed by @​Sec-ant

  • Rule noUndeclaredDependencies won't check declare module statements anymore (#​2123). Contributed by @​Sec-ant

  • Fix #​1925. The fix for useOptionalChain would sometimes suggest an incorrect fix that discarded optional chaining operators on the left-hand side of logical expressions. These are now preserved. Contributed by @​arendjr

  • Rule noUndeclaredVariables now also checks for worker globals (#​2121). Contributed by @​Sec-ant

LSP
Bug fixes
  • Correctly parse .jsonc files. Contributed by @​Sec-ant

  • Correctly resolve external extends configs. Contributed by @​Sec-ant

v1.6.1

Compare Source

CLI
Bug fixes
  • CLI is now able to automatically search and resolve biome.jsonc (#​2008). Contributed by @​Sec-ant
  • Fix a false positive where some files were counted as "fixed" even though they weren't modified. Contributed by @​ematipico
Configuration
Bug fixes
  • json.formatter.trailingCommas option now works in overrides (#​2009). Contributed by @​Sec-ant
Linter
New features
  • Add rule noDoneCallback, this rule checks the function parameter of hooks & tests
    for use of the done argument, suggesting you return a promise instead. Contributed by @​vasucp1207

    beforeEach(done => {
      // ...
    });
Bug fixes
Parser
Bug fixes
  • JavaScript lexer is now able to lex regular expression literals with escaped non-ascii chars (#​1941).

    Contributed by @​Sec-ant

v1.6.0

Compare Source

Analyzer
New features
  • Add partial for .astro files. Biome is able to sort imports inside the frontmatter of the Astro files. Contributed
    by @​ematipico

v1.5.3

Compare Source

LSP
Bug fixes
  • Fix #​1584. Ensure the LSP only registers the formatter once. Contributed by @​nhedger

  • Fix #​1589. Fix invalid formatting of own line comments when they were at the end of an import/export list. Contributed by @​spanishpear

Configuration
Bug fixes
  • Override correctly the recommended preset (#​1349).

    Previously, if unspecified, Biome turned on the recommended preset in overrides.
    This resulted in reporting diagnostics with a severity level set to off.
    This in turn caused Biome to fail.

    Now Biome won't switch on the recommended preset in overrides unless told to do so.

    Contributed by @​Conaclos

  • Don't format ignored files that are well-known JSONC files when files.ignoreUnknown is enabled (#​1607).

    Previously, Biome always formatted files that are known to be JSONC files (e.g. .eslintrc) when files.ignoreUnknown was enabled.

    Contributed by @​Conaclos

Formatter
Bug fixes
  • Fix #​1178, where the line ending option wasn't correctly applied. Contributed by @​ematipico
  • Fix #​1571. Fix invalid formatting of nested multiline comments. Contributed by @​ah-yu
Linter
Bug fixes
Parser
Bug fixes
  • Accept the const modifier for type parameter in method type signature (#​1624).

    The following code is now correctly parsed:

    type Foo = {
      <const T>();
      method<const T>();
    };

    Contributed by @​magic-akari

  • Correctly parse type arguments in expression(#​1184).

    The following code is now correctly parsed in typescript:

    0 < (0 >= 1);

    Contributed by @​ah-yu

Website
New
Fixes

v1.5.2

Compare Source

CLI
Bug fixes
  • Fix #​1512 by skipping verbose diagnostics from the count. Contributed by @​ematipico

  • Correctly handle cascading include and ignore.

    Previously Biome incorrectly included files that were included at tool level and ignored at global level.
    In the following example, file.js was formatted when it should have been ignored.
    Now, Biome correctly ignores the directory ./src/sub/.

    ❯ tree src
      src
      └── sub
          └── file.js
    
    ❯ cat biome.json
      {
        "files": { "ignore": ["./src/sub/"] },
        "formatter": { "include": ["./src"] }
      }

    Contributed by @​Conaclos

  • Don't emit verbose warnings when a protected file is ignored.

    Some files, such as package.json and tsconfig.json, are protected.
    Biome emits a verbose warning when it encounters a protected file.

    Previously, Biome emitted this verbose warning even if the file was ignored by the configuration.
    Now, it doesn't emit verbose warnings for protected files that are ignored.

    Contributed by @​Conaclos

  • overrides no longer affect which files are ignored. Contributed by @​Conaclos

  • The file biome.json can't be ignored anymore. Contributed by @​ematipico

  • Fix #​1541 where the content of protected files wasn't returned to stdout. Contributed by @​ematipico

  • Don't handle CSS files, the formatter isn't ready yet. Contributed by @​ematipico

Configuration
Bug fixes
  • Fix 1440, a case where extends and overrides weren't correctly emitting the final configuration. Contributed by @​arendjr

  • Correctly handle include when ignore is set (#​1468). Contributed by @​Conaclos

    Previously, Biome ignored include if ignore was set.
    Now, Biome check both include and ignore.
    A file is processed if it is included and not ignored.
    If include is not set all files are considered included.

Formatter
Bug fixes
  • Fix placement of comments before * token in generator methods with decorators. #​1537 Contributed by @​ah-yu

  • Fix #​1406. Ensure comments before the async keyword are placed before it. Contributed by @​ah-yu

  • Fix #​1172. Fix placement of line comment after function expression parentheses, they are now attached to first statement in body. Contributed by @​kalleep

  • Fix #​1511 that made the JavaScript formatter crash. Contributed @​Conaclos

Linter
Enhancements
  • Add an unsafe code fix for noConsoleLog. Contributed by @​vasucp1207

  • useArrowFunction no longer reports function in extends clauses or in a new expression. Contributed by @​Conaclos

    These cases require the presence of a prototype.

  • Add dependency variable names on error message when useExhaustiveDependencies rule shows errors. Contributed by @​mehm8128

Bug fixes
  • The fix of useArrowFunction now adds parentheses around the arrow function in more cases where it is needed (#​1524).

    A function expression doesn't need parentheses in most expressions where it can appear.
    This is not the case with the arrow function.
    We previously added parentheses when the function appears in a call or member expression.
    We now add parentheses in binary-like expressions and other cases where they are needed, hopefully covering all cases.

    Previously:

    - f = f ?? function() {};
    + f = f ?? () => {};

    Now:

    - f = f ?? function() {};
    + f = f ?? (() => {});

    Contributed by @​Conaclos

  • Fix #​1514. Fix autofix suggestion to avoid the syntax error in no_useless_fragments. Contributed by @​togami2864


Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), 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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

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

Copy link

netlify bot commented Mar 14, 2024

Deploy Preview for rsdoctor ready!

Name Link
🔨 Latest commit 8b992cb
🔍 Latest deploy log https://app.netlify.com/sites/rsdoctor/deploys/66015b9ab5a1850008777f43
😎 Deploy Preview https://deploy-preview-220--rsdoctor.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@renovate renovate bot force-pushed the renovate/biomejs-biome-1.x branch 8 times, most recently from 868565b to a6e01b2 Compare March 20, 2024 16:18
@renovate renovate bot force-pushed the renovate/biomejs-biome-1.x branch 5 times, most recently from 4e981af to 390addc Compare March 22, 2024 09:05
@renovate renovate bot changed the title chore(deps): update dependency @biomejs/biome to v1.6.1 chore(deps): update dependency @biomejs/biome to v1.6.2 Mar 22, 2024
@renovate renovate bot force-pushed the renovate/biomejs-biome-1.x branch 12 times, most recently from 195e91e to 4df5e01 Compare March 25, 2024 09:04
@renovate renovate bot force-pushed the renovate/biomejs-biome-1.x branch from 4df5e01 to 8b992cb Compare March 25, 2024 11:10
@easy1090 easy1090 closed this Mar 25, 2024
Copy link
Contributor Author

renovate bot commented Mar 25, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (1.6.2). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

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.

1 participant