Tony
ff27ed8ab6
refactor: remove dead code
2026-06-16 19:10:47 +08:00
dependabot[bot] and Tony
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
github-actions[bot]
788c549948
style: auto format
2026-05-07 20:42:08 +00:00
Tony
0ddea9ef86
fix(route): apple apps ( #21824 )
2026-04-24 19:39:30 +08:00
github-actions[bot]
ebfe021b50
style: auto format
2026-04-14 15:15:05 +00:00
LinxHex
f69c416291
feat(apple): add full-text Apple Newsroom route ( #21384 )
...
* feat(apple): add full-text Apple Newsroom route
Add /apple/newsroom for the official Apple Newsroom China feed.
Fetch article pages to provide full-text content with cached detail requests, and normalize article metadata and media URLs.
Remove gallery navigation, download buttons, video playback controls, empty wrapper nodes, and other non-content UI elements from articles.
Format image and video captions as distinct descriptions, and drop duplicate captions when their text matches the article body.
* fix(apple): sanitize dangerous media URLs in newsroom route
* fix(route): refine Apple Newsroom route metadata and request handling
* fix(route): simplify Apple Newsroom description cleanup
2026-03-20 22:18:15 +08:00
Dachein and xbankeradmin
85b5444d07
fix(route/apple/podcast): adapt to new serialized-server-data structure ( #21387 )
...
Apple Podcasts changed the `#serialized-server-data` element from a
direct array to an object wrapper `{ data: [...], userTokenHash }`.
This broke the route with:
TypeError: Cannot read properties of undefined (reading 'data')
Changes:
- Handle both old (array) and new (object with `data` key) formats
using `Array.isArray()` check for backward compatibility
- Add defensive optional chaining on the `channel` relationship
access chain to prevent crashes when episodes lack channel data
Fixes the same underlying issue reported by yt-dlp (yt-dlp/yt-dlp#15926 ).
Made-with: Cursor
Co-authored-by: xbankeradmin <admin@xbanker.ai >
2026-03-16 19:58:24 +08:00
Tony
ba0f1ad292
style(eslint): fix no-unassigned-vars no-useless-assignment preserve-caught-error ( #21175 )
...
* fix: fix no-unassigned-vars
* fix: fix preserve-caught-error
* fix: fix no-useless-assignment
* fix: update variable types for better type safety
* fix: replace nullish coalescing with logical OR for limit assignment
* fix: add DataItem type import for better type safety
2026-02-18 22:25:14 +08:00
Tony
b84bb92a8a
style: replace unicorn/no-for-loop w/ typescript/prefer-for-of ( #20798 )
...
* style: replace unicorn/no-for-loop w/ typescript/prefer-for-of
* style: fix typescript-eslint/prefer-for-of
* style: fix typescript/no-inferrable-types
* style: fix typescript-eslint/consistent-generic-constructors
* style: typescript-eslint/consistent-type-assertions
* style: fix typescript-eslint/array-type
* fix: revert .entries() in d96ca62d3d80806b0475a54e749decfc07b24701
2026-01-02 09:42:24 +08:00
DIYgod
cf4e772de8
refactor: replace art template with jsx ( #20777 )
...
* refactor: replace art template with jsx
* fix: tsx files
* fix: renderToString import
* fix: hono html raw import
* feat: remove art
2025-12-29 12:27:32 +08:00
github-actions[bot]
edfac9f24c
style: auto format
2025-11-27 05:54:33 +00:00
github-actions[bot]
838eb3c7ff
style: auto format
2025-11-27 05:49:33 +00:00
Stephen Zhou
d5e4fba8b2
style: format
2025-11-27 11:04:48 +08:00
github-actions[bot]
a28890a135
style: auto format
2025-11-27 02:55:46 +00:00
Tony
13e7784944
fix(route): apple app store ( #20427 )
2025-11-05 05:11:28 +08:00
Tony
f8da14e119
docs: fix markdown custom containers syntax
2025-09-28 03:34:52 +08:00
Tony
7738a78b97
fix(route/podcast): add fallback channel data ( #20099 )
2025-09-19 05:15:04 +08: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
e9038b7c6e
fix(route/apple): fix paid podcast retrieval ( #19937 )
2025-08-31 06:00:31 +08:00
L
b18f792596
fix(route/apple): add guid to items ( #19760 )
...
* fix: add guid to items
* fix: reduce the number of feed items
* Revert "fix: reduce the number of feed items"
2025-08-06 21:01:59 +08:00
L
cc1d43c297
feat(route): add Apple design updates ( #19639 )
...
* feat(route): add Apple design updates
* fix: update example URL in route
* refactor: remove cache
2025-07-19 18:03:29 +08:00
DIYgod
2dce2e32dd
feat: docs sorting and auto popular
2025-05-31 17:10:01 +08:00
Ethan Shen
f18db0877a
feat(route): add Apple Security releases ( #19165 )
...
* feat(route): add Apple Security releases
* fix typo
2025-05-23 00:33:40 +08:00
shunwork
5e91602190
feat(ApplePodcast): remove seoEpisode check because it is removed fro… ( #18838 )
...
* feat(ApplePodcast): remove seoEpisode check because it is removed from source
* fix(ApplePodcast): parse seoEpisodes from new position rather than removing it
2025-04-14 01:55:37 +08:00
Tony
04a3e88448
docs: fix admonitions syntax ( #18018 )
2025-01-01 15:52:40 +08:00
shunwork
35589cab81
feat(route/apple/podcast): add optional region parameter ( #17741 )
...
* feat(route/apple/podcast): add optional region parameter
* fix(route/apple/podcast): fix lint
2024-11-28 22:59:19 +08:00
pseudoyu
0a42f88de7
feat(route): add lang field in route namespace
2024-11-01 22:09:31 +07:00
LandonLi
1524059a5f
fix(route/apple/podcast): Fix broken apple podcast route ( #16953 )
...
* fix(route/apple/podcast): Fix broken apple podcast route
* style(route/apple/podcast): Code style format
2024-09-29 20:00:59 +08:00
Tony
e7bc181ff9
docs: fix namespace url
2024-09-24 23:30:44 +08:00
DIYgod
f3315cdad4
feat: update popular category
2024-07-23 20:28:08 +08:00
Demian
f292c52963
fix(apple/apps): typo ( #15572 )
2024-05-13 15:57:38 +08:00
Acring and 刘圳
d9051070f8
feat(route): add apple podcast route ( #15255 )
...
* feat: add apple podcast route
Signed-off-by: 刘圳 <liu.zhen@xsky.com >
* Update lib/routes/apple/podcast.ts
---------
Signed-off-by: 刘圳 <liu.zhen@xsky.com >
Co-authored-by: 刘圳 <liu.zhen@xsky.com >
2024-04-17 14:57:01 +08:00
Rongrong
ef8b061ea2
chore(routes/*): fix unreachable code ( #15192 )
...
This is a regression introduced in #14718 .
Signed-off-by: Rongrong <i@rong.moe >
2024-04-12 00:19:38 +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
4a0aceb7e3
feat: apple apps and firefox addons title
2024-03-14 23:06:26 +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
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
Fatpandac
77f3e710fa
fix(route): appstore refactor to V2 ( #9177 )
...
* fix(route): appstore refactor to V2
* fix(route): add radar.js
* fix: remove legacy url.resolve
2022-02-25 00:14:13 +08:00
Fatpandac
9cb8d5053c
fix(route): apple/exchange_repair refactor to V2 ( #9176 )
...
* fix(route): apple/exchange_repair refactor to V2
* fix(route): add radar.js
* fix: remove legacy url.resolve use tryGet
2022-02-25 00:00:09 +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
Henry
a0ecf6d684
fix: app store iap price drop
2020-12-12 18:14:32 +00:00