tc39 / eshost

A uniform wrapper around a multitude of ECMAScript hosts. CLI: https://github.com/bterlson/eshost-cli
Other
142 stars 36 forks source link

Improve robustness of dependency inference #110

Closed jugglinmike closed 3 years ago

jugglinmike commented 3 years ago

Update the patterns used to detect module dependencies to tolerate string literals which may appear on the same line as module specifiers. Further improve the pattern so that it does not match all U+0022-delimited string literals and so that it does not require a trailing semicolon.

rwaldron commented 3 years ago

Excellent—thanks @jugglinmike!

jugglinmike commented 3 years ago

My pleasure