guybedford / es-module-lexer

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

feat: reinstate JS build for CSP #85

Closed guybedford closed 2 years ago

guybedford commented 2 years ago

This reinstates the original JS version existing alongside the Wasm version, including full support for string decoding within JS without using eval.

With this approach, this provides a version of the lexer that can be supported in CSP environments that ban eval.