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

rc-input-number

Package Overview
Dependencies
Maintainers
3
Versions
218
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-input-number - npm Package Compare versions

Comparing version 2.5.1 to 2.5.2

6

lib/InputNumber.js

@@ -177,3 +177,4 @@ 'use strict';

var precisionFactor = this.getPrecisionFactor();
return (precisionFactor * val + precisionFactor * stepNum) / precisionFactor;
var result = (precisionFactor * val + precisionFactor * stepNum) / precisionFactor;
return this.toPrecisionAsStep(result);
},

@@ -184,3 +185,4 @@

var precisionFactor = this.getPrecisionFactor();
return (precisionFactor * val - precisionFactor * stepNum) / precisionFactor;
var result = (precisionFactor * val - precisionFactor * stepNum) / precisionFactor;
return this.toPrecisionAsStep(result);
},

@@ -187,0 +189,0 @@

{
"name": "rc-input-number",
"version": "2.5.1",
"version": "2.5.2",
"description": "input-number 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