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 dependencies (minor/patch) #50

Merged
merged 8 commits into from
Mar 3, 2024

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jun 16, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
@biomejs/biome (source) 1.0.0 -> 1.5.3 age adoption passing confidence devDependencies minor
@types/babel__core (source) 7.20.0 -> 7.20.5 age adoption passing confidence devDependencies patch
@types/cytoscape (source) 3.19.9 -> 3.19.16 age adoption passing confidence devDependencies patch
@types/d3 (source) 7.4.0 -> 7.4.3 age adoption passing confidence devDependencies patch
@types/katex (source) 0.16.0 -> 0.16.7 age adoption passing confidence devDependencies patch
@types/node (source) 18.11.18 -> 18.19.21 age adoption passing confidence devDependencies minor
@types/react (source) 18.0.28 -> 18.2.61 age adoption passing confidence devDependencies minor
@types/react-cytoscapejs (source) 1.2.2 -> 1.2.5 age adoption passing confidence devDependencies patch
@types/react-dom (source) 18.0.11 -> 18.2.19 age adoption passing confidence devDependencies minor
@types/unist (source) 2.0.6 -> 2.0.10 age adoption passing confidence devDependencies patch
@types/uuid (source) 9.0.1 -> 9.0.8 age adoption passing confidence devDependencies patch
@​types/wanakana 4.0.3 -> 4.0.6 age adoption passing confidence dependencies patch
autoprefixer 10.4.13 -> 10.4.18 age adoption passing confidence devDependencies patch
cytoscape (source) 3.23.0 -> 3.28.1 age adoption passing confidence devDependencies minor
gradle (source) 8.1.1 -> 8.6 age adoption passing confidence minor
gradle 8.1.1-jdk11 -> 8.6.0-jdk11 age adoption passing confidence stage minor
jotai 2.0.1 -> 2.7.0 age adoption passing confidence dependencies minor
katex (source) 0.16.4 -> 0.16.9 age adoption passing confidence dependencies patch
mermaid 10.0.2 -> 10.8.0 age adoption passing confidence dependencies minor
next (source) 13.2.4 -> 13.5.6 age adoption passing confidence dependencies minor
pnpm (source) 8.6.1 -> 8.15.4 age adoption passing confidence packageManager minor
postcss (source) 8.4.21 -> 8.4.35 age adoption passing confidence devDependencies patch
reactflow (source) 11.6.1 -> 11.10.4 age adoption passing confidence dependencies minor
tailwindcss (source) 3.2.4 -> 3.4.1 age adoption passing confidence devDependencies minor
ts-pattern 4.1.4 -> 4.3.0 age adoption passing confidence dependencies minor
typescript (source) 5.0.2 -> 5.3.3 age adoption passing confidence devDependencies minor
wanakana (source) 5.0.2 -> 5.3.1 age adoption passing confidence dependencies minor
io.github.xxfast:kstore (source) 0.6.0 -> 0.7.1 age adoption passing confidence dependencies minor
org.jetbrains.kotlinx:kotlinx-coroutines-core 1.7.1 -> 1.8.0 age adoption passing confidence dependencies minor
org.jetbrains.kotlinx:kotlinx-serialization-json 1.5.1 -> 1.6.3 age adoption passing confidence dependencies minor
org.jetbrains.kotlin-wrappers:kotlin-wrappers-bom 1.0.0-pre.565 -> 1.0.0-pre.707 age adoption passing confidence dependencies patch
org.jetbrains:markdown 0.4.1 -> 0.6.1 age adoption passing confidence dependencies minor
org.jmailen.kotlinter 3.15.0 -> 3.16.0 age adoption passing confidence plugin minor
org.jetbrains.kotlin.plugin.serialization 1.8.22 -> 1.9.22 age adoption passing confidence plugin minor
org.jetbrains.kotlin.multiplatform 1.8.22 -> 1.9.22 age adoption passing confidence plugin minor
com.pinterest.ktlint:ktlint-ruleset-standard 0.48.0 -> 0.50.0 age adoption passing confidence dependencies minor

Release Notes

biomejs/biome (@​biomejs/biome)

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

v1.5.1

Compare Source

CLI
Bug fixes
  • The diagnostics files/missingHandler are now shown only when the option --verbose is passed. Contributed by @​ematipico
  • The diagnostics for protected files are now shown only when the option --verbose is passed. Contributed by @​ematipico
  • Fix #​1465, by taking in consideration the workspace folder when matching a pattern. Contributed by @​ematipico
  • Fix #​1465, by correctly process globs that contain file names. Contributed by @​ematipico
Formatter
Bug fixes
  • Fix #​1170. Fix placement of comments inside default switch clause. Now all line comments that have a preceding node will keep their position. Contributed by @​kalleep
Linter
Bug fixes
  • Fix #​1335. noUselessFragments now ignores code action on component props when the fragment is empty. Contributed by @​vasucp1207

  • useConsistentArrayType was accidentally placed in the style rule group instead of the nursery group. It is now correctly placed under nursery.

  • Fix #​1483. useConsistentArrayType now correctly handles its option. Contributed by @​Conaclos

  • Fix #​1502. useArrowFunction now correctly handle functions that return a (comma) sequence expression. Contributed by @​Conaclos

    Previously the rule made an erroneous suggestion:

    - f(function() { return 0, 1; }, "");
    + f(() => 0, 1, "")

    Now, the rule wraps any comma sequence between parentheses:

    - f(function() { return 0, 1; }, "");
    + f(() => (0, 1), "")
  • Fix #​1473: useHookAtTopLevel now correctly handles React components and hooks that are nested inside other functions. Contributed by @​arendjr

v1.5.0

Compare Source

Biome now scores 97% compatibility with Prettier and features more than 180 linter rules.

Analyzer
CLI
New features
  • Biome now shows a diagnostic when it encounters a protected file. Contributed by @​ematipico

  • The command biome migrate now updates the $schema if there's an outdated version.

  • The CLI now takes in consideration the .gitignore in the home directory of the user, if it exists. Contributed by @​ematipico

  • The biome ci command is now able to print GitHub Workflow Commands when there are diagnostics in our code. Contributed by @​nikeee
    This might require setting the proper permissions on your GitHub action:

    permissions:
      pull-requests: write
  • The commands format, lint, check and ci now accept two new arguments: --changed and --since. Use these options with the VCS integration
    is enabled to process only the files that were changed. Contributed by @​simonxabris

    biome format --write --changed
  • Introduced a new command called biome explain, which has the capability to display documentation for lint rules. Contributed by @​kalleep

  • You can use the command biome explain to print the documentation of lint rules. Contributed by @​kalleep

    biome explain noDebugger
    biome explain useAltText
  • You can use the command biome explain to print the directory where daemon logs are stored. Contributed by @​ematipico

    biome explain daemon-logs
  • Removed the hard coded limit of 200 printable diagnostics. Contributed by @​ematipico

Bug fixes
Configuration
New features
  • Users can specify git ignore patterns inside ignore and include properties, for example it's possible to allow list globs of files using the ! character:

    {
      "files": {
        "ignore": [
          "node_modules/**",
          "!**/dist/**" // this is now accepted and allow files inside the `dist` folder
        ]
      }
    }
Editors
New features
  • The LSP registers formatting without the need of using dynamic capabilities from the client.

    This brings formatting services to the editors that don't support or have limited support for dynamic capabilities.

