Skip to content

Commit

Permalink
Update pdfjs-dist to 2.5.207 (#687)
Browse files Browse the repository at this point in the history
* Update pdfjs-dist to 2.5.207

Closes #686

* v5.1.0-beta
  • Loading branch information
wojtekmaj authored Nov 26, 2020
1 parent a3a4932 commit eec72c5
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-pdf",
"version": "5.0.0",
"version": "5.1.0-beta",
"description": "Display PDFs in your React app as easily as if they were images.",
"main": "dist/umd/entry.js",
"module": "dist/esm/entry.js",
Expand Down Expand Up @@ -89,7 +89,7 @@
"make-event-props": "^1.1.0",
"merge-class-names": "^1.1.1",
"merge-refs": "^1.0.0",
"pdfjs-dist": "2.4.456",
"pdfjs-dist": "2.5.207",
"prop-types": "^15.6.2",
"worker-loader": "^3.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Document.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import PropTypes from 'prop-types';
import makeEventProps from 'make-event-props';
import makeCancellable from 'make-cancellable-promise';
import mergeClassNames from 'merge-class-names';
import pdfjs from 'pdfjs-dist';
import * as pdfjs from 'pdfjs-dist';

import DocumentContext from './DocumentContext';

Expand Down
2 changes: 1 addition & 1 deletion src/Page/AnnotationLayer.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
import pdfjs from 'pdfjs-dist';
import * as pdfjs from 'pdfjs-dist';
import makeCancellable from 'make-cancellable-promise';

import DocumentContext from '../DocumentContext';
Expand Down
2 changes: 1 addition & 1 deletion src/Page/PageSVG.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
import pdfjs from 'pdfjs-dist';
import * as pdfjs from 'pdfjs-dist';

import PageContext from '../PageContext';

Expand Down
2 changes: 1 addition & 1 deletion src/entry.jest.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import pdfjs from 'pdfjs-dist/es5/build/pdf';
import * as pdfjs from 'pdfjs-dist/es5/build/pdf';
import Document from './Document';
import Outline from './Outline';
import Page from './Page';
Expand Down
2 changes: 1 addition & 1 deletion src/entry.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import pdfjs from 'pdfjs-dist';
import * as pdfjs from 'pdfjs-dist';
import Document from './Document';
import Outline from './Outline';
import Page from './Page';
Expand Down
2 changes: 1 addition & 1 deletion src/entry.parcel.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import pdfjs from 'pdfjs-dist';
import * as pdfjs from 'pdfjs-dist';
import Document from './Document';
import Outline from './Outline';
import Page from './Page';
Expand Down
2 changes: 1 addition & 1 deletion src/entry.webpack.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import pdfjs from 'pdfjs-dist';
import * as pdfjs from 'pdfjs-dist';
import Document from './Document';
import Outline from './Outline';
import Page from './Page';
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6755,10 +6755,10 @@ fsevents@^2.1.2:
languageName: node
linkType: hard

"pdfjs-dist@npm:2.4.456":
version: 2.4.456
resolution: "pdfjs-dist@npm:2.4.456"
checksum: 3d90379d6503127d5b969d16a23cb1928cd58e01752efa065c1b530fd9981f4ec9a4239e37fff7690315ff8d4335994f3e292206ac1d537cdf3e5b0f6ddcd27d
"pdfjs-dist@npm:2.5.207":
version: 2.5.207
resolution: "pdfjs-dist@npm:2.5.207"
checksum: b1a1536d46507493316cdb1f90e103f95a1538353c592c5b31a70bff39d4a10ee731541705d95aa36b7293ffca8af2203af2a86af1761fae75b65b1be196c147
languageName: node
linkType: hard

Expand Down Expand Up @@ -7032,7 +7032,7 @@ fsevents@^2.1.2:
make-event-props: ^1.1.0
merge-class-names: ^1.1.1
merge-refs: ^1.0.0
pdfjs-dist: 2.4.456
pdfjs-dist: 2.5.207
prop-types: ^15.6.2
react: ^16.7.0
react-dom: ^16.7.0
Expand Down

0 comments on commit eec72c5

Please sign in to comment.