Comparing version 0.17.89 to 0.17.90
@@ -45,3 +45,3 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
var value = typeof children === 'string' ? children.replace(',', '') : children; // Parse as float | ||
var value = typeof children === 'string' ? children.replace(/,/g, '') : children; // Parse as float | ||
@@ -89,4 +89,3 @@ value = parseFloat(value); // Input | ||
var value = typeof children === 'string' ? children.replace(',', '') : children; | ||
value = value.replace(",", ""); // Parse as float | ||
var value = typeof children === 'string' ? children.replace(/,/g, '') : children; // Parse as float | ||
@@ -93,0 +92,0 @@ value = parseFloat(value); |
@@ -62,3 +62,3 @@ "use strict"; | ||
var value = typeof children === 'string' ? children.replace(',', '') : children; // Parse as float | ||
var value = typeof children === 'string' ? children.replace(/,/g, '') : children; // Parse as float | ||
@@ -109,4 +109,3 @@ value = parseFloat(value); // Input | ||
var value = typeof children === 'string' ? children.replace(',', '') : children; | ||
value = value.replace(",", ""); // Parse as float | ||
var value = typeof children === 'string' ? children.replace(/,/g, '') : children; // Parse as float | ||
@@ -113,0 +112,0 @@ value = parseFloat(value); |
{ | ||
"name": "@wfp/ui", | ||
"version": "0.17.89", | ||
"version": "0.17.90", | ||
"description": "WFP UI Kit Next", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2", |
@@ -59,3 +59,3 @@ import React from 'react'; | ||
var value = | ||
typeof children === 'string' ? children.replace(',', '') : children; | ||
typeof children === 'string' ? children.replace(/,/g, '') : children; | ||
@@ -141,6 +141,4 @@ // Parse as float | ||
var value = | ||
typeof children === 'string' ? children.replace(',', '') : children; | ||
typeof children === 'string' ? children.replace(/,/g, '') : children; | ||
value = value.replace(",", ""); | ||
// Parse as float | ||
@@ -147,0 +145,0 @@ value = parseFloat(value); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10097884
32540