diff --git a/package.json b/package.json index d1020331969a2..0c58a2a8a13b2 100644 --- a/package.json +++ b/package.json @@ -252,7 +252,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.0.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 f32b468d07fab..0354ff37fe2dc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -26790,7 +26790,7 @@ __metadata: languageName: node linkType: hard -"dequal@npm:2.0.3, dequal@npm:^2.0.0, dequal@npm:^2.0.2": +"dequal@npm:2.0.3, dequal@npm:^2.0.0, dequal@npm:^2.0.2, dequal@npm:^2.0.3": version: 2.0.3 resolution: "dequal@npm:2.0.3" checksum: 8679b850e1a3d0ebbc46ee780d5df7b478c23f335887464023a631d1b9af051ad4a6595a44220f9ff8ff95a8ddccf019b5ad778a976fd7bbf77383d36f412f90 @@ -34452,7 +34452,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.0.0 react-popper: 2.3.0 react-remove-scroll: 2.5.6 react-router-dom: 6.11.2 @@ -38354,12 +38354,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 @@ -42205,10 +42208,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.0 + resolution: "path2d@npm:0.2.0" + checksum: caa6cf19437748e26a801bfcaa9ddd43a33c04695906806cb33d42bdd36cb8210a7241f081d3b6da16da9bd708896b2d419a31b32f4a46df754313bdfc25d869 languageName: node linkType: hard @@ -42261,18 +42264,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.3.136": + version: 4.3.136 + resolution: "pdfjs-dist@npm:4.3.136" 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: 3f2a528cc004ae207cfe021edd132de88fc4bcb0ed2d94e88a2df4db30f903364e5beddfabfa308d1100d338378bd6b10d2580d239aadeed6653d94ccfe59772 languageName: node linkType: hard @@ -44789,26 +44792,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.0.0": + version: 9.0.0 + resolution: "react-pdf@npm:9.0.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.3.136 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: 15542817a0237718af0c2e7e7c972c473e5c15bb8c276e560c22064c3dedf68afc08fd2b8c673050cd0951bc3402d2fe8853f6d479f2077c43c7a333023dba5c languageName: node linkType: hard @@ -49877,7 +49880,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 @@ -52010,7 +52013,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: