Skip to content

Commit

Permalink
Updating readme, releasing 6.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecousins committed Sep 16, 2022
1 parent da605a3 commit b3c1f61
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ https://pdf.netlify.com

# Usage

Install with `yarn add @mikecousins/react-pdf` or `npm install @mikecousins/react-pdf`
Install with `yarn add @mikecousins/react-pdf pdfjs-dist` or `npm install @mikecousins/react-pdf pdfjs-dist`

## `usePdf` hook

Expand Down
3 changes: 2 additions & 1 deletion packages/react-pdf-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mikecousins/react-pdf",
"version": "6.0.0-alpha.1",
"version": "6.1.0",
"description": "Simple React component to wrap up PDF.js. The easiest way to render PDFs in your React app.",
"author": "mikecousins",
"license": "MIT",
Expand Down Expand Up @@ -43,6 +43,7 @@
"@types/react-dom": "18.0.6",
"@vitejs/plugin-react": "2.1.0",
"jest-canvas-mock": "2.4.0",
"pdfjs-dist": "2.16.105",
"tslib": "2.4.0",
"tsup": "6.2.3",
"typescript": "4.8.3"
Expand Down
30 changes: 30 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,7 @@ __metadata:
"@types/react-dom": 18.0.6
"@vitejs/plugin-react": 2.1.0
jest-canvas-mock: 2.4.0
pdfjs-dist: 2.16.105
tslib: 2.4.0
tsup: 6.2.3
typescript: 4.8.3
Expand Down Expand Up @@ -1194,6 +1195,13 @@ __metadata:
languageName: node
linkType: hard

"dommatrix@npm:^1.0.3":
version: 1.0.3
resolution: "dommatrix@npm:1.0.3"
checksum: 8ac727c1a14cf8de30a5b49a3bd6b2622a661b391fe1ac54e855eaa14a857ed86d63492150b5f70f912acc24fa3acc31d750259c47e9b5801de237624b0a319f
languageName: node
linkType: hard

"electron-to-chromium@npm:^1.4.251":
version: 1.4.253
resolution: "electron-to-chromium@npm:1.4.253"
Expand Down Expand Up @@ -2611,6 +2619,21 @@ __metadata:
languageName: node
linkType: hard

"pdfjs-dist@npm:2.16.105":
version: 2.16.105
resolution: "pdfjs-dist@npm:2.16.105"
dependencies:
dommatrix: ^1.0.3
web-streams-polyfill: ^3.2.1
peerDependencies:
worker-loader: ^3.0.8
peerDependenciesMeta:
worker-loader:
optional: true
checksum: 16ad2fa0ff8404fefd1a3e83f92ef1a594fcc4d3ff65512f801365c8f06d300d4a38023a867994f0b964a8e146773e6dcc9988c7c1a791917eb6371d5bd72863
languageName: node
linkType: hard

"picocolors@npm:^1.0.0":
version: 1.0.0
resolution: "picocolors@npm:1.0.0"
Expand Down Expand Up @@ -3489,6 +3512,13 @@ __metadata:
languageName: node
linkType: hard

"web-streams-polyfill@npm:^3.2.1":
version: 3.2.1
resolution: "web-streams-polyfill@npm:3.2.1"
checksum: b119c78574b6d65935e35098c2afdcd752b84268e18746606af149e3c424e15621b6f1ff0b42b2676dc012fc4f0d313f964b41a4b5031e525faa03997457da02
languageName: node
linkType: hard

"webidl-conversions@npm:^4.0.2":
version: 4.0.2
resolution: "webidl-conversions@npm:4.0.2"
Expand Down

0 comments on commit b3c1f61

Please sign in to comment.