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
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng2-pdf-viewer - npm Package Compare versions

Comparing version 9.1.3 to 9.1.4

2

package.json
{
"name": "ng2-pdf-viewer",
"version": "9.1.3",
"version": "9.1.4",
"description": "Angular 5+ component for rendering PDF",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -518,4 +518,13 @@ <h1 align="center">Angular PDF Viewer</h1>

```
*This should be set before `pdf-viewer` component is rendered.*
If you ever have a (super rare) edge case where you run in an environment that multiple
components are somehow loaded within the same web page, sharing the same window,
but using different versions of pdf.worker, support has been added. You can do the
above, except that you can append the specific version of pdfjs required and override the
custom path *just for that version*. This way setting the global window var won't conflict.
```typescript
(window as any)["pdfWorkerSrc2.14.305"] = '/pdf.worker.js';
```

@@ -522,0 +531,0 @@ ## Search in the PDF

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

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