Chinese Translations Get Major Enhancements
Security Enhancements
Merged PR #2488 addresses a security issue by encoding usernames in the gravatar URL construction. This prevents crafted usernames from altering the request path and potentially accessing unintended endpoints. The fix involves using encodeURIComponent to ensure safe URL construction.
Caching Mechanism Optimization
Merged PR #2469 improves the caching mechanism for replacement suggestions on the compare page. It ensures that only successful fetch results are cached, allowing for retries after transient fetch failures, thus preventing suppression of suggestions due to temporary issues.
Internationalization Improvements
Merged PR #2485 introduces updates to Simplified and Traditional Chinese translations, enhancing the application's accessibility for Chinese-speaking users. This effort reflects a commitment to internationalization and user inclusivity within the npmx platform.