@quintype/seo 1.40.12 → 1.40.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.40.13](https://github.com/quintype/quintype-node-seo/compare/v1.40.12...v1.40.13) (2022-10-27)
|
|
6
|
+
|
|
5
7
|
### [1.40.12](https://github.com/quintype/quintype-node-seo/compare/v1.40.11...v1.40.12) (2022-10-19)
|
|
6
8
|
|
|
7
9
|
|
package/dist/index.cjs.js
CHANGED
|
@@ -478,7 +478,7 @@ function imageUrl(publisherConfig, s3Key, width, height) {
|
|
|
478
478
|
const imageSrc = /^https?.*/.test(publisherConfig["cdn-image"]) ? publisherConfig["cdn-image"] : `https://${publisherConfig["cdn-image"]}`;
|
|
479
479
|
width = width || "";
|
|
480
480
|
height = height || "";
|
|
481
|
-
return `${imageSrc}/${s3Key}?w=${width}&h=${height}&auto=format%2Ccompress&fit=max`;
|
|
481
|
+
return `${imageSrc}/${s3Key}?w=${width}&h=${height}&auto=format%2Ccompress&fit=max&enlarge=true`;
|
|
482
482
|
}
|
|
483
483
|
|
|
484
484
|
function generateCommonData(structuredData = {}, story = {}, publisherConfig = {}, timezone) {
|
package/package.json
CHANGED
|
@@ -34,7 +34,7 @@ function imageUrl(publisherConfig, s3Key, width, height) {
|
|
|
34
34
|
: `https://${publisherConfig["cdn-image"]}`;
|
|
35
35
|
width = width || "";
|
|
36
36
|
height = height || "";
|
|
37
|
-
return `${imageSrc}/${s3Key}?w=${width}&h=${height}&auto=format%2Ccompress&fit=max`;
|
|
37
|
+
return `${imageSrc}/${s3Key}?w=${width}&h=${height}&auto=format%2Ccompress&fit=max&enlarge=true`;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
function generateCommonData(structuredData = {}, story = {}, publisherConfig = {}, timezone) {
|