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

react-img-carousel

Package Overview
Dependencies
Maintainers
3
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-img-carousel - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

10

lib/index.js

@@ -212,2 +212,4 @@ 'use strict';

this.calcLeftOffset();
window.addEventListener('resize', this.calcLeftOffset, false);

@@ -787,6 +789,2 @@ }

this.setState({
leftOffset: 0
});
return;

@@ -798,3 +796,5 @@ }

this.setState({ leftOffset: leftOffset });
if (leftOffset !== this.state.leftOffset) {
this.setState({ leftOffset: leftOffset });
}
}

@@ -801,0 +801,0 @@

{
"name": "react-img-carousel",
"version": "1.0.1",
"version": "1.0.2",
"description": "Provides an image carousel React component.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -143,2 +143,4 @@ import React, { PropTypes, Component, Children, cloneElement } from 'react';

this.calcLeftOffset();
window.addEventListener('resize', this.calcLeftOffset, false);

@@ -620,6 +622,2 @@ }

this.setState({
leftOffset: 0
});
return;

@@ -631,3 +629,5 @@ }

this.setState({ leftOffset });
if (leftOffset !== this.state.leftOffset) {
this.setState({ leftOffset });
}
}

@@ -634,0 +634,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