fix: upgrade to deno_ast 0.33 (#22341)

* Uses diagnostics from deno_ast
* Real fix for https://github.com/denoland/deno/pull/22310
* Moves `deno lint --json` code here
* Upgrades swc
   
 Closes #22117
 Closes #22109
 Closes #21927
 Closes #20993
This commit is contained in:
David Sherret 2024-02-08 20:40:26 -05:00 committed by GitHub
parent b07a156b1d
commit e5e2c45998
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
30 changed files with 326 additions and 1185 deletions

View file

@ -560,7 +560,7 @@ mod tests {
Deno.test(`test template literal name`, () => {});
"#;
let parsed_module = deno_ast::parse_module(deno_ast::ParseParams {
specifier: specifier.to_string(),
specifier: specifier.clone(),
text_info: SourceTextInfo::new(source.into()),
media_type: MediaType::TypeScript,
capture_tokens: true,