Skip to content

chore: migrate to yarn and enhance security error handling#264

Merged
zhb-ai merged 3 commits intodevfrom
feature/i18n-react-i18next
Mar 25, 2026
Merged

chore: migrate to yarn and enhance security error handling#264
zhb-ai merged 3 commits intodevfrom
feature/i18n-react-i18next

Conversation

@zhb-ai
Copy link
Collaborator

@zhb-ai zhb-ai commented Mar 25, 2026

chore(deps): migrate to yarn and improve error handling security

  • Switch from npm to yarn, remove package-lock.json
  • Update yarn.lock with latest dependencies
  • Add error message sanitization to prevent sensitive info leakage
  • Unify error handling with sanitize_error_message function
  • Replace json.dumps with jsonify for consistent responses

Add error message sanitization across multiple routes to prevent sensitive information leakage
Remove duplicate custom sanitization logic and unify usage of the new sanitize_error_message function
Replace json.dumps with jsonify to maintain consistent response formatting
- Remove package-lock.json in favor of yarn.lock
- Update yarn.lock with latest dependency resolutions
Prevent npm lock file from being committed to version control as we use yarn
@zhb-ai zhb-ai merged commit 66dc27b into dev Mar 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants