ng2-pdfjs-viewer 25.0.3 → 25.0.4
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 +15 -4
- package/package.json +25 -7
package/README.md
CHANGED
|
@@ -195,9 +195,20 @@ Add PDF.js assets to your `angular.json`:
|
|
|
195
195
|
|
|
196
196
|
### Prerequisites
|
|
197
197
|
|
|
198
|
-
- Angular 20.0+ (
|
|
199
|
-
- Node.js 18.0+
|
|
200
|
-
- TypeScript 5.0+
|
|
198
|
+
- **Angular**: 20.0+ (recommended) | 2.0+ (supported)
|
|
199
|
+
- **Node.js**: 18.0+
|
|
200
|
+
- **TypeScript**: 5.0+
|
|
201
|
+
|
|
202
|
+
### Angular Version Support
|
|
203
|
+
|
|
204
|
+
| Angular Version | Support Level | Notes |
|
|
205
|
+
|----------------|---------------|-------|
|
|
206
|
+
| **20.0+** | ✅ **Recommended** | Fully tested and optimized |
|
|
207
|
+
| **15.0 - 19.x** | ✅ **Supported** | Should work with minor testing |
|
|
208
|
+
| **10.0 - 14.x** | ✅ **Supported** | Compatible with testing |
|
|
209
|
+
| **2.0 - 9.x** | ⚠️ **Legacy** | May require additional testing |
|
|
210
|
+
|
|
211
|
+
**Note**: While the library supports Angular 2.0+, it's primarily tested and optimized for Angular 20+. For production use with older versions, thorough testing is recommended. The library uses relaxed peer dependencies (Angular >=10.0.0) to ensure compatibility across different Angular versions.
|
|
201
212
|
|
|
202
213
|
### Install Package
|
|
203
214
|
|
|
@@ -712,7 +723,7 @@ This project is licensed under the **Apache License 2.0 + Commons Clause License
|
|
|
712
723
|
|
|
713
724
|
<div align="center">
|
|
714
725
|
|
|
715
|
-
**Made with ❤️ by
|
|
726
|
+
**Made with ❤️ by [Aneesh](http://github.com/codehippie1)**
|
|
716
727
|
|
|
717
728
|
[](https://github.com/intbot/ng2-pdfjs-viewer)
|
|
718
729
|
[](https://www.npmjs.com/package/ng2-pdfjs-viewer)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ng2-pdfjs-viewer",
|
|
3
|
-
"version": "25.0.
|
|
3
|
+
"version": "25.0.4",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Aneesh Goapalakrishnan",
|
|
6
6
|
"email": "codehippie1@gmail.com"
|
|
@@ -24,9 +24,8 @@
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@angular/common": "^
|
|
28
|
-
"@angular/core": "^
|
|
29
|
-
"ng-packagr": "^20.0.0"
|
|
27
|
+
"@angular/common": "^10.0.0",
|
|
28
|
+
"@angular/core": "^10.0.0"
|
|
30
29
|
},
|
|
31
30
|
"$schema": "./node_modules/ng-packagr/package.schema.json",
|
|
32
31
|
"bugs": {
|
|
@@ -34,11 +33,30 @@
|
|
|
34
33
|
},
|
|
35
34
|
"keywords": [
|
|
36
35
|
"angular",
|
|
37
|
-
"
|
|
38
|
-
"
|
|
36
|
+
"angular-pdf-viewer",
|
|
37
|
+
"pdf-viewer",
|
|
38
|
+
"pdf-reader",
|
|
39
|
+
"PDF",
|
|
40
|
+
"PDF Viewer",
|
|
39
41
|
"pdfjs",
|
|
40
42
|
"viewerjs",
|
|
41
|
-
"
|
|
43
|
+
"ng2",
|
|
44
|
+
"angular-component",
|
|
45
|
+
"angular-pdf",
|
|
46
|
+
"ng2-pdf",
|
|
47
|
+
"angular 2 - 20",
|
|
48
|
+
"angular 20",
|
|
49
|
+
"angular-library",
|
|
50
|
+
"typescript",
|
|
51
|
+
"javascript",
|
|
52
|
+
"pdf-rendering",
|
|
53
|
+
"pdf-annotations",
|
|
54
|
+
"pdf-zoom",
|
|
55
|
+
"pdf-printing",
|
|
56
|
+
"responsive-ui",
|
|
57
|
+
"custom PDF Viewer",
|
|
58
|
+
"accessibility",
|
|
59
|
+
"open-source"
|
|
42
60
|
],
|
|
43
61
|
"license": "Apache-2.0 + Commons Clause",
|
|
44
62
|
"readme": "README.md",
|