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

awesome-mask

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

awesome-mask - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

6

index.js

@@ -42,6 +42,7 @@ 'use strict';

var inputText = getInputText(el);
inputText.dataset.mask = binding.value;
if (binding.value === 'money') {
isMoney = true;
} else {
inputText.setAttribute('maxlength', binding.value.length);
inputText.setAttribute('maxlength', inputText.dataset.mask.length);
}

@@ -59,3 +60,4 @@ applyMaskToDefault(inputText, binding.value, isMoney);

}
inputText.setAttribute('maxlength', binding.value.mask.length);
inputText.dataset.mask = binding.value;
inputText.setAttribute('maxlength', inputText.dataset.mask.length);
applyMaskToDefault(inputText, binding.value);

@@ -62,0 +64,0 @@ },

{
"name": "awesome-mask",
"version": "1.0.7",
"version": "1.0.8",
"description": "An awesome mask directive for Vue.js using vanilla-masker from `https://github.com/BankFacil/vanilla-masker`",

@@ -5,0 +5,0 @@ "main": "index.js",

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