Socket
Socket
Sign inDemoInstall

react-imask

Package Overview
Dependencies
2
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.3.0-alpha.0 to 6.3.0

6

package.json

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

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

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

"dependencies": {
"imask": "^6.3.0-alpha.0",
"imask": "^6.3.0",
"prop-types": "^15.7.2"

@@ -34,3 +34,3 @@ },

},
"gitHead": "89ea815984ff2ca015974ff1ecb8e8df727bfc07",
"gitHead": "6398d283ca0fbc96551ae3fd1fe544961abff799",
"devDependencies": {

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

@@ -74,3 +74,12 @@ # React IMask Plugin

const [ opts, setOpts ] = useState({ mask: Number });
const { ref, maskRef } = useIMask(opts);
const {
ref,
maskRef,
value,
setValue,
unmaskedValue,
setUnmaskedValue,
typedValue,
setTypedValue,
} = useIMask(opts);

@@ -77,0 +86,0 @@ return (

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc