Socket
Socket
Sign inDemoInstall

nuka-carousel

Package Overview
Dependencies
Maintainers
1
Versions
143
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuka-carousel - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

2

bower.json
{
"name": "nuka-carousel",
"main": "index.js",
"version": "0.0.6",
"version": "0.0.7",
"homepage": "https://github.com/kenwheeler/nuka-carousel",

@@ -6,0 +6,0 @@ "authors": [

@@ -396,3 +396,5 @@ 'use strict';

frame;
frame = _React2['default'].findDOMNode(this.refs.frame);
if (typeof this.props.slideWidth !== 'number') {

@@ -403,2 +405,5 @@ slideWidth = parseInt(this.props.slideWidth);

}
slideWidth -= this.props.cellSpacing * ((100 - 100 / this.props.slidesToShow) / 100);
this.setState({

@@ -405,0 +410,0 @@ frameWidth: frame.offsetWidth,

{
"name": "nuka-carousel",
"version": "0.0.6",
"version": "0.0.7",
"description": "Pure React Carousel",

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

@@ -379,3 +379,5 @@ 'use strict';

var self = this, slideWidth, frame;
frame = React.findDOMNode(this.refs.frame);
if (typeof this.props.slideWidth !== 'number') {

@@ -386,2 +388,5 @@ slideWidth = parseInt(this.props.slideWidth);

}
slideWidth -= this.props.cellSpacing * ((100 - (100 / this.props.slidesToShow)) / 100);
this.setState({

@@ -388,0 +393,0 @@ frameWidth: frame.offsetWidth,

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