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.
zoom-zoom-pan
Advanced tools
Allows panning and zooming of any element in an HTML document. Unlike other libraries I've found, this one automatically locks the bounds of zooming/panning to the bounding box of it's parent element. This way your dragable element cannot be dragged out o
Allows panning and zooming of any element in an HTML document. Unlike other libraries I've found, this one automatically locks the bounds of zooming/panning to the bounding box of it's parent element. This way your dragable element cannot be dragged out of view. This is a VanillaJS library so will work well in any project.
Yup, there are multiple other Pan/Zoom libraries out there (see below). However, I had trouble getting them to lock the panning bounds to the parent element bounding box. This Pan/Zoom implementation also utilizes CSS transforms in order to take advantage of browser GPU acceleration.
If this library doesn't fit the bill, try one of these:
FAQs
Deprecated in favor of [`@thesoulfresh/pan-z`](https://www.npmjs.com/package/@thesoulfresh/pan-z).
The npm package zoom-zoom-pan receives a total of 1 weekly downloads. As such, zoom-zoom-pan popularity was classified as not popular.
We found that zoom-zoom-pan 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.