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

react-slider

Package Overview
Dependencies
Maintainers
4
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 1.1.1 to 1.1.2

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [1.1.2](https://github.com/zillow/react-slider/compare/v1.1.1...v1.1.2) (2020-11-10)
### Bug Fixes
* `onAfterChange` now returns the correct value when used as a controlled component ([03fcc17](https://github.com/zillow/react-slider/commit/03fcc175df5ee28644e122e87592991d9467f765)), closes [#201](https://github.com/zillow/react-slider/issues/201)
### [1.1.1](https://github.com/zillow/react-slider/compare/v1.1.0...v1.1.1) (2020-11-03)

@@ -7,0 +14,0 @@

11

es/components/ReactSlider/ReactSlider.js

@@ -475,7 +475,2 @@ var _jsxFileName = "/Users/brians/git/react-slider/src/components/ReactSlider/ReactSlider.jsx";

_proto.onEnd = function onEnd(eventMap) {
// Allow controlled updates to continue
this.setState({
pending: false
});
if (eventMap) {

@@ -487,4 +482,8 @@ removeHandlers(eventMap);

this.fireChangeEvent('onAfterChange');
}
} // Allow controlled updates to continue
this.setState({
pending: false
});
this.hasMoved = false;

@@ -491,0 +490,0 @@ };

@@ -481,7 +481,2 @@ "use strict";

_proto.onEnd = function onEnd(eventMap) {
// Allow controlled updates to continue
this.setState({
pending: false
});
if (eventMap) {

@@ -493,4 +488,8 @@ removeHandlers(eventMap);

this.fireChangeEvent('onAfterChange');
}
} // Allow controlled updates to continue
this.setState({
pending: false
});
this.hasMoved = false;

@@ -497,0 +496,0 @@ };

{
"name": "react-slider",
"version": "1.1.1",
"version": "1.1.2",
"description": "Slider component for React",

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