Commit Graph

15463 Commits

Author SHA1 Message Date
dependabot[bot] fcdc31a7b3
chore(deps): bump proxy-chain from 2.5.9 to 2.6.0 (#20525)
Bumps [proxy-chain](https://github.com/apify/proxy-chain) from 2.5.9 to 2.6.0.
- [Release notes](https://github.com/apify/proxy-chain/releases)
- [Changelog](https://github.com/apify/proxy-chain/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apify/proxy-chain/compare/v2.5.9...v2.6.0)

---
updated-dependencies:
- dependency-name: proxy-chain
  dependency-version: 2.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-20 21:25:51 +08:00
dependabot[bot] d46e62cb29
chore(deps): bump @sentry/node from 10.25.0 to 10.26.0 (#20526)
Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript) from 10.25.0 to 10.26.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/10.25.0...10.26.0)

---
updated-dependencies:
- dependency-name: "@sentry/node"
  dependency-version: 10.26.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-20 21:23:44 +08:00
dependabot[bot] a9f6063122
chore(deps-dev): bump @vercel/nft from 0.30.3 to 0.30.4 (#20528)
Bumps [@vercel/nft](https://github.com/vercel/nft) from 0.30.3 to 0.30.4.
- [Release notes](https://github.com/vercel/nft/releases)
- [Commits](https://github.com/vercel/nft/compare/0.30.3...0.30.4)

---
updated-dependencies:
- dependency-name: "@vercel/nft"
  dependency-version: 0.30.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-20 08:21:27 +00:00
dependabot[bot] f3ddd79853
chore(deps-dev): bump tsdown from 0.16.5 to 0.16.6 (#20529)
Bumps [tsdown](https://github.com/rolldown/tsdown) from 0.16.5 to 0.16.6.
- [Release notes](https://github.com/rolldown/tsdown/releases)
- [Commits](https://github.com/rolldown/tsdown/compare/v0.16.5...v0.16.6)

---
updated-dependencies:
- dependency-name: tsdown
  dependency-version: 0.16.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-20 08:21:25 +00:00
dependabot[bot] fa3e8b3074
chore(deps): bump @scalar/hono-api-reference from 0.9.24 to 0.9.25 (#20527)
Bumps [@scalar/hono-api-reference](https://github.com/scalar/scalar/tree/HEAD/integrations/hono) from 0.9.24 to 0.9.25.
- [Changelog](https://github.com/scalar/scalar/blob/main/integrations/hono/CHANGELOG.md)
- [Commits](https://github.com/scalar/scalar/commits/HEAD/integrations/hono)

---
updated-dependencies:
- dependency-name: "@scalar/hono-api-reference"
  dependency-version: 0.9.25
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-20 08:20:09 +00:00
dependabot[bot] 18d15b0353
chore(deps-dev): bump lint-staged from 16.2.6 to 16.2.7 (#20530)
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 16.2.6 to 16.2.7.
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lint-staged/lint-staged/compare/v16.2.6...v16.2.7)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-version: 16.2.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-20 08:18:34 +00:00
dependabot[bot] 0cbecb48d7
chore(deps): bump @hono/zod-openapi from 1.1.4 to 1.1.5 (#20524)
Bumps [@hono/zod-openapi](https://github.com/honojs/middleware/tree/HEAD/packages/zod-openapi) from 1.1.4 to 1.1.5.
- [Release notes](https://github.com/honojs/middleware/releases)
- [Changelog](https://github.com/honojs/middleware/blob/main/packages/zod-openapi/CHANGELOG.md)
- [Commits](https://github.com/honojs/middleware/commits/@hono/zod-openapi@1.1.5/packages/zod-openapi)

---
updated-dependencies:
- dependency-name: "@hono/zod-openapi"
  dependency-version: 1.1.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-20 08:08:02 +00:00
Ethan Shen d91d4681a0
feat(route): add Cloudflare Status (#20514)
* feat(route): add Cloudflare Status

* fix: missing type
2025-11-20 00:09:54 +08:00
FrozenStar 46086571b9
feat(route): add East China Normal University Undergraduate Office notice (#20515)
* feat(route): add East China Normal University Undergraduate Office notices

Co-authored-by: Yuki Chiyo <chiyo.uk@outlook.com>

* fix(route): delete a useless option and modified outdated url

Co-authored-by: Yuki Chiyo <chiyo.uk@outlook.com>

---------

Co-authored-by: Yuki Chiyo <chiyo.uk@outlook.com>
2025-11-19 21:57:07 +08:00
dependabot[bot] f8fe96fbbc
chore(deps-dev): bump @stylistic/eslint-plugin from 5.5.0 to 5.6.1 (#20518)
Bumps [@stylistic/eslint-plugin](https://github.com/eslint-stylistic/eslint-stylistic/tree/HEAD/packages/eslint-plugin) from 5.5.0 to 5.6.1.
- [Release notes](https://github.com/eslint-stylistic/eslint-stylistic/releases)
- [Changelog](https://github.com/eslint-stylistic/eslint-stylistic/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint-stylistic/eslint-stylistic/commits/v5.6.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@stylistic/eslint-plugin"
  dependency-version: 5.6.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-19 13:14:21 +00:00
Tony d5cd095599
feat(route): add picnob.info (#20517) 2025-11-19 03:02:28 +08:00
Tony 5f80a3001f
fix(route/google): replace puppeteer with google-play-scraper (#20516)
* feat(route/google): replace puppeteer with google-play-scraper

* fix: override more deps

* fix(route/google/play): correct import casing for google-play-scraper
2025-11-19 02:54:37 +08:00
Keo ccfca1ad19
fix(route/ntrblog): use utils/got to get feed content (#20511) 2025-11-19 01:55:34 +08:00
Tony 5bf337b2f3 chore: pull analytics from docs repo instead 2025-11-19 01:36:31 +08:00
dependabot[bot] d184cfc532
chore(deps-dev): bump the typescript-eslint group with 2 updates (#20506)
Bumps the typescript-eslint group with 2 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser).


Updates `@typescript-eslint/eslint-plugin` from 8.46.4 to 8.47.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.47.0/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 8.46.4 to 8.47.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.47.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-version: 8.47.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: typescript-eslint
- dependency-name: "@typescript-eslint/parser"
  dependency-version: 8.47.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: typescript-eslint
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-18 19:31:32 +08:00
dependabot[bot] df15548a31
chore(deps): bump actions/checkout from 5.0.0 to 5.0.1 (#20509)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](08c6903cd8...93cb6efe18)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 5.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-18 19:30:56 +08:00
dependabot[bot] 2552a2e293
chore(deps): bump tldts from 7.0.17 to 7.0.18 (#20508)
Bumps [tldts](https://github.com/remusao/tldts) from 7.0.17 to 7.0.18.
- [Release notes](https://github.com/remusao/tldts/releases)
- [Changelog](https://github.com/remusao/tldts/blob/master/CHANGELOG.md)
- [Commits](https://github.com/remusao/tldts/compare/v7.0.17...v7.0.18)

---
updated-dependencies:
- dependency-name: tldts
  dependency-version: 7.0.18
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-18 19:28:26 +08:00
dependabot[bot] 1736cbb32a
chore(deps-dev): bump discord-api-types from 0.38.33 to 0.38.34 (#20507)
Bumps [discord-api-types](https://github.com/discordjs/discord-api-types) from 0.38.33 to 0.38.34.
- [Release notes](https://github.com/discordjs/discord-api-types/releases)
- [Changelog](https://github.com/discordjs/discord-api-types/blob/main/CHANGELOG.md)
- [Commits](https://github.com/discordjs/discord-api-types/compare/0.38.33...0.38.34)

---
updated-dependencies:
- dependency-name: discord-api-types
  dependency-version: 0.38.34
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-18 08:12:31 +00:00
surwall 1ffd371dfe
feat(route): add Google Play Store (#20231)
Co-authored-by: Xinhao Luo <neverbehave@fastmail.com>
2025-11-17 13:32:10 -08:00
Andvari ed51422824
fix(route/initium): replace got with ofetch and handle dead link (#20494)
* fix(route/initium): replace got with ofetch and handle dead link

* fix(route/theinitium): update fetchWebPage to handle new article structure
2025-11-18 01:29:51 +08:00
dependabot[bot] c38e75a28a
chore(deps): bump http-cookie-agent from 7.0.2 to 7.0.3 (#20495)
* chore(deps): bump http-cookie-agent from 7.0.2 to 7.0.3

Bumps [http-cookie-agent](https://github.com/3846masa/http-cookie-agent) from 7.0.2 to 7.0.3.
- [Release notes](https://github.com/3846masa/http-cookie-agent/releases)
- [Changelog](https://github.com/3846masa/http-cookie-agent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/3846masa/http-cookie-agent/compare/v7.0.2...v7.0.3)

---
updated-dependencies:
- dependency-name: http-cookie-agent
  dependency-version: 7.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* chore(deps): update dependencies for @hono/zod-openapi, tough-cookie, and zod

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-17 22:08:12 +08:00
dependabot[bot] 2665434759
chore(deps): bump hono from 4.10.5 to 4.10.6 (#20496)
Bumps [hono](https://github.com/honojs/hono) from 4.10.5 to 4.10.6.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.10.5...v4.10.6)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.10.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-17 21:05:38 +08:00
dependabot[bot] 66e7f49a78
chore(deps-dev): bump tsdown from 0.16.4 to 0.16.5 (#20500)
Bumps [tsdown](https://github.com/rolldown/tsdown) from 0.16.4 to 0.16.5.
- [Release notes](https://github.com/rolldown/tsdown/releases)
- [Commits](https://github.com/rolldown/tsdown/compare/v0.16.4...v0.16.5)

---
updated-dependencies:
- dependency-name: tsdown
  dependency-version: 0.16.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-17 18:59:32 +08:00
dependabot[bot] f174b3d7c7
chore(deps): bump rate-limiter-flexible from 8.2.0 to 8.2.1 (#20499)
Bumps [rate-limiter-flexible](https://github.com/animir/node-rate-limiter-flexible) from 8.2.0 to 8.2.1.
- [Release notes](https://github.com/animir/node-rate-limiter-flexible/releases)
- [Commits](https://github.com/animir/node-rate-limiter-flexible/compare/v8.2.0...v8.2.1)

---
updated-dependencies:
- dependency-name: rate-limiter-flexible
  dependency-version: 8.2.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-17 17:20:28 +08:00
dependabot[bot] 6430deb943
chore(deps): bump twitter-api-v2 from 1.27.0 to 1.28.0 (#20497)
Bumps [twitter-api-v2](https://github.com/plhery/node-twitter-api-v2) from 1.27.0 to 1.28.0.
- [Release notes](https://github.com/plhery/node-twitter-api-v2/releases)
- [Changelog](https://github.com/plhery/node-twitter-api-v2/blob/master/changelog.md)
- [Commits](https://github.com/plhery/node-twitter-api-v2/compare/1.27.0...1.28.0)

---
updated-dependencies:
- dependency-name: twitter-api-v2
  dependency-version: 1.28.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-17 17:19:34 +08:00
dependabot[bot] 0276ada540
chore(deps): bump form-data from 4.0.4 to 4.0.5 (#20502)
Bumps [form-data](https://github.com/form-data/form-data) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md)
- [Commits](https://github.com/form-data/form-data/compare/v4.0.4...v4.0.5)

---
updated-dependencies:
- dependency-name: form-data
  dependency-version: 4.0.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-17 08:34:38 +00:00
dependabot[bot] 6065c61457
chore(deps-dev): bump got from 14.6.3 to 14.6.4 (#20498)
Bumps [got](https://github.com/sindresorhus/got) from 14.6.3 to 14.6.4.
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](https://github.com/sindresorhus/got/compare/v14.6.3...v14.6.4)

---
updated-dependencies:
- dependency-name: got
  dependency-version: 14.6.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-17 08:21:06 +00:00
Stephen Zhou 4ab0547d9d
fix(route/picnob): ignore detail page error 2025-11-17 12:24:20 +08:00
Ethan Shen 87e2225139
fix(route): 中国炼焦行业协会 (#20493) 2025-11-17 00:13:31 +08:00
Liao-Ke 6e5409d7eb
feat(route): add AI 博客 (#20488)
* feat(route): add AI 博客

新增了一个归档路由处理函数,用于抓取AI博客的所有文章归档。

- 定义了一个新的路由配置对象`route`,路径为`/archives`,属于`blog`类别。
- 使用`ofetch`获取归档页面内容,并通过`cheerio`解析HTML。
- 遍历每个月份分组内的每篇文章,提取标题、链接、发布时间,并存储在列表中。
- 对列表中的每个条目,使用`cache.tryGet`缓存文章详情,若无缓存则再次使用`ofetch`获取,并解析出文章的主要内容。
- 返回处理后的结果对象,包含优化后的标题、归档页面链接以及过滤无效数据后的文章列表。

新增了一个命名空间配置对象`namespace`,用于定义AI博客的基本信息。

- 定义了一个新的命名空间配置对象`namespace`,包含站点名称、URL和语言。

* refactor(handler): 优化归档页面处理逻辑

- 使用 `toArray()` 和 `flatMap()` 方法简化了遍历每个月份分组和提取文章信息的代码逻辑。
- 修正了 `link` 属性的处理,确保当链接不存在时返回空字符串。
- 添加了 `author` 和 `description` 属性到文章对象中,以便更完整地描述文章内容。
- 精简了每个文章项的 `description` 构建,去除了不必要的 HTML 结构复制。
2025-11-16 23:48:33 +08:00
DIYgod 92032a8c51
fix(twitter): update proxy agent implementation to use new Client and HttpCookieAgentCookie 2025-11-15 09:37:48 +08:00
DIYgod d03f5697a4
fix(twitter): replace zstd decompression with gzip for third-party API requests 2025-11-15 09:01:46 +08:00
Tony 92ebae06c5
chore: bump to vitest 4 (#20487)
* chore: bump to vitest 4

* feat(vitest): add execArgv for localstorage workaround in Node 25.2

* fix: downgrade msw to 2.4.3

* Update setup.test.ts
2025-11-15 05:58:43 +08:00
Tony e3c18adc71
chore: bump to node 24 (#20486) 2025-11-15 03:56:04 +08:00
github-actions[bot] 099fde307f style: auto format 2025-11-14 17:58:02 +00:00
Tony daf9460e6a
fix(router/twitter): replace zstd decoder with native zlib decompression (#20485)
* fix(twitter): replace zstd decoder with native zlib decompression

* fix(twitter): update node version compatibility and enable experimental features
2025-11-15 01:56:23 +08:00
Ethan Shen d9d807ab12
feat(route): add 数字尾巴视频 (#20470)
* feat(route): add 数字尾巴视频

* fix pubDate
2025-11-15 00:15:22 +08:00
Stephen Zhou 2cb11d7c7e
fix(route/picnob): support img not in slide 2025-11-14 22:10:32 +08:00
dependabot[bot] 3235de47f8
chore(deps): bump header-generator from 2.1.75 to 2.1.77 (#20484)
Bumps [header-generator](https://github.com/apify/fingerprint-suite) from 2.1.75 to 2.1.77.
- [Release notes](https://github.com/apify/fingerprint-suite/releases)
- [Commits](https://github.com/apify/fingerprint-suite/compare/v2.1.75...v2.1.77)

---
updated-dependencies:
- dependency-name: header-generator
  dependency-version: 2.1.77
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-14 08:05:54 +00:00
Stephen Zhou 400fb1fa49
fix(route/picnob): use puppeteer-real-browser to pass cf check (#20478) 2025-11-14 15:32:09 +08:00
DIYgod a07565d356
feat(api): implement zstd decoding for third-party API responses 2025-11-14 14:13:18 +08:00
DIYgod 6e29199fd2
fix(cache): update request URL for cookie retrieval in getCookie function 2025-11-14 12:08:13 +08:00
IChengHo 6969cf1bcb
fix(route/twreporter): Prevent crash when hero_image or og_image is missing (#20481)
The original code directly accessed nested properties on
`post.hero_image`, which is not guaranteed to exist.
This cause a TypeError when the image object was nil.

This commit introduces safe access by:
- Prioritizing `hero_image` but falling back to `og_image`
- Only rendering the banner if a valid image URL was resolved
2025-11-14 11:22:13 +08:00
Tony 2ae10a7a02
feat: replace rand-user-agent with header-generator (#20480)
* Initial plan

* Replace @tonyrl/rand-user-agent with header-generator and add sec-ch-* headers

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

* Extract unwanted UA validation into standalone isValidUserAgent function

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

* Add headerGeneratorPreset option to got and ofetch utilities

* Replace randUserAgent usage in lib/routes with headerGeneratorPreset option

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

* chore: pin header-generator to exact match

* fix: replace randUserAgent with a static user agent string in config

* Remove deprecated _randUserAgent function and related tests

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

* refactor: rename to header-generator

* Changes before error encountered

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

* fix: update generateHeaders parameter type to Partial<HeaderGeneratorOptions>

* fix: add ios preset

* fix: rename headerGeneratorPreset to headerGeneratorOptions

* feat: add MODERN_IOS preset and update header-generator patch hash

* fix: use ios preset

* fix: update FetchOptions to include headerGeneratorOptions type

* refactor: simplify header generation and update header inclusion list

* fix: remove header-generator patch

* refactor: update user-agent handling in requests and tests

* test: remove redundant headerGeneratorOptions test and add new ofetch header preset test

* test: add custom user-agent test for ofetch

* test: update user-agent expectation in ofetch headers test

* Update lib/utils/ofetch.ts

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

* refactor: replace hardcoded headers with generatedHeaders in fetch and get request handlers

* refactor: rename test suite from rand-user-agent to header-generator and remove unused dependency

* Update lib/utils/header-generator.ts

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

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TonyRL <11386903+TonyRL@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-14 00:49:41 +08:00
dependabot[bot] ee55d8f00b
chore(deps-dev): bump tsdown from 0.16.3 to 0.16.4 (#20477)
Bumps [tsdown](https://github.com/rolldown/tsdown) from 0.16.3 to 0.16.4.
- [Release notes](https://github.com/rolldown/tsdown/releases)
- [Commits](https://github.com/rolldown/tsdown/compare/v0.16.3...v0.16.4)

---
updated-dependencies:
- dependency-name: tsdown
  dependency-version: 0.16.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-13 08:06:36 +00:00
Ethan Shen 60ad86b6f6
fix(route): 艾瑞咨询研究报告 (#20450)
* fix(route): 艾瑞咨询研究报告

* fix loop

* fix typo

* fix typo
2025-11-13 00:15:25 +08:00
Kenny Fong bea6da0dd2
feat(route/futunn): add live, topic and video (#20464)
* add live, topic and video

* fix issues

* Update lib/routes/futunn/topic.ts
2025-11-12 22:26:35 +08:00
dependabot[bot] bd77f8294b
chore(deps): bump hono from 4.10.4 to 4.10.5 (#20471)
Bumps [hono](https://github.com/honojs/hono) from 4.10.4 to 4.10.5.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.10.4...v4.10.5)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.10.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-12 12:32:18 +00:00
dependabot[bot] b832497412
chore(deps): bump jsdom from 27.1.0 to 27.2.0 (#20473)
Bumps [jsdom](https://github.com/jsdom/jsdom) from 27.1.0 to 27.2.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/main/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/27.1.0...27.2.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-version: 27.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-12 20:29:34 +08:00
dependabot[bot] ab810c0ab7
chore(deps): bump @sentry/node from 10.24.0 to 10.25.0 (#20476) 2025-11-12 20:23:59 +08:00