Socket
Socket
Sign inDemoInstall

react-range

Package Overview
Dependencies
6
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.8.10 to 1.8.11

4

lib/utils.js

@@ -25,3 +25,5 @@ "use strict";

var res = (max - min) / step;
return parseInt(res.toString(), 10) === res;
var precision = 8;
var roundedRes = Number(res.toFixed(precision));
return parseInt(roundedRes.toString(), 10) === roundedRes;
}

@@ -28,0 +30,0 @@ exports.isStepDivisible = isStepDivisible;

{
"name": "react-range",
"version": "1.8.10",
"version": "1.8.11",
"description": "Range input. Slides in all directions.",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc