AAE-22975 update to the latest version of pdfjs-dist library (#10780)

* AAE-30877 squash-merged improvement/AAE-30877-update-package-pdfjs-dist

* AAE-30877 statically import pdf_viewer

* AAE-30877 fix failing worker load

* AAE-22975 attempt without excessive logs

* AAE-22975 remove pdf_viewer from karma includes

* AAE-22975 remove incorrect firstValueFrom

* AAE-22975 await rendered event callback

* AAE-22975 change pdf mock code

* AAE-22975 change pdf mock code

* AAE-22975 mock pdfjs-dist package in tests to improve performance

* AAE-22975 fix pagesLoaded test

* AAE-22975 fix insights tests

* AAE-22975 un-focus pdf-viewer tests, remove logs

* AAE-22975 add defer block

* AAE-22975 add pdfjsLib injection token

* AAE-22975 remove defer block

* AAE-22975 change pdfjs import path

* AAE-22975 change pdfjsviewer import path

* AAE-22975 limit usage of direct PDFViewer

* AAE-22975 cleanup
This commit is contained in:
Wojciech Duda
2025-04-22 10:05:44 +02:00
committed by GitHub
parent 0dc45e95af
commit fdd4f6c081
18 changed files with 702 additions and 540 deletions
+3 -2
View File
@@ -58,7 +58,7 @@
"material-icons": "^1.13.12",
"minimatch": "^10.0.1",
"ng2-charts": "^4.1.1",
"pdfjs-dist": "3.3.122",
"pdfjs-dist": "5.1.91",
"raphael": "2.3.0",
"rxjs": "7.8.1",
"superagent": "^9.0.1",
@@ -110,7 +110,7 @@
"@types/minimatch": "5.1.2",
"@types/mocha": "^10.0.6",
"@types/node": "^18.16.9",
"@types/pdfjs-dist": "^2.10.378",
"@types/pdfjs-dist": "2.10.378",
"@types/shelljs": "^0.8.15",
"@types/superagent": "^4.1.22",
"@typescript-eslint/eslint-plugin": "6.21.0",
@@ -169,6 +169,7 @@
"postcss": "8.4.41",
"postcss-sass": "^0.5.0",
"prettier": "2.8.8",
"resize-observer-polyfill": "^1.5.1",
"rimraf": "6.0.1",
"sass-loader": "16.0.4",
"shelljs": "^0.8.5",