RSSHub/lib
Yufan You 5589b89478
fix(cache): call JSON.stringify when storing value in cache.tryGet (#20671)
* fix(cache): call JSON.stringify when storing value in cache.tryGet

The value is returned as-is, so we may assume that it's not JSON
stringified inside `getValueFunc`. Otherwise, the caller already needs
to distinguish between values that are either JSON parsed or not.

* Revert "fix(routes/mastodon): don't refresh account ID cache (#20663)"

This reverts commit c2cff410fa.

* test: add test

* test: lint
2026-05-07 01:26:11 +08:00
..
api
assets
errors test: remove text "Not Found" from httperror 2026-05-06 03:12:57 +08:00
middleware style: auto format 2026-04-14 15:15:05 +00:00
routes fix(cache): call JSON.stringify when storing value in cache.tryGet (#20671) 2026-05-07 01:26:11 +08:00
routes-deprecated
shims chore(deps-dev): bump the oxc group across 1 directory with 4 updates (#21583) 2026-04-01 22:10:13 +08:00
utils fix(cache): call JSON.stringify when storing value in cache.tryGet (#20671) 2026-05-07 01:26:11 +08:00
views feat: add promotion 2026-03-17 15:59:10 +08:00
app-bootstrap.test.tsx feat(core): add honeybadger support (#21574) 2026-04-01 01:10:12 +08:00
app-bootstrap.tsx feat(core): add honeybadger support (#21574) 2026-04-01 01:10:12 +08:00
app.test.ts fix(ua): ensure header-generator and custom ua are effective with each other (#21546) 2026-03-29 22:47:56 +08:00
app.ts chore: unpin jsdom (#21505) 2026-03-25 23:16:40 +08:00
app.worker.tsx refactor: migrate browser automation to Playwright (#21901) 2026-05-04 21:16:18 +08:00
bilibili-video-route.test.ts fix: update browser fetching for bilibili and xsijishe 2026-05-06 16:30:15 +08:00
config.remote-error.test.ts
config.test.ts feat: add HTTP cache (#21814) 2026-04-24 11:35:51 +08:00
config.ts refactor: migrate browser automation to Playwright (#21901) 2026-05-04 21:16:18 +08:00
container.ts
entrypoints.test.ts
index.test.ts
index.ts feat: disable IPv6 (#21719) 2026-04-13 23:45:08 +08:00
pkg.test.ts
pkg.ts
registry.dynamic.test.ts feat: esm directory import (#21428) 2026-03-18 15:15:28 +08:00
registry.test.ts style: auto format 2026-04-14 15:15:05 +00:00
registry.ts feat: esm directory import (#21428) 2026-03-18 15:15:28 +08:00
route-paths.d.ts
router.js
routes.test.ts
server.ts
setup.test.ts style: auto format 2026-04-14 15:15:05 +00:00
types.ts refactor: migrate browser automation to Playwright (#21901) 2026-05-04 21:16:18 +08:00
worker.ts
worker.worker.test.ts