@hashicorp/hashi-image
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0