Commit Graph
10 Commits
Author SHA1 Message Date
github-actions[bot] a28890a135 style: auto format 2025-11-27 02:55:46 +00:00
dependabot[bot] 802cbf95d2 chore(deps-dev): bump eslint-plugin-unicorn from 60.0.0 to 61.0.2 (#19998)
* chore(deps-dev): bump eslint-plugin-unicorn from 60.0.0 to 61.0.1

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 60.0.0 to 61.0.1.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v60.0.0...v61.0.1)

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

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

* refactor: replace `replace(/regex/g)` with replaceAll

* refactor: replace sort() with toSorted() for immutability in various routes and utilities

* refactor: fix unicorn/prefer-array-find

* refactor: fix unicorn/prefer-at

* refactor: add unicorn/no-array-sort rule to ESLint configuration

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 23:03:48 +08:00
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 f193dfbddc refactor: rename ctx for consistency 2025-01-26 22:50:40 +08:00
但为君故 989331871e feat: add router for CPTA(中国人事考试网) (#18097)
* feat: add router for CPTA

* fix: prolong the caching time.

* fix: fix anti-crawler restriction.

* fix: deduce the account of request

* fix: remove expiration time.

* fix: fix param description and request actions
2025-01-13 23:04:00 +08:00
DIYgod 053f0480e4 feat: remove notOperational routes - study 2023-12-21 23:19:40 +08:00
DIYgod efa0018b3f chore: update dependencies 2021-11-28 00:33:37 +00: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
Ethan Shen c0ec11a177 feat: add 中国人事考试网通知公告 (#4691) 2020-05-08 11:30:01 +08:00