v0.25.1
📦 esbuild
🐛 4 fixes🔧 3 symbols
Summary
This release focuses on fixing several regressions introduced in versions 0.24.1 and 0.25.0, specifically regarding source map path resolution, invalid source map generation, and a crash in switch statement optimization.
🐛 Bug Fixes
- Fixed a regression from 0.25.0 where relative paths in inline sourceMappingURL data URLs were not correctly resolved.
- Fixed a regression from 0.24.1 that could generate invalid source maps with out-of-bounds source indices.
- Restored the behavior of prepending namespaces to non-file source map paths (e.g., 'namespace:path'), which was broken in 0.25.0.
- Fixed a crash in switch statement dead code optimization occurring when case values included function expressions.
🔧 Affected Symbols
sourceMappingURLswitchsourcemap