mirror of
https://github.com/oven-sh/bun
synced 2026-02-13 04:18:58 +00:00
Add support for the special format value 'none' in util.styleText() which applies no additional styling to the text. This matches Node.js behavior where 'none' can be used both as a single format and within arrays of formats. Changes: - Add 'none' format handling in single format case (returns text unchanged) - Add 'none' format skipping in array format case (continues to next format) - Add comprehensive tests for both single and array usage - Maintain backward compatibility with existing functionality 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>