diff --git a/package.json b/package.json index d9548d95..817f1bb1 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ }, "dependencies": { "@octokit/core": "^6", - "@react-pdf/renderer": "^3.4.2", + "@react-pdf/renderer": "^4.0.0", "@vercel/analytics": "^1.1.4", "aos": "^2.3.4", "bootstrap": "^5.3.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2dd45865..a70ca051 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,8 +11,8 @@ importers: specifier: ^6 version: 6.0.1 "@react-pdf/renderer": - specifier: ^3.4.2 - version: 3.4.2(@preact/compat@17.1.2(preact@10.22.0)) + specifier: ^4.0.0 + version: 4.0.0(@preact/compat@17.1.2(preact@10.22.0)) "@vercel/analytics": specifier: ^1.1.4 version: 1.2.2(@preact/compat@17.1.2(preact@10.22.0)) @@ -1270,13 +1270,6 @@ packages: integrity: sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==, } - "@babel/runtime@7.24.0": - resolution: - { - integrity: sha512-Chk32uHMg6TnQdvw2e9IlqPpFX/6NLuK0Ys2PqLb7/gL5uFn9mXvK715FGLlOLQrcO4qIkNHkvPGktzzXexsFw==, - } - engines: { node: ">=6.9.0" } - "@babel/runtime@7.26.0": resolution: { @@ -1869,78 +1862,78 @@ packages: peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0 - "@react-pdf/fns@2.2.1": + "@react-pdf/fns@3.0.0": resolution: { - integrity: sha512-s78aDg0vDYaijU5lLOCsUD+qinQbfOvcNeaoX9AiE7+kZzzCo6B/nX+l48cmt9OosJmvZvE9DWR9cLhrhOi2pA==, + integrity: sha512-ICbIWR93PE6+xf2Xd/fXYO1dAuiOAJaszEuGGv3wp5lLSeeelDXlEYLh6R05okxh28YqMzc0Qd85x6n6MtaLUQ==, } - "@react-pdf/font@2.4.4": + "@react-pdf/font@3.0.0": resolution: { - integrity: sha512-yjK5eSY+LcbxS0m+sOYln8GdgIbUgti4xjwf14kx8OSsOMJQJyHFALHMh2cLcKJR9yZeqVDo1FwCsY6gw1yCkg==, + integrity: sha512-/SYEud06maGQiAD0H6J5xnqigKm/FpLKqFYH6+2OjQ2tb32nnKqwqL3pS7glDTFYBJ11B6fVgSNex6tc1V8UDA==, } - "@react-pdf/image@2.3.6": + "@react-pdf/image@3.0.0": resolution: { - integrity: sha512-7iZDYZrZlJqNzS6huNl2XdMcLFUo68e6mOdzQeJ63d5eApdthhSHBnkGzHfLhH5t8DCpZNtClmklzuLL63ADfw==, + integrity: sha512-l4HV5NutPw52Wbuvxol0BiFc6TkKXK/kJNwVIElphw47nwfueLEjIfBxRTuOeHmpdibvEh3a5STwYmMTQjXSxg==, } - "@react-pdf/layout@3.11.5": + "@react-pdf/layout@4.0.0": resolution: { - integrity: sha512-VLOzWIODUKw0ZTrS9XDkwl3q1OHKG8qd6OyCZZ7Q8/SijAh9ho70HEc/f1ffBFmM0nGrKMG0M3L0/7z1XKmOGw==, + integrity: sha512-BNipDwULk9ehvf0V5HLrP2QIujkfj2LzHs8yfCQ/Z8TkAX6dEt1AgwDttBpBLfzcu8w8HFjgpLR1TNOTXiOsAQ==, } - "@react-pdf/pdfkit@3.1.9": + "@react-pdf/pdfkit@4.0.0": resolution: { - integrity: sha512-9ZPF9gGkBWLcEc+HMkbJ5bHsxenej5Kz9YWWs10EeS8d5v6UF027Ffl+75HXZmgiO5iLVONTYj06LnyYZ95XMQ==, + integrity: sha512-HaaAoBpoRGJ6c1ZOANNQZ3q6Ehmagqa8n40x+OZ5s9HcmUviZ34SCm+QBa42s1o4299M+Lgw3UoqpW7sHv3/Hg==, } - "@react-pdf/png-js@2.3.1": + "@react-pdf/png-js@3.0.0": resolution: { - integrity: sha512-pEZ18I4t1vAUS4lmhvXPmXYP4PHeblpWP/pAlMMRkEyP7tdAeHUN7taQl9sf9OPq7YITMY3lWpYpJU6t4CZgZg==, + integrity: sha512-eSJnEItZ37WPt6Qv5pncQDxLJRK15eaRwPT+gZoujP548CodenOVp49GST8XJvKMFt9YqIBzGBV/j9AgrOQzVA==, } - "@react-pdf/primitives@3.1.1": + "@react-pdf/primitives@4.0.0": resolution: { - integrity: sha512-miwjxLwTnO3IjoqkTVeTI+9CdyDggwekmSLhVCw+a/7FoQc+gF3J2dSKwsHvAcVFM0gvU8mzCeTofgw0zPDq0w==, + integrity: sha512-yp4E0rDL03NaUp/CnDBz3HQNfH2Mzdlgku57yhTMGNzetwB0NJusXcjYg5XsTGIXnR7Tv80JKI4O4ajj+oaLeQ==, } - "@react-pdf/render@3.4.3": + "@react-pdf/render@4.0.0": resolution: { - integrity: sha512-9LL059vfwrK1gA0uIA4utpQ/pUH9EW/yia4bb7pCoARs8IlupY5UP265jgax15ua0p+MdUwShZzQ9rilu7kGsw==, + integrity: sha512-gvrw4HM9RocuDLd+19cvP2xaSs3h4OgYn2N6VDXzj6LYQnoHBAazRV9qMpGi8FuNlQ3Va+s82R1ynXYMr0FXIg==, } - "@react-pdf/renderer@3.4.2": + "@react-pdf/renderer@4.0.0": resolution: { - integrity: sha512-YNwioiN97SOqEdCskfixsru+Y7hHbUjyayYFALKwWiAnoTOckfpacfGyIgXZXtZiwPYwnSGYTaJRxpjC7seCkA==, + integrity: sha512-yDObqmnF08Mwc24W8axmT/y+JPxJkweVQ/EM3GOXh0qyZN5VP5JvKDiCqmftI6QEKfvTFNsquuEQm13GBjkbMg==, } peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 - "@react-pdf/stylesheet@4.2.4": + "@react-pdf/stylesheet@5.0.0": resolution: { - integrity: sha512-CgRfDzeMtnV0GL7zSn381NubmgwqKhFKcK1YrWX3azl/KWVh52jjFd3HWi6dvcETNT862mjWz5MnExe4WOBJXA==, + integrity: sha512-FrJXUMsvSGee13gpL82HOhhk16y3IKxLmYvmJU1ZUo9Jm9pLydnHDPlSUDK+rKmxdSD2X+twUR7sv6FlrA5i+A==, } - "@react-pdf/textkit@4.4.1": + "@react-pdf/textkit@5.0.0": resolution: { - integrity: sha512-Jl9wdTqIvJ5pX+vAGz0EOhP7ut5Two9H6CzTKo/YYPeD79cM2yTXF3JzTERBC28y7LR0Waq9D2LHQjI+b/EYUQ==, + integrity: sha512-+K6zkF6lDXHIZZ9nNzplJ48IrjXNGQqVfO5v73AsutHbvx44E62t46EeoGLHsmjGeMG70TooSI1Mwq/7f/5tLw==, } - "@react-pdf/types@2.4.1": + "@react-pdf/types@2.7.0": resolution: { - integrity: sha512-w8pk7svhjVj5f7d7kjEGXSk26ffCqRSQcgWR4DwcFltNpSM18ZJmzmM6WrNeeP437y48LlykLnmGDA3oATakgw==, + integrity: sha512-7KrPPCpgRPKR+g+T127PE4bpw9Q84ZiY07EYRwXKVtTEVW9wJ5BZiF9smT9IvH19s+MQaDLmYRgjESsnqlyH0Q==, } "@remix-run/router@1.15.3": @@ -6014,10 +6007,10 @@ packages: engines: { node: ">=10" } hasBin: true - jay-peg@1.0.2: + jay-peg@1.1.0: resolution: { - integrity: sha512-fyV3NVvv6pTys/3BTapBUGAWAuU9rM2gRcgijZHzptd5KKL+s+S7hESFN+wOsbDH1MzFwdlRAXi0aGxS6uiMKg==, + integrity: sha512-WhyKySfx5CEFoKDnpmHyJUrpX5fUrr/X3kqVHISmiO9jrJC73RQBOAZJB8bDrWT4PHEkl0QgNZLlWJfAWAIFew==, } jest-changed-files@27.5.1: @@ -9593,12 +9586,6 @@ packages: integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==, } - tslib@2.6.2: - resolution: - { - integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==, - } - tslib@2.8.0: resolution: { @@ -10397,10 +10384,10 @@ packages: } engines: { node: ">=10" } - yoga-layout@2.0.1: + yoga-layout@3.1.0: resolution: { - integrity: sha512-tT/oChyDXelLo2A+UVnlW9GU7CsvFMaEnd9kVFsaiCQonFAXd3xrHhkLYu+suwwosrAEQ746xBU+HvYtm1Zs2Q==, + integrity: sha512-auzJ8lEovThZIpR8wLGWNo/JEj4VTO79q9/gOJ0dWb3shAYPFdX3t9VN0fC0v+jeQF77STUdCzebLwRMqzn5gQ==, } snapshots: @@ -11310,10 +11297,6 @@ snapshots: "@babel/regjsgen@0.8.0": {} - "@babel/runtime@7.24.0": - dependencies: - regenerator-runtime: 0.14.1 - "@babel/runtime@7.26.0": dependencies: regenerator-runtime: 0.14.1 @@ -11815,84 +11798,84 @@ snapshots: "@swc/helpers": 0.5.13 react: "@preact/compat@17.1.2(preact@10.22.0)" - "@react-pdf/fns@2.2.1": + "@react-pdf/fns@3.0.0": dependencies: - "@babel/runtime": 7.24.0 + "@babel/runtime": 7.26.0 - "@react-pdf/font@2.4.4": + "@react-pdf/font@3.0.0": dependencies: - "@babel/runtime": 7.24.0 - "@react-pdf/types": 2.4.1 + "@babel/runtime": 7.26.0 + "@react-pdf/types": 2.7.0 cross-fetch: 3.1.8 fontkit: 2.0.2 is-url: 1.2.4 transitivePeerDependencies: - encoding - "@react-pdf/image@2.3.6": + "@react-pdf/image@3.0.0": dependencies: - "@babel/runtime": 7.24.0 - "@react-pdf/png-js": 2.3.1 + "@babel/runtime": 7.26.0 + "@react-pdf/png-js": 3.0.0 cross-fetch: 3.1.8 - jay-peg: 1.0.2 + jay-peg: 1.1.0 transitivePeerDependencies: - encoding - "@react-pdf/layout@3.11.5": + "@react-pdf/layout@4.0.0": dependencies: - "@babel/runtime": 7.24.0 - "@react-pdf/fns": 2.2.1 - "@react-pdf/image": 2.3.6 - "@react-pdf/pdfkit": 3.1.9 - "@react-pdf/primitives": 3.1.1 - "@react-pdf/stylesheet": 4.2.4 - "@react-pdf/textkit": 4.4.1 - "@react-pdf/types": 2.4.1 + "@babel/runtime": 7.26.0 + "@react-pdf/fns": 3.0.0 + "@react-pdf/image": 3.0.0 + "@react-pdf/pdfkit": 4.0.0 + "@react-pdf/primitives": 4.0.0 + "@react-pdf/stylesheet": 5.0.0 + "@react-pdf/textkit": 5.0.0 + "@react-pdf/types": 2.7.0 cross-fetch: 3.1.8 emoji-regex: 10.3.0 queue: 6.0.2 - yoga-layout: 2.0.1 + yoga-layout: 3.1.0 transitivePeerDependencies: - encoding - "@react-pdf/pdfkit@3.1.9": + "@react-pdf/pdfkit@4.0.0": dependencies: - "@babel/runtime": 7.24.0 - "@react-pdf/png-js": 2.3.1 + "@babel/runtime": 7.26.0 + "@react-pdf/png-js": 3.0.0 browserify-zlib: 0.2.0 crypto-js: 4.2.0 fontkit: 2.0.2 - jay-peg: 1.0.2 + jay-peg: 1.1.0 vite-compatible-readable-stream: 3.6.1 - "@react-pdf/png-js@2.3.1": + "@react-pdf/png-js@3.0.0": dependencies: browserify-zlib: 0.2.0 - "@react-pdf/primitives@3.1.1": {} + "@react-pdf/primitives@4.0.0": {} - "@react-pdf/render@3.4.3": + "@react-pdf/render@4.0.0": dependencies: - "@babel/runtime": 7.24.0 - "@react-pdf/fns": 2.2.1 - "@react-pdf/primitives": 3.1.1 - "@react-pdf/textkit": 4.4.1 - "@react-pdf/types": 2.4.1 + "@babel/runtime": 7.26.0 + "@react-pdf/fns": 3.0.0 + "@react-pdf/primitives": 4.0.0 + "@react-pdf/textkit": 5.0.0 + "@react-pdf/types": 2.7.0 abs-svg-path: 0.1.1 color-string: 1.9.1 normalize-svg-path: 1.1.0 parse-svg-path: 0.1.2 svg-arc-to-cubic-bezier: 3.2.0 - "@react-pdf/renderer@3.4.2(@preact/compat@17.1.2(preact@10.22.0))": + "@react-pdf/renderer@4.0.0(@preact/compat@17.1.2(preact@10.22.0))": dependencies: - "@babel/runtime": 7.24.0 - "@react-pdf/font": 2.4.4 - "@react-pdf/layout": 3.11.5 - "@react-pdf/pdfkit": 3.1.9 - "@react-pdf/primitives": 3.1.1 - "@react-pdf/render": 3.4.3 - "@react-pdf/types": 2.4.1 + "@babel/runtime": 7.26.0 + "@react-pdf/font": 3.0.0 + "@react-pdf/layout": 4.0.0 + "@react-pdf/pdfkit": 4.0.0 + "@react-pdf/primitives": 4.0.0 + "@react-pdf/render": 4.0.0 + "@react-pdf/types": 2.7.0 events: 3.3.0 object-assign: 4.1.1 prop-types: 15.8.1 @@ -11902,25 +11885,25 @@ snapshots: transitivePeerDependencies: - encoding - "@react-pdf/stylesheet@4.2.4": + "@react-pdf/stylesheet@5.0.0": dependencies: - "@babel/runtime": 7.24.0 - "@react-pdf/fns": 2.2.1 - "@react-pdf/types": 2.4.1 + "@babel/runtime": 7.26.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.2.0 - "@react-pdf/textkit@4.4.1": + "@react-pdf/textkit@5.0.0": dependencies: - "@babel/runtime": 7.24.0 - "@react-pdf/fns": 2.2.1 + "@babel/runtime": 7.26.0 + "@react-pdf/fns": 3.0.0 bidi-js: 1.0.3 hyphen: 1.10.4 unicode-properties: 1.4.1 - "@react-pdf/types@2.4.1": {} + "@react-pdf/types@2.7.0": {} "@remix-run/router@1.15.3": {} @@ -12063,12 +12046,12 @@ snapshots: "@swc/helpers@0.4.14": dependencies: - tslib: 2.6.2 + tslib: 2.8.0 "@swc/helpers@0.4.36": dependencies: legacy-swc-helpers: "@swc/helpers@0.4.14" - tslib: 2.6.2 + tslib: 2.8.0 "@swc/helpers@0.5.13": dependencies: @@ -14587,7 +14570,7 @@ snapshots: filelist: 1.0.4 minimatch: 3.1.2 - jay-peg@1.0.2: + jay-peg@1.1.0: dependencies: restructure: 3.0.1 @@ -17123,8 +17106,6 @@ snapshots: tslib@1.14.1: {} - tslib@2.6.2: {} - tslib@2.8.0: {} tsparticles@1.43.1: {} @@ -17705,4 +17686,4 @@ snapshots: yocto-queue@0.1.0: {} - yoga-layout@2.0.1: {} + yoga-layout@3.1.0: {}