diff --git a/.yarn/cache/@esbuild-linux-x64-npm-0.16.17-05d9fa63ae-8.zip b/.yarn/cache/@esbuild-linux-x64-npm-0.16.17-05d9fa63ae-8.zip new file mode 100644 index 0000000..adba3fc Binary files /dev/null and b/.yarn/cache/@esbuild-linux-x64-npm-0.16.17-05d9fa63ae-8.zip differ diff --git a/.yarn/cache/@mapbox-node-pre-gyp-npm-1.0.11-5547f15a2b-b848f6abc5.zip b/.yarn/cache/@mapbox-node-pre-gyp-npm-1.0.11-5547f15a2b-b848f6abc5.zip new file mode 100644 index 0000000..4612ca6 Binary files /dev/null and b/.yarn/cache/@mapbox-node-pre-gyp-npm-1.0.11-5547f15a2b-b848f6abc5.zip differ diff --git a/.yarn/cache/@swc-core-linux-x64-gnu-npm-1.3.100-d30180f514-8.zip b/.yarn/cache/@swc-core-linux-x64-gnu-npm-1.3.100-d30180f514-8.zip new file mode 100644 index 0000000..6221ceb Binary files /dev/null and b/.yarn/cache/@swc-core-linux-x64-gnu-npm-1.3.100-d30180f514-8.zip differ diff --git a/.yarn/cache/canvas-npm-2.11.2-824d893a31-61e554aef8.zip b/.yarn/cache/canvas-npm-2.11.2-824d893a31-61e554aef8.zip new file mode 100644 index 0000000..29f29f3 Binary files /dev/null and b/.yarn/cache/canvas-npm-2.11.2-824d893a31-61e554aef8.zip differ diff --git a/.yarn/cache/decompress-response-npm-4.2.1-abe5b4ebe4-4e783ca4df.zip b/.yarn/cache/decompress-response-npm-4.2.1-abe5b4ebe4-4e783ca4df.zip new file mode 100644 index 0000000..d9f9f70 Binary files /dev/null and b/.yarn/cache/decompress-response-npm-4.2.1-abe5b4ebe4-4e783ca4df.zip differ diff --git a/.yarn/cache/make-cancellable-promise-npm-1.3.2-6612d27c4e-d4dcad8211.zip b/.yarn/cache/make-cancellable-promise-npm-1.3.2-6612d27c4e-d4dcad8211.zip new file mode 100644 index 0000000..f2ff308 Binary files /dev/null and b/.yarn/cache/make-cancellable-promise-npm-1.3.2-6612d27c4e-d4dcad8211.zip differ diff --git a/.yarn/cache/make-event-props-npm-1.6.2-89d60d5202-ded823d8b7.zip b/.yarn/cache/make-event-props-npm-1.6.2-89d60d5202-ded823d8b7.zip new file mode 100644 index 0000000..4ad173f Binary files /dev/null and b/.yarn/cache/make-event-props-npm-1.6.2-89d60d5202-ded823d8b7.zip differ diff --git a/.yarn/cache/merge-refs-npm-1.3.0-3b965c4c45-8400f716a7.zip b/.yarn/cache/merge-refs-npm-1.3.0-3b965c4c45-8400f716a7.zip new file mode 100644 index 0000000..3d6a23b Binary files /dev/null and b/.yarn/cache/merge-refs-npm-1.3.0-3b965c4c45-8400f716a7.zip differ diff --git a/.yarn/cache/mimic-response-npm-2.1.0-037463e454-014fad6ab9.zip b/.yarn/cache/mimic-response-npm-2.1.0-037463e454-014fad6ab9.zip new file mode 100644 index 0000000..39add20 Binary files /dev/null and b/.yarn/cache/mimic-response-npm-2.1.0-037463e454-014fad6ab9.zip differ diff --git a/.yarn/cache/nan-npm-2.19.0-2f5da4a528-29a894a003.zip b/.yarn/cache/nan-npm-2.19.0-2f5da4a528-29a894a003.zip new file mode 100644 index 0000000..9ccf080 Binary files /dev/null and b/.yarn/cache/nan-npm-2.19.0-2f5da4a528-29a894a003.zip differ diff --git a/.yarn/cache/path2d-polyfill-npm-2.0.1-cca87dc638-e38a4f920b.zip b/.yarn/cache/path2d-polyfill-npm-2.0.1-cca87dc638-e38a4f920b.zip new file mode 100644 index 0000000..b05cb5d Binary files /dev/null and b/.yarn/cache/path2d-polyfill-npm-2.0.1-cca87dc638-e38a4f920b.zip differ diff --git a/.yarn/cache/pdfjs-dist-npm-3.11.174-67f2fee6d6-62f5a64ca0.zip b/.yarn/cache/pdfjs-dist-npm-3.11.174-67f2fee6d6-62f5a64ca0.zip new file mode 100644 index 0000000..59ebc70 Binary files /dev/null and b/.yarn/cache/pdfjs-dist-npm-3.11.174-67f2fee6d6-62f5a64ca0.zip differ diff --git a/.yarn/cache/react-pdf-npm-7.7.3-be38c89bbe-c8fba8ca54.zip b/.yarn/cache/react-pdf-npm-7.7.3-be38c89bbe-c8fba8ca54.zip new file mode 100644 index 0000000..e47d507 Binary files /dev/null and b/.yarn/cache/react-pdf-npm-7.7.3-be38c89bbe-c8fba8ca54.zip differ diff --git a/.yarn/cache/simple-get-npm-3.1.1-dce5923dba-80195e70bf.zip b/.yarn/cache/simple-get-npm-3.1.1-dce5923dba-80195e70bf.zip new file mode 100644 index 0000000..27c4575 Binary files /dev/null and b/.yarn/cache/simple-get-npm-3.1.1-dce5923dba-80195e70bf.zip differ diff --git a/package.json b/package.json index 6b564de..c2947a3 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ "jest": "^28.1.1", "onchange": "^7.1.0", "prettier": "^2.*", - "react-pdf": "^5.7.2", + "react-pdf": "^7.7.3", "skiff-front-utils": "workspace:libs/skiff-front-utils", "skiff-ics": "workspace:libs/skiff-ics", "skiff-utils": "workspace:libs/skiff-utils", diff --git a/skemail-web/package.json b/skemail-web/package.json index da0a7ba..77628ed 100644 --- a/skemail-web/package.json +++ b/skemail-web/package.json @@ -126,7 +126,7 @@ "react-hotkeys": "^2.0.0", "react-image-crop": "^10.0.4", "react-joyride": "^2.5.5", - "react-pdf": "^5.7.2", + "react-pdf": "^7.7.3", "react-redux": "^7.2.7", "react-resize-detector": "^7.0.0", "react-router-dom": "^5.1.2", diff --git a/yarn.lock b/yarn.lock index 56be1cf..664935f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8467,6 +8467,25 @@ __metadata: languageName: node linkType: hard +"@mapbox/node-pre-gyp@npm:^1.0.0": + version: 1.0.11 + resolution: "@mapbox/node-pre-gyp@npm:1.0.11" + dependencies: + detect-libc: ^2.0.0 + https-proxy-agent: ^5.0.0 + make-dir: ^3.1.0 + node-fetch: ^2.6.7 + nopt: ^5.0.0 + npmlog: ^5.0.1 + rimraf: ^3.0.2 + semver: ^7.3.5 + tar: ^6.1.11 + bin: + node-pre-gyp: bin/node-pre-gyp + checksum: b848f6abc531a11961d780db813cc510ca5a5b6bf3184d72134089c6875a91c44d571ba6c1879470020803f7803609e7b2e6e429651c026fe202facd11d444b8 + languageName: node + linkType: hard + "@mapbox/node-pre-gyp@npm:^1.0.5": version: 1.0.10 resolution: "@mapbox/node-pre-gyp@npm:1.0.10" @@ -15858,6 +15877,18 @@ __metadata: languageName: node linkType: hard +"canvas@npm:^2.11.2": + version: 2.11.2 + resolution: "canvas@npm:2.11.2" + dependencies: + "@mapbox/node-pre-gyp": ^1.0.0 + nan: ^2.17.0 + node-gyp: latest + simple-get: ^3.0.3 + checksum: 61e554aef80022841dc836964534082ec21435928498032562089dfb7736215f039c7d99ee546b0cf10780232d9bf310950f8b4d489dc394e0fb6f6adfc97994 + languageName: node + linkType: hard + "canvg@npm:^3.0.6": version: 3.0.10 resolution: "canvg@npm:3.0.10" @@ -17495,6 +17526,15 @@ __metadata: languageName: node linkType: hard +"decompress-response@npm:^4.2.0": + version: 4.2.1 + resolution: "decompress-response@npm:4.2.1" + dependencies: + mimic-response: ^2.0.0 + checksum: 4e783ca4dfe9417354d61349750fe05236f565a4415a6ca20983a311be2371debaedd9104c0b0e7b36e5f167aeaae04f84f1a0b3f8be4162f1d7d15598b8fdba + languageName: node + linkType: hard + "decompress-response@npm:^6.0.0": version: 6.0.0 resolution: "decompress-response@npm:6.0.0" @@ -25789,6 +25829,13 @@ __metadata: languageName: node linkType: hard +"make-cancellable-promise@npm:^1.3.1": + version: 1.3.2 + resolution: "make-cancellable-promise@npm:1.3.2" + checksum: d4dcad8211272a4d6ef979747a3d7085cdefb92cf50e096ab6a3ea8295e7578b82edaac261c7c4e3d656eadfac285f05b98856b3cf1fd14390ec2708328a9b35 + languageName: node + linkType: hard + "make-dir@npm:^2.0.0, make-dir@npm:^2.1.0": version: 2.1.0 resolution: "make-dir@npm:2.1.0" @@ -25822,6 +25869,13 @@ __metadata: languageName: node linkType: hard +"make-event-props@npm:^1.6.0": + version: 1.6.2 + resolution: "make-event-props@npm:1.6.2" + checksum: ded823d8b73926d94513416c75585be2cea9d9408b085eed31c20a1005147661a50852f869e1779990ddd04c8e07e1f24c766453cc9b4870bcef8d79c533a5fc + languageName: node + linkType: hard + "make-fetch-happen@npm:^11.0.3": version: 11.1.1 resolution: "make-fetch-happen@npm:11.1.1" @@ -25996,6 +26050,18 @@ __metadata: languageName: node linkType: hard +"merge-refs@npm:^1.2.1": + 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 + "merge-stream@npm:^2.0.0": version: 2.0.0 resolution: "merge-stream@npm:2.0.0" @@ -26120,6 +26186,13 @@ __metadata: languageName: node linkType: hard +"mimic-response@npm:^2.0.0": + version: 2.1.0 + resolution: "mimic-response@npm:2.1.0" + checksum: 014fad6ab936657e5f2f48bd87af62a8e928ebe84472aaf9e14fec4fcb31257a5edff77324d8ac13ddc6685ba5135cf16e381efac324e5f174fb4ddbf902bf07 + languageName: node + linkType: hard + "mimic-response@npm:^3.1.0": version: 3.1.0 resolution: "mimic-response@npm:3.1.0" @@ -26450,6 +26523,15 @@ __metadata: languageName: node linkType: hard +"nan@npm:^2.17.0": + version: 2.19.0 + resolution: "nan@npm:2.19.0" + dependencies: + node-gyp: latest + checksum: 29a894a003c1954c250d690768c30e69cd91017e2e5eb21b294380f7cace425559508f5ffe3e329a751307140b0bd02f83af040740fa4def1a3869be6af39600 + languageName: node + linkType: hard + "nanoclone@npm:^0.2.1": version: 0.2.1 resolution: "nanoclone@npm:0.2.1" @@ -27644,6 +27726,13 @@ __metadata: languageName: node linkType: hard +"path2d-polyfill@npm:^2.0.1": + version: 2.0.1 + resolution: "path2d-polyfill@npm:2.0.1" + checksum: e38a4f920be3550e8334b899cc56f4fca0a976ca69404ee10d656a45d422996b7e27e294e2cf0aac2e410ce59d6977cde9f95586e62a24e6c904716695e059f8 + languageName: node + linkType: hard + "pbkdf2@npm:^3.0.17, pbkdf2@npm:^3.0.3, pbkdf2@npm:^3.1.1": version: 3.1.2 resolution: "pbkdf2@npm:3.1.2" @@ -27669,6 +27758,21 @@ __metadata: languageName: node linkType: hard +"pdfjs-dist@npm:3.11.174": + version: 3.11.174 + resolution: "pdfjs-dist@npm:3.11.174" + dependencies: + canvas: ^2.11.2 + path2d-polyfill: ^2.0.1 + dependenciesMeta: + canvas: + optional: true + path2d-polyfill: + optional: true + checksum: 62f5a64ca0b2dbc855701ebf9a65c3e48c3c9aa5d64c50eb42bb9ff50a326f3eddab7f2a134ef0398398b1ccff9d842935b9f31358c9103bdc71406632d1a7fa + languageName: node + linkType: hard + "pdfjs-dist@npm:^2.10.377": version: 2.16.105 resolution: "pdfjs-dist@npm:2.16.105" @@ -29478,6 +29582,30 @@ __metadata: languageName: node linkType: hard +"react-pdf@npm:^7.7.3": + version: 7.7.3 + resolution: "react-pdf@npm:7.7.3" + 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 + tiny-invariant: ^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 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: c8fba8ca542275ec7f284fd43b2dc0bca01fe20fa9d1684ff8b95ea1ba2537f3b2bb48ddd43aa68b6972857ce3a309e2ccf63790c8d3541135d3f186fc9ea335 + languageName: node + linkType: hard + "react-proptype-conditional-require@npm:^1.0.4": version: 1.0.4 resolution: "react-proptype-conditional-require@npm:1.0.4" @@ -30617,7 +30745,7 @@ __metadata: react-dom: 17.0.2 react-hotkeys: ^2.0.0 react-is: 17.0.2 - react-pdf: ^5.7.2 + react-pdf: ^7.7.3 react-redux: ^7.2.7 react-resize-detector: ^7.0.0 react-simple-pull-to-refresh: ^1.3.0 @@ -31370,6 +31498,17 @@ __metadata: languageName: node linkType: hard +"simple-get@npm:^3.0.3": + version: 3.1.1 + resolution: "simple-get@npm:3.1.1" + dependencies: + decompress-response: ^4.2.0 + once: ^1.3.1 + simple-concat: ^1.0.0 + checksum: 80195e70bf171486e75c31e28e5485468195cc42f85940f8b45c4a68472160144d223eb4d07bc82ef80cb974b7c401db021a540deb2d34ac4b3b8883da2d6401 + languageName: node + linkType: hard + "simple-get@npm:^4.0.0, simple-get@npm:^4.0.1": version: 4.0.1 resolution: "simple-get@npm:4.0.1" @@ -31614,7 +31753,7 @@ __metadata: react-hotkeys: ^2.0.0 react-image-crop: ^10.0.4 react-joyride: ^2.5.5 - react-pdf: ^5.7.2 + react-pdf: ^7.7.3 react-redux: ^7.2.7 react-refresh: ^0.14.0 react-resize-detector: ^7.0.0