Skip to content

Commit 156bae3

Browse files
committed
v7.0.8
- Merge pr #119 by @olsonpm (issue #118) - Add link to GitHub Action Wrapper by @chriscarrollsmith (issue #114) - Update dependencies, CI settings & examples
1 parent 306b847 commit 156bae3

File tree

8 files changed

+23
-14
lines changed

8 files changed

+23
-14
lines changed

.github/workflows/ci-test.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ on: [push, pull_request]
88
jobs:
99
test:
1010

11-
runs-on: ubuntu-22.04
11+
runs-on: ubuntu-latest
1212

1313
strategy:
1414
matrix:
15-
node_version: [16.x, 18.x, 20.x]
15+
node_version: [18.x, 20.x, 21.x]
1616

1717
steps:
1818
- uses: actions/checkout@v3
1919

2020
- name: setup Node.js v${{ matrix.node_version }}
21-
uses: actions/setup-node@v3
21+
uses: actions/setup-node@v4
2222
with:
2323
node-version: ${{ matrix.node_version }}
2424

@@ -31,8 +31,8 @@ jobs:
3131
npm run build --if-present
3232
npm run test
3333
34-
- name: sync to coveralls
35-
uses: coverallsapp/github-action@v1.1.2
34+
- name: Report Coveralls
35+
uses: coverallsapp/github-action@v2
3636
with:
3737
github-token: ${{ secrets.GITHUB_TOKEN }}
3838

.github/workflows/codeql-analysis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@ import { extract } from 'https://esm.sh/@extractus/feed-extractor'
4848

4949
Please check [the examples](https://github.com/extractus/feed-extractor/tree/main/examples) for reference.
5050

51+
52+
## Automate RSS feed extraction with GitHub Actions
53+
54+
[RSS Feed Fetch Action](https://github.com/Promptly-Technologies-LLC/rss-fetch-action) is a GitHub Action designed to automate the fetching of RSS feeds.
55+
It fetches an RSS feed from a given URL and saves it to a specified file in your GitHub repository.
56+
This action is particularly useful for populating content on GitHub Pages websites or other static site generators.
57+
58+
5159
## CJS Deprecated
5260

5361
CJS is deprecated for this package. When calling `require('@extractus/feed-extractor')` a deprecation warning is now logged. You should update your code to use the ESM export.

examples/bun-feed-reader/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
"start": "bun run index.ts"
66
},
77
"devDependencies": {
8-
"bun-types": "^0.6.13"
8+
"bun-types": "^1.0.14"
99
},
1010
"dependencies": {
1111
"@extractus/feed-extractor": "latest",
12-
"hono": "^3.2.7"
12+
"hono": "^3.10.2"
1313
}
1414
}

examples/deno-feed-reader/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { serve } from 'https://deno.land/std/http/server.ts'
22

3-
import { Hono } from 'https://deno.land/x/hono@v3.2.7/mod.ts'
3+
import { Hono } from 'https://deno.land/x/hono@v3.10.2/mod.ts'
44

55
import { extract } from 'npm:@extractus/feed-extractor'
66

examples/tsnode-feed-reader/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"name": "tsnode-feed-reader",
33
"version": "1.0.0",
4+
"type": "module",
45
"main": "index.ts",
56
"scripts": {
67
"prestart": "npx tsc",
78
"start": "node dist/index.js"
89
},
910
"devDependencies": {
10-
"typescript": "^5.1.6"
11+
"typescript": "^5.3.2"
1112
},
1213
"dependencies": {
1314
"@extractus/feed-extractor": "latest",

examples/tsnode-feed-reader/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"module": "commonjs",
3+
"module": "es6",
44
"esModuleInterop": true,
55
"target": "es6",
66
"moduleResolution": "node",

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "7.0.7",
2+
"version": "7.0.8",
33
"name": "@extractus/feed-extractor",
44
"description": "To read and normalize RSS/ATOM/JSON feed data",
55
"homepage": "https://extractor-demos.pages.dev",
@@ -46,10 +46,10 @@
4646
},
4747
"devDependencies": {
4848
"esbuild": "^0.19.8",
49-
"eslint": "^8.53.0",
49+
"eslint": "^8.55.0",
5050
"https-proxy-agent": "^7.0.2",
5151
"jest": "^29.7.0",
52-
"nock": "^13.3.8"
52+
"nock": "^13.4.0"
5353
},
5454
"keywords": [
5555
"extractor",

0 commit comments

Comments
 (0)