1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 15:49:44 -05:00

feat: upgrade deno_ast to 0.26 (#18795)

Closes #18792
This commit is contained in:
David Sherret 2023-04-21 17:16:25 -04:00 committed by GitHub
parent 4a33c349af
commit cf9fb18494
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 122 additions and 159 deletions

255
Cargo.lock generated
View file

@ -150,11 +150,10 @@ dependencies = [
[[package]]
name = "ast_node"
version = "0.8.6"
version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf94863c5fdfee166d0907c44e5fee970123b2b7307046d35d1e671aa93afbba"
checksum = "52f7fd7740c5752c16281a1c1f9442b1e69ba41738acde85dc604aaf3ce41890"
dependencies = [
"darling",
"pmutil",
"proc-macro2 1.0.56",
"quote 1.0.26",
@ -323,6 +322,12 @@ version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]]
name = "bitflags"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c70beb79cbb5ce9c4f8e20849978f34225931f665bb49efa6982875a4d5facb3"
[[package]]
name = "block-buffer"
version = "0.9.0"
@ -451,7 +456,7 @@ version = "4.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ce38afc168d8665cfc75c7b1dd9672e50716a137f433f070991619744a67342a"
dependencies = [
"bitflags",
"bitflags 1.3.2",
"clap_lex",
"is-terminal",
"strsim",
@ -655,41 +660,6 @@ dependencies = [
"zeroize",
]
[[package]]
name = "darling"
version = "0.13.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a01d95850c592940db9b8194bc39f4bc0e89dee5c4265e4b1807c34a9aba453c"
dependencies = [
"darling_core",
"darling_macro",
]
[[package]]
name = "darling_core"
version = "0.13.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "859d65a907b6852c9361e3185c862aae7fafd2887876799fa55f5f99dc40d610"
dependencies = [
"fnv",
"ident_case",
"proc-macro2 1.0.56",
"quote 1.0.26",
"strsim",
"syn 1.0.109",
]
[[package]]
name = "darling_macro"
version = "0.13.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835"
dependencies = [
"darling_core",
"quote 1.0.26",
"syn 1.0.109",
]
[[package]]
name = "dashmap"
version = "5.4.0"
@ -805,13 +775,13 @@ dependencies = [
[[package]]
name = "deno_ast"
version = "0.25.0"
version = "0.26.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b08341e0ed5b816e24b6582054b37707c8686de5598fa3004dc555131c993308"
checksum = "84b4db18773938f4613617d384b6579983c46fbe9962da7390a9fc7525ccbe9c"
dependencies = [
"anyhow",
"base64 0.13.1",
"data-url",
"deno_media_type",
"dprint-swc-ext",
"serde",
"swc_atoms",
@ -936,9 +906,9 @@ dependencies = [
[[package]]
name = "deno_doc"
version = "0.61.0"
version = "0.62.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ae1ba6a3137da0ed19838c09c6fb9c7a07af642786b298fc29e088cc5643e729"
checksum = "0a6e4c826679e4b0dd4f00b23e6c45343ce14903c3df2c210d094ee969312b8a"
dependencies = [
"cfg-if",
"deno_ast",
@ -954,9 +924,9 @@ dependencies = [
[[package]]
name = "deno_emit"
version = "0.19.0"
version = "0.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c01676751a0ee50ebad80734735f9a28c6eabb164050034e10956b72af563941"
checksum = "e00ae58a811d155fc8c256ce54f35c752ee8c7dc777f0675971735d2783bd5e6"
dependencies = [
"anyhow",
"base64 0.13.1",
@ -1019,9 +989,9 @@ dependencies = [
[[package]]
name = "deno_graph"
version = "0.47.1"
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3e81896f3abfe0c6410518cc0285155e6faa2aa87ca8da32fbf1670ef1254ea2"
checksum = "57683392402015acc8f20cc3623035f6b2a2c49f1728eef93536c712adafb2c2"
dependencies = [
"anyhow",
"data-url",
@ -1094,9 +1064,9 @@ dependencies = [
[[package]]
name = "deno_lint"
version = "0.43.0"
version = "0.44.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6afdaeeec629609b4a95b29db5e151a437e133524ad62d4bb4358cf4f70f0465"
checksum = "8314e893e86e7f66cf06926d684a5d8708d737a28056472c9d7d78ef1c00691b"
dependencies = [
"anyhow",
"deno_ast",
@ -1121,6 +1091,17 @@ dependencies = [
"thiserror",
]
[[package]]
name = "deno_media_type"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "63772a60d740a41d97fbffb4788fc3779e6df47289e01892c12be38f4a5beded"
dependencies = [
"data-url",
"serde",
"url",
]
[[package]]
name = "deno_napi"
version = "0.29.0"
@ -1552,9 +1533,9 @@ dependencies = [
[[package]]
name = "dprint-plugin-typescript"
version = "0.84.0"
version = "0.84.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f763f97007edaf6dd50f59526f29ee8aa8fa056f50644601bde04e0f1ac2e208"
checksum = "8979688409764dd95b356c0d278023cad45fbb24cf788eab8c972ae069a7a3f8"
dependencies = [
"anyhow",
"deno_ast",
@ -1565,9 +1546,9 @@ dependencies = [
[[package]]
name = "dprint-swc-ext"
version = "0.8.0"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "008b6061551bcf644454469e6506c32bb23b765df93d608bf7a8e2494f82fcb3"
checksum = "3c3359a644cca781aece7d7c16bfa80fb35ac83da4e1014a28600debd1ef2a7e"
dependencies = [
"bumpalo",
"num-bigint",
@ -1607,7 +1588,7 @@ version = "1.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "add9a102807b524ec050363f09e06f1504214b0e1c7797f64261c891022dce8b"
dependencies = [
"bitflags",
"bitflags 1.3.2",
"byteorder",
"lazy_static",
"proc-macro-error",
@ -1703,18 +1684,6 @@ dependencies = [
"syn 1.0.109",
]
[[package]]
name = "enum_kind"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78b940da354ae81ef0926c5eaa428207b8f4f091d3956c891dfbd124162bed99"
dependencies = [
"pmutil",
"proc-macro2 1.0.56",
"swc_macros_common",
"syn 1.0.109",
]
[[package]]
name = "env_logger"
version = "0.9.0"
@ -1770,9 +1739,9 @@ dependencies = [
[[package]]
name = "eszip"
version = "0.40.0"
version = "0.41.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5a0a0addd73b5077a769e23a914a68ec8862c310b6127e8383505f676684f65c"
checksum = "a808622e30489ade8c36b6e706bc819c4c75420b5aca4d1a6b996bea0d995aef"
dependencies = [
"anyhow",
"base64 0.21.0",
@ -1922,9 +1891,9 @@ dependencies = [
[[package]]
name = "from_variant"
version = "0.1.4"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f0981e470d2ab9f643df3921d54f1952ea100c39fdb6a3fdc820e20d2291df6c"
checksum = "1d449976075322384507443937df2f1d5577afbf4282f12a5a66ef29fa3e6307"
dependencies = [
"pmutil",
"proc-macro2 1.0.56",
@ -2317,12 +2286,6 @@ dependencies = [
"tokio-rustls",
]
[[package]]
name = "ident_case"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
[[package]]
name = "idna"
version = "0.2.3"
@ -2395,7 +2358,7 @@ version = "0.9.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f8069d3ec154eb856955c1c0fbffefbf5f3c40a104ec912d4797314c1801abff"
dependencies = [
"bitflags",
"bitflags 1.3.2",
"inotify-sys",
"libc",
]
@ -2559,7 +2522,7 @@ version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8367585489f01bc55dd27404dcf56b95e6da061a256a666ab23be9ba96a2e587"
dependencies = [
"bitflags",
"bitflags 1.3.2",
"libc",
]
@ -2779,7 +2742,7 @@ version = "0.93.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9be6e9c7e2d18f651974370d7aff703f9513e0df6e464fd795660edc77e6ca51"
dependencies = [
"bitflags",
"bitflags 1.3.2",
"serde",
"serde_json",
"serde_repr",
@ -2942,7 +2905,7 @@ version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "195cdbc1741b8134346d515b3a56a1c94b0912758009cfd53f99ea0f57b065fc"
dependencies = [
"bitflags",
"bitflags 1.3.2",
"cfg-if",
"libc",
"memoffset",
@ -2964,7 +2927,7 @@ version = "5.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ed2c66da08abae1c024c01d635253e402341b4060a12e99b31c7594063bf490a"
dependencies = [
"bitflags",
"bitflags 1.3.2",
"crossbeam-channel",
"filetime",
"fsevent-sys",
@ -3515,7 +3478,7 @@ version = "0.9.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2d9cc634bc78768157b5cbfe988ffcd1dcba95cd2b2f03a88316c08c6d00ed63"
dependencies = [
"bitflags",
"bitflags 1.3.2",
"memchr",
"unicase",
]
@ -3605,7 +3568,7 @@ version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
dependencies = [
"bitflags",
"bitflags 1.3.2",
]
[[package]]
@ -3756,7 +3719,7 @@ version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "01e213bc3ecb39ac32e81e51ebe31fd888a940515173e3a18a35f8c6e896422a"
dependencies = [
"bitflags",
"bitflags 1.3.2",
"fallible-iterator",
"fallible-streaming-iterator",
"hashlink",
@ -3803,7 +3766,7 @@ version = "0.36.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fd5c6ff11fecd55b40746d1995a02f2eb375bf8c00d192d521ee09f42bef37bc"
dependencies = [
"bitflags",
"bitflags 1.3.2",
"errno",
"io-lifetimes",
"libc",
@ -3856,7 +3819,7 @@ version = "10.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1d1cd5ae51d3f7bf65d7969d579d502168ef578f289452bd8ccc91de28fda20e"
dependencies = [
"bitflags",
"bitflags 1.3.2",
"cfg-if",
"clipboard-win",
"fd-lock",
@ -3970,7 +3933,7 @@ version = "2.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a332be01508d814fed64bf28f798a146d73792121129962fdf335bb3c49a4254"
dependencies = [
"bitflags",
"bitflags 1.3.2",
"core-foundation",
"core-foundation-sys",
"libc",
@ -4337,9 +4300,9 @@ dependencies = [
[[package]]
name = "string_enum"
version = "0.3.3"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "41491e23e7db79343236a6ced96325ff132eb09e29ac4c5b8132b9c55aaaae89"
checksum = "0090512bdfee4b56d82480d66c0fd8a6f53f0fe0f97e075e949b252acdd482e0"
dependencies = [
"pmutil",
"proc-macro2 1.0.56",
@ -4362,9 +4325,9 @@ checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601"
[[package]]
name = "swc_atoms"
version = "0.4.39"
version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2ebef84c2948cd0d1ba25acbf1b4bd9d80ab6f057efdbe35d8449b8d54699401"
checksum = "593c2f3e4cea60ddc4179ed731cabebe7eacec209d9e76a3bbcff4b2b020e3f5"
dependencies = [
"once_cell",
"rustc-hash",
@ -4376,9 +4339,9 @@ dependencies = [
[[package]]
name = "swc_bundler"
version = "0.208.4"
version = "0.213.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5adaebcfcb3ebc1b4d6418838250bb12f257bab9277fa2b2c61bb3324152c78f"
checksum = "6153a93eeb264274dfdf6aff3d73fdd098a5b9ef85f85241bdbd8e4149afdcb7"
dependencies = [
"ahash",
"anyhow",
@ -4407,9 +4370,9 @@ dependencies = [
[[package]]
name = "swc_common"
version = "0.29.37"
version = "0.31.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5005cd73617e18592faa31298225b26f1c407b84a681d67efb735c3d3458e101"
checksum = "2b557014d62318e08070c2a3d5eb0278ff73749dd69db53c39a4de4bcd301d6a"
dependencies = [
"ahash",
"ast_node",
@ -4435,9 +4398,9 @@ dependencies = [
[[package]]
name = "swc_config"
version = "0.1.4"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4de36224eb9498fccd4e68971f0b83326ccf8592c2d424f257f3a1c76b2b211"
checksum = "89c8fc2c12bb1634c7c32fc3c9b6b963ad8f034cc62c4ecddcf215dc4f6f959d"
dependencies = [
"indexmap",
"serde",
@ -4447,9 +4410,9 @@ dependencies = [
[[package]]
name = "swc_config_macro"
version = "0.1.0"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fb64bc03d90fd5c90d6ab917bb2b1d7fbd31957df39e31ea24a3f554b4372251"
checksum = "7dadb9998d4f5fc36ef558ed5a092579441579ee8c6fcce84a5228cca9df4004"
dependencies = [
"pmutil",
"proc-macro2 1.0.56",
@ -4460,11 +4423,11 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
version = "0.100.1"
version = "0.103.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7dbfdbe05dde274473a6030dcf5e52e579516aea761d25d7a8d128f2ab597f09"
checksum = "5206233430a6763e2759da76cfc596a64250793f70cd94cace1f82fdcc4d702c"
dependencies = [
"bitflags",
"bitflags 2.1.0",
"is-macro",
"num-bigint",
"scoped-tls",
@ -4477,9 +4440,9 @@ dependencies = [
[[package]]
name = "swc_ecma_codegen"
version = "0.135.2"
version = "0.138.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78d196e6979af0cbb91084361ca006db292a6374f75ec04cbb55306051cc4f50"
checksum = "cf45c899625d5132f2993a464a79f2ec7c79854b74fd3c55d1408b76d7d7750c"
dependencies = [
"memchr",
"num-bigint",
@ -4496,9 +4459,9 @@ dependencies = [
[[package]]
name = "swc_ecma_codegen_macros"
version = "0.7.1"
version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0159c99f81f52e48fe692ef7af1b0990b45d3006b14c6629be0b1ffee1b23aea"
checksum = "bf4ee0caee1018808d94ecd09490cb7affd3d504b19aa11c49238f5fc4b54901"
dependencies = [
"pmutil",
"proc-macro2 1.0.56",
@ -4509,9 +4472,9 @@ dependencies = [
[[package]]
name = "swc_ecma_dep_graph"
version = "0.102.2"
version = "0.105.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "188196862dfb9bbf12f5fcf1f0397c0b70852144f666d406f09951ddcf0a73e0"
checksum = "92813e2f77cdf4ad870f0474eee6574f4aba10504dd3730e694d03684a7a68ab"
dependencies = [
"swc_atoms",
"swc_common",
@ -4521,9 +4484,9 @@ dependencies = [
[[package]]
name = "swc_ecma_loader"
version = "0.41.39"
version = "0.43.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "681c1fbb762c82700a5bd23dc39bad892a287ea9fb2121cf56e77f1ddc89afeb"
checksum = "f1d985c6e7111fef3c0103b0414db0d792cb04b492601c94ccae2d494ffdf764"
dependencies = [
"ahash",
"anyhow",
@ -4535,12 +4498,11 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
version = "0.130.2"
version = "0.133.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "042435aaeb71c4416cde440323ac9fa2c24121c2ec150f0cb79999c2e6ceffaa"
checksum = "8ce724a8fdc90548d882dec3b0288c0698059ce12a59bbfdeea0384f3d52f009"
dependencies = [
"either",
"enum_kind",
"lexical",
"num-bigint",
"serde",
@ -4556,12 +4518,13 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_base"
version = "0.122.3"
version = "0.126.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fd4141092b17cd85eefc224b035b717e03c910b9fd58e4e637ffd05236d7e13b"
checksum = "3c4236f8b9bea9d3d43cacab34b6e3c925c3f12585382b8f661cb994b987b688"
dependencies = [
"better_scoped_tls",
"bitflags",
"bitflags 2.1.0",
"indexmap",
"once_cell",
"phf",
"rustc-hash",
@ -4578,9 +4541,9 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_classes"
version = "0.111.3"
version = "0.115.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b5022c592f0ae17f4dc42031e1c4c60b7e6d2d8d1c2428b986759a92ea853801"
checksum = "bd5b13763feba98586887a92801603c413897805c70ed82e49e4acc1f90683c2"
dependencies = [
"swc_atoms",
"swc_common",
@ -4592,9 +4555,9 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_macros"
version = "0.5.0"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ebf907935ec5492256b523ae7935a824d9fdc0368dcadc41375bad0dca91cd8b"
checksum = "984d5ac69b681fc5438f9abf82b0fda34fe04e119bc75f8213b7e01128c7c9a2"
dependencies = [
"pmutil",
"proc-macro2 1.0.56",
@ -4605,9 +4568,9 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_optimization"
version = "0.181.4"
version = "0.186.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "584b8d5b1ea8d174453eeff6abb66ed2e58cbd67b6e83a4d4b8154b463ef4dd3"
checksum = "456966f04224d2125551e0e35c164abe45183cbdd5238753294343814be102d3"
dependencies = [
"ahash",
"dashmap",
@ -4630,11 +4593,12 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_proposal"
version = "0.156.4"
version = "0.160.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f4015c3ab090f27eee0834d45bdcf9666dc6329ed06845d1882cdfe6f4826fca"
checksum = "d21de731e3ff1ea451ac8c377a7130ebf6dbf6ffd18e744c15f86e685e0abd9a"
dependencies = [
"either",
"rustc-hash",
"serde",
"smallvec",
"swc_atoms",
@ -4649,16 +4613,15 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_react"
version = "0.167.4"
version = "0.172.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "db1c7801b1d7741ab335441dd301ddcc4183fb250d5e6efaab33b03def268c06"
checksum = "a0df18263e6c0804a1a08abd29e87af763dce1bec4b500497a0b62c22df07b2d"
dependencies = [
"ahash",
"base64 0.13.1",
"dashmap",
"indexmap",
"once_cell",
"regex",
"serde",
"sha-1 0.10.0",
"string_enum",
@ -4675,9 +4638,9 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_typescript"
version = "0.171.4"
version = "0.176.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "142e8fb5ebe870bc51b3a95c0214af9112d3475b7cd5be4f13b87f3be664841a"
checksum = "d1a3f356bc2b902c13fc1e39bb66c10f350c46bfe93bae5c05402863d94bd307"
dependencies = [
"serde",
"swc_atoms",
@ -4691,9 +4654,9 @@ dependencies = [
[[package]]
name = "swc_ecma_utils"
version = "0.113.3"
version = "0.116.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c44885603c09926118708f4352e04242c2482bc16eb51ad7beb8ad4cf5f7bb6"
checksum = "b462a1b6fc788ee956479adcbb05c282cb142a66a3b016b571fff0538a381196"
dependencies = [
"indexmap",
"num_cpus",
@ -4709,9 +4672,9 @@ dependencies = [
[[package]]
name = "swc_ecma_visit"
version = "0.86.1"
version = "0.89.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "147cf9137da6fe2704a5defd29a1cde849961978f8c92911e6790d50df475fef"
checksum = "ecb23a4a1d77997f54e9b3a4e68d1441e5e8a25ad1a476bbb3b5a620d6562a86"
dependencies = [
"num-bigint",
"swc_atoms",
@ -4735,21 +4698,21 @@ dependencies = [
[[package]]
name = "swc_fast_graph"
version = "0.17.38"
version = "0.19.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e3a720ad8028d6c6e992039c862ed7318d143dee3994929793f59067fd69600b"
checksum = "992a92e087f7b2dc9aa626a6bee26530abbffba3572adf3894ccb55d2480f596"
dependencies = [
"ahash",
"indexmap",
"petgraph",
"rustc-hash",
"swc_common",
]
[[package]]
name = "swc_graph_analyzer"
version = "0.18.41"
version = "0.20.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b25ac475500b0776f1bb82da02eff867819b3c653130023ea957cbd1e91befa8"
checksum = "f9e02ee852ffd7eb1ee42c081b615c2fb40a2876c4631637486207f493d806c6"
dependencies = [
"ahash",
"auto_impl",
@ -4760,9 +4723,9 @@ dependencies = [
[[package]]
name = "swc_macros_common"
version = "0.3.6"
version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a4be988307882648d9bc7c71a6a73322b7520ef0211e920489a98f8391d8caa2"
checksum = "3e582c3e3c2269238524923781df5be49e011dbe29cf7683a2215d600a562ea6"
dependencies = [
"pmutil",
"proc-macro2 1.0.56",
@ -4772,9 +4735,9 @@ dependencies = [
[[package]]
name = "swc_visit"
version = "0.5.4"
version = "0.5.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "470a1963cf182fdcbbac46e3a7fd2caf7329da0e568d3668202da9501c880e16"
checksum = "d1d5999f23421c8e21a0f2bc53a0b9e8244f3b421de89471561af2fbe40b9cca"
dependencies = [
"either",
"swc_visit_macros",
@ -4782,9 +4745,9 @@ dependencies = [
[[package]]
name = "swc_visit_macros"
version = "0.5.5"
version = "0.5.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6098b717cfd4c85f5cddec734af191dbce461c39975ed567c32ac6d0c6d61a6d"
checksum = "ebeed7eb0f545f48ad30f5aab314e5208b735bcea1d1464f26e20f06db904989"
dependencies = [
"Inflector",
"pmutil",
@ -5566,7 +5529,7 @@ version = "0.68.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "81c69410b7435f1b74e82e243ba906d71e8b9bb350828291418b9311dbd77222"
dependencies = [
"bitflags",
"bitflags 1.3.2",
"fslock",
"lazy_static",
"which",

View file

@ -42,7 +42,7 @@ repository = "https://github.com/denoland/deno"
[workspace.dependencies]
v8 = { version = "0.68.0", default-features = false }
deno_ast = { version = "0.25.0", features = ["transpiling"] }
deno_ast = { version = "0.26.0", features = ["transpiling"] }
deno_core = { version = "0.181.0", path = "./core" }
deno_ops = { version = "0.59.0", path = "./ops" }

View file

@ -42,10 +42,10 @@ winres.workspace = true
[dependencies]
deno_ast = { workspace = true, features = ["bundler", "cjs", "codegen", "dep_graph", "module_specifier", "proposal", "react", "sourcemap", "transforms", "typescript", "view", "visit"] }
deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] }
deno_doc = "0.61.0"
deno_emit = "0.19.0"
deno_graph = "=0.47.1"
deno_lint = { version = "0.43.0", features = ["docs"] }
deno_doc = "0.62.0"
deno_emit = "0.20.0"
deno_graph = "=0.48.0"
deno_lint = { version = "0.44.0", features = ["docs"] }
deno_lockfile.workspace = true
deno_npm = "0.3.0"
deno_runtime = { workspace = true, features = ["dont_create_runtime_snapshot", "include_js_files_for_snapshotting"] }
@ -67,10 +67,10 @@ data-url.workspace = true
dissimilar = "=1.0.4"
dprint-plugin-json = "=0.17.0"
dprint-plugin-markdown = "=0.15.2"
dprint-plugin-typescript = "=0.84.0"
dprint-plugin-typescript = "=0.84.2"
encoding_rs.workspace = true
env_logger = "=0.9.0"
eszip = "=0.40.0"
eszip = "=0.41.0"
fancy-regex = "=0.10.0"
flate2.workspace = true
fs3.workspace = true

View file

@ -3,12 +3,12 @@
// deno-lint-ignore-file
// This code was bundled using `deno bundle` and it's not recommended to edit it manually
var __decorate = this && this.__decorate || function(decorators, target, key, desc) {
function _ts_decorate(decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
}
function a() {
console.log("a(): evaluated");
return (_target, _propertyKey, _descriptor)=>{
@ -20,15 +20,15 @@ class B {
console.log("method");
}
}
__decorate([
_ts_decorate([
a()
], B.prototype, "method", null);
var __decorate1 = this && this.__decorate || function(decorators, target, key, desc) {
function _ts_decorate1(decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
}
function Decorator() {
return function(target, propertyKey, descriptor) {
const originalFn = descriptor.value;
@ -41,7 +41,7 @@ function Decorator() {
class SomeClass {
async test() {}
}
__decorate1([
_ts_decorate1([
Decorator()
], SomeClass.prototype, "test", null);
new SomeClass().test();