From 24e05ef845b678e208b9a74a636eb11252ec288b Mon Sep 17 00:00:00 2001 From: Ryan Barnett Date: Fri, 29 Mar 2024 10:54:51 -0400 Subject: [PATCH] chore: add changeset for resizerURLs patch --- .changeset/fuzzy-shirts-greet.md | 15 ++++ package-lock.json | 140 +++++++++++++++---------------- 2 files changed, 85 insertions(+), 70 deletions(-) create mode 100644 .changeset/fuzzy-shirts-greet.md diff --git a/.changeset/fuzzy-shirts-greet.md b/.changeset/fuzzy-shirts-greet.md new file mode 100644 index 00000000..8b6e284f --- /dev/null +++ b/.changeset/fuzzy-shirts-greet.md @@ -0,0 +1,15 @@ +--- +"@wpmedia/rss-google-news-feature-block": patch +"@wpmedia/rss-flipboard-feature-block": patch +"@wpmedia/sitemap-index-feature-block": patch +"@wpmedia/sitemap-video-feature-block": patch +"@wpmedia/sitemap-news-feature-block": patch +"@wpmedia/rss-alexa-feature-block": patch +"@wpmedia/rss-fbia-feature-block": patch +"@wpmedia/rss-msn-feature-block": patch +"@wpmedia/mrss-feature-block": patch +"@wpmedia/ans-feature-block": patch +"@wpmedia/rss-feature-block": patch +--- + +Add support for a resizerURLs object that can specify a url per environment diff --git a/package-lock.json b/package-lock.json index 284358f2..5d2e255b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -43,19 +43,19 @@ }, "blocks/ans-feature-block": { "name": "@wpmedia/ans-feature-block", - "version": "1.15.0", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { - "@wpmedia/feeds-resizer": "^1.0.8 || ^2.0.0" + "@wpmedia/feeds-resizer": "^2.0.0" } }, "blocks/feeds-source-collections-block": { "name": "@wpmedia/feeds-source-collections-block", - "version": "1.15.0", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { "@wpmedia/feeds-content-source-utils": "^1.0.8", - "@wpmedia/feeds-resizer": "^1.0.8 || ^2.0.0", + "@wpmedia/feeds-resizer": "^2.0.0", "axios": "^1.6.7" }, "devDependencies": { @@ -64,11 +64,11 @@ }, "blocks/feeds-source-content-api-block": { "name": "@wpmedia/feeds-source-content-api-block", - "version": "1.15.0", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { "@wpmedia/feeds-content-source-utils": "^1.0.8", - "@wpmedia/feeds-resizer": "^1.0.8 || ^2.0.0", + "@wpmedia/feeds-resizer": "^2.0.0", "axios": "^1.6.7" }, "devDependencies": { @@ -77,11 +77,11 @@ }, "blocks/feeds-source-content-api-by-day-block": { "name": "@wpmedia/feeds-source-content-api-by-day-block", - "version": "1.15.0", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { "@wpmedia/feeds-content-source-utils": "^1.0.8", - "@wpmedia/feeds-resizer": "^1.0.8 || ^2.0.0", + "@wpmedia/feeds-resizer": "^2.0.0", "axios": "^1.6.7", "moment": "^2.29.4" }, @@ -91,11 +91,11 @@ }, "blocks/feeds-source-content-api-by-day2-block": { "name": "@wpmedia/feeds-source-content-api-by-day2-block", - "version": "1.15.0", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { "@wpmedia/feeds-content-source-utils": "^1.0.8", - "@wpmedia/feeds-resizer": "^1.0.8 || ^2.0.0", + "@wpmedia/feeds-resizer": "^2.0.0", "axios": "^1.6.7", "moment": "^2.29.4" }, @@ -105,11 +105,11 @@ }, "blocks/feeds-source-content-api-by-day3-block": { "name": "@wpmedia/feeds-source-content-api-by-day3-block", - "version": "1.15.0", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { "@wpmedia/feeds-content-source-utils": "^1.0.8", - "@wpmedia/feeds-resizer": "^1.0.8 || ^2.0.0", + "@wpmedia/feeds-resizer": "^2.0.0", "axios": "^1.6.7", "moment": "^2.29.4" }, @@ -119,10 +119,10 @@ }, "blocks/feeds-source-single-content-block": { "name": "@wpmedia/feeds-source-single-content-block", - "version": "1.15.0", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { - "@wpmedia/feeds-resizer": "^1.0.8 || ^2.0.0", + "@wpmedia/feeds-resizer": "^2.0.0", "axios": "^1.6.7" }, "devDependencies": { @@ -131,10 +131,10 @@ }, "blocks/feeds-source-video-api-block": { "name": "@wpmedia/feeds-source-video-api-block", - "version": "1.8.0", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { - "@wpmedia/feeds-resizer": "^1.0.8 || ^2.0.0", + "@wpmedia/feeds-resizer": "^2.0.0", "axios": "^1.6.7" }, "devDependencies": { @@ -148,24 +148,24 @@ }, "blocks/mrss-feature-block": { "name": "@wpmedia/mrss-feature-block", - "version": "1.15.0", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { - "@wpmedia/feeds-promo-items": "^1.0.8 || ^2.0.0", - "@wpmedia/feeds-prop-types": "^1.0.10 || ^2.0.0", - "@wpmedia/feeds-resizer": "^1.0.8 || ^2.0.0", + "@wpmedia/feeds-promo-items": "^2.0.0", + "@wpmedia/feeds-prop-types": "^2.0.0", + "@wpmedia/feeds-resizer": "^2.0.0", "jmespath": "^0.15.0", "moment": "^2.29.4" } }, "blocks/rss-alexa-feature-block": { "name": "@wpmedia/rss-alexa-feature-block", - "version": "1.15.0", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { - "@wpmedia/feeds-content-elements": "^1.0.10 || ^2.0.0", - "@wpmedia/feeds-prop-types": "^1.0.10 || ^2.0.0", - "@wpmedia/feeds-resizer": "^1.0.8 || ^2.0.0", + "@wpmedia/feeds-content-elements": "^2.0.0", + "@wpmedia/feeds-prop-types": "^2.0.0", + "@wpmedia/feeds-resizer": "^2.0.0", "cheerio": "1.0.0-rc.10", "jmespath": "^0.15.0", "moment": "^2.29.4" @@ -302,13 +302,13 @@ }, "blocks/rss-fbia-feature-block": { "name": "@wpmedia/rss-fbia-feature-block", - "version": "1.15.0", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { - "@wpmedia/feeds-content-elements": "^1.0.10 || ^2.0.0", - "@wpmedia/feeds-promo-items": "^1.0.8 || ^2.0.0", - "@wpmedia/feeds-prop-types": "^1.0.10 || ^2.0.0", - "@wpmedia/feeds-resizer": "^1.0.8 || ^2.0.0", + "@wpmedia/feeds-content-elements": "^2.0.0", + "@wpmedia/feeds-promo-items": "^2.0.0", + "@wpmedia/feeds-prop-types": "^2.0.0", + "@wpmedia/feeds-resizer": "^2.0.0", "jmespath": "^0.15.0", "moment": "^2.29.4", "xmlbuilder2": "2.1.7" @@ -342,68 +342,68 @@ }, "blocks/rss-feature-block": { "name": "@wpmedia/rss-feature-block", - "version": "1.15.0", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { - "@wpmedia/feeds-content-elements": "^1.0.10 || ^2.0.0", - "@wpmedia/feeds-promo-items": "^1.0.8 || ^2.0.0", - "@wpmedia/feeds-prop-types": "^1.0.10 || ^2.0.0", - "@wpmedia/feeds-resizer": "^1.0.8 || ^2.0.0", + "@wpmedia/feeds-content-elements": "^2.0.0", + "@wpmedia/feeds-promo-items": "^2.0.0", + "@wpmedia/feeds-prop-types": "^2.0.0", + "@wpmedia/feeds-resizer": "^2.0.0", "jmespath": "^0.15.0", "moment": "^2.29.4" } }, "blocks/rss-flipboard-feature-block": { "name": "@wpmedia/rss-flipboard-feature-block", - "version": "1.15.0", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { - "@wpmedia/feeds-content-elements": "^1.0.10 || ^2.0.0", - "@wpmedia/feeds-promo-items": "^1.0.8 || ^2.0.0", - "@wpmedia/feeds-prop-types": "^1.0.10 || ^2.0.0", - "@wpmedia/feeds-resizer": "^1.0.8 || ^2.0.0", + "@wpmedia/feeds-content-elements": "^2.0.0", + "@wpmedia/feeds-promo-items": "^2.0.0", + "@wpmedia/feeds-prop-types": "^2.0.0", + "@wpmedia/feeds-resizer": "^2.0.0", "jmespath": "^0.15.0", "moment": "^2.29.4" } }, "blocks/rss-google-news-feature-block": { "name": "@wpmedia/rss-google-news-feature-block", - "version": "1.15.0", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { - "@wpmedia/feeds-content-elements": "^1.0.10 || ^2.0.0", - "@wpmedia/feeds-promo-items": "^1.0.8 || ^2.0.0", - "@wpmedia/feeds-prop-types": "^1.0.10 || ^2.0.0", - "@wpmedia/feeds-resizer": "^1.0.8 || ^2.0.0", + "@wpmedia/feeds-content-elements": "^2.0.0", + "@wpmedia/feeds-promo-items": "^2.0.0", + "@wpmedia/feeds-prop-types": "^2.0.0", + "@wpmedia/feeds-resizer": "^2.0.0", "jmespath": "^0.15.0", "moment": "^2.29.4" } }, "blocks/rss-msn-feature-block": { "name": "@wpmedia/rss-msn-feature-block", - "version": "1.15.0", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { - "@wpmedia/feeds-content-elements": "^1.0.10 || ^2.0.0", - "@wpmedia/feeds-promo-items": "^1.0.8 || ^2.0.0", - "@wpmedia/feeds-prop-types": "^1.0.10 || ^2.0.0", - "@wpmedia/feeds-resizer": "^1.0.8 || ^2.0.0", + "@wpmedia/feeds-content-elements": "^2.0.0", + "@wpmedia/feeds-promo-items": "^2.0.0", + "@wpmedia/feeds-prop-types": "^2.0.0", + "@wpmedia/feeds-resizer": "^2.0.0", "jmespath": "^0.15.0", "moment": "^2.29.4" } }, "blocks/sitemap-feature-block": { "name": "@wpmedia/sitemap-feature-block", - "version": "1.15.0", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { - "@wpmedia/feeds-promo-items": "^1.0.8 || ^2.0.0", - "@wpmedia/feeds-prop-types": "^1.0.8 || ^2.0.0" + "@wpmedia/feeds-promo-items": "^2.0.0", + "@wpmedia/feeds-prop-types": "^2.0.0" } }, "blocks/sitemap-index-by-day-feature-block": { "name": "@wpmedia/sitemap-index-by-day-feature-block", - "version": "1.15.0", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { "moment": "^2.29.4" @@ -414,7 +414,7 @@ }, "blocks/sitemap-index-feature-block": { "name": "@wpmedia/sitemap-index-feature-block", - "version": "1.15.0", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { "jmespath": "^0.15.0" @@ -425,35 +425,35 @@ }, "blocks/sitemap-news-feature-block": { "name": "@wpmedia/sitemap-news-feature-block", - "version": "1.15.0", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { - "@wpmedia/feeds-promo-items": "^1.0.8 || ^2.0.0", - "@wpmedia/feeds-prop-types": "^1.0.8 || ^2.0.0", + "@wpmedia/feeds-promo-items": "^2.0.0", + "@wpmedia/feeds-prop-types": "^2.0.0", "jmespath": "^0.15.0" } }, "blocks/sitemap-section-feature-block": { "name": "@wpmedia/sitemap-section-feature-block", - "version": "1.15.0", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { - "@wpmedia/feeds-prop-types": "^1.0.8 || ^2.0.0" + "@wpmedia/feeds-prop-types": "^2.0.0" } }, "blocks/sitemap-section-index-feature-block": { "name": "@wpmedia/sitemap-section-index-feature-block", - "version": "1.15.0", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0" }, "blocks/sitemap-video-feature-block": { "name": "@wpmedia/sitemap-video-feature-block", - "version": "1.15.0", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { "@wpmedia/feeds-find-video-stream": "^1.0.8", - "@wpmedia/feeds-prop-types": "^1.0.8 || ^2.0.0", - "@wpmedia/feeds-resizer": "^1.0.8 || ^2.0.0", + "@wpmedia/feeds-prop-types": "^2.0.0", + "@wpmedia/feeds-resizer": "^2.0.0", "jmespath": "^0.15.0" } }, @@ -22048,11 +22048,11 @@ }, "utils/content-elements": { "name": "@wpmedia/feeds-content-elements", - "version": "1.0.10", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { "@wpmedia/feeds-find-video-stream": "^1.0.8", - "@wpmedia/feeds-resizer": "^1.0.8 || ^2.0.0", + "@wpmedia/feeds-resizer": "^2.0.0", "cheerio": "1.0.0-rc.10", "he": "^1.2.0", "jmespath": "^0.15.0", @@ -22312,11 +22312,11 @@ }, "utils/promo-items": { "name": "@wpmedia/feeds-promo-items", - "version": "1.0.8", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { "@wpmedia/feeds-find-video-stream": "^1.0.8", - "@wpmedia/feeds-resizer": "^1.0.8 || ^2.0.0", + "@wpmedia/feeds-resizer": "^2.0.0", "jmespath": "^0.15.0" }, "devDependencies": { @@ -22325,7 +22325,7 @@ }, "utils/prop-types": { "name": "@wpmedia/feeds-prop-types", - "version": "1.0.10", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0", "devDependencies": { "prop-types": "^15.7.2", @@ -22334,7 +22334,7 @@ }, "utils/resizer": { "name": "@wpmedia/feeds-resizer", - "version": "1.0.8", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { "axios": "^1.6.7", @@ -22346,7 +22346,7 @@ }, "utils/xml-output": { "name": "@wpmedia/feeds-xml-output", - "version": "1.1.0", + "version": "2.0.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { "xmlbuilder2": "2.1.2"