fix: upgrade to deno_ast 0.27 (#19375)

Closes #19148
This commit is contained in:
David Sherret 2023-06-05 19:03:39 -04:00 committed by GitHub
parent d54ef02dfe
commit 8829a1d362
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 127 additions and 121 deletions

View file

@ -201,6 +201,9 @@ impl ModuleLoader for EmbeddedModuleLoader {
match module.kind {
eszip::ModuleKind::JavaScript => ModuleType::JavaScript,
eszip::ModuleKind::Json => ModuleType::Json,
eszip::ModuleKind::Jsonc => {
return Err(type_error("jsonc modules not supported"))
}
},
code,
&module_specifier,