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.27 to 0.2.28

14

index.js

@@ -65,7 +65,11 @@ import { Component, Input, NgModule, ViewChild } from '@angular/core';

}
console.log("Tab is - " + this.viewerTab);
if (this.viewerTab) {
console.log("Status of window - " + this.viewerTab.closed);
}
if (this.externalWindow && typeof this.viewerTab === 'undefined') {
// console.log(`Tab is - ${this.viewerTab}`);
// if (this.viewerTab) {
// console.log(`Status of window - ${this.viewerTab.closed}`);
// }
// console.log(`Tab is - ${this.viewerTab}`);
// if (this.viewerTab) {
// console.log(`Status of window - ${this.viewerTab.closed}`);
// }
if (this.externalWindow && (typeof this.viewerTab === 'undefined' || this.viewerTab.closed)) {
this.viewerTab = window.open('', '_blank');

@@ -72,0 +76,0 @@ if (this.viewerTab == null) {

@@ -68,7 +68,11 @@ (function (global, factory) {

}
console.log("Tab is - " + this.viewerTab);
if (this.viewerTab) {
console.log("Status of window - " + this.viewerTab.closed);
}
if (this.externalWindow && typeof this.viewerTab === 'undefined') {
// console.log(`Tab is - ${this.viewerTab}`);
// if (this.viewerTab) {
// console.log(`Status of window - ${this.viewerTab.closed}`);
// }
// console.log(`Tab is - ${this.viewerTab}`);
// if (this.viewerTab) {
// console.log(`Status of window - ${this.viewerTab.closed}`);
// }
if (this.externalWindow && (typeof this.viewerTab === 'undefined' || this.viewerTab.closed)) {
this.viewerTab = window.open('', '_blank');

@@ -75,0 +79,0 @@ if (this.viewerTab == null) {

{
"name": "ng2-pdfjs-viewer",
"version": "0.2.27",
"version": "0.2.28",
"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