mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-27 09:42:00 +00:00
Upgrade pdfjs-dist to v2.10.377 (#5436)
* Upgrade pdfjs-dist * Explicitly disable XFA in PDF.js GitOrigin-RevId: 6987fe6e6f87a05d8f71d83a8b09b33caeade712
This commit is contained in:
parent
1d9615b672
commit
2f835144c8
3 changed files with 5 additions and 4 deletions
|
@ -42,6 +42,7 @@ export default class PDFJSWrapper {
|
|||
linkService,
|
||||
// l10n, // commented out since it currently breaks `aria-label` rendering in pdf pages
|
||||
enableScripting: false, // default is false, but set explicitly to be sure
|
||||
enableXfa: false, // default is false (2021-10-12), but set explicitly to be sure
|
||||
renderInteractiveForms: false,
|
||||
})
|
||||
|
||||
|
|
6
services/web/package-lock.json
generated
6
services/web/package-lock.json
generated
|
@ -28987,9 +28987,9 @@
|
|||
}
|
||||
},
|
||||
"pdfjs-dist": {
|
||||
"version": "2.9.359",
|
||||
"resolved": "https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-2.9.359.tgz",
|
||||
"integrity": "sha512-P2nYtkacdlZaNNwrBLw1ZyMm0oE2yY/5S/GDCAmMJ7U4+ciL/D0mrlEC/o4HZZc/LNE3w8lEVzBEyVgEQlPVKQ=="
|
||||
"version": "2.10.377",
|
||||
"resolved": "https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-2.10.377.tgz",
|
||||
"integrity": "sha512-i0jRShtvgfsVQUNCoFYH4SVhPO3U0yhtiFLfZ0RR0B+68N+Vnwq+8B3cjWjLEwWGh8wg1XQ/sYMYKUlHn/Qpsw=="
|
||||
},
|
||||
"pend": {
|
||||
"version": "1.2.0",
|
||||
|
|
|
@ -144,7 +144,7 @@
|
|||
"passport-orcid": "0.0.4",
|
||||
"passport-saml": "https://github.com/overleaf/passport-saml/releases/download/v3.0.0-overleaf/passport-saml-3.0.0-overleaf.tar.gz",
|
||||
"passport-twitter": "^1.0.4",
|
||||
"pdfjs-dist": "^2.9.359",
|
||||
"pdfjs-dist": "^2.10.377",
|
||||
"prop-types": "^15.7.2",
|
||||
"pug": "^3.0.1",
|
||||
"pug-runtime": "^3.0.1",
|
||||
|
|
Loading…
Reference in a new issue