summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
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,