diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-02-08 20:40:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-09 01:40:26 +0000 |
commit | e5e2c45998d3a655c4b2d78c0a1fcb61e09c1982 (patch) | |
tree | 4a3af21378652245bdd2e58cc615458d5c163c2c /runtime/shared.rs | |
parent | b07a156b1d2548c07c7e822ab69d2ef9bfaca630 (diff) |
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
Diffstat (limited to 'runtime/shared.rs')
-rw-r--r-- | runtime/shared.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/shared.rs b/runtime/shared.rs index 35712dfb3..04fcdcfdb 100644 --- a/runtime/shared.rs +++ b/runtime/shared.rs @@ -84,7 +84,7 @@ pub fn maybe_transpile_source( let code = source.load()?; let parsed = deno_ast::parse_module(ParseParams { - specifier: source.specifier.to_string(), + specifier: deno_core::url::Url::parse(source.specifier).unwrap(), text_info: SourceTextInfo::from_string(code.as_str().to_owned()), media_type, capture_tokens: false, |