guybedford / es-module-lexer

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

fix: dynamic import paren ranges #157

Closed guybedford closed 10 months ago

guybedford commented 10 months 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.