Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hashicorp/hashi-image

Package Overview
Dependencies
Maintainers
9
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hashicorp/hashi-image - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

4

dist/index.js

@@ -47,7 +47,7 @@ 'use strict';

null,
preact.h('source', { type: 'image/webp', srcset: srcWebp, sizes: sizes }),
preact.h('source', { type: 'image/webp', srcSet: srcWebp, sizes: sizes }),
preact.h('img', {
'class': classes,
src: format(src, opts, aspect_ratio && aspect_ratio[2], aspect_ratio),
srcset: srcDefault,
srcSet: srcDefault,
sizes: sizes,

@@ -54,0 +54,0 @@ alt: alt

{
"name": "@hashicorp/hashi-image",
"description": "super optimized image element, pulls from dato and formats for 7 screen sizes in two formats. Skips optimization for SVGs.",
"version": "1.0.3",
"version": "1.0.4",
"author": "Hashicorp - Jeff Escalante",

@@ -18,3 +18,3 @@ "main": "dist",

},
"gitHead": "dae37c47f1751eed1ad10871c9c78e573eb2d261"
"gitHead": "f0edeaaff36e2ca621981a9217aa720e8ed23e06"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc