🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

react-format-currency

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-format-currency - npm Package Compare versions

Comparing version

to
0.0.9

6

package.json
{
"name": "react-format-currency",
"version": " v0.0.7",
"version": " v0.0.9",
"description": "React component to format currency in an input or as a text field",

@@ -68,2 +68,3 @@ "main": "./build/index.js",

"react-test-renderer": "^16.2.0",
"sinon": "^4.1.3",
"webpack": "^3.10.0",

@@ -81,4 +82,5 @@ "webpack-dashboard": "^1.0.2",

"react-dom": "^16.2.0",
"react-intl": "^2.4.0"
"react-intl": "^2.4.0",
"utf8": "^3.0.0"
}
}

@@ -76,3 +76,3 @@ import React, { Component } from 'react';

this.props.onChange(valueObj);
if (this.props.onChange) this.props.onChange(valueObj);
});

@@ -85,3 +85,2 @@ }

const inputProps = Object.assign(

@@ -103,3 +102,3 @@ {},

<div>
<input {...inputProps} />
<input className="format" {...inputProps} />
</div>

@@ -106,0 +105,0 @@ );

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