Formatter
Bug fixes
  • Fix #​1169. Account for escaped strings when computing layout for assignments. Contributed by @​kalleep

  • Fix #​851. Allow regular function expressions to group and break as call arguments, just like arrow function expressions. #​1003 Contributed by @​faultyserver

  • Fix #​914. Only parenthesize type-casted function expressions as default exports. #​1023 Contributed by @​faultyserver

  • Fix #​1112. Break block bodies in case clauses onto their own lines and preserve trailing fallthrough comments. #​1035 Contributed by @​faultyserver

  • Fix RemoveSoftLinesBuffer behavior to also removed conditional expanded content, ensuring no accidental, unused line breaks are included #​1032 Contributed by @​faultyserver

  • Fix #​1024. Allow JSX expressions to nestle in arrow chains #​1033 Contributed by @​faultyserver

  • Fix incorrect breaking on the left side of assignments by always using fluid assignment. #​1021 Contributed by @​faultyserver

  • Fix breaking strategy for nested object patterns in function parameters #​1054 Contributed by @​faultyserver

  • Fix over-indention of arrow chain expressions by simplifying the way each chain is grouped #​1036, #​1136, and #​1162 Contributed by @​faultyserver.

  • Fix "simple" checks for calls and member expressions to correctly handle array accesses, complex arguments to single-argument function calls, and multiple-argument function calls. #​1057 Contributed by @​faultyserver

  • Fix text wrapping and empty line handling for JSX Text elements to match Prettier's behavior. #​1075 Contributed by @​faultyserver

  • Fix leading comments in concisely-printed arrays to prevent unwanted line breaks. #​1135 Contributed by @​faultyserver

  • Fix best_fitting and interned elements preventing expansion propagation from sibling elements. #​1141 Contributed by @​faultyserver

  • Fix heuristic for grouping function parameters when type parameters with constraints are present. #​1153. Contributed by @​faultyserver.

  • Fix binary-ish and type annotation handling for grouping call arguments in function expressions and call signatures. #​1152 and #​1160 Contributed by @​faultyserver

  • Fix handling of nestled JSDoc comments to preserve behavior for overloads. #​1195 Contributed by @​faultyserver

  • Fix #​1208. Fix extraction of inner types when checking for simple type annotations in call arguments. #​1195 Contributed by @​faultyserver

  • Fix #​1220. Avoid duplicating comments in type unions for mapped, empty object, and empty tuple types. #​1240 Contributed by @​faultyserver

  • Fix #​1356. Ensure if_group_fits_on_line content is always written in RemoveSoftLinesBuffers. #​1357 Contributed by @​faultyserver

  • Fix #​1171. Correctly format empty statement with comment inside arrow body when used as single argument in call expression. Contributed by @​kalleep

  • Fix #​1106. Fix invalid formatting of single bindings when Arrow Parentheses is set to "AsNeeded" and the expression breaks over multiple lines. #​1449 Contributed by @​faultyserver

JavaScript APIs
Linter
Promoted rules

New rules are incubated in the nursery group.
Once stable, we promote them to a stable group.
The following rules are promoted:

New features
  • Add useExportType that enforces the use of type-only exports for types. Contributed by @​Conaclos

      interface A {}
      interface B {}
      class C {}
    
    - export type { A, C }
    + export { type A, C }
    
    - export { type B }
    + export type { B }
  • Add useImportType that enforces the use of type-only imports for types. Contributed by @​Conaclos

    - import { A, B } from "./mod.js";
    + import { type A, B } from "mod";
      let a: A;
      const b: B = new B();

    Also, the rule groups type-only imports:

    - import { type A, type B } from "./mod.js";
    + import type { A, B } from "./mod.js";
  • Add useFilenamingConvention, that enforces naming conventions for JavaScript and TypeScript filenames. Contributed by @​Conaclos

    By default, the rule requires that a filename be in camelCase, kebab-case, snake_case, or matches the name of an export in the file.
    The rule provides options to restrict the allowed cases.

  • Add useNodejsImportProtocol that enforces the use of the node: protocol when importing Node.js modules. Contributed by @​2-NOW, @​vasucp1207, and @​Conaclos

    - import fs from "fs";
    + import fs from "node:fs";
  • Add useNumberNamespace that enforces the use of the Number properties instead of the global ones.

    - parseInt;
    + Number.parseInt;
    - - Infinity;
    + Number.NEGATIVE_INFINITY;
  • Add useShorthandFunctionType that enforces using function types instead of object type with call signatures. Contributed by @​emab, @​ImBIOS, and @​seitarof

    - interface Example {
    -   (): string;
    - }
    + type Example = () => string

