Socket
Socket
Sign inDemoInstall

to-percent-js

Package Overview
Dependencies
2
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.0 to 0.3.1

2

build/cjs/src/index.js

@@ -53,3 +53,3 @@ "use strict";

if (-1 !== maybeString.indexOf('.') || maybeFloat.indexOf && -1 !== maybeFloat.indexOf('.')) {
if (-1 !== maybeString.indexOf(".")) {
return maybeFloat;

@@ -56,0 +56,0 @@ } else {

@@ -38,3 +38,3 @@ import _typeof from "reshow-runtime/es/helpers/typeof";

if (-1 !== maybeString.indexOf('.') || maybeFloat.indexOf && -1 !== maybeFloat.indexOf('.')) {
if (-1 !== maybeString.indexOf(".")) {
return maybeFloat;

@@ -41,0 +41,0 @@ } else {

{
"name": "to-percent-js",
"version": "0.3.0",
"version": "0.3.1",
"description": "Change number to percentage.",

@@ -5,0 +5,0 @@ "repository": "react-atomic/react-atomic-organism",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc