react-format-currency
Advanced tools
Comparing version
{ | ||
"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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
384407
0.11%5141
0.02%7
16.67%28
3.7%+ Added
+ Added