Skip to content

Commit

Permalink
[skip-ci] Published 1.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
gkr-bot committed Mar 9, 2024
1 parent cbd6438 commit d0dc27a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions dist/blog-post-workflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down Expand Up @@ -9890,7 +9889,6 @@ var require_filters = __commonJS({
}
};
module2.exports = {
ignoreMediumComments: ignoreMediumComments2,
ignoreStackOverflowComments: ignoreStackOverflowComments2,
ignoreStackExchangeComments: ignoreStackExchangeComments2,
dateFilter: dateFilter2
Expand Down Expand Up @@ -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");
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit d0dc27a

Please sign in to comment.