Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
debounce-input-decorator
Advanced tools
Decorator to easily create debounced React inputs
Installation of the npm package:
> npm install --save debounce-input-decorator
You can apply this decorator either to a DOM element or to any React component as long as it accepts onChange
and value
properties.
import debounceDecorator from 'debounce-input-decorator'
import { Input } from 'reactstrap'
const ReactStrapInputDebounced = debounceDecorator(250)(Input)
const DomInputDebounced = debounceDecorator(250)('input')
Because you usually need a input
or textarea
, those are provided
directly:
import { Input, Textarea } from 'debounce-input-decorator'
<Input
debounceTimeout={300}
// ...
/>
# Install dependencies
> yarn
# Run the tests
> yarn test
# Continuously compile
> yarn dev
# Continuously run the tests
> yarn dev-test
# Build for production (automatically called by npm install)
> yarn build
Contributions are very welcomed, either on the documentation or on the code.
You may:
ISC © Julien Fontanet
FAQs
Decorator to easily create debounced React inputs
The npm package debounce-input-decorator receives a total of 403 weekly downloads. As such, debounce-input-decorator popularity was classified as not popular.
We found that debounce-input-decorator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.