In magic-string v1.0.0, it's now pure ESM, and the type declarations are built from the TypeScript source. This means the previous CJS, UMD, and IIFE builds are now dropped as we believe the ecosystem is moving forward for ESM. The version was bumped to v1.0.0 instead of v0.31 to distinguish this breaking change, and since magic-string has been verified by the ecosystem for over a decade, the API is stable enough to be marked as v1.
Genreated changelogs:
🚨 Breaking Changes
🐞 Bug Fixes
- Avoid crash when moving a zero-length range - by @sarathfrancis90 and @antfu in #307 (56fe8)