1
0
mirror of synced 2026-05-22 14:43:19 +00:00

Update Biome to 2.1.1

This commit is contained in:
Borewit
2025-07-16 11:19:39 +02:00
committed by Borewit
parent 65c030f217
commit 757859f29c
5 changed files with 42 additions and 43 deletions
-1
View File
@@ -328,7 +328,6 @@ import { parseWebStream } from 'music-metadata';
// Extract the Content-Length header and convert it to a number
const contentLength = response.headers.get('Content-Length');
const contentType = response.headers.get('Content-Type');
const size = contentLength ? parseInt(contentLength, 10) : undefined;
// Parse the metadata from the web stream
+1 -1
View File
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/2.0.6/schema.json",
"$schema": "https://biomejs.dev/schemas/2.1.1/schema.json",
"assist": { "actions": { "source": { "organizeImports": "off" } } },
"formatter": {
"enabled": false
+1 -2
View File
@@ -7,8 +7,7 @@ import { parseWebStream } from 'music-metadata';
// Extract the Content-Length header and convert it to a number
const contentLength = response.headers.get('Content-Length');
const contentType = response.headers.get('Content-Type');
const size = contentLength ? parseInt(contentLength, 10) : undefined;
const size = contentLength ? Number.parseInt(contentLength, 10) : undefined;
// Parse the metadata from the web stream
const metadata = await parseWebStream(response.body, {
+3 -2
View File
@@ -102,7 +102,8 @@
"test-coverage": "c8 yarn run test",
"send-codacy": "c8 report --reporter=text-lcov | codacy-coverage",
"doc-gen": "yarn node doc-gen/gen.js",
"typecheck": "tsc --project ./lib/tsconfig.json --noEmit && tsc --project ./test/tsconfig.json --noEmit"
"typecheck": "tsc --project ./lib/tsconfig.json --noEmit && tsc --project ./test/tsconfig.json --noEmit",
"update-biome": "yarn add -D --exact @biomejs/biome && npx @biomejs/biome migrate --write"
},
"dependencies": {
"@tokenizer/token": "^0.3.0",
@@ -115,7 +116,7 @@
"uint8array-extras": "^1.4.0"
},
"devDependencies": {
"@biomejs/biome": "2.0.6",
"@biomejs/biome": "2.1.1",
"@types/chai": "^5.2.2",
"@types/chai-as-promised": "^8.0.2",
"@types/content-type": "^1.1.9",
+37 -37
View File
@@ -41,18 +41,18 @@ __metadata:
languageName: node
linkType: hard
"@biomejs/biome@npm:2.0.6":
version: 2.0.6
resolution: "@biomejs/biome@npm:2.0.6"
"@biomejs/biome@npm:2.1.1":
version: 2.1.1
resolution: "@biomejs/biome@npm:2.1.1"
dependencies:
"@biomejs/cli-darwin-arm64": "npm:2.0.6"
"@biomejs/cli-darwin-x64": "npm:2.0.6"
"@biomejs/cli-linux-arm64": "npm:2.0.6"
"@biomejs/cli-linux-arm64-musl": "npm:2.0.6"
"@biomejs/cli-linux-x64": "npm:2.0.6"
"@biomejs/cli-linux-x64-musl": "npm:2.0.6"
"@biomejs/cli-win32-arm64": "npm:2.0.6"
"@biomejs/cli-win32-x64": "npm:2.0.6"
"@biomejs/cli-darwin-arm64": "npm:2.1.1"
"@biomejs/cli-darwin-x64": "npm:2.1.1"
"@biomejs/cli-linux-arm64": "npm:2.1.1"
"@biomejs/cli-linux-arm64-musl": "npm:2.1.1"
"@biomejs/cli-linux-x64": "npm:2.1.1"
"@biomejs/cli-linux-x64-musl": "npm:2.1.1"
"@biomejs/cli-win32-arm64": "npm:2.1.1"
"@biomejs/cli-win32-x64": "npm:2.1.1"
dependenciesMeta:
"@biomejs/cli-darwin-arm64":
optional: true
@@ -72,62 +72,62 @@ __metadata:
optional: true
bin:
biome: bin/biome
checksum: 10c0/eafaf3981580314c08085542152396f3417637d08d7b8aaee6a5173a978435d7688b1b6b547096e3a9d3573f03cfe526f7342dd341143c322c03d545df126f18
checksum: 10c0/16efcf85b5b4434802b5541f9068ce9f58f2e195824936991c7217fda7b290b9a0e2ae6bc9e3c3e65e9f5492a3a3f0d0a9cf024cfae84ddc2b05b6e260b3bd2d
languageName: node
linkType: hard
"@biomejs/cli-darwin-arm64@npm:2.0.6":
version: 2.0.6
resolution: "@biomejs/cli-darwin-arm64@npm:2.0.6"
"@biomejs/cli-darwin-arm64@npm:2.1.1":
version: 2.1.1
resolution: "@biomejs/cli-darwin-arm64@npm:2.1.1"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
"@biomejs/cli-darwin-x64@npm:2.0.6":
version: 2.0.6
resolution: "@biomejs/cli-darwin-x64@npm:2.0.6"
"@biomejs/cli-darwin-x64@npm:2.1.1":
version: 2.1.1
resolution: "@biomejs/cli-darwin-x64@npm:2.1.1"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
"@biomejs/cli-linux-arm64-musl@npm:2.0.6":
version: 2.0.6
resolution: "@biomejs/cli-linux-arm64-musl@npm:2.0.6"
"@biomejs/cli-linux-arm64-musl@npm:2.1.1":
version: 2.1.1
resolution: "@biomejs/cli-linux-arm64-musl@npm:2.1.1"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard
"@biomejs/cli-linux-arm64@npm:2.0.6":
version: 2.0.6
resolution: "@biomejs/cli-linux-arm64@npm:2.0.6"
"@biomejs/cli-linux-arm64@npm:2.1.1":
version: 2.1.1
resolution: "@biomejs/cli-linux-arm64@npm:2.1.1"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard
"@biomejs/cli-linux-x64-musl@npm:2.0.6":
version: 2.0.6
resolution: "@biomejs/cli-linux-x64-musl@npm:2.0.6"
"@biomejs/cli-linux-x64-musl@npm:2.1.1":
version: 2.1.1
resolution: "@biomejs/cli-linux-x64-musl@npm:2.1.1"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard
"@biomejs/cli-linux-x64@npm:2.0.6":
version: 2.0.6
resolution: "@biomejs/cli-linux-x64@npm:2.0.6"
"@biomejs/cli-linux-x64@npm:2.1.1":
version: 2.1.1
resolution: "@biomejs/cli-linux-x64@npm:2.1.1"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard
"@biomejs/cli-win32-arm64@npm:2.0.6":
version: 2.0.6
resolution: "@biomejs/cli-win32-arm64@npm:2.0.6"
"@biomejs/cli-win32-arm64@npm:2.1.1":
version: 2.1.1
resolution: "@biomejs/cli-win32-arm64@npm:2.1.1"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
"@biomejs/cli-win32-x64@npm:2.0.6":
version: 2.0.6
resolution: "@biomejs/cli-win32-x64@npm:2.0.6"
"@biomejs/cli-win32-x64@npm:2.1.1":
version: 2.1.1
resolution: "@biomejs/cli-win32-x64@npm:2.1.1"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
@@ -2320,7 +2320,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "music-metadata@workspace:."
dependencies:
"@biomejs/biome": "npm:2.0.6"
"@biomejs/biome": "npm:2.1.1"
"@tokenizer/token": "npm:^0.3.0"
"@types/chai": "npm:^5.2.2"
"@types/chai-as-promised": "npm:^8.0.2"