summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-02-11 17:05:42 +0100
committerGitHub <noreply@github.com>2021-02-11 17:05:42 +0100
commit723c99de8a3717611bb28949a05fd1d89d856a1b (patch)
treed2140dda180f4aed0016549b641e6675633e09b3 /cli
parenta097c4089b2a7f2db3c70e951d935e23b4f4293a (diff)
chore: upgrade crates (#9474)
Diffstat (limited to 'cli')
-rw-r--r--cli/Cargo.toml10
-rw-r--r--cli/ast.rs3
2 files changed, 8 insertions, 5 deletions
diff --git a/cli/Cargo.toml b/cli/Cargo.toml
index 9d77f1fc4..2eb28f7ba 100644
--- a/cli/Cargo.toml
+++ b/cli/Cargo.toml
@@ -37,8 +37,8 @@ winres = "0.1.11"
[dependencies]
deno_core = { path = "../core", version = "0.78.0" }
-deno_doc = "0.1.21"
-deno_lint = "0.2.17"
+deno_doc = "0.1.22"
+deno_lint = "0.2.18"
deno_runtime = { path = "../runtime", version = "0.8.0" }
atty = "0.2.14"
@@ -46,7 +46,7 @@ base64 = "0.13.0"
byteorder = "1.4.2"
clap = "2.33.3"
dissimilar = "1.0.2"
-dprint-plugin-typescript = "0.39.1"
+dprint-plugin-typescript = "0.40.0"
dprint-plugin-markdown = "0.5.1"
encoding_rs = "0.8.28"
env_logger = "0.8.2"
@@ -69,9 +69,9 @@ semver-parser = "0.10.2"
serde = { version = "1.0.123", features = ["derive"] }
shell-escape = "0.1.5"
sourcemap = "6.0.1"
-swc_bundler = "0.20.9"
+swc_bundler = "0.21.0"
swc_common = { version = "0.10.9", features = ["sourcemap"] }
-swc_ecmascript = { version = "0.18.8", features = ["codegen", "dep_graph", "parser", "proposal", "react", "transforms", "typescript", "visit"] }
+swc_ecmascript = { version = "0.20.0", features = ["codegen", "dep_graph", "parser", "proposal", "react", "transforms", "typescript", "visit"] }
tempfile = "3.2.0"
termcolor = "1.1.2"
text-size = "1.1.0"
diff --git a/cli/ast.rs b/cli/ast.rs
index a9b65b751..7aeb1cebc 100644
--- a/cli/ast.rs
+++ b/cli/ast.rs
@@ -588,6 +588,7 @@ impl swc_bundler::Hook for BundleHook {
#[cfg(test)]
mod tests {
use super::*;
+ use std::collections::HashMap;
use swc_ecmascript::dep_graph::DependencyKind;
#[test]
@@ -614,6 +615,7 @@ mod tests {
specifier: "./test.ts".into(),
specifier_col: 21,
specifier_line: 1,
+ import_assertions: HashMap::default(),
},
DependencyDescriptor {
kind: DependencyKind::Import,
@@ -624,6 +626,7 @@ mod tests {
specifier: "./foo.ts".into(),
specifier_col: 29,
specifier_line: 2,
+ import_assertions: HashMap::default(),
}
]
);