Socket
Socket
Sign inDemoInstall

@artistry/react

Package Overview
Dependencies
12
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.17 to 0.5.18

7

dist/scripts/components/CardCarousel.js

@@ -25,3 +25,8 @@ "use strict";

if (this.props.onChangeSize) {
let newIndex = Math.floor(this.props.activeIndex * oldSlideSize / slideSize);
let oldIndex = this.props.activeIndex;
if (oldIndex < 0) {
let length = React.Children.count(this.props.children);
oldIndex = (oldIndex % length) + length;
}
let newIndex = Math.floor(oldIndex * oldSlideSize / slideSize);
this.props.onChangeSize(newIndex, slideSize, oldSlideSize);

@@ -28,0 +33,0 @@ }

2

package.json
{
"name": "@artistry/react",
"version": "0.5.17",
"version": "0.5.18",
"description": "A powerful component library for React",

@@ -5,0 +5,0 @@ "repository": "https://www.github.com/sjohnsonaz/artistry-react.git",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc