From d0dc27adfd19a1a263429d39937888a9dfba2f5f Mon Sep 17 00:00:00 2001 From: gkr-bot Date: Sat, 9 Mar 2024 21:50:12 +0000 Subject: [PATCH] [skip-ci] Published 1.8.7 --- dist/blog-post-workflow.js | 4 +--- package.json | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dist/blog-post-workflow.js b/dist/blog-post-workflow.js index d8230bd..481ec41 100644 --- a/dist/blog-post-workflow.js +++ b/dist/blog-post-workflow.js @@ -9862,7 +9862,6 @@ var require_filters = __commonJS({ return item2; } }); - var ignoreMediumComments2 = (item2) => !(COMMENT_FILTERS.indexOf("medium") !== -1 && item2.link && item2.link.includes("medium.com") && item2.categories === void 0); var ignoreStackOverflowComments2 = (item2) => !(COMMENT_FILTERS.indexOf("stackoverflow") !== -1 && item2.link && item2.link.includes("stackoverflow.com") && item2.title.startsWith(FILTER_PARAMS.stackoverflow.replace(/\$author/g, item2.author))); var ignoreStackExchangeComments2 = (item2) => !(COMMENT_FILTERS.indexOf("stackexchange") !== -1 && item2.link && item2.link.includes("stackexchange.com") && item2.title.startsWith(FILTER_PARAMS.stackexchange.replace(/\$author/g, item2.author))); var dateFilter2 = (item2) => { @@ -9890,7 +9889,6 @@ var require_filters = __commonJS({ } }; module2.exports = { - ignoreMediumComments: ignoreMediumComments2, ignoreStackOverflowComments: ignoreStackOverflowComments2, ignoreStackExchangeComments: ignoreStackExchangeComments2, dateFilter: dateFilter2 @@ -9986,7 +9984,7 @@ feedList.forEach((siteUrl) => { const responsePosts = data.items; const appendedPostTitles = []; const appendedPostDesc = []; - const posts = responsePosts.filter(ignoreMediumComments).filter(ignoreStackOverflowComments).filter(ignoreStackExchangeComments).filter(dateFilter).map((item) => { + const posts = responsePosts.filter(ignoreStackOverflowComments).filter(ignoreStackExchangeComments).filter(dateFilter).map((item) => { if (ENABLE_SORT && ENABLE_VALIDATION && !item.pubDate) { reject("Cannot read response->item->pubDate"); } diff --git a/package.json b/package.json index dbcffca..68d0333 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "blog-post-workflow", - "version": "1.8.6", + "version": "1.8.7", "description": "Allows you to show your latest blog posts on your github profile or project readme", "main": "blog-post-workflow.js", "scripts": {