1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00

upgrade: swc, deno_doc, deno_lint, dprint (#7402)

- deno_doc - 0.1.6
- deno_lint - 0.1.29
- dprint-plugin-typescript 0.31.1
- swc_ecmascript 0.7.3
This commit is contained in:
Bartek Iwańczuk 2020-09-09 15:35:40 +02:00 committed by GitHub
parent b17a5fbcfa
commit 1fcbf9cb8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 42 additions and 17 deletions

48
Cargo.lock generated
View file

@ -428,7 +428,6 @@ dependencies = [
"serde_json", "serde_json",
"sourcemap", "sourcemap",
"swc_common", "swc_common",
"swc_ecma_dep_graph",
"swc_ecmascript", "swc_ecmascript",
"sys-info", "sys-info",
"tempfile", "tempfile",
@ -466,9 +465,9 @@ dependencies = [
[[package]] [[package]]
name = "deno_doc" name = "deno_doc"
version = "0.1.5" version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09c0c17b826a68cc4ef4eb4d9a46f12d20d9f1f97b0109dbfdc45172adc19a51" checksum = "dc65cff38f291c38eeeb5ab46acd2d8f9ef66b8fe7e88af37c49b80353789f60"
dependencies = [ dependencies = [
"futures", "futures",
"lazy_static", "lazy_static",
@ -483,9 +482,9 @@ dependencies = [
[[package]] [[package]]
name = "deno_lint" name = "deno_lint"
version = "0.1.28" version = "0.1.29"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5283c646efd6ccdb3376aedf0ce2ee6bf4623f929252251dfe032f4796885aa" checksum = "b4163bad03364c85793edf50e1f57c409d25d1484a2605e5d25481626a571bd0"
dependencies = [ dependencies = [
"lazy_static", "lazy_static",
"log", "log",
@ -569,9 +568,9 @@ dependencies = [
[[package]] [[package]]
name = "dprint-plugin-typescript" name = "dprint-plugin-typescript"
version = "0.31.0" version = "0.31.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab0711bfaae1add9468220fb775addcf50b3bdbe5a85c1266f5d324206131080" checksum = "3cd4877d65ac075587221b7e72f86f16647db268641f77ab13a76da0906d711f"
dependencies = [ dependencies = [
"dprint-core", "dprint-core",
"serde", "serde",
@ -1465,6 +1464,17 @@ version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e"
[[package]]
name = "phf"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3dfb61232e34fcb633f43d12c58f83c1df82962dcdfa565a4e866ffc17dafe12"
dependencies = [
"phf_macros",
"phf_shared",
"proc-macro-hack",
]
[[package]] [[package]]
name = "phf_generator" name = "phf_generator"
version = "0.8.0" version = "0.8.0"
@ -1475,6 +1485,20 @@ dependencies = [
"rand 0.7.3", "rand 0.7.3",
] ]
[[package]]
name = "phf_macros"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f6fde18ff429ffc8fe78e2bf7f8b7a5a5a6e2a8b58bc5a9ac69198bbda9189c"
dependencies = [
"phf_generator",
"phf_shared",
"proc-macro-hack",
"proc-macro2 1.0.20",
"quote 1.0.7",
"syn 1.0.39",
]
[[package]] [[package]]
name = "phf_shared" name = "phf_shared"
version = "0.8.0" version = "0.8.0"
@ -2292,9 +2316,9 @@ dependencies = [
[[package]] [[package]]
name = "swc_ecma_transforms" name = "swc_ecma_transforms"
version = "0.23.1" version = "0.23.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "736d4951d3476824c9a04a82c31ed2a99195e668d40c1938110d2782130aadee" checksum = "a4685c51a3cd944e2610a8f48387a71005caec333c04700e4fac4e8b71f6a849"
dependencies = [ dependencies = [
"Inflector", "Inflector",
"arrayvec", "arrayvec",
@ -2307,6 +2331,7 @@ dependencies = [
"log", "log",
"once_cell", "once_cell",
"ordered-float", "ordered-float",
"phf",
"regex", "regex",
"retain_mut", "retain_mut",
"scoped-tls", "scoped-tls",
@ -2366,12 +2391,13 @@ dependencies = [
[[package]] [[package]]
name = "swc_ecmascript" name = "swc_ecmascript"
version = "0.7.0" version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "357e213aac6934a3eb6592fc9a12ef1b6ce96ae7d2cf22d142eb827c94b26644" checksum = "98805f69402e0f8c22695c0288873c95d8a00b903f824f918a76eabfef8b6ccc"
dependencies = [ dependencies = [
"swc_ecma_ast", "swc_ecma_ast",
"swc_ecma_codegen", "swc_ecma_codegen",
"swc_ecma_dep_graph",
"swc_ecma_parser", "swc_ecma_parser",
"swc_ecma_transforms", "swc_ecma_transforms",
"swc_ecma_utils", "swc_ecma_utils",

View file

@ -29,8 +29,8 @@ winapi = "0.3.9"
[dependencies] [dependencies]
deno_core = { path = "../core", version = "0.56.0" } deno_core = { path = "../core", version = "0.56.0" }
deno_doc = { version = "0.1.5" } deno_doc = { version = "0.1.6" }
deno_lint = { version = "0.1.28", features = ["json"] } deno_lint = { version = "0.1.29", features = ["json"] }
atty = "0.2.14" atty = "0.2.14"
base64 = "0.12.3" base64 = "0.12.3"
@ -40,7 +40,7 @@ clap = "2.33.2"
dissimilar = "1.0.2" dissimilar = "1.0.2"
dlopen = "0.1.8" dlopen = "0.1.8"
encoding_rs = "0.8.23" encoding_rs = "0.8.23"
dprint-plugin-typescript = "0.31.0" dprint-plugin-typescript = "0.31.1"
futures = "0.3.5" futures = "0.3.5"
filetime = "0.2.12" filetime = "0.2.12"
http = "0.2.1" http = "0.2.1"
@ -63,8 +63,7 @@ serde_json = { version = "1.0.57", features = [ "preserve_order" ] }
sys-info = "0.7.0" sys-info = "0.7.0"
sourcemap = "6.0.1" sourcemap = "6.0.1"
swc_common = { version = "=0.10.2", features = ["sourcemap"] } swc_common = { version = "=0.10.2", features = ["sourcemap"] }
swc_ecmascript = { version = "=0.7.0", features = ["codegen", "parser", "react", "transforms", "visit"] } swc_ecmascript = { version = "=0.7.3", features = ["codegen", "dep_graph", "parser", "react", "transforms", "visit"] }
swc_ecma_dep_graph = "0.3.0"
tempfile = "3.1.0" tempfile = "3.1.0"
termcolor = "1.1.0" termcolor = "1.1.0"
tokio = { version = "0.2.22", features = ["full"] } tokio = { version = "0.2.22", features = ["full"] }

View file

@ -57,7 +57,7 @@ use std::sync::Mutex;
use std::task::Poll; use std::task::Poll;
use swc_common::comments::Comment; use swc_common::comments::Comment;
use swc_common::comments::CommentKind; use swc_common::comments::CommentKind;
use swc_ecma_dep_graph as dep_graph; use swc_ecmascript::dep_graph;
use url::Url; use url::Url;
pub const AVAILABLE_LIBS: &[&str] = &[ pub const AVAILABLE_LIBS: &[&str] = &[