Socket
Socket
Sign inDemoInstall

rc-slider

Package Overview
Dependencies
Maintainers
1
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 1.2.9 to 1.2.10

2

lib/Slider.js

@@ -87,3 +87,3 @@ 'use strict';

var unit = ((props.max - props.min) / (props.marks.length - 1)).toFixed(5);
return Math.ceil(value / unit);
return Math.round(value / unit);
}

@@ -90,0 +90,0 @@ },

{
"name": "rc-slider",
"version": "1.2.9",
"version": "1.2.10",
"description": "slider ui component for react",

@@ -5,0 +5,0 @@ "keywords": [

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