Compare commits
9 Commits
Author | SHA1 | Date |
---|---|---|
![]() |
2079bdc8b4 | |
![]() |
c01f8c6a06 | |
![]() |
aa454b058d | |
![]() |
14ba80fed5 | |
![]() |
bd833cd530 | |
![]() |
3a444d289b | |
![]() |
89b674c513 | |
![]() |
57d7ba6ce3 | |
![]() |
d69a91111c |
13
CHANGELOG.md
13
CHANGELOG.md
|
@ -1,3 +1,16 @@
|
|||
#### 0.1.15 (2024-07-31)
|
||||
|
||||
#### 0.1.14 (2024-07-31)
|
||||
|
||||
##### Bug Fixes
|
||||
|
||||
* readded missing library ([bd833cd5](https://github.com/Alcumus/react-doc-viewer/commit/bd833cd53083a634f3aa685608b733119cb87f92))
|
||||
* possible fix for cjs support ([d69a9111](https://github.com/Alcumus/react-doc-viewer/commit/d69a91111cd65abf8865a9beabeda1b292e3fc0c))
|
||||
|
||||
##### Other Changes
|
||||
|
||||
* possible fix for cjs support" ([89b674c5](https://github.com/Alcumus/react-doc-viewer/commit/89b674c513a8733d2fe30adf893b2879dfa26a23))
|
||||
|
||||
#### 0.1.13 (2024-06-21)
|
||||
|
||||
#### 0.1.12 (2024-06-21)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "react-doc-viewer",
|
||||
"version": "0.1.13",
|
||||
"version": "0.1.14",
|
||||
"description": "Document viewer for react. Renders online/local documents.",
|
||||
"author": "Matthew Mogford",
|
||||
"license": "ISC",
|
||||
|
@ -10,6 +10,7 @@
|
|||
"main": "build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
"dependencies": {
|
||||
"pdfjs-dist": "^4.5.136",
|
||||
"react-pdf": "9.0.0",
|
||||
"styled-components": "^5.3.11",
|
||||
"wl-msg-reader": "^0.2.0"
|
||||
|
@ -18,6 +19,8 @@
|
|||
"@testing-library/jest-dom": "^4.2.4",
|
||||
"@testing-library/react": "^9.3.2",
|
||||
"@testing-library/user-event": "^7.1.2",
|
||||
"@types/babel__core": "7.1.19",
|
||||
"@types/babel__traverse": "7.17.1",
|
||||
"@types/jest": "^24.0.0",
|
||||
"@types/node": "^12.0.0",
|
||||
"@types/react": "^16.9.46",
|
||||
|
@ -27,9 +30,7 @@
|
|||
"react": "^16.13.1",
|
||||
"react-dom": "^16.13.1",
|
||||
"react-scripts": "4.0.3",
|
||||
"typescript": "^4.0.0",
|
||||
"@types/babel__core": "7.1.19",
|
||||
"@types/babel__traverse": "7.17.1"
|
||||
"typescript": "^4.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "react-scripts start",
|
||||
|
|
|
@ -8,7 +8,7 @@ import PDFPages from "./components/pages/PDFPages";
|
|||
import { PDFProvider } from "./state";
|
||||
|
||||
pdfjs.GlobalWorkerOptions.workerSrc = new URL(
|
||||
"pdfjs-dist/build/pdf.worker.min.js",
|
||||
"pdfjs-dist/build/pdf.worker.min.mjs",
|
||||
getMetaURL()
|
||||
).toString();
|
||||
|
||||
|
|
Loading…
Reference in New Issue