diff --git a/frontend/package-lock.json b/frontend/package-lock.json index fcd9be30e9..30e4e4fe6f 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -63,7 +63,7 @@ "ol": "^7.2.2", "openapi-typescript-codegen": "^0.24.0", "path-browserify": "^1.0.1", - "pdfjs-dist": "^3.6.172", + "pdfjs-dist": "^3.7.107", "postcss": "^8.4.24", "postcss-load-config": "^4.0.1", "prettier": "^2.8.8", @@ -4733,6 +4733,7 @@ "resolved": "https://registry.npmjs.org/path2d-polyfill/-/path2d-polyfill-2.0.1.tgz", "integrity": "sha512-ad/3bsalbbWhmBo0D6FZ4RNMwsLsPpL6gnvhuSaU5Vm7b06Kr5ubSltQQ0T7YKsiJQO+g22zJ4dJKNTXIyOXtA==", "dev": true, + "optional": true, "engines": { "node": ">=8" } @@ -4751,19 +4752,16 @@ } }, "node_modules/pdfjs-dist": { - "version": "3.6.172", - "resolved": "https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-3.6.172.tgz", - "integrity": "sha512-bfOhCg+S9DXh/ImWhWYTOiq3aVMFSCvzGiBzsIJtdMC71kVWDBw7UXr32xh0y56qc5wMVylIeqV3hBaRsu+e+w==", + "version": "3.7.107", + "resolved": "https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-3.7.107.tgz", + "integrity": "sha512-D0pZgz4u8VNjCCXfNCjzeFcenxKFGh2RnGlLIvDHgpT+ZvOlsBlHugpOfmcLQyKk7csHBhPalf+mCM6thiclSQ==", "dev": true, - "dependencies": { - "path2d-polyfill": "^2.0.1", - "web-streams-polyfill": "^3.2.1" - }, "engines": { - "node": ">=16" + "node": ">=18" }, "optionalDependencies": { - "canvas": "^2.11.2" + "canvas": "^2.11.2", + "path2d-polyfill": "^2.0.1" } }, "node_modules/pend": { @@ -7261,15 +7259,6 @@ "npm": ">=8.0.0" } }, - "node_modules/web-streams-polyfill": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz", - "integrity": "sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, "node_modules/web-worker": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/web-worker/-/web-worker-1.2.0.tgz", @@ -10866,7 +10855,8 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/path2d-polyfill/-/path2d-polyfill-2.0.1.tgz", "integrity": "sha512-ad/3bsalbbWhmBo0D6FZ4RNMwsLsPpL6gnvhuSaU5Vm7b06Kr5ubSltQQ0T7YKsiJQO+g22zJ4dJKNTXIyOXtA==", - "dev": true + "dev": true, + "optional": true }, "pbf": { "version": "3.2.1", @@ -10879,14 +10869,13 @@ } }, "pdfjs-dist": { - "version": "3.6.172", - "resolved": "https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-3.6.172.tgz", - "integrity": "sha512-bfOhCg+S9DXh/ImWhWYTOiq3aVMFSCvzGiBzsIJtdMC71kVWDBw7UXr32xh0y56qc5wMVylIeqV3hBaRsu+e+w==", + "version": "3.7.107", + "resolved": "https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-3.7.107.tgz", + "integrity": "sha512-D0pZgz4u8VNjCCXfNCjzeFcenxKFGh2RnGlLIvDHgpT+ZvOlsBlHugpOfmcLQyKk7csHBhPalf+mCM6thiclSQ==", "dev": true, "requires": { "canvas": "^2.11.2", - "path2d-polyfill": "^2.0.1", - "web-streams-polyfill": "^3.2.1" + "path2d-polyfill": "^2.0.1" } }, "pend": { @@ -12621,12 +12610,6 @@ "vscode-jsonrpc": "~8.1.0" } }, - "web-streams-polyfill": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz", - "integrity": "sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==", - "dev": true - }, "web-worker": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/web-worker/-/web-worker-1.2.0.tgz", diff --git a/frontend/package.json b/frontend/package.json index 4054772ffc..a0cb6108d8 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -41,7 +41,7 @@ "ol": "^7.2.2", "openapi-typescript-codegen": "^0.24.0", "path-browserify": "^1.0.1", - "pdfjs-dist": "^3.6.172", + "pdfjs-dist": "^3.7.107", "postcss": "^8.4.24", "postcss-load-config": "^4.0.1", "prettier": "^2.8.8",