@hashicorp/hashi-image
Advanced tools
Comparing version 0.3.1 to 1.0.0
@@ -30,5 +30,7 @@ 'use strict'; | ||
// handle aspect ratios passed as a string | ||
// handle aspect ratios & steps passed as a string | ||
aspect_ratio = typeof aspect_ratio === 'string' ? aspect_ratio.split(',').map(Number) : aspect_ratio; | ||
steps = typeof steps === 'string' ? steps.split(',').map(Number) : steps; | ||
if (svg && svg !== 'false') { | ||
@@ -35,0 +37,0 @@ // if it's an SVG, we don't need the picture element, so return |
{ | ||
"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": "0.3.1", | ||
"version": "1.0.0", | ||
"author": "Hashicorp - Jeff Escalante", | ||
"main": "dist", | ||
"peerDependencies": { | ||
"object-assign": "^4.1.1", | ||
"preact": "^8.2.6" | ||
"preact": "^8.2.7" | ||
}, | ||
@@ -10,0 +11,0 @@ "publishConfig": { |
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
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
4040
0
61
2
1