diff --git a/package.json b/package.json index 4ea5c33f4d40..317193865ffc 100644 --- a/package.json +++ b/package.json @@ -258,7 +258,7 @@ "react-keyed-flatten-children": "1.2.0", "react-modal": "3.15.1", "react-number-format": "4.9.1", - "react-pdf": "7.5.0", + "react-pdf": "9.1.0", "react-popper": "2.3.0", "react-remove-scroll": "2.5.6", "react-router-dom": "6.11.2", diff --git a/yarn.lock b/yarn.lock index 0825859b52f8..39d3b7e040a7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -37136,7 +37136,7 @@ __metadata: react-keyed-flatten-children: 1.2.0 react-modal: 3.15.1 react-number-format: 4.9.1 - react-pdf: 7.5.0 + react-pdf: 9.1.0 react-popper: 2.3.0 react-remove-scroll: 2.5.6 react-router-dom: 6.11.2 @@ -41132,12 +41132,15 @@ __metadata: languageName: node linkType: hard -"merge-refs@npm:^1.2.1": - version: 1.2.1 - resolution: "merge-refs@npm:1.2.1" - dependencies: - "@types/react": "*" - checksum: 22b1177105b112f34753eb6b899a9c1f7ad06f47c06b16173d16ba3f183f37c557a2f837fea69d3997e0f8c0643d942f3068138993790c800601bae62acde070 +"merge-refs@npm:^1.3.0": + version: 1.3.0 + resolution: "merge-refs@npm:1.3.0" + peerDependencies: + "@types/react": ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: 8400f716a77857dac6b5d49cd5ef69cec7bff6c5555785c5e91a5142fbb5f3e6fe81282bc5be1f01c0c0843ed29f5b4169bfa9838ec69c459b4538f3fef3e79c languageName: node linkType: hard @@ -44708,10 +44711,10 @@ __metadata: languageName: node linkType: hard -"path2d-polyfill@npm:^2.0.1": - version: 2.0.1 - resolution: "path2d-polyfill@npm:2.0.1" - checksum: e38a4f920be3550e8334b899cc56f4fca0a976ca69404ee10d656a45d422996b7e27e294e2cf0aac2e410ce59d6977cde9f95586e62a24e6c904716695e059f8 +"path2d@npm:^0.2.0": + version: 0.2.1 + resolution: "path2d@npm:0.2.1" + checksum: d9e8feca8b67de5ae87d784c06841d1c65e6b244ee04fec94cd01749fa1607df2e00e7ae99e543a5d2db07840d47d98fc85a5f2456797cf1407e1a4b9490d141 languageName: node linkType: hard @@ -44764,18 +44767,18 @@ __metadata: languageName: node linkType: hard -"pdfjs-dist@npm:3.11.174": - version: 3.11.174 - resolution: "pdfjs-dist@npm:3.11.174" +"pdfjs-dist@npm:4.4.168": + version: 4.4.168 + resolution: "pdfjs-dist@npm:4.4.168" dependencies: canvas: ^2.11.2 - path2d-polyfill: ^2.0.1 + path2d: ^0.2.0 dependenciesMeta: canvas: optional: true - path2d-polyfill: + path2d: optional: true - checksum: 62f5a64ca0b2dbc855701ebf9a65c3e48c3c9aa5d64c50eb42bb9ff50a326f3eddab7f2a134ef0398398b1ccff9d842935b9f31358c9103bdc71406632d1a7fa + checksum: 96ff90da5b1aca99cfe3c706434f2215ee5405ccd680f1f40c9b97760c39a6d7865911f67a3130301f845c924ebda110da4fa90fd613c999438df408c347505c languageName: node linkType: hard @@ -47372,26 +47375,26 @@ __metadata: languageName: node linkType: hard -"react-pdf@npm:7.5.0": - version: 7.5.0 - resolution: "react-pdf@npm:7.5.0" +"react-pdf@npm:9.1.0": + version: 9.1.0 + resolution: "react-pdf@npm:9.1.0" dependencies: clsx: ^2.0.0 + dequal: ^2.0.3 make-cancellable-promise: ^1.3.1 make-event-props: ^1.6.0 - merge-refs: ^1.2.1 - pdfjs-dist: 3.11.174 - prop-types: ^15.6.2 + merge-refs: ^1.3.0 + pdfjs-dist: 4.4.168 tiny-invariant: ^1.0.0 - tiny-warning: ^1.0.0 + warning: ^4.0.0 peerDependencies: - "@types/react": ^16.8.0 || ^17.0.0 || ^18.0.0 - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + "@types/react": ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 peerDependenciesMeta: "@types/react": optional: true - checksum: 53d6ebe47f4562409c47ff99bc133b83abe6d12d0c63266e4f1b9e7bf630cdca7da5b0a7545f40ec0dd207d0d3944b94ef5d7863bffd9cb8a4162e734367ff42 + checksum: 7859cb65e1786f3c5f72f2f322eb12273e69f74702e745d7bb378e3bf9e345f225591b4fd34fcd82854e29a5f88cf2fc5dcf474c1ca364c9c0a17aa95bcf1874 languageName: node linkType: hard @@ -52516,7 +52519,7 @@ __metadata: languageName: node linkType: hard -"tiny-warning@npm:^1.0.0, tiny-warning@npm:^1.0.2, tiny-warning@npm:^1.0.3": +"tiny-warning@npm:^1.0.2, tiny-warning@npm:^1.0.3": version: 1.0.3 resolution: "tiny-warning@npm:1.0.3" checksum: da62c4acac565902f0624b123eed6dd3509bc9a8d30c06e017104bedcf5d35810da8ff72864400ad19c5c7806fc0a8323c68baf3e326af7cb7d969f846100d71 @@ -54660,7 +54663,7 @@ __metadata: languageName: node linkType: hard -"warning@npm:^4.0.2, warning@npm:^4.0.3": +"warning@npm:^4.0.0, warning@npm:^4.0.2, warning@npm:^4.0.3": version: 4.0.3 resolution: "warning@npm:4.0.3" dependencies: