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

vuetify-masked

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vuetify-masked - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

2

package.json
{
"name": "vuetify-masked",
"description": "vuetify masked textfield and filter",
"version": "1.1.2",
"version": "1.1.3",
"author": "Kim Mannstedt <k.mannstedt+dev@gmail.com>",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -7,3 +7,3 @@ import {clearValue} from './preparator'

if(value != null) {
if(value !== null && value !== '') {
result += clearValue(value, charsToClear)

@@ -10,0 +10,0 @@ if(type !== 'integer' && value !== '-' && value !== '+') {

@@ -10,3 +10,3 @@ import { clearValue } from './preparator'

let maskSuffix = ''
if(value != null) {
if(value !== null && value !== '') {
let arrayValue = value.toString().split("")

@@ -50,3 +50,3 @@ for(var i = 0; i < mask.length; i++) {

if(value != null && value !== '-' && value !== '+') {
if(value !== null && value !== '' && value !== '-' && value !== '+') {
result = parseFloat(value).toLocaleString(locale, {minimumFractionDigits: precision, maximumFractionDigits: precision})

@@ -53,0 +53,0 @@ } else if (value === '-' || value === '+') {

export function clearValue(value, charsToClear) {
let result = ''
if(value != null) {
if(value !== null && value !== '') {
let arrayValue = value.toString().split('')

@@ -5,0 +5,0 @@ for(var i = 0; i < arrayValue.length; i++) {

Sorry, the diff of this file is not supported yet

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