guybedford / es-module-lexer

Low-overhead lexer dedicated to ES module parsing for fast analysis
MIT License
933 stars 48 forks source link

fix: dynamic import paren ranges #157

Closed guybedford closed 1 year ago

guybedford commented 1 year ago

Fixes https://github.com/guybedford/es-module-lexer/issues/156 in ensuring dynamic import paren detection always branches on the paren token being a dynamic import.