
Research
Security News
Malicious npm Packages Target BSC and Ethereum to Drain Crypto Wallets
Socket uncovered four malicious npm packages that exfiltrate up to 85% of a victimβs Ethereum or BSC wallet using obfuscated JavaScript.
react-inputs-validation
Advanced tools
A react component for form inputs validation. Online demo examples.
Common questions
)npm install react-inputs-validation --save
import { Textbox, Radiobox, Checkbox, Select, Textarea } from 'react-inputs-validation';
import 'react-inputs-validation/lib/react-inputs-validation.min.css';
react@16.8.6
installed. "peerDependencies": {
"react": ">= 16.8.6",
"react-dom": ">= 16.8.6"
}
<head>
...
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/react-inputs-validation/4.9.1/react-inputs-validation.min.css"/>
</head>
<body>
<div id="root"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/16.13.1/umd/react.production.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.13.1/umd/react-dom.production.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react-inputs-validation/4.9.1/react-inputs-validation.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.21.1/babel.min.js"></script>
<script type="text/babel">
const App = React.memo(() => {
const [value, setValue] = React.useState('');
return (<Textbox value={value} onBlur={()=>{}} .../>)
});
ReactDOM.render(<App />, document.getElementById('root'));
</script>
</body>
check: false
)customFunc
)customFunc
)window.REACT_INPUTS_VALIDATION['customErrorMessage']
)customFunc
)<Textbox>
and <Textarea>
only. Handled with customFunc
)asyncMsgObj
)react-custom-flag-select
)Common questions
)Tested on IE9+ and Chrome and Safari(10.0.3)
Thanks for donating me a donut!Β Β β(β ββ’βΟββ’β β)β
Thanks goes to these wonderful people (emoji key):
Edward Xiao π» π π β οΈ π | Frank Bonnet π» | Rokas Anisas π» |
This project follows the all-contributors specification. Contributions of any kind welcome!
FAQs
A react component for form inputs validation.
The npm package react-inputs-validation receives a total of 823 weekly downloads. As such, react-inputs-validation popularity was classified as not popular.
We found that react-inputs-validation demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.Β It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket uncovered four malicious npm packages that exfiltrate up to 85% of a victimβs Ethereum or BSC wallet using obfuscated JavaScript.
Security News
TC39 advances 9 JavaScript proposals, including Array.fromAsync, Error.isError, and Explicit Resource Management, which are now headed into the ECMAScript spec.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.