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

react-multi-carousel

Package Overview
Dependencies
Maintainers
1
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-multi-carousel - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

.gitattributes

8

lib/Carousel.js

@@ -77,8 +77,8 @@ "use strict";

if (activeItem.mousedown) {
if (activeItem.initialPosition - e.pageX > this.state.itemWidth / 3) {
this.previous();
if (activeItem.initialPosition - e.pageX > this.state.itemWidth / 4) {
this.next();
this.setState({ activeItem: {} });
}
if (e.pageX - activeItem.initialPosition > this.state.itemWidth / 3) {
this.next();
if (e.pageX - activeItem.initialPosition > this.state.itemWidth / 4) {
this.previous();
this.setState({ activeItem: {} });

@@ -85,0 +85,0 @@ }

{
"name": "react-multi-carousel",
"version": "1.0.3",
"version": "1.0.4",
"description": "",

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

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