Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@hashicorp/hashi-image
Advanced tools
super optimized image element, pulls from dato and formats for 7 screen sizes in two formats. Skips optimization for SVGs.
Super optimized image element, pulls from dato and formats for 7 screen sizes in two formats. Skips optimization for SVGs.
src
(str): url of the image docssteps
(arr): [optional] array of screen sizes to optimize forsizes
(str): [optional] same as sizes on an img tag docsclasses
(str): [optional] any classes to be added to the imagealt
(str): [optional] alt text for the image docsaspect_ratio
(arr or str): [optional] automatically crops to aspect ratio. first two items in the array are the ratio (ex. [16,9]
), and the third is the base width that images will be cropped to in IE, which doesn't support srcset (ex. [16,9,500]
). if string is provided, brackets should be excluded (ex. 16,9,500
). string will be converted to arrayparams
(obj): [optional] params passed directly to imgixhero
logo-grid
nav
person-list
resource-list
text-and-image
FAQs
super optimized image element, pulls from dato and formats for 7 screen sizes in two formats. Skips optimization for SVGs.
The npm package @hashicorp/hashi-image receives a total of 0 weekly downloads. As such, @hashicorp/hashi-image popularity was classified as not popular.
We found that @hashicorp/hashi-image demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 16 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.