Skip to content

Commit

Permalink
Bump @biomejs/biome from 1.8.3 to 1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Sep 13, 2024
1 parent e8e194a commit 247ef7c
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 48 deletions.
6 changes: 1 addition & 5 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"$schema": "https://biomejs.dev/schemas/1.9.0/schema.json",
"files": {
"ignore": [".tsimp", ".yarn", "coverage", "dist", ".pnp.cjs", ".pnp.loader.mjs"]
},
Expand All @@ -23,10 +23,6 @@
},
"css": {
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 100,
"quoteStyle": "single"
}
},
Expand Down
2 changes: 1 addition & 1 deletion packages/react-pdf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"warning": "^4.0.0"
},
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@biomejs/biome": "1.9.0",
"@testing-library/dom": "^10.0.0",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^16.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-pdf/src/Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ export default function Page(props: PageProps): React.ReactElement {
'Attempted to load a page, but no document was specified. Wrap <Page /> in a <Document /> or pass explicit `pdf` prop.',
);

const pageIndex = isProvided(pageNumberProps) ? pageNumberProps - 1 : pageIndexProps ?? null;
const pageIndex = isProvided(pageNumberProps) ? pageNumberProps - 1 : (pageIndexProps ?? null);

const pageNumber = pageNumberProps ?? (isProvided(pageIndexProps) ? pageIndexProps + 1 : null);

Expand Down
2 changes: 1 addition & 1 deletion packages/react-pdf/src/Thumbnail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default function Thumbnail(props: ThumbnailProps): React.ReactElement {
'Attempted to load a thumbnail, but no document was specified. Wrap <Thumbnail /> in a <Document /> or pass explicit `pdf` prop.',
);

const pageIndex = isProvided(pageNumberProps) ? pageNumberProps - 1 : pageIndexProps ?? null;
const pageIndex = isProvided(pageNumberProps) ? pageNumberProps - 1 : (pageIndexProps ?? null);

const pageNumber = pageNumberProps ?? (isProvided(pageIndexProps) ? pageIndexProps + 1 : null);

Expand Down
2 changes: 1 addition & 1 deletion test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"tiny-invariant": "^1.0.0"
},
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@biomejs/biome": "1.9.0",
"@types/react": "*",
"@vitejs/plugin-react": "^4.2.0",
"typescript": "^5.5.2",
Expand Down
78 changes: 39 additions & 39 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -285,18 +285,18 @@ __metadata:
languageName: node
linkType: hard

"@biomejs/biome@npm:1.8.3":
version: 1.8.3
resolution: "@biomejs/biome@npm:1.8.3"
dependencies:
"@biomejs/cli-darwin-arm64": "npm:1.8.3"
"@biomejs/cli-darwin-x64": "npm:1.8.3"
"@biomejs/cli-linux-arm64": "npm:1.8.3"
"@biomejs/cli-linux-arm64-musl": "npm:1.8.3"
"@biomejs/cli-linux-x64": "npm:1.8.3"
"@biomejs/cli-linux-x64-musl": "npm:1.8.3"
"@biomejs/cli-win32-arm64": "npm:1.8.3"
"@biomejs/cli-win32-x64": "npm:1.8.3"
"@biomejs/biome@npm:1.9.0":
version: 1.9.0
resolution: "@biomejs/biome@npm:1.9.0"
dependencies:
"@biomejs/cli-darwin-arm64": "npm:1.9.0"
"@biomejs/cli-darwin-x64": "npm:1.9.0"
"@biomejs/cli-linux-arm64": "npm:1.9.0"
"@biomejs/cli-linux-arm64-musl": "npm:1.9.0"
"@biomejs/cli-linux-x64": "npm:1.9.0"
"@biomejs/cli-linux-x64-musl": "npm:1.9.0"
"@biomejs/cli-win32-arm64": "npm:1.9.0"
"@biomejs/cli-win32-x64": "npm:1.9.0"
dependenciesMeta:
"@biomejs/cli-darwin-arm64":
optional: true
Expand All @@ -316,62 +316,62 @@ __metadata:
optional: true
bin:
biome: bin/biome
checksum: 10c0/95fe99ce82cd8242f1be51cbf3ac26043b253f5a369d3dc24df09bdb32ec04dba679b1d4fa8b9d602b1bf2c30ecd80af14aa8f5c92d6e0cd6214a99a1099a65b
checksum: 10c0/b07ad2c8dc3d52c0a4eea37f98d36399b33a13759903aa65f9678db916810b773fe94937c304899158479bccd8c3c90f0f30af22b34d6dc5963774f1acc5e245
languageName: node
linkType: hard

"@biomejs/cli-darwin-arm64@npm:1.8.3":
version: 1.8.3
resolution: "@biomejs/cli-darwin-arm64@npm:1.8.3"
"@biomejs/cli-darwin-arm64@npm:1.9.0":
version: 1.9.0
resolution: "@biomejs/cli-darwin-arm64@npm:1.9.0"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard

"@biomejs/cli-darwin-x64@npm:1.8.3":
version: 1.8.3
resolution: "@biomejs/cli-darwin-x64@npm:1.8.3"
"@biomejs/cli-darwin-x64@npm:1.9.0":
version: 1.9.0
resolution: "@biomejs/cli-darwin-x64@npm:1.9.0"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard

"@biomejs/cli-linux-arm64-musl@npm:1.8.3":
version: 1.8.3
resolution: "@biomejs/cli-linux-arm64-musl@npm:1.8.3"
"@biomejs/cli-linux-arm64-musl@npm:1.9.0":
version: 1.9.0
resolution: "@biomejs/cli-linux-arm64-musl@npm:1.9.0"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard

"@biomejs/cli-linux-arm64@npm:1.8.3":
version: 1.8.3
resolution: "@biomejs/cli-linux-arm64@npm:1.8.3"
"@biomejs/cli-linux-arm64@npm:1.9.0":
version: 1.9.0
resolution: "@biomejs/cli-linux-arm64@npm:1.9.0"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard

"@biomejs/cli-linux-x64-musl@npm:1.8.3":
version: 1.8.3
resolution: "@biomejs/cli-linux-x64-musl@npm:1.8.3"
"@biomejs/cli-linux-x64-musl@npm:1.9.0":
version: 1.9.0
resolution: "@biomejs/cli-linux-x64-musl@npm:1.9.0"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard

"@biomejs/cli-linux-x64@npm:1.8.3":
version: 1.8.3
resolution: "@biomejs/cli-linux-x64@npm:1.8.3"
"@biomejs/cli-linux-x64@npm:1.9.0":
version: 1.9.0
resolution: "@biomejs/cli-linux-x64@npm:1.9.0"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard

"@biomejs/cli-win32-arm64@npm:1.8.3":
version: 1.8.3
resolution: "@biomejs/cli-win32-arm64@npm:1.8.3"
"@biomejs/cli-win32-arm64@npm:1.9.0":
version: 1.9.0
resolution: "@biomejs/cli-win32-arm64@npm:1.9.0"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard

"@biomejs/cli-win32-x64@npm:1.8.3":
version: 1.8.3
resolution: "@biomejs/cli-win32-x64@npm:1.8.3"
"@biomejs/cli-win32-x64@npm:1.9.0":
version: 1.9.0
resolution: "@biomejs/cli-win32-x64@npm:1.9.0"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
Expand Down Expand Up @@ -3177,7 +3177,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "react-pdf@workspace:packages/react-pdf"
dependencies:
"@biomejs/biome": "npm:1.8.3"
"@biomejs/biome": "npm:1.9.0"
"@testing-library/dom": "npm:^10.0.0"
"@testing-library/jest-dom": "npm:^6.0.0"
"@testing-library/react": "npm:^16.0.0"
Expand Down Expand Up @@ -3677,7 +3677,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "test@workspace:test"
dependencies:
"@biomejs/biome": "npm:1.8.3"
"@biomejs/biome": "npm:1.9.0"
"@types/react": "npm:*"
"@vitejs/plugin-react": "npm:^4.2.0"
react: "npm:^18.2.0"
Expand Down

0 comments on commit 247ef7c

Please sign in to comment.