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

@types/react-inner-image-zoom

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-inner-image-zoom - npm Package Compare versions

Comparing version 2.0.1 to 3.0.0

6

react-inner-image-zoom/index.d.ts

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

// Type definitions for react-inner-image-zoom 2.0
// Type definitions for react-inner-image-zoom 3.0
// Project: https://github.com/laurenashpole/react-inner-image-zoom#readme

@@ -12,4 +12,2 @@ // Definitions by: Lauren Ashpole <https://github.com/laurenashpole>

src: string;
srcSet?: string | undefined;
sizes?: string | undefined;
sources?: Array<{ srcSet?: string | undefined, media?: string | undefined }> | undefined;

@@ -19,6 +17,6 @@ width?: number | undefined;

hasSpacer?: boolean | undefined;
imgAttributes?: React.ImgHTMLAttributes<HTMLImageElement> | undefined;
zoomSrc?: string | undefined;
zoomScale?: number | undefined;
zoomPreload?: boolean | undefined;
alt?: string | undefined;
fadeDuration?: number | undefined;

@@ -25,0 +23,0 @@ fullscreenOnMobile?: boolean | undefined;

{
"name": "@types/react-inner-image-zoom",
"version": "2.0.1",
"version": "3.0.0",
"description": "TypeScript definitions for react-inner-image-zoom",

@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-inner-image-zoom",

},
"typesPublisherContentHash": "b24d5fadaaa849b1d894831c816813b181daa87f7ce28501cf3a14de99eebeda",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "9fe591503cc120de426e820d9c55a8921fa7fc8363de4aa0bdb94f6e6e485978",
"typeScriptVersion": "3.9"
}

@@ -11,3 +11,3 @@ # Installation

````ts
// Type definitions for react-inner-image-zoom 2.0
// Type definitions for react-inner-image-zoom 3.0
// Project: https://github.com/laurenashpole/react-inner-image-zoom#readme

@@ -23,4 +23,2 @@ // Definitions by: Lauren Ashpole <https://github.com/laurenashpole>

src: string;
srcSet?: string | undefined;
sizes?: string | undefined;
sources?: Array<{ srcSet?: string | undefined, media?: string | undefined }> | undefined;

@@ -30,6 +28,6 @@ width?: number | undefined;

hasSpacer?: boolean | undefined;
imgAttributes?: React.ImgHTMLAttributes<HTMLImageElement> | undefined;
zoomSrc?: string | undefined;
zoomScale?: number | undefined;
zoomPreload?: boolean | undefined;
alt?: string | undefined;
fadeDuration?: number | undefined;

@@ -51,3 +49,3 @@ fullscreenOnMobile?: boolean | undefined;

### Additional Details
* Last updated: Thu, 08 Jul 2021 20:20:50 GMT
* Last updated: Tue, 01 Mar 2022 23:31:49 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)

@@ -54,0 +52,0 @@ * Global values: none

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