ng2-pdf-viewer
Advanced tools
Comparing version 8.0.1 to 9.0.0
{ | ||
"name": "ng2-pdf-viewer", | ||
"version": "8.0.1", | ||
"version": "9.0.0", | ||
"description": "Angular 5+ component for rendering PDF", | ||
@@ -27,7 +27,7 @@ "license": "MIT", | ||
"dependencies": { | ||
"pdfjs-dist": "~2.11.338", | ||
"pdfjs-dist": "~2.13.216", | ||
"tslib": "^2.3.1" | ||
}, | ||
"peerDependencies": { | ||
"pdfjs-dist": "~2.11.338" | ||
"pdfjs-dist": "~2.13.216" | ||
}, | ||
@@ -34,0 +34,0 @@ "module": "fesm2015/ng2-pdf-viewer.mjs", |
@@ -138,3 +138,3 @@ <h1 align="center">Angular PDF Viewer</h1> | ||
For more control you can pass options object to ```[src]```. [See other attributes for the object here](https://github.com/mozilla/pdf.js/blob/master/src/display/api.js#L109-L198). | ||
For more control you can pass options object to ```[src]```. [See other attributes for the object here](https://github.com/mozilla/pdf.js/blob/master/src/display/api.js#L125-L217). | ||
@@ -141,0 +141,0 @@ Options object for loading protected PDF would be: |
@@ -5,4 +5,8 @@ import { Subject } from 'rxjs'; | ||
off(eventName: string, listener: Function): void; | ||
_listeners: any; | ||
dispatch(eventName: string, data: Object): void; | ||
_on(eventName: any, listener: any, options?: null): void; | ||
_off(eventName: any, listener: any, options?: null): void; | ||
} | ||
export declare function createEventBus(pdfJsViewer: any, destroy$: Subject<void>): EventBus; | ||
export {}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
380336
2824
+ Addedpdfjs-dist@2.13.216(transitive)
+ Addedweb-streams-polyfill@3.3.3(transitive)
- Removedpdfjs-dist@2.11.338(transitive)
Updatedpdfjs-dist@~2.13.216