Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
alpine-plugin-search-ui
Advanced tools
Plugin to create a search UI on an input element with Alpine.js
This plugin creates a custom directive x-search-ui to implement a search user interface on an input.
<script defer src="https://cdn.jsdelivr.net/npm/alpine-plugin-search-ui@1.x.x/dist/cdn.min.js"></script>
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
npm i alpine-plugin-search-ui
import Alpine from 'alpinejs'
import searchUiPlugin from 'alpine-plugin-search-ui';
window.Alpine = Alpine
Alpine.plugin(searchUiPlugin)
Alpine.start()
<div x-data>
<div x-search-ui class="search-container">
<input type="text" placeholder="Search...">
</div>
</div>
To change icon color use these modifiers:
<div x-data>
<div x-search-ui.black class="search-container">
<input type="text" placeholder="Search...">
</div>
</div>
FAQs
Plugin to create a search UI on an input element with Alpine.js
We found that alpine-plugin-search-ui 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.