Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ng2-pdf-viewer

Package Overview
Dependencies
Maintainers
1
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng2-pdf-viewer - npm Package Versions

1
11

7.0.2

Diff

Changelog

Source

7.0.2

  • [#829] - feat: upgrade to pdfjs-dist 2.11.338
  • [#834] - Give sane default to host
  • [#805] - width of pdf page exceed the maximum width and got trimmed from the right side
  • [#811] - .ng2-pdf-viewer-container not in parent container
  • [#828] - can't now show digital signature PKCS#7
vadimdez
published 7.0.1 •

Changelog

Source

7.0.1

  • [#779] - perf: do not run change detection on resize events
  • [#783] - fix: switch to es5 builds
  • [#780] - Version 7.0.0 is not working and build is failing: Module parse failed: Unexpected token
vadimdez
published 7.0.0 •

Changelog

Source

Breaking change (Since 7.0.0)

Now you need to specify how much space pdf-viewer element should take by using CSS, so either set width and height, use flexbox or use something like positioning.

Example using height and width:

<pdf-viewer [src]="src" [original-size]="false" style="width: 400px; height: 500px"></pdf-viewer>

Example using absolute positioning to take entire page:

<pdf-viewer [src]="src" [original-size]="false" style="position: absolute; top: 0; right: 0; bottom: 0; left: 0"></pdf-viewer>

vadimdez
published 6.4.1 •

Changelog

Source

6.4.1

  • [#739] - Module '"@types/pdfjs-dist"' has no exported member 'PDFPromise'
  • [#740] - Issue #739 fix: change @types/pdfjs-dist to update only patch versions
vadimdez
published 6.4.0 •

Changelog

Source

6.4.0

  • [#701] - [external-link-target] seems to be broken
  • [#702] - Fix external-link-target bug
  • [#688] - Issue #478 IE
  • [#478] - Support on IE & Edge
  • [#724] - Doesn't compile with pdf.js 2.6 and pdf.js 2.7
  • [#717] - Module x has no exported member 'PDFDocumentProxy'
  • [#715] - Several errors while building app with --prod flag
vadimdez
published 6.3.2 •

Changelog

Source

6.3.2

  • [#627] - Fixing memory issue
vadimdez
published 6.3.1 •

Changelog

Source

6.3.1

  • [#505] - Selectable text does not fit the rendered textsplit
  • [#610] - Selection rule so that browser can handle it
  • [#621] - feat(zoom): configurability of scale (page-width/page-height/page-fit)
  • [#531] - Style fix for Issue #505
  • [#626] - fix: explicitly set box-sizing of a page to initial
vadimdez
published 6.3.0 •

Changelog

Source

6.3.0

  • [#601] - support for pdf.js v2.4.456
vadimdez
published 6.2.0 •

Changelog

Source

6.2.0

  • [#461] - peer dependency for pdfjs-dist
  • [c391f99] - Removed peer dependencies
vadimdez
published 6.1.3 •

Changelog

Source

6.1.3

  • [#553] - Bugfix #539 Only emit pageChage on actual change
  • [#539] - [(page)] two way binding causes infinite loop
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc