guybedford / es-module-lexer

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

fix: import.meta detection in spread #146

Closed guybedford closed 1 year ago

guybedford commented 1 year ago

Resolves https://github.com/guybedford/es-module-lexer/issues/145. In addition the keywordStart check is now extended to check for spread before a keyword.