Skip to content

Updated dependency pdfjs-dist to latest due to vulnerability. #301

Updated dependency pdfjs-dist to latest due to vulnerability.

Updated dependency pdfjs-dist to latest due to vulnerability. #301

Triggered via pull request May 7, 2024 18:35
Status Failure
Total duration 49s
Artifacts

nodejs.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 2 warnings
build (16.x): node_modules/pdfjs-dist/types/src/display/api.d.ts#L1
Cannot find name 'PromiseWithResolvers'.
build (16.x): node_modules/pdfjs-dist/types/src/display/api.d.ts#L1
Cannot find name 'PromiseWithResolvers'.
build (16.x): node_modules/pdfjs-dist/types/src/display/api.d.ts#L1
Cannot find name 'PromiseWithResolvers'.
build (16.x): node_modules/pdfjs-dist/types/src/display/text_layer.d.ts#L1
Cannot find name 'PromiseWithResolvers'.
build (16.x): src/components/PdfHighlighter.tsx#L1
Cannot find module 'pdfjs-dist/legacy/web/pdf_viewer' or its corresponding type declarations.
build (16.x): src/components/PdfLoader.tsx#L1
Cannot find module 'pdfjs-dist/legacy/build/pdf' or its corresponding type declarations.
build (16.x): src/components/PdfLoader.tsx#L1
Parameter 'pdfDocument' implicitly has an 'any' type.
build (16.x)
Process completed with exit code 2.
build (16.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (16.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/