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.
ember-cli-autocomplete-input
Advanced tools
An autocomplete text input for Ember that manages common actions and handles keyboard interactions
An autocomplete text input for Ember.
ember install ember-cli-autocomplete-input
You can include the component in any of your templates:
{{autocomplete-input name=name results=results updateTerm="updateTerm" selectResult="selectResult"}}
The autocomplete-input
component takes the following arguments
The name variable will be set on the input tag as both the name attribute as well as the id attribute, allowing focus to be triggered by clicking a label tag.
The results array contains the current list of results objects.
The attribute on an object in the results
array that will be used as the display in the results list.
The attribute on an object in the results
array that will be used to check a result to the currently highlighted result in the results list.
The autocomplete-input
component exposes the following actions which respond to user interaction:
This is fired when a result item is clicked or the enter
key is pressed while a result is highlighted.
The selected result is passed as the only argument.
This is fired when the term is updated by typing into the bound input field.
Use this action to update your results
array.
This is fired when the esc
key is pressed.
Use this action handle a clear of the search, ie clear results array and search term.
FAQs
An autocomplete text input for Ember that manages common actions and handles keyboard interactions
We found that ember-cli-autocomplete-input 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.
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.