New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@coders-tm/vue-number-format

Package Overview
Dependencies
Maintainers
1
Versions
115
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 2.1.13 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 @@

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