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

nuka-carousel

Package Overview
Dependencies
Maintainers
30
Versions
145
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 4.6.5 to 4.6.6

7

es/index.js

@@ -197,2 +197,6 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }

if (this.state.isWrappingAround) {
this.isWrapped = true;
}
var prevSlideCount = getValidChildren(prevProps.children).length;

@@ -961,3 +965,4 @@ var slideCount = getValidChildren(this.props.children).length;

if (slideHeight !== this.state.slideHeight || slideWidth !== this.state.slideWidth) {
if (slideHeight !== this.state.slideHeight || slideWidth !== this.state.slideWidth || this.isWrapped) {
this.isWrapped = false;
this.setState({

@@ -964,0 +969,0 @@ slideHeight: slideHeight,

@@ -238,2 +238,6 @@ "use strict";

if (this.state.isWrappingAround) {
this.isWrapped = true;
}
var prevSlideCount = (0, _bootstrappingUtilities.getValidChildren)(prevProps.children).length;

@@ -1002,3 +1006,4 @@ var slideCount = (0, _bootstrappingUtilities.getValidChildren)(this.props.children).length;

if (slideHeight !== this.state.slideHeight || slideWidth !== this.state.slideWidth) {
if (slideHeight !== this.state.slideHeight || slideWidth !== this.state.slideWidth || this.isWrapped) {
this.isWrapped = false;
this.setState({

@@ -1005,0 +1010,0 @@ slideHeight: slideHeight,

2

package.json
{
"name": "nuka-carousel",
"version": "4.6.5",
"version": "4.6.6",
"description": "Pure React Carousel",

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

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