New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

awesome-image-viewer

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

awesome-image-viewer - npm Package Compare versions

Comparing version 1.0.53 to 1.0.54

2

package.json
{
"name": "awesome-image-viewer",
"description": "React, Angular, Vue, and Typescript compatible image viewer",
"version": "1.0.53",
"version": "1.0.54",
"author": "Mostafa Mohammadzadeh",

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

@@ -1,2 +0,1 @@

/// <reference types="node" />
declare type image = {

@@ -33,3 +32,3 @@ mainUrl: string;

protected isHudShow: boolean;
protected dbcTimer: NodeJS.Timeout;
protected dbcTimer: any;
protected dbcWaiting: boolean;

@@ -36,0 +35,0 @@ protected isSwiping: boolean;

@@ -377,2 +377,3 @@ "use strict";

const imageContainer = imageContainers.item(this.currentSelected);
const touchSurface = this.view.getElementsByClassName('touchSurface')[0];
if (!imageContainer.classList.contains('zoom')) {

@@ -386,2 +387,3 @@ imageContainer.classList.add('zoom');

this.view.classList.add('halfHud');
touchSurface.style.display = 'none';
}

@@ -393,2 +395,3 @@ else {

this.view.classList.remove('halfHud');
touchSurface.style.display = 'block';
}

@@ -395,0 +398,0 @@ }

@@ -36,3 +36,3 @@ //custom types:

protected isHudShow: boolean;
protected dbcTimer;//todo
protected dbcTimer: any;
protected dbcWaiting: boolean;

@@ -442,2 +442,3 @@ protected isSwiping: boolean;

const imageContainer = <HTMLElement> imageContainers.item(this.currentSelected);
const touchSurface = <HTMLElement> this.view.getElementsByClassName('touchSurface')[0];
if(!imageContainer.classList.contains('zoom')){

@@ -451,2 +452,3 @@ imageContainer.classList.add('zoom');

this.view.classList.add('halfHud');
touchSurface.style.display = 'none';
}else{

@@ -457,2 +459,3 @@ imageContainer.classList.remove('zoom');

this.view.classList.remove('halfHud');
touchSurface.style.display = 'block';
}

@@ -459,0 +462,0 @@ }

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