diff options
Diffstat (limited to 'cli')
-rw-r--r-- | cli/Cargo.toml | 8 | ||||
-rw-r--r-- | cli/swc_util.rs | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/cli/Cargo.toml b/cli/Cargo.toml index fed6028f5..0d61cceed 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -29,8 +29,8 @@ winapi = "0.3.9" [dependencies] deno_core = { path = "../core", version = "0.55.0" } -deno_doc = { version = "0.1.3" } -deno_lint = { version = "0.1.27", features = ["json"] } +deno_doc = { version = "0.1.4" } +deno_lint = { version = "0.1.28", features = ["json"] } atty = "0.2.14" base64 = "0.12.3" @@ -40,7 +40,7 @@ clap = "2.33.2" dissimilar = "1.0.2" dlopen = "0.1.8" encoding_rs = "0.8.23" -dprint-plugin-typescript = "0.30.2" +dprint-plugin-typescript = "0.30.3" futures = "0.3.5" filetime = "0.2.12" http = "0.2.1" @@ -62,7 +62,7 @@ serde_json = { version = "1.0.57", features = [ "preserve_order" ] } sys-info = "0.7.0" sourcemap = "6.0.1" swc_common = { version = "=0.10.2", features = ["sourcemap"] } -swc_ecmascript = { version = "=0.6.3", features = ["codegen", "parser", "react", "transforms", "visit"] } +swc_ecmascript = { version = "=0.7.0", features = ["codegen", "parser", "react", "transforms", "visit"] } tempfile = "3.1.0" termcolor = "1.1.0" tokio = { version = "0.2.22", features = ["full"] } diff --git a/cli/swc_util.rs b/cli/swc_util.rs index 1a058d6da..f354a0fe3 100644 --- a/cli/swc_util.rs +++ b/cli/swc_util.rs @@ -290,6 +290,7 @@ pub fn transpile( let jsx_pass = react::react( ast_parser.source_map.clone(), + Some(&ast_parser.comments), react::Options { pragma: options.jsx_factory.clone(), pragma_frag: options.jsx_fragment_factory.clone(), |