Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

react-maskfy

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.1 to 2.0.2

2

maskfy.js

@@ -79,3 +79,3 @@ import { Component } from 'react';

let _valueFormat;
if(!_mask) return console.error(new Error('Maskfy: Insert input mask required. Ex.: Maskfy({mask: "9999-99-99"})'));
if(!_mask) return true;
if(_mask.length>=_value.length){

@@ -82,0 +82,0 @@ _valueFormat = _value.replace((_letters ? /\W/g : /\D/g), '').split('');

{
"name": "react-maskfy",
"version": "2.0.1",
"version": "2.0.2",
"description": "A React library without a dependency... Very simple to install and use. With only 1kb (gzip) code, IE Compatibility, it's also well accepted on mobile devices",

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

@@ -1,2 +0,2 @@

# Maskfy (2.0.0) - Input Mask Simple
# Maskfy (2.0.2) - Input Mask Simple
A React library without a dependency... Very simple to install and use. With only 1kb (gzip) code, IE Compatibility, it's also well accepted on mobile devices

@@ -3,0 +3,0 @@ ## Install / Usage

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc