diff --git a/Cargo.lock b/Cargo.lock index 5d5282d5..584d33cd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -117,12 +117,6 @@ version = "3.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d9df67f7bf9ef8498769f994239c45613ef0c5899415fb58e9add412d2c1a538" -[[package]] -name = "byteorder" -version = "1.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" - [[package]] name = "bytes" version = "1.1.0" @@ -330,9 +324,9 @@ dependencies = [ [[package]] name = "deno_ast" -version = "0.2.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "427e7091c1fd8a13b002824f43773b6ef2d5c8ded445ee20013bea7f6ca8bc5b" +checksum = "d177a5fbe88bec8d8b86882c77b7ba39ba03be99c5d80d3c9fc529191f3c0933" dependencies = [ "data-url", "serde", @@ -345,7 +339,7 @@ dependencies = [ [[package]] name = "deno_doc" -version = "0.15.0" +version = "0.16.0" dependencies = [ "anyhow", "cfg-if 1.0.0", @@ -368,9 +362,9 @@ dependencies = [ [[package]] name = "deno_graph" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d856f43e3fd84399d9f90200708fdd5f507bb5ee43770a5a88b3dbdf667619e" +checksum = "a9adc8acfce4c311ebb4cd08a70d3149cf2cd157d468bd46bb5c556db0754eec" dependencies = [ "anyhow", "cfg-if 1.0.0", @@ -532,15 +526,6 @@ dependencies = [ "slab", ] -[[package]] -name = "fxhash" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" -dependencies = [ - "byteorder", -] - [[package]] name = "getrandom" version = "0.1.16" @@ -1117,6 +1102,12 @@ dependencies = [ "winapi", ] +[[package]] +name = "rustc-hash" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" + [[package]] name = "rustc_version" version = "0.4.0" @@ -1308,34 +1299,34 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.12.2" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acc9ad667d8c220e1625e189933ffd9d29b643317aca7a211db2600ef622879e" +checksum = "259212df9a949aa6ec440b64244475bcda531609a85489a22eb27908dd8d1b0d" dependencies = [ "ahash", "ast_node", "cfg-if 0.1.10", "either", "from_variant", - "fxhash", - "log", "num-bigint", "once_cell", "owning_ref", + "rustc-hash", "scoped-tls", "serde", "string_cache", "swc_eq_ignore_macros", "swc_visit", + "tracing", "unicode-width", "url", ] [[package]] name = "swc_ecma_ast" -version = "0.52.0" +version = "0.54.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa0efb0e13ba6545e2b86336937e1641594f78c48484b85c2dc9582eaccb41e1" +checksum = "eae24a6603262822de50069ff72394b0d208267e5bd5298678ba6a79f670c40f" dependencies = [ "is-macro", "num-bigint", @@ -1347,9 +1338,9 @@ dependencies = [ [[package]] name = "swc_ecma_dep_graph" -version = "0.39.1" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c20a594158fbaa00e039867f96183e4daa5a867fa21331a3655c90789f2df6b3" +checksum = "8e27fde9ec4d2b24663836ac0bff26909db0505abad3b873d30808f7659d977a" dependencies = [ "swc_atoms", "swc_common", @@ -1359,15 +1350,13 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.70.4" +version = "0.73.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04b2e3c0ac2132a7ab0679fe8bb89ad0a3311c6c5f44a22bffc559647e1f2e47" +checksum = "cfb726e493ad51f1754e092dfb5b8ec6656c0b76bf95c7d31c3ce72bbc3aa0f6" dependencies = [ "either", "enum_kind", - "fxhash", "lexical", - "log", "num-bigint", "serde", "smallvec", @@ -1375,14 +1364,15 @@ dependencies = [ "swc_common", "swc_ecma_ast", "swc_ecma_visit", + "tracing", "unicode-xid", ] [[package]] name = "swc_ecma_visit" -version = "0.38.1" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78c6721dfbcb8bea64383edb0d59ccb02bc1e140024f2e0f8766792a14f5f466" +checksum = "2c24a7600061813d7df3248d93ff27cacc1a81f9eeec47701866f3adc9ae2930" dependencies = [ "num-bigint", "swc_atoms", @@ -1393,9 +1383,9 @@ dependencies = [ [[package]] name = "swc_ecmascript" -version = "0.63.1" +version = "0.73.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba53c5582d6e5881b093ece9aaa4b561465afab0560abb19948f2c4bbff1bdb9" +checksum = "8147c047015f4289b3202a5362a6ed8c384a585eee05c98f040299a0b303f22e" dependencies = [ "swc_ecma_ast", "swc_ecma_dep_graph", @@ -1544,6 +1534,38 @@ dependencies = [ "syn", ] +[[package]] +name = "tracing" +version = "0.1.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "375a639232caf30edfc78e8d89b2d4c375515393e7af7e16f01cd96917fb2105" +dependencies = [ + "cfg-if 1.0.0", + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4f480b8f81512e825f337ad51e94c1eb5d3bbdf2b363dcd01e2b19a9ffe3f8e" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "tracing-core" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f4ed65637b8390770814083d20756f87bfa2c21bf2f110babdc5438351746e4" +dependencies = [ + "lazy_static", +] + [[package]] name = "unicode-bidi" version = "0.3.7" diff --git a/Cargo.toml b/Cargo.toml index f3c4f4c7..daf14b8a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deno_doc" -version = "0.15.0" +version = "0.16.0" edition = "2018" description = "doc generation for deno" authors = ["the Deno authors"] @@ -16,8 +16,8 @@ name = "ddoc" [dependencies] anyhow = { version = "1.0.43", optional = true } cfg-if = "1.0.0" -deno_ast = "0.2.0" -deno_graph = "0.6.0" +deno_ast = "0.3.0" +deno_graph = "0.7.0" futures = "0.3.17" js-sys = { version = "0.3.54", optional = true } lazy_static = "1.4.0" diff --git a/lib/deno_doc.generated.js b/lib/deno_doc.generated.js index e1555855..7ae67978 100644 --- a/lib/deno_doc.generated.js +++ b/lib/deno_doc.generated.js @@ -206,7 +206,7 @@ function makeMutClosure(arg0, arg1, dtor, f) { } function __wbg_adapter_16(arg0, arg1, arg2) { wasm - ._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc6b5d7ffa3cc039b( + ._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha4eac37687728660( arg0, arg1, addHeapObject(arg2), @@ -245,7 +245,7 @@ function handleError(f, args) { } } function __wbg_adapter_24(arg0, arg1, arg2, arg3) { - wasm.wasm_bindgen__convert__closures__invoke2_mut__h1c007b7af0350829( + wasm.wasm_bindgen__convert__closures__invoke2_mut__hf1bfeb61b3c8f466( arg0, arg1, addHeapObject(arg2), @@ -351,7 +351,7 @@ const imports = { __wbindgen_throw: function (arg0, arg1) { throw new Error(getStringFromWasm0(arg0, arg1)); }, - __wbindgen_closure_wrapper823: function (arg0, arg1, arg2) { + __wbindgen_closure_wrapper822: function (arg0, arg1, arg2) { var ret = makeMutClosure(arg0, arg1, 154, __wbg_adapter_16); return addHeapObject(ret); }, diff --git a/lib/deno_doc_bg.wasm b/lib/deno_doc_bg.wasm index e1c878bc..85ec1a93 100644 Binary files a/lib/deno_doc_bg.wasm and b/lib/deno_doc_bg.wasm differ