Socket
Socket
Sign inDemoInstall

react-dual-range-slider

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-dual-range-slider - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

60

components.json

@@ -61,2 +61,50 @@ {

{
"name": "onTouchStart0",
"docblock": null,
"modifiers": [],
"params": [
{
"name": "event",
"type": null
}
],
"returns": null
},
{
"name": "onTouchStart1",
"docblock": null,
"modifiers": [],
"params": [
{
"name": "event",
"type": null
}
],
"returns": null
},
{
"name": "onTouchMove",
"docblock": null,
"modifiers": [],
"params": [
{
"name": "event",
"type": null
}
],
"returns": null
},
{
"name": "onTouchEnd",
"docblock": null,
"modifiers": [],
"params": [
{
"name": "event",
"type": null
}
],
"returns": null
},
{
"name": "onMouseMove",

@@ -74,2 +122,14 @@ "docblock": "onMouseMove\r\nevent triggered when the user moves his mouse",

{
"name": "move",
"docblock": null,
"modifiers": [],
"params": [
{
"name": "event",
"type": null
}
],
"returns": null
},
{
"name": "getMoveCurrentValue",

@@ -76,0 +136,0 @@ "docblock": "getMoveCurrentValue\r\nreturn the moving current value",

7

lib/components/react-dual-range-slider.js

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

ReactDualRangeSlider.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
var props = {};
for (el in this.props) {
props[el] = this.props[el];
}
this.setState(this.getStateFromProps(props));
this.setState(this.getStateFromProps(nextProps));
};

@@ -58,0 +53,0 @@

{
"name": "react-dual-range-slider",
"version": "1.0.3",
"version": "1.0.4",
"description": "react-dual-range-slider",

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

@@ -17,8 +17,3 @@ import React, {PropTypes} from "react";

componentWillReceiveProps(nextProps) {
let props = {};
for(el in this.props) {
props[el] = this.props[el];
}
this.setState(this.getStateFromProps(props));
this.setState(this.getStateFromProps(nextProps));
}

@@ -25,0 +20,0 @@

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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