Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.6.6 to 0.6.7

6

build/InputElement.js

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

if (this.props.alwaysShowMask || value) {
if (this.mask && (this.props.alwaysShowMask || value)) {
value = this.formatValue(value);

@@ -439,2 +439,6 @@ }

if (!this.mask) {
return;
}
var newValue = nextProps.value != null ? this.getStringValue(nextProps.value) : this.state.value;

@@ -441,0 +445,0 @@

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

if (this.props.alwaysShowMask || value) {
if (this.mask && (this.props.alwaysShowMask || value)) {
value = this.formatValue(value);

@@ -430,2 +430,6 @@ }

if (!this.mask) {
return;
}
var newValue = nextProps.value != null

@@ -432,0 +436,0 @@ ? this.getStringValue(nextProps.value)

2

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