Socket
Socket
Sign inDemoInstall

react-imask

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-imask - npm Package Compare versions

Comparing version 6.6.1-alpha.2 to 6.6.1

2

dist/react-imask.js

@@ -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

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