Skip to content

[master] Michijs Dependabot changes - #108

Closed
michijs[bot] wants to merge 1 commit into
masterfrom
michijs/dependabot
Closed

[master] Michijs Dependabot changes#108
michijs[bot] wants to merge 1 commit into
masterfrom
michijs/dependabot

chore: Dependabot changes

4cf6faf
Select commit
Loading
Failed to load commit list.
Michijs / Autofix: Format and safe fixes check failed Nov 18, 2025 in 2s

Autofix

Job ID: 019a97de-cc9c-4b52-928d-25b6c28d4579

Details

Skipped 2 suggested fixes.
If you wish to apply the suggested (unsafe) fixes, use the command biome check --write --unsafe

Checked 13 files in 1101ms. Fixed 9 files.
Found 8 errors.
Found 1 warning.
Found 1 info.

dist/svg.json check ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

i The size of the file is 3.2 MiB, which exceeds the configured maximum of 1.0 MiB for this project.
Use the files.maxSize configuration to change the maximum size of files processed, or files.includes to ignore the file.

tasks/generateTypes.ts:1:21 lint/style/useNodejsImportProtocol FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━

i A Node.js builtin module should be imported with the node: protocol.

1 │ import * as fs from "fs";
│ ^^^^
2 │ import type { HTMLDataV1, IAttributeData } from "vscode-html-languageservice";
3 │ import { attributes } from "./attributes";

i Using the node: protocol is more explicit and signals that the imported module belongs to Node.js.

i Unsafe fix: Add the node: protocol.

  1     │ - import·*·as·fs·from·"fs";
      1 │ + import·*·as·fs·from·"node:fs";
  2   2 │   import type { HTMLDataV1, IAttributeData } from "vscode-html-languageservice";
  3   3 │   import { attributes } from "./attributes";

tasks/compatData.ts:115:13 lint/correctness/noUnusedVariables ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

! This variable support is unused.

113 │     a.browsers = getBrowserCompatString(attrStatus.support);
114 │ 

115 │ const { support, ...status } = attrStatus;
│ ^^^^^^^
116 │ a.status = status;
117 │ });

i Unused variables are often the result of an incomplete refactoring, typos, or other sources of bugs.

i You can use the ignoreRestSiblings option to ignore unused variables in an object destructuring with a spread.

.vscode/settings.json:7:3 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

× Expected a property but instead found '}'.

5 │     "package.json": "bun.lockb, README.md,.gitignore, *tsconfig.json, rome.json, dist.tsconfig.json, LICENSE.md, package-lock.json, jest-puppeteer.config.js, michi.config.ts",
6 │     "*.tsx": "$(capture).css, $(capture).css.ts, $(capture).html, $(capture).spec.ts, $(capture).spec.tsx",

7 │ }
│ ^
8 │ }
9 │

i Expected a property here.

5 │     "package.json": "bun.lockb, README.md,.gitignore, *tsconfig.json, rome.json, dist.tsconfig.json, LICENSE.md, package-lock.json, jest-puppeteer.config.js, michi.config.ts",
6 │     "*.tsx": "$(capture).css, $(capture).css.ts, $(capture).html, $(capture).spec.ts, $(capture).spec.tsx",

7 │ }
│ ^
8 │ }
9 │

.vscode/settings.json:7:3 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

× Expected a property but instead found '}'.

5 │     "package.json": "bun.lockb, README.md,.gitignore, *tsconfig.json, rome.json, dist.tsconfig.json, LICENSE.md, package-lock.json, jest-puppeteer.config.js, michi.config.ts",
6 │     "*.tsx": "$(capture).css, $(capture).css.ts, $(capture).html, $(capture).spec.ts, $(capture).spec.tsx",

7 │ }
│ ^
8 │ }
9 │

i Expected a property here.

5 │     "package.json": "bun.lockb, README.md,.gitignore, *tsconfig.json, rome.json, dist.tsconfig.json, LICENSE.md, package-lock.json, jest-puppeteer.config.js, michi.config.ts",
6 │     "*.tsx": "$(capture).css, $(capture).css.ts, $(capture).html, $(capture).spec.ts, $(capture).spec.tsx",

7 │ }
│ ^
8 │ }
9 │

.vscode/tasks.json:12:9 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

× Expected a property but instead found '}'.

10 │                 "isDefault": true
11 │             },

12 │ },
│ ^
13 │ ]
14 │ }

i Expected a property here.

10 │                 "isDefault": true
11 │             },

12 │ },
│ ^
13 │ ]
14 │ }

.vscode/tasks.json:13:5 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

× Expected an array, an object, or a literal but instead found ']'.

11 │             },
12 │         },

13 │ ]
│ ^
14 │ }

i Expected an array, an object, or a literal here.

11 │             },
12 │         },

13 │ ]
│ ^
14 │ }

.vscode/tasks.json:12:9 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

× Expected a property but instead found '}'.

10 │                 "isDefault": true
11 │             },

12 │ },
│ ^
13 │ ]
14 │ }

i Expected a property here.

10 │                 "isDefault": true
11 │             },

12 │ },
│ ^
13 │ ]
14 │ }

.vscode/tasks.json:13:5 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

× Expected an array, an object, or a literal but instead found ']'.

11 │             },
12 │         },

13 │ ]
│ ^
14 │ }

i Expected an array, an object, or a literal here.

11 │             },
12 │         },

13 │ ]
│ ^
14 │ }

tasks/compatData.ts:52:7 lint/suspicious/noImplicitAnyLet ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

× This variable implicitly has the any type.

50 │   browserAbbrev: string,
51 │ ): string {

52 │ let version_added;
│ ^^^^^^^^^^^^^
53 │ if (Array.isArray(support) && support[0] && support[0].version_added) {
54 │ version_added = support[0].version_added;

i Variable declarations without type annotation and initialization implicitly have the any type. Declare a type or initialize the variable with some value.

tasks/compatData.ts:86:9 lint/suspicious/noImplicitAnyLet ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

× This variable implicitly has the any type.

84 │   // Add the Baseline status to each attribute
85 │   attributes.forEach((a) => {

86 │ let attributeNamespace, bcdMatchingAttr;
│ ^^^^^^^^^^^^^^^^^^
87 │ if (t) {
88 │ attributeNamespace = elements.${t.name};

i Variable declarations without type annotation and initialization implicitly have the any type. Declare a type or initialize the variable with some value.

check ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

× Some errors were emitted while applying fixes.