RSSHub/lib/utils
dependabot[bot] 873618e99d
chore(deps-dev): bump eslint-plugin-unicorn from 65.0.1 to 66.0.0 (#22274)
* chore(deps-dev): bump eslint-plugin-unicorn from 65.0.1 to 66.0.0

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 65.0.1 to 66.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v65.0.1...v66.0.0)

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

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

* style: fix unicorn-js/prefer-url-href

* style: oxlint disable

* style: fix unicorn-js/no-useless-else

* style: no-unsafe-string-replacement

* style: fix no-duplicate-loops

* style: fix prefer-number-is-safe-integer

* style: fix prefer-single-array-predicate

* style: fix no-object-methods-with-collections

* style: fix no-useless-boolean-cast

* style: fix no-useless-template-literals

* style: fix no-negated-array-predicate

* style: fix prefer-direct-iteration

* style: fix consistent-optional-chaining

* style: fix prefer-simple-sort-comparator

* style: fix prefer-global-number-constants

* style: fix prefer-type-literal-last

* style: fix require-array-sort-compare.

* style: fix prefer-early-return

* style: fix prefer-short-arrow-method

* style: fix prefer-array-from-map

* style: fix prefer-scoped-selector

* style: fix no-global-object-property-assignment

* style: fix no-unnecessary-global-this

* style: fix no-unreadable-object-destructuring

* style: fix no-invalid-argument-count

* style: fix prefer-smaller-scope

* style: fix prefer-iterator-to-array.

* style: fix prefer-object-iterable-methods

* style: fix typo

* style: fix max-nested-calls

* style: fix no-incorrect-template-string-interpolation

* style: fix no-break-in-nested-loop

* style: fix prefer-await

* style: fix no-computed-property-existence-check

* style: fix prefer-number-coercion

* style: fix no-empty-file

* style: update eslint unicorn v66 recommended preset

* style: add unicorn/prefer-spread to oxlint-disable comments

* style: fix no-array-reduce

