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.
jquery-nearest
Advanced tools
jQuery plugin to find the elements in a page that are closest to (or furthest away from) a particular point or element, based on pixel dimensions
Full documentation is at http://gilmoreorless.github.io/jquery-nearest/
Demo: http://gilmoreorless.github.io/jquery-nearest/demo.html
Method signatures:
$.nearest({x, y}, selector)
- find $(selector)
closest to x/y point on screen$(elem).nearest(selector)
- find $(selector)
closest to elem$(elemSet).nearest({x, y})
- filter $(elemSet)
and return closest to x/y point on screenReverse logic:
$.furthest()
$(elem).furthest()
Intersecting/touching:
$.touching()
$(elem).touching()
FAQs
jQuery plugin to find the elements in a page that are closest to (or furthest away from) a particular point or element, based on pixel dimensions
The npm package jquery-nearest receives a total of 19,584 weekly downloads. As such, jquery-nearest popularity was classified as popular.
We found that jquery-nearest 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.