Files
RSSHub/lib/utils
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
..
2026-04-14 15:15:05 +00:00
2025-11-27 02:55:46 +00:00
2026-04-13 23:45:08 +08:00
2025-11-27 02:55:46 +00:00
2026-04-14 15:15:05 +00:00
2025-11-27 02:55:46 +00:00
2025-11-27 02:55:46 +00:00
2025-04-29 03:00:16 +08:00
2025-11-27 02:55:46 +00:00
2025-11-27 02:55:46 +00:00
2025-04-29 03:00:16 +08:00
2025-11-27 02:55:46 +00:00
2024-02-25 02:10:10 +08:00
2025-11-27 02:55:46 +00:00
2024-01-31 02:14:48 +08:00