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

@coders-tm/vue-number-format

Package Overview
Dependencies
Maintainers
1
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coders-tm/vue-number-format - npm Package Compare versions

Comparing version

to
2.1.14

8

dist/index.cjs.js

@@ -37,3 +37,3 @@ /**

this.isNull = (input = this.input) =>
this.numberOnly(input, new RegExp("[^0-9]+", "gi")) === null;
!this.numberOnly(input, new RegExp("[^0-9]+", "gi"));

@@ -148,3 +148,4 @@ this.clean = (clean = false) => {

this.input = input || this.options.nullValue;
if (this.isNull()) return this.options.nullValue;
if (this.isNull() && !this.options.reverseFill)
return this.options.nullValue;
return (

@@ -166,3 +167,4 @@ this.sign() +

this.input = input || this.options.nullValue;
if (this.isNull()) return this.options.nullValue;
if (this.isNull() && !this.options.reverseFill)
return this.options.nullValue;
return this.sign() + this.realNumber();

@@ -169,0 +171,0 @@ };

@@ -33,3 +33,3 @@ /**

this.isNull = (input = this.input) =>
this.numberOnly(input, new RegExp("[^0-9]+", "gi")) === null;
!this.numberOnly(input, new RegExp("[^0-9]+", "gi"));

@@ -144,3 +144,4 @@ this.clean = (clean = false) => {

this.input = input || this.options.nullValue;
if (this.isNull()) return this.options.nullValue;
if (this.isNull() && !this.options.reverseFill)
return this.options.nullValue;
return (

@@ -162,3 +163,4 @@ this.sign() +

this.input = input || this.options.nullValue;
if (this.isNull()) return this.options.nullValue;
if (this.isNull() && !this.options.reverseFill)
return this.options.nullValue;
return this.sign() + this.realNumber();

@@ -165,0 +167,0 @@ };

{
"name": "@coders-tm/vue-number-format",
"version": "2.1.13",
"version": "2.1.14",
"private": false,

@@ -5,0 +5,0 @@ "description": "Easy formatted numbers, currency and percentage with input/directive mask for Vue.js",

@@ -9,2 +9,4 @@ [![npm Version](https://badgen.net/npm/v/@coders-tm/vue-number-format?color=green)](https://www.npmjs.com/package/@coders-tm/vue-number-format)

[![](docs/vue-number-format.gif)](https://vue-number-format.netlify.app)
Vue Number Format is used to format a number using fixed-point notation. It can be used to format a number with a specific number of digits to the right of the decimal.

@@ -11,0 +13,0 @@