Skip to content

Commit 5c43e1f

Browse files
committed
Updating packages
1 parent b382e5f commit 5c43e1f

File tree

6 files changed

+2097
-1880
lines changed

6 files changed

+2097
-1880
lines changed

apps/demo-react-router/package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,25 @@
1111
"dependencies": {
1212
"@heroicons/react": "^2.2.0",
1313
"@mikecousins/react-pdf": "workspace:*",
14-
"@react-router/node": "^7.4.1",
15-
"@react-router/serve": "^7.4.1",
14+
"@react-router/node": "^7.8.1",
15+
"@react-router/serve": "^7.8.1",
1616
"clsx": "^2.1.1",
17-
"isbot": "^5.1.25",
18-
"pdfjs-dist": "^5.0.375",
19-
"react": "^19.1.0",
20-
"react-dom": "^19.1.0",
21-
"react-router": "^7.4.1"
17+
"isbot": "^5.1.30",
18+
"pdfjs-dist": "^5.4.54",
19+
"react": "^19.1.1",
20+
"react-dom": "^19.1.1",
21+
"react-router": "^7.8.1"
2222
},
2323
"devDependencies": {
24-
"@react-router/dev": "^7.4.1",
25-
"@tailwindcss/vite": "^4.0.17",
26-
"@types/node": "^22.13.17",
27-
"@types/react": "^19.0.12",
28-
"@types/react-dom": "^19.0.4",
29-
"react-router-devtools": "^1.1.8",
30-
"tailwindcss": "^4.0.17",
31-
"typescript": "^5.8.2",
32-
"vite": "^6.2.4",
24+
"@react-router/dev": "^7.8.1",
25+
"@tailwindcss/vite": "^4.1.12",
26+
"@types/node": "^22.17.2",
27+
"@types/react": "^19.1.10",
28+
"@types/react-dom": "^19.1.7",
29+
"react-router-devtools": "^1.1.10",
30+
"tailwindcss": "^4.1.12",
31+
"typescript": "^5.9.2",
32+
"vite": "^6.3.5",
3333
"vite-tsconfig-paths": "^5.1.4"
3434
}
3535
}

apps/demo/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@
1212
"@heroicons/react": "^2.2.0",
1313
"@mikecousins/react-pdf": "workspace:*",
1414
"clsx": "^2.1.1",
15-
"react": "^19.1.0",
16-
"react-dom": "^19.1.0"
15+
"react": "^19.1.1",
16+
"react-dom": "^19.1.1"
1717
},
1818
"devDependencies": {
19-
"@types/react": "^19.0.12",
20-
"@types/react-dom": "^19.0.4",
21-
"@vitejs/plugin-react": "^4.3.4",
19+
"@types/react": "^19.1.10",
20+
"@types/react-dom": "^19.1.7",
21+
"@vitejs/plugin-react": "^4.7.0",
2222
"autoprefixer": "^10.4.21",
23-
"postcss": "^8.5.3",
23+
"postcss": "^8.5.6",
2424
"tailwindcss": "^3.4.17",
25-
"typescript": "^5.8.2",
26-
"vite": "^6.2.4"
25+
"typescript": "^5.9.2",
26+
"vite": "^6.3.5"
2727
}
2828
}

apps/docs/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,36 +10,36 @@
1010
},
1111
"browserslist": "defaults, not ie <= 11",
1212
"dependencies": {
13-
"@algolia/autocomplete-core": "^1.18.1",
14-
"@headlessui/react": "^2.2.0",
13+
"@algolia/autocomplete-core": "^1.19.2",
14+
"@headlessui/react": "^2.2.7",
1515
"@markdoc/markdoc": "^0.4.0",
1616
"@markdoc/next.js": "^0.4.0",
1717
"@sindresorhus/slugify": "^2.2.1",
18-
"@tailwindcss/postcss": "^4.0.17",
18+
"@tailwindcss/postcss": "^4.1.12",
1919
"@tailwindcss/typography": "^0.5.16",
20-
"@types/node": "^22.15.3",
21-
"@types/react": "^18.3.20",
22-
"@types/react-dom": "^18.3.5",
20+
"@types/node": "^22.17.2",
21+
"@types/react": "^18.3.23",
22+
"@types/react-dom": "^18.3.7",
2323
"@types/react-highlight-words": "^0.16.7",
2424
"clsx": "^2.1.1",
2525
"fast-glob": "^3.3.3",
26-
"flexsearch": "^0.8.158",
26+
"flexsearch": "^0.8.205",
2727
"js-yaml": "^4.1.0",
28-
"next": "^14.2.26",
28+
"next": "^14.2.32",
2929
"next-themes": "^0.2.1",
3030
"prism-react-renderer": "^2.4.1",
3131
"react": "^18.3.1",
3232
"react-dom": "^18.3.1",
3333
"react-highlight-words": "^0.20.0",
3434
"simple-functional-loader": "^1.2.1",
35-
"tailwindcss": "^4.0.17",
36-
"typescript": "^5.8.2"
35+
"tailwindcss": "^4.1.12",
36+
"typescript": "^5.9.2"
3737
},
3838
"devDependencies": {
3939
"eslint": "^8.57.1",
40-
"eslint-config-next": "^14.2.26",
41-
"prettier": "^3.5.3",
42-
"prettier-plugin-tailwindcss": "^0.6.11",
40+
"eslint-config-next": "^14.2.32",
41+
"prettier": "^3.6.2",
42+
"prettier-plugin-tailwindcss": "^0.6.14",
4343
"sharp": "0.33.1"
4444
},
4545
"packageManager": "[email protected]"

packages/react-pdf-js/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,18 @@
3939
"trailingComma": "es5"
4040
},
4141
"devDependencies": {
42-
"@testing-library/jest-dom": "^6.6.3",
43-
"@testing-library/react": "^16.2.0",
44-
"@types/react": "^19.0.12",
45-
"@types/react-dom": "^19.0.4",
46-
"@vitejs/plugin-react": "^4.3.4",
47-
"jsdom": "^26.0.0",
48-
"pdfjs-dist": "^5.0.375",
49-
"react": "^19.0.0",
50-
"react-dom": "^19.0.0",
51-
"tsup": "^8.4.0",
52-
"typescript": "^5.8.2",
53-
"vitest": "^3.2.0"
42+
"@testing-library/jest-dom": "^6.8.0",
43+
"@testing-library/react": "^16.3.0",
44+
"@types/react": "^19.1.10",
45+
"@types/react-dom": "^19.1.7",
46+
"@vitejs/plugin-react": "^4.7.0",
47+
"jsdom": "^26.1.0",
48+
"pdfjs-dist": "^5.4.54",
49+
"react": "^19.1.1",
50+
"react-dom": "^19.1.1",
51+
"tsup": "^8.5.0",
52+
"typescript": "^5.9.2",
53+
"vitest": "^3.2.4"
5454
},
5555
"peerDependencies": {
5656
"pdfjs-dist": "^5",

packages/react-pdf-js/src/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ export const usePdf = ({
143143

144144
renderTask.current = page.render({
145145
canvasContext,
146+
canvas: canvasEl,
146147
viewport,
147148
});
148149

0 commit comments

Comments
 (0)