diff --git a/.cargo/config.toml b/.cargo/config.toml index 99b1fd8adffd..2ad17f222ff6 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,29 +1,15 @@ [build] -rustdocflags = [ - "--cfg", - "docsrs", -] -rustflags = [ - "-C", - "target-feature=+sse2", - "-Z", - "new-llvm-pass-manager=no", -] +rustdocflags = ["--cfg", "docsrs"] +rustflags = ["-C", "target-feature=+sse2", "-Z", "new-llvm-pass-manager=no"] [target.aarch64-apple-darwin] -rustflags = [ - "-Z", - "new-llvm-pass-manager=no", -] +rustflags = ["-Z", "new-llvm-pass-manager=no"] [target.aarch64-unknown-linux-gnu] linker = "aarch64-linux-gnu-gcc" -rustflags = [ - "-Z", - "new-llvm-pass-manager=no", -] +rustflags = ["-Z", "new-llvm-pass-manager=no"] [target.aarch64-unknown-linux-musl] linker = "aarch64-linux-musl-gcc" @@ -38,29 +24,17 @@ rustflags = [ [target.armv7-unknown-linux-gnueabihf] linker = "arm-linux-gnueabihf-gcc" -rustflags = [ - "-Z", - "new-llvm-pass-manager=no", -] +rustflags = ["-Z", "new-llvm-pass-manager=no"] [target.aarch64-linux-android] -rustflags = [ - "-Z", - "new-llvm-pass-manager=no", -] +rustflags = ["-Z", "new-llvm-pass-manager=no"] [target.x86_64-pc-windows-msvc] linker = "rust-lld" [target.aarch64-pc-windows-msvc] linker = "rust-lld" -rustflags = [ - "-Z", - "new-llvm-pass-manager=no", -] +rustflags = ["-Z", "new-llvm-pass-manager=no"] [target.wasm32-unknown-unknown] -rustflags = [ - "-Z", - "new-llvm-pass-manager=no", -] +rustflags = ["-Z", "new-llvm-pass-manager=no"] diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 000000000000..d2ae35e84b09 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/bin/sh +. "$(dirname "$0")/_/husky.sh" + +yarn lint-staged diff --git a/Cargo.toml b/Cargo.toml index cef3e7e1b379..a28f6192aae9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -62,4 +62,4 @@ opt-level = 3 cranelift-codegen = { git = "https://github.com/kdy1/wasmtime", branch = "tls" } cranelift-entity = { git = "https://github.com/kdy1/wasmtime", branch = "tls" } # https://github.com/thoren-d/tracing-chrome/pull/6 -tracing-chrome = { git = "https://github.com/kwonoj/tracing-chrome", rev="a345d8e" } \ No newline at end of file +tracing-chrome = { git = "https://github.com/kwonoj/tracing-chrome", rev = "a345d8e" } diff --git a/cliff.toml b/cliff.toml index f04e7adda633..3353b855e4f4 100644 --- a/cliff.toml +++ b/cliff.toml @@ -52,16 +52,16 @@ conventional_commits = true filter_unconventional = false # regex for parsing and grouping commits commit_parsers = [ - {message = "^feat", group = "Features"}, - {message = "^fix", group = "Bug Fixes"}, - {message = "^doc", group = "Documentation"}, - {message = "^perf", group = "Performance"}, - {message = "^refactor", group = "Refactor"}, - {message = "^style", group = "Styling"}, - {message = "^test", group = "Testing"}, - {message = "^chore: Publish", skip = true}, - {message = "^chore", group = "Miscellaneous Tasks"}, - {body = ".*security", group = "Security"}, + { message = "^feat", group = "Features" }, + { message = "^fix", group = "Bug Fixes" }, + { message = "^doc", group = "Documentation" }, + { message = "^perf", group = "Performance" }, + { message = "^refactor", group = "Refactor" }, + { message = "^style", group = "Styling" }, + { message = "^test", group = "Testing" }, + { message = "^chore: Publish", skip = true }, + { message = "^chore", group = "Miscellaneous Tasks" }, + { body = ".*security", group = "Security" }, ] # filter out the commits that are not matched by commit parsers filter_commits = false diff --git a/clippy.toml b/clippy.toml index 907c5ca04498..5e2813ec2293 100644 --- a/clippy.toml +++ b/clippy.toml @@ -1,4 +1,20 @@ -blacklisted-names = ["bool", "char", "str", "f32", "f64", "i8", "i16", "i32", "i64", "u8", "u16", "u32", "u64", "isize", "usize"] +blacklisted-names = [ + "bool", + "char", + "str", + "f32", + "f64", + "i8", + "i16", + "i32", + "i64", + "u8", + "u16", + "u32", + "u64", + "isize", + "usize", +] cognitive-complexity-threshold = 50 msrv = "1.58" type-complexity-threshold = 25000 diff --git a/crates/ast_node/Cargo.toml b/crates/ast_node/Cargo.toml index ad9bcbfcaa17..06ca6d6d9d6f 100644 --- a/crates/ast_node/Cargo.toml +++ b/crates/ast_node/Cargo.toml @@ -16,7 +16,7 @@ darling = "0.13" pmutil = "0.5.1" proc-macro2 = "1" quote = "1" -swc_macros_common = {version = "0.3.2", path = "../swc_macros_common"} +swc_macros_common = { version = "0.3.2", path = "../swc_macros_common" } [dependencies.syn] features = ["derive", "fold", "parsing", "printing", "visit-mut"] diff --git a/crates/enum_kind/Cargo.toml b/crates/enum_kind/Cargo.toml index 1f30cf49391c..18b187304fd3 100644 --- a/crates/enum_kind/Cargo.toml +++ b/crates/enum_kind/Cargo.toml @@ -14,7 +14,7 @@ proc-macro = true [dependencies] pmutil = "0.5.1" proc-macro2 = "1" -swc_macros_common = {version = "0.3.2", path = "../swc_macros_common"} +swc_macros_common = { version = "0.3.2", path = "../swc_macros_common" } [dependencies.syn] features = ["full", "parsing", "printing", "extra-traits"] diff --git a/crates/fastmem/Cargo.toml b/crates/fastmem/Cargo.toml index 6b233d94e1ff..82474b0988c4 100644 --- a/crates/fastmem/Cargo.toml +++ b/crates/fastmem/Cargo.toml @@ -11,4 +11,4 @@ version = "0.1.0" enable = ["rayon"] [dependencies] -rayon = {version = "1", optional = true} +rayon = { version = "1", optional = true } diff --git a/crates/from_variant/Cargo.toml b/crates/from_variant/Cargo.toml index 637457ac6e4c..1de0c18056ae 100644 --- a/crates/from_variant/Cargo.toml +++ b/crates/from_variant/Cargo.toml @@ -14,7 +14,7 @@ proc-macro = true [dependencies] pmutil = "0.5.3" proc-macro2 = "1" -swc_macros_common = {version = "0.3.2", path = "../swc_macros_common"} +swc_macros_common = { version = "0.3.2", path = "../swc_macros_common" } [dependencies.syn] features = ["derive", "fold", "parsing", "printing"] diff --git a/crates/jsdoc/Cargo.toml b/crates/jsdoc/Cargo.toml index 50920d926684..8ecaf2d64af1 100644 --- a/crates/jsdoc/Cargo.toml +++ b/crates/jsdoc/Cargo.toml @@ -11,13 +11,13 @@ version = "0.63.0" [dependencies] nom = "7.1.0" -serde = {version = "1", features = ["derive"]} -swc_atoms = {version = "0.2", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common"} +serde = { version = "1", features = ["derive"] } +swc_atoms = { version = "0.2", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common" } [dev-dependencies] anyhow = "1" dashmap = "5.1.0" -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_parser = {version = "0.94.0", path = "../swc_ecma_parser"} -testing = {version = "0.19.0", path = "../testing"} +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_parser = { version = "0.94.0", path = "../swc_ecma_parser" } +testing = { version = "0.19.0", path = "../testing" } diff --git a/crates/node/Cargo.toml b/crates/node/Cargo.toml index 4edf49b859ff..16732662970b 100644 --- a/crates/node/Cargo.toml +++ b/crates/node/Cargo.toml @@ -18,30 +18,37 @@ swc_v1 = ["swc_node_bundler/swc_v1"] swc_v2 = ["swc_node_bundler/swc_v2"] [build-dependencies] -napi-build = {version = "1"} +napi-build = { version = "1" } [dependencies] anyhow = "1" backtrace = "0.3" -napi = {version = "2", default-features = false, features = ["napi3", "serde-json"]} -napi-derive = {version = "2", default-features = false, features = ["type-def"]} -node_macro_deps = {path = "../node_macro_deps"} +napi = { version = "2", default-features = false, features = [ + "napi3", + "serde-json", +] } +napi-derive = { version = "2", default-features = false, features = [ + "type-def", +] } +node_macro_deps = { path = "../node_macro_deps" } path-clean = "0.1" -serde = {version = "1", features = ["derive"]} -serde_json = {version = "1", features = ["unbounded_depth"]} -swc = {path = "../swc", features = ["concurrent", "node"]} -swc_atoms = {version = "0.2.4", path = "../swc_atoms"} -swc_bundler = {path = "../swc_bundler"} -swc_common = {path = "../swc_common", features = ["sourcemap"]} -swc_ecma_ast = {path = "../swc_ecma_ast"} -swc_ecma_lints = {path = "../swc_ecma_lints", features = ["non_critical_lints"]} -swc_ecma_loader = {path = "../swc_ecma_loader"} -swc_ecma_parser = {path = "../swc_ecma_parser"} -swc_node_base = {path = "../swc_node_base"} -swc_node_bundler = {path = "../swc_node_bundler"} -tracing = {version = "0.1.32", features = ["release_max_level_info"]} +serde = { version = "1", features = ["derive"] } +serde_json = { version = "1", features = ["unbounded_depth"] } +swc = { path = "../swc", features = ["concurrent", "node"] } +swc_atoms = { version = "0.2.4", path = "../swc_atoms" } +swc_bundler = { path = "../swc_bundler" } +swc_common = { path = "../swc_common", features = ["sourcemap"] } +swc_ecma_ast = { path = "../swc_ecma_ast" } +swc_ecma_lints = { path = "../swc_ecma_lints", features = [ + "non_critical_lints", +] } +swc_ecma_loader = { path = "../swc_ecma_loader" } +swc_ecma_parser = { path = "../swc_ecma_parser" } +swc_node_base = { path = "../swc_node_base" } +swc_node_bundler = { path = "../swc_node_bundler" } +tracing = { version = "0.1.32", features = ["release_max_level_info"] } tracing-chrome = "0.4.0" tracing-futures = "0.2.5" -tracing-subscriber = {version = "0.3.9", features = ["env-filter"]} -wasmer = {version = "2.2.0", optional = true, default-features = false} -wasmer-wasi = {version = "2.2.0", optional = true, default-features = false} +tracing-subscriber = { version = "0.3.9", features = ["env-filter"] } +wasmer = { version = "2.2.0", optional = true, default-features = false } +wasmer-wasi = { version = "2.2.0", optional = true, default-features = false } diff --git a/crates/preset_env_base/Cargo.toml b/crates/preset_env_base/Cargo.toml index ce2b727574d4..95a7cf0e3cdb 100644 --- a/crates/preset_env_base/Cargo.toml +++ b/crates/preset_env_base/Cargo.toml @@ -14,8 +14,8 @@ ahash = "0.7.4" anyhow = "1" browserslist-rs = "=0.9.0" dashmap = "5.1.0" -from_variant = {version = "0.1.3", path = "../from_variant"} +from_variant = { version = "0.1.3", path = "../from_variant" } once_cell = "1.10.0" -semver = {version = "1.0.4", features = ["serde"]} -serde = {version = "1", features = ["derive"]} +semver = { version = "1.0.4", features = ["serde"] } +serde = { version = "1", features = ["derive"] } st-map = "0.1.2" diff --git a/crates/string_enum/Cargo.toml b/crates/string_enum/Cargo.toml index 13476d244152..e1d10c8e90b5 100644 --- a/crates/string_enum/Cargo.toml +++ b/crates/string_enum/Cargo.toml @@ -15,7 +15,7 @@ proc-macro = true pmutil = "0.5.1" proc-macro2 = "1" quote = "1" -swc_macros_common = {version = "0.3.2", path = "../swc_macros_common"} +swc_macros_common = { version = "0.3.2", path = "../swc_macros_common" } [dependencies.syn] features = ["full", "parsing", "printing", "extra-traits"] diff --git a/crates/swc/Cargo.toml b/crates/swc/Cargo.toml index 2f8db013c3f5..b40942517dff 100644 --- a/crates/swc/Cargo.toml +++ b/crates/swc/Cargo.toml @@ -27,9 +27,7 @@ concurrent = [ ] debug = ["swc_ecma_visit/debug"] node = ["napi", "napi-derive"] -plugin = [ - "swc_plugin_runner", -] +plugin = ["swc_plugin_runner"] [dependencies] ahash = "0.7.4" @@ -37,44 +35,52 @@ anyhow = "1" base64 = "0.13.0" dashmap = "5.1.0" either = "1" -indexmap = {version = "1", features = ["serde"]} +indexmap = { version = "1", features = ["serde"] } lru = "0.7.1" once_cell = "1.10.0" parking_lot = "0.12.0" pathdiff = "0.2.0" regex = "1" -serde = {version = "1", features = ["derive"]} +serde = { version = "1", features = ["derive"] } serde_json = "1" sourcemap = "6" -swc_atoms = {version = "0.2", path = "../swc_atoms"} -swc_cached = {version = "0.1.0", path = "../swc_cached"} -swc_common = {version = "0.17.0", path = "../swc_common", features = ["sourcemap", "concurrent", "parking_lot"]} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_codegen = {version = "0.96.0", path = "../swc_ecma_codegen"} -swc_ecma_ext_transforms = {version = "0.59.0", path = "../swc_ecma_ext_transforms"} -swc_ecma_lints = {version = "0.24.0", path = "../swc_ecma_lints"} -swc_ecma_loader = {version = "0.29.0", path = "../swc_ecma_loader", features = ["cache", "node", "tsc"]} -swc_ecma_minifier = {version = "0.91.0", path = "../swc_ecma_minifier"} -swc_ecma_parser = {version = "0.94.0", path = "../swc_ecma_parser"} -swc_ecma_preset_env = {version = "0.108.0", path = "../swc_ecma_preset_env"} -swc_ecma_transforms = {version = "0.133.0", path = "../swc_ecma_transforms", features = [ +swc_atoms = { version = "0.2", path = "../swc_atoms" } +swc_cached = { version = "0.1.0", path = "../swc_cached" } +swc_common = { version = "0.17.0", path = "../swc_common", features = [ + "sourcemap", + "concurrent", + "parking_lot", +] } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_codegen = { version = "0.96.0", path = "../swc_ecma_codegen" } +swc_ecma_ext_transforms = { version = "0.59.0", path = "../swc_ecma_ext_transforms" } +swc_ecma_lints = { version = "0.24.0", path = "../swc_ecma_lints" } +swc_ecma_loader = { version = "0.29.0", path = "../swc_ecma_loader", features = [ + "cache", + "node", + "tsc", +] } +swc_ecma_minifier = { version = "0.91.0", path = "../swc_ecma_minifier" } +swc_ecma_parser = { version = "0.94.0", path = "../swc_ecma_parser" } +swc_ecma_preset_env = { version = "0.108.0", path = "../swc_ecma_preset_env" } +swc_ecma_transforms = { version = "0.133.0", path = "../swc_ecma_transforms", features = [ "compat", "module", "optimization", "proposal", "react", "typescript", -]} -swc_ecma_transforms_base = {version = "0.68.0", path = "../swc_ecma_transforms_base"} -swc_ecma_transforms_compat = {version = "0.81.0", path = "../swc_ecma_transforms_compat"} -swc_ecma_transforms_optimization = {version = "0.103.0", path = "../swc_ecma_transforms_optimization"} -swc_ecma_utils = {version = "0.73.0", path = "../swc_ecma_utils"} -swc_ecma_visit = {version = "0.56.0", path = "../swc_ecma_visit"} -swc_ecmascript = {version = "0.134.0", path = "../swc_ecmascript"} -swc_error_reporters = {version = "0.1.0", path = "../swc_error_reporters"} -swc_node_comments = {version = "0.4.0", path = "../swc_node_comments"} -swc_plugin_runner = {version = "0.43.0", path = "../swc_plugin_runner", optional = true} -swc_visit = {version = "0.3.0", path = "../swc_visit"} +] } +swc_ecma_transforms_base = { version = "0.68.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_compat = { version = "0.81.0", path = "../swc_ecma_transforms_compat" } +swc_ecma_transforms_optimization = { version = "0.103.0", path = "../swc_ecma_transforms_optimization" } +swc_ecma_utils = { version = "0.73.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "0.56.0", path = "../swc_ecma_visit" } +swc_ecmascript = { version = "0.134.0", path = "../swc_ecmascript" } +swc_error_reporters = { version = "0.1.0", path = "../swc_error_reporters" } +swc_node_comments = { version = "0.4.0", path = "../swc_node_comments" } +swc_plugin_runner = { version = "0.43.0", path = "../swc_plugin_runner", optional = true } +swc_visit = { version = "0.3.0", path = "../swc_visit" } tracing = "0.1.32" [dependencies.napi-derive] @@ -91,9 +97,11 @@ version = "2.0.0" [dev-dependencies] rayon = "1" -swc_ecma_lints = {version = "0.24.0", path = "../swc_ecma_lints", features = ["non_critical_lints"]} -swc_node_base = {version = "0.5.0", path = "../swc_node_base"} -testing = {version = "0.19.0", path = "../testing"} +swc_ecma_lints = { version = "0.24.0", path = "../swc_ecma_lints", features = [ + "non_critical_lints", +] } +swc_node_base = { version = "0.5.0", path = "../swc_node_base" } +testing = { version = "0.19.0", path = "../testing" } walkdir = "2" [[example]] diff --git a/crates/swc_bundler/Cargo.toml b/crates/swc_bundler/Cargo.toml index 10f7f02373fd..650fc7464e63 100644 --- a/crates/swc_bundler/Cargo.toml +++ b/crates/swc_bundler/Cargo.toml @@ -30,41 +30,44 @@ default = [] ahash = "0.7" anyhow = "1" crc = "2.1.0" -dashmap = {version = "5.1.0", optional = true} +dashmap = { version = "5.1.0", optional = true } indexmap = "1.6" is-macro = "0.2.0" once_cell = "1.10.0" parking_lot = "0.12.0" petgraph = "0.6" radix_fmt = "1" -rayon = {version = "1", optional = true} +rayon = { version = "1", optional = true } relative-path = "1.2" retain_mut = "0.1.2" -swc_atoms = {version = "0.2.4", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common"} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_codegen = {version = "0.96.0", path = "../swc_ecma_codegen"} -swc_ecma_loader = {version = "0.29.0", path = "../swc_ecma_loader"} -swc_ecma_parser = {version = "0.94.0", path = "../swc_ecma_parser"} -swc_ecma_transforms_base = {version = "0.68.0", path = "../swc_ecma_transforms_base"} -swc_ecma_transforms_optimization = {version = "0.103.0", path = "../swc_ecma_transforms_optimization"} -swc_ecma_utils = {version = "0.73.0", path = "../swc_ecma_utils"} -swc_ecma_visit = {version = "0.56.0", path = "../swc_ecma_visit"} -swc_fast_graph = {version = "0.5.0", path = "../swc_fast_graph/"} -swc_graph_analyzer = {version = "0.6.0", path = "../swc_graph_analyzer/"} +swc_atoms = { version = "0.2.4", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common" } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_codegen = { version = "0.96.0", path = "../swc_ecma_codegen" } +swc_ecma_loader = { version = "0.29.0", path = "../swc_ecma_loader" } +swc_ecma_parser = { version = "0.94.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_base = { version = "0.68.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_optimization = { version = "0.103.0", path = "../swc_ecma_transforms_optimization" } +swc_ecma_utils = { version = "0.73.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "0.56.0", path = "../swc_ecma_visit" } +swc_fast_graph = { version = "0.5.0", path = "../swc_fast_graph/" } +swc_graph_analyzer = { version = "0.6.0", path = "../swc_graph_analyzer/" } tracing = "0.1.32" [dev-dependencies] hex = "0.4" ntest = "0.7.2" path-clean = "=0.1.0" -reqwest = {version = "0.11.4", features = ["blocking"]} +reqwest = { version = "0.11.4", features = ["blocking"] } sha-1 = "0.10" -swc_ecma_loader = {version = "0.29.0", path = "../swc_ecma_loader", features = ["node", "cache"]} -swc_ecma_minifier = {version = "0.91.0", path = "../swc_ecma_minifier"} -swc_ecma_transforms_react = {version = "0.95.0", path = "../swc_ecma_transforms_react"} -swc_ecma_transforms_typescript = {version = "0.98.0", path = "../swc_ecma_transforms_typescript"} -swc_node_base = {version = "0.5.0", path = "../swc_node_base"} +swc_ecma_loader = { version = "0.29.0", path = "../swc_ecma_loader", features = [ + "node", + "cache", +] } +swc_ecma_minifier = { version = "0.91.0", path = "../swc_ecma_minifier" } +swc_ecma_transforms_react = { version = "0.95.0", path = "../swc_ecma_transforms_react" } +swc_ecma_transforms_typescript = { version = "0.98.0", path = "../swc_ecma_transforms_typescript" } +swc_node_base = { version = "0.5.0", path = "../swc_node_base" } tempfile = "3.1.0" -testing = {version = "0.19.0", path = "../testing"} +testing = { version = "0.19.0", path = "../testing" } url = "2.1.1" diff --git a/crates/swc_cached/Cargo.toml b/crates/swc_cached/Cargo.toml index 15a9c3eab90e..477afc153b30 100644 --- a/crates/swc_cached/Cargo.toml +++ b/crates/swc_cached/Cargo.toml @@ -17,4 +17,4 @@ dashmap = "5.1.0" once_cell = "1.10.0" regex = "1.5.4" serde = "1.0.136" -swc_atoms = {version = "0.2.9", path = "../swc_atoms"} +swc_atoms = { version = "0.2.9", path = "../swc_atoms" } diff --git a/crates/swc_cli/Cargo.toml b/crates/swc_cli/Cargo.toml index 0824e8e05e38..749c68e6afb4 100644 --- a/crates/swc_cli/Cargo.toml +++ b/crates/swc_cli/Cargo.toml @@ -14,32 +14,27 @@ path = "./src/main.rs" [features] default = [] -plugin = [ - "swc/plugin", - "wasmer/default", - "wasmer-wasi/default", -] +plugin = ["swc/plugin", "wasmer/default", "wasmer-wasi/default"] [dependencies] anyhow = "1.0.53" atty = "0.2.14" -clap = {version = "3.1.0", features = ["derive", "wrap_help"]} +clap = { version = "3.1.0", features = ["derive", "wrap_help"] } rayon = "1" relative-path = "1.6.1" -serde = {version = "1", features = ["derive"]} -serde_json = {version = "1", features = ["unbounded_depth"]} -swc = {version = "0.154.0", path = "../swc"} -swc_common = {version = "0.17.5", path = "../swc_common"} -swc_trace_macro = {version = "0.1.0", path = "../swc_trace_macro"} +serde = { version = "1", features = ["derive"] } +serde_json = { version = "1", features = ["unbounded_depth"] } +swc = { version = "0.154.0", path = "../swc" } +swc_common = { version = "0.17.5", path = "../swc_common" } +swc_trace_macro = { version = "0.1.0", path = "../swc_trace_macro" } tracing = "0.1.32" tracing-chrome = "0.4.0" tracing-futures = "0.2.5" -tracing-subscriber = {version = "0.3.9", features = ["env-filter"]} +tracing-subscriber = { version = "0.3.9", features = ["env-filter"] } walkdir = "2" -wasmer = {version = "2.2.0", optional = true} -wasmer-wasi = {version = "2.2.0", optional = true} +wasmer = { version = "2.2.0", optional = true } +wasmer-wasi = { version = "2.2.0", optional = true } [dependencies.path-absolutize] features = ["once_cell_cache"] version = "3.0.11" - diff --git a/crates/swc_common/Cargo.toml b/crates/swc_common/Cargo.toml index b6eeaae98940..3ea809e20ed0 100644 --- a/crates/swc_common/Cargo.toml +++ b/crates/swc_common/Cargo.toml @@ -26,27 +26,27 @@ tty-emitter = ["atty", "termcolor"] [dependencies] ahash = "0.7.4" -anyhow = {version = "1.0.45", optional = true} -arbitrary = {version = "1", optional = true, features = ["derive"]} -ast_node = {version = "0.7.5", path = "../ast_node"} -atty = {version = "0.2", optional = true} -better_scoped_tls = {version = "0.1.0", path = "../better_scoped_tls"} +anyhow = { version = "1.0.45", optional = true } +arbitrary = { version = "1", optional = true, features = ["derive"] } +ast_node = { version = "0.7.5", path = "../ast_node" } +atty = { version = "0.2", optional = true } +better_scoped_tls = { version = "0.1.0", path = "../better_scoped_tls" } cfg-if = "1.0.0" debug_unreachable = "0.1.1" either = "1.5" -from_variant = {version = "0.1.3", path = "../from_variant"} +from_variant = { version = "0.1.3", path = "../from_variant" } num-bigint = "0.4" once_cell = "1.10.0" -parking_lot = {version = "0.12.0", optional = true} -rkyv = {version = "0.7.28", optional = true} +parking_lot = { version = "0.12.0", optional = true } +rkyv = { version = "0.7.28", optional = true } rustc-hash = "1.1.0" -serde = {version = "1.0.119", features = ["derive"]} +serde = { version = "1.0.119", features = ["derive"] } siphasher = "0.3.9" -sourcemap = {version = "6", optional = true} +sourcemap = { version = "6", optional = true } string_cache = "0.8.3" -swc_eq_ignore_macros = {version = "0.1", path = "../swc_eq_ignore_macros"} -swc_visit = {version = "0.3.0", path = "../swc_visit"} -termcolor = {version = "1.0", optional = true} +swc_eq_ignore_macros = { version = "0.1", path = "../swc_eq_ignore_macros" } +swc_visit = { version = "0.3.0", path = "../swc_visit" } +termcolor = { version = "1.0", optional = true } tracing = "0.1.32" unicode-width = "0.1.4" url = "2.2.2" diff --git a/crates/swc_css/Cargo.toml b/crates/swc_css/Cargo.toml index b9f78b9b0a00..57eb03c99088 100644 --- a/crates/swc_css/Cargo.toml +++ b/crates/swc_css/Cargo.toml @@ -16,9 +16,9 @@ rustdoc-args = ["--cfg", "docsrs"] minifier = ["swc_css_minifier"] [dependencies] -swc_css_ast = {version = "0.91.0", path = "../swc_css_ast"} -swc_css_codegen = {version = "0.100.0", path = "../swc_css_codegen"} -swc_css_minifier = {version = "0.65.0", path = "../swc_css_minifier", optional = true} -swc_css_parser = {version = "0.99.0", path = "../swc_css_parser"} -swc_css_utils = {version = "0.88.0", path = "../swc_css_utils/"} -swc_css_visit = {version = "0.90.0", path = "../swc_css_visit"} +swc_css_ast = { version = "0.91.0", path = "../swc_css_ast" } +swc_css_codegen = { version = "0.100.0", path = "../swc_css_codegen" } +swc_css_minifier = { version = "0.65.0", path = "../swc_css_minifier", optional = true } +swc_css_parser = { version = "0.99.0", path = "../swc_css_parser" } +swc_css_utils = { version = "0.88.0", path = "../swc_css_utils/" } +swc_css_visit = { version = "0.90.0", path = "../swc_css_visit" } diff --git a/crates/swc_css_ast/Cargo.toml b/crates/swc_css_ast/Cargo.toml index dec358123164..7e6d5b3960c1 100644 --- a/crates/swc_css_ast/Cargo.toml +++ b/crates/swc_css_ast/Cargo.toml @@ -12,7 +12,7 @@ version = "0.91.0" [dependencies] is-macro = "0.2.0" -serde = {version = "1.0.127", features = ["derive"]} -string_enum = {version = "0.3.1", path = "../string_enum/"} -swc_atoms = {version = "0.2.7", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common"} +serde = { version = "1.0.127", features = ["derive"] } +string_enum = { version = "0.3.1", path = "../string_enum/" } +swc_atoms = { version = "0.2.7", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common" } diff --git a/crates/swc_css_codegen/Cargo.toml b/crates/swc_css_codegen/Cargo.toml index 427fab4aa95a..8fffd30f8b6e 100644 --- a/crates/swc_css_codegen/Cargo.toml +++ b/crates/swc_css_codegen/Cargo.toml @@ -11,13 +11,15 @@ version = "0.100.0" [dependencies] auto_impl = "0.5.0" bitflags = "1.3.2" -swc_atoms = {version = "0.2.7", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common"} -swc_css_ast = {version = "0.91.0", path = "../swc_css_ast"} -swc_css_codegen_macros = {version = "0.2.0", path = "../swc_css_codegen_macros"} +swc_atoms = { version = "0.2.7", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common" } +swc_css_ast = { version = "0.91.0", path = "../swc_css_ast" } +swc_css_codegen_macros = { version = "0.2.0", path = "../swc_css_codegen_macros" } [dev-dependencies] -swc_common = {version = "0.17.3", path = "../swc_common", features = ["sourcemap"]} -swc_css_parser = {version = "0.99.0", path = "../swc_css_parser"} -swc_css_visit = {version = "0.90.0", path = "../swc_css_visit"} -testing = {version = "0.19.0", path = "../testing"} +swc_common = { version = "0.17.3", path = "../swc_common", features = [ + "sourcemap", +] } +swc_css_parser = { version = "0.99.0", path = "../swc_css_parser" } +swc_css_visit = { version = "0.90.0", path = "../swc_css_visit" } +testing = { version = "0.19.0", path = "../testing" } diff --git a/crates/swc_css_codegen_macros/Cargo.toml b/crates/swc_css_codegen_macros/Cargo.toml index dbd7d584b1bc..20ae95bf4f32 100644 --- a/crates/swc_css_codegen_macros/Cargo.toml +++ b/crates/swc_css_codegen_macros/Cargo.toml @@ -15,5 +15,5 @@ proc-macro = true pmutil = "0.5.1" proc-macro2 = "1" quote = "1" -swc_macros_common = {version = "0.3.2", path = "../swc_macros_common"} -syn = {version = "1", features = ["fold"]} +swc_macros_common = { version = "0.3.2", path = "../swc_macros_common" } +syn = { version = "1", features = ["fold"] } diff --git a/crates/swc_css_lints/Cargo.toml b/crates/swc_css_lints/Cargo.toml index 16c9d58f1efd..c5475d5b0b89 100644 --- a/crates/swc_css_lints/Cargo.toml +++ b/crates/swc_css_lints/Cargo.toml @@ -14,15 +14,15 @@ version = "0.9.0" auto_impl = "0.5.0" parking_lot = "0.12.0" rayon = "1.5.1" -serde = {version = "1.0.133", features = ["derive"]} -swc_atoms = {version = "0.2.9", path = "../swc_atoms"} -swc_cached = {version = "0.1.0", path = "../swc_cached"} -swc_common = {version = "0.17.0", path = "../swc_common"} -swc_css_ast = {version = "0.91.0", path = "../swc_css_ast"} -swc_css_visit = {version = "0.90.0", path = "../swc_css_visit"} +serde = { version = "1.0.133", features = ["derive"] } +swc_atoms = { version = "0.2.9", path = "../swc_atoms" } +swc_cached = { version = "0.1.0", path = "../swc_cached" } +swc_common = { version = "0.17.0", path = "../swc_common" } +swc_css_ast = { version = "0.91.0", path = "../swc_css_ast" } +swc_css_visit = { version = "0.90.0", path = "../swc_css_visit" } thiserror = "1.0.30" [dev-dependencies] serde_json = "1.0.79" -swc_css_parser = {version = "0.99.0", path = "../swc_css_parser"} -testing = {version = "0.19.0", path = "../testing"} +swc_css_parser = { version = "0.99.0", path = "../swc_css_parser" } +testing = { version = "0.19.0", path = "../testing" } diff --git a/crates/swc_css_minifier/Cargo.toml b/crates/swc_css_minifier/Cargo.toml index d5500d4e4e37..c6da2f5c9031 100644 --- a/crates/swc_css_minifier/Cargo.toml +++ b/crates/swc_css_minifier/Cargo.toml @@ -11,12 +11,12 @@ version = "0.65.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -swc_atoms = {version = "0.2.9", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common"} -swc_css_ast = {version = "0.91.0", path = "../swc_css_ast"} -swc_css_visit = {version = "0.90.0", path = "../swc_css_visit"} +swc_atoms = { version = "0.2.9", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common" } +swc_css_ast = { version = "0.91.0", path = "../swc_css_ast" } +swc_css_visit = { version = "0.90.0", path = "../swc_css_visit" } [dev-dependencies] -swc_css_codegen = {version = "0.100.0", path = "../swc_css_codegen"} -swc_css_parser = {version = "0.99.0", path = "../swc_css_parser"} -testing = {version = "0.19.0", path = "../testing"} +swc_css_codegen = { version = "0.100.0", path = "../swc_css_codegen" } +swc_css_parser = { version = "0.99.0", path = "../swc_css_parser" } +testing = { version = "0.19.0", path = "../testing" } diff --git a/crates/swc_css_parser/Cargo.toml b/crates/swc_css_parser/Cargo.toml index 4b952c35bb8e..62e6714bc463 100644 --- a/crates/swc_css_parser/Cargo.toml +++ b/crates/swc_css_parser/Cargo.toml @@ -15,12 +15,12 @@ debug = [] [dependencies] bitflags = "1.2.1" lexical = "6.1.0" -swc_atoms = {version = "0.2.7", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common"} -swc_css_ast = {version = "0.91.0", path = "../swc_css_ast"} +swc_atoms = { version = "0.2.7", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common" } +swc_css_ast = { version = "0.91.0", path = "../swc_css_ast" } [dev-dependencies] serde = "1.0.127" serde_json = "1.0.66" -swc_css_visit = {version = "0.90.0", path = "../swc_css_visit"} -testing = {version = "0.19.0", path = "../testing"} +swc_css_visit = { version = "0.90.0", path = "../swc_css_visit" } +testing = { version = "0.19.0", path = "../testing" } diff --git a/crates/swc_css_utils/Cargo.toml b/crates/swc_css_utils/Cargo.toml index f93b8b802eed..718e141a2249 100644 --- a/crates/swc_css_utils/Cargo.toml +++ b/crates/swc_css_utils/Cargo.toml @@ -10,7 +10,7 @@ version = "0.88.1" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -swc_atoms = {version = "0.2.7", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common"} -swc_css_ast = {version = "0.91.0", path = "../swc_css_ast"} -swc_css_visit = {version = "0.90.0", path = "../swc_css_visit"} +swc_atoms = { version = "0.2.7", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common" } +swc_css_ast = { version = "0.91.0", path = "../swc_css_ast" } +swc_css_visit = { version = "0.90.0", path = "../swc_css_visit" } diff --git a/crates/swc_css_visit/Cargo.toml b/crates/swc_css_visit/Cargo.toml index 481bfcc4a43b..5480bbabe1aa 100644 --- a/crates/swc_css_visit/Cargo.toml +++ b/crates/swc_css_visit/Cargo.toml @@ -11,7 +11,7 @@ version = "0.90.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -swc_atoms = {version = "0.2.7", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common"} -swc_css_ast = {version = "0.91.0", path = "../swc_css_ast"} -swc_visit = {version = "0.3.0", path = "../swc_visit"} +swc_atoms = { version = "0.2.7", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common" } +swc_css_ast = { version = "0.91.0", path = "../swc_css_ast" } +swc_visit = { version = "0.3.0", path = "../swc_visit" } diff --git a/crates/swc_ecma_ast/Cargo.toml b/crates/swc_ecma_ast/Cargo.toml index 1adda51f4091..11c65b3bc664 100644 --- a/crates/swc_ecma_ast/Cargo.toml +++ b/crates/swc_ecma_ast/Cargo.toml @@ -18,14 +18,14 @@ fuzzing = ["arbitrary", "swc_common/arbitrary"] rkyv-impl = ["rkyv", "swc_common/rkyv-impl"] [dependencies] -arbitrary = {version = "1", optional = true, features = ["derive"]} +arbitrary = { version = "1", optional = true, features = ["derive"] } is-macro = "0.2.0" -num-bigint = {version = "0.4", features = ["serde"]} -rkyv = {version = "0.7.28", optional = true} -serde = {version = "1.0.133", features = ["derive"]} -string_enum = {version = "0.3.1", path = "../string_enum"} -swc_atoms = {version = "0.2", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common"} +num-bigint = { version = "0.4", features = ["serde"] } +rkyv = { version = "0.7.28", optional = true } +serde = { version = "1.0.133", features = ["derive"] } +string_enum = { version = "0.3.1", path = "../string_enum" } +swc_atoms = { version = "0.2", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common" } unicode-id = "0.3" [dev-dependencies] diff --git a/crates/swc_ecma_codegen/Cargo.toml b/crates/swc_ecma_codegen/Cargo.toml index 14cdef240fa5..7f30b74be5ce 100644 --- a/crates/swc_ecma_codegen/Cargo.toml +++ b/crates/swc_ecma_codegen/Cargo.toml @@ -12,17 +12,19 @@ version = "0.96.0" [dependencies] bitflags = "1" memchr = "2.4.1" -num-bigint = {version = "0.4", features = ["serde"]} +num-bigint = { version = "0.4", features = ["serde"] } once_cell = "1.10.0" sourcemap = "6" -swc_atoms = {version = "0.2", path = "../swc_atoms"} -swc_common = {version = "0.17.3", path = "../swc_common"} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_codegen_macros = {version = "0.6.0", path = "../swc_ecma_codegen_macros"} +swc_atoms = { version = "0.2", path = "../swc_atoms" } +swc_common = { version = "0.17.3", path = "../swc_common" } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_codegen_macros = { version = "0.6.0", path = "../swc_ecma_codegen_macros" } tracing = "0.1.32" [dev-dependencies] -swc_common = {version = "0.17.3", path = "../swc_common", features = ["sourcemap"]} -swc_ecma_parser = {version = "0.94.0", path = "../swc_ecma_parser"} -swc_node_base = {version = "0.5.0", path = "../swc_node_base"} -testing = {version = "0.19.0", path = "../testing"} +swc_common = { version = "0.17.3", path = "../swc_common", features = [ + "sourcemap", +] } +swc_ecma_parser = { version = "0.94.0", path = "../swc_ecma_parser" } +swc_node_base = { version = "0.5.0", path = "../swc_node_base" } +testing = { version = "0.19.0", path = "../testing" } diff --git a/crates/swc_ecma_codegen_macros/Cargo.toml b/crates/swc_ecma_codegen_macros/Cargo.toml index 86027b8dbc84..4cf5b27c4555 100644 --- a/crates/swc_ecma_codegen_macros/Cargo.toml +++ b/crates/swc_ecma_codegen_macros/Cargo.toml @@ -14,7 +14,7 @@ proc-macro = true [dependencies] pmutil = "0.5.1" proc-macro2 = "1" -swc_macros_common = {version = "0.3.2", path = "../swc_macros_common"} +swc_macros_common = { version = "0.3.2", path = "../swc_macros_common" } [dependencies.syn] features = ["fold"] diff --git a/crates/swc_ecma_dep_graph/Cargo.toml b/crates/swc_ecma_dep_graph/Cargo.toml index eb24aaf0cb8f..cf8a3e8e88cf 100644 --- a/crates/swc_ecma_dep_graph/Cargo.toml +++ b/crates/swc_ecma_dep_graph/Cargo.toml @@ -9,12 +9,12 @@ repository = "https://github.com/swc-project/swc.git" version = "0.66.0" [dependencies] -swc_atoms = {version = "0.2", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common"} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_visit = {version = "0.56.0", path = "../swc_ecma_visit"} +swc_atoms = { version = "0.2", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common" } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_visit = { version = "0.56.0", path = "../swc_ecma_visit" } [dev-dependencies] pretty_assertions = "1.1" -swc_ecma_parser = {version = "0.94.0", path = "../swc_ecma_parser"} -testing = {version = "0.19.0", path = "../testing"} +swc_ecma_parser = { version = "0.94.0", path = "../swc_ecma_parser" } +testing = { version = "0.19.0", path = "../testing" } diff --git a/crates/swc_ecma_ext_transforms/Cargo.toml b/crates/swc_ecma_ext_transforms/Cargo.toml index 3760050a61e0..ee890c365ae7 100644 --- a/crates/swc_ecma_ext_transforms/Cargo.toml +++ b/crates/swc_ecma_ext_transforms/Cargo.toml @@ -10,9 +10,9 @@ version = "0.59.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -phf = {version = "0.10", features = ["macros"]} -swc_atoms = {version = "0.2", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common"} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_utils = {version = "0.73.0", path = "../swc_ecma_utils"} -swc_ecma_visit = {version = "0.56.0", path = "../swc_ecma_visit"} +phf = { version = "0.10", features = ["macros"] } +swc_atoms = { version = "0.2", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common" } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_utils = { version = "0.73.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "0.56.0", path = "../swc_ecma_visit" } diff --git a/crates/swc_ecma_lints/Cargo.toml b/crates/swc_ecma_lints/Cargo.toml index 068154805f49..6a97544f282f 100644 --- a/crates/swc_ecma_lints/Cargo.toml +++ b/crates/swc_ecma_lints/Cargo.toml @@ -15,18 +15,20 @@ dashmap = "5.1.0" parking_lot = "0.12.0" rayon = "1.5.1" regex = "1" -serde = {version = "1.0.133", features = ["derive"]} -swc_atoms = {version = "0.2.9", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common", features = ["concurrent"]} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_utils = {version = "0.73.0", path = "../swc_ecma_utils"} -swc_ecma_visit = {version = "0.56.0", path = "../swc_ecma_visit"} +serde = { version = "1.0.133", features = ["derive"] } +swc_atoms = { version = "0.2.9", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common", features = [ + "concurrent", +] } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_utils = { version = "0.73.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "0.56.0", path = "../swc_ecma_visit" } [dev-dependencies] -swc_ecma_codegen = {version = "0.96.0", path = "../swc_ecma_codegen"} -swc_ecma_parser = {version = "0.94.0", path = "../swc_ecma_parser"} -swc_ecma_transforms_base = {version = "0.68.0", path = "../swc_ecma_transforms_base"} -testing = {version = "0.19.0", path = "../testing"} +swc_ecma_codegen = { version = "0.96.0", path = "../swc_ecma_codegen" } +swc_ecma_parser = { version = "0.94.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_base = { version = "0.68.0", path = "../swc_ecma_transforms_base" } +testing = { version = "0.19.0", path = "../testing" } [features] non_critical_lints = [] diff --git a/crates/swc_ecma_loader/Cargo.toml b/crates/swc_ecma_loader/Cargo.toml index 6692c303bcda..1addcaab3410 100644 --- a/crates/swc_ecma_loader/Cargo.toml +++ b/crates/swc_ecma_loader/Cargo.toml @@ -24,18 +24,18 @@ tsc = ["dashmap", "once_cell", "swc_cached"] [dependencies] ahash = "0.7.4" anyhow = "1.0.41" -dashmap = {version = "5.1.0", optional = true} -lru = {version = "0.7.1", optional = true} -once_cell = {version = "1.9.0", optional = true} -parking_lot = {version = "0.12.0", optional = true} -path-clean = {version = "=0.1.0", optional = true} -serde = {version = "1", features = ["derive"]} -serde_json = {version = "1.0.64", optional = true} -swc_cached = {version = "0.1.0", optional = true, path = "../swc_cached"} -swc_common = {version = "0.17.0", path = "../swc_common"} +dashmap = { version = "5.1.0", optional = true } +lru = { version = "0.7.1", optional = true } +once_cell = { version = "1.9.0", optional = true } +parking_lot = { version = "0.12.0", optional = true } +path-clean = { version = "=0.1.0", optional = true } +serde = { version = "1", features = ["derive"] } +serde_json = { version = "1.0.64", optional = true } +swc_cached = { version = "0.1.0", optional = true, path = "../swc_cached" } +swc_common = { version = "0.17.0", path = "../swc_common" } tracing = "0.1.32" [dev-dependencies] [target.'cfg(windows)'.dependencies] -normpath = {version = "0.2", optional = true} +normpath = { version = "0.2", optional = true } diff --git a/crates/swc_ecma_minifier/Cargo.toml b/crates/swc_ecma_minifier/Cargo.toml index 4e3f6e2e32b3..86b122337d30 100644 --- a/crates/swc_ecma_minifier/Cargo.toml +++ b/crates/swc_ecma_minifier/Cargo.toml @@ -18,28 +18,30 @@ debug = ["backtrace"] [dependencies] ahash = "0.7.6" -backtrace = {version = "0.3.61", optional = true} +backtrace = { version = "0.3.61", optional = true } indexmap = "1.7.0" once_cell = "1.10.0" parking_lot = "0.12.0" -pretty_assertions = {version = "1.1", optional = true} +pretty_assertions = { version = "1.1", optional = true } rayon = "1.5.1" regex = "1.5.3" retain_mut = "0.1.2" rustc-hash = "1.1.0" -serde = {version = "1.0.118", features = ["derive"]} +serde = { version = "1.0.118", features = ["derive"] } serde_json = "1.0.61" -swc_atoms = {version = "0.2", path = "../swc_atoms"} -swc_cached = {version = "0.1.0", path = "../swc_cached"} -swc_common = {version = "0.17.0", path = "../swc_common"} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_codegen = {version = "0.96.0", path = "../swc_ecma_codegen"} -swc_ecma_parser = {version = "0.94.0", path = "../swc_ecma_parser"} -swc_ecma_transforms = {version = "0.133.0", path = "../swc_ecma_transforms/", features = ["optimization"]} -swc_ecma_transforms_base = {version = "0.68.0", path = "../swc_ecma_transforms_base"} -swc_ecma_utils = {version = "0.73.0", path = "../swc_ecma_utils"} -swc_ecma_visit = {version = "0.56.0", path = "../swc_ecma_visit"} -swc_timer = {version = "0.5.0", path = "../swc_timer"} +swc_atoms = { version = "0.2", path = "../swc_atoms" } +swc_cached = { version = "0.1.0", path = "../swc_cached" } +swc_common = { version = "0.17.0", path = "../swc_common" } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_codegen = { version = "0.96.0", path = "../swc_ecma_codegen" } +swc_ecma_parser = { version = "0.94.0", path = "../swc_ecma_parser" } +swc_ecma_transforms = { version = "0.133.0", path = "../swc_ecma_transforms/", features = [ + "optimization", +] } +swc_ecma_transforms_base = { version = "0.68.0", path = "../swc_ecma_transforms_base" } +swc_ecma_utils = { version = "0.73.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "0.56.0", path = "../swc_ecma_visit" } +swc_timer = { version = "0.5.0", path = "../swc_timer" } tracing = "0.1.32" unicode-id = "0.3.0" @@ -48,8 +50,8 @@ ansi_term = "0.12.1" anyhow = "1" criterion = "0.3.5" pretty_assertions = "1.1" -swc_node_base = {version = "0.5.0", path = "../swc_node_base"} -testing = {version = "0.19.0", path = "../testing"} +swc_node_base = { version = "0.5.0", path = "../swc_node_base" } +testing = { version = "0.19.0", path = "../testing" } [[bench]] harness = false diff --git a/crates/swc_ecma_parser/Cargo.toml b/crates/swc_ecma_parser/Cargo.toml index 8f45f1d07b22..c5e53bdd2f98 100644 --- a/crates/swc_ecma_parser/Cargo.toml +++ b/crates/swc_ecma_parser/Cargo.toml @@ -21,16 +21,16 @@ typescript = [] verify = ["swc_ecma_visit"] [dependencies] -either = {version = "1.4"} -enum_kind = {version = "0.2.1", path = "../enum_kind"} -lexical = {version = "6.1.0", features = ["power-of-two"]} +either = { version = "1.4" } +enum_kind = { version = "0.2.1", path = "../enum_kind" } +lexical = { version = "6.1.0", features = ["power-of-two"] } num-bigint = "0.4" -serde = {version = "1", features = ["derive"]} +serde = { version = "1", features = ["derive"] } smallvec = "1.8.0" -swc_atoms = {version = "0.2.3", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common"} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_visit = {version = "0.56.0", path = "../swc_ecma_visit", optional = true} +swc_atoms = { version = "0.2.3", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common" } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_visit = { version = "0.56.0", path = "../swc_ecma_visit", optional = true } tracing = "0.1.32" typed-arena = "2.0.1" unicode-id = "0.3" @@ -38,9 +38,9 @@ unicode-id = "0.3" [dev-dependencies] pretty_assertions = "1.1" serde_json = "1" -swc_ecma_visit = {version = "0.56.0", path = "../swc_ecma_visit"} -swc_node_base = {version = "0.5.0", path = "../swc_node_base"} -testing = {version = "0.19.0", path = "../testing"} +swc_ecma_visit = { version = "0.56.0", path = "../swc_ecma_visit" } +swc_node_base = { version = "0.5.0", path = "../swc_node_base" } +testing = { version = "0.19.0", path = "../testing" } walkdir = "2" [[example]] diff --git a/crates/swc_ecma_preset_env/Cargo.toml b/crates/swc_ecma_preset_env/Cargo.toml index 8f2983f7a6b2..e9baa4b6f5b2 100644 --- a/crates/swc_ecma_preset_env/Cargo.toml +++ b/crates/swc_ecma_preset_env/Cargo.toml @@ -16,21 +16,24 @@ anyhow = "1" dashmap = "5.1.0" indexmap = "1.6.2" once_cell = "1.10.0" -preset_env_base = {version = "0.2.0", path = "../preset_env_base"} -semver = {version = "1.0.4", features = ["serde"]} -serde = {version = "1", features = ["derive"]} +preset_env_base = { version = "0.2.0", path = "../preset_env_base" } +semver = { version = "1.0.4", features = ["serde"] } +serde = { version = "1", features = ["derive"] } serde_json = "1" st-map = "0.1.2" -string_enum = {version = "0.3.1", path = "../string_enum"} -swc_atoms = {version = "0.2", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common"} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_transforms = {version = "0.133.0", path = "../swc_ecma_transforms", features = ["compat", "proposal"]} -swc_ecma_utils = {version = "0.73.0", path = "../swc_ecma_utils"} -swc_ecma_visit = {version = "0.56.0", path = "../swc_ecma_visit"} +string_enum = { version = "0.3.1", path = "../string_enum" } +swc_atoms = { version = "0.2", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common" } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_transforms = { version = "0.133.0", path = "../swc_ecma_transforms", features = [ + "compat", + "proposal", +] } +swc_ecma_utils = { version = "0.73.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "0.56.0", path = "../swc_ecma_visit" } [dev-dependencies] pretty_assertions = "1.1" -swc_ecma_codegen = {version = "0.96.0", path = "../swc_ecma_codegen"} -swc_ecma_parser = {version = "0.94.0", path = "../swc_ecma_parser"} -testing = {version = "0.19.0", path = "../testing"} +swc_ecma_codegen = { version = "0.96.0", path = "../swc_ecma_codegen" } +swc_ecma_parser = { version = "0.94.0", path = "../swc_ecma_parser" } +testing = { version = "0.19.0", path = "../testing" } diff --git a/crates/swc_ecma_quote/Cargo.toml b/crates/swc_ecma_quote/Cargo.toml index a683b6f1d4e3..870229a60741 100644 --- a/crates/swc_ecma_quote/Cargo.toml +++ b/crates/swc_ecma_quote/Cargo.toml @@ -11,11 +11,11 @@ version = "0.5.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -swc_atoms = {version = "0.2.9", path = "../swc_atoms"} -swc_common = {version = "0.17.9", path = "../swc_common"} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_quote_macros = {version = "0.4.0", path = "../swc_ecma_quote_macros"} -swc_ecma_utils = {version = "0.73.0", path = "../swc_ecma_utils"} +swc_atoms = { version = "0.2.9", path = "../swc_atoms" } +swc_common = { version = "0.17.9", path = "../swc_common" } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_quote_macros = { version = "0.4.0", path = "../swc_ecma_quote_macros" } +swc_ecma_utils = { version = "0.73.0", path = "../swc_ecma_utils" } [dev-dependencies] -testing = {version = "0.19.0", path = "../testing"} +testing = { version = "0.19.0", path = "../testing" } diff --git a/crates/swc_ecma_quote_macros/Cargo.toml b/crates/swc_ecma_quote_macros/Cargo.toml index 8298c466f32d..4dd6e05bddc4 100644 --- a/crates/swc_ecma_quote_macros/Cargo.toml +++ b/crates/swc_ecma_quote_macros/Cargo.toml @@ -18,9 +18,9 @@ anyhow = "1" pmutil = "0.5.1" proc-macro2 = "1" quote = "1" -swc_atoms = {version = "0.2.9", path = "../swc_atoms"} -swc_common = {version = "0.17.9", path = "../swc_common"} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_parser = {version = "0.94.0", path = "../swc_ecma_parser"} -swc_macros_common = {version = "0.3.3", path = "../swc_macros_common"} +swc_atoms = { version = "0.2.9", path = "../swc_atoms" } +swc_common = { version = "0.17.9", path = "../swc_common" } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_parser = { version = "0.94.0", path = "../swc_ecma_parser" } +swc_macros_common = { version = "0.3.3", path = "../swc_macros_common" } syn = "1" diff --git a/crates/swc_ecma_transforms/Cargo.toml b/crates/swc_ecma_transforms/Cargo.toml index e84c7d591758..96212d46e4c9 100644 --- a/crates/swc_ecma_transforms/Cargo.toml +++ b/crates/swc_ecma_transforms/Cargo.toml @@ -23,24 +23,24 @@ react = ["swc_ecma_transforms_react"] typescript = ["swc_ecma_transforms_typescript"] [dependencies] -swc_atoms = {version = "0.2.0", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common"} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_transforms_base = {version = "0.68.0", path = "../swc_ecma_transforms_base"} -swc_ecma_transforms_compat = {version = "0.81.0", path = "../swc_ecma_transforms_compat", optional = true} -swc_ecma_transforms_module = {version = "0.93.0", path = "../swc_ecma_transforms_module", optional = true} -swc_ecma_transforms_optimization = {version = "0.103.0", path = "../swc_ecma_transforms_optimization", optional = true} -swc_ecma_transforms_proposal = {version = "0.89.0", path = "../swc_ecma_transforms_proposal", optional = true} -swc_ecma_transforms_react = {version = "0.95.0", path = "../swc_ecma_transforms_react", optional = true} -swc_ecma_transforms_typescript = {version = "0.98.0", path = "../swc_ecma_transforms_typescript", optional = true} -swc_ecma_utils = {version = "0.73.0", path = "../swc_ecma_utils"} -swc_ecma_visit = {version = "0.56.0", path = "../swc_ecma_visit"} +swc_atoms = { version = "0.2.0", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common" } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_transforms_base = { version = "0.68.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_compat = { version = "0.81.0", path = "../swc_ecma_transforms_compat", optional = true } +swc_ecma_transforms_module = { version = "0.93.0", path = "../swc_ecma_transforms_module", optional = true } +swc_ecma_transforms_optimization = { version = "0.103.0", path = "../swc_ecma_transforms_optimization", optional = true } +swc_ecma_transforms_proposal = { version = "0.89.0", path = "../swc_ecma_transforms_proposal", optional = true } +swc_ecma_transforms_react = { version = "0.95.0", path = "../swc_ecma_transforms_react", optional = true } +swc_ecma_transforms_typescript = { version = "0.98.0", path = "../swc_ecma_transforms_typescript", optional = true } +swc_ecma_utils = { version = "0.73.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "0.56.0", path = "../swc_ecma_visit" } [dev-dependencies] pretty_assertions = "1.1" sourcemap = "6" -swc_ecma_codegen = {version = "0.96.0", path = "../swc_ecma_codegen"} -swc_ecma_parser = {version = "0.94.0", path = "../swc_ecma_parser"} -swc_ecma_transforms_testing = {version = "0.70.0", path = "../swc_ecma_transforms_testing"} +swc_ecma_codegen = { version = "0.96.0", path = "../swc_ecma_codegen" } +swc_ecma_parser = { version = "0.94.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_testing = { version = "0.70.0", path = "../swc_ecma_transforms_testing" } tempfile = "3" -testing = {version = "0.19.0", path = "../testing"} +testing = { version = "0.19.0", path = "../testing" } diff --git a/crates/swc_ecma_transforms_base/Cargo.toml b/crates/swc_ecma_transforms_base/Cargo.toml index f42dd0321b73..3e48ea1a419d 100644 --- a/crates/swc_ecma_transforms_base/Cargo.toml +++ b/crates/swc_ecma_transforms_base/Cargo.toml @@ -9,27 +9,24 @@ repository = "https://github.com/swc-project/swc.git" version = "0.68.3" [features] -concurrent = [ - "rayon", - "swc_ecma_utils/concurrent", -] +concurrent = ["rayon", "swc_ecma_utils/concurrent"] [dependencies] -better_scoped_tls = {version = "0.1.0", path = "../better_scoped_tls"} +better_scoped_tls = { version = "0.1.0", path = "../better_scoped_tls" } once_cell = "1.10.0" -phf = {version = "0.10", features = ["macros"]} -rayon = {version = "1", optional = true} -serde = {version = "1", features = ["derive"]} +phf = { version = "0.10", features = ["macros"] } +rayon = { version = "1", optional = true } +serde = { version = "1", features = ["derive"] } smallvec = "1.8.0" -swc_atoms = {version = "0.2", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common"} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_parser = {version = "0.94.0", path = "../swc_ecma_parser"} -swc_ecma_utils = {version = "0.73.0", path = "../swc_ecma_utils"} -swc_ecma_visit = {version = "0.56.0", path = "../swc_ecma_visit"} +swc_atoms = { version = "0.2", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common" } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_parser = { version = "0.94.0", path = "../swc_ecma_parser" } +swc_ecma_utils = { version = "0.73.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "0.56.0", path = "../swc_ecma_visit" } tracing = "0.1.32" [dev-dependencies] -swc_ecma_codegen = {version = "0.96.0", path = "../swc_ecma_codegen"} -swc_ecma_transforms_macros = {version = "0.3.0", path = "../swc_ecma_transforms_macros"} -testing = {version = "0.19.0", path = "../testing"} +swc_ecma_codegen = { version = "0.96.0", path = "../swc_ecma_codegen" } +swc_ecma_transforms_macros = { version = "0.3.0", path = "../swc_ecma_transforms_macros" } +testing = { version = "0.19.0", path = "../testing" } diff --git a/crates/swc_ecma_transforms_classes/Cargo.toml b/crates/swc_ecma_transforms_classes/Cargo.toml index e01e2fedbda1..1ad25ac5eba3 100644 --- a/crates/swc_ecma_transforms_classes/Cargo.toml +++ b/crates/swc_ecma_transforms_classes/Cargo.toml @@ -9,9 +9,9 @@ repository = "https://github.com/swc-project/swc.git" version = "0.56.0" [dependencies] -swc_atoms = {version = "0.2.6", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common"} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_transforms_base = {version = "0.68.0", path = "../swc_ecma_transforms_base"} -swc_ecma_utils = {version = "0.73.0", path = "../swc_ecma_utils"} -swc_ecma_visit = {version = "0.56.0", path = "../swc_ecma_visit"} +swc_atoms = { version = "0.2.6", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common" } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_transforms_base = { version = "0.68.0", path = "../swc_ecma_transforms_base" } +swc_ecma_utils = { version = "0.73.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "0.56.0", path = "../swc_ecma_visit" } diff --git a/crates/swc_ecma_transforms_compat/Cargo.toml b/crates/swc_ecma_transforms_compat/Cargo.toml index e0ae155ee9ab..779b5cc285b8 100644 --- a/crates/swc_ecma_transforms_compat/Cargo.toml +++ b/crates/swc_ecma_transforms_compat/Cargo.toml @@ -24,22 +24,22 @@ indexmap = "1.6.1" is-macro = "0.2.0" num-bigint = "0.4" ordered-float = "2.0.1" -rayon = {version = "1.5.1", optional = true} -serde = {version = "1.0.118", features = ["derive"]} +rayon = { version = "1.5.1", optional = true } +serde = { version = "1.0.118", features = ["derive"] } smallvec = "1.8.0" -swc_atoms = {version = "0.2.5", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common"} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_transforms_base = {version = "0.68.0", path = "../swc_ecma_transforms_base"} -swc_ecma_transforms_classes = {version = "0.56.0", path = "../swc_ecma_transforms_classes"} -swc_ecma_transforms_macros = {version = "0.3.0", path = "../swc_ecma_transforms_macros"} -swc_ecma_utils = {version = "0.73.0", path = "../swc_ecma_utils"} -swc_ecma_visit = {version = "0.56.0", path = "../swc_ecma_visit"} -swc_trace_macro = {version = "0.1.0", path = "../swc_trace_macro"} +swc_atoms = { version = "0.2.5", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common" } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_transforms_base = { version = "0.68.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_classes = { version = "0.56.0", path = "../swc_ecma_transforms_classes" } +swc_ecma_transforms_macros = { version = "0.3.0", path = "../swc_ecma_transforms_macros" } +swc_ecma_utils = { version = "0.73.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "0.56.0", path = "../swc_ecma_visit" } +swc_trace_macro = { version = "0.1.0", path = "../swc_trace_macro" } tracing = "0.1.32" [dev-dependencies] serde_json = "1.0.66" -swc_ecma_parser = {version = "0.94.0", path = "../swc_ecma_parser"} -swc_ecma_transforms_testing = {version = "0.70.0", path = "../swc_ecma_transforms_testing"} -testing = {version = "0.19.0", path = "../testing"} +swc_ecma_parser = { version = "0.94.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_testing = { version = "0.70.0", path = "../swc_ecma_transforms_testing" } +testing = { version = "0.19.0", path = "../testing" } diff --git a/crates/swc_ecma_transforms_macros/Cargo.toml b/crates/swc_ecma_transforms_macros/Cargo.toml index 11f370d30227..57540498961f 100644 --- a/crates/swc_ecma_transforms_macros/Cargo.toml +++ b/crates/swc_ecma_transforms_macros/Cargo.toml @@ -15,5 +15,5 @@ proc-macro = true pmutil = "0.5.1" proc-macro2 = "1" quote = "1" -swc_macros_common = {version = "0.3.2", path = "../swc_macros_common"} -syn = {version = "1", features = ["fold", "parsing", "full"]} +swc_macros_common = { version = "0.3.2", path = "../swc_macros_common" } +syn = { version = "1", features = ["fold", "parsing", "full"] } diff --git a/crates/swc_ecma_transforms_module/Cargo.toml b/crates/swc_ecma_transforms_module/Cargo.toml index 782d11075041..94384b62ec21 100644 --- a/crates/swc_ecma_transforms_module/Cargo.toml +++ b/crates/swc_ecma_transforms_module/Cargo.toml @@ -16,19 +16,21 @@ ahash = "0.7.4" anyhow = "1.0.41" indexmap = "1.8.0" pathdiff = "0.2.0" -serde = {version = "1.0.118", features = ["derive"]} -swc_atoms = {version = "0.2", path = "../swc_atoms"} -swc_cached = {version = "0.1.0", path = "../swc_cached"} -swc_common = {version = "0.17.0", path = "../swc_common"} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_loader = {version = "0.29.0", path = "../swc_ecma_loader", features = ["node"]} -swc_ecma_parser = {version = "0.94.0", path = "../swc_ecma_parser"} -swc_ecma_transforms_base = {version = "0.68.0", path = "../swc_ecma_transforms_base"} -swc_ecma_utils = {version = "0.73.0", path = "../swc_ecma_utils"} -swc_ecma_visit = {version = "0.56.0", path = "../swc_ecma_visit"} +serde = { version = "1.0.118", features = ["derive"] } +swc_atoms = { version = "0.2", path = "../swc_atoms" } +swc_cached = { version = "0.1.0", path = "../swc_cached" } +swc_common = { version = "0.17.0", path = "../swc_common" } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_loader = { version = "0.29.0", path = "../swc_ecma_loader", features = [ + "node", +] } +swc_ecma_parser = { version = "0.94.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_base = { version = "0.68.0", path = "../swc_ecma_transforms_base" } +swc_ecma_utils = { version = "0.73.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "0.56.0", path = "../swc_ecma_visit" } tracing = "0.1.32" [dev-dependencies] -swc_ecma_transforms_compat = {version = "0.81.0", path = "../swc_ecma_transforms_compat"} -swc_ecma_transforms_testing = {version = "0.70.0", path = "../swc_ecma_transforms_testing"} -testing = {version = "0.19.0", path = "../testing/"} +swc_ecma_transforms_compat = { version = "0.81.0", path = "../swc_ecma_transforms_compat" } +swc_ecma_transforms_testing = { version = "0.70.0", path = "../swc_ecma_transforms_testing" } +testing = { version = "0.19.0", path = "../testing/" } diff --git a/crates/swc_ecma_transforms_optimization/Cargo.toml b/crates/swc_ecma_transforms_optimization/Cargo.toml index 6dcfb767f0e5..25a8bf4d558e 100644 --- a/crates/swc_ecma_transforms_optimization/Cargo.toml +++ b/crates/swc_ecma_transforms_optimization/Cargo.toml @@ -24,23 +24,23 @@ ahash = "0.7.4" dashmap = "5.1.0" indexmap = "1.6.1" once_cell = "1.10.0" -rayon = {version = "1.5.1", optional = true} +rayon = { version = "1.5.1", optional = true } serde_json = "1.0.61" -swc_atoms = {version = "0.2", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common"} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_parser = {version = "0.94.0", path = "../swc_ecma_parser"} -swc_ecma_transforms_base = {version = "0.68.0", path = "../swc_ecma_transforms_base"} -swc_ecma_transforms_macros = {version = "0.3.0", path = "../swc_ecma_transforms_macros"} -swc_ecma_utils = {version = "0.73.0", path = "../swc_ecma_utils"} -swc_ecma_visit = {version = "0.56.0", path = "../swc_ecma_visit"} +swc_atoms = { version = "0.2", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common" } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_parser = { version = "0.94.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_base = { version = "0.68.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_macros = { version = "0.3.0", path = "../swc_ecma_transforms_macros" } +swc_ecma_utils = { version = "0.73.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "0.56.0", path = "../swc_ecma_visit" } tracing = "0.1.32" [dev-dependencies] -swc_ecma_transforms_compat = {version = "0.81.0", path = "../swc_ecma_transforms_compat"} -swc_ecma_transforms_module = {version = "0.93.0", path = "../swc_ecma_transforms_module"} -swc_ecma_transforms_proposal = {version = "0.89.0", path = "../swc_ecma_transforms_proposal"} -swc_ecma_transforms_react = {version = "0.95.0", path = "../swc_ecma_transforms_react"} -swc_ecma_transforms_testing = {version = "0.70.0", path = "../swc_ecma_transforms_testing"} -swc_ecma_transforms_typescript = {version = "0.98.0", path = "../swc_ecma_transforms_typescript"} -testing = {version = "0.19.0", path = "../testing"} +swc_ecma_transforms_compat = { version = "0.81.0", path = "../swc_ecma_transforms_compat" } +swc_ecma_transforms_module = { version = "0.93.0", path = "../swc_ecma_transforms_module" } +swc_ecma_transforms_proposal = { version = "0.89.0", path = "../swc_ecma_transforms_proposal" } +swc_ecma_transforms_react = { version = "0.95.0", path = "../swc_ecma_transforms_react" } +swc_ecma_transforms_testing = { version = "0.70.0", path = "../swc_ecma_transforms_testing" } +swc_ecma_transforms_typescript = { version = "0.98.0", path = "../swc_ecma_transforms_typescript" } +testing = { version = "0.19.0", path = "../testing" } diff --git a/crates/swc_ecma_transforms_proposal/Cargo.toml b/crates/swc_ecma_transforms_proposal/Cargo.toml index 9a75bd166014..94092c60bbc5 100644 --- a/crates/swc_ecma_transforms_proposal/Cargo.toml +++ b/crates/swc_ecma_transforms_proposal/Cargo.toml @@ -17,21 +17,21 @@ multi-module = ["swc_ecma_loader"] [dependencies] either = "1.6.1" -serde = {version = "1.0.118", features = ["derive"]} +serde = { version = "1.0.118", features = ["derive"] } smallvec = "1.8.0" -swc_atoms = {version = "0.2", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common"} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_loader = {version = "0.29.0", path = "../swc_ecma_loader", optional = true} -swc_ecma_transforms_base = {version = "0.68.0", path = "../swc_ecma_transforms_base"} -swc_ecma_transforms_classes = {version = "0.56.0", path = "../swc_ecma_transforms_classes"} -swc_ecma_transforms_macros = {version = "0.3.0", path = "../swc_ecma_transforms_macros"} -swc_ecma_utils = {version = "0.73.0", path = "../swc_ecma_utils"} -swc_ecma_visit = {version = "0.56.0", path = "../swc_ecma_visit"} +swc_atoms = { version = "0.2", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common" } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_loader = { version = "0.29.0", path = "../swc_ecma_loader", optional = true } +swc_ecma_transforms_base = { version = "0.68.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_classes = { version = "0.56.0", path = "../swc_ecma_transforms_classes" } +swc_ecma_transforms_macros = { version = "0.3.0", path = "../swc_ecma_transforms_macros" } +swc_ecma_utils = { version = "0.73.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "0.56.0", path = "../swc_ecma_visit" } [dev-dependencies] serde_json = "1.0.66" -swc_ecma_parser = {version = "0.94.0", path = "../swc_ecma_parser"} -swc_ecma_transforms_compat = {version = "0.81.0", path = "../swc_ecma_transforms_compat"} -swc_ecma_transforms_testing = {version = "0.70.0", path = "../swc_ecma_transforms_testing"} -testing = {version = "0.19.0", path = "../testing"} +swc_ecma_parser = { version = "0.94.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_compat = { version = "0.81.0", path = "../swc_ecma_transforms_compat" } +swc_ecma_transforms_testing = { version = "0.70.0", path = "../swc_ecma_transforms_testing" } +testing = { version = "0.19.0", path = "../testing" } diff --git a/crates/swc_ecma_transforms_react/Cargo.toml b/crates/swc_ecma_transforms_react/Cargo.toml index 497b65fd6835..0bbf66583897 100644 --- a/crates/swc_ecma_transforms_react/Cargo.toml +++ b/crates/swc_ecma_transforms_react/Cargo.toml @@ -17,21 +17,21 @@ dashmap = "5.1.0" indexmap = "1.6.1" once_cell = "1.10.0" regex = "1.4.2" -serde = {version = "1.0.118", features = ["derive"]} +serde = { version = "1.0.118", features = ["derive"] } sha-1 = "0.10.0" -string_enum = {version = "0.3.1", path = "../string_enum"} -swc_atoms = {version = "0.2", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common"} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_parser = {version = "0.94.0", path = "../swc_ecma_parser"} -swc_ecma_transforms_base = {version = "0.68.0", path = "../swc_ecma_transforms_base"} -swc_ecma_transforms_macros = {version = "0.3.0", path = "../swc_ecma_transforms_macros"} -swc_ecma_utils = {version = "0.73.0", path = "../swc_ecma_utils"} -swc_ecma_visit = {version = "0.56.0", path = "../swc_ecma_visit"} +string_enum = { version = "0.3.1", path = "../string_enum" } +swc_atoms = { version = "0.2", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common" } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_parser = { version = "0.94.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_base = { version = "0.68.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_macros = { version = "0.3.0", path = "../swc_ecma_transforms_macros" } +swc_ecma_utils = { version = "0.73.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "0.56.0", path = "../swc_ecma_visit" } [dev-dependencies] -swc_ecma_codegen = {version = "0.96.0", path = "../swc_ecma_codegen/"} -swc_ecma_transforms_compat = {version = "0.81.0", path = "../swc_ecma_transforms_compat/"} -swc_ecma_transforms_module = {version = "0.93.0", path = "../swc_ecma_transforms_module"} -swc_ecma_transforms_testing = {version = "0.70.0", path = "../swc_ecma_transforms_testing"} -testing = {version = "0.19.0", path = "../testing"} +swc_ecma_codegen = { version = "0.96.0", path = "../swc_ecma_codegen/" } +swc_ecma_transforms_compat = { version = "0.81.0", path = "../swc_ecma_transforms_compat/" } +swc_ecma_transforms_module = { version = "0.93.0", path = "../swc_ecma_transforms_module" } +swc_ecma_transforms_testing = { version = "0.70.0", path = "../swc_ecma_transforms_testing" } +testing = { version = "0.19.0", path = "../testing" } diff --git a/crates/swc_ecma_transforms_testing/Cargo.toml b/crates/swc_ecma_transforms_testing/Cargo.toml index ebe81057f421..d7ca2b1b18c3 100644 --- a/crates/swc_ecma_transforms_testing/Cargo.toml +++ b/crates/swc_ecma_transforms_testing/Cargo.toml @@ -17,12 +17,12 @@ hex = "0.4.3" serde = "1" serde_json = "1" sha-1 = "0.10" -swc_common = {version = "0.17.0", path = "../swc_common"} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_codegen = {version = "0.96.0", path = "../swc_ecma_codegen"} -swc_ecma_parser = {version = "0.94.0", path = "../swc_ecma_parser"} -swc_ecma_transforms_base = {version = "0.68.0", path = "../swc_ecma_transforms_base"} -swc_ecma_utils = {version = "0.73.0", path = "../swc_ecma_utils"} -swc_ecma_visit = {version = "0.56.0", path = "../swc_ecma_visit"} +swc_common = { version = "0.17.0", path = "../swc_common" } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_codegen = { version = "0.96.0", path = "../swc_ecma_codegen" } +swc_ecma_parser = { version = "0.94.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_base = { version = "0.68.0", path = "../swc_ecma_transforms_base" } +swc_ecma_utils = { version = "0.73.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "0.56.0", path = "../swc_ecma_visit" } tempfile = "3.1.0" -testing = {version = "0.19.0", path = "../testing"} +testing = { version = "0.19.0", path = "../testing" } diff --git a/crates/swc_ecma_transforms_typescript/Cargo.toml b/crates/swc_ecma_transforms_typescript/Cargo.toml index 39a0ae618823..1611878293e5 100644 --- a/crates/swc_ecma_transforms_typescript/Cargo.toml +++ b/crates/swc_ecma_transforms_typescript/Cargo.toml @@ -11,19 +11,19 @@ version = "0.98.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -serde = {version = "1.0.118", features = ["derive"]} -swc_atoms = {version = "0.2", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common"} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_transforms_base = {version = "0.68.0", path = "../swc_ecma_transforms_base"} -swc_ecma_transforms_react = {version = "0.95.0", path = "../swc_ecma_transforms_react"} -swc_ecma_utils = {version = "0.73.0", path = "../swc_ecma_utils"} -swc_ecma_visit = {version = "0.56.0", path = "../swc_ecma_visit"} +serde = { version = "1.0.118", features = ["derive"] } +swc_atoms = { version = "0.2", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common" } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_transforms_base = { version = "0.68.0", path = "../swc_ecma_transforms_base" } +swc_ecma_transforms_react = { version = "0.95.0", path = "../swc_ecma_transforms_react" } +swc_ecma_utils = { version = "0.73.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "0.56.0", path = "../swc_ecma_visit" } [dev-dependencies] -swc_ecma_codegen = {version = "0.96.0", path = "../swc_ecma_codegen"} -swc_ecma_parser = {version = "0.94.0", path = "../swc_ecma_parser"} -swc_ecma_transforms_compat = {version = "0.81.0", path = "../swc_ecma_transforms_compat"} -swc_ecma_transforms_proposal = {version = "0.89.0", path = "../swc_ecma_transforms_proposal"} -swc_ecma_transforms_testing = {version = "0.70.0", path = "../swc_ecma_transforms_testing"} -testing = {version = "0.19.0", path = "../testing"} +swc_ecma_codegen = { version = "0.96.0", path = "../swc_ecma_codegen" } +swc_ecma_parser = { version = "0.94.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_compat = { version = "0.81.0", path = "../swc_ecma_transforms_compat" } +swc_ecma_transforms_proposal = { version = "0.89.0", path = "../swc_ecma_transforms_proposal" } +swc_ecma_transforms_testing = { version = "0.70.0", path = "../swc_ecma_transforms_testing" } +testing = { version = "0.19.0", path = "../testing" } diff --git a/crates/swc_ecma_utils/Cargo.toml b/crates/swc_ecma_utils/Cargo.toml index 9aa062861809..38d8ace73f25 100644 --- a/crates/swc_ecma_utils/Cargo.toml +++ b/crates/swc_ecma_utils/Cargo.toml @@ -14,20 +14,17 @@ rustdoc-args = ["--cfg", "docsrs"] [features] # Process in parallel. -concurrent = [ - "swc_common/concurrent", - "rayon", -] +concurrent = ["swc_common/concurrent", "rayon"] [dependencies] indexmap = "1" once_cell = "1.10.0" -rayon = {version = "1.5.1", optional = true} -swc_atoms = {version = "0.2.0", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common"} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_visit = {version = "0.56.0", path = "../swc_ecma_visit"} +rayon = { version = "1.5.1", optional = true } +swc_atoms = { version = "0.2.0", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common" } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_visit = { version = "0.56.0", path = "../swc_ecma_visit" } tracing = "0.1.32" [dev-dependencies] -swc_ecma_parser = {version = "0.94.0", path = "../swc_ecma_parser"} +swc_ecma_parser = { version = "0.94.0", path = "../swc_ecma_parser" } diff --git a/crates/swc_ecma_visit/Cargo.toml b/crates/swc_ecma_visit/Cargo.toml index 92dcba7d4288..ec7276b4aa20 100644 --- a/crates/swc_ecma_visit/Cargo.toml +++ b/crates/swc_ecma_visit/Cargo.toml @@ -12,9 +12,9 @@ version = "0.56.0" debug = [] [dependencies] -num-bigint = {version = "0.4", features = ["serde"]} -swc_atoms = {version = "0.2", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common"} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_visit = {version = "0.3.0", path = "../swc_visit"} +num-bigint = { version = "0.4", features = ["serde"] } +swc_atoms = { version = "0.2", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common" } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_visit = { version = "0.3.0", path = "../swc_visit" } tracing = "0.1.32" diff --git a/crates/swc_ecmascript/Cargo.toml b/crates/swc_ecmascript/Cargo.toml index a0e90538f1a9..06254e60561c 100644 --- a/crates/swc_ecmascript/Cargo.toml +++ b/crates/swc_ecmascript/Cargo.toml @@ -33,14 +33,14 @@ react = ["swc_ecma_transforms/react"] typescript = ["typescript-parser", "swc_ecma_transforms/typescript"] [dependencies] -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_codegen = {version = "0.96.0", path = "../swc_ecma_codegen", optional = true} -swc_ecma_dep_graph = {version = "0.66.0", path = "../swc_ecma_dep_graph", optional = true} -swc_ecma_minifier = {version = "0.91.0", path = "../swc_ecma_minifier", optional = true} -swc_ecma_parser = {version = "0.94.0", path = "../swc_ecma_parser", optional = true, default-features = false} -swc_ecma_preset_env = {version = "0.108.0", path = "../swc_ecma_preset_env", optional = true} -swc_ecma_transforms = {version = "0.133.0", path = "../swc_ecma_transforms", optional = true} -swc_ecma_utils = {version = "0.73.0", path = "../swc_ecma_utils", optional = true} -swc_ecma_visit = {version = "0.56.0", path = "../swc_ecma_visit", optional = true} +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_codegen = { version = "0.96.0", path = "../swc_ecma_codegen", optional = true } +swc_ecma_dep_graph = { version = "0.66.0", path = "../swc_ecma_dep_graph", optional = true } +swc_ecma_minifier = { version = "0.91.0", path = "../swc_ecma_minifier", optional = true } +swc_ecma_parser = { version = "0.94.0", path = "../swc_ecma_parser", optional = true, default-features = false } +swc_ecma_preset_env = { version = "0.108.0", path = "../swc_ecma_preset_env", optional = true } +swc_ecma_transforms = { version = "0.133.0", path = "../swc_ecma_transforms", optional = true } +swc_ecma_utils = { version = "0.73.0", path = "../swc_ecma_utils", optional = true } +swc_ecma_visit = { version = "0.56.0", path = "../swc_ecma_visit", optional = true } [dev-dependencies] diff --git a/crates/swc_eq_ignore_macros/Cargo.toml b/crates/swc_eq_ignore_macros/Cargo.toml index f4b02464c6e5..222e19dee613 100644 --- a/crates/swc_eq_ignore_macros/Cargo.toml +++ b/crates/swc_eq_ignore_macros/Cargo.toml @@ -15,4 +15,4 @@ proc-macro = true pmutil = "0.5.3" proc-macro2 = "1.0.24" quote = "1.0.7" -syn = {version = "1", features = ["full"]} +syn = { version = "1", features = ["full"] } diff --git a/crates/swc_error_reporters/Cargo.toml b/crates/swc_error_reporters/Cargo.toml index 1ddcc12f3343..8605285df670 100644 --- a/crates/swc_error_reporters/Cargo.toml +++ b/crates/swc_error_reporters/Cargo.toml @@ -9,5 +9,7 @@ repository = "https://github.com/swc-project/swc.git" version = "0.1.0" [dependencies] -miette = {version = "4.2.1", features = ["fancy"]} -swc_common = {version = "0.17.0", path = "../swc_common", features = ["concurrent"]} +miette = { version = "4.2.1", features = ["fancy"] } +swc_common = { version = "0.17.0", path = "../swc_common", features = [ + "concurrent", +] } diff --git a/crates/swc_estree_ast/Cargo.toml b/crates/swc_estree_ast/Cargo.toml index b8a87f9e0ea2..8047f473885e 100644 --- a/crates/swc_estree_ast/Cargo.toml +++ b/crates/swc_estree_ast/Cargo.toml @@ -1,5 +1,8 @@ [package] -authors = ["강동윤 ", "Daniel Woznicki "] +authors = [ + "강동윤 ", + "Daniel Woznicki ", +] description = "ESTree AST node definitions" documentation = "https://rustdoc.swc.rs/swc_estree_ast/" edition = "2021" @@ -12,8 +15,8 @@ version = "0.7.1" all-features = true [dependencies] -better_scoped_tls = {version = "0.1.0", path = "../better_scoped_tls"} -serde = {version = "1", features = ["derive"]} +better_scoped_tls = { version = "0.1.0", path = "../better_scoped_tls" } +serde = { version = "1", features = ["derive"] } serde_json = "1" -swc_atoms = {version = "0.2", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common"} +swc_atoms = { version = "0.2", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common" } diff --git a/crates/swc_estree_compat/Cargo.toml b/crates/swc_estree_compat/Cargo.toml index d65f135f5bbb..3da66c95fe89 100644 --- a/crates/swc_estree_compat/Cargo.toml +++ b/crates/swc_estree_compat/Cargo.toml @@ -12,26 +12,30 @@ version = "0.74.0" all-features = true [dependencies] -ahash = {version = "0.7.0", features = ["compile-time-rng"]} +ahash = { version = "0.7.0", features = ["compile-time-rng"] } anyhow = "1" copyless = "0.1.5" rayon = "1.5.0" -serde = {version = "1", features = ["derive"]} +serde = { version = "1", features = ["derive"] } serde_json = "1.0.62" -swc_atoms = {version = "0.2", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common", features = ["concurrent", "sourcemap", "tty-emitter"]} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_parser = {version = "0.94.0", path = "../swc_ecma_parser"} -swc_ecma_utils = {version = "0.73.0", path = "../swc_ecma_utils"} -swc_ecma_visit = {version = "0.56.0", path = "../swc_ecma_visit"} -swc_estree_ast = {version = "0.7.0", path = "../swc_estree_ast"} -swc_node_comments = {version = "0.4.0", path = "../swc_node_comments/"} +swc_atoms = { version = "0.2", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common", features = [ + "concurrent", + "sourcemap", + "tty-emitter", +] } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_parser = { version = "0.94.0", path = "../swc_ecma_parser" } +swc_ecma_utils = { version = "0.73.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "0.56.0", path = "../swc_ecma_visit" } +swc_estree_ast = { version = "0.7.0", path = "../swc_estree_ast" } +swc_node_comments = { version = "0.4.0", path = "../swc_node_comments/" } [dev-dependencies] pretty_assertions = "1.1" -swc = {version = "0.154.0", path = "../swc"} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_parser = {version = "0.94.0", path = "../swc_ecma_parser"} -swc_ecma_transforms = {version = "0.133.0", path = "../swc_ecma_transforms/"} -testing = {version = "0.19.0", path = "../testing"} +swc = { version = "0.154.0", path = "../swc" } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_parser = { version = "0.94.0", path = "../swc_ecma_parser" } +swc_ecma_transforms = { version = "0.133.0", path = "../swc_ecma_transforms/" } +testing = { version = "0.19.0", path = "../testing" } walkdir = "2" diff --git a/crates/swc_fast_graph/Cargo.toml b/crates/swc_fast_graph/Cargo.toml index f17dee93a554..e7ba5c5f0fad 100644 --- a/crates/swc_fast_graph/Cargo.toml +++ b/crates/swc_fast_graph/Cargo.toml @@ -14,4 +14,4 @@ version = "0.5.0" ahash = "0.7.6" indexmap = "1.7.0" petgraph = "0.6" -swc_common = {version = "0.17.0", path = "../swc_common"} +swc_common = { version = "0.17.0", path = "../swc_common" } diff --git a/crates/swc_graph_analyzer/Cargo.toml b/crates/swc_graph_analyzer/Cargo.toml index 0043fcbf0788..3c75888500d1 100644 --- a/crates/swc_graph_analyzer/Cargo.toml +++ b/crates/swc_graph_analyzer/Cargo.toml @@ -13,8 +13,8 @@ version = "0.6.0" ahash = "0.7.6" auto_impl = "0.5.0" petgraph = "0.6.0" -swc_fast_graph = {version = "0.5.0", path = "../swc_fast_graph/"} +swc_fast_graph = { version = "0.5.0", path = "../swc_fast_graph/" } tracing = "0.1.32" [dev-dependencies] -testing = {version = "0.19.0", path = "../testing"} +testing = { version = "0.19.0", path = "../testing" } diff --git a/crates/swc_node_base/Cargo.toml b/crates/swc_node_base/Cargo.toml index fee17ebb9154..59d3d5d3f53b 100644 --- a/crates/swc_node_base/Cargo.toml +++ b/crates/swc_node_base/Cargo.toml @@ -11,8 +11,10 @@ version = "0.5.1" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -fastmem = {version = "0.1.0", path = "../fastmem", features = ["enable"]} -swc_common = {version = "0.17.14", path = "../swc_common", features = ["perf"]} +fastmem = { version = "0.1.0", path = "../fastmem", features = ["enable"] } +swc_common = { version = "0.17.14", path = "../swc_common", features = [ + "perf", +] } [target.'cfg(not(all(target_os = "linux", target_arch = "aarch64", target_env = "musl")))'.dependencies] mimalloc-rust = "=0.1.5" diff --git a/crates/swc_node_bundler/Cargo.toml b/crates/swc_node_bundler/Cargo.toml index 4e9127a2a967..95298041833c 100644 --- a/crates/swc_node_bundler/Cargo.toml +++ b/crates/swc_node_bundler/Cargo.toml @@ -21,23 +21,23 @@ dashmap = "5.1.0" is-macro = "0.2.0" once_cell = "1.10.0" regex = "1" -serde = {version = "1", features = ["derive"]} +serde = { version = "1", features = ["derive"] } serde_json = "1" -string_enum = {version = "0.3", path = "../string_enum"} -swc = {path = "../swc"} -swc_atoms = {path = "../swc_atoms"} -swc_bundler = {path = "../swc_bundler", features = ["concurrent"]} -swc_common = {path = "../swc_common", features = ["concurrent"]} -swc_ecma_ast = {path = "../swc_ecma_ast"} -swc_ecma_codegen = {path = "../swc_ecma_codegen"} -swc_ecma_loader = {path = "../swc_ecma_loader"} -swc_ecma_parser = {path = "../swc_ecma_parser"} -swc_ecma_transforms = {path = "../swc_ecma_transforms"} -swc_ecma_utils = {path = "../swc_ecma_utils"} -swc_ecma_visit = {path = "../swc_ecma_visit"} -swc_node_base = {path = "../swc_node_base"} +string_enum = { version = "0.3", path = "../string_enum" } +swc = { path = "../swc" } +swc_atoms = { path = "../swc_atoms" } +swc_bundler = { path = "../swc_bundler", features = ["concurrent"] } +swc_common = { path = "../swc_common", features = ["concurrent"] } +swc_ecma_ast = { path = "../swc_ecma_ast" } +swc_ecma_codegen = { path = "../swc_ecma_codegen" } +swc_ecma_loader = { path = "../swc_ecma_loader" } +swc_ecma_parser = { path = "../swc_ecma_parser" } +swc_ecma_transforms = { path = "../swc_ecma_transforms" } +swc_ecma_utils = { path = "../swc_ecma_utils" } +swc_ecma_visit = { path = "../swc_ecma_visit" } +swc_node_base = { path = "../swc_node_base" } tracing = "0.1.32" [dev-dependencies] pretty_assertions = "1.1" -testing = {path = "../testing"} +testing = { path = "../testing" } diff --git a/crates/swc_node_comments/Cargo.toml b/crates/swc_node_comments/Cargo.toml index dccb73de994c..32c3bd70c515 100644 --- a/crates/swc_node_comments/Cargo.toml +++ b/crates/swc_node_comments/Cargo.toml @@ -1,5 +1,8 @@ [package] -authors = ["강동윤 ", "Daniel Woznicki "] +authors = [ + "강동윤 ", + "Daniel Woznicki ", +] description = "Implementation of Comments of swc_common" documentation = "https://rustdoc.swc.rs/swc_node_comments/" edition = "2021" @@ -13,4 +16,4 @@ version = "0.4.0" [dependencies] ahash = "0.7.6" dashmap = "5.1.0" -swc_common = {version = "0.17.0", path = "../swc_common"} +swc_common = { version = "0.17.0", path = "../swc_common" } diff --git a/crates/swc_plugin/Cargo.toml b/crates/swc_plugin/Cargo.toml index b0b80474fbed..039b2a064b1d 100644 --- a/crates/swc_plugin/Cargo.toml +++ b/crates/swc_plugin/Cargo.toml @@ -9,9 +9,13 @@ repository = "https://github.com/swc-project/swc.git" version = "0.34.0" [dependencies] -swc_common = {version = "0.17.0", path = "../swc_common", features = ["plugin-mode"]} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast", features = ["rkyv-impl"]} -swc_ecma_visit = {version = "0.56.0", path = "../swc_ecma_visit"} -swc_atoms = {version = "0.2.0", path = "../swc_atoms"} -swc_plugin_macro = {version = "0.3.0", path = "../swc_plugin_macro"} +swc_common = { version = "0.17.0", path = "../swc_common", features = [ + "plugin-mode", +] } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast", features = [ + "rkyv-impl", +] } +swc_ecma_visit = { version = "0.56.0", path = "../swc_ecma_visit" } +swc_atoms = { version = "0.2.0", path = "../swc_atoms" } +swc_plugin_macro = { version = "0.3.0", path = "../swc_plugin_macro" } swc_ecma_quote = { version = "0.5.0", path = "../swc_ecma_quote" } diff --git a/crates/swc_plugin_macro/Cargo.toml b/crates/swc_plugin_macro/Cargo.toml index 48e1891d8731..8edbf4cd424b 100644 --- a/crates/swc_plugin_macro/Cargo.toml +++ b/crates/swc_plugin_macro/Cargo.toml @@ -14,4 +14,4 @@ proc-macro = true [dependencies] proc-macro2 = "1" quote = "1" -syn = {version = "1", features = ["full"]} +syn = { version = "1", features = ["full"] } diff --git a/crates/swc_plugin_runner/Cargo.toml b/crates/swc_plugin_runner/Cargo.toml index 4322f972cad0..193eab5940ad 100644 --- a/crates/swc_plugin_runner/Cargo.toml +++ b/crates/swc_plugin_runner/Cargo.toml @@ -12,23 +12,28 @@ version = "0.43.0" anyhow = "1.0.42" once_cell = "1.10.0" parking_lot = "0.12.0" -serde = {version = "1.0.126", features = ["derive"]} +serde = { version = "1.0.126", features = ["derive"] } serde_json = "1.0.64" -swc_common = {version = "0.17.0", path = "../swc_common", features = ["plugin-rt", "concurrent"]} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast", features = ["rkyv-impl"]} +swc_common = { version = "0.17.0", path = "../swc_common", features = [ + "plugin-rt", + "concurrent", +] } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast", features = [ + "rkyv-impl", +] } tracing = "0.1.32" -wasmer = {version = "2.2.0", default-features = false} -wasmer-wasi = {version = "2.2.0", default-features = false} +wasmer = { version = "2.2.0", default-features = false } +wasmer-wasi = { version = "2.2.0", default-features = false } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -wasmer-cache = {version = "2.2.0"} +wasmer-cache = { version = "2.2.0" } [dev-dependencies] -swc_atoms = {version = "0.2.7", path = '../swc_atoms'} -swc_ecma_loader = {version = "0.29.0", path = "../swc_ecma_loader"} -swc_ecma_parser = {version = "0.94.0", path = "../swc_ecma_parser"} -swc_ecma_visit = {version = "0.56.0", path = "../swc_ecma_visit"} -testing = {version = "0.19.0", path = "../testing"} +swc_atoms = { version = "0.2.7", path = '../swc_atoms' } +swc_ecma_loader = { version = "0.29.0", path = "../swc_ecma_loader" } +swc_ecma_parser = { version = "0.94.0", path = "../swc_ecma_parser" } +swc_ecma_visit = { version = "0.56.0", path = "../swc_ecma_visit" } +testing = { version = "0.19.0", path = "../testing" } # This allows we can run non-wasm32 target build command while some pkg select features for wasmer/js omits its transitive deps -wasmer = {version = "2.2.0"} -wasmer-wasi = {version = "2.2.0"} +wasmer = { version = "2.2.0" } +wasmer-wasi = { version = "2.2.0" } diff --git a/crates/swc_stylis/Cargo.toml b/crates/swc_stylis/Cargo.toml index ac9b4f3a0460..5578d9ed4332 100644 --- a/crates/swc_stylis/Cargo.toml +++ b/crates/swc_stylis/Cargo.toml @@ -11,13 +11,13 @@ version = "0.99.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -swc_atoms = {version = "0.2.7", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common"} -swc_css_ast = {version = "0.91.0", path = "../swc_css_ast"} -swc_css_utils = {version = "0.88.0", path = "../swc_css_utils/"} -swc_css_visit = {version = "0.90.0", path = "../swc_css_visit"} +swc_atoms = { version = "0.2.7", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common" } +swc_css_ast = { version = "0.91.0", path = "../swc_css_ast" } +swc_css_utils = { version = "0.88.0", path = "../swc_css_utils/" } +swc_css_visit = { version = "0.90.0", path = "../swc_css_visit" } [dev-dependencies] -swc_css_codegen = {version = "0.100.0", path = "../swc_css_codegen"} -swc_css_parser = {version = "0.99.0", path = "../swc_css_parser"} -testing = {version = "0.19.0", path = "../testing"} +swc_css_codegen = { version = "0.100.0", path = "../swc_css_codegen" } +swc_css_parser = { version = "0.99.0", path = "../swc_css_parser" } +testing = { version = "0.19.0", path = "../testing" } diff --git a/crates/swc_timer/Cargo.toml b/crates/swc_timer/Cargo.toml index b245d2f2d346..c0ab378329c9 100644 --- a/crates/swc_timer/Cargo.toml +++ b/crates/swc_timer/Cargo.toml @@ -14,4 +14,4 @@ version = "0.5.0" tracing = "0.1.32" [dev-dependencies] -testing = {version = "0.19.0", path = "../testing"} +testing = { version = "0.19.0", path = "../testing" } diff --git a/crates/swc_trace_macro/Cargo.toml b/crates/swc_trace_macro/Cargo.toml index dff319bf43fb..03289a6b12a1 100644 --- a/crates/swc_trace_macro/Cargo.toml +++ b/crates/swc_trace_macro/Cargo.toml @@ -14,4 +14,4 @@ proc-macro = true [dependencies] proc-macro2 = "1" quote = "1" -syn = {version = "1", features = ["full"]} +syn = { version = "1", features = ["full"] } diff --git a/crates/swc_visit/Cargo.toml b/crates/swc_visit/Cargo.toml index ba4ac8bf1198..92a13f2b43c2 100644 --- a/crates/swc_visit/Cargo.toml +++ b/crates/swc_visit/Cargo.toml @@ -11,4 +11,4 @@ version = "0.3.0" [dependencies] either = "1.5.3" -swc_visit_macros = {version = "0.3.0", path = "../swc_visit_macros"} +swc_visit_macros = { version = "0.3.0", path = "../swc_visit_macros" } diff --git a/crates/swc_visit_macros/Cargo.toml b/crates/swc_visit_macros/Cargo.toml index 21bb230c2be5..b84ad68721de 100644 --- a/crates/swc_visit_macros/Cargo.toml +++ b/crates/swc_visit_macros/Cargo.toml @@ -17,5 +17,5 @@ Inflector = "0.11.4" pmutil = "0.5.1" proc-macro2 = "1" quote = "1" -swc_macros_common = {version = "0.3.2", path = "../swc_macros_common"} -syn = {version = "1", features = ["parsing", "full"]} +swc_macros_common = { version = "0.3.2", path = "../swc_macros_common" } +syn = { version = "1", features = ["parsing", "full"] } diff --git a/crates/swc_webpack_ast/Cargo.toml b/crates/swc_webpack_ast/Cargo.toml index 1b78ea9ae2c1..0d45f5151762 100644 --- a/crates/swc_webpack_ast/Cargo.toml +++ b/crates/swc_webpack_ast/Cargo.toml @@ -12,21 +12,21 @@ version = "0.72.0" [dependencies] anyhow = "1.0.48" rayon = "1.5.1" -serde = {version = "1", features = ["derive", "rc"]} +serde = { version = "1", features = ["derive", "rc"] } serde_json = "1.0.72" -swc_atoms = {version = "0.2.9", path = "../swc_atoms"} -swc_common = {version = "0.17.0", path = "../swc_common"} -swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"} -swc_ecma_parser = {version = "0.94.0", path = "../swc_ecma_parser"} -swc_ecma_transforms_base = {version = "0.68.0", path = "../swc_ecma_transforms_base"} -swc_ecma_utils = {version = "0.73.0", path = "../swc_ecma_utils"} -swc_ecma_visit = {version = "0.56.0", path = "../swc_ecma_visit"} -swc_estree_ast = {version = "0.7.0", path = "../swc_estree_ast"} -swc_estree_compat = {version = "0.74.0", path = "../swc_estree_compat"} -swc_timer = {version = "0.5.0", path = "../swc_timer"} +swc_atoms = { version = "0.2.9", path = "../swc_atoms" } +swc_common = { version = "0.17.0", path = "../swc_common" } +swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast" } +swc_ecma_parser = { version = "0.94.0", path = "../swc_ecma_parser" } +swc_ecma_transforms_base = { version = "0.68.0", path = "../swc_ecma_transforms_base" } +swc_ecma_utils = { version = "0.73.0", path = "../swc_ecma_utils" } +swc_ecma_visit = { version = "0.56.0", path = "../swc_ecma_visit" } +swc_estree_ast = { version = "0.7.0", path = "../swc_estree_ast" } +swc_estree_compat = { version = "0.74.0", path = "../swc_estree_compat" } +swc_timer = { version = "0.5.0", path = "../swc_timer" } tracing = "0.1.32" [dev-dependencies] -swc_ecma_transforms_testing = {version = "0.70.0", path = "../swc_ecma_transforms_testing"} -swc_node_base = {version = "0.5.1", path = "../swc_node_base"} -testing = {version = "0.19.0", path = "../testing"} +swc_ecma_transforms_testing = { version = "0.70.0", path = "../swc_ecma_transforms_testing" } +swc_node_base = { version = "0.5.1", path = "../swc_node_base" } +testing = { version = "0.19.0", path = "../testing" } diff --git a/crates/testing/Cargo.toml b/crates/testing/Cargo.toml index 2dc5d7c90d9f..185d5dbfa561 100644 --- a/crates/testing/Cargo.toml +++ b/crates/testing/Cargo.toml @@ -15,8 +15,10 @@ once_cell = "1.10.0" pretty_assertions = "1.1" regex = "1" serde_json = "1.0.71" -swc_common = {version = "0.17.0", path = "../swc_common", features = ["tty-emitter"]} -swc_error_reporters = {version = "0.1.0", path = "../swc_error_reporters"} -testing_macros = {version = "0.2.0", path = "../testing_macros"} +swc_common = { version = "0.17.0", path = "../swc_common", features = [ + "tty-emitter", +] } +swc_error_reporters = { version = "0.1.0", path = "../swc_error_reporters" } +testing_macros = { version = "0.2.0", path = "../testing_macros" } tracing = "0.1.32" -tracing-subscriber = {version = "0.3.9", features = ["env-filter"]} +tracing-subscriber = { version = "0.3.9", features = ["env-filter"] } diff --git a/crates/testing_macros/Cargo.toml b/crates/testing_macros/Cargo.toml index c00fbc7b85a2..3da98132d854 100644 --- a/crates/testing_macros/Cargo.toml +++ b/crates/testing_macros/Cargo.toml @@ -23,4 +23,4 @@ proc-macro2 = "1.0.24" quote = "1" regex = "1" relative-path = "1.3.2" -syn = {version = "1", features = ["fold", "parsing", "full", "extra-traits"]} +syn = { version = "1", features = ["fold", "parsing", "full", "extra-traits"] } diff --git a/crates/wasm/Cargo.toml b/crates/wasm/Cargo.toml index c340b1d83ff0..72fe27b45b33 100644 --- a/crates/wasm/Cargo.toml +++ b/crates/wasm/Cargo.toml @@ -30,13 +30,15 @@ console_error_panic_hook = "0.1.6" once_cell = "1.10.0" parking_lot_core = "0.9.1" path-clean = "0.1" -serde = {version = "1", features = ["derive"]} +serde = { version = "1", features = ["derive"] } serde_json = "1" -swc = {path = "../swc"} -swc_common = {path = "../swc_common"} -swc_ecma_lints = {path = "../swc_ecma_lints", features = ["non_critical_lints"]} -swc_ecmascript = {path = "../swc_ecmascript"} -tracing = {version = "0.1.32", features = ["release_max_level_off"]} -wasm-bindgen = {version = "0.2", features = ["serde-serialize"]} -wasmer = {version = "2.2.0", optional = true, default-features = false} -wasmer-wasi = {version = "2.2.0", optional = true, default-features = false} +swc = { path = "../swc" } +swc_common = { path = "../swc_common" } +swc_ecma_lints = { path = "../swc_ecma_lints", features = [ + "non_critical_lints", +] } +swc_ecmascript = { path = "../swc_ecmascript" } +tracing = { version = "0.1.32", features = ["release_max_level_off"] } +wasm-bindgen = { version = "0.2", features = ["serde-serialize"] } +wasmer = { version = "2.2.0", optional = true, default-features = false } +wasmer-wasi = { version = "2.2.0", optional = true, default-features = false } diff --git a/deny.toml b/deny.toml index 8d0b8fc9a654..0a87a49e06fc 100644 --- a/deny.toml +++ b/deny.toml @@ -17,15 +17,7 @@ # this list would mean the nix crate, as well as any of its exclusive # dependencies not shared by any other crates, would be ignored, as the target # list here is effectively saying which targets you are building for. -targets = [ - # The triple can be any string, but only the target triples built in to - # rustc (as of 1.40) can be checked against actual config expressions - #{ triple = "x86_64-unknown-linux-musl" }, - # You can also specify which target_features you promise are enabled for a - # particular target. target_features are currently not validated against - # the actual valid features supported by the target architecture. - #{ triple = "wasm32-unknown-unknown", features = ["atomics"] }, -] +targets = [] # This section is considered when running `cargo deny check advisories` # More documentation for the advisories section can be found here: @@ -87,9 +79,7 @@ allow = [ # List of explictly disallowed licenses # See https://spdx.org/licenses/ for list of possible licenses # [possible values: any SPDX 3.11 short identifier (+ optional exception)]. -deny = [ - #"Nokia", -] +deny = [] # Lint level for licenses considered copyleft copyleft = "deny" # Blanket approval or denial for OSI-approved or FSF Free/Libre licenses @@ -111,11 +101,7 @@ default = "deny" confidence-threshold = 0.8 # Allow 1 or more licenses on a per-crate basis, so that particular licenses # aren't accepted for every possible crate as with the normal allow list -exceptions = [ - # Each entry is the crate and version constraint, and its specific allow - # list - #{ allow = ["Zlib"], name = "adler32", version = "*" }, -] +exceptions = [] [[licenses.clarify]] # The name of the crate the clarification applies to @@ -129,9 +115,7 @@ expression = "Apache-2.0 AND BSD-3-Clause" # when running the license check, otherwise the clarification will be ignored # and the crate will be checked normally, which may produce warnings or errors # depending on the rest of your configuration -license-files = [ - {path = "COPYRIGHT", hash = 972598577}, -] +license-files = [{ path = "COPYRIGHT", hash = 972598577 }] # Some crates don't have (easily) machine readable licensing information, # adding a clarification entry for it allows you to manually specify the @@ -160,9 +144,7 @@ ignore = false # One or more private registries that you might publish crates to, if a crate # is only published to private registries, and ignore is true, the crate will # not have its license(s) checked -registries = [ - #"https://sekretz.com/registry -] +registries = [] # This section is considered when running `cargo deny check bans`. # More documentation about the 'bans' section can be found here: @@ -179,30 +161,16 @@ wildcards = "allow" # * all - Both lowest-version and simplest-path are used highlight = "all" # List of crates that are allowed. Use with care! -allow = [ - #{ name = "ansi_term", version = "=0.11.0" }, -] +allow = [] # List of crates to deny -deny = [ - # Each entry the name of a crate and a version range. If version is - # not specified, all versions will be matched. - #{ name = "ansi_term", version = "=0.11.0" }, - # - # Wrapper crates can optionally be specified to allow the crate when it - # is a direct dependency of the otherwise banned crate - #{ name = "ansi_term", version = "=0.11.0", wrappers = [] }, -] +deny = [] # Certain crates/versions that will be skipped when doing duplicate detection. -skip = [ - #{ name = "ansi_term", version = "=0.11.0" }, -] +skip = [] # Similarly to `skip` allows you to skip certain crates during duplicate # detection. Unlike skip, it also includes the entire tree of transitive # dependencies starting at the specified crate, up to a certain depth, which is # by default infinite -skip-tree = [ - #{ name = "ansi_term", version = "=0.11.0", depth = 20 }, -] +skip-tree = [] # This section is considered when running `cargo deny check sources`. # More documentation about the 'sources' section can be found here: diff --git a/package.json b/package.json index 46c3b57c0efa..f5bd726105b3 100644 --- a/package.json +++ b/package.json @@ -64,6 +64,14 @@ "test": "cross-env NODE_OPTIONS='--experimental-vm-modules' jest node-swc/__tests__", "version": "napi version -p scripts/npm" }, + "lint-staged": { + "*.toml": [ + "taplo format" + ], + "*.rs": [ + "cargo fmt --" + ] + }, "devDependencies": { "@babel/compat-data": "^7.17.0", "@babel/core": "^7.13.16", @@ -76,6 +84,7 @@ "@babel/types": "^7.14.0", "@napi-rs/cli": "^2.4.5", "@swc/helpers": "^0.2.10", + "@taplo/cli": "^0.3.2", "@types/jest": "^26.0.23", "@types/node": "^14.14.41", "acorn": "^8.6.0", @@ -91,6 +100,7 @@ "expect": "^27.4.2", "husky": "^7.0.2", "jest": "^27.0.1", + "lint-staged": "^12.3.6", "lodash": "^4.17.21", "mocha": "^9.1.3", "npm-run-all": "^4.1.5", diff --git a/scripts/npm/linux-arm64-gnu/package.json b/scripts/npm/linux-arm64-gnu/package.json index d012725d8ea3..e9794863f5d4 100644 --- a/scripts/npm/linux-arm64-gnu/package.json +++ b/scripts/npm/linux-arm64-gnu/package.json @@ -12,6 +12,9 @@ "swc.linux-arm64-gnu.node", "swc" ], + "libc": [ + "glibc" + ], "description": "Super-fast alternative for babel", "keywords": [ "swc", @@ -39,4 +42,4 @@ "bugs": { "url": "https://github.com/swc-project/swc/issues" } -} \ No newline at end of file +} diff --git a/scripts/npm/linux-arm64-musl/package.json b/scripts/npm/linux-arm64-musl/package.json index e743b90ea1bc..f0039a828e67 100644 --- a/scripts/npm/linux-arm64-musl/package.json +++ b/scripts/npm/linux-arm64-musl/package.json @@ -12,6 +12,9 @@ "swc.linux-arm64-musl.node", "swc" ], + "libc": [ + "musl" + ], "description": "Super-fast alternative for babel", "keywords": [ "swc", @@ -39,4 +42,4 @@ "bugs": { "url": "https://github.com/swc-project/swc/issues" } -} \ No newline at end of file +} diff --git a/scripts/npm/linux-x64-gnu/package.json b/scripts/npm/linux-x64-gnu/package.json index f913a6c656c7..8b3b3e17f084 100644 --- a/scripts/npm/linux-x64-gnu/package.json +++ b/scripts/npm/linux-x64-gnu/package.json @@ -12,6 +12,9 @@ "swc.linux-x64-gnu.node", "swc" ], + "libc": [ + "glibc" + ], "description": "Super-fast alternative for babel", "keywords": [ "swc", @@ -39,4 +42,4 @@ "bugs": { "url": "https://github.com/swc-project/swc/issues" } -} \ No newline at end of file +} diff --git a/scripts/npm/linux-x64-musl/package.json b/scripts/npm/linux-x64-musl/package.json index c3e3e527a432..a65b930cc0a5 100644 --- a/scripts/npm/linux-x64-musl/package.json +++ b/scripts/npm/linux-x64-musl/package.json @@ -12,6 +12,9 @@ "swc.linux-x64-musl.node", "swc" ], + "libc": [ + "musl" + ], "description": "Super-fast alternative for babel", "keywords": [ "swc", @@ -39,4 +42,4 @@ "bugs": { "url": "https://github.com/swc-project/swc/issues" } -} \ No newline at end of file +} diff --git a/tests/rust-plugins/swc_internal_plugin/.cargo/config.toml b/tests/rust-plugins/swc_internal_plugin/.cargo/config.toml index cc6f6381ff2e..b41898e36f4f 100644 --- a/tests/rust-plugins/swc_internal_plugin/.cargo/config.toml +++ b/tests/rust-plugins/swc_internal_plugin/.cargo/config.toml @@ -1,3 +1,3 @@ [build] # Do not enable this config until https://github.com/rust-lang/rust/issues/73755 stablized -# rustflags = ["-C", "target-feature=+multivalue"] \ No newline at end of file +# rustflags = ["-C", "target-feature=+multivalue"] diff --git a/tests/rust-plugins/swc_internal_plugin/Cargo.toml b/tests/rust-plugins/swc_internal_plugin/Cargo.toml index 750ab3772b99..f1023e247dd4 100644 --- a/tests/rust-plugins/swc_internal_plugin/Cargo.toml +++ b/tests/rust-plugins/swc_internal_plugin/Cargo.toml @@ -11,4 +11,4 @@ crate-type = ["cdylib"] [dependencies] serde = "1" -swc_plugin = {path = "../../../crates/swc_plugin"} +swc_plugin = { path = "../../../crates/swc_plugin" } diff --git a/yarn.lock b/yarn.lock index b019c9ca5e61..6f94947ed493 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1437,6 +1437,27 @@ resolved "https://registry.yarnpkg.com/@napi-rs/cli/-/cli-2.4.5.tgz#0f33e54e08c2e875c729697eb81f1c36342f0205" integrity sha512-CLa3PSHh4Y760OXkHidzfHavVtfbQyfMhj3sWpta3SZjbWMk0tbdPhRez9y8KVApVVWjBxz5agEeFMfxxr+KTg== +"@nodelib/fs.scandir@2.1.5": + version "2.1.5" + resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" + integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== + dependencies: + "@nodelib/fs.stat" "2.0.5" + run-parallel "^1.1.9" + +"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": + version "2.0.5" + resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b" + integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== + +"@nodelib/fs.walk@^1.2.3": + version "1.2.8" + resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" + integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== + dependencies: + "@nodelib/fs.scandir" "2.1.5" + fastq "^1.6.0" + "@sinonjs/commons@^1.7.0": version "1.8.3" resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.3.tgz#3802ddd21a50a949b6721ddd72da36e67e7f1b2d" @@ -1521,6 +1542,14 @@ resolved "https://registry.yarnpkg.com/@swc/helpers/-/helpers-0.2.12.tgz#cd54624dd685f7832b50dd7ce119ddc4eb2585ad" integrity sha512-hsPGC/U/0xe/WghMeSgyFsq9nNPfA5oY1Il2AaeAJcu/vTm4Bv8o9ev4eAgxcA61i5WWp72amN20XVyxWwM5aQ== +"@taplo/cli@^0.3.2": + version "0.3.2" + resolved "https://registry.yarnpkg.com/@taplo/cli/-/cli-0.3.2.tgz#857b1c3ee99294a8d51d21dba6243a58ecdc7dfd" + integrity sha512-i/K25cXaMtox/tKMM/GyfXA+v0/2wK6fgJs0+ZHikQTgaHPN7ncoreOFt6WlTELgYFnaHEZiefxLwCE8ixCEyA== + dependencies: + fast-glob "^3.2.4" + node-fetch "^2.6.1" + "@tootallnate/once@1": version "1.1.2" resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82" @@ -1722,6 +1751,14 @@ agent-base@6: dependencies: debug "4" +aggregate-error@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a" + integrity sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA== + dependencies: + clean-stack "^2.0.0" + indent-string "^4.0.0" + amdefine@>=0.0.4: version "1.0.1" resolved "https://registry.yarnpkg.com/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5" @@ -1732,7 +1769,7 @@ ansi-colors@4.1.1: resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348" integrity sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA== -ansi-escapes@^4.2.1: +ansi-escapes@^4.2.1, ansi-escapes@^4.3.0: version "4.3.2" resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e" integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ== @@ -1749,6 +1786,11 @@ ansi-regex@^5.0.1: resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== +ansi-regex@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.0.1.tgz#3183e38fae9a65d7cb5e53945cd5897d0260a06a" + integrity sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA== + ansi-styles@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" @@ -1768,6 +1810,11 @@ ansi-styles@^5.0.0: resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== +ansi-styles@^6.0.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.1.0.tgz#87313c102b8118abd57371afab34618bf7350ed3" + integrity sha512-VbqNsoz55SYGczauuup0MFUyXNQviSpFTj1RQtFzmQLk18qbVSpTFFGMT293rmDaQuKCT6InmbuEyUne4mTuxQ== + anymatch@^3.0.3, anymatch@~3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716" @@ -1798,6 +1845,11 @@ array-timsort@^1.0.3: resolved "https://registry.yarnpkg.com/array-timsort/-/array-timsort-1.0.3.tgz#3c9e4199e54fb2b9c3fe5976396a21614ef0d926" integrity sha512-/+3GRL7dDAGEfM6TseQk/U+mi18TU2Ms9I3UlLdUMhz2hbvGNTKdj9xniwXfUqgYhHxRx0+8UnKkvlNwVU+cWQ== +astral-regex@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31" + integrity sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ== + asynckit@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" @@ -2078,6 +2130,11 @@ class-validator@^0.13.1: libphonenumber-js "^1.9.7" validator "^13.5.2" +clean-stack@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" + integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== + clear-module@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/clear-module/-/clear-module-4.1.1.tgz#bf8ba3b62eb70ee1e0adec90589741425cf32db8" @@ -2086,6 +2143,29 @@ clear-module@^4.1.1: parent-module "^2.0.0" resolve-from "^5.0.0" +cli-cursor@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" + integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== + dependencies: + restore-cursor "^3.1.0" + +cli-truncate@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/cli-truncate/-/cli-truncate-2.1.0.tgz#c39e28bf05edcde5be3b98992a22deed5a2b93c7" + integrity sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg== + dependencies: + slice-ansi "^3.0.0" + string-width "^4.2.0" + +cli-truncate@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/cli-truncate/-/cli-truncate-3.1.0.tgz#3f23ab12535e3d73e839bb43e73c9de487db1389" + integrity sha512-wfOBkjXteqSnI59oPcJkcPl/ZmwvMMOj340qUIY1SKZCv0B9Cf4D4fAucRkIKQmsIuYK3x1rrgU7MeGRruiuiA== + dependencies: + slice-ansi "^5.0.0" + string-width "^5.0.0" + cliui@^7.0.2: version "7.0.4" resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" @@ -2134,6 +2214,11 @@ colorette@^1.2.2: resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.2.2.tgz#cbcc79d5e99caea2dbf10eb3a26fd8b3e6acfa94" integrity sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w== +colorette@^2.0.16: + version "2.0.16" + resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.16.tgz#713b9af84fdb000139f04546bd4a93f62a5085da" + integrity sha512-hUewv7oMjCp+wkBv5Rm0v87eJhq4woh5rSR+42YSQJKecCqgIqNkZ6lAlQms/BwHPJA5NKMRlpxPRv0n8HQW6g== + combined-stream@^1.0.8: version "1.0.8" resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" @@ -2151,6 +2236,11 @@ commander@^8.2.0: resolved "https://registry.yarnpkg.com/commander/-/commander-8.2.0.tgz#37fe2bde301d87d47a53adeff8b5915db1381ca8" integrity sha512-LLKxDvHeL91/8MIyTAD5BFMNtoIwztGPMiM/7Bl8rIPmHCZXRxmSWr91h57dpOpnQ6jIUqEWdXE/uBYMfiVZDA== +commander@^8.3.0: + version "8.3.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66" + integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww== + comment-json@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/comment-json/-/comment-json-4.1.1.tgz#49df4948704bebb1cc0ffa6910e25669b668b7c5" @@ -2363,6 +2453,13 @@ debug@4, debug@4.3.2, debug@^4.1.0, debug@^4.1.1: dependencies: ms "2.1.2" +debug@^4.3.3: + version "4.3.3" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.3.tgz#04266e0b70a98d4462e6e288e38259213332b664" + integrity sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q== + dependencies: + ms "2.1.2" + decamelize@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-4.0.0.tgz#aa472d7bf660eb15f3494efd531cab7f2a709837" @@ -2444,6 +2541,11 @@ dot-prop@^5.2.0: dependencies: is-obj "^2.0.0" +eastasianwidth@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" + integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== + electron-to-chromium@^1.3.723: version "1.3.792" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.792.tgz#791b0d8fcf7411885d086193fb49aaef0c1594ca" @@ -2464,6 +2566,11 @@ emoji-regex@^8.0.0: resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== +emoji-regex@^9.2.2: + version "9.2.2" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" + integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== + error-ex@^1.3.1: version "1.3.2" resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" @@ -2553,7 +2660,7 @@ esutils@^2.0.2: resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== -execa@^5.0.0: +execa@^5.0.0, execa@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== @@ -2597,6 +2704,17 @@ expect@^27.4.2: jest-message-util "^27.4.2" jest-regex-util "^27.4.0" +fast-glob@^3.2.4: + version "3.2.11" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.11.tgz#a1172ad95ceb8a16e20caa5c5e56480e5129c1d9" + integrity sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.4" + fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" @@ -2607,6 +2725,13 @@ fast-levenshtein@~2.0.6: resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= +fastq@^1.6.0: + version "1.13.0" + resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.13.0.tgz#616760f88a7526bdfc596b7cab8c18938c36b98c" + integrity sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw== + dependencies: + reusify "^1.0.4" + fb-watchman@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.1.tgz#fc84fb39d2709cf3ff6d743706157bb5708a8a85" @@ -2747,7 +2872,7 @@ get-symbol-description@^1.0.0: call-bind "^1.0.2" get-intrinsic "^1.1.1" -glob-parent@~5.1.2: +glob-parent@^5.1.2, glob-parent@~5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== @@ -2926,6 +3051,11 @@ imurmurhash@^0.1.4: resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" integrity sha1-khi5srkoojixPcT7a21XbyMUU+o= +indent-string@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" + integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== + inflight@^1.0.4: version "1.0.6" resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" @@ -3023,6 +3153,11 @@ is-fullwidth-code-point@^3.0.0: resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== +is-fullwidth-code-point@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz#fae3167c729e7463f8461ce512b080a49268aa88" + integrity sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ== + is-generator-fn@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" @@ -3748,11 +3883,50 @@ libphonenumber-js@^1.9.7: resolved "https://registry.yarnpkg.com/libphonenumber-js/-/libphonenumber-js-1.9.42.tgz#41f41d540f89b6e3fd36de7120ddb57b3a468c77" integrity sha512-UBtU0ylpZPKPT8NLIyQJWj/DToMFxmo3Fm5m6qDc0LATvf0SY0qUhaurCEvukAB9Fo+Ia2Anjzqwoupaa64fXg== +lilconfig@2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-2.0.4.tgz#f4507d043d7058b380b6a8f5cb7bcd4b34cee082" + integrity sha512-bfTIN7lEsiooCocSISTWXkiWJkRqtL9wYtYy+8EK3Y41qh3mpwPU0ycTOgjdY9ErwXCc8QyrQp82bdL0Xkm9yA== + lines-and-columns@^1.1.6: version "1.1.6" resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA= +lint-staged@^12.3.6: + version "12.3.6" + resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-12.3.6.tgz#7b999ebe041c07f241537a17c49969027b4d26f0" + integrity sha512-tVNyl/HsAnplKh4oaoRNzyZLm0PE/6VaBUXvd/gA9zhYCC/+ivZwiwpoT6jOxcLzuIOjP19wW+mfOi7/Bw4c1A== + dependencies: + cli-truncate "^3.1.0" + colorette "^2.0.16" + commander "^8.3.0" + debug "^4.3.3" + execa "^5.1.1" + lilconfig "2.0.4" + listr2 "^4.0.1" + micromatch "^4.0.4" + normalize-path "^3.0.0" + object-inspect "^1.12.0" + pidtree "^0.5.0" + string-argv "^0.3.1" + supports-color "^9.2.1" + yaml "^1.10.2" + +listr2@^4.0.1: + version "4.0.5" + resolved "https://registry.yarnpkg.com/listr2/-/listr2-4.0.5.tgz#9dcc50221583e8b4c71c43f9c7dfd0ef546b75d5" + integrity sha512-juGHV1doQdpNT3GSTs9IUN43QJb7KHdF9uqg7Vufs/tG9VTzpFphqF4pm/ICdAABGQxsyNn9CiYA3StkI6jpwA== + dependencies: + cli-truncate "^2.1.0" + colorette "^2.0.16" + log-update "^4.0.0" + p-map "^4.0.0" + rfdc "^1.3.0" + rxjs "^7.5.5" + through "^2.3.8" + wrap-ansi "^7.0.0" + load-json-file@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b" @@ -3820,6 +3994,16 @@ log-symbols@4.1.0: chalk "^4.1.0" is-unicode-supported "^0.1.0" +log-update@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/log-update/-/log-update-4.0.0.tgz#589ecd352471f2a1c0c570287543a64dfd20e0a1" + integrity sha512-9fkkDevMefjg0mmzWFBW8YkFP91OrizzkW3diF7CpG+S2EYdy4+TVfGwz1zeF8x7hCx1ovSPTOE9Ngib74qqUg== + dependencies: + ansi-escapes "^4.3.0" + cli-cursor "^3.1.0" + slice-ansi "^4.0.0" + wrap-ansi "^6.2.0" + loose-envify@^1.1.0, loose-envify@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" @@ -3863,6 +4047,11 @@ merge-stream@^2.0.0: resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== +merge2@^1.3.0: + version "1.4.1" + resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" + integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== + micromatch@^4.0.4: version "4.0.4" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.4.tgz#896d519dfe9db25fce94ceb7a500919bf881ebf9" @@ -3955,6 +4144,13 @@ nice-try@^1.0.4: resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== +node-fetch@^2.6.1: + version "2.6.7" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" + integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== + dependencies: + whatwg-url "^5.0.0" + node-int64@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" @@ -4022,7 +4218,7 @@ object-assign@^4.1.1: resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= -object-inspect@^1.11.0, object-inspect@^1.9.0: +object-inspect@^1.11.0, object-inspect@^1.12.0, object-inspect@^1.9.0: version "1.12.0" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.0.tgz#6e2c120e868fd1fd18cb4f18c31741d0d6e776f0" integrity sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g== @@ -4049,7 +4245,7 @@ once@^1.3.0: dependencies: wrappy "1" -onetime@^5.1.2: +onetime@^5.1.0, onetime@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== @@ -4101,6 +4297,13 @@ p-locate@^5.0.0: dependencies: p-limit "^3.0.2" +p-map@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" + integrity sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== + dependencies: + aggregate-error "^3.0.0" + p-try@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" @@ -4195,6 +4398,11 @@ pidtree@^0.3.0: resolved "https://registry.yarnpkg.com/pidtree/-/pidtree-0.3.1.tgz#ef09ac2cc0533df1f3250ccf2c4d366b0d12114a" integrity sha512-qQbW94hLHEqCg7nhby4yRC7G2+jYHY4Rguc2bjw7Uug4GIJuu1tvf2uHaZv5Q8zdt+WKJ6qK1FOI6amaWUo5FA== +pidtree@^0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/pidtree/-/pidtree-0.5.0.tgz#ad5fbc1de78b8a5f99d6fbdd4f6e4eee21d1aca1" + integrity sha512-9nxspIM7OpZuhBxPg73Zvyq7j1QMPMPsGKTqRc2XOaFQauDvoNz9fM1Wdkjmeo7l9GXOZiRs97sPkuayl39wjA== + pify@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" @@ -4286,6 +4494,11 @@ punycode@^2.1.1: resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== +queue-microtask@^1.2.2: + version "1.2.3" + resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" + integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== + randombytes@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" @@ -4431,6 +4644,24 @@ resolve@^1.14.2, resolve@^1.20.0: is-core-module "^2.2.0" path-parse "^1.0.6" +restore-cursor@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" + integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== + dependencies: + onetime "^5.1.0" + signal-exit "^3.0.2" + +reusify@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" + integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== + +rfdc@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.3.0.tgz#d0b7c441ab2720d05dc4cf26e01c89631d9da08b" + integrity sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA== + rimraf@^3.0.0, rimraf@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" @@ -4438,6 +4669,20 @@ rimraf@^3.0.0, rimraf@^3.0.2: dependencies: glob "^7.1.3" +run-parallel@^1.1.9: + version "1.2.0" + resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" + integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== + dependencies: + queue-microtask "^1.2.2" + +rxjs@^7.5.5: + version "7.5.5" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.5.5.tgz#2ebad89af0f560f460ad5cc4213219e1f7dd4e9f" + integrity sha512-sy+H0pQofO95VDmFLzyaw9xNJU4KTRSwQIGM6+iG3SypAtCiLDzpeG8sJrNCWn2Up9km+KhkvTdbkrdy+yzZdw== + dependencies: + tslib "^2.1.0" + safe-buffer@^5.1.0: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" @@ -4542,6 +4787,32 @@ slash@^3.0.0: resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== +slice-ansi@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-3.0.0.tgz#31ddc10930a1b7e0b67b08c96c2f49b77a789787" + integrity sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ== + dependencies: + ansi-styles "^4.0.0" + astral-regex "^2.0.0" + is-fullwidth-code-point "^3.0.0" + +slice-ansi@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-4.0.0.tgz#500e8dd0fd55b05815086255b3195adf2a45fe6b" + integrity sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ== + dependencies: + ansi-styles "^4.0.0" + astral-regex "^2.0.0" + is-fullwidth-code-point "^3.0.0" + +slice-ansi@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-5.0.0.tgz#b73063c57aa96f9cd881654b15294d95d285c42a" + integrity sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ== + dependencies: + ansi-styles "^6.0.0" + is-fullwidth-code-point "^4.0.0" + source-map-support@^0.5.19, source-map-support@^0.5.6: version "0.5.19" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61" @@ -4628,6 +4899,11 @@ stack-utils@^2.0.3: dependencies: escape-string-regexp "^2.0.0" +string-argv@^0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.1.tgz#95e2fbec0427ae19184935f816d74aaa4c5c19da" + integrity sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg== + string-length@^4.0.1: version "4.0.2" resolved "https://registry.yarnpkg.com/string-length/-/string-length-4.0.2.tgz#a8a8dc7bd5c1a82b9b3c8b87e125f66871b6e57a" @@ -4645,6 +4921,15 @@ string-width@^4.1.0, string-width@^4.2.0: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.0" +string-width@^5.0.0: + version "5.1.2" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" + integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== + dependencies: + eastasianwidth "^0.2.0" + emoji-regex "^9.2.2" + strip-ansi "^7.0.1" + string.prototype.padend@^3.0.0: version "3.1.3" resolved "https://registry.yarnpkg.com/string.prototype.padend/-/string.prototype.padend-3.1.3.tgz#997a6de12c92c7cb34dc8a201a6c53d9bd88a5f1" @@ -4684,6 +4969,13 @@ strip-ansi@^6.0.1: dependencies: ansi-regex "^5.0.1" +strip-ansi@^7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.0.1.tgz#61740a08ce36b61e50e65653f07060d000975fb2" + integrity sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw== + dependencies: + ansi-regex "^6.0.1" + strip-bom@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" @@ -4725,6 +5017,11 @@ supports-color@^7.0.0, supports-color@^7.1.0: dependencies: has-flag "^4.0.0" +supports-color@^9.2.1: + version "9.2.1" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-9.2.1.tgz#599dc9d45acf74c6176e0d880bab1d7d718fe891" + integrity sha512-Obv7ycoCTG51N7y175StI9BlAXrmgZrFhZOb0/PyjHBher/NmsdBgbbQ1Inhq+gIhz6+7Gb+jWF2Vqi7Mf1xnQ== + supports-hyperlinks@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-2.2.0.tgz#4f77b42488765891774b70c79babd87f9bd594bb" @@ -4774,6 +5071,11 @@ throat@^6.0.1: resolved "https://registry.yarnpkg.com/throat/-/throat-6.0.1.tgz#d514fedad95740c12c2d7fc70ea863eb51ade375" integrity sha512-8hmiGIJMDlwjg7dlJ4yKGLK8EsYqKgPWbG3b4wjJddKNwc7N7Dpn08Df4szr/sZdMVeOstrdYSsqzX6BYbcB+w== +through@^2.3.8: + version "2.3.8" + resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" + integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= + tmpl@1.0.x: version "1.0.4" resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.4.tgz#23640dd7b42d00433911140820e5cf440e521dd1" @@ -4807,6 +5109,11 @@ tr46@^2.1.0: dependencies: punycode "^2.1.1" +tr46@~0.0.3: + version "0.0.3" + resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" + integrity sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o= + ts-node@^10.5.0: version "10.5.0" resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.5.0.tgz#618bef5854c1fbbedf5e31465cbb224a1d524ef9" @@ -4826,6 +5133,11 @@ ts-node@^10.5.0: v8-compile-cache-lib "^3.0.0" yn "3.1.1" +tslib@^2.1.0: + version "2.3.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01" + integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw== + type-check@~0.3.2: version "0.3.2" resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" @@ -4958,6 +5270,11 @@ walker@^1.0.7: dependencies: makeerror "1.0.x" +webidl-conversions@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" + integrity sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE= + webidl-conversions@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-5.0.0.tgz#ae59c8a00b121543a2acc65c0434f57b0fc11aff" @@ -4980,6 +5297,14 @@ whatwg-mimetype@^2.3.0: resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf" integrity sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g== +whatwg-url@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" + integrity sha1-lmRU6HZUYuN2RNNib2dCzotwll0= + dependencies: + tr46 "~0.0.3" + webidl-conversions "^3.0.0" + whatwg-url@^8.0.0, whatwg-url@^8.5.0: version "8.7.0" resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-8.7.0.tgz#656a78e510ff8f3937bc0bcbe9f5c0ac35941b77" @@ -5024,6 +5349,15 @@ workerpool@6.1.5: resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.1.5.tgz#0f7cf076b6215fd7e1da903ff6f22ddd1886b581" integrity sha512-XdKkCK0Zqc6w3iTxLckiuJ81tiD/o5rBE/m+nXpRCB+/Sq4DqkfXZ/x0jW02DG1tGsfUGXbTJyZDP+eu67haSw== +wrap-ansi@^6.2.0: + version "6.2.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" + integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" @@ -5078,7 +5412,7 @@ yallist@^4.0.0: resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== -yaml@^1.10.0: +yaml@^1.10.0, yaml@^1.10.2: version "1.10.2" resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==