Socket
Socket
Sign inDemoInstall

react-touch-carousel

Package Overview
Dependencies
11
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.9.2 to 0.9.3

8

lib/TouchCarousel.js

@@ -321,2 +321,10 @@ 'use strict';

}, {
key: 'componentDidUpdate',
value: function componentDidUpdate(prevProps) {
if (prevProps.autoplay !== this.props.autoplay) {
this.stopAutoplay();
this.autoplayIfEnabled();
}
}
}, {
key: 'componentWillUnmount',

@@ -323,0 +331,0 @@ value: function componentWillUnmount() {

16

package.json
{
"name": "react-touch-carousel",
"version": "0.9.2",
"version": "0.9.3",
"description": "Micro carousel framework for React.JS",

@@ -48,2 +48,4 @@ "main": "lib/index.js",

"html-webpack-plugin": "2.30.1",
"husky": "^1.2.0",
"lint-staged": "^8.1.0",
"raw-loader": "0.5.1",

@@ -75,3 +77,15 @@ "react": "16.6.3",

"babel": "inherit"
},
"lint-staged": {
"*.js": [
"npm run lint:fix",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run test"
}
}
}
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