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.4.1-alpha.0 to 6.4.1

4

package.json

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "6.4.1-alpha.0",
"version": "6.4.1",
"homepage": "https://imask.js.org/",

@@ -33,3 +33,3 @@ "description": "React input mask",

},
"gitHead": "52eb25edb42b436fe2c66c74fddbda82f110429f",
"gitHead": "0b04f2c44bd1f3f04b33cc80e624bc531dfc425e",
"devDependencies": {

@@ -36,0 +36,0 @@ "@types/react": "^17.0.15",

@@ -16,4 +16,7 @@ # React IMask Plugin

```javascript
import { useRef } from 'react';
import { IMaskInput } from 'react-imask';
// use ref to get access to internal "masked = ref.current.maskRef"
const ref = useRef(null);
<IMaskInput

@@ -24,2 +27,3 @@ mask={Number}

unmask={true} // true|false|'typed'
ref={ref}
inputRef={el => this.input = el} // access to nested input

@@ -93,8 +97,3 @@ // DO NOT USE onChange TO HANDLE CHANGES!

## Many Thanks to
[@Yordis Prieto](https://github.com/yordis)
[@Alexander Kiselev](https://github.com/MaaKut)
## Support Development
[Paypal](https://www.paypal.me/alexeykryazhev/3)
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