Commit Graph

11281 Commits

Author SHA1 Message Date
DIYgod 39f8eeb1fc
test: add ofetch tests 2024-04-01 21:00:32 +08:00
Jia Chen df3f8986cd
feat(route): recover route yande.re (#15030)
* feat(route): recover route yande.re

* Update lib/routes/yande/post.ts

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

---------
2024-04-01 18:49:24 +08:00
DIYgod ea4a8fc323
Merge pull request #15043 from CaoMeiYouRen/fix/bilibili/user/dynamic-v2
fix(route): 修复 bilibili 动态路由 部分情况下缺失 title 的问题
2024-04-01 11:03:46 +01:00
CaoMeiYouRen a2aaf48a9e
fix(route): 修复 bilibili 动态路由 部分情况下缺失 title 的问题 2024-04-01 17:14:33 +08:00
CaoMeiYouRen 53b064f2c0
fix(route): 修复 imgUrls 没有 join 的问题 2024-04-01 17:01:55 +08:00
CaoMeiYouRen 8928e1e598
fix(route): 修复 origin 的 title 和 desc 可能会重复的问题 2024-04-01 16:58:43 +08:00
CaoMeiYouRen df5b373e19
fix(route): 修复 bilibili 动态路由 部分情况下缺失 title 的问题 2024-04-01 16:51:08 +08:00
DIYgod d7f3e88ecf
Merge pull request #15031 from CaoMeiYouRen/fix/bilibili/user/dynamic-v2
fix(route): 迁移 bilibili 用户动态路由到新版 web 路由
2024-04-01 09:10:31 +01:00
rkscv 255f04b8fe
fix(route): linovelib volume (#15039) 2024-04-01 10:55:13 +08:00
DIYgod ffd5f26d30
Merge pull request #14922 from DIYgod/feature/ofetch
feat: use ofetch
2024-03-31 18:58:48 +01:00
DIYgod 425a131083
chore: remove nock 2024-04-01 01:51:11 +08:00
DIYgod 50d194ef3d
Merge remote-tracking branch 'origin/master' into feature/ofetch 2024-03-31 23:37:37 +08:00
DIYgod 4f44a8150d
test: fix exclude 2024-03-31 23:33:31 +08:00
DIYgod bf4e5dd78f
test: fix caces 2024-03-31 23:13:22 +08:00
CaoMeiYouRen 5a4dc4820b
fix(route): 根据 bilibili 动态文档修复部分类型缺失 2024-03-31 13:59:04 +08:00
Ethan Shen 614f6dc12f
feat(route): add 幻之羁绊动漫网 (#15015)
* feat(route): add 幻之羁绊动漫网

* fix categories
2024-03-31 07:21:57 +08:00
N78Wy 34e844a70b
fix(router): MMDArchive fix __dirname (#15028)
Co-authored-by: keweiye <keweiye@rich-f.com>
2024-03-31 07:02:56 +08:00
DIYgod f5ced001eb
test: errors 2024-03-31 03:17:53 +08:00
DIYgod f7048d4c24
fix: ignore url parsing error 2024-03-31 02:45:40 +08:00
DIYgod 8c50e2f96f
test: request-rewriter 2024-03-31 02:28:58 +08:00
DIYgod d83c951d8c
fix: proxy auth 2024-03-31 02:28:26 +08:00
CaoMeiYouRen 004fabf908
fix(route): 迁移 bilibili 用户动态路由到新版 web 路由
fix #14990
2024-03-31 01:39:19 +08:00
SettingDust aae5eb7741
fix(modrinth): avoid duplicating author id (#15027) 2024-03-31 01:24:47 +08:00
Ethan Shen 0d0684a676
fix(route): BT之家1LOU站 (#15014)
* fix(route): BT之家1LOU站

* fix categories
2024-03-31 00:50:47 +08:00
DIYgod 59631b2e9b
test: request-rewriter headers 2024-03-30 18:30:41 +08:00
DIYgod bec0ba0705
test: request headers 2024-03-30 18:29:38 +08:00
SettingDust b4d7da11ac
fix(modrinth): name could be null (#15024)
* fix(modrinth): name could be null

* fix(modrinth): author api seems changed
2024-03-30 18:22:54 +08:00
DIYgod a828b3dd1c
feat: request rewriter 2024-03-30 18:21:14 +08:00
dependabot[bot] 684edfbb57
chore(deps): bump @hono/zod-openapi from 0.9.9 to 0.9.10 (#15018)
* chore(deps): bump @hono/zod-openapi from 0.9.9 to 0.9.10

Bumps [@hono/zod-openapi](https://github.com/honojs/middleware) from 0.9.9 to 0.9.10.
- [Release notes](https://github.com/honojs/middleware/releases)
- [Commits](https://github.com/honojs/middleware/compare/@hono/zod-openapi@0.9.9...@hono/zod-openapi@0.9.10)

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

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

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-30 17:13:11 +08:00
dependabot[bot] 67c9eebafe
chore(deps): bump tldts from 6.1.15 to 6.1.16 (#15017)
* chore(deps): bump tldts from 6.1.15 to 6.1.16

Bumps [tldts](https://github.com/remusao/tldts) from 6.1.15 to 6.1.16.
- [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/v6.1.15...v6.1.16)

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

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

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-30 17:07:07 +08:00
LMark a5334b7317
fix(route): 巴哈姆特電玩資訊站-GNN 新聞 (#15009)
* fix 巴哈姆特電玩資訊站-GNN 新聞

* update limit to response data

* fix timezone error

* Revert "fix timezone error"

This reverts commit c99af4fa5b0dc24076f1580a7736a42e684242d5.
2024-03-30 17:06:44 +08:00
xtex f287945d69
feat(route): /minecraft/version, add version type filter and wiki link generator (#14941) 2024-03-30 08:27:24 +00:00
wudifeixue c086c62acd
fix(core): fix documentation link path and error message links (#15023)
* fix: all broken sponsor links

* fix: all broken deployment links

* fix: other broken links
2024-03-30 08:12:12 +00:00
CaoMeiYouRen 3b5b43a3dc
fix(route): 修复 知乎日报路由 (#15008) 2024-03-29 12:23:18 +08:00
dependabot[bot] 5a7108c7ab
chore(deps): bump hono from 4.1.4 to 4.1.5 (#15003)
* chore(deps): bump hono from 4.1.4 to 4.1.5

Bumps [hono](https://github.com/honojs/hono) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.1.4...v4.1.5)

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

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

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-29 10:00:24 +08:00
dependabot[bot] 458cf23405
chore(deps): bump @sentry/node from 7.108.0 to 7.109.0 (#15004)
* chore(deps): bump @sentry/node from 7.108.0 to 7.109.0

Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript) from 7.108.0 to 7.109.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/7.109.0/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.108.0...7.109.0)

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

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

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-29 01:59:24 +00:00
LMark 528b9c357a
fix(route): 中华人民共和国交通运输部 (#15002) 2024-03-29 03:31:37 +08:00
Enoch Ma c03ec9c32d
feat(route): migrate to v2 api (twreporter) (#14983)
* support category and fix time(twreporter)

* html -> text

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

* simplification

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

* update list of entries

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

* use api (v2)

* support youtube

* linting

* solve lint

* ignore the inconsistency

* manually solve the abnormal cases

* camelCase

* use format function

* add filter

---------
2024-03-29 03:14:21 +08:00
JimenezLi b9ff661337
fix(core): fix wrong path on windows deploy (#15000) 2024-03-29 02:58:56 +08:00
KidLoveToPlay 97fdc24e84
docs(route): /ntdm/video, update right example id (#14999) 2024-03-28 22:43:43 +08:00
DIYgod 176e773013
fix: setting dispatcher in options 2024-03-28 19:39:29 +08:00
abc1763613206 0526c2c852
feat(route): Add 小米社区用户发帖 (#14920)
* feat(route): Add 小米社区用户发帖

* fix: use logical operator

* fix: apply radar suggestion

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

* wip: migrate route to `miui`

* fix: migrate miui firmware update to `firmware`

---------
2024-03-28 09:32:01 +08:00
dependabot[bot] 9080e169e5
chore(deps): bump tldts from 6.1.14 to 6.1.15 (#14991)
* chore(deps): bump tldts from 6.1.14 to 6.1.15

Bumps [tldts](https://github.com/remusao/tldts) from 6.1.14 to 6.1.15.
- [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/v6.1.14...v6.1.15)

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

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

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-28 00:59:43 +00:00
dependabot[bot] 11eb414a39
chore(deps): bump directory-import from 3.2.1 to 3.3.1 (#14992)
* chore(deps): bump directory-import from 3.2.1 to 3.3.1

Bumps [directory-import](https://github.com/ANIname/directory-import) from 3.2.1 to 3.3.1.
- [Commits](https://github.com/ANIname/directory-import/commits)

---
updated-dependencies:
- dependency-name: directory-import
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-28 00:46:53 +00:00
DIYgod 4287da8e9c
Merge remote-tracking branch 'origin/master' into feature/ofetch 2024-03-28 03:11:10 +08:00
CaoMeiYouRen cc459531a7
fix: 修复 form-data 依赖的缺失;增加 cross-env 以兼容 Windows 和 Linux 的环境变量设置 (#14981)
* fix: 修复 form-data 依赖的缺失;增加 cross-env 以兼容 Windows 和 Linux 的环境变量设置

* fix: fix package.json/pnpm-lock.yaml; add .npmrc

* fix: update the pnpm-lock.yaml file and use the locked version

* fix: update pnpm-lock.yaml
2024-03-28 02:48:48 +08:00
DIYgod 759c03cd23
feat: intercept undici and use fetch dispatcher 2024-03-28 02:45:08 +08:00
DIYgod 23104cd1f6
feat: use undici 2024-03-28 02:42:24 +08:00
Ethan Shen 0e7c773a9a
feat(route): add 君合律师事务所君合法评 (#14982)
* feat(route): add 君合律师事务所君合法评

* update lib/routes/junhe/legal-updates.ts

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

---------
2024-03-28 02:23:01 +08:00
github-actions[bot] a13a9bda06 style: auto format 2024-03-27 16:50:32 +00:00