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.7.6 to 0.7.7

7

build/InputElement.js

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

if (pos === null || filledLen < pos) {
this.setCaretPos(this.getRightEditablePos(filledLen));
if (this.isFilled(newValue)) {
pos = filledLen;
} else {
pos = this.getRightEditablePos(filledLen);
}
this.setCaretPos(pos);
}

@@ -474,0 +479,0 @@ }

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

if (pos === null || filledLen < pos) {
this.setCaretPos(this.getRightEditablePos(filledLen));
if (this.isFilled(newValue)) {
pos = filledLen;
}
else {
pos = this.getRightEditablePos(filledLen);
}
this.setCaretPos(pos);
}

@@ -466,0 +472,0 @@ }

2

package.json
{
"name": "react-input-mask",
"description": "Masked input component for React",
"version": "0.7.6",
"version": "0.7.7",
"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