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.
@edsardio/alpine-lightbox
Advanced tools
This package only supports Alpine v3.x
This package needs TailwindCSS
This package currently does not work fantastic with the JIT compiler
Add a dynamic lightbox to your Alpine 3.x components with a custom directive.
This plugin adds a new x-lightbox
to Alpine.
npm install @edsardio/alpine-lightbox
Register your x-lightbox
directive to Alpine.
import Alpine from "alpinejs";
import Lightbox from "@edsardio/alpine-lightbox";
Alpine.plugin(Lightbox);
window.Alpine = Alpine;
window.Alpine.start();
To create a lightbox add the directive to the element as following, this will register a click event that opens the lightbox.
<img x-lightbox="https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png" src="https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png">
FAQs
A dynamic lightbox using AlpineJS and TailwindCSS
The npm package @edsardio/alpine-lightbox receives a total of 2 weekly downloads. As such, @edsardio/alpine-lightbox popularity was classified as not popular.
We found that @edsardio/alpine-lightbox 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.
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.