Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@patternfly/pfe-autocomplete
Advanced tools
<pfe-autocomplete>
is a Web Component that provides options in a dropdown list as user types in an input box by showing result from an api call.
Read more about Autocomplete in the PatternFly Elements Autocomplete documentation
Load <pfe-autocomplete>
via CDN:
<script src="https://unpkg.com/@patternfly/pfe-autocomplete?module"></script>
Or, if you are using NPM, install it
npm install @patternfly/pfe-autocomplete
Then once installed, import it to your application:
import '@patternfly/pfe-autocomplete';
<pfe-autocomplete debounce="500" init-value="uni">
<input placeholder="Enter Your Search Term" />
</pfe-autocomplete>
const autocomplete = document.querySelector('autocomplete');
autocomplete.autocompleteRequest = function (params, callback) {
autocomplete.loading = true;
const url = new URL('http://openlibrary.org/search.json');
url.searchParams.append('title', params.query);
fetch(url.toString())
.then(x => x.json())
.then(({ docs }) => docs.map(x => x.title))
.then(callback)
.then(() => autocomplete.loading = false);
};
FAQs
Autocomplete element for PatternFly Elements
The npm package @patternfly/pfe-autocomplete receives a total of 158 weekly downloads. As such, @patternfly/pfe-autocomplete popularity was classified as not popular.
We found that @patternfly/pfe-autocomplete demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 16 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.