ng2-pdf-viewer
Advanced tools
Comparing version 10.2.2 to 10.3.0
{ | ||
"name": "ng2-pdf-viewer", | ||
"version": "10.2.2", | ||
"version": "10.3.0", | ||
"description": "Angular 5+ component for rendering PDF", | ||
@@ -27,3 +27,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"pdfjs-dist": "^3.11.174", | ||
"pdfjs-dist": "^4.5.136", | ||
"tslib": "^2.3.0" | ||
@@ -30,0 +30,0 @@ }, |
@@ -5,5 +5,4 @@ /** | ||
import { ElementRef, EventEmitter, OnChanges, SimpleChanges, OnInit, OnDestroy, AfterViewChecked, NgZone } from '@angular/core'; | ||
import * as PDFJSViewer from 'pdfjs-dist/web/pdf_viewer'; | ||
import * as PDFJSViewer from 'pdfjs-dist/web/pdf_viewer.mjs'; | ||
import type { PDFSource, PDFProgressData, ZoomScale } from './typings'; | ||
import { PDFSinglePageViewer } from 'pdfjs-dist/web/pdf_viewer'; | ||
import * as i0 from "@angular/core"; | ||
@@ -24,3 +23,3 @@ export declare enum RenderTextMode { | ||
pdfFindController: PDFJSViewer.PDFFindController; | ||
pdfViewer: PDFJSViewer.PDFViewer | PDFSinglePageViewer; | ||
pdfViewer: PDFJSViewer.PDFViewer | PDFJSViewer.PDFSinglePageViewer; | ||
private isVisible; | ||
@@ -27,0 +26,0 @@ private _cMapsUrl; |
import { Subject } from 'rxjs'; | ||
import type { EventBus } from 'pdfjs-dist/web/pdf_viewer'; | ||
import type { EventBus } from 'pdfjs-dist/web/pdf_viewer.mjs'; | ||
export declare function createEventBus(pdfJsViewer: any, destroy$: Subject<void>): EventBus; |
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
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
280836
1956
+ Addedbase64-js@1.5.1(transitive)
+ Addedbl@4.1.0(transitive)
+ Addedbuffer@5.7.1(transitive)
+ Addedcanvas@3.0.0-rc2(transitive)
+ Addedchownr@1.1.4(transitive)
+ Addeddecompress-response@6.0.0(transitive)
+ Addeddeep-extend@0.6.0(transitive)
+ Addedend-of-stream@1.4.4(transitive)
+ Addedexpand-template@2.0.3(transitive)
+ Addedfs-constants@1.0.0(transitive)
+ Addedgithub-from-package@0.0.0(transitive)
+ Addedieee754@1.2.1(transitive)
+ Addedini@1.3.8(transitive)
+ Addedmimic-response@3.1.0(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmkdirp-classic@0.5.3(transitive)
+ Addednapi-build-utils@1.0.2(transitive)
+ Addednode-abi@3.71.0(transitive)
+ Addednode-addon-api@7.1.1(transitive)
+ Addedpath2d@0.2.2(transitive)
+ Addedpdfjs-dist@4.8.69(transitive)
+ Addedprebuild-install@7.1.2(transitive)
+ Addedpump@3.0.2(transitive)
+ Addedrc@1.2.8(transitive)
+ Addedsimple-get@4.0.1(transitive)
+ Addedstrip-json-comments@2.0.1(transitive)
+ Addedtar-fs@2.1.1(transitive)
+ Addedtar-stream@2.2.0(transitive)
+ Addedtunnel-agent@0.6.0(transitive)
- Removed@mapbox/node-pre-gyp@1.0.11(transitive)
- Removedabbrev@1.1.1(transitive)
- Removedagent-base@6.0.2(transitive)
- Removedansi-regex@5.0.1(transitive)
- Removedaproba@2.0.0(transitive)
- Removedare-we-there-yet@2.0.0(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedcanvas@2.11.2(transitive)
- Removedchownr@2.0.0(transitive)
- Removedcolor-support@1.1.3(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedconsole-control-strings@1.1.0(transitive)
- Removeddebug@4.3.7(transitive)
- Removeddelegates@1.0.0(transitive)
- Removedemoji-regex@8.0.0(transitive)
- Removedfs-minipass@2.1.0(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedgauge@3.0.2(transitive)
- Removedglob@7.2.3(transitive)
- Removedhas-unicode@2.0.1(transitive)
- Removedhttps-proxy-agent@5.0.1(transitive)
- Removedinflight@1.0.6(transitive)
- Removedis-fullwidth-code-point@3.0.0(transitive)
- Removedmake-dir@3.1.0(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedminipass@3.3.65.0.0(transitive)
- Removedminizlib@2.1.2(transitive)
- Removedmkdirp@1.0.4(transitive)
- Removedms@2.1.3(transitive)
- Removednan@2.22.0(transitive)
- Removednode-fetch@2.7.0(transitive)
- Removednopt@5.0.0(transitive)
- Removednpmlog@5.0.1(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedpath2d@0.1.1(transitive)
- Removedpath2d-polyfill@2.1.1(transitive)
- Removedpdfjs-dist@3.11.174(transitive)
- Removedrimraf@3.0.2(transitive)
- Removedsemver@6.3.1(transitive)
- Removedset-blocking@2.0.0(transitive)
- Removedsignal-exit@3.0.7(transitive)
- Removedstring-width@4.2.3(transitive)
- Removedstrip-ansi@6.0.1(transitive)
- Removedtar@6.2.1(transitive)
- Removedtr46@0.0.3(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwhatwg-url@5.0.0(transitive)
- Removedwide-align@1.1.5(transitive)
- Removedyallist@4.0.0(transitive)
Updatedpdfjs-dist@^4.5.136