Socket
Socket
Sign inDemoInstall

react-viewer

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-viewer - npm Package Compare versions

Comparing version 2.5.2 to 2.5.3

3

lib/Icon.d.ts

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

/// <reference types="react" />
import * as React from 'react';

@@ -14,3 +13,3 @@ export declare enum ActionType {

scaleY = 10,
download = 11,
download = 11
}

@@ -17,0 +16,0 @@ export interface IconProps {

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

/// <reference types="react" />
import * as React from 'react';

@@ -3,0 +2,0 @@ export interface LoadingProps {

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

/// <reference types="react" />
import * as React from 'react';

@@ -3,0 +2,0 @@ import ViewerProps from './ViewerProps';

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

/// <reference types="react" />
import * as React from 'react';

@@ -3,0 +2,0 @@ export interface ViewerCanvasProps {

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

/// <reference types="react" />
import * as React from 'react';

@@ -6,2 +5,3 @@ import './style/index.less';

import { ActionType } from './Icon';
declare function noop(): void;
export interface ViewerCoreState {

@@ -26,3 +26,3 @@ visible?: boolean;

visible: boolean;
onClose: () => void;
onClose: typeof noop;
images: any[];

@@ -36,3 +36,3 @@ activeIndex: number;

scalable: boolean;
onMaskClick: () => void;
onMaskClick: typeof noop;
changeable: boolean;

@@ -78,1 +78,2 @@ customToolbar: (toolbars: any) => any;

}
export {};

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

/// <reference types="react" />
import * as React from 'react';

@@ -3,0 +2,0 @@ import { ImageDecorator } from './ViewerProps';

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

/// <reference types="react" />
import * as React from 'react';

@@ -3,0 +2,0 @@ import { ToolbarConfig } from './ViewerProps';

{
"name": "react-viewer",
"version": "2.5.2",
"version": "2.5.3",
"description": "react image viewer",

@@ -62,4 +62,3 @@ "main": "dist/index",

"dependencies": {
"classnames": "^2.2.5",
"rc-table": "^6.2.7"
"classnames": "^2.2.5"
},

@@ -66,0 +65,0 @@ "pre-commit": [

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