File tree Expand file tree Collapse file tree 4 files changed +56
-72
lines changed
Expand file tree Collapse file tree 4 files changed +56
-72
lines changed Original file line number Diff line number Diff line change 9090 ./lambdas/venv/bin/pip3 install -r $(REPORTS_REQUIREMENTS ) --no-cache-dir
9191 ./lambdas/venv/bin/pip3 install -r $(ALERTING_REQUIREMENTS ) --no-cache-dir
9292
93-
9493github_env :
9594 rm -rf lambdas/venv || true
9695 python3 -m venv ./lambdas/venv
@@ -138,7 +137,7 @@ clean-install:
138137
139138install-pdfjs :
140139 mkdir -p ./app/public/pdfjs
141- wget https://github.com/mozilla/pdf.js/releases/download/v4.10.38 /pdfjs-4.10.38 -dist.zip -O ./app/public/pdfjs/pdfjs.zip
140+ wget https://github.com/mozilla/pdf.js/releases/download/v5.4.296 /pdfjs-5.4.296 -dist.zip -O ./app/public/pdfjs/pdfjs.zip
142141 unzip -o -d ./app/public/pdfjs ./app/public/pdfjs/pdfjs.zip
143142 rm ./app/public/pdfjs/pdfjs.zip
144143
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ COPY ./ ./
1010RUN npm install --legacy-peer-deps
1111RUN cp ./node_modules/pdfjs-dist/build/pdf.worker.min.mjs ./public/
1212RUN mkdir -p ./public/pdfjs
13- RUN wget https://github.com/mozilla/pdf.js/releases/download/v4.10.38 /pdfjs-4.10.38 -dist.zip -O ./public/pdfjs/pdfjs.zip
13+ RUN wget https://github.com/mozilla/pdf.js/releases/download/v5.4.296 /pdfjs-5.4.296 -dist.zip -O ./public/pdfjs/pdfjs.zip
1414RUN unzip -o -d ./public/pdfjs ./public/pdfjs/pdfjs.zip
1515RUN rm ./public/pdfjs/pdfjs.zip
1616RUN npm run build
Original file line number Diff line number Diff line change 3939 "nhsuk-frontend" : " ^9.6.4" ,
4040 "nhsuk-react-components" : " ^5.0.0" ,
4141 "pdf-merger-js" : " ^5.1.2" ,
42- "pdfjs-dist" : " ^5.4.149 " ,
43- "pdfjs-viewer-element" : " ^2.7.2 " ,
42+ "pdfjs-dist" : " ^5.4.296 " ,
43+ "pdfjs-viewer-element" : " ^2.7.4 " ,
4444 "pdfobject" : " ^2.3.1" ,
4545 "react" : " ^19.1.1" ,
4646 "react-dom" : " ^19.1.1" ,
You can’t perform that action at this time.
0 commit comments