diff --git a/package-lock.json b/package-lock.json index e35f7eb5ce..dbfce4fffe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -41600,7 +41600,7 @@ "mock-fs": "^5.1.2", "nvd3": "^1.8.6", "overleaf-editor-core": "*", - "pdfjs-dist": "4.8.69", + "pdfjs-dist": "4.6.82", "pirates": "^4.0.1", "postcss": "^8.4.31", "postcss-loader": "^7.3.3", @@ -43803,15 +43803,15 @@ } }, "services/web/node_modules/pdfjs-dist": { - "version": "4.8.69", - "resolved": "https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-4.8.69.tgz", - "integrity": "sha512-IHZsA4T7YElCKNNXtiLgqScw4zPd3pG9do8UrznC757gMd7UPeHSL2qwNNMJo4r79fl8oj1Xx+1nh2YkzdMpLQ==", + "version": "4.6.82", + "resolved": "https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-4.6.82.tgz", + "integrity": "sha512-BUOryeRFwvbLe0lOU6NhkJNuVQUp06WxlJVVCsxdmJ4y5cU3O3s3/0DunVdK1PMm7v2MUw52qKYaidhDH1Z9+w==", "dev": true, "engines": { "node": ">=18" }, "optionalDependencies": { - "canvas": "^3.0.0-rc2", + "canvas": "^2.11.2", "path2d": "^0.2.1" } }, @@ -51191,7 +51191,7 @@ "passport-local": "^1.0.0", "passport-oauth2": "^1.5.0", "passport-orcid": "0.0.4", - "pdfjs-dist": "4.8.69", + "pdfjs-dist": "4.6.82", "pirates": "^4.0.1", "postcss": "^8.4.31", "postcss-loader": "^7.3.3", @@ -52801,12 +52801,12 @@ "dev": true }, "pdfjs-dist": { - "version": "4.8.69", - "resolved": "https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-4.8.69.tgz", - "integrity": "sha512-IHZsA4T7YElCKNNXtiLgqScw4zPd3pG9do8UrznC757gMd7UPeHSL2qwNNMJo4r79fl8oj1Xx+1nh2YkzdMpLQ==", + "version": "4.6.82", + "resolved": "https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-4.6.82.tgz", + "integrity": "sha512-BUOryeRFwvbLe0lOU6NhkJNuVQUp06WxlJVVCsxdmJ4y5cU3O3s3/0DunVdK1PMm7v2MUw52qKYaidhDH1Z9+w==", "dev": true, "requires": { - "canvas": "^3.0.0-rc2", + "canvas": "^2.11.2", "path2d": "^0.2.1" } }, diff --git a/services/web/package.json b/services/web/package.json index c758a167e0..8f28101e1a 100644 --- a/services/web/package.json +++ b/services/web/package.json @@ -325,7 +325,7 @@ "mock-fs": "^5.1.2", "nvd3": "^1.8.6", "overleaf-editor-core": "*", - "pdfjs-dist": "4.8.69", + "pdfjs-dist": "4.6.82", "pirates": "^4.0.1", "postcss": "^8.4.31", "postcss-loader": "^7.3.3",