ng2-pdfjs-viewer
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -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", |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 167 instances in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 3 instances in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
8901570
377
73943
4
70
3
176