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

react-img-carousel

Package Overview
Dependencies
Maintainers
3
Versions
41
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.4.1 to 1.4.2

4

lib/index.js

@@ -368,3 +368,3 @@ 'use strict';

beforeChange && beforeChange(index, currentSlide);
beforeChange && beforeChange(index, currentSlide, direction);
this.setState({

@@ -524,3 +524,3 @@ transitionDuration: transitionDuration

});
var trackStyle = style.track || {};
var trackStyle = (0, _lodash4.default)({}, style.track || {});
if (transition !== 'fade') {

@@ -527,0 +527,0 @@ var leftPos = leftOffset + dragOffset;

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

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

@@ -116,3 +116,3 @@ # react-img-carousel

Optional callback which will be invoked before a slide change occurs. Should have method signature
`function(newIndex, prevIndex)`
`function(newIndex, prevIndex, direction)`

@@ -119,0 +119,0 @@ #### afterChange

@@ -275,3 +275,3 @@ import React, { Component, Children, cloneElement } from 'react';

beforeChange && beforeChange(index, currentSlide);
beforeChange && beforeChange(index, currentSlide, direction);
this.setState({

@@ -390,3 +390,3 @@ transitionDuration

});
let trackStyle = style.track || {};
let trackStyle = merge({}, style.track || {});
if (transition !== 'fade') {

@@ -393,0 +393,0 @@ const leftPos = leftOffset + dragOffset;

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