Huge News!Announcing our $40M Series B led by Abstract Ventures.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.10 to 1.1.1

2

event-listener.js

@@ -38,3 +38,3 @@ 'use strict';

if (mask === 'money') {
input.value = _vanillaMasker2.default.toMoney(input.value);
input.value = _vanillaMasker2.default.toMoney(input.value, { showSignal: true });
} else {

@@ -41,0 +41,0 @@ input.value = mask && mask.length > 0 ? _vanillaMasker2.default.toPattern(input.value, mask) : input.value;

@@ -22,3 +22,3 @@ 'use strict';

if (isMoney && inputText.value.length > 0) {
inputText.value = _vanillaMasker2.default.toMoney(inputText.value);
inputText.value = _vanillaMasker2.default.toMoney(inputText.value, { showSignal: true });
} else {

@@ -25,0 +25,0 @@ inputText.value = mask && mask.length > 0 ? _vanillaMasker2.default.toPattern(inputText.value, mask) : inputText.value;

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

@@ -11,3 +11,3 @@ "main": "index.js",

"dependencies": {
"vanilla-masker": "^1.0.9",
"vanilla-masker": "^1.2.0",
"vue": "^2.0.1"

@@ -14,0 +14,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