Tony
1acb805799
style: migrate eslint to oxlint ( #21224 )
...
* chore: add oxlint support
* style: apply autofix
* style: apply autofix for toSorted
* style: use alternative api for nsfw-flag jsPlugins
* fix: git diff
* fix: codeql
* test: console.log
* style: update lint workflow to use Checkstyle SARIF converter
* style: remove debug log from extractDateFromURL function
* chore: use oxlint-json-to-sarif
* test: console.log
* test: remove console.log
* test: update cookie data expectation in getCookies test
https://github.com/mccutchen/go-httpbin/pull/235 breaks this
* style: type-aware linting
* style: enable type-aware linting for oxlint
2026-02-28 21:23:11 +08:00
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
DIYgod
532619a8c2
fix(tests): update expected values and increase timeout for Puppeteer tests
...
- Adjusted expected values in error handling tests to reflect updated application behavior.
- Increased timeout for Puppeteer tests from 20 seconds to 45 seconds to accommodate longer loading times.
2025-08-22 17:45:39 +08:00
Tony
857d5989c1
feat(utils/puppeteer): replace puppeteer-extra-plugin-stealth with rebrowser ( #19506 )
...
* feat: use rebrowser
* fix: remove rebrowser-puppeteer-core
* fix: chrome not found
* fix: replace remove-infobar with disable-blink-features
remove-infobar was removed since M76 https://github.com/puppeteer/puppeteer/issues/1765
* feat: remove outdated stealth plugin
* fix: remove puppeteer non stealth test
2025-07-01 04:38:05 +08:00
Tony
674b32262a
fix: ensure proper browser closure ( #18404 )
2025-02-20 04:04:46 +08:00
DIYgod
bc2fd88abf
test: longger puppeteer timeout
2024-04-02 01:26:23 +08:00
DIYgod
38e42156a0
feat: replace jest with vitest
2024-03-03 18:57:07 +08:00
DIYgod
d022fabda6
test: puppeteer-utils
2024-02-25 01:42:39 +08:00