Socket
Socket
Sign inDemoInstall

react-responsive-carousel

Package Overview
Dependencies
Maintainers
1
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-responsive-carousel - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

11

components/Carousel.js

@@ -257,3 +257,3 @@ var React = require('react');

this.setState({
this.selectItem({
firstItem: this.getFirstItem(position),

@@ -264,3 +264,3 @@ // if it's not a slider, we don't need to set position here

this.triggerOnChange(position);
},

@@ -271,3 +271,3 @@

this.setState({
this.selectItem({
selectedItem: newIndex,

@@ -278,2 +278,7 @@ firstItem: this.getFirstItem(newIndex)

selectItem:function (state) {
this.setState(state);
this.triggerOnChange(position);
},
renderItems:function () {

@@ -280,0 +285,0 @@ var isSlider = (this.props.type === "slider");

{
"name": "react-responsive-carousel",
"version": "2.0.0",
"version": "2.0.1",
"description": "React Responsive Carousel",

@@ -5,0 +5,0 @@ "author": {

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