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

react-essential-carousel

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-essential-carousel - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

8

lib/Carousel.js

@@ -57,4 +57,4 @@ "use strict";

function handleOutOfBottomBoundary() {
return (0, _ramda.ifElse)(isOutOfBottomBoundary(), zeroify, _ramda.identity);
function handleOutOfBottomBoundary(itemsCount) {
return (0, _ramda.ifElse)(isOutOfBottomBoundary(), (0, _ramda.partial)(_ramda.identity, [decrement(itemsCount)]), _ramda.identity);
}

@@ -104,3 +104,3 @@

function updateIdx(nextIdx) {
var setIdxInRange = (0, _ramda.ifElse)(isOutOfTopBoundary(itemsCount), (0, _ramda.partial)(decrement, [itemsCount]), handleOutOfBottomBoundary());
var setIdxInRange = (0, _ramda.ifElse)(isOutOfTopBoundary(itemsCount), zeroify, handleOutOfBottomBoundary(itemsCount));
setIdx(setIdxInRange(nextIdx));

@@ -192,2 +192,2 @@ }

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9DYXJvdXNlbC5qcyJdLCJuYW1lcyI6WyJkZWNyZW1lbnQiLCJpIiwiemVyb2lmeSIsImlzT3V0T2ZUb3BCb3VuZGFyeSIsIml0ZW1zQ291bnQiLCJndCIsImlzT3V0T2ZCb3R0b21Cb3VuZGFyeSIsImx0IiwiaGFuZGxlT3V0T2ZCb3R0b21Cb3VuZGFyeSIsImlkZW50aXR5IiwiaXNOb3RFbXB0eVN0ciIsInN0ciIsImMiLCJmaWx0ZXIiLCJjbGFzc0lmIiwiY29uZCIsImNscyIsIkNhcm91c2VsQ29udGV4dCIsImlkeCIsIkNhcm91c2VsUHJvdmlkZXIiLCJjaGlsZHJlbiIsInNwZWVkIiwic2V0U3BlZWQiLC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19
{
"name": "react-essential-carousel",
"version": "1.0.12",
"version": "1.0.13",
"description": "A simplistic carousel component for react applications.",

@@ -5,0 +5,0 @@ "main": "lib/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