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

nuka-carousel

Package Overview
Dependencies
Maintainers
26
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 5.0.12 to 5.0.13

5

es-v5/carousel.js

@@ -136,2 +136,7 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

useEffect(function () {
if (typeof props.slideIndex === 'number' && !props.autoplayReverse) {
moveSlide(props.slideIndex);
}
}, [props.slideIndex]);
useEffect(function () {
if (props.autoplay && !animation && props.wrapAround) {

@@ -138,0 +143,0 @@ if (currentSlide > count) {

@@ -157,2 +157,7 @@ "use strict";

(0, _react.useEffect)(function () {
if (typeof props.slideIndex === 'number' && !props.autoplayReverse) {
moveSlide(props.slideIndex);
}
}, [props.slideIndex]);
(0, _react.useEffect)(function () {
if (props.autoplay && !animation && props.wrapAround) {

@@ -159,0 +164,0 @@ if (currentSlide > count) {

2

package.json
{
"name": "nuka-carousel",
"version": "5.0.12",
"version": "5.0.13",
"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