diff --git a/package.json b/package.json index 6c65652fd..fddf3f02d 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "@prismicio/client": "^7.1.0", "@prismicio/next": "^1.3.3", "@prismicio/react": "^2.7.1", - "@react-pdf/renderer": "3.1.7", + "@react-pdf/renderer": "3.3.7", "@svgr/webpack": "^8.0.1", "@vitejs/plugin-react": "^3.1.0", "@walletconnect/modal": "2.6.0", diff --git a/yarn.lock b/yarn.lock index cb7bafd00..880632188 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3494,144 +3494,139 @@ unbzip2-stream "1.4.3" yargs "17.7.1" -"@react-pdf/fns@2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@react-pdf/fns/-/fns-2.0.1.tgz#8948464044fc8a69975d9d07b1a12673377b72e2" - integrity sha512-/vgecczzFYBQFkgUupH+sxXhLWQtBwdwCgweyh25XOlR4NZuaMD/UVUDl4loFHhRQqDMQq37lkTcchh7zzW6ug== +"@react-pdf/fns@2.2.1": + version "2.2.1" + resolved "https://registry.yarnpkg.com/@react-pdf/fns/-/fns-2.2.1.tgz#04fe664a6f70214569c9c27e249e3395836f37d5" + integrity sha512-s78aDg0vDYaijU5lLOCsUD+qinQbfOvcNeaoX9AiE7+kZzzCo6B/nX+l48cmt9OosJmvZvE9DWR9cLhrhOi2pA== dependencies: "@babel/runtime" "^7.20.13" -"@react-pdf/font@^2.3.3": - version "2.3.6" - resolved "https://registry.yarnpkg.com/@react-pdf/font/-/font-2.3.6.tgz#d92c6abf5fe6643842d47b0d22d52487026de311" - integrity sha512-JYV+KmVyG2tPdpCK0/iFiBy1V7VHz2fETttKCgTRsLAo+w8RpM0pUGSAYROSuRl7yqbhiKGw/A24PYWhBReiOQ== +"@react-pdf/font@^2.4.4": + version "2.4.4" + resolved "https://registry.yarnpkg.com/@react-pdf/font/-/font-2.4.4.tgz#52c2b900a2eb4cca579cc58ea85d062c02a879cd" + integrity sha512-yjK5eSY+LcbxS0m+sOYln8GdgIbUgti4xjwf14kx8OSsOMJQJyHFALHMh2cLcKJR9yZeqVDo1FwCsY6gw1yCkg== dependencies: "@babel/runtime" "^7.20.13" - "@react-pdf/types" "^2.3.3" + "@react-pdf/types" "^2.4.1" cross-fetch "^3.1.5" fontkit "^2.0.2" is-url "^1.2.4" -"@react-pdf/image@^2.2.1": - version "2.2.1" - resolved "https://registry.yarnpkg.com/@react-pdf/image/-/image-2.2.1.tgz#4e3edb4df156ed36d31810de2b5054deafe65496" - integrity sha512-f0+cEP6pSBmk8eS/wP2tMsJcv2c7xjzca6cr1kwcapr1nzkPrh6fMdEeFl6kR2/HlJK/JoHo+xxlzRiQ8V2lrw== +"@react-pdf/image@^2.3.4": + version "2.3.4" + resolved "https://registry.yarnpkg.com/@react-pdf/image/-/image-2.3.4.tgz#c55a1cec4946e9b77a16ec40bf50b8f1df55068d" + integrity sha512-IE34l7gfTdaxXe3XR9240xMZsFdxF1myIwmEWK28XoeTaucUPAUyOiNcFSGRT59vNuZVBuakYz3BlGGrkvAPVQ== dependencies: "@babel/runtime" "^7.20.13" - "@react-pdf/png-js" "^2.2.0" + "@react-pdf/png-js" "^2.3.1" cross-fetch "^3.1.5" + jay-peg "^1.0.0" -"@react-pdf/layout@^3.5.0": - version "3.6.2" - resolved "https://registry.yarnpkg.com/@react-pdf/layout/-/layout-3.6.2.tgz#10fc0b8f26cfbd4c7f774aa2317d2fb625c6f656" - integrity sha512-YD3/tDC6p5XPCXI04zH79bgX8LytjxEYfeCtsIzEFk0A2VvIHoRnRRDZ2OhZmO5g112ykyjY8vn9//ubTt+Ktg== +"@react-pdf/layout@^3.11.1": + version "3.11.1" + resolved "https://registry.yarnpkg.com/@react-pdf/layout/-/layout-3.11.1.tgz#eae73a511f37806ed127609c7bc3ab1af2292442" + integrity sha512-NX+qZBrhNw51i1CA0HmrxOt6HZO3IRgd8xk2M1LVGdEXXKl97nUtyM8q9askaodlm9ccZsAshd/WE5BvJMrTNA== dependencies: "@babel/runtime" "^7.20.13" - "@react-pdf/fns" "2.0.1" - "@react-pdf/image" "^2.2.1" - "@react-pdf/pdfkit" "^3.0.2" - "@react-pdf/primitives" "^3.0.0" - "@react-pdf/stylesheet" "^4.1.7" - "@react-pdf/textkit" "^4.2.0" - "@react-pdf/types" "^2.3.3" - "@react-pdf/yoga" "^4.1.2" + "@react-pdf/fns" "2.2.1" + "@react-pdf/image" "^2.3.4" + "@react-pdf/pdfkit" "^3.1.5" + "@react-pdf/primitives" "^3.1.1" + "@react-pdf/stylesheet" "^4.2.4" + "@react-pdf/textkit" "^4.4.1" + "@react-pdf/types" "^2.4.1" cross-fetch "^3.1.5" - emoji-regex "^10.2.1" + emoji-regex "^10.3.0" queue "^6.0.1" + yoga-layout "^2.0.1" -"@react-pdf/pdfkit@^3.0.2": - version "3.0.2" - resolved "https://registry.yarnpkg.com/@react-pdf/pdfkit/-/pdfkit-3.0.2.tgz#6ec17f416f464d86c06c0b0d8a76ea9acdff9ddb" - integrity sha512-+m5rwNCwyEH6lmnZWpsQJvdqb6YaCCR0nMWrc/KKDwznuPMrGmGWyNxqCja+bQPORcHZyl6Cd/iFL0glyB3QGw== +"@react-pdf/pdfkit@^3.1.5": + version "3.1.5" + resolved "https://registry.yarnpkg.com/@react-pdf/pdfkit/-/pdfkit-3.1.5.tgz#9c09967b230b27a3489c3eec46fbb5da572b433f" + integrity sha512-MDHwmr0hRz0nK7HkxULv3duhPJjRSCXQBeNIE7nmbruH9m1PaxnYHAN5QfmrK5SaUzFD7Qq9zaWFMer9Ws66SA== dependencies: "@babel/runtime" "^7.20.13" - "@react-pdf/png-js" "^2.2.0" + "@react-pdf/png-js" "^2.3.1" browserify-zlib "^0.2.0" - crypto-js "^4.0.0" + crypto-js "^4.2.0" fontkit "^2.0.2" + jay-peg "^1.0.0" vite-compatible-readable-stream "^3.6.1" -"@react-pdf/png-js@^2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@react-pdf/png-js/-/png-js-2.2.0.tgz#c40ec2ae745f2feb7bd557024af8f366c2c8c00e" - integrity sha512-csZU5lfNW73tq7s7zB/1rWXGro+Z9cQhxtsXwxS418TSszHUiM6PwddouiKJxdGhbVLjRIcuuFVa0aR5cDOC6w== +"@react-pdf/png-js@^2.3.1": + version "2.3.1" + resolved "https://registry.yarnpkg.com/@react-pdf/png-js/-/png-js-2.3.1.tgz#5381d5443ac1134e98fc446fa1debb45950665bc" + integrity sha512-pEZ18I4t1vAUS4lmhvXPmXYP4PHeblpWP/pAlMMRkEyP7tdAeHUN7taQl9sf9OPq7YITMY3lWpYpJU6t4CZgZg== dependencies: browserify-zlib "^0.2.0" -"@react-pdf/primitives@^3.0.0": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@react-pdf/primitives/-/primitives-3.0.1.tgz#3b2bfebdb1fef6fc7f99214ccfd0932267b8e0cd" - integrity sha512-0HGcknrLNwyhxe+SZCBL29JY4M85mXKdvTZE9uhjNbADGgTc8wVnkc5+e4S/lDvugbVISXyuIhZnYwtK9eDnyQ== +"@react-pdf/primitives@^3.1.1": + version "3.1.1" + resolved "https://registry.yarnpkg.com/@react-pdf/primitives/-/primitives-3.1.1.tgz#45a3253806fa61046f3821b8553bfee3cd848d14" + integrity sha512-miwjxLwTnO3IjoqkTVeTI+9CdyDggwekmSLhVCw+a/7FoQc+gF3J2dSKwsHvAcVFM0gvU8mzCeTofgw0zPDq0w== -"@react-pdf/render@^3.2.3": - version "3.2.6" - resolved "https://registry.yarnpkg.com/@react-pdf/render/-/render-3.2.6.tgz#9d6a6e3c89568fa05a37dac4e29c220eec0689c6" - integrity sha512-nsd1sleWMzBdrYGv5BwChPgVwoTZilfdiadE5wQiblFqG1C7EYINadalnEl1tjldKAzofSPBLKJbnSGR5r2lIQ== +"@react-pdf/render@^3.4.3": + version "3.4.3" + resolved "https://registry.yarnpkg.com/@react-pdf/render/-/render-3.4.3.tgz#1aefea3b130349a6916fecfc229d0196d55f9305" + integrity sha512-9LL059vfwrK1gA0uIA4utpQ/pUH9EW/yia4bb7pCoARs8IlupY5UP265jgax15ua0p+MdUwShZzQ9rilu7kGsw== dependencies: "@babel/runtime" "^7.20.13" - "@react-pdf/fns" "2.0.1" - "@react-pdf/primitives" "^3.0.0" - "@react-pdf/textkit" "^4.2.0" - "@react-pdf/types" "^2.3.3" + "@react-pdf/fns" "2.2.1" + "@react-pdf/primitives" "^3.1.1" + "@react-pdf/textkit" "^4.4.1" + "@react-pdf/types" "^2.4.1" abs-svg-path "^0.1.1" - color-string "^1.5.3" + 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.1.7": - version "3.1.7" - resolved "https://registry.yarnpkg.com/@react-pdf/renderer/-/renderer-3.1.7.tgz#1dad86b05db0569bbefe674fd0c4bab09a45d330" - integrity sha512-cDlUW9A9Z3Xx+Wk/NGz1Y2K3j873oDc6IwK1E4g8v4MVR+ZNOciazJIBS7T2v9p/OMzJzHs0xN1SKUEQPAfn9Q== +"@react-pdf/renderer@3.3.7": + version "3.3.7" + resolved "https://registry.yarnpkg.com/@react-pdf/renderer/-/renderer-3.3.7.tgz#ef03fe038c5b59d6bc9a9480e7d985a7c038326b" + integrity sha512-nFeA4/jaXo7kQ3E5jWnIo3NUeyYxK2BvVgh08bqmua9smCjOLAnhn68CwyFIVyf7mDsntktKkH3J+dW2XLh0WQ== dependencies: "@babel/runtime" "^7.20.13" - "@react-pdf/font" "^2.3.3" - "@react-pdf/layout" "^3.5.0" - "@react-pdf/pdfkit" "^3.0.2" - "@react-pdf/primitives" "^3.0.0" - "@react-pdf/render" "^3.2.3" - "@react-pdf/types" "^2.3.0" + "@react-pdf/font" "^2.4.4" + "@react-pdf/layout" "^3.11.1" + "@react-pdf/pdfkit" "^3.1.5" + "@react-pdf/primitives" "^3.1.1" + "@react-pdf/render" "^3.4.3" + "@react-pdf/types" "^2.4.1" events "^3.3.0" - loose-envify "^1.1.0" object-assign "^4.1.1" prop-types "^15.6.2" queue "^6.0.1" scheduler "^0.17.0" -"@react-pdf/stylesheet@^4.1.7": - version "4.1.7" - resolved "https://registry.yarnpkg.com/@react-pdf/stylesheet/-/stylesheet-4.1.7.tgz#f0ac1396e70d356262de59aeb8efa17c7d9a2a0c" - integrity sha512-3n0Vg0XFszPyo0MpH75DkLRvsS4JOE0HzBH6XqFHDiquZDrC4mNgmMhZEbsOED+8xDGoCeVh8fLU3L6Tu0HWqg== +"@react-pdf/stylesheet@^4.2.4": + version "4.2.4" + resolved "https://registry.yarnpkg.com/@react-pdf/stylesheet/-/stylesheet-4.2.4.tgz#805ce12d49bc666bd34740e72850f95139f0de47" + integrity sha512-CgRfDzeMtnV0GL7zSn381NubmgwqKhFKcK1YrWX3azl/KWVh52jjFd3HWi6dvcETNT862mjWz5MnExe4WOBJXA== dependencies: "@babel/runtime" "^7.20.13" - "@react-pdf/fns" "2.0.1" - "@react-pdf/types" "^2.3.3" - color-string "^1.5.3" + "@react-pdf/fns" "2.2.1" + "@react-pdf/types" "^2.4.1" + color-string "^1.9.1" hsl-to-hex "^1.0.0" media-engine "^1.0.3" postcss-value-parser "^4.1.0" -"@react-pdf/textkit@^4.2.0": - version "4.2.0" - resolved "https://registry.yarnpkg.com/@react-pdf/textkit/-/textkit-4.2.0.tgz#bd8299708ddb7a9b154706aa2516dd3666230cf1" - integrity sha512-R90pEOW6NdhUx4p99iROvKmwB06IRYdXMhh0QcmUeoPOLe64ZdMfs3LZliNUWgI5fCmq71J+nv868i/EakFPDg== +"@react-pdf/textkit@^4.4.1": + version "4.4.1" + resolved "https://registry.yarnpkg.com/@react-pdf/textkit/-/textkit-4.4.1.tgz#b4e4181ea7d4269c54a1794d4022b55c5135f0e7" + integrity sha512-Jl9wdTqIvJ5pX+vAGz0EOhP7ut5Two9H6CzTKo/YYPeD79cM2yTXF3JzTERBC28y7LR0Waq9D2LHQjI+b/EYUQ== dependencies: "@babel/runtime" "^7.20.13" - "@react-pdf/fns" "2.0.1" + "@react-pdf/fns" "2.2.1" + bidi-js "^1.0.2" hyphen "^1.6.4" unicode-properties "^1.4.1" -"@react-pdf/types@^2.3.0", "@react-pdf/types@^2.3.3": - version "2.3.3" - resolved "https://registry.yarnpkg.com/@react-pdf/types/-/types-2.3.3.tgz#96a0d0514d74291bf1dbc7c75322025b3aa72bbb" - integrity sha512-I3BVu5vF0xxX6rvqZHt4gCjFAt6X+mak5bwYQyf6bm21IIMDXXBtgXqWEl1wosWizArox7fcN/XbEnysrf/8Dw== - -"@react-pdf/yoga@^4.1.2": - version "4.1.2" - resolved "https://registry.yarnpkg.com/@react-pdf/yoga/-/yoga-4.1.2.tgz#cc901f7384f0c1976d7ddeba5cc77e26d768ba77" - integrity sha512-OlMZkFrJDj4GyKZ70thiObwwPVZ52B7mlPyfzwa+sgwsioqHXg9nMWOO+7SQFNUbbOGagMUu0bCuTv+iXYZuaQ== - dependencies: - "@babel/runtime" "^7.20.13" +"@react-pdf/types@^2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@react-pdf/types/-/types-2.4.1.tgz#5a3b1edd86001d740563deb74852691cbe3126ba" + integrity sha512-w8pk7svhjVj5f7d7kjEGXSk26ffCqRSQcgWR4DwcFltNpSM18ZJmzmM6WrNeeP437y48LlykLnmGDA3oATakgw== "@rollup/plugin-babel@^5.2.0": version "5.3.1" @@ -7584,6 +7579,13 @@ bfj@^7.0.2: hoopy "^0.1.4" tryer "^1.0.1" +bidi-js@^1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/bidi-js/-/bidi-js-1.0.3.tgz#6f8bcf3c877c4d9220ddf49b9bb6930c88f877d2" + integrity sha512-RKshQI1R3YQ+n9YJz2QQ147P66ELpa1FQEg20Dk8oW9t2KgLbpDLLp9aGZ7y8WHSshDknG0bknqGw5/tyCs5tw== + dependencies: + require-from-string "^2.0.2" + big-integer@1.6.36: version "1.6.36" resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.36.tgz#78631076265d4ae3555c04f85e7d9d2f3a071a36" @@ -8609,7 +8611,7 @@ color-string@^0.3.0: dependencies: color-name "^1.0.0" -color-string@^1.5.3: +color-string@^1.9.1: version "1.9.1" resolved "https://registry.yarnpkg.com/color-string/-/color-string-1.9.1.tgz#4467f9146f036f855b764dfb5bf8582bf342c7a4" integrity sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg== @@ -9035,11 +9037,16 @@ crypto-hash@^1.3.0: resolved "https://registry.yarnpkg.com/crypto-hash/-/crypto-hash-1.3.0.tgz#b402cb08f4529e9f4f09346c3e275942f845e247" integrity sha512-lyAZ0EMyjDkVvz8WOeVnuCPvKVBXcMv1l5SVqO1yC7PzTwrD/pPje/BIRbWhMoPe436U+Y2nD7f5bFx0kt+Sbg== -crypto-js@^4.0.0, crypto-js@^4.1.1: +crypto-js@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-4.1.1.tgz#9e485bcf03521041bd85844786b83fb7619736cf" integrity sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw== +crypto-js@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-4.2.0.tgz#4d931639ecdfd12ff80e8186dba6af2c2e856631" + integrity sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q== + crypto-random-string@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-2.0.0.tgz#ef2a7a966ec11083388369baa02ebead229b30d5" @@ -10010,10 +10017,10 @@ emittery@^0.8.1: resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.8.1.tgz#bb23cc86d03b30aa75a7f734819dee2e1ba70860" integrity sha512-uDfvUjVrfGJJhymx/kz6prltenw1u7WrCg1oa94zYY8xxVpLLUu045LAT0dhDZdXG58/EpPL/5kA180fQ/qudg== -emoji-regex@^10.2.1: - version "10.2.1" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-10.2.1.tgz#a41c330d957191efd3d9dfe6e1e8e1e9ab048b3f" - integrity sha512-97g6QgOk8zlDRdgq1WxwgTMgEWGVAQvB5Fdpgc1MkNy56la5SKP9GsMXKDOdqwn90/41a8yPwIGk1Y6WVbeMQA== +emoji-regex@^10.3.0: + version "10.3.0" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-10.3.0.tgz#76998b9268409eb3dae3de989254d456e70cfe23" + integrity sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw== emoji-regex@^7.0.1: version "7.0.3" @@ -13296,6 +13303,13 @@ jake@^10.8.5: filelist "^1.0.4" minimatch "^3.1.2" +jay-peg@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/jay-peg/-/jay-peg-1.0.1.tgz#f09b8615886cb1ce61c364c16e203f566eeaa779" + integrity sha512-zBfjkGbuuNXk8JW+rEePpPEbRRjupS8q+5yPak7kjy3e2GvvNwsLle9okEFvfGyZA6HvtSSiYrVd1/jgnYebaQ== + dependencies: + restructure "^3.0.0" + jayson@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/jayson/-/jayson-4.1.0.tgz#60dc946a85197317f2b1439d672a8b0a99cea2f9" @@ -22949,6 +22963,11 @@ yocto-queue@^1.0.0: resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-1.0.0.tgz#7f816433fb2cbc511ec8bf7d263c3b58a1a3c251" integrity sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g== +yoga-layout@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/yoga-layout/-/yoga-layout-2.0.1.tgz#4bc686abe2464f977866650ddccc1dbcf9f0d03c" + integrity sha512-tT/oChyDXelLo2A+UVnlW9GU7CsvFMaEnd9kVFsaiCQonFAXd3xrHhkLYu+suwwosrAEQ746xBU+HvYtm1Zs2Q== + zen-observable-ts@^0.8.21: version "0.8.21" resolved "https://registry.yarnpkg.com/zen-observable-ts/-/zen-observable-ts-0.8.21.tgz#85d0031fbbde1eba3cd07d3ba90da241215f421d"