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.
@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 docsaspectRatio
(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 12 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.
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.