Skip to content

Commit

Permalink
Update pdfjs-dist to v4.6.82 (#237)
Browse files Browse the repository at this point in the history
Co-authored-by: Aliaksei Hrynko <[email protected]>
  • Loading branch information
wintoniak and hrynko authored Oct 4, 2024
1 parent 5a971cf commit a592e0c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"format": "prettier . --write --ignore-path .gitignore"
},
"dependencies": {
"pdfjs-dist": "^4.4.168"
"pdfjs-dist": "^4.6.82"
},
"devDependencies": {
"@tsconfig/node20": "^20.1.4",
Expand Down
8 changes: 4 additions & 4 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ export default defineConfig({
hook: 'writeBundle',
targets: Object.entries({
textLayer: [
[2546, 2555],
[231, 349],
[2933, 2942],
[440, 560],
],
annotationLayer: [
[2546, 2555],
[350, 712],
[2933, 2942],
[561, 925],
],
}).map(([key, ranges]) => ({
src: 'node_modules/pdfjs-dist/web/pdf_viewer.css',
Expand Down

0 comments on commit a592e0c

Please sign in to comment.