react-imask
Advanced tools
Comparing version 6.6.1-alpha.2 to 6.6.1
@@ -150,3 +150,3 @@ (function (global, factory) { | ||
set maskValue(value) { | ||
value = value == null ? '' : value; | ||
value = value == null && this.props.unmask !== 'typed' ? '' : value; | ||
if (this.props.unmask === 'typed') this.maskRef.typedValue = value;else if (this.props.unmask) this.maskRef.unmaskedValue = value;else this.maskRef.value = value; | ||
@@ -153,0 +153,0 @@ } |
@@ -127,3 +127,3 @@ import { a as _objectDestructuringEmpty } from './_rollupPluginBabelHelpers-2cac7098.js'; | ||
set maskValue(value) { | ||
value = value == null ? '' : value; | ||
value = value == null && this.props.unmask !== 'typed' ? '' : value; | ||
if (this.props.unmask === 'typed') this.maskRef.typedValue = value;else if (this.props.unmask) this.maskRef.unmaskedValue = value;else this.maskRef.value = value; | ||
@@ -130,0 +130,0 @@ } |
{ | ||
"name": "react-imask", | ||
"version": "6.6.1-alpha.2", | ||
"version": "6.6.1", | ||
"license": "MIT", | ||
@@ -23,3 +23,3 @@ "author": "Alexey Kryazhev", | ||
"dependencies": { | ||
"imask": "^6.6.1-alpha.2", | ||
"imask": "^6.6.1", | ||
"prop-types": "^15.8.1" | ||
@@ -33,3 +33,3 @@ }, | ||
}, | ||
"gitHead": "4292f69c93bc2651c7221f87424842391267159d", | ||
"gitHead": "2c3f872ca200ae7622aad6922b7d3092a175931f", | ||
"devDependencies": { | ||
@@ -36,0 +36,0 @@ "@types/react": "^18.0.20", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
74572
0
Updatedimask@^6.6.1