From 3b9de155a2db02e256bec45f2b2241755f430c34 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 14 Jan 2025 21:23:40 +0000 Subject: [PATCH] fix(deps): update dependency @react-pdf/layout to v4 --- frontend/package-lock.json | 122 +++++++++++++++++++++++++++-------- frontend/package.json | 2 +- pdf/package-lock.json | 129 +++++++++++++++++++++++++++++-------- pdf/package.json | 2 +- 4 files changed, 199 insertions(+), 56 deletions(-) diff --git a/frontend/package-lock.json b/frontend/package-lock.json index e73f8c602d..d464c32e4d 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -10,7 +10,7 @@ "@intlify/core": "11.0.1", "@mdi/font": "7.4.47", "@react-pdf/font": "2.5.2", - "@react-pdf/layout": "3.13.0", + "@react-pdf/layout": "4.2.0", "@react-pdf/pdfkit": "3.2.0", "@react-pdf/primitives": "3.1.1", "@react-pdf/render": "3.5.0", @@ -3160,35 +3160,94 @@ } }, "node_modules/@react-pdf/image": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/@react-pdf/image/-/image-2.3.6.tgz", - "integrity": "sha512-7iZDYZrZlJqNzS6huNl2XdMcLFUo68e6mOdzQeJ63d5eApdthhSHBnkGzHfLhH5t8DCpZNtClmklzuLL63ADfw==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@react-pdf/image/-/image-3.0.1.tgz", + "integrity": "sha512-Hd5F1LzjuzG4bL/ytaOYxwN/5ip8oFBYDHdpccOfYY87J/Ca7AL31SsuneLk9DtnwNM1BSAKXtBo/WDFY3r57A==", "license": "MIT", "dependencies": { "@babel/runtime": "^7.20.13", - "@react-pdf/png-js": "^2.3.1", - "cross-fetch": "^3.1.5", - "jay-peg": "^1.0.2" + "@react-pdf/png-js": "^3.0.0", + "jay-peg": "^1.1.0" + } + }, + "node_modules/@react-pdf/image/node_modules/@react-pdf/png-js": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@react-pdf/png-js/-/png-js-3.0.0.tgz", + "integrity": "sha512-eSJnEItZ37WPt6Qv5pncQDxLJRK15eaRwPT+gZoujP548CodenOVp49GST8XJvKMFt9YqIBzGBV/j9AgrOQzVA==", + "license": "MIT", + "dependencies": { + "browserify-zlib": "^0.2.0" } }, "node_modules/@react-pdf/layout": { - "version": "3.13.0", - "resolved": "https://registry.npmjs.org/@react-pdf/layout/-/layout-3.13.0.tgz", - "integrity": "sha512-lpPj/EJYHFOc0ALiJwLP09H28B4ADyvTjxOf67xTF+qkWd+dq1vg7dw3wnYESPnWk5T9NN+HlUenJqdYEY9AvA==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@react-pdf/layout/-/layout-4.2.0.tgz", + "integrity": "sha512-/0jMhDKwZH0lQs3umNsOduaPtkK0IUpaBRUEv4udHVD9lB2VzYoSNeYsCu+MJMPJyByXj70OSWV7IMjWTCKwWw==", "license": "MIT", "dependencies": { "@babel/runtime": "^7.20.13", - "@react-pdf/fns": "2.2.1", - "@react-pdf/image": "^2.3.6", - "@react-pdf/pdfkit": "^3.2.0", - "@react-pdf/primitives": "^3.1.1", - "@react-pdf/stylesheet": "^4.3.0", - "@react-pdf/textkit": "^4.4.1", - "@react-pdf/types": "^2.6.0", - "cross-fetch": "^3.1.5", + "@react-pdf/fns": "3.0.0", + "@react-pdf/image": "^3.0.1", + "@react-pdf/pdfkit": "^4.0.0", + "@react-pdf/primitives": "^4.0.0", + "@react-pdf/stylesheet": "^5.2.0", + "@react-pdf/textkit": "^5.0.1", + "@react-pdf/types": "^2.7.0", "emoji-regex": "^10.3.0", "queue": "^6.0.1", - "yoga-layout": "^2.0.1" + "yoga-layout": "^3.1.0" + } + }, + "node_modules/@react-pdf/layout/node_modules/@react-pdf/fns": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@react-pdf/fns/-/fns-3.0.0.tgz", + "integrity": "sha512-ICbIWR93PE6+xf2Xd/fXYO1dAuiOAJaszEuGGv3wp5lLSeeelDXlEYLh6R05okxh28YqMzc0Qd85x6n6MtaLUQ==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.20.13" + } + }, + "node_modules/@react-pdf/layout/node_modules/@react-pdf/pdfkit": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@react-pdf/pdfkit/-/pdfkit-4.0.0.tgz", + "integrity": "sha512-HaaAoBpoRGJ6c1ZOANNQZ3q6Ehmagqa8n40x+OZ5s9HcmUviZ34SCm+QBa42s1o4299M+Lgw3UoqpW7sHv3/Hg==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.20.13", + "@react-pdf/png-js": "^3.0.0", + "browserify-zlib": "^0.2.0", + "crypto-js": "^4.2.0", + "fontkit": "^2.0.2", + "jay-peg": "^1.1.0", + "vite-compatible-readable-stream": "^3.6.1" + } + }, + "node_modules/@react-pdf/layout/node_modules/@react-pdf/png-js": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@react-pdf/png-js/-/png-js-3.0.0.tgz", + "integrity": "sha512-eSJnEItZ37WPt6Qv5pncQDxLJRK15eaRwPT+gZoujP548CodenOVp49GST8XJvKMFt9YqIBzGBV/j9AgrOQzVA==", + "license": "MIT", + "dependencies": { + "browserify-zlib": "^0.2.0" + } + }, + "node_modules/@react-pdf/layout/node_modules/@react-pdf/primitives": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@react-pdf/primitives/-/primitives-4.0.0.tgz", + "integrity": "sha512-yp4E0rDL03NaUp/CnDBz3HQNfH2Mzdlgku57yhTMGNzetwB0NJusXcjYg5XsTGIXnR7Tv80JKI4O4ajj+oaLeQ==", + "license": "MIT" + }, + "node_modules/@react-pdf/layout/node_modules/@react-pdf/textkit": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@react-pdf/textkit/-/textkit-5.0.1.tgz", + "integrity": "sha512-4GdDiPA9l+If203hkh48slvRQmcmM3ecPLFTpXNMPrep/3retgvxUEXKMxI+xKclpw8tMzK/W6Z4hN9DgnxWMg==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.20.13", + "@react-pdf/fns": "3.0.0", + "bidi-js": "^1.0.2", + "hyphen": "^1.6.4", + "unicode-properties": "^1.4.1" } }, "node_modules/@react-pdf/pdfkit": { @@ -3240,20 +3299,29 @@ } }, "node_modules/@react-pdf/stylesheet": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/@react-pdf/stylesheet/-/stylesheet-4.3.0.tgz", - "integrity": "sha512-x7IVZOqRrUum9quuDeFXBveXwBht+z/6B0M+z4a4XjfSg1vZVvzoTl07Oa1yvQ/4yIC5yIkG2TSMWeKnDB+hrw==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@react-pdf/stylesheet/-/stylesheet-5.2.0.tgz", + "integrity": "sha512-ST19VumM9iRG0z8EjDJnyQCG+NhPFtYUCAh5B8HY237MrsRGvMgzcwrpyyqcyuLwHHYy7S4iw8EY0mK9+Qa2XQ==", "license": "MIT", "dependencies": { "@babel/runtime": "^7.20.13", - "@react-pdf/fns": "2.2.1", - "@react-pdf/types": "^2.6.0", + "@react-pdf/fns": "3.0.0", + "@react-pdf/types": "^2.7.0", "color-string": "^1.9.1", "hsl-to-hex": "^1.0.0", "media-engine": "^1.0.3", "postcss-value-parser": "^4.1.0" } }, + "node_modules/@react-pdf/stylesheet/node_modules/@react-pdf/fns": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@react-pdf/fns/-/fns-3.0.0.tgz", + "integrity": "sha512-ICbIWR93PE6+xf2Xd/fXYO1dAuiOAJaszEuGGv3wp5lLSeeelDXlEYLh6R05okxh28YqMzc0Qd85x6n6MtaLUQ==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.20.13" + } + }, "node_modules/@react-pdf/textkit": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/@react-pdf/textkit/-/textkit-4.4.1.tgz", @@ -12895,9 +12963,9 @@ } }, "node_modules/yoga-layout": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/yoga-layout/-/yoga-layout-2.0.1.tgz", - "integrity": "sha512-tT/oChyDXelLo2A+UVnlW9GU7CsvFMaEnd9kVFsaiCQonFAXd3xrHhkLYu+suwwosrAEQ746xBU+HvYtm1Zs2Q==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/yoga-layout/-/yoga-layout-3.2.1.tgz", + "integrity": "sha512-0LPOt3AxKqMdFBZA3HBAt/t/8vIKq7VaQYbuA8WxCgung+p9TVyKRYdpvCb80HcdTN2NkbIKbhNwKUfm3tQywQ==", "license": "MIT" } } diff --git a/frontend/package.json b/frontend/package.json index 559728e241..86895b80f0 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -23,7 +23,7 @@ "@intlify/core": "11.0.1", "@mdi/font": "7.4.47", "@react-pdf/font": "2.5.2", - "@react-pdf/layout": "3.13.0", + "@react-pdf/layout": "4.2.0", "@react-pdf/pdfkit": "3.2.0", "@react-pdf/primitives": "3.1.1", "@react-pdf/render": "3.5.0", diff --git a/pdf/package-lock.json b/pdf/package-lock.json index d013d6245f..9231f545cd 100644 --- a/pdf/package-lock.json +++ b/pdf/package-lock.json @@ -41,7 +41,7 @@ }, "peerDependencies": { "@react-pdf/font": "2.5.2", - "@react-pdf/layout": "3.13.0", + "@react-pdf/layout": "4.2.0", "@react-pdf/pdfkit": "3.2.0", "@react-pdf/render": "3.5.0", "colorjs.io": "0.5.2", @@ -2673,37 +2673,102 @@ } }, "node_modules/@react-pdf/image": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/@react-pdf/image/-/image-2.3.6.tgz", - "integrity": "sha512-7iZDYZrZlJqNzS6huNl2XdMcLFUo68e6mOdzQeJ63d5eApdthhSHBnkGzHfLhH5t8DCpZNtClmklzuLL63ADfw==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@react-pdf/image/-/image-3.0.1.tgz", + "integrity": "sha512-Hd5F1LzjuzG4bL/ytaOYxwN/5ip8oFBYDHdpccOfYY87J/Ca7AL31SsuneLk9DtnwNM1BSAKXtBo/WDFY3r57A==", "license": "MIT", "peer": true, "dependencies": { "@babel/runtime": "^7.20.13", - "@react-pdf/png-js": "^2.3.1", - "cross-fetch": "^3.1.5", - "jay-peg": "^1.0.2" + "@react-pdf/png-js": "^3.0.0", + "jay-peg": "^1.1.0" + } + }, + "node_modules/@react-pdf/image/node_modules/@react-pdf/png-js": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@react-pdf/png-js/-/png-js-3.0.0.tgz", + "integrity": "sha512-eSJnEItZ37WPt6Qv5pncQDxLJRK15eaRwPT+gZoujP548CodenOVp49GST8XJvKMFt9YqIBzGBV/j9AgrOQzVA==", + "license": "MIT", + "peer": true, + "dependencies": { + "browserify-zlib": "^0.2.0" } }, "node_modules/@react-pdf/layout": { - "version": "3.13.0", - "resolved": "https://registry.npmjs.org/@react-pdf/layout/-/layout-3.13.0.tgz", - "integrity": "sha512-lpPj/EJYHFOc0ALiJwLP09H28B4ADyvTjxOf67xTF+qkWd+dq1vg7dw3wnYESPnWk5T9NN+HlUenJqdYEY9AvA==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@react-pdf/layout/-/layout-4.2.0.tgz", + "integrity": "sha512-/0jMhDKwZH0lQs3umNsOduaPtkK0IUpaBRUEv4udHVD9lB2VzYoSNeYsCu+MJMPJyByXj70OSWV7IMjWTCKwWw==", "license": "MIT", "peer": true, "dependencies": { "@babel/runtime": "^7.20.13", - "@react-pdf/fns": "2.2.1", - "@react-pdf/image": "^2.3.6", - "@react-pdf/pdfkit": "^3.2.0", - "@react-pdf/primitives": "^3.1.1", - "@react-pdf/stylesheet": "^4.3.0", - "@react-pdf/textkit": "^4.4.1", - "@react-pdf/types": "^2.6.0", - "cross-fetch": "^3.1.5", + "@react-pdf/fns": "3.0.0", + "@react-pdf/image": "^3.0.1", + "@react-pdf/pdfkit": "^4.0.0", + "@react-pdf/primitives": "^4.0.0", + "@react-pdf/stylesheet": "^5.2.0", + "@react-pdf/textkit": "^5.0.1", + "@react-pdf/types": "^2.7.0", "emoji-regex": "^10.3.0", "queue": "^6.0.1", - "yoga-layout": "^2.0.1" + "yoga-layout": "^3.1.0" + } + }, + "node_modules/@react-pdf/layout/node_modules/@react-pdf/fns": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@react-pdf/fns/-/fns-3.0.0.tgz", + "integrity": "sha512-ICbIWR93PE6+xf2Xd/fXYO1dAuiOAJaszEuGGv3wp5lLSeeelDXlEYLh6R05okxh28YqMzc0Qd85x6n6MtaLUQ==", + "license": "MIT", + "peer": true, + "dependencies": { + "@babel/runtime": "^7.20.13" + } + }, + "node_modules/@react-pdf/layout/node_modules/@react-pdf/pdfkit": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@react-pdf/pdfkit/-/pdfkit-4.0.0.tgz", + "integrity": "sha512-HaaAoBpoRGJ6c1ZOANNQZ3q6Ehmagqa8n40x+OZ5s9HcmUviZ34SCm+QBa42s1o4299M+Lgw3UoqpW7sHv3/Hg==", + "license": "MIT", + "peer": true, + "dependencies": { + "@babel/runtime": "^7.20.13", + "@react-pdf/png-js": "^3.0.0", + "browserify-zlib": "^0.2.0", + "crypto-js": "^4.2.0", + "fontkit": "^2.0.2", + "jay-peg": "^1.1.0", + "vite-compatible-readable-stream": "^3.6.1" + } + }, + "node_modules/@react-pdf/layout/node_modules/@react-pdf/png-js": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@react-pdf/png-js/-/png-js-3.0.0.tgz", + "integrity": "sha512-eSJnEItZ37WPt6Qv5pncQDxLJRK15eaRwPT+gZoujP548CodenOVp49GST8XJvKMFt9YqIBzGBV/j9AgrOQzVA==", + "license": "MIT", + "peer": true, + "dependencies": { + "browserify-zlib": "^0.2.0" + } + }, + "node_modules/@react-pdf/layout/node_modules/@react-pdf/primitives": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@react-pdf/primitives/-/primitives-4.0.0.tgz", + "integrity": "sha512-yp4E0rDL03NaUp/CnDBz3HQNfH2Mzdlgku57yhTMGNzetwB0NJusXcjYg5XsTGIXnR7Tv80JKI4O4ajj+oaLeQ==", + "license": "MIT", + "peer": true + }, + "node_modules/@react-pdf/layout/node_modules/@react-pdf/textkit": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@react-pdf/textkit/-/textkit-5.0.1.tgz", + "integrity": "sha512-4GdDiPA9l+If203hkh48slvRQmcmM3ecPLFTpXNMPrep/3retgvxUEXKMxI+xKclpw8tMzK/W6Z4hN9DgnxWMg==", + "license": "MIT", + "peer": true, + "dependencies": { + "@babel/runtime": "^7.20.13", + "@react-pdf/fns": "3.0.0", + "bidi-js": "^1.0.2", + "hyphen": "^1.6.4", + "unicode-properties": "^1.4.1" } }, "node_modules/@react-pdf/pdfkit": { @@ -2759,21 +2824,31 @@ } }, "node_modules/@react-pdf/stylesheet": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/@react-pdf/stylesheet/-/stylesheet-4.3.0.tgz", - "integrity": "sha512-x7IVZOqRrUum9quuDeFXBveXwBht+z/6B0M+z4a4XjfSg1vZVvzoTl07Oa1yvQ/4yIC5yIkG2TSMWeKnDB+hrw==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@react-pdf/stylesheet/-/stylesheet-5.2.0.tgz", + "integrity": "sha512-ST19VumM9iRG0z8EjDJnyQCG+NhPFtYUCAh5B8HY237MrsRGvMgzcwrpyyqcyuLwHHYy7S4iw8EY0mK9+Qa2XQ==", "license": "MIT", "peer": true, "dependencies": { "@babel/runtime": "^7.20.13", - "@react-pdf/fns": "2.2.1", - "@react-pdf/types": "^2.6.0", + "@react-pdf/fns": "3.0.0", + "@react-pdf/types": "^2.7.0", "color-string": "^1.9.1", "hsl-to-hex": "^1.0.0", "media-engine": "^1.0.3", "postcss-value-parser": "^4.1.0" } }, + "node_modules/@react-pdf/stylesheet/node_modules/@react-pdf/fns": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@react-pdf/fns/-/fns-3.0.0.tgz", + "integrity": "sha512-ICbIWR93PE6+xf2Xd/fXYO1dAuiOAJaszEuGGv3wp5lLSeeelDXlEYLh6R05okxh28YqMzc0Qd85x6n6MtaLUQ==", + "license": "MIT", + "peer": true, + "dependencies": { + "@babel/runtime": "^7.20.13" + } + }, "node_modules/@react-pdf/textkit": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/@react-pdf/textkit/-/textkit-4.4.1.tgz", @@ -7853,9 +7928,9 @@ } }, "node_modules/yoga-layout": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/yoga-layout/-/yoga-layout-2.0.1.tgz", - "integrity": "sha512-tT/oChyDXelLo2A+UVnlW9GU7CsvFMaEnd9kVFsaiCQonFAXd3xrHhkLYu+suwwosrAEQ746xBU+HvYtm1Zs2Q==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/yoga-layout/-/yoga-layout-3.2.1.tgz", + "integrity": "sha512-0LPOt3AxKqMdFBZA3HBAt/t/8vIKq7VaQYbuA8WxCgung+p9TVyKRYdpvCb80HcdTN2NkbIKbhNwKUfm3tQywQ==", "license": "MIT", "peer": true } diff --git a/pdf/package.json b/pdf/package.json index 09d75ad0a8..523aca8b2f 100644 --- a/pdf/package.json +++ b/pdf/package.json @@ -24,7 +24,7 @@ }, "peerDependencies": { "@react-pdf/font": "2.5.2", - "@react-pdf/layout": "3.13.0", + "@react-pdf/layout": "4.2.0", "@react-pdf/pdfkit": "3.2.0", "@react-pdf/render": "3.5.0", "colorjs.io": "0.5.2",