fix: validate update() range and show indices in range errors (#318) · Rich-Harris/magic-string@7c0b663 · GitHub
Skip to content

Commit 7c0b663

Browse files
authored
fix: validate update() range and show indices in range errors (#318)
1 parent 15edb20 commit 7c0b663

2 files changed

Lines changed: 28 additions & 2 deletions

File tree

src/MagicString.ts

Lines changed: 6 additions & 2 deletions

test/MagicString.test.ts

Lines changed: 22 additions & 0 deletions

0 commit comments

Comments
 (0)