Repository navigation
Conversation
…pt pages The route pulled the transcript data with a greedy regex, `__NEXT_DATA__" type="application/json">(.*)</script>`. Transcript pages now have more scripts after it on the same line, so the match ran on to the last `</script>` and JSON.parse failed with "Unexpected non-whitespace character after JSON", which took down the feed. Match lazily, as the list page already does. The feed lists 30 transcripts with their full text again.
The rank route's example was "/air-level/rank/best,/air-level/rank", two paths joined by a comma. Tools that request the example, such as the full-route test, asked for that literal path and got a 404. Use /air-level/rank. /best and /worsest still work as before.
The global route lists news from lodestonenews.com and fetches each article body from the Lodestone. Square Enix takes some hotfix notices down after a while, such as "FINAL FANTASY XIV Hotfixes (Sep. 18, 2026)", but lodestonenews.com keeps listing them. Their pages answer 404, and that one error took down the whole feed. Keep such an article with its title, link and date when its page answers 404. Other errors still fail as before.
… page The route built each link as "https://seugs.seu.edu.cn" plus the href. One notice on the list now links with an absolute URL (https://seugs.seu.edu.cn/28948/list.htm), so the link became "https://seugs.seu.edu.cnhttps://seugs.seu.edu.cn/28948/list.htm", the host lookup failed and the whole feed went down. Resolve the href with `new URL(href, url)`, which handles relative and absolute links alike. The feed lists 14 notices again.
def.ltn.com.tw's list endpoint (/ajax/<channel>/1) now wraps the items
as `{ code, data: { items }, message }` instead of returning a bare
array, so `response.map` threw "is not a function" on every channel.
Read the items from `response.data.items`. breakingnewslist and
pedialist both list 20 articles with full text again.
The route built each link as "https://www.cste.org.cn" plus the href. Some list entries now link with an absolute URL, such as https://www.cste.org.cn/site/content/3620.html, so the link became "https://www.cste.org.cnhttps://www.cste.org.cn/...", the host lookup failed and the whole feed went down. Resolve the href with `new URL(href, rootUrl)`, which handles relative and absolute links alike. The default feed lists 10 articles again.
The archive page lists every post since 2014, 184 on 2026-11-03, and the route fetched the page of each one. On a cold cache that takes about a minute, so the feed timed out. Fetch the newest 20 posts by default, or as many as the `limit` parameter asks for. The archive is newest first.
news.tju.edu.cn reorganised its sections. 聚焦天大 (jjtd.htm) and 校内新闻 (xnxw1/qb.htm) now return 404, so `focus`, which is also the default, and `internal` failed. The other three sections still work. Point `focus` at 封面新闻 (xw/fmxw.htm) and `internal` at 校园时讯 (xw/xysx.htm), the site's current featured and campus news lists, and rename them in the docs table. Both use the same list markup as before and return 15 items with full text.
The discovery pages (/discoveryPage/hot-0 and the like) were rebuilt. Each work is now an `<article class="cnu-discovery-card">` with the link on `a.cnu-discovery-card-link` and the title in `.cnu-discovery-meta strong`. The route still looked for `.grid-item.work-thumbnail`, found nothing and returned an empty feed. Select the new cards. The hot and recent lists show 40 works each, with author, date and images from the work pages as before.
Bumps [@j178/prek](https://github.com/j178/prek) from 0.5.7 to 0.5.9. - [Release notes](https://github.com/j178/prek/releases) - [Changelog](https://github.com/j178/prek/blob/main/CHANGELOG.md) - [Commits](j178/prek@v0.5.7...v0.5.9) --- updated-dependencies: - dependency-name: "@j178/prek" dependency-version: 0.5.9 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
The 总局要闻 list on nrta.gov.cn now includes an entry that links to a page on www.scio.gov.cn. The route fetched every entry's page with the NRTA selectors, scio.gov.cn answers 521, and that one error took down the whole feed. Take each entry's title and date from the list, and fetch the article page only for links on www.nrta.gov.cn, where the full title, body, date and source are read as before. Entries on other sites keep the list title and date.
DIYgod#23773) Bumps the nix group with 1 update: [nixpkgs](https://github.com/NixOS/nixpkgs). Updates `nixpkgs` from `31ecbac` to `1c89083` - [Commits](NixOS/nixpkgs@31ecbac...1c89083) --- updated-dependencies: - dependency-name: nixpkgs dependency-version: 1c89083e451e891152365b799595cf7790a43325 dependency-type: direct:production dependency-group: nix ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…MYrLiL9Sq3xxiK/NZEIeY=
Bumps the cloudflare group with 1 update in the / directory: [@cloudflare/workers-types](https://github.com/cloudflare/workerd). Updates `@cloudflare/workers-types` from 5.20261030.1 to 5.20261031.1 - [Release notes](https://github.com/cloudflare/workerd/releases) - [Changelog](https://github.com/cloudflare/workerd/blob/main/RELEASE.md) - [Commits](https://github.com/cloudflare/workerd/commits) --- updated-dependencies: - dependency-name: "@cloudflare/workers-types" dependency-version: 5.20261031.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: cloudflare ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
The sports route reads https://sports.sina.com.cn/others/<type>.shtml and only works with a type such as volley or swim. The original docs said so and listed the types, but the v3 migration made `type` optional, dropped the table and used /sina/sports as the example. That example requested others/undefined.shtml, which 404s. Make `type` required again, restore the type table and use /sina/sports/volley as the example. The volley page also lists some stories in more than one block (31 of 151 on 2026-11-03), so keep the first entry per link before fetching articles.
Bumps the eslint group with 1 update in the / directory: [eslint](https://github.com/eslint/eslint). Updates `eslint` from 10.13.0 to 10.14.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](eslint/eslint@v10.13.0...v10.14.0) --- updated-dependencies: - dependency-name: eslint dependency-version: 10.14.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: eslint ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ing category The news index (page-data/news/page-data.json) lists every article since 2018, 393 on 2026-11-03, in no particular order, and the route fetched the page data of each one. That takes well over a minute on a cold cache. The newest article, "Terrifier | Everything to Know", also has no category, so reading `article_category.name` threw and the whole feed failed. Sort the index by publication date, fetch the newest 20 by default (or as many as `limit` asks for), and read the category with optional chaining.
The route returns works from the last two weeks, and the example asked for Nature Communications papers in subfield 2604 (Applied Mathematics). The journal has only 8 such papers in total, the latest from July 2025, so the example feed was empty almost every time and the full-route test reported "this route is empty". Use subfield 1312 (Molecular Biology) in the example and the docs. It returned 50 works from the last two weeks on 2026-11-03.
The region route's path was `/:region{cn|kr|eu|us|ru|en}/:type?`. Hono
copies the parameter pattern into the route regex as is, so the bare
alternation split the whole regex instead of only the parameter. The
route then matched paths it should not, and dropped `type`:
- /aqara/cn/blog redirected to /aqara/cn/category/news, not blog
- /aqara/us/category/news matched this route and redirected to itself
Wrap the alternation in a non-capturing group. /aqara/cn/blog now
redirects to category/blog, and three-segment paths reach the category
and tag route again.
The collection route's path was
`/:collection{jobs|seminars|conferences|institutions|experiments|journals}/:q?`.
Hono copies the parameter pattern into the route regex as is, so the
bare alternation split the whole regex and the optional query was never
captured: /inspirehep/jobs/postdoc returned the same unfiltered feed as
/inspirehep/jobs.
Wrap the alternation in a non-capturing group, so `q` reaches the
search again ("Jobs: postdoc - INSPIRE").
header-generator resolves a preset's browserListQuery with browserslist and caniuse-lite. When they name newer versions than header-generator's data has, a generator for them makes no headers at all, and every request that asks for generated headers fails with "No headers based on this input can be generated". The repository pins both through pnpm overrides, which an install of the npm package doesn't get. Fall back to the same browsers in any version header-generator knows. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Without git, or outside a repository (as installed from npm), every start printed "git: not found" or "not a git repository". Co-Authored-By: Claude Opus 5.5 <[email protected]>
The npm package is now a magpie (https://github.com/yetone/magpie) plugin, through exports["./server"] and package.json's magpie field: - it runs a local RSSHub server (127.0.0.1:1200 by default) as a child process of magpie's plugin host, which ends with the host; - it gives every agent three tools through magpie's MCP server of plugin tools: search_routes, lookup_url (RSSHub Radar rules) and get_feed; - it adds a page to magpie's window that shows the server. Options: port, publicUrl and env (RSSHub's environment variables, also read from a .env file in the rsshub folder of magpie's config folder). Co-Authored-By: Claude Opus 5.5 <[email protected]>
) Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.5.0 to 0.5.1. - [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases) - [Commits](SamVerschueren/decode-uri-component@v0.5.0...v0.5.1) --- updated-dependencies: - dependency-name: decode-uri-component dependency-version: 0.5.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Deku Deals rebuilt its list pages. Each game is now a `.col` inside `.search-main .browse-cards`, the title is an `h6` inside `.main-link`, and the cover image sits in a `picture` next to the link. The route still looked for `.item-grid2 > div.cell`, found nothing and returned an empty feed. Select the new cards, read the title from `.main-link h6` and the image from `picture img`. most-wanted and recent-drops list 36 games each again, with link, cover and price.
* chore(deps): bump vite from 7.3.1 to 8.3.5 Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 7.3.1 to 8.3.5. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v8.3.5/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-version: 8.3.5 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * chore: bump transitive deps --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…d#23746) * feat(route/bandcamp): add Bandcamp Daily latest articles route Co-Authored-By: Claude Code <[email protected]> * refactor(route/bandcamp): fetch Bandcamp Daily with ofetch Co-Authored-By: Claude Code <[email protected]> --------- Co-authored-by: ashi-koki <[email protected]> Co-authored-by: Claude Code <[email protected]>
The tag pages on news.gamme.com.tw and sexynews.gamme.com.tw now link each article with a relative path such as /1773549. The route passed that href to the client as is, which failed with "Failed to parse URL", and the whole feed went down. Resolve the href with `new URL(href, baseUrl)`. The 歐派 tag example lists 10 articles again with body and date.
Shinagawa moved its 食品衛生許可施設一覧 page to /kenko/eisei/1003077/1003132.html; the old /PC/kenkou/... URL now redirects there. The page links its monthly CSVs with relative paths (`../../../_res/...`), and the route resolved them against the old URL, which gave /PC/_res/... and a 404 for every file, so the Shinagawa feed and the all-ward feed failed. Point the Shinagawa source and its docs link at the new page, so the CSV links resolve to /_res/... again. Shinagawa lists 100 permits again and the all-ward feed 426. The other wards' pages have not moved.
Le Phocéen rebuilt its site and the chrono page no longer embeds
__NEXT_DATA__, so JSON.parse got an empty string and the route failed
with "Unexpected end of JSON input".
Read the feed cards for title, link, category, image and excerpt. The
cards only show relative times ("il y a 4 heures"), so take the date
from each page's first time[datetime] and the body from
.article-content, keeping the excerpt for video pages, which have none.
The feed lists 30 items again, all dated.
) Bumps [@honeybadger-io/js](https://github.com/honeybadger-io/honeybadger-js) from 6.17.0 to 6.17.1. - [Release notes](https://github.com/honeybadger-io/honeybadger-js/releases) - [Commits](https://github.com/honeybadger-io/honeybadger-js/compare/@honeybadger-io/[email protected]...@honeybadger-io/[email protected]) --- updated-dependencies: - dependency-name: "@honeybadger-io/js" dependency-version: 6.17.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [jsdom](https://github.com/jsdom/jsdom) from 31.0.0 to 31.0.1. - [Release notes](https://github.com/jsdom/jsdom/releases) - [Commits](jsdom/jsdom@v31.0.0...v31.0.1) --- updated-dependencies: - dependency-name: jsdom dependency-version: 31.0.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Full-text feed for https://www.tryprofound.com/research with filters by content type (article, post, ebook) and by tag slug. Co-authored-by: Claude Opus 5.5 <[email protected]>
Bumps [re2js](https://github.com/le0pard/re2js) from 2.9.1 to 2.10.0. - [Release notes](https://github.com/le0pard/re2js/releases) - [Commits](le0pard/re2js@2.9.1...2.10.0) --- updated-dependencies: - dependency-name: re2js dependency-version: 2.10.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [sanitize-html](https://github.com/apostrophecms/apostrophe/tree/HEAD/packages/sanitize-html) from 2.18.1 to 2.18.2. - [Changelog](https://github.com/apostrophecms/apostrophe/blob/[email protected]/packages/sanitize-html/CHANGELOG.md) - [Commits](https://github.com/apostrophecms/apostrophe/commits/[email protected]/packages/sanitize-html) --- updated-dependencies: - dependency-name: sanitize-html dependency-version: 2.18.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript) from 11.11.0 to 11.12.0. - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md) - [Commits](getsentry/sentry-javascript@11.11.0...11.12.0) --- updated-dependencies: - dependency-name: "@sentry/node" dependency-version: 11.12.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…updates (DIYgod#23888) Bumps the cloudflare group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@cloudflare/playwright](https://github.com/cloudflare/browser-run/tree/HEAD/packages/playwright-cloudflare) | `1.3.6` | `1.4.0` | | [@cloudflare/vitest-plugin](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/vitest-plugin) | `1.6.1` | `1.8.1` | | [@cloudflare/workers-types](https://github.com/cloudflare/workerd) | `5.20261110.1` | `5.20261113.1` | | [cf](https://github.com/cloudflare/cf/tree/HEAD/packages/cli) | `1.0.0-beta.28` | `1.0.0-beta.31` | | [wrangler](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler) | `4.159.0` | `4.161.0` | Updates `@cloudflare/playwright` from 1.3.6 to 1.4.0 - [Release notes](https://github.com/cloudflare/browser-run/releases) - [Commits](https://github.com/cloudflare/browser-run/commits/v1.4.0/packages/playwright-cloudflare) Updates `@cloudflare/vitest-plugin` from 1.6.1 to 1.8.1 - [Release notes](https://github.com/cloudflare/workers-sdk/releases) - [Changelog](https://github.com/cloudflare/workers-sdk/blob/main/packages/vitest-plugin/CHANGELOG.md) - [Commits](https://github.com/cloudflare/workers-sdk/commits/@cloudflare/[email protected]/packages/vitest-plugin) Updates `@cloudflare/workers-types` from 5.20261110.1 to 5.20261113.1 - [Release notes](https://github.com/cloudflare/workerd/releases) - [Changelog](https://github.com/cloudflare/workerd/blob/main/RELEASE.md) - [Commits](https://github.com/cloudflare/workerd/commits) Updates `cf` from 1.0.0-beta.28 to 1.0.0-beta.31 - [Release notes](https://github.com/cloudflare/cf/releases) - [Changelog](https://github.com/cloudflare/cf/blob/main/packages/cli/CHANGELOG.md) - [Commits](https://github.com/cloudflare/cf/commits/[email protected]/packages/cli) Updates `wrangler` from 4.159.0 to 4.161.0 - [Release notes](https://github.com/cloudflare/workers-sdk/releases) - [Commits](https://github.com/cloudflare/workers-sdk/commits/[email protected]/packages/wrangler) --- updated-dependencies: - dependency-name: "@cloudflare/playwright" dependency-version: 1.4.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: cloudflare - dependency-name: "@cloudflare/vitest-plugin" dependency-version: 1.8.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: cloudflare - dependency-name: "@cloudflare/workers-types" dependency-version: 5.20261113.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: cloudflare - dependency-name: cf dependency-version: 1.0.0-beta.31 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: cloudflare - dependency-name: wrangler dependency-version: 4.161.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: cloudflare ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [tldts](https://github.com/remusao/tldts) from 7.4.19 to 7.5.1. - [Release notes](https://github.com/remusao/tldts/releases) - [Changelog](https://github.com/remusao/tldts/blob/master/CHANGELOG.md) - [Commits](remusao/tldts@v7.4.19...v7.5.1) --- updated-dependencies: - dependency-name: tldts dependency-version: 7.5.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…3893) Bumps [@googleapis/youtube](https://github.com/googleapis/google-api-nodejs-client) from 40.0.2 to 40.1.0. - [Release notes](https://github.com/googleapis/google-api-nodejs-client/releases) - [Commits](googleapis/google-api-nodejs-client@youtube-v40.0.2...chat-v40.1.0) --- updated-dependencies: - dependency-name: "@googleapis/youtube" dependency-version: 40.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the nix group with 3 updates: [devenv](https://github.com/cachix/devenv), [flake-utils](https://github.com/numtide/flake-utils) and [nixpkgs](https://github.com/NixOS/nixpkgs). Updates `devenv` from `e97515c` to `9eaaab8` - [Release notes](https://github.com/cachix/devenv/releases) - [Commits](cachix/devenv@e97515c...9eaaab8) Updates `flake-utils` from `bd48884` to `cd48955` - [Release notes](https://github.com/numtide/flake-utils/releases) - [Commits](numtide/flake-utils@bd48884...cd48955) Updates `nixpkgs` from `f4a03c0` to `d4f25a3` - [Commits](NixOS/nixpkgs@f4a03c0...d4f25a3) --- updated-dependencies: - dependency-name: devenv dependency-version: 9eaaab8d32d853b30823f56997ec3d7c106c358c dependency-type: direct:production dependency-group: nix - dependency-name: flake-utils dependency-version: cd489559845d81f673a12885576016c65cbe9363 dependency-type: direct:production dependency-group: nix - dependency-name: nixpkgs dependency-version: d4f25a3e562008648d45bcf2d70bcc7422cad84e dependency-type: direct:production dependency-group: nix ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…UX9EPiYNV3/dkHrE2YImY=
* feat(route/kimi): add Kimi Research Blog route * fix(route/kimi): avoid reparsing content and duplicating fallback titles * fix(route/kimi): infer normalized content return type
) Bumps [@honeybadger-io/js](https://github.com/honeybadger-io/honeybadger-js) from 6.17.1 to 6.17.2. - [Release notes](https://github.com/honeybadger-io/honeybadger-js/releases) - [Commits](https://github.com/honeybadger-io/honeybadger-js/compare/@honeybadger-io/[email protected]...@honeybadger-io/[email protected]) --- updated-dependencies: - dependency-name: "@honeybadger-io/js" dependency-version: 6.17.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@vercel/nft](https://github.com/vercel/nft) from 1.11.1 to 1.11.2. - [Release notes](https://github.com/vercel/nft/releases) - [Commits](vercel/nft@1.11.1...1.11.2) --- updated-dependencies: - dependency-name: "@vercel/nft" dependency-version: 1.11.2 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [tldts](https://github.com/remusao/tldts) from 7.5.1 to 7.5.2. - [Release notes](https://github.com/remusao/tldts/releases) - [Changelog](https://github.com/remusao/tldts/blob/master/CHANGELOG.md) - [Commits](remusao/tldts@v7.5.1...v7.5.2) --- updated-dependencies: - dependency-name: tldts dependency-version: 7.5.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…DIYgod#23916) Bumps the nix group with 1 update: [devenv](https://github.com/cachix/devenv). Updates `devenv` from `9eaaab8` to `6c954cc` - [Release notes](https://github.com/cachix/devenv/releases) - [Commits](cachix/devenv@9eaaab8...6c954cc) --- updated-dependencies: - dependency-name: devenv dependency-version: 6c954cc1c04f1d0b2f6ad689c9dffd835fa4d928 dependency-type: direct:production dependency-group: nix ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…vScq1gbYQSjlKmx77QnYk=
Brings the fork up to date with upstream (3653 commits). The one conflict, .github/workflows/semgrep.yml, takes upstream's actions/checkout v7.0.1 and keeps the fork's SARIF-on-empty fix. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Upstream now formats with oxfmt and lints with stricter oxlint rules. Bring the fork's Message Center, Microsoft Learn and easylife365 routes in line: TypeError after the type guard, Math.trunc(Number()) for the limit, toSorted, URL#href, a case-insensitive month regex, and combined guards in the Intune what's-new parser. No change in feed output. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Number() would change how limit values such as 10abc, Infinity and 1e2 are read. Keep the previous parsing and silence prefer-number-coercion on that line. Co-Authored-By: Claude Opus 5.5 <[email protected]>
| const dateStr = re.exec(dateScript).groups.dateTimePub; | ||
| const pubDateTime = parseDate(dateStr, 'YYYY-MM-DDTHH:mm:ssZ'); | ||
| const dateScript = doc('script[type="application/ld+json"]').first().text(); | ||
| let article: { '@graph'?: Array<{ '@type'?: string; datePublished?: string; dateModified?: string }>; datePublished?: string; dateModified?: string } = {}; |
| /* eslint-disable no-await-in-loop */ | ||
| const result = await got(sublink); | ||
| pages.push(load(result.data)); | ||
| const html = await fetchBjxPage(sublink, context); |
| let iReqOffSet = 0; | ||
|
|
||
| do { | ||
| bHasNextPage = false; | ||
| // eslint-disable-next-line no-await-in-loop | ||
| const data = await ofetch(strBaseUrl, { | ||
| const { code, results } = await ofetch(strBaseUrl, { |
| } | ||
| }; | ||
|
|
||
| type State = Record<string, unknown>; |
| // eslint-disable-next-line no-await-in-loop -- same shared tab | ||
| await page.waitForSelector('#serverApp-state', { state: 'attached', timeout: DETAIL_STATE_TIMEOUT }); | ||
| // eslint-disable-next-line no-await-in-loop -- same shared tab | ||
| detail = detailOf(await page.content()); |
| const READY_TIMEOUT = 30000; | ||
| const START_DELAY = 2000; | ||
| // eslint-disable-next-line no-control-regex | ||
| const ansi = /\u{1B}\[[\d;]*m/gu; |
|
|
||
| // What RSSHub runs with unless `.env` or the options say otherwise: this computer only, logs | ||
| // in magpie's log rather than in files, and only the lines that need a look. | ||
| const defaults: Record<string, string> = { |
| items?: JsonFeedItem[]; | ||
| } | ||
|
|
||
| const entities: Record<string, string> = { amp: '&', lt: '<', gt: '>', quot: '"', apos: "'", nbsp: ' ' }; |
|
|
||
| import { createCatalog, describe as describeEntry } from './catalog'; | ||
|
|
||
| const route = (fields: Record<string, unknown>) => ({ maintainers: [], handler: () => null, example: '', ...fields }) as never; |
| } | ||
| } | ||
|
|
||
| async function checkRSS(response) { |
Comment on lines
+37
to
+43
| html | ||
| .replaceAll(/<(script|style)[\s\S]*?<\/\1>/gi, '') | ||
| .replaceAll(/<img[^>]*?alt="([^"]+)"[^>]*>/gi, '[image: $1]') | ||
| .replaceAll(/<img[^>]*>/gi, '[image]') | ||
| .replaceAll(/<br\s*\/?>/gi, '\n') | ||
| .replaceAll(/<\/(p|div|li|h[1-6]|blockquote|pre|tr)>/gi, '\n') | ||
| .replaceAll(/<[^>]+>/g, '') |
Comment on lines
+37
to
+38
| html | ||
| .replaceAll(/<(script|style)[\s\S]*?<\/\1>/gi, '') |
| // `<br>` separates 駅 from 徒歩, and cheerio's .text() would run them together. | ||
| const stationEl = th('最寄駅'); | ||
| const stationHtml = stationEl ? $(stationEl).next('td').html() : null; | ||
| const stationText = value(stationHtml?.replaceAll(/<br\s*\/?>/gi, ' ').replaceAll(/<[^>]+>/g, '') ?? null); |
| } | ||
|
|
||
| function decodeMedia(value: string, secret: string): string { | ||
| const digest = createHash('md5').update(secret).digest('hex'); |
|
This PR is being auto-closed because it has a broken Docker build without any fixes. Push a fix and reopen when ready. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Gap:
masteris 3653 commits behindDIYgod/RSSHuband has had no upstream fix since 2026-06-03. The Pull app's #75 is stuck on a merge conflict, andsync-upstream.ymlfails daily withHTTP 401: Bad credentials.Change:
DIYgod/RSSHubmaster(deb324a) into the fork. One textual conflict,.github/workflows/semgrep.yml: takes upstream'sactions/checkoutv7.0.1 pin and keeps the fork's--output semgrep.sarif || truewith thehashFilesguard. After the merge the branch differs from upstream in exactly the 14 fork files it differed in before (the custom routes,docker-compose.custom.yml,docker-custom.yml,sync-upstream.yml,semgrep.yml).TypeErrorafter the type guard,toSorted,URL#href, a case-insensitive month regex, combined guards in the Intune what's-new parser). No change in feed output.Cause: the
Formatfailure on c5d898e is not from the compose commit.Formathas failed on every push since b6da525 (feat(route): add Microsoft Message Center feed): the old oxlint config raised two errors, "The function is equivalent toBoolean", on the two.filter((x): x is string => Boolean(x))calls inlib/routes/microsoft/message-center.ts. Upstream's current oxlint config no longer flags them, andoxlint --type-awareplusoxfmt --checkare clean on all fork routes after this merge.Decisions for Alexander (nothing in this PR changes them):
PUPPETEER_REAL_BROWSER_SERVICEis gone, andPUPPETEER_WS_ENDPOINTis now only a fallback forchromium.connect()(Playwright protocol), which the oldbrowserless/chromeimage indocker-compose.custom.ymldoes not accept on its root URL. The fork's own routes do not use a browser, but upstream routes withrequirePuppeteerwill fail until the compose file follows upstream'sdocker-compose.yml:ghcr.io/browserless/chromiumwith aTOKEN,PLAYWRIGHT_CDP_ENDPOINT: 'ws://browserless:3000?token=…', and noreal-browserservice. Kept out of this PR because it changes the deployment..github/pull.yml,mergeMethod: merge) already opens and merges upstream PRs. I propose removing.github/workflows/sync-upstream.yml. This merge also brings in upstream's new.github/workflows/sync-fork.yml, which runs daily only in forks and usessecrets.SYNC_TOKEN || github.token; with the current invalidSYNC_TOKENit fails with 401 the same way, and with a valid one it would push upstream straight tomasterand so triggerdocker-custom.yml's deploy. Either remove or disable both workflows, or renewSYNC_TOKEN; the token is yours to decide.Verified: on Windows with Node 25 and pnpm 12.18.0:
pnpm typecheckclean;oxlint --type-awareandoxfmt --checkclean on the fork routes (the full.oxlintrc.ci.jsonrun reports advisory findings across upstream files as well; in CI that step iscontinue-on-error);npm run format:descriptionmakes no changes; a local dev server returned items for all seven fork routes (/microsoft/message-center20,/microsoftlearn/entra/whats-new92,/microsoftlearn/intune/blog20,/microsoftlearn/intune/in-development17,/microsoftlearn/intune/whats-new120,/easylife365/changelogs129,/flexopus/changelog15). An independent review of the fork-route commit found that the first lint fix changedlimitparsing;parseIntis restored with a one-line lint suppression. The full vitest suite and a Docker build were not run locally. The repository's pre-commit hook (.husky/pre-commit→lint-staged, removed upstream) cannot run in this checkout; the three commits were made with the hook bypassed after the checks above.An AI agent wrote this text in my name, on my instructions.