Skip to content

Commit

Permalink
v7.0.8
Browse files Browse the repository at this point in the history
- Merge pr #119 by @olsonpm (issue #118)
- Add link to GitHub Action Wrapper by @chriscarrollsmith (issue #114)
- Update dependencies, CI settings & examples
  • Loading branch information
ndaidong committed Dec 2, 2023
1 parent 306b847 commit 156bae3
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 14 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ on: [push, pull_request]
jobs:
test:

runs-on: ubuntu-22.04
runs-on: ubuntu-latest

strategy:
matrix:
node_version: [16.x, 18.x, 20.x]
node_version: [18.x, 20.x, 21.x]

steps:
- uses: actions/checkout@v3

- name: setup Node.js v${{ matrix.node_version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}

Expand All @@ -31,8 +31,8 @@ jobs:
npm run build --if-present
npm run test
- name: sync to coveralls
uses: coverallsapp/github-action@v1.1.2
- name: Report Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ import { extract } from 'https://esm.sh/@extractus/feed-extractor'

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


## Automate RSS feed extraction with GitHub Actions

[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.
It fetches an RSS feed from a given URL and saves it to a specified file in your GitHub repository.
This action is particularly useful for populating content on GitHub Pages websites or other static site generators.


## CJS Deprecated

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.
Expand Down
4 changes: 2 additions & 2 deletions examples/bun-feed-reader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"start": "bun run index.ts"
},
"devDependencies": {
"bun-types": "^0.6.13"
"bun-types": "^1.0.14"
},
"dependencies": {
"@extractus/feed-extractor": "latest",
"hono": "^3.2.7"
"hono": "^3.10.2"
}
}
2 changes: 1 addition & 1 deletion examples/deno-feed-reader/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { serve } from 'https://deno.land/std/http/server.ts'

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

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

Expand Down
3 changes: 2 additions & 1 deletion examples/tsnode-feed-reader/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name": "tsnode-feed-reader",
"version": "1.0.0",
"type": "module",
"main": "index.ts",
"scripts": {
"prestart": "npx tsc",
"start": "node dist/index.js"
},
"devDependencies": {
"typescript": "^5.1.6"
"typescript": "^5.3.2"
},
"dependencies": {
"@extractus/feed-extractor": "latest",
Expand Down
2 changes: 1 addition & 1 deletion examples/tsnode-feed-reader/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"module": "commonjs",
"module": "es6",
"esModuleInterop": true,
"target": "es6",
"moduleResolution": "node",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "7.0.7",
"version": "7.0.8",
"name": "@extractus/feed-extractor",
"description": "To read and normalize RSS/ATOM/JSON feed data",
"homepage": "https://extractor-demos.pages.dev",
Expand Down Expand Up @@ -46,10 +46,10 @@
},
"devDependencies": {
"esbuild": "^0.19.8",
"eslint": "^8.53.0",
"eslint": "^8.55.0",
"https-proxy-agent": "^7.0.2",
"jest": "^29.7.0",
"nock": "^13.3.8"
"nock": "^13.4.0"
},
"keywords": [
"extractor",
Expand Down

0 comments on commit 156bae3

Please sign in to comment.