Skip to content

Commit

Permalink
feat: deno_ast 0.37 (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret authored Apr 16, 2024
1 parent 455aee7 commit 46d54d4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
21 changes: 11 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ license = "MIT"
members = ["lib"]

[workspace.dependencies]
deno_graph = "0.71.0"
import_map = "0.19.0"
deno_graph = "0.72.0"
import_map = "0.19.1"
serde = "1"

[profile.release]
Expand All @@ -35,7 +35,7 @@ path = "src/examples/viewer.rs"
[dependencies]
anyhow = "1"
base64 = "0.21.0"
deno_ast = { version = "0.36.0", features = ["transpiling"] }
deno_ast = { version = "0.37.0", features = ["transpiling"] }
deno_graph = { workspace = true }
deno_npm = "0.17.0"
deno_semver = "0.5.4"
Expand Down
2 changes: 1 addition & 1 deletion src/v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ impl EszipV2 {
let EmittedSource {
text,
source_map: maybe_source_map,
} = parsed_source.transpile(transpile_options, emit_options)?;
} = parsed_source.transpile(transpile_options, emit_options)?.into_source();
source = Arc::from(text.into_bytes());
source_map = Arc::from(maybe_source_map.unwrap_or_default().into_bytes());
}
Expand Down

0 comments on commit 46d54d4

Please sign in to comment.