- Add [noNodejsModules](https://biomejs.dev/linter/rules/no-nodejs-modules), that disallows the use of _Node.js_ modules. Contributed by @&#8203;anonrig, @&#8203;ematipico, and @&#8203;Conaclos

- Add [noInvalidUseBeforeDeclaration](https://biomejs.dev/linter/rules/no-invalid-use-before-declaration) that reports variables and function parameters used before their declaration. Contributed by @&#8203;Conaclos

  ```js
  function f() {
    console.log(c); // Use of `c` before its declaration.
    const c = 0;
  }
  • Add useConsistentArrayType that enforces the use of a consistent syntax for array types. Contributed by @​eryue0220

    This rule will replace useShorthandArrayType.
    It provides an option to choose between the shorthand or the generic syntax.

  • Add noEmptyTypeParameters that ensures that any type parameter list has at least one type parameter. Contributed by @​togami2864

    This will report the following empty type parameter lists:

    interface Foo<> {}
    //           ^^
    type Bar<> = {};
    //      ^^
  • Add noGlobalEval that reports any use of the global eval.
    Contributed by @​you-5805

  • Add noGlobalAssign that reports assignment to global variables. Contributed by @​chansuke

    Object = {}; // report assignment to `Object`.
  • Add noMisleadingCharacterClass that disallows characters made with multiple code points in character class. Contributed by @​togami2864

  • Add noThenProperty that disallows the use of then as property name. Adding a then property makes an object thenable that can lead to errors with Promises. Contributed by @​togami2864

  • Add noUselessTernary that disallows conditional expressions (ternaries) when simpler alternatives exist.

    var a = x ? true : true; // this could be simplified to `x`
Enhancements
  • noEmptyInterface ignores empty interfaces that extend a type. Address #​959 and #​1157. Contributed by @​Conaclos

    This allows supporting interface augmentation in external modules as demonstrated in the following example:

    interface Extension {
      metadata: unknown;
    }
    
    declare module "@&#8203;external/module" {
      // Empty interface that extends a type.
      export interface ExistingInterface extends Extension {}
    }
  • Preserve more comments in the code fix of [useExponentiati

@renovate renovate bot force-pushed the renovate/dependencies-(minorpatch) branch 7 times, most recently from e9351bd to 9c55e6f Compare June 25, 2023 18:08
@renovate renovate bot force-pushed the renovate/dependencies-(minorpatch) branch 12 times, most recently from 9141153 to 71ab552 Compare July 2, 2023 07:41
@renovate renovate bot force-pushed the renovate/dependencies-(minorpatch) branch 10 times, most recently from 42eeda5 to 7b2689d Compare July 10, 2023 00:06
@renovate renovate bot force-pushed the renovate/dependencies-(minorpatch) branch 15 times, most recently from aab262a to f446b29 Compare March 2, 2024 09:53
@renovate renovate bot force-pushed the renovate/dependencies-(minorpatch) branch 2 times, most recently from f425fef to 3364300 Compare March 3, 2024 01:57
@renovate renovate bot force-pushed the renovate/dependencies-(minorpatch) branch from 3364300 to e97c221 Compare March 3, 2024 02:54
@renovate renovate bot force-pushed the renovate/dependencies-(minorpatch) branch from e97c221 to 43968cb Compare March 3, 2024 03:15
Copy link
Author

renovate bot commented Mar 3, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@turtton turtton merged commit c7e85cd into main Mar 3, 2024
4 checks passed
@turtton turtton deleted the renovate/dependencies-(minorpatch) branch March 3, 2024 08:18
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.

1 participant