Commit Graph
27 Commits
Author SHA1 Message Date
Tony df320988d0 refactor: replace tiny-async-pool with p-map (#18928)
* refactor: replace tiny-async-pool with p-map

* fix: use original concurrency
2025-04-23 21:02:10 +08:00
Tony 0a5e90720b feat(route): luogu (#17804) 2024-12-05 05:13:53 +08:00
pseudoyu 0a42f88de7 feat(route): add lang field in route namespace 2024-11-01 22:09:31 +07:00
Nya Candy cce3bdb4fe fix(route): 使用 ofetch() 替换一些 got().json() (#15780)
* chore: some massive adoption from got().json() to ofetch()

Not sure if everything works fine (some may still have problems other than fakeGot & json issues), but this might have some help.

BTW maybe we can start "The Migration" project to update some outdated routes to new format 🤔

* fix: some other issues

* fix: query

* fix: luogu user blog & modb topic

* fix: modb topic response

* fix: query options in freebuf

---------
2024-06-01 01:10:15 +08:00
Tony d585a87daf fix: allow multiple radar rules per route (#14800)
* fix: allow multiple radar rules per route

* fix: github folder

* feat: add namespace to radar target

* docs: fix types url
2024-03-16 03:28:44 +08:00
DIYgod d83c85a349 feat: remove radar.ts maintainer.ts router.ts 2024-03-09 18:31:48 +08:00
DIYgod 33e2f17055 fix: wrong categories 2024-03-09 15:08:34 +08:00
DIYgod 76e7e8296b fix: add routes 2024-03-09 03:24:53 +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 44c9853541 feat: replace require with import 7/n 2024-03-07 01:17:21 +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
Tony 6a1d5ad0a0 fix(route): luogu (#11064) 2022-10-12 01:48:50 +08:00
Sukka d82847f541 style/chore(eslint): enforce new rules (#8040)
* style: prefer object shorthand syntax
* refactor: prefer Array#map over Array#forEach
* style: prefer arrow callback
* chore(eslint): update rules
* style: auto fix by eslint
2021-08-17 22:23:23 +08:00
Sukka 6e3b58ed1d refactor: avoid promise overhead (#8028) 2021-08-16 11:45:53 -07:00
solstice23 44bd219892 feat: 增加洛谷用户动态 RSS (#5611) 2020-09-05 20:56:47 +01:00
Ethan Shen 757708ca95 feat: add 洛谷日报文章全文 (#5503) 2020-08-24 12:23:28 +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
prnake 14e2c3dbe6 fix: url does not exist in 清华大学 & feet: add 洛谷近期比赛 & fix: 洛谷日报 (#4063) 2020-02-25 00:13:25 +08:00
DIYgod a56c0b5a39 refactor: rename axios to got 2019-06-03 18:03:05 +08:00
DIYgod e2badbfa98 chore: module alias for all routes 2019-05-15 15:27:15 +08:00
Chenyang Shi 814f25adb2 add 洛谷日报 (#1651)
closes #1639
2019-03-02 22:13:38 +08:00