* style: delete github/no-then as it's covered by unicorn/prefer-await

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2026-06-16 14:43:42 +08:00
..
cache chore(deps-dev): bump eslint-plugin-unicorn from 65.0.1 to 66.0.0 (#22274) 2026-06-16 14:43:42 +08:00
otel chore(deps-dev): bump eslint-plugin-unicorn from 65.0.1 to 66.0.0 (#22274) 2026-06-16 14:43:42 +08:00
proxy chore(deps-dev): bump eslint-plugin-unicorn from 65.0.1 to 66.0.0 (#22274) 2026-06-16 14:43:42 +08:00
request-rewriter chore(deps-dev): bump eslint-plugin-unicorn from 65.0.1 to 66.0.0 (#22274) 2026-06-16 14:43:42 +08:00
cache.test.ts fix(cache): call JSON.stringify when storing value in cache.tryGet (#20671) 2026-05-07 01:26:11 +08:00
camelcase-keys.spec.ts
camelcase-keys.ts chore(deps-dev): bump eslint-plugin-unicorn from 65.0.1 to 66.0.0 (#22274) 2026-06-16 14:43:42 +08:00
common-config.charset.test.ts style: auto format 2026-04-14 15:15:05 +00:00
common-config.test.ts style: auto format 2026-04-14 15:15:05 +00:00
common-config.ts chore(deps-dev): bump eslint-plugin-unicorn from 65.0.1 to 66.0.0 (#22274) 2026-06-16 14:43:42 +08:00
common-utils.test.ts feat(tests): add comprehensive unit tests for various utility functions and views (#20779) 2025-12-29 17:34:48 +08:00
common-utils.ts chore(deps-dev): bump eslint-plugin-unicorn from 64.0.0 to 65.0.0 (#22219) 2026-06-09 00:08:15 +08:00
debug-info.ts
directory-import.test.ts chore(deps-dev): bump eslint-plugin-unicorn from 65.0.1 to 66.0.0 (#22274) 2026-06-16 14:43:42 +08:00
directory-import.ts feat: esm directory import (#21428) 2026-03-18 15:15:28 +08:00
directory-import.worker.ts feat: deploy RSSHub to Cloudflare Workers (#20804) 2026-01-04 09:22:05 +08:00
git-hash.test.ts feat(tests): add comprehensive unit tests for various utility functions and views (#20779) 2025-12-29 17:34:48 +08:00
git-hash.ts
got.test.ts style: auto format 2026-04-14 15:15:05 +00:00
got.ts chore(deps-dev): bump got from 14.6.6 to 15.0.0 (#21591) 2026-04-10 00:57:30 +08:00
header-generator.mock.test.ts feat(tests): add comprehensive unit tests for various utility functions and views (#20779) 2025-12-29 17:34:48 +08:00
header-generator.test.ts feat: deploy RSSHub to Cloudflare Workers (#20804) 2026-01-04 09:22:05 +08:00
header-generator.ts test(header-generator): improve header validation (#21492) 2026-03-24 23:37:28 +08:00
helpers.test.ts feat(tests): add comprehensive unit tests for various utility functions and views (#20779) 2025-12-29 17:34:48 +08:00
helpers.ts chore(deps-dev): bump eslint-plugin-unicorn from 65.0.1 to 66.0.0 (#22274) 2026-06-16 14:43:42 +08:00
is-worker.ts chore(deps-dev): bump eslint-plugin-unicorn from 65.0.1 to 66.0.0 (#22274) 2026-06-16 14:43:42 +08:00
is-worker.worker.ts feat: deploy RSSHub to Cloudflare Workers (#20804) 2026-01-04 09:22:05 +08:00
logger.test.ts feat(tests): add comprehensive unit tests for various utility functions and views (#20779) 2025-12-29 17:34:48 +08:00
logger.ts style: replace unicorn/no-for-loop w/ typescript/prefer-for-of (#20798) 2026-01-02 09:42:24 +08:00
logger.worker.ts feat: deploy RSSHub to Cloudflare Workers (#20804) 2026-01-04 09:22:05 +08:00
md5.test.ts
md5.ts
ofetch.test.ts feat(tests): add comprehensive unit tests for various utility functions and views (#20779) 2025-12-29 17:34:48 +08:00
ofetch.ts chore(deps-dev): bump eslint-plugin-unicorn from 65.0.1 to 66.0.0 (#22274) 2026-06-16 14:43:42 +08:00
parse-date.test.ts fix(utils): refactor parseRelativeDate to support dynamic reference (#21054) 2026-02-06 21:44:49 +08:00
parse-date.ts chore(deps-dev): bump eslint-plugin-unicorn from 65.0.1 to 66.0.0 (#22274) 2026-06-16 14:43:42 +08:00
playwright-utils.test.ts chore(deps-dev): bump eslint-plugin-unicorn from 65.0.1 to 66.0.0 (#22274) 2026-06-16 14:43:42 +08:00
playwright-utils.ts refactor: replace playwright with patchright (#21976) 2026-06-07 02:43:20 +08:00
playwright.test.ts chore(deps-dev): bump eslint-plugin-unicorn from 65.0.1 to 66.0.0 (#22274) 2026-06-16 14:43:42 +08:00
playwright.ts chore(deps-dev): bump eslint-plugin-unicorn from 65.0.1 to 66.0.0 (#22274) 2026-06-16 14:43:42 +08:00
playwright.worker.ts refactor: replace playwright with patchright (#21976) 2026-06-07 02:43:20 +08:00
puppeteer-utils.ts refactor: migrate browser automation to Playwright (#21901) 2026-05-04 21:16:18 +08:00
readable-social.test.ts feat(tests): add comprehensive unit tests for various utility functions and views (#20779) 2025-12-29 17:34:48 +08:00
readable-social.ts chore(deps-dev): bump eslint-plugin-unicorn from 65.0.1 to 66.0.0 (#22274) 2026-06-16 14:43:42 +08:00
render.ts
request-rewriter.test.ts chore(deps-dev): bump eslint-plugin-unicorn from 65.0.1 to 66.0.0 (#22274) 2026-06-16 14:43:42 +08:00
rss-parser.test.ts chore(deps-dev): bump tsdown from 0.21.9 to 0.21.10 (#21810) 2026-04-29 05:09:46 +08:00
rss-parser.ts
timezone.test.ts feat(tests): add comprehensive unit tests for various utility functions and views (#20779) 2025-12-29 17:34:48 +08:00
timezone.ts
valid-host.test.ts
valid-host.ts chore: add eslint-plugin-regexp (#22189) 2026-06-05 20:04:39 +08:00
wait.test.ts
wait.ts
wechat-mp.test.ts chore(deps-dev): bump eslint-plugin-unicorn from 65.0.1 to 66.0.0 (#22274) 2026-06-16 14:43:42 +08:00
wechat-mp.ts chore(deps-dev): bump eslint-plugin-unicorn from 65.0.1 to 66.0.0 (#22274) 2026-06-16 14:43:42 +08:00