Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump pdfjs-dist from 2.2.228 to 2.9.359 #199

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/discovery-react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"htmlparser2": "^4.0.0",
"lodash": "^4.17.21",
"mustache": "^3.1.0",
"pdfjs-dist": "^2.2.228",
"pdfjs-dist": "^2.9.359",
"react-error-boundary": "^1.2.5",
"react-resize-detector": "^4.2.1",
"react-virtualized": "9.21.1"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React, { SFC, useEffect, useRef, useState } from 'react';
import PdfjsLib from 'pdfjs-dist';
import PdfjsWorkerAsText from 'pdfjs-dist/build/pdf.worker.min.js';
// TODO don't use legacy build
import PdfjsLib from 'pdfjs-dist/legacy/build/pdf';
import PdfjsWorkerAsText from 'pdfjs-dist/legacy/build/pdf.worker.min.js';
import { settings } from 'carbon-components';

setupPdfjs();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
declare module 'pdfjs-dist';
declare module 'pdfjs-dist/build/pdf.worker.min.js';
declare module 'pdfjs-dist/legacy/build/pdf.worker.min.js';
38 changes: 7 additions & 31 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1603,7 +1603,7 @@
"@hapi/hoek" "^9.0.0"

"@ibm-watson/discovery-react-components@file:packages/discovery-react-components":
version "1.4.0-beta.7"
version "1.4.0-beta.8"
dependencies:
classnames "^2.2.6"
debounce "^1.2.0"
Expand All @@ -1612,7 +1612,7 @@
htmlparser2 "^4.0.0"
lodash "^4.17.21"
mustache "^3.1.0"
pdfjs-dist "^2.2.228"
pdfjs-dist "^2.9.359"
react-error-boundary "^1.2.5"
react-resize-detector "^4.2.1"
react-virtualized "9.21.1"
Expand Down Expand Up @@ -12608,7 +12608,7 @@ [email protected], loader-utils@^2.0.0:
emojis-list "^3.0.0"
json5 "^2.1.2"

loader-utils@^1.0.0, loader-utils@^1.0.2, loader-utils@^1.1.0, loader-utils@^1.2.3, loader-utils@^1.4.0:
loader-utils@^1.0.2, loader-utils@^1.1.0, loader-utils@^1.2.3, loader-utils@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.0.tgz#c579b5e34cb34b1a74edc6c1fb36bfa371d5a613"
integrity sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==
Expand Down Expand Up @@ -13695,11 +13695,6 @@ node-dir@^0.1.10, node-dir@^0.1.17:
dependencies:
minimatch "^3.0.2"

node-ensure@^0.0.0:
version "0.0.0"
resolved "https://registry.yarnpkg.com/node-ensure/-/node-ensure-0.0.0.tgz#ecae764150de99861ec5c810fd5d096b183932a7"
integrity sha1-7K52QVDemYYexcgQ/V0Jaxg5Mqc=

node-fetch@^2.6.0, node-fetch@^2.6.1:
version "2.6.1"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052"
Expand Down Expand Up @@ -14767,13 +14762,10 @@ pbkdf2@^3.0.3:
safe-buffer "^5.0.1"
sha.js "^2.4.8"

pdfjs-dist@^2.2.228:
version "2.2.228"
resolved "https://registry.yarnpkg.com/pdfjs-dist/-/pdfjs-dist-2.2.228.tgz#777b068a0a16c96418433303807c183058b47aaa"
integrity sha512-W5LhYPMS2UKX0ELIa4u+CFCMoox5qQNQElt0bAK2mwz1V8jZL0rvLao+0tBujce84PK6PvWG36Nwr7agCCWFGQ==
dependencies:
node-ensure "^0.0.0"
worker-loader "^2.0.0"
pdfjs-dist@^2.9.359:
version "2.9.359"
resolved "https://registry.yarnpkg.com/pdfjs-dist/-/pdfjs-dist-2.9.359.tgz#e67bafebf20e50fc41f1a5c189155ad008ac4f81"
integrity sha512-P2nYtkacdlZaNNwrBLw1ZyMm0oE2yY/5S/GDCAmMJ7U4+ciL/D0mrlEC/o4HZZc/LNE3w8lEVzBEyVgEQlPVKQ==

pend@~1.2.0:
version "1.2.0"
Expand Down Expand Up @@ -17457,14 +17449,6 @@ scheduler@^0.19.1:
loose-envify "^1.1.0"
object-assign "^4.1.1"

schema-utils@^0.4.0:
version "0.4.7"
resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-0.4.7.tgz#ba74f597d2be2ea880131746ee17d0a093c68187"
integrity sha512-v/iwU6wvwGK8HbU9yi3/nhGzP0yGSuhQMzL6ySiec1FSrZZDkhm4noOSWzrNFo/jEc+SJY6jRTwuwbSXJPDUnQ==
dependencies:
ajv "^6.1.0"
ajv-keywords "^3.1.0"

schema-utils@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-1.0.0.tgz#0b79a93204d7b600d4b2850d1f66c2a34951c770"
Expand Down Expand Up @@ -20190,14 +20174,6 @@ worker-farm@^1.7.0:
dependencies:
errno "~0.1.7"

worker-loader@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/worker-loader/-/worker-loader-2.0.0.tgz#45fda3ef76aca815771a89107399ee4119b430ac"
integrity sha512-tnvNp4K3KQOpfRnD20m8xltE3eWh89Ye+5oj7wXEEHKac1P4oZ6p9oTj8/8ExqoSBnk9nu5Pr4nKfQ1hn2APJw==
dependencies:
loader-utils "^1.0.0"
schema-utils "^0.4.0"

worker-rpc@^0.1.0:
version "0.1.1"
resolved "https://registry.yarnpkg.com/worker-rpc/-/worker-rpc-0.1.1.tgz#cb565bd6d7071a8f16660686051e969ad32f54d5"
Expand Down