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

ng2-pdfjs-viewer

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng2-pdfjs-viewer - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

pdfjs/build/pdf.js

4

index.js

@@ -84,3 +84,5 @@ import { Component, Input, NgModule, ViewChild } from '@angular/core';

}
var /** @type {?} */ viewerUrl = "assets/" + this.pdfJsFolder + "/web/viewer.html?file=" + fileUrl;
//var viewerUrl = `assets/${this.pdfJsFolder}/web/viewer.html`;
var /** @type {?} */ viewerUrl = "./pdfjs/web/viewer.html";
viewerUrl += "?file=" + fileUrl;
if (this.downloadFileName) {

@@ -87,0 +89,0 @@ viewerUrl += "&fileName=" + this.downloadFileName + ".pdf";

@@ -87,3 +87,5 @@ (function (global, factory) {

}
var /** @type {?} */ viewerUrl = "assets/" + this.pdfJsFolder + "/web/viewer.html?file=" + fileUrl;
//var viewerUrl = `assets/${this.pdfJsFolder}/web/viewer.html`;
var /** @type {?} */ viewerUrl = "./pdfjs/web/viewer.html";
viewerUrl += "?file=" + fileUrl;
if (this.downloadFileName) {

@@ -90,0 +92,0 @@ viewerUrl += "&fileName=" + this.downloadFileName + ".pdf";

{
"name": "ng2-pdfjs-viewer",
"version": "0.2.0",
"version": "0.2.1",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

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