svelte-pdf-view 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -19,11 +19,11 @@ A modern, modular PDF viewer component for Svelte 5. Built on top of [PDF.js](ht
|
|
|
19
19
|
## Installation
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
|
-
npm install svelte-pdf-view
|
|
22
|
+
npm install svelte-pdf-view pdfjs-dist
|
|
23
23
|
# or
|
|
24
|
-
pnpm add svelte-pdf-view
|
|
24
|
+
pnpm add svelte-pdf-view pdfjs-dist
|
|
25
25
|
# or
|
|
26
|
-
yarn add svelte-pdf-view
|
|
26
|
+
yarn add svelte-pdf-view pdfjs-dist
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
If you want to use the default `<PdfToolbar>` component, also install:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "svelte-pdf-view",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "A modern, modular PDF viewer component for Svelte 5. Built on PDF.js with TypeScript support",
|
|
5
5
|
"author": "Louis Li",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@lucide/svelte": ">=0.500.0",
|
|
47
|
+
"pdfjs-dist": "^5.0.0",
|
|
47
48
|
"svelte": "^5.0.0"
|
|
48
49
|
},
|
|
49
50
|
"peerDependenciesMeta": {
|
|
@@ -64,6 +65,7 @@
|
|
|
64
65
|
"eslint-config-prettier": "^10.1.8",
|
|
65
66
|
"eslint-plugin-svelte": "^3.13.0",
|
|
66
67
|
"globals": "^16.5.0",
|
|
68
|
+
"pdfjs-dist": "^5.4.394",
|
|
67
69
|
"prettier": "^3.6.2",
|
|
68
70
|
"prettier-plugin-svelte": "^3.4.0",
|
|
69
71
|
"publint": "^0.3.15",
|
|
@@ -84,7 +86,6 @@
|
|
|
84
86
|
"svelte-component"
|
|
85
87
|
],
|
|
86
88
|
"dependencies": {
|
|
87
|
-
"esm-env": "^1.2.2"
|
|
88
|
-
"pdfjs-dist": "^5.4.394"
|
|
89
|
+
"esm-env": "^1.2.2"
|
|
89
90
|
}
|
|
90
91
|
}
|