Socket
Socket
Sign inDemoInstall

react-slick

Package Overview
Dependencies
6
Maintainers
1
Versions
118
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.9.0-rc2 to 0.9.0

3

lib/inner-slider.js

@@ -84,2 +84,5 @@ 'use strict';

componentWillReceiveProps: function componentWillReceiveProps(nextProps) {
if (this.props.slickGoTo != nextProps.slickGoTo) {
this.setState({ currentSlide: nextProps.slickGoTo });
}
this.update(nextProps);

@@ -86,0 +89,0 @@ },

2

package.json
{
"name": "react-slick",
"version": "0.9.0-rc2",
"version": "0.9.0",
"description": " React port of slick carousel",

@@ -5,0 +5,0 @@ "main": "./lib",

# react-slick
Carousel component built with React. It is a react port of [slick carousel](http://kenwheeler.github.io/slick/)
Checkout react-slick@0.9.0-rc1 for React 0.14 support
For React 0.13 or below version support, please stick with react-slick@0.8

@@ -93,2 +93,3 @@ # Road to 1.0

| beforeChange | function | callback function called before the current index changes | Yes |
| slickGoTo | int | go to the specified slide number

@@ -95,0 +96,0 @@ ### Development

@@ -55,2 +55,5 @@ 'use strict';

componentWillReceiveProps: function(nextProps) {
if (this.props.slickGoTo != nextProps.slickGoTo) {
this.setState({currentSlide: nextProps.slickGoTo});
}
this.update(nextProps);

@@ -57,0 +60,0 @@ },

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc