summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-05-20 16:40:55 -0400
committerGitHub <noreply@github.com>2022-05-20 16:40:55 -0400
commit1fcecb6789c3f111bc1554766ba9347afcfd02dc (patch)
tree19cd1b121412b992994b2fe4bea0463793d3986e /core
parente7c894e8f54ebd2d9fd61c97a265906ac54e2068 (diff)
refactor: upgrade to deno_ast 0.15 (#14680)
Diffstat (limited to 'core')
-rw-r--r--core/Cargo.toml2
-rw-r--r--core/examples/ts_module_loader.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/Cargo.toml b/core/Cargo.toml
index 7b6e7c39b..94d885bbe 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -35,5 +35,5 @@ path = "examples/http_bench_json_ops.rs"
# These dependencies are only used for the 'http_bench_*_ops' examples.
[dev-dependencies]
-deno_ast = { version = "0.14.0", features = ["transpiling"] }
+deno_ast = { version = "0.15.0", features = ["transpiling"] }
tokio = { version = "1.17", features = ["full"] }
diff --git a/core/examples/ts_module_loader.rs b/core/examples/ts_module_loader.rs
index 68ee06e60..7771812d3 100644
--- a/core/examples/ts_module_loader.rs
+++ b/core/examples/ts_module_loader.rs
@@ -69,7 +69,7 @@ impl ModuleLoader for TypescriptModuleLoader {
let code = if should_transpile {
let parsed = deno_ast::parse_module(ParseParams {
specifier: module_specifier.to_string(),
- source: SourceTextInfo::from_string(code),
+ text_info: SourceTextInfo::from_string(code),
media_type,
capture_tokens: false,
scope_analysis: false,