RSSHub/lib/utils
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
..
cache feat(cache): enhance tryGet method to support generic return types (#19261) 2025-06-03 09:37:43 +08:00
otel chore(deps): bump the opentelemetry group with 5 updates (#18637) 2025-03-25 18:54:32 +08:00
proxy feat(lib/proxy): support multiple proxier by `PROXY_URIS` env 2025-06-24 11:05:14 +08:00
request-rewriter feat(lib/proxy): support multiple proxier by `PROXY_URIS` env 2025-06-24 11:05:14 +08:00
cache.test.ts
camelcase-keys.spec.ts refactor: fix lint issue (#18963) 2025-04-29 03:00:16 +08:00
camelcase-keys.ts refactor: fix all no array reduce (#18973) 2025-04-30 04:16:32 +08:00
common-config.test.ts fix(utils/common-config): import parseDate and timezone functions for date handling (#19023) 2025-05-06 02:07:35 +08:00
common-config.ts fix(utils/common-config): import parseDate and timezone functions for date handling (#19023) 2025-05-06 02:07:35 +08:00
common-utils.test.ts
common-utils.ts refactor: fix lint issue (#18963) 2025-04-29 03:00:16 +08:00
debug-info.ts
git-hash.ts refactor: fix lint issue (#18963) 2025-04-29 03:00:16 +08:00
got-deprecated.ts
got.test.ts fix(got): posting form as x-www-form-urlencoded (#15348) 2024-04-24 00:10:53 +08:00
got.ts fix: get SearchParams string (#17445) 2024-11-05 11:27:13 +08:00
helpers.test.ts feat: video duration 2025-05-18 11:54:06 +08:00
helpers.ts chore(deps-dev): bump eslint-plugin-unicorn from 59.0.1 to 60.0.0 (#19662) 2025-07-22 20:45:42 +08:00
logger.ts feat: vercel compatibility 2025-08-11 21:39:03 +08:00
md5.test.ts
md5.ts refactor: fix lint issue (#18963) 2025-04-29 03:00:16 +08:00
ofetch.test.ts test: add ofetch tests 2024-04-01 21:00:32 +08:00
ofetch.ts chore: disable remote debugger by default (#17498) 2024-11-08 04:08:05 +08:00
parse-date.test.ts
parse-date.ts feat: compile ts through tsdown (#18908) 2025-04-22 22:29:11 +08:00
puppeteer-utils.test.ts chore(deps-dev): bump eslint-plugin-unicorn from 60.0.0 to 61.0.2 (#19998) 2025-09-08 23:03:48 +08:00
puppeteer-utils.ts
puppeteer.test.ts fix(tests): update expected values and increase timeout for Puppeteer tests 2025-08-22 17:45:39 +08:00
puppeteer.ts feat(utils/puppeteer): replace `puppeteer-extra-plugin-stealth` with `rebrowser` (#19506) 2025-07-01 04:38:05 +08:00
rand-user-agent.test.ts refactor: fix lint issue (#18963) 2025-04-29 03:00:16 +08:00
rand-user-agent.ts style(eslint): lint tsx (#15098) 2024-04-04 20:28:45 +08:00
readable-social.test.ts style: auto format 2025-06-22 16:44:52 +00:00
readable-social.ts feat: support float score threshold for douban (#19425) 2025-06-23 00:42:44 +08:00
render.ts feat: support .rss3 output type (#15258) 2024-04-18 02:10:33 +08:00
request-rewriter.test.ts test: fix rate limiter duration 2024-05-26 20:51:30 +08:00
rss-parser.test.ts test: rss-parser test 2024-03-27 16:18:37 +08:00
rss-parser.ts
timezone.test.ts
timezone.ts refactor: fix lint issue (#18963) 2025-04-29 03:00:16 +08:00
valid-host.test.ts
valid-host.ts
wait.test.ts
wait.ts
wechat-mp.test.ts fix(core/utils/wechat-mp): empty description when request blocked by WAF (#15294) 2024-04-22 02:19:33 +08:00
wechat-mp.ts refactor: fix Element type import 2025-05-07 04:18:23 +08:00