Socket
Socket
Sign inDemoInstall

react-input-mask

Package Overview
Dependencies
0
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.8 to 0.0.9

2

build/InputElement.js

@@ -106,3 +106,3 @@ "use strict";

var charRule = this.charsRules[ruleChar];
return new RegExp(charRule).test(char);
return new RegExp(charRule).test(char || "");
},

@@ -109,0 +109,0 @@ isPermanentChar: function isPermanentChar(pos, newState) {

@@ -96,3 +96,3 @@ // https://github.com/sanniassin/react-input-mask

var charRule = this.charsRules[ruleChar];
return (new RegExp(charRule)).test(char);
return (new RegExp(charRule)).test(char || "");
},

@@ -99,0 +99,0 @@ isPermanentChar: function(pos, newState) {

{
"name": "react-input-mask",
"description": "Masked input component for React",
"version": "0.0.8",
"version": "0.0.9",
"homepage": "https://github.com/sanniassin/react-input-mask",

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

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