diff --git a/core/assets/package-lock.json b/core/assets/package-lock.json index 8f17f7ffe..ee01999c7 100644 --- a/core/assets/package-lock.json +++ b/core/assets/package-lock.json @@ -11,7 +11,7 @@ "alpinejs": "^2.8.2", "blurhash": "^1.1.3", "lodash": "^4.17.21", - "pdfjs-dist": "^3.11.174", + "pdfjs-dist": "^4.2.67", "stringify": "^5.2.0", "trix": "^2.1.1" }, @@ -665,25 +665,25 @@ "node": ">=0.10.0" } }, - "node_modules/path2d-polyfill": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path2d-polyfill/-/path2d-polyfill-2.0.1.tgz", - "integrity": "sha512-ad/3bsalbbWhmBo0D6FZ4RNMwsLsPpL6gnvhuSaU5Vm7b06Kr5ubSltQQ0T7YKsiJQO+g22zJ4dJKNTXIyOXtA==", + "node_modules/path2d": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/path2d/-/path2d-0.2.0.tgz", + "integrity": "sha512-KdPAykQX6kmLSOO6Jpu2KNcCED7CKjmaBNGGNuctOsG0hgYO1OdYQaan6cYXJiG0WmXOwZZPILPBimu5QAIw3A==", "optional": true, "engines": { - "node": ">=8" + "node": ">=6" } }, "node_modules/pdfjs-dist": { - "version": "3.11.174", - "resolved": "https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-3.11.174.tgz", - "integrity": "sha512-TdTZPf1trZ8/UFu5Cx/GXB7GZM30LT+wWUNfsi6Bq8ePLnb+woNKtDymI2mxZYBpMbonNFqKmiz684DIfnd8dA==", + "version": "4.2.67", + "resolved": "https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-4.2.67.tgz", + "integrity": "sha512-rJmuBDFpD7cqC8WIkQUEClyB4UAH05K4AsyewToMTp2gSy3Rrx8c1ydAVqlJlGv3yZSOrhEERQU/4ScQQFlLHA==", "engines": { "node": ">=18" }, "optionalDependencies": { "canvas": "^2.11.2", - "path2d-polyfill": "^2.0.1" + "path2d": "^0.2.0" } }, "node_modules/prettier": { diff --git a/core/assets/package.json b/core/assets/package.json index 3050412fb..2b4618e3d 100644 --- a/core/assets/package.json +++ b/core/assets/package.json @@ -9,7 +9,7 @@ "alpinejs": "^2.8.2", "blurhash": "^1.1.3", "lodash": "^4.17.21", - "pdfjs-dist": "^3.11.174", + "pdfjs-dist": "^4.2.67", "stringify": "^5.2.0", "trix": "^2.1.1" },