Socket
Socket
Sign inDemoInstall

react-input-mask

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-input-mask - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

4

build/InputElement.js

@@ -399,4 +399,4 @@ "use strict";

if (!maskChar && value.length < mask.length) {
var substr = key + value.slice(caretPos);
value = this.insertRawSubstr(value, substr, caretPos);
value = value.slice(0, editablePos) + key + value.slice(editablePos);
value = this.insertRawSubstr("", value, 0);
} else {

@@ -403,0 +403,0 @@ value = this.insertRawSubstr(value, key, caretPos);

@@ -395,4 +395,4 @@ // https://github.com/sanniassin/react-input-mask

if (!maskChar && value.length < mask.length) {
var substr = key + value.slice(caretPos);
value = this.insertRawSubstr(value, substr, caretPos);
value = value.slice(0, editablePos) + key + value.slice(editablePos);
value = this.insertRawSubstr("", value, 0);
}

@@ -399,0 +399,0 @@ else {

{
"name": "react-input-mask",
"description": "Masked input component for React",
"version": "0.0.15",
"version": "0.0.16",
"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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc