denoland / deno_ast

Source text parsing, lexing, and AST related functionality for Deno
https://crates.io/crates/deno_ast
MIT License
144 stars 43 forks source link

fix: strip BOM when parsing #255

Closed dsherret closed 1 month ago

dsherret commented 1 month ago

For https://github.com/denoland/deno/issues/24122

We used to do this all the time when using SourceTextInfo, but now since we only work with the text this broke.