gatsby-plugin-storyblok-image
Advanced tools
Comparing version 2.0.5 to 2.0.6
@@ -6,3 +6,2 @@ "use strict"; | ||
exports.defaultOptions = { | ||
quality: 100, | ||
smartCrop: true, | ||
@@ -9,0 +8,0 @@ outputPixelDensities: [1, 2, 3], |
@@ -97,4 +97,4 @@ "use strict"; | ||
...options, | ||
width: currentWidth, | ||
height: currentHeight | ||
width: currentWidth === dimensions.width ? undefined : currentWidth, | ||
height: currentHeight === dimensions.height ? undefined : currentHeight | ||
}); | ||
@@ -101,0 +101,0 @@ return `${url} ${resolution}`; |
@@ -15,3 +15,2 @@ export interface GetGatsbyImageOptions { | ||
export interface MergedGetGatsbyImageOptions extends GetGatsbyImageOptions { | ||
quality: number; | ||
outputPixelDensities: number[]; | ||
@@ -18,0 +17,0 @@ breakpoints: number[]; |
{ | ||
"name": "gatsby-plugin-storyblok-image", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"description": "Adds gatsby-plugin-image to Gatsby & Storyblok as a content source.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
16057
308