diff --git a/package.json b/package.json index 073731718..fde3e3b50 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "express": "4.17.1", "graphql": "15.7.2", "ng-katex": "2.0.3", - "ng2-pdf-viewer": "^7.0.1", + "ng2-pdf-viewer": "^10.0.0", "parse-color": "1.0.0", "rxjs": "6.6.7", "subsink": "1.0.2", diff --git a/yarn.lock b/yarn.lock index 45c3076bd..7a347c23e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5361,6 +5361,11 @@ domino@^2.1.2: resolved "https://registry.yarnpkg.com/domino/-/domino-2.1.6.tgz#fe4ace4310526e5e7b9d12c7de01b7f485a57ffe" integrity sha512-3VdM/SXBZX2omc9JF9nOPCtDaYQ67BGp5CoLpIQlO2KCAPETs8TcDHacF26jXadGbvUteZzRTeos2fhID5+ucQ== +dommatrix@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/dommatrix/-/dommatrix-1.0.3.tgz#e7c18e8d6f3abdd1fef3dd4aa74c4d2e620a0525" + integrity sha512-l32Xp/TLgWb8ReqbVJAFIvXmY7go4nTxxlWiAFyhoQw9RKEOHBZNnyGvJWqDVSPmq3Y9HlM4npqF/T6VMOXhww== + domutils@^2.8.0: version "2.8.0" resolved "https://registry.yarnpkg.com/domutils/-/domutils-2.8.0.tgz#4437def5db6e2d1f5d6ee859bd95ca7d02048135" @@ -9091,13 +9096,13 @@ ng-katex@2.0.3: katex "0.11.1" tslib "^1.9.0" -ng2-pdf-viewer@^7.0.1: - version "7.0.2" - resolved "https://registry.yarnpkg.com/ng2-pdf-viewer/-/ng2-pdf-viewer-7.0.2.tgz#101d43422ae2b1b1b8285faae71a0d9ec241d4b1" - integrity sha512-yAd8OddmPCnkERv3IWFyZ1GxkMx+n2fc8NQQtWCjQbhr1sKjrP0TQH41AmgudSzTtvWJw9z784V+TKIaWA0eKw== +ng2-pdf-viewer@^10.0.0: + version "10.0.0" + resolved "https://registry.yarnpkg.com/ng2-pdf-viewer/-/ng2-pdf-viewer-10.0.0.tgz#7f999ea3f6977f2639b531b04ae42a083e61226e" + integrity sha512-zEefcAsTpDoxFceQYs3ycPMaUAkt5UX4OcTstVQoNqRK6w+vOY+V8z8aFCuBwnt+7iN1EHaIpquOf4S9mWc04g== dependencies: - pdfjs-dist "~2.11.338" - tslib "^2.0.0" + pdfjs-dist "~2.16.105" + tslib "^2.3.0" nice-napi@^1.0.2: version "1.0.2" @@ -9734,10 +9739,13 @@ path-type@^4.0.0: resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== -pdfjs-dist@~2.11.338: - version "2.11.338" - resolved "https://registry.yarnpkg.com/pdfjs-dist/-/pdfjs-dist-2.11.338.tgz#6aafe34b0eb399d358bf899f52838905ddf3b1a5" - integrity sha512-Ti5VTB0VvSdtTtc7TG71ghMx0SEuNcEs4ghVuZxW0p6OqLjMc0xekZV1B+MmlxEG2Du2e5jgazucWIG/SXTcdA== +pdfjs-dist@~2.16.105: + version "2.16.105" + resolved "https://registry.yarnpkg.com/pdfjs-dist/-/pdfjs-dist-2.16.105.tgz#937b9c4a918f03f3979c88209d84c1ce90122c2a" + integrity sha512-J4dn41spsAwUxCpEoVf6GVoz908IAA3mYiLmNxg8J9kfRXc2jxpbUepcP0ocp0alVNLFthTAM8DZ1RaHh8sU0A== + dependencies: + dommatrix "^1.0.3" + web-streams-polyfill "^3.2.1" performance-now@^2.1.0: version "2.1.0" @@ -12289,6 +12297,11 @@ wcwidth@^1.0.1: dependencies: defaults "^1.0.3" +web-streams-polyfill@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz#71c2718c52b45fd49dbeee88634b3a60ceab42a6" + integrity sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q== + webdriver-js-extender@2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/webdriver-js-extender/-/webdriver-js-extender-2.1.0.tgz#57d7a93c00db4cc8d556e4d3db4b5db0a80c3bb7"