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

react-carousel

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-carousel - npm Package Compare versions

Comparing version 4.2.0 to 4.2.1

6

dist/Carousel.js

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

availableWidth = maxWidth;
availableWidth = maxWidth + itemMargin;

@@ -75,3 +75,3 @@ var prevButtonVisible = isPrevButtonVisible(firstVisibleIndex);

if (prevButtonVisible) {
availableWidth -= controlWidth + itemMargin;
availableWidth -= controlWidth;
}

@@ -84,3 +84,3 @@

if (nextButtonVisible) {
availableWidth -= controlWidth + itemMargin;
availableWidth -= controlWidth;

@@ -87,0 +87,0 @@ visibleItemCount = getMaximumAccomodableItemCount(availableWidth, itemWidth, itemMargin);

@@ -41,3 +41,3 @@ {

},
"version": "4.2.0",
"version": "4.2.1",
"dependencies": {

@@ -44,0 +44,0 @@ "debounce": "^1.0.2",

@@ -67,3 +67,3 @@ // @flow

availableWidth = maxWidth;
availableWidth = maxWidth + itemMargin;

@@ -73,3 +73,3 @@ const prevButtonVisible = isPrevButtonVisible(firstVisibleIndex);

if (prevButtonVisible) {
availableWidth -= controlWidth + itemMargin;
availableWidth -= controlWidth;
}

@@ -82,3 +82,3 @@

if (nextButtonVisible) {
availableWidth -= controlWidth + itemMargin;
availableWidth -= controlWidth;

@@ -85,0 +85,0 @@ visibleItemCount = getMaximumAccomodableItemCount(availableWidth, itemWidth, itemMargin);

Sorry, the diff of this file is not supported yet

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