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.3-alpha.0 to 6.4.3-alpha.1

4

package.json

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

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

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

},
"gitHead": "0fbfbfff14a55795c59144c74c1a0fdc2ae99133",
"gitHead": "50f36403d50dc8f9876b7e67210e5458b9bbf7f1",
"devDependencies": {

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

@@ -21,2 +21,3 @@ # React IMask Plugin

const ref = useRef(null);
const inputRef = useRef(null);
<IMaskInput

@@ -28,3 +29,3 @@ mask={Number}

ref={ref}
inputRef={el => this.input = el} // access to nested input
inputRef={inputRef} // access to nested input
// DO NOT USE onChange TO HANDLE CHANGES!

@@ -31,0 +32,0 @@ // USE onAccept INSTEAD

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