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

@wfp/ui

Package Overview
Dependencies
Maintainers
7
Versions
349
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wfp/ui - npm Package Compare versions

Comparing version 0.17.89 to 0.17.90

5

es/components/Unit/Unit.js

@@ -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);

2

package.json
{
"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

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