Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
react-select-search
Advanced tools
React powered selectbox with filter using fuse.js (Javascript fuzzy-search).
This is a work in progress and it may be a little buggy at this time. But feel free to test it and report any found bugs.
Example design comes from the beautiful work by Rovane Durso.
Live demo can be found here: http://tbleckert.github.io/react-select-search/
Install it with npm (npm install react-select-search --save
) and require it like you normally would.
React.render(
<SelectSearch
name="country"
value="SE"
placeholder="Choose country"
multiple={false}
height={height in pixels, used if multiple select}
className="my-selectbox"
options={objectWithOptions}
fuse={fuseJsOptions}
optionSelected={callbackWhenOptionMarked}
valueChanged={callbackWhenValueChanged}
renderOption={modifyOptionHtml}
onMount={componentDidMountCallback}
onFocus={searchFocusCallback}
onBlur={searchBlurCallback} />,
document.getElementById('selectSearch')
);
These are all available options. The React component renders a hidden field with the name property and the current value to use in forms.
FAQs
Lightweight select component for React
The npm package react-select-search receives a total of 17,190 weekly downloads. As such, react-select-search popularity was classified as popular.
We found that react-select-search demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.