Commit Graph
52 Commits
Author SHA1 Message Date
dependabot[bot]andTony 07834413f5 chore(deps-dev): bump eslint-plugin-unicorn from 64.0.0 to 65.0.0 (#22219)
* chore(deps-dev): bump eslint-plugin-unicorn from 64.0.0 to 65.0.0

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 64.0.0 to 65.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v64.0.0...v65.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
  dependency-version: 65.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: no-array-from-fill

* fix: unicorn-js/no-duplicate-set-values

* fix: no-this-outside-of-class

* fix: no-unnecessary-nested-ternary

* fix: prefer-array-last-methods

* fix: prefer-queue-microtask

* fix: prefer-split-limit

* fix: no-array-from-fill

* fix: no-unused-array-method-return

* fix: prefer-single-call

* fix: prefer-includes-over-repeated-comparisons

* fix: consistent-compound-words

* fix: prefer-includes-over-repeated-comparisons

* chore: add eslint-plugin-unicorn v65 recommended preset

* fix: correct duration parsing logic in parseDuration function

* fix: update oxlint-disable

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2026-06-09 00:08:15 +08:00
Tony 75d43dd086 chore: add eslint-plugin-regexp (#22189)
* chore: add eslint-plugin-regexp

* chore: autofix

* chore: fix no-useless-flag

* chore: fix optimal-lookaround-quantifier

* chore: fix no-lazy-ends

* chore: fix no-contradiction-with-assertion

* chore: fix no-useless-assertions

* chore: fix no-useless-quantifier

* chore: fix remaining regexp issues

* fix: regex for WFU news link validation
2026-06-05 20:04:39 +08:00
Tony c2b00f6090 chore: format description in lint-staged 2026-05-08 05:59:53 +08:00
github-actions[bot] 788c549948 style: auto format 2026-05-07 20:42:08 +00:00
Mervyn ZhanandTony 79c8adcca7 fix(route/bbc): deal with the mixed bbc news data (#21228)
* fix(route/bbc): deal with the mixed bbc news data

fix #21227

* Update lib/routes/bbc/utils.tsx

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

---------
2026-02-25 21:09:48 +08:00
Tony ba0f1ad292 style(eslint): fix no-unassigned-vars no-useless-assignment preserve-caught-error (#21175)
* fix: fix no-unassigned-vars

* fix: fix preserve-caught-error

* fix: fix no-useless-assignment

* fix: update variable types for better type safety

* fix: replace nullish coalescing with logical OR for limit assignment

* fix: add DataItem type import for better type safety
2026-02-18 22:25:14 +08:00
github-actions[bot] da080891d9 style: auto format 2026-02-13 17:25:16 +00:00
TonyandCopilot f1164b516b feat(route/bbc): topic (#21140)
* feat(route/bbc): topic

* feat(route/bbc): clean item links by removing query parameters

* feat(route/bbc): add sport

* feat(route/bbc): refactor content fetching logic to use fetchBbcContent utility

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* feat(route/bbc): improve content description fallback logic

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-14 01:23:35 +08:00
Enoch Ma 5634303363 feat(route/bbc): improve bbc (cn) (#21066) 2026-02-05 16:25:53 +08:00
github-actions[bot] edfac9f24c style: auto format 2025-11-27 05:54:33 +00:00
github-actions[bot] 838eb3c7ff style: auto format 2025-11-27 05:49:33 +00:00
github-actions[bot] a28890a135 style: auto format 2025-11-27 02:55:46 +00:00
Blank0120 bc3c354285 refactor(route/bbc): using Chinese Title in Learning English route (#20101) 2025-09-19 20:53:46 +08:00
tourist 83a6de456a feat(route/bbc): support BBC Learningenglish chinese channel (#19080)
* feat(route/bbc): support BBC Learningenglish chinese channel

* refactor(route/bbc): use spread operator over concat

* Update lib/routes/bbc/learningenglish.ts
2025-05-12 22:41:38 +08:00
pseudoyu efbaf06671 fix(route/bbc): bbc news 404 url issue 2024-12-17 21:05:04 +08:00
pseudoyu 0a42f88de7 feat(route): add lang field in route namespace 2024-11-01 22:09:31 +07:00
Andvari d3f7fda21f fix(route/BBC): 403 Forbidden Edge 5 (#16048)
* fix(route/BBC): 403 Forbidden Edge 5

* Revert "fix(route/BBC): 403 Forbidden Edge 5"

This reverts commit 2ebb8b9abcf52be5e9bbeac9166b18346400d467.

* https://github.com/nodejs/undici/discussions/3400#discussioncomment-10020438
2024-07-12 00:04:47 +08:00
Zebartin 9019b5b99e fix(route): BBC article (#15591) 2024-05-16 13:21:38 +08:00
Henry Wang 5e2cbc1ee7 fix(route): bbc incorrect section in title (#15502)
* fix: incorrect section in title

* fix: remove String()
2024-05-08 00:11:58 +08:00
Henry Wang 920d1a9379 fix: BBC URL pathname check (#15260) 2024-04-16 17:12:16 +01:00
DIYgod 5ce88253cd fix: route titles 2024-03-18 23:40:43 +08:00
DIYgod d83c85a349 feat: remove radar.ts maintainer.ts router.ts 2024-03-09 18:31:48 +08:00
DIYgod 45f9ea21fb feat: add routes 2024-03-09 03:06:53 +08:00
DIYgod f8b141ee6e feat: add namespace.ts 2024-03-09 01:53:22 +08:00
DIYgod 34d889743b feat: replace require with import 4/n 2024-03-07 00:15:48 +08:00
DIYgod 156b58d780 feat: replace require with import 1/n 2024-03-06 23:39:15 +08:00
Yufan You 130b11224e chore: remove @ts-nocheck (#14669) 2024-03-05 21:06:03 +08:00
DIYgod d93a301d97 feat: build-radar.ts 2024-03-04 01:52:04 +08:00
DIYgod 2c7d7f9205 feat: build-maintainer.ts 2024-03-04 01:38:38 +08:00
DIYgod 8065ededf5 feat: rename routes .js to .ts 2024-03-04 00:35:37 +08:00
DIYgod df57bb5d50 feat: esm standard for routes 2024-03-02 03:25:26 +08:00
DIYgod 6f57c02538 feat: rename routes dir - 2/2 2024-03-01 01:24:49 +08:00
qyx596 54f7b4591e fix(route): Fix the BBC Chinese 404 page not found. (#13205)
* fix: BBC News rss fetching error

* refactor: migrate to v2

---------
2023-09-05 23:51:05 +08:00
Yuan68 d5a952a55e fix(route): 增加BBC和微信(feeddd获取)的favicon (#10649)
* Update index.js

* Update feeddd.js
2022-08-29 23:52:16 +08:00
Sukka 6e3b58ed1d refactor: avoid promise overhead (#8028) 2021-08-16 11:45:53 -07:00
DIYgod c235f1e24a feat: bbc cache 2021-02-04 19:35:15 +08:00
DIYgod fdd383b353 feat: remove bbc splice 2021-01-25 12:15:47 +08:00
DIYgod 3f9154fb72 fix: bbc 2021-01-25 03:40:44 +08:00
Henry Wang c83aa45ec0 fix: BBC 中文网图片 (#5837)
close #5780
2020-10-09 23:11:39 +01:00
sgqy b611728f7f fix: bbc chinese changed it's structure (#5697) 2020-09-25 11:35:10 +01:00
Henry Wang 51047c3934 feat: BBC 中文网子频道支持 (#5316) 2020-08-01 00:15:19 +01:00
DIYgod 0e7b14e718 chore(deps-dev): bump prettier from 1.19.1 to 2.0.2 2020-04-02 21:21:46 +08:00
hoilc 44e7b3ec66 fix: bbc feed is broken (#3900) 2020-02-07 03:29:18 +08:00
KeiLongW 543a6cd1c0 feat: add Traditional Chinese for BBC news (#3679) 2020-01-07 14:29:52 +08:00
DIYgod 9a3bea3525 feat: remove referrerpolicy in routes 2019-08-28 14:38:19 +08:00
Henry Wang 39a2b905cf fix: remove a redundant parameter (#2579) 2019-07-08 11:50:42 +08:00
DIYgod 540add45d9 fix: request.path in bbc, close #2316 2019-06-04 18:38:15 +08:00
DIYgod a56c0b5a39 refactor: rename axios to got 2019-06-03 18:03:05 +08:00
Xiang Li 633154c778 refactor: 重构 rss-parser 作为工具类 (#2280) 2019-06-02 12:45:52 +08:00
DIYgod e2badbfa98 chore: module alias for all routes 2019-05-15 15:27:15 +08:00