From d76c3c8d758d959b45deeb0aaf0f7c00d0f5cacf Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 17 Sep 2025 13:00:01 +0200 Subject: [PATCH] wait #7746 @1.5 --- app/Console/Commands/UpdatePDFJSLibrary.php | 2 +- app/Fluidbook/Compiler/Compiler.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/UpdatePDFJSLibrary.php b/app/Console/Commands/UpdatePDFJSLibrary.php index e48ec6dd7..1a0ac0384 100644 --- a/app/Console/Commands/UpdatePDFJSLibrary.php +++ b/app/Console/Commands/UpdatePDFJSLibrary.php @@ -11,7 +11,7 @@ class UpdatePDFJSLibrary extends ToolboxCommand /** @see https://mozilla.github.io/pdf.js/getting_started/#download */ protected $signature = 'updatepdfjs'; - protected const VERSION = '5.4.54'; + protected const VERSION = '5.4.149'; //protected const VERSION = '3.11.174'; protected const JQUERY_VERSION = '3.7.1'; diff --git a/app/Fluidbook/Compiler/Compiler.php b/app/Fluidbook/Compiler/Compiler.php index 7386bcdd9..de45244ae 100644 --- a/app/Fluidbook/Compiler/Compiler.php +++ b/app/Fluidbook/Compiler/Compiler.php @@ -1567,7 +1567,7 @@ class Compiler extends Base implements CompilerInterface, IVirtualDirectoryError public function addPDFJSPageRenderer() { - $this->vdir->copyDirectory(resource_path('pdfjs/dist-min'), 'pdfjs'); + $this->vdir->copyDirectory(resource_path('pdfjs/legacy-min'), 'pdfjs'); $this->customJs[] = ['src' => 'pdfjs/build/pdf.js', 'type' => 'module']; } -- 2.39.5