Socket
Socket
Sign inDemoInstall

rc-slider

Package Overview
Dependencies
Maintainers
8
Versions
186
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-slider - npm Package Compare versions

Comparing version 10.0.0-alpha.4 to 10.0.0-alpha.5

4

es/hooks/useDrag.js

@@ -101,3 +101,2 @@ import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";

var onStartMove = function onStartMove(e, valueIndex) {
e.preventDefault();
e.stopPropagation();

@@ -111,5 +110,4 @@ var originValue = rawValues[valueIndex];

startX = _getPosition.pageX,
startY = _getPosition.pageY;
startY = _getPosition.pageY; // Moving
e.target.focus(); // Moving

@@ -116,0 +114,0 @@ var onMouseMove = function onMouseMove(event) {

@@ -113,3 +113,2 @@ "use strict";

var onStartMove = function onStartMove(e, valueIndex) {
e.preventDefault();
e.stopPropagation();

@@ -123,5 +122,4 @@ var originValue = rawValues[valueIndex];

startX = _getPosition.pageX,
startY = _getPosition.pageY;
startY = _getPosition.pageY; // Moving
e.target.focus(); // Moving

@@ -128,0 +126,0 @@ var onMouseMove = function onMouseMove(event) {

{
"name": "rc-slider",
"version": "10.0.0-alpha.4",
"version": "10.0.0-alpha.5",
"description": "Slider UI component for React",

@@ -5,0 +5,0 @@ "engines": {

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