From e5e2c45998d3a655c4b2d78c0a1fcb61e09c1982 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 8 Feb 2024 20:40:26 -0500 Subject: 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 --- cli/lsp/testing/collectors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/lsp/testing') diff --git a/cli/lsp/testing/collectors.rs b/cli/lsp/testing/collectors.rs index a66e56948..8579ccc7d 100644 --- a/cli/lsp/testing/collectors.rs +++ b/cli/lsp/testing/collectors.rs @@ -644,7 +644,7 @@ pub mod tests { let specifier = resolve_url("file:///a/example.ts").unwrap(); let parsed_module = deno_ast::parse_module(deno_ast::ParseParams { - specifier: specifier.to_string(), + specifier: specifier.clone(), text_info: deno_ast::SourceTextInfo::new(source.into()), media_type: deno_ast::MediaType::TypeScript, capture_tokens: true, -- cgit v1.2.3