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

react-slider

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-slider - npm Package Compare versions

Comparing version 0.5.1 to 0.6.0

4

package.json
{
"name": "react-slider",
"version": "0.5.1",
"version": "0.6.0",
"description": "Slider component for React",

@@ -26,4 +26,4 @@ "main": "react-slider.js",

"peerDependencies": {
"react": ">=0.12.1"
"react": ">=0.14"
}
}

@@ -267,2 +267,3 @@ (function (root, factory) {

componentWillUnmount: function () {
clearTimeout(this.resizeTimeout)
window.removeEventListener('resize', this._handleResize);

@@ -277,5 +278,5 @@ },

// setTimeout of 0 gives element enough time to have assumed its new size if it is being resized
window.setTimeout(function() {
var slider = this.refs.slider.getDOMNode();
var handle = this.refs.handle0.getDOMNode();
this.resizeTimeout = window.setTimeout(function() {
var slider = this.refs.slider;
var handle = this.refs.handle0;
var rect = slider.getBoundingClientRect();

@@ -282,0 +283,0 @@

@@ -5,3 +5,3 @@ # React Slider

See demo: [https://cell303.github.io/react-slider](https://cell303.github.io/react-slider/)
See demo: [https://mpowaga.github.io/react-slider/](https://mpowaga.github.io/react-slider/)

@@ -8,0 +8,0 @@ ### Important Note

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