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

fix: upgrade deno_ast to 0.17 (#15152)

This commit is contained in:
David Sherret 2022-07-11 14:10:12 -04:00 committed by GitHub
parent 83818c914b
commit 687c712be3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 91 additions and 93 deletions

164
Cargo.lock generated
View file

@ -113,9 +113,9 @@ dependencies = [
[[package]]
name = "anyhow"
version = "1.0.57"
version = "1.0.58"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "08f9b8508dccb7687a1d6c4ce66b2b0ecef467c94667de27d8d7fe1f8d2a9cdc"
checksum = "bb07d2053ccdbe10e2af2995a2f116c1330396493dc1269f6a91d0ae82e19704"
[[package]]
name = "arrayvec"
@ -137,9 +137,9 @@ dependencies = [
[[package]]
name = "ast_node"
version = "0.7.7"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bc4c00309ed1c8104732df4a5fa9acc3b796b6f8531dfbd5ce0078c86f997244"
checksum = "87549fcb780f81054407f313a1693d102396c223f5c49ccc5d90b46a6cbef34a"
dependencies = [
"darling",
"pmutil",
@ -463,7 +463,7 @@ dependencies = [
"clap_lex",
"indexmap",
"lazy_static",
"strsim 0.10.0",
"strsim",
"termcolor",
"textwrap",
]
@ -698,9 +698,9 @@ dependencies = [
[[package]]
name = "darling"
version = "0.10.2"
version = "0.13.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0d706e75d87e35569db781a9b5e2416cff1236a47ed380831f959382ccd5f858"
checksum = "a01d95850c592940db9b8194bc39f4bc0e89dee5c4265e4b1807c34a9aba453c"
dependencies = [
"darling_core",
"darling_macro",
@ -708,23 +708,23 @@ dependencies = [
[[package]]
name = "darling_core"
version = "0.10.2"
version = "0.13.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f0c960ae2da4de88a91b2d920c2a7233b400bc33cb28453a2987822d8392519b"
checksum = "859d65a907b6852c9361e3185c862aae7fafd2887876799fa55f5f99dc40d610"
dependencies = [
"fnv",
"ident_case",
"proc-macro2 1.0.39",
"quote 1.0.18",
"strsim 0.9.3",
"strsim",
"syn 1.0.96",
]
[[package]]
name = "darling_macro"
version = "0.10.2"
version = "0.13.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d9b5a2f4ac4969822c62224815d069952656cadc7084fdca9751e6d959189b72"
checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835"
dependencies = [
"darling_core",
"quote 1.0.18",
@ -855,9 +855,9 @@ dependencies = [
[[package]]
name = "deno_ast"
version = "0.16.0"
version = "0.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4ea41a91147a29a7fcd201af38db548dc22aa6ea5e5e13deff5d57dbf678133c"
checksum = "42fb7189dc0564d7fc4d422868aad20cc6051b4469dad5a39a34bc4741cbc9ec"
dependencies = [
"anyhow",
"base64 0.13.0",
@ -969,14 +969,15 @@ dependencies = [
[[package]]
name = "deno_doc"
version = "0.36.0"
version = "0.38.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0dd24201d19b8468a98872f9a724aae68ac0645251424464544ac4d09775ea95"
checksum = "7d323053b586448ee4b69d2f0b62f70463d27034586fa290b69b9fc5dd186bec"
dependencies = [
"cfg-if",
"deno_ast",
"deno_graph",
"futures",
"import_map",
"lazy_static",
"regex",
"serde",
@ -986,9 +987,9 @@ dependencies = [
[[package]]
name = "deno_emit"
version = "0.3.0"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a6f71a3f35dad86ef202c4c07ccfc1fc7f288cdbf857c8cfc3e20c443f67ad01"
checksum = "b2e2a0076182afa41ee8e697e7646facdcc069cca89df3b12ca982b5069758f4"
dependencies = [
"anyhow",
"base64 0.13.0",
@ -1029,9 +1030,9 @@ dependencies = [
[[package]]
name = "deno_graph"
version = "0.28.0"
version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8deca521e5c0bfeb3c8f4f646f790f33cd5516610128a4396283d01b32d9d9de"
checksum = "91c6cc4d05b21c0dc80825a5dfb911ee09826004c89215c1bb92cbc1c44118d5"
dependencies = [
"anyhow",
"cfg-if",
@ -1075,9 +1076,9 @@ dependencies = [
[[package]]
name = "deno_lint"
version = "0.31.0"
version = "0.32.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b6d9527e70da7349dc8d05258fc1abf9132fdc83edd66afbbf34c30ad6ba2a4"
checksum = "3a0d27a03b3da8aa2a3216a5f0568448b162202ab1f501f68f8566f864889464"
dependencies = [
"anyhow",
"deno_ast",
@ -1348,9 +1349,9 @@ checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f"
[[package]]
name = "dprint-core"
version = "0.58.2"
version = "0.58.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4d4eb65949e6ff07306d8b85f5b95414d6384a0fd5bb130477a9e0f1dbdc17d6"
checksum = "8bb2ee795c5be6f6512908e599a9747c6121aae982a535f0704db11130b38a08"
dependencies = [
"anyhow",
"bumpalo",
@ -1387,9 +1388,9 @@ dependencies = [
[[package]]
name = "dprint-plugin-typescript"
version = "0.69.5"
version = "0.69.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9d1cfbfdc39f18e489c56d0f8c46e1efae73bdfdff5cbe56cb31b3885028fe5c"
checksum = "5b71449427ac9087807c1060b418b9127e734ebdd2a254822e8ca4fe8c5d3829"
dependencies = [
"anyhow",
"deno_ast",
@ -1400,9 +1401,9 @@ dependencies = [
[[package]]
name = "dprint-swc-ext"
version = "0.2.0"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9f31482d7839d23d2df252d84a7ba82bd012e338109e9c851793a9d46722d6c6"
checksum = "83e1b7708a102f7c085a1d51429a3664fe4dd3f6bf67091de83c9dae4dc700e2"
dependencies = [
"bumpalo",
"num-bigint",
@ -1556,9 +1557,9 @@ dependencies = [
[[package]]
name = "eszip"
version = "0.21.0"
version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "89cf0b3f30bcebe65df47eb82553a45599ff57c86f5c20170d8d5f1d38cae8c7"
checksum = "8d836148f2b8c14961b55faf3a88076dee3b9a51793cf01d420393d6235996c6"
dependencies = [
"anyhow",
"base64 0.13.0",
@ -2187,12 +2188,12 @@ dependencies = [
[[package]]
name = "indexmap"
version = "1.8.2"
version = "1.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6012d540c5baa3589337a98ce73408de9b5a25ec9fc2c6fd6be8f0d39e0ca5a"
checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e"
dependencies = [
"autocfg",
"hashbrown 0.11.2",
"hashbrown 0.12.1",
"serde",
]
@ -3764,9 +3765,9 @@ dependencies = [
[[package]]
name = "serde"
version = "1.0.136"
version = "1.0.139"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ce31e24b01e1e524df96f1c2fdd054405f8d7376249a5110886fb4b658484789"
checksum = "0171ebb889e45aa68b44aee0859b3eede84c6f5f5c228e6f140c0b2a0a46cad6"
dependencies = [
"serde_derive",
]
@ -3782,9 +3783,9 @@ dependencies = [
[[package]]
name = "serde_derive"
version = "1.0.136"
version = "1.0.139"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "08597e7152fcd306f41838ed3e37be9eaeed2b61c42e2117266a554fab4662f9"
checksum = "dc1d3230c1de7932af58ad8ffbe1d784bd55efd5a9d84ac24f69c72d83543dfb"
dependencies = [
"proc-macro2 1.0.39",
"quote 1.0.18",
@ -4035,12 +4036,6 @@ dependencies = [
"syn 1.0.96",
]
[[package]]
name = "strsim"
version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6446ced80d6c486436db5c078dde11a9f73d42b57fb273121e160b84f63d894c"
[[package]]
name = "strsim"
version = "0.10.0"
@ -4055,9 +4050,9 @@ checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601"
[[package]]
name = "swc_atoms"
version = "0.2.12"
version = "0.2.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4447e91cfebfe09f630f909358998fe6621afd10389ba5d6d7711e26105dc87c"
checksum = "0d99c0ac33707dd1162a3665d6ca1a28b2f6594e9c37c4703e417fc5e1ce532e"
dependencies = [
"once_cell",
"rustc-hash",
@ -4068,9 +4063,9 @@ dependencies = [
[[package]]
name = "swc_bundler"
version = "0.155.0"
version = "0.169.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5ac5963141bf30d0cf13d77ffe96f73f4febcd2644984cdbce288d656d4e214a"
checksum = "3fd675a730040ce147232e7021aebebfbe16098079824763578cd6b597632ccc"
dependencies = [
"ahash",
"anyhow",
@ -4100,9 +4095,9 @@ dependencies = [
[[package]]
name = "swc_common"
version = "0.18.9"
version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a7fd4917e5f1f563e475d7adf1cb343f9275ffa602f168b896b0ea8f35d70895"
checksum = "68e76a324fa0d7240e790c78914f39fdecfa9d87ef4efed591124b58607a4a4a"
dependencies = [
"ahash",
"ast_node",
@ -4118,6 +4113,7 @@ dependencies = [
"siphasher",
"sourcemap",
"string_cache",
"swc_atoms",
"swc_eq_ignore_macros",
"swc_visit",
"tracing",
@ -4153,9 +4149,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
version = "0.79.0"
version = "0.84.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f559057f0a573fe3575605cdb5f6d6523b090995e0022444c24e4d206eb4bd57"
checksum = "cce1fb31e3a100feb31f94647fe27e457bc13b17a8931204fdc9bc58a15c936a"
dependencies = [
"bitflags",
"is-macro",
@ -4170,9 +4166,9 @@ dependencies = [
[[package]]
name = "swc_ecma_codegen"
version = "0.109.1"
version = "0.115.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "305da34eaf4d8ec3f908003304d6305fbb455053df9a538c8a491872d167483d"
checksum = "d09abf1639f76d3d174225fdb608805f9c21d4c455f4dd2ef6ab156701f1f82a"
dependencies = [
"memchr",
"num-bigint",
@ -4201,9 +4197,9 @@ dependencies = [
[[package]]
name = "swc_ecma_dep_graph"
version = "0.77.0"
version = "0.83.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "713bf2fd11a92c6ad3cd8a75d89bbc4df6269d35c92f998d1b91cc8e4ae5cdd4"
checksum = "832d9690a915f50c6dd86d107c9c9ec37b3d8dab59ed45814ba7bc63e0aa5a87"
dependencies = [
"swc_atoms",
"swc_common",
@ -4213,9 +4209,9 @@ dependencies = [
[[package]]
name = "swc_ecma_loader"
version = "0.30.2"
version = "0.35.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "917dcd19c429254113981e746e3f6b46446145c8e4d353a8727f92bc8fa307cc"
checksum = "710c86eb2b253160d4a02fa77057f1c493b3932d1b83430cbbc1e7823eb47e8c"
dependencies = [
"ahash",
"anyhow",
@ -4227,9 +4223,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
version = "0.105.6"
version = "0.111.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "30288866d2daf61a05bfb8fefdf53abb9028775c89ffda999bd572c9f885ab69"
checksum = "cc1766e5b969c59e51a5dfe9337755d7380a891e579dd6b0eb7816587c7ea7aa"
dependencies = [
"either",
"enum_kind",
@ -4246,11 +4242,12 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_base"
version = "0.89.6"
version = "0.97.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "347cd727977929ef2c6a0e9461a9bcd8e86563a9eacffb15192771fcc7a88a12"
checksum = "66b316a99dde0ef85f1878aaa9f4bf9b15f16e999c56ed31a1433928c754ae4e"
dependencies = [
"better_scoped_tls",
"bitflags",
"num_cpus",
"once_cell",
"phf",
@ -4268,9 +4265,9 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_classes"
version = "0.77.0"
version = "0.85.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a44cc21dcecfa8d566ef4b7daf77c4e11087d5799dada6592fcdb414f05d9474"
checksum = "c853c4366e81092d38b746e71adffc1150c694f02c1068c9fa24abbdc373a65f"
dependencies = [
"swc_atoms",
"swc_common",
@ -4295,9 +4292,9 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_optimization"
version = "0.131.0"
version = "0.144.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a7a002deafd2d1af5b46e95e5b137742e86e9f8525ad4dcc4564ef05eaea2be"
checksum = "9413ed145b0c3e693d18760a72c72bb7ac3e522edbb88bfe0c6c161a7b148281"
dependencies = [
"ahash",
"dashmap",
@ -4318,9 +4315,9 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_proposal"
version = "0.112.0"
version = "0.122.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "101817a33d344ab1e8afe898743972324b4d0641aca46a124b5d4620d561244c"
checksum = "78ebc6e03a51f9adcbc40ec144c9bbe78de872bf6f8f581f3abd51187ec6e648"
dependencies = [
"either",
"serde",
@ -4337,9 +4334,9 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_react"
version = "0.120.0"
version = "0.133.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eae89d33f52f9d0a6ca30d3ff1151c69a97793a2847c5ed5642f75ac8da2af30"
checksum = "c6b0516e231008722175bc0841bf4f3fdcfd3276ca0bf4878d6e87af5c50f324"
dependencies = [
"ahash",
"base64 0.13.0",
@ -4363,9 +4360,9 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_typescript"
version = "0.124.0"
version = "0.137.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "141d7663429b7c6e7f68fd005a5500f97e6e62ab8ceb63450b100756b199e7d4"
checksum = "6716a73401b5d717d6fd20159385ce09adbdd3afc765c3890859d84ada8af729"
dependencies = [
"serde",
"swc_atoms",
@ -4379,9 +4376,9 @@ dependencies = [
[[package]]
name = "swc_ecma_utils"
version = "0.86.2"
version = "0.93.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "978a609c13b5d3fe9afe31c065bfb40e1bf6e974961e2e2fef959ee9ce668bf3"
checksum = "70981d5ef10c0ff0a002e21decbca9dde5b40c2fc0d0bc6eaebb219a8e0a5f7d"
dependencies = [
"indexmap",
"once_cell",
@ -4390,13 +4387,14 @@ dependencies = [
"swc_ecma_ast",
"swc_ecma_visit",
"tracing",
"unicode-id",
]
[[package]]
name = "swc_ecma_visit"
version = "0.65.0"
version = "0.70.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "066077ce3279b593cbdbbb379735e230a794df7aef7206ba142850eb7197e91f"
checksum = "fcd081250d664808fcd23110202728811236c87f527656ffc1db7f00ac1a06dd"
dependencies = [
"num-bigint",
"swc_atoms",
@ -4420,9 +4418,9 @@ dependencies = [
[[package]]
name = "swc_fast_graph"
version = "0.6.0"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dccdc7e1f2d987c1e2fc7dfb36ef86666f04e5fad4fe88d3a1d05e4f01181d95"
checksum = "9260826bb82481fb946ca653d10196f2653beba1b566b72f42ba7046e4ad0c8f"
dependencies = [
"ahash",
"indexmap",
@ -4432,9 +4430,9 @@ dependencies = [
[[package]]
name = "swc_graph_analyzer"
version = "0.7.0"
version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c279894062688a31a6de1c95e00eb7cfcaa2a471334f6b741f083b86096f2a84"
checksum = "a9b192a3b556cf0a81b4dcb8fa35374d306cd46f806dce937599b40e2d945e51"
dependencies = [
"ahash",
"auto_impl",
@ -4457,9 +4455,9 @@ dependencies = [
[[package]]
name = "swc_visit"
version = "0.3.0"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5c639379dd2a8a0221fa1e12fafbdd594ba53a0cace6560054da52409dfcc1a"
checksum = "fafa6c946bdbe601f5511140776d59e82a03f52a5e5039192b4b96f3ca639d88"
dependencies = [
"either",
"swc_visit_macros",
@ -4467,9 +4465,9 @@ dependencies = [
[[package]]
name = "swc_visit_macros"
version = "0.3.1"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c3b9b72892df873972549838bf84d6c56234c7502148a7e23b5a3da6e0fedfb8"
checksum = "cad1b8e0b2d48660bc454f70495e9bb583f9bf501f28165568569946e62f44a2"
dependencies = [
"Inflector",
"pmutil",

View file

@ -37,7 +37,7 @@ deno_webgpu = { version = "0.61.0", path = "../ext/webgpu" }
deno_websocket = { version = "0.65.0", path = "../ext/websocket" }
deno_webstorage = { version = "0.55.0", path = "../ext/webstorage" }
regex = "=1.5.6"
serde = { version = "=1.0.136", features = ["derive"] }
serde = { version = "=1.0.139", features = ["derive"] }
zstd = '=0.11.1'
[target.'cfg(windows)'.build-dependencies]
@ -45,12 +45,12 @@ winapi = "=0.3.9"
winres = "=0.1.12"
[dependencies]
deno_ast = { version = "0.16.0", features = ["bundler", "cjs", "codegen", "dep_graph", "module_specifier", "proposal", "react", "sourcemap", "transforms", "transpiling", "typescript", "view", "visit"] }
deno_ast = { version = "0.17.0", features = ["bundler", "cjs", "codegen", "dep_graph", "module_specifier", "proposal", "react", "sourcemap", "transforms", "transpiling", "typescript", "view", "visit"] }
deno_core = { version = "0.142.0", path = "../core" }
deno_doc = "0.36.0"
deno_emit = "0.3.0"
deno_graph = "0.28.0"
deno_lint = { version = "0.31.0", features = ["docs"] }
deno_doc = "0.38.0"
deno_emit = "0.4.0"
deno_graph = "0.29.0"
deno_lint = { version = "0.32.0", features = ["docs"] }
deno_runtime = { version = "0.68.0", path = "../runtime" }
deno_task_shell = "0.4.0"
@ -65,10 +65,10 @@ data-url = "=0.1.1"
dissimilar = "=1.0.3"
dprint-plugin-json = "=0.15.3"
dprint-plugin-markdown = "=0.13.3"
dprint-plugin-typescript = "=0.69.5"
dprint-plugin-typescript = "=0.69.6"
encoding_rs = "=0.8.31"
env_logger = "=0.9.0"
eszip = "=0.21.0"
eszip = "=0.22.0"
fancy-regex = "=0.9.0"
http = "=0.2.6"
import_map = "=0.11.0"
@ -90,7 +90,7 @@ rustyline = { version = "=9.1.2", default-features = false }
rustyline-derive = "=0.6.0"
secure_tempfile = { version = "=3.3.0", package = "tempfile" } # different name to discourage use in tests
semver-parser = "=0.10.2"
serde = { version = "=1.0.136", features = ["derive"] }
serde = { version = "=1.0.139", features = ["derive"] }
serde_repr = "=0.1.8"
shell-escape = "=0.1.5"
text-size = "=1.1.0"

View file

@ -39,5 +39,5 @@ path = "examples/http_bench_json_ops.rs"
# These dependencies are only used for the 'http_bench_*_ops' examples.
[dev-dependencies]
deno_ast = { version = "0.16.0", features = ["transpiling"] }
deno_ast = { version = "0.17.0", features = ["transpiling"] }
tokio = { version = "1.19", features = ["full"] }