New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.15 to 1.0.16

12

lib/Carousel.js

@@ -128,7 +128,9 @@ "use strict";

if (this.itemRef.current.offsetWidth !== itemWidth) {
this.setState({
itemWidth: this.itemRef.current.offsetWidth,
transform: `translate3d(${-(this.itemRef.current.offsetWidth * this.state.currentSlide)}px,0,0)`
});
this.setItemsToSlide();
setTimeout(() => {
this.setState({
itemWidth: this.itemRef.current.offsetWidth,
transform: `translate3d(${-(this.itemRef.current.offsetWidth * this.state.currentSlide)}px,0,0)`
});
this.setItemsToSlide();
}, 500);
}

@@ -135,0 +137,0 @@ }

{
"name": "react-multi-carousel",
"version": "1.0.15",
"version": "1.0.16",
"description": "",

@@ -71,3 +71,2 @@ "main": "index.js",

"react": "^16.8.3",
"react-docgen-typescript-loader": "^3.0.1",
"react-dom": "^16.8.3",

@@ -74,0 +73,0 @@ "storybook-addon-jsx": "^6.0.0",

@@ -24,3 +24,3 @@ # react-multi-carousel

Demo for the SSR are at [here](https://nextjs-h9168masa.now.sh)
Demo for the SSR are at [here](https://nextjs-ek1wj6zxc.now.sh)

@@ -27,0 +27,0 @@ ## Demo.

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