From 10a3b1fd92325d990e24cd7c09f498612f20f93f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 20 Nov 2023 22:09:16 +0800 Subject: [PATCH 001/385] chore(deps): update rust crate codspeed-criterion-compat to 2.3.3 (#34) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- Cargo.lock | 8 ++++---- Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ed713a7..ed2a3f2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -233,9 +233,9 @@ checksum = "cd7cc57abe963c6d3b9d8be5b06ba7c8957a930305ca90304f24ef040aa6f961" [[package]] name = "codspeed" -version = "2.3.1" +version = "2.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "918b13a0f1a32460ab3bd5debd56b5a27a7071fa5ff5dfeb3a5cf291a85b174b" +checksum = "0eb4ab4dcb6554eb4f590fb16f99d3b102ab76f5f56554c9a5340518b32c499b" dependencies = [ "colored", "libc", @@ -244,9 +244,9 @@ dependencies = [ [[package]] name = "codspeed-criterion-compat" -version = "2.3.1" +version = "2.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c683c7fef2b873fbbdf4062782914c652309951244bf0bd362fe608b7d6f901c" +checksum = "cc07a3d3f7e0c8961d0ffdee149d39b231bafdcdc3d978dc5ad790c615f55f3f" dependencies = [ "codspeed", "colored", diff --git a/Cargo.toml b/Cargo.toml index ad0dedb..7fb8340 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ num_cpus = "1.16.0" criterion = { version = "0.5" } rayon = "1.8.0" mimalloc = "0.1.39" -codspeed-criterion-compat = { version = "2.3.1", default-features = false, optional = true } +codspeed-criterion-compat = { version = "2.3.3", default-features = false, optional = true } [features] codspeed = ["codspeed-criterion-compat"] From 383fc370a8ead445b0770fb20f6afc9811e655b6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 21 Nov 2023 08:58:59 +0800 Subject: [PATCH 002/385] chore(deps): update rust crate swc_ecma_parser to 0.141.26 (#38) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ed2a3f2..4efe2ce 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1538,9 +1538,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.141.24" +version = "0.141.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4113ddece99e83aa301c8ee7007bb432717d9f49da1d5b36a01b8e56880a133" +checksum = "9590deff1b29aafbff8901b9d38d00211393f6b17b5cab878562db89a8966d88" dependencies = [ "either", "new_debug_unreachable", diff --git a/Cargo.toml b/Cargo.toml index 7fb8340..4ff8113 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ publish = false oxc_parser = "0.3.0" oxc_allocator = "0.3.0" oxc_span = "0.3.0" -swc_ecma_parser = "0.141.24" +swc_ecma_parser = "0.141.26" swc_ecma_ast = "0.110.10" rome_js_parser = "0.0.2" rome_js_syntax = "0.0.2" From a25df3ade3d73d68ec0df4662fc266bef301bbc4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 23 Nov 2023 10:49:04 +0800 Subject: [PATCH 003/385] chore(deps): update rust crate swc_ecma_parser to 0.141.27 (#39) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4efe2ce..2be1e44 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1538,9 +1538,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.141.26" +version = "0.141.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9590deff1b29aafbff8901b9d38d00211393f6b17b5cab878562db89a8966d88" +checksum = "5c01ab163c83f4e8c0d82382478d142ceecf897e5b2822707fec662a22208287" dependencies = [ "either", "new_debug_unreachable", diff --git a/Cargo.toml b/Cargo.toml index 4ff8113..c4a8837 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ publish = false oxc_parser = "0.3.0" oxc_allocator = "0.3.0" oxc_span = "0.3.0" -swc_ecma_parser = "0.141.26" +swc_ecma_parser = "0.141.27" swc_ecma_ast = "0.110.10" rome_js_parser = "0.0.2" rome_js_syntax = "0.0.2" From 81b8d23a5cba7879b45ef6a940e5ffaf56216d69 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 26 Nov 2023 16:25:03 +0000 Subject: [PATCH 004/385] chore(deps): update rust crate swc_ecma_parser to 0.141.28 --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2be1e44..1713c95 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1538,9 +1538,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.141.27" +version = "0.141.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c01ab163c83f4e8c0d82382478d142ceecf897e5b2822707fec662a22208287" +checksum = "0b8436a58ac9f31068e9bf871e2ce7f3a18fe1d7e3fe8d54abe4896673eae20c" dependencies = [ "either", "new_debug_unreachable", diff --git a/Cargo.toml b/Cargo.toml index c4a8837..d413d82 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ publish = false oxc_parser = "0.3.0" oxc_allocator = "0.3.0" oxc_span = "0.3.0" -swc_ecma_parser = "0.141.27" +swc_ecma_parser = "0.141.28" swc_ecma_ast = "0.110.10" rome_js_parser = "0.0.2" rome_js_syntax = "0.0.2" From 222f8ba4a77fcdead29e5b7c588c56180d06ecbd Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 1 Dec 2023 23:01:02 +0000 Subject: [PATCH 005/385] chore(deps): update swc --- Cargo.lock | 16 ++++++++-------- Cargo.toml | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1713c95..5922594 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1484,9 +1484,9 @@ dependencies = [ [[package]] name = "swc_atoms" -version = "0.6.4" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8a9e1b6d97f27b6abe5571f8fe3bdbd2fa987299fc2126450c7cde6214896ef" +checksum = "7d538eaaa6f085161d088a04cf0a3a5a52c5a7f2b3bd9b83f73f058b0ed357c0" dependencies = [ "hstr", "once_cell", @@ -1496,9 +1496,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.33.9" +version = "0.33.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ccb656cd57c93614e4e8b33a60e75ca095383565c1a8d2bbe6a1103942831e0" +checksum = "6e9319d6d5df09497d920dbc51c937032ac6909a0df617998fe840c7bb8e74e0" dependencies = [ "ast_node", "better_scoped_tls", @@ -1521,9 +1521,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.110.10" +version = "0.110.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c3d416121da2d56bcbd1b1623725a68890af4552fef0c6d1e4bfa92776ccd6a" +checksum = "a730bb24523d1c62b3aec6427938d87ed87c3b26303d8857857ee9828dde1a5e" dependencies = [ "bitflags 2.4.1", "is-macro", @@ -1538,9 +1538,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.141.28" +version = "0.141.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b8436a58ac9f31068e9bf871e2ce7f3a18fe1d7e3fe8d54abe4896673eae20c" +checksum = "bca1e1b95f7495c24ee0fcf791a6482c926a5b48ab20ae90baf9235aa406d6be" dependencies = [ "either", "new_debug_unreachable", diff --git a/Cargo.toml b/Cargo.toml index d413d82..d844e72 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,8 +8,8 @@ publish = false oxc_parser = "0.3.0" oxc_allocator = "0.3.0" oxc_span = "0.3.0" -swc_ecma_parser = "0.141.28" -swc_ecma_ast = "0.110.10" +swc_ecma_parser = "0.141.29" +swc_ecma_ast = "0.110.11" rome_js_parser = "0.0.2" rome_js_syntax = "0.0.2" From 8516089300d2bd5386ee767ceb85114af34f8756 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 2 Dec 2023 15:43:22 +0800 Subject: [PATCH 006/385] chore(deps): update codspeedhq/action action to v2 (#41) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/benchmark.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 5ffeb75..9d8c250 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -35,7 +35,7 @@ jobs: run: cargo codspeed build --features codspeed - name: Run benchmark - uses: CodSpeedHQ/action@v1 + uses: CodSpeedHQ/action@v2 with: run: cargo codspeed run token: ${{ secrets.CODSPEED_TOKEN }} From 50ad87997aa86b6279cec4bad782d9dc035b2361 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 3 Dec 2023 03:32:53 +0000 Subject: [PATCH 007/385] chore(deps): update swc --- Cargo.lock | 8 ++++---- Cargo.toml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5922594..af01273 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1521,9 +1521,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.110.11" +version = "0.110.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a730bb24523d1c62b3aec6427938d87ed87c3b26303d8857857ee9828dde1a5e" +checksum = "203463d666ff3a310ead733b31772e052307bdf967c110ee795f6b12ea2f1c78" dependencies = [ "bitflags 2.4.1", "is-macro", @@ -1538,9 +1538,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.141.29" +version = "0.141.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bca1e1b95f7495c24ee0fcf791a6482c926a5b48ab20ae90baf9235aa406d6be" +checksum = "7a0bd56a321b7e79ce7ef011b96323873f99b23e3ab1e5b78992abb6295d9b6e" dependencies = [ "either", "new_debug_unreachable", diff --git a/Cargo.toml b/Cargo.toml index d844e72..93e69cc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,8 +8,8 @@ publish = false oxc_parser = "0.3.0" oxc_allocator = "0.3.0" oxc_span = "0.3.0" -swc_ecma_parser = "0.141.29" -swc_ecma_ast = "0.110.11" +swc_ecma_parser = "0.141.30" +swc_ecma_ast = "0.110.12" rome_js_parser = "0.0.2" rome_js_syntax = "0.0.2" From dc0669b9dd2b6e694228bd89158676292c46d517 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 8 Dec 2023 16:38:20 +0800 Subject: [PATCH 008/385] chore(deps): update swc (#44) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- Cargo.lock | 45 ++++++++++++++++++++------------------------- Cargo.toml | 4 ++-- 2 files changed, 22 insertions(+), 27 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index af01273..4108ecd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -50,11 +50,10 @@ checksum = "15c4c2c83f81532e5845a733998b6971faca23490340a418e9b72a3ec9de12ea" [[package]] name = "ast_node" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c09c69dffe06d222d072c878c3afe86eee2179806f20503faec97250268b4c24" +checksum = "c3e3e06ec6ac7d893a0db7127d91063ad7d9da8988f8a1a256f03729e6eec026" dependencies = [ - "pmutil", "proc-macro2", "quote", "swc_macros_common", @@ -421,11 +420,10 @@ dependencies = [ [[package]] name = "from_variant" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03ec5dc38ee19078d84a692b1c41181ff9f94331c76cee66ff0208c770b5e54f" +checksum = "3a0b11eeb173ce52f84ebd943d42e58813a2ebb78a6a3ff0a243b71c5199cd7b" dependencies = [ - "pmutil", "proc-macro2", "swc_macros_common", "syn 2.0.29", @@ -1443,11 +1441,10 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "string_enum" -version = "0.4.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fa4d4f81d7c05b9161f8de839975d3326328b8ba2831164b465524cc2f55252" +checksum = "1b650ea2087d32854a0f20b837fc56ec987a1cb4f758c9757e1171ee9812da63" dependencies = [ - "pmutil", "proc-macro2", "quote", "swc_macros_common", @@ -1496,9 +1493,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.33.10" +version = "0.33.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e9319d6d5df09497d920dbc51c937032ac6909a0df617998fe840c7bb8e74e0" +checksum = "9b3ae36feceded27f0178dc9dabb49399830847ffb7f866af01798844de8f973" dependencies = [ "ast_node", "better_scoped_tls", @@ -1521,9 +1518,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.110.12" +version = "0.110.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "203463d666ff3a310ead733b31772e052307bdf967c110ee795f6b12ea2f1c78" +checksum = "c86faae8272c22a59f836d9a3d08899afe1d753fed0432f44fb24193df0da89b" dependencies = [ "bitflags 2.4.1", "is-macro", @@ -1538,9 +1535,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.141.30" +version = "0.141.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a0bd56a321b7e79ce7ef011b96323873f99b23e3ab1e5b78992abb6295d9b6e" +checksum = "5f829f634404e729ad6258f799b4ba69a5b435e046912a4051deab9401ce0739" dependencies = [ "either", "new_debug_unreachable", @@ -1560,11 +1557,10 @@ dependencies = [ [[package]] name = "swc_eq_ignore_macros" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05a95d367e228d52484c53336991fdcf47b6b553ef835d9159db4ba40efb0ee8" +checksum = "695a1d8b461033d32429b5befbf0ad4d7a2c4d6ba9cd5ba4e0645c615839e8e4" dependencies = [ - "pmutil", "proc-macro2", "quote", "syn 2.0.29", @@ -1572,11 +1568,10 @@ dependencies = [ [[package]] name = "swc_macros_common" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a273205ccb09b51fabe88c49f3b34c5a4631c4c00a16ae20e03111d6a42e832" +checksum = "50176cfc1cbc8bb22f41c6fe9d1ec53fbe057001219b5954961b8ad0f336fce9" dependencies = [ - "pmutil", "proc-macro2", "quote", "syn 2.0.29", @@ -1584,9 +1579,9 @@ dependencies = [ [[package]] name = "swc_visit" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e87c337fbb2d191bf371173dea6a957f01899adb8f189c6c31b122a6cfc98fc3" +checksum = "b27078d8571abe23aa52ef608dd1df89096a37d867cf691cbb4f4c392322b7c9" dependencies = [ "either", "swc_visit_macros", @@ -1594,9 +1589,9 @@ dependencies = [ [[package]] name = "swc_visit_macros" -version = "0.5.8" +version = "0.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f322730fb82f3930a450ac24de8c98523af7d34ab8cb2f46bcb405839891a99" +checksum = "fa8bb05975506741555ea4d10c3a3bdb0e2357cd58e1a4a4332b8ebb4b44c34d" dependencies = [ "Inflector", "pmutil", diff --git a/Cargo.toml b/Cargo.toml index 93e69cc..450c5a8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,8 +8,8 @@ publish = false oxc_parser = "0.3.0" oxc_allocator = "0.3.0" oxc_span = "0.3.0" -swc_ecma_parser = "0.141.30" -swc_ecma_ast = "0.110.12" +swc_ecma_parser = "0.141.32" +swc_ecma_ast = "0.110.14" rome_js_parser = "0.0.2" rome_js_syntax = "0.0.2" From a5aacf2e6c5eb338f4d57a98b82740626bb42873 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 8 Dec 2023 09:40:56 +0000 Subject: [PATCH 009/385] chore(deps): update oxc to 0.4.0 --- Cargo.lock | 36 ++++++++++++++++++------------------ Cargo.toml | 6 +++--- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4108ecd..c9c1e8f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -763,9 +763,9 @@ checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f" [[package]] name = "oxc_allocator" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "231c67d27dc19d6ffe2e09d3e2e4d13a537b8fa8372e146a1a59b33c8477666a" +checksum = "90f9e171f4803dfcb4cb2fd68d01b2d1104ea7700bd8ebb03737ea21f050f980" dependencies = [ "bumpalo", "serde", @@ -773,9 +773,9 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcdfd92c3d79e64a5245dcf5d7a83852c66d8ff6d3d83c87e414a428932fc601" +checksum = "a360077a9df63e69eb1cbadb0dba60a20a71ca69dd22356e7356097b1b539c04" dependencies = [ "bitflags 2.4.1", "num-bigint", @@ -788,9 +788,9 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20d5a6ef008448d2b612c78ca9696678eac3cf3719714a76fdc66b66308f865e" +checksum = "3e913e461da12ede55281efee7ac630869336ec8b152515d5f789ff241a951cc" dependencies = [ "is-terminal", "miette", @@ -802,9 +802,9 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c479f28a6b1a82ca1d8341dda76f90078c3c18f3aa2f95794434739a154f751" +checksum = "4c6417e584d58e36d827ae8a012e1880690f10dc3b6fce28619f21d80565fbb2" dependencies = [ "index_vec", "static_assertions", @@ -812,9 +812,9 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fef9529e8fe562c351648226c8c804890677583bb07c4f9d356b8d861aef7d26" +checksum = "ed04222d40b8440c70513cc2f931317261a45d8a09797bbad5fbc83117645343" dependencies = [ "bitflags 2.4.1", "num-bigint", @@ -829,9 +829,9 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34223e67cd835ed1eb5a49c0470bdc0055c16cfee82bdb1854106729df6c85ca" +checksum = "1e143ff7ce0af8f7a0e0822b1aa80eb9a7bc67d6fab792e733e4e3bf4ba6fee0" dependencies = [ "compact_str", "miette", @@ -839,9 +839,9 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "573d315575d0fbc72cbf155170008e7caf4009ab2f583598c0a4b660d5ce4631" +checksum = "f68963fb0c5fa75130122d5620453ce40c406be8c9b701776e23c5a6e58357ec" dependencies = [ "bitflags 2.4.1", "dashmap", @@ -1341,18 +1341,18 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "serde" -version = "1.0.192" +version = "1.0.193" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bca2a08484b285dcb282d0f67b26cadc0df8b19f8c12502c13d966bf9482f001" +checksum = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.192" +version = "1.0.193" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6c7207fbec9faa48073f3e3074cbe553af6ea512d7c21ba46e434e70ea9fbc1" +checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 450c5a8..d9844fd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,9 +5,9 @@ edition = "2021" publish = false [dependencies] -oxc_parser = "0.3.0" -oxc_allocator = "0.3.0" -oxc_span = "0.3.0" +oxc_parser = "0.4.0" +oxc_allocator = "0.4.0" +oxc_span = "0.4.0" swc_ecma_parser = "0.141.32" swc_ecma_ast = "0.110.14" rome_js_parser = "0.0.2" From 07323993d0a98b1f2b23ad6742cfc415455362d1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 12 Dec 2023 17:37:48 +0800 Subject: [PATCH 010/385] chore(deps): update swc (#46) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- Cargo.lock | 8 ++++---- Cargo.toml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c9c1e8f..7d8682b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1518,9 +1518,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.110.14" +version = "0.110.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c86faae8272c22a59f836d9a3d08899afe1d753fed0432f44fb24193df0da89b" +checksum = "2aa3e4c43a071a747bf3e18a5423d47aab54048fdedab550d7f3c662127ba4d8" dependencies = [ "bitflags 2.4.1", "is-macro", @@ -1535,9 +1535,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.141.32" +version = "0.141.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f829f634404e729ad6258f799b4ba69a5b435e046912a4051deab9401ce0739" +checksum = "d643ce57be7c4808cd7a924201aa256188aa2ef9604248cf180c4c3e867b3fd6" dependencies = [ "either", "new_debug_unreachable", diff --git a/Cargo.toml b/Cargo.toml index d9844fd..93870fe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,8 +8,8 @@ publish = false oxc_parser = "0.4.0" oxc_allocator = "0.4.0" oxc_span = "0.4.0" -swc_ecma_parser = "0.141.32" -swc_ecma_ast = "0.110.14" +swc_ecma_parser = "0.141.33" +swc_ecma_ast = "0.110.15" rome_js_parser = "0.0.2" rome_js_syntax = "0.0.2" From 1085c9e8a071dfb49dbdba9a2cbc4656eca51efd Mon Sep 17 00:00:00 2001 From: Arthur Pastel Date: Tue, 12 Dec 2023 10:41:36 +0100 Subject: [PATCH 011/385] Fix `BenchmarkGroup` generic definition (#37) * chore(deps): bump codspeed-criterion-compat to 2.3.3 * fix: add generic parameter to BenchmarkGroup --------- Co-authored-by: Boshen --- benches/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benches/parser.rs b/benches/parser.rs index 5ffea5f..1377825 100644 --- a/benches/parser.rs +++ b/benches/parser.rs @@ -16,7 +16,7 @@ trait Bencher { fn parse(source: &str) -> Self::ParseOutput; - fn bench(g: &mut BenchmarkGroup, source: &str) { + fn bench(g: &mut BenchmarkGroup<'_, WallTime>, source: &str) { let cpus = num_cpus::get_physical(); let id = BenchmarkId::new(Self::ID, "single-thread"); g.bench_with_input(id, &source, |b, source| b.iter(|| Self::parse(source))); From 53f3f6b41bcb1ddea9295a9f722ec02308930306 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 29 Dec 2023 09:57:15 +0000 Subject: [PATCH 012/385] chore(deps): update rust crate swc_ecma_parser to 0.141.34 --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7d8682b..34a745f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1535,9 +1535,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.141.33" +version = "0.141.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d643ce57be7c4808cd7a924201aa256188aa2ef9604248cf180c4c3e867b3fd6" +checksum = "2a67621d078321fb09e73ebe3084da09c352a5dfc1075c6ee833dea2c0209529" dependencies = [ "either", "new_debug_unreachable", diff --git a/Cargo.toml b/Cargo.toml index 93870fe..6053e78 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ publish = false oxc_parser = "0.4.0" oxc_allocator = "0.4.0" oxc_span = "0.4.0" -swc_ecma_parser = "0.141.33" +swc_ecma_parser = "0.141.34" swc_ecma_ast = "0.110.15" rome_js_parser = "0.0.2" rome_js_syntax = "0.0.2" From e59c5939411b79827d5bce543ee9c752dad838a6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 4 Jan 2024 16:00:05 +0800 Subject: [PATCH 013/385] chore(deps): update swc (#48) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- Cargo.lock | 8 ++++---- Cargo.toml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 34a745f..51a51cb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1518,9 +1518,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.110.15" +version = "0.110.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2aa3e4c43a071a747bf3e18a5423d47aab54048fdedab550d7f3c662127ba4d8" +checksum = "79401a45da704f4fb2552c5bf86ee2198e8636b121cb81f8036848a300edd53b" dependencies = [ "bitflags 2.4.1", "is-macro", @@ -1535,9 +1535,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.141.34" +version = "0.141.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a67621d078321fb09e73ebe3084da09c352a5dfc1075c6ee833dea2c0209529" +checksum = "c428567c91f8e27d92757691f769584a6e6a9828a23d959ce3570c3f2362f6ef" dependencies = [ "either", "new_debug_unreachable", diff --git a/Cargo.toml b/Cargo.toml index 6053e78..852128c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,8 +8,8 @@ publish = false oxc_parser = "0.4.0" oxc_allocator = "0.4.0" oxc_span = "0.4.0" -swc_ecma_parser = "0.141.34" -swc_ecma_ast = "0.110.15" +swc_ecma_parser = "0.141.36" +swc_ecma_ast = "0.110.17" rome_js_parser = "0.0.2" rome_js_syntax = "0.0.2" From c8d9868843cab4db7b9dff69855d15cec82194e6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 4 Jan 2024 13:55:13 +0000 Subject: [PATCH 014/385] chore(deps): update rust crate swc_ecma_parser to 0.141.37 --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 51a51cb..df8239a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1535,9 +1535,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.141.36" +version = "0.141.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c428567c91f8e27d92757691f769584a6e6a9828a23d959ce3570c3f2362f6ef" +checksum = "c4d17401dd95048a6a62b777d533c0999dabdd531ef9d667e22f8ae2a2a0d294" dependencies = [ "either", "new_debug_unreachable", diff --git a/Cargo.toml b/Cargo.toml index 852128c..6abe963 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ publish = false oxc_parser = "0.4.0" oxc_allocator = "0.4.0" oxc_span = "0.4.0" -swc_ecma_parser = "0.141.36" +swc_ecma_parser = "0.141.37" swc_ecma_ast = "0.110.17" rome_js_parser = "0.0.2" rome_js_syntax = "0.0.2" From b026e995efc44e9f19b0fe3c70633a2a8c0b6d2d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 12 Jan 2024 17:37:29 +0000 Subject: [PATCH 015/385] chore(deps): update oxc to 0.5.0 --- Cargo.lock | 182 ++++++++++++++++++++++++++++++++++++----------------- Cargo.toml | 6 +- 2 files changed, 127 insertions(+), 61 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index df8239a..acb73d7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -57,7 +57,7 @@ dependencies = [ "proc-macro2", "quote", "swc_macros_common", - "syn 2.0.29", + "syn 2.0.48", ] [[package]] @@ -260,7 +260,7 @@ checksum = "2674ec482fbc38012cf31e6c42ba0177b431a0cb6f15fe40efa5aab1bda516f6" dependencies = [ "is-terminal", "lazy_static", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] @@ -396,7 +396,7 @@ checksum = "6b30f669a7961ef1631673d2766cc92f52d64f7ef354d4fe0ddfd30ed52f0f4f" dependencies = [ "errno-dragonfly", "libc", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] @@ -426,7 +426,7 @@ checksum = "3a0b11eeb173ce52f84ebd943d42e58813a2ebb78a6a3ff0a243b71c5199cd7b" dependencies = [ "proc-macro2", "swc_macros_common", - "syn 2.0.29", + "syn 2.0.48", ] [[package]] @@ -527,18 +527,18 @@ dependencies = [ "pmutil", "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.48", ] [[package]] name = "is-terminal" -version = "0.4.9" +version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" +checksum = "0bad00257d07be169d870ab665980b06cdb366d792ad690bf2e76876dc503455" dependencies = [ "hermit-abi 0.3.2", "rustix", - "windows-sys", + "windows-sys 0.52.0", ] [[package]] @@ -666,7 +666,7 @@ checksum = "49e7bc1560b95a3c4a25d03de42fe76ca718ab92d1a22a55b9b4cf67b3ae635c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.48", ] [[package]] @@ -763,9 +763,9 @@ checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f" [[package]] name = "oxc_allocator" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90f9e171f4803dfcb4cb2fd68d01b2d1104ea7700bd8ebb03737ea21f050f980" +checksum = "6af07742198b0033124a2deeb7095414af37cba8f670cb91599436b1bfce629b" dependencies = [ "bumpalo", "serde", @@ -773,9 +773,9 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a360077a9df63e69eb1cbadb0dba60a20a71ca69dd22356e7356097b1b539c04" +checksum = "0bce81ea180801e40f7a9b7c2eeea16f28d3405b7f5f3395ae3094f73d584743" dependencies = [ "bitflags 2.4.1", "num-bigint", @@ -788,9 +788,9 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e913e461da12ede55281efee7ac630869336ec8b152515d5f789ff241a951cc" +checksum = "a2f0b55d4af3da3130ca9d0011afe0c791b88de6e2c072bcc62872b5996d640d" dependencies = [ "is-terminal", "miette", @@ -802,9 +802,9 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c6417e584d58e36d827ae8a012e1880690f10dc3b6fce28619f21d80565fbb2" +checksum = "221324076f492fb36416cb4e80149b75dfa2b061b73fc60c0f10a22858fd7705" dependencies = [ "index_vec", "static_assertions", @@ -812,9 +812,9 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed04222d40b8440c70513cc2f931317261a45d8a09797bbad5fbc83117645343" +checksum = "b8ad996ad3056e2383e8675417231d8c6a24d16f5487eea6aa3c15593627bc5e" dependencies = [ "bitflags 2.4.1", "num-bigint", @@ -829,9 +829,9 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e143ff7ce0af8f7a0e0822b1aa80eb9a7bc67d6fab792e733e4e3bf4ba6fee0" +checksum = "4acf5411d1cb936465632d3b5b5b6405d4621a9055153990415e747e6c7f72c3" dependencies = [ "compact_str", "miette", @@ -839,9 +839,9 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f68963fb0c5fa75130122d5620453ce40c406be8c9b701776e23c5a6e58357ec" +checksum = "20b52c9bc623226b36f79eecd74d1faa3404be91d050e1f0c6db3a6298371f19" dependencies = [ "bitflags 2.4.1", "dashmap", @@ -863,7 +863,7 @@ dependencies = [ "libc", "redox_syscall", "smallvec", - "windows-targets", + "windows-targets 0.48.5", ] [[package]] @@ -902,7 +902,7 @@ dependencies = [ "phf_shared", "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.48", ] [[package]] @@ -962,7 +962,7 @@ checksum = "52a40bc70c2c58040d2d8b167ba9a5ff59fc9dab7ad44771cfde3dcfde7a09c6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.48", ] [[package]] @@ -990,9 +990,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.66" +version = "1.0.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9" +checksum = "95fc56cda0b5c3325f5fbbd7ff9fda9e02bb00bb3dac51252d2f1bfa1cb8cc8c" dependencies = [ "unicode-ident", ] @@ -1008,9 +1008,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.33" +version = "1.0.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" +checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" dependencies = [ "proc-macro2", ] @@ -1279,7 +1279,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] @@ -1341,22 +1341,22 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "serde" -version = "1.0.193" +version = "1.0.195" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89" +checksum = "63261df402c67811e9ac6def069e4786148c4563f4b50fd4bf30aa370d626b02" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.193" +version = "1.0.195" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3" +checksum = "46fe8f8603d81ba86327b23a2e9cdf49e1255fb94a4c5f297f6ee0547178ea2c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.48", ] [[package]] @@ -1448,7 +1448,7 @@ dependencies = [ "proc-macro2", "quote", "swc_macros_common", - "syn 2.0.29", + "syn 2.0.48", ] [[package]] @@ -1563,7 +1563,7 @@ checksum = "695a1d8b461033d32429b5befbf0ad4d7a2c4d6ba9cd5ba4e0645c615839e8e4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.48", ] [[package]] @@ -1574,7 +1574,7 @@ checksum = "50176cfc1cbc8bb22f41c6fe9d1ec53fbe057001219b5954961b8ad0f336fce9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.48", ] [[package]] @@ -1598,7 +1598,7 @@ dependencies = [ "proc-macro2", "quote", "swc_macros_common", - "syn 2.0.29", + "syn 2.0.48", ] [[package]] @@ -1614,9 +1614,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.29" +version = "2.0.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c324c494eba9d92503e6f1ef2e6df781e78f6a7705a0202d9801b198807d518a" +checksum = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f" dependencies = [ "proc-macro2", "quote", @@ -1655,22 +1655,22 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.50" +version = "1.0.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9a7210f5c9a7156bb50aa36aed4c95afb51df0df00713949448cf9e97d382d2" +checksum = "d54378c645627613241d077a3a79db965db602882668f9136ac42af9ecb730ad" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.50" +version = "1.0.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8" +checksum = "fa0faa943b50f3db30a20aa7e265dbc66076993efed8463e8de414e5d06d3471" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.48", ] [[package]] @@ -1718,7 +1718,7 @@ checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.48", ] [[package]] @@ -1835,7 +1835,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.48", "wasm-bindgen-shared", ] @@ -1857,7 +1857,7 @@ checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.48", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -1915,7 +1915,16 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" dependencies = [ - "windows-targets", + "windows-targets 0.48.5", +] + +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.0", ] [[package]] @@ -1924,13 +1933,28 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc", + "windows_aarch64_gnullvm 0.48.5", + "windows_aarch64_msvc 0.48.5", + "windows_i686_gnu 0.48.5", + "windows_i686_msvc 0.48.5", + "windows_x86_64_gnu 0.48.5", + "windows_x86_64_gnullvm 0.48.5", + "windows_x86_64_msvc 0.48.5", +] + +[[package]] +name = "windows-targets" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" +dependencies = [ + "windows_aarch64_gnullvm 0.52.0", + "windows_aarch64_msvc 0.52.0", + "windows_i686_gnu 0.52.0", + "windows_i686_msvc 0.52.0", + "windows_x86_64_gnu 0.52.0", + "windows_x86_64_gnullvm 0.52.0", + "windows_x86_64_msvc 0.52.0", ] [[package]] @@ -1939,38 +1963,80 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" + [[package]] name = "windows_aarch64_msvc" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" + [[package]] name = "windows_i686_gnu" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" +[[package]] +name = "windows_i686_gnu" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" + [[package]] name = "windows_i686_msvc" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" +[[package]] +name = "windows_i686_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" + [[package]] name = "windows_x86_64_gnu" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" + [[package]] name = "windows_x86_64_gnullvm" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" + [[package]] name = "windows_x86_64_msvc" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" diff --git a/Cargo.toml b/Cargo.toml index 6abe963..7f8a020 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,9 +5,9 @@ edition = "2021" publish = false [dependencies] -oxc_parser = "0.4.0" -oxc_allocator = "0.4.0" -oxc_span = "0.4.0" +oxc_parser = "0.5.0" +oxc_allocator = "0.5.0" +oxc_span = "0.5.0" swc_ecma_parser = "0.141.37" swc_ecma_ast = "0.110.17" rome_js_parser = "0.0.2" From 08d2b65ae2d232b612c2c4b1ae80b5312cf28c5b Mon Sep 17 00:00:00 2001 From: Boshen Date: Sat, 13 Jan 2024 11:12:35 +0800 Subject: [PATCH 016/385] change rome to biome, change oxc crates to the umbrella crate (#51) --- Cargo.lock | 400 +++++++++++++++++++++++----------------------- Cargo.toml | 8 +- benches/parser.rs | 30 ++-- 3 files changed, 222 insertions(+), 216 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index acb73d7..7dcc32b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -60,17 +60,6 @@ dependencies = [ "syn 2.0.48", ] -[[package]] -name = "atty" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi 0.1.19", - "libc", - "winapi", -] - [[package]] name = "autocfg" version = "1.1.0" @@ -96,16 +85,14 @@ dependencies = [ name = "bench-parser" version = "0.1.0" dependencies = [ + "biome_js_parser", + "biome_js_syntax", "codspeed-criterion-compat", "criterion", "mimalloc", "num_cpus", - "oxc_allocator", - "oxc_parser", - "oxc_span", + "oxc", "rayon", - "rome_js_parser", - "rome_js_syntax", "swc_ecma_ast", "swc_ecma_parser", ] @@ -119,6 +106,170 @@ dependencies = [ "scoped-tls", ] +[[package]] +name = "biome_console" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e06770dd170a0a946e158299dd5b586b1c74395a5e83abecf21a698caf0c3c3" +dependencies = [ + "biome_markup", + "biome_text_size", + "schemars", + "serde", + "termcolor", + "unicode-width", +] + +[[package]] +name = "biome_diagnostics" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22249d2595504131f2d341c5599c0f070aeeac27b287442ec2eb17c7d64ceda7" +dependencies = [ + "backtrace", + "biome_console", + "biome_diagnostics_categories", + "biome_diagnostics_macros", + "biome_rowan", + "biome_text_edit", + "biome_text_size", + "bitflags 2.4.1", + "bpaf", + "serde", + "termcolor", + "unicode-width", +] + +[[package]] +name = "biome_diagnostics_categories" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40bef2538ef9f1114430f230f2a3a5c1b8a68efa30edd7dffe70a205bdee6bc2" +dependencies = [ + "quote", + "serde", +] + +[[package]] +name = "biome_diagnostics_macros" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ed9c16de38fd90f67d8282c55437f15c600db1ef257d7c64e5dedf9e893940a" +dependencies = [ + "proc-macro-error", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "biome_js_factory" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b3136fe5a631d06d5abf77921f0aa782c9ee5f135b8501755f8e8350631dfb7f" +dependencies = [ + "biome_js_syntax", + "biome_rowan", +] + +[[package]] +name = "biome_js_parser" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59c0b1799f891a5ab5abf31514ed2fd07bb07d330070e29e4de1bd293e465438" +dependencies = [ + "biome_console", + "biome_diagnostics", + "biome_js_factory", + "biome_js_syntax", + "biome_js_unicode_table", + "biome_parser", + "biome_rowan", + "bitflags 2.4.1", + "cfg-if", + "drop_bomb", + "indexmap 1.9.3", + "serde", + "serde_json", + "smallvec", + "tracing", +] + +[[package]] +name = "biome_js_syntax" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9123228b4618aade47e5163de5230dc823f634687dc9f4af0b58611c0b123a98" +dependencies = [ + "biome_console", + "biome_diagnostics", + "biome_rowan", +] + +[[package]] +name = "biome_js_unicode_table" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8824deb43583bf10c1fda78c801936a9e94cc5f3d189f3ef158cdfc1f7e357a5" + +[[package]] +name = "biome_markup" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90951c10877cf69922c3a7ed960aaa5062a84d3faa9373845e326b881d065254" +dependencies = [ + "proc-macro-error", + "proc-macro2", + "quote", +] + +[[package]] +name = "biome_parser" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e105f18a01eaf94d8c5dee01d24bdf73c08d11d2536641fec862fdb4e188a37b" +dependencies = [ + "biome_console", + "biome_diagnostics", + "biome_rowan", + "drop_bomb", +] + +[[package]] +name = "biome_rowan" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee6eda8f80e98d200bff438feb28e209aefffbaac1e9e3cedb367c1ea435e93a" +dependencies = [ + "biome_text_edit", + "biome_text_size", + "countme", + "hashbrown 0.12.3", + "memoffset 0.8.0", + "rustc-hash", + "tracing", +] + +[[package]] +name = "biome_text_edit" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "042c3850b030b827e715d5b3c200147af29bd6a7c80d9296aa9552d74c5ff6c7" +dependencies = [ + "biome_text_size", + "serde", + "similar", +] + +[[package]] +name = "biome_text_size" +version = "0.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f3912177d21e228cca279e30b2e8ca7ba02cd29dcd335aaa283de680c36d619" +dependencies = [ + "serde", +] + [[package]] name = "bitflags" version = "1.3.2" @@ -131,6 +282,26 @@ version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" +[[package]] +name = "bpaf" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19232d7d855392d993f6dabd8dea40a457a6d24ef679fe98f5edca811bb11e21" +dependencies = [ + "bpaf_derive", +] + +[[package]] +name = "bpaf_derive" +version = "0.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "efeab2975f8102de445dcf898856a638332403c50216144653a89aec22fd79e0" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.48", +] + [[package]] name = "bstr" version = "0.2.17" @@ -453,15 +624,6 @@ version = "0.14.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f93e7192158dbcda357bdec5fb5788eebf8bbac027f3f33e719d29135ae84156" -[[package]] -name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - [[package]] name = "hermit-abi" version = "0.3.2" @@ -536,7 +698,7 @@ version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0bad00257d07be169d870ab665980b06cdb366d792ad690bf2e76876dc503455" dependencies = [ - "hermit-abi 0.3.2", + "hermit-abi", "rustix", "windows-sys 0.52.0", ] @@ -730,7 +892,7 @@ version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "hermit-abi 0.3.2", + "hermit-abi", "libc", ] @@ -761,6 +923,21 @@ version = "3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f" +[[package]] +name = "oxc" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78e0fb86e8840c5f929a65744fc995b3267dd0b569219bf977568c2f6f8592d9" +dependencies = [ + "oxc_allocator", + "oxc_ast", + "oxc_diagnostics", + "oxc_index", + "oxc_parser", + "oxc_span", + "oxc_syntax", +] + [[package]] name = "oxc_allocator" version = "0.5.0" @@ -914,12 +1091,6 @@ dependencies = [ "siphasher", ] -[[package]] -name = "pico-args" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5be167a7af36ee22fe3115051bc51f6e6c7054c9348e28deb4f49bd6f705a315" - [[package]] name = "pin-project-lite" version = "0.2.13" @@ -1094,169 +1265,6 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2" -[[package]] -name = "rome_console" -version = "0.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "219dce5ca93a15fa88996b449436ae3bdc74420daa91d5091cf9616215a75653" -dependencies = [ - "atty", - "rome_markup", - "rome_text_size", - "schemars", - "serde", - "termcolor", - "unicode-width", -] - -[[package]] -name = "rome_diagnostics" -version = "0.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2d9edb8434ebf3b807f58c54cde01229a6b445836191ff7bfd08926823163d9" -dependencies = [ - "backtrace", - "bitflags 1.3.2", - "pico-args", - "rome_console", - "rome_diagnostics_categories", - "rome_diagnostics_macros", - "rome_rowan", - "rome_text_edit", - "rome_text_size", - "serde", - "termcolor", - "unicode-width", -] - -[[package]] -name = "rome_diagnostics_categories" -version = "0.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd97cd7cfa1bb6e8d0c3dcdd490a37107cc9c87f3c0b5e832aa4a47dc9c0fa5b" -dependencies = [ - "quote", - "serde", -] - -[[package]] -name = "rome_diagnostics_macros" -version = "0.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d83e4826d051453eccb48f1250b6686f6c2856e5bf4e050cd9f504beaff23a91" -dependencies = [ - "proc-macro-error", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "rome_js_factory" -version = "0.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a109fd33f2f9e0682815e868daa37edd349fbd6dbc6fe17b21cdb16f2f3afa02" -dependencies = [ - "rome_js_syntax", - "rome_rowan", -] - -[[package]] -name = "rome_js_parser" -version = "0.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5970b4353a494a9d6ea0b8d4aa6bddf35969af30a211f4b9279800edcc429456" -dependencies = [ - "bitflags 1.3.2", - "cfg-if", - "drop_bomb", - "indexmap 1.9.3", - "rome_console", - "rome_diagnostics", - "rome_js_factory", - "rome_js_syntax", - "rome_js_unicode_table", - "rome_parser", - "rome_rowan", - "smallvec", - "tracing", -] - -[[package]] -name = "rome_js_syntax" -version = "0.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "846a59897b4efbed71291e672e9493ba94e324cdea7b1de20bcf1a6a0192b18e" -dependencies = [ - "rome_console", - "rome_diagnostics", - "rome_rowan", -] - -[[package]] -name = "rome_js_unicode_table" -version = "0.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c1af6dd608616845e04b0f3bf293b2b0a31ea955bd9291e7275a2824185ba7d" - -[[package]] -name = "rome_markup" -version = "0.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e55ee3bf8452f29f0b358c873a68a5607ed16293855e4d480407e00bb8b93ac1" -dependencies = [ - "proc-macro-error", - "proc-macro2", - "quote", -] - -[[package]] -name = "rome_parser" -version = "0.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "641dfe59d9176d7dce4bf77b6214691f8da74efd4846b6503cc8de499b38dea5" -dependencies = [ - "drop_bomb", - "rome_console", - "rome_diagnostics", - "rome_rowan", -] - -[[package]] -name = "rome_rowan" -version = "0.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "033d926a669a4b16bcd47a2c4ebbf69c7f59959e9a6a9c21155dea035f45686e" -dependencies = [ - "countme", - "hashbrown 0.12.3", - "memoffset 0.8.0", - "rome_text_edit", - "rome_text_size", - "rustc-hash", - "tracing", -] - -[[package]] -name = "rome_text_edit" -version = "0.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "990c0736f9353a4d2c374668e2a3c58fd4f5d581785c946313768c005d2da3f7" -dependencies = [ - "rome_text_size", - "serde", - "similar", -] - -[[package]] -name = "rome_text_size" -version = "0.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34bc95f523391df6dc37fc326d6fc892c80819a5f96457dc286f98ae3983691c" -dependencies = [ - "serde", -] - [[package]] name = "rustc-demangle" version = "0.1.23" diff --git a/Cargo.toml b/Cargo.toml index 7f8a020..c6559a3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,13 +5,11 @@ edition = "2021" publish = false [dependencies] -oxc_parser = "0.5.0" -oxc_allocator = "0.5.0" -oxc_span = "0.5.0" +oxc = "0.5.0" swc_ecma_parser = "0.141.37" swc_ecma_ast = "0.110.17" -rome_js_parser = "0.0.2" -rome_js_syntax = "0.0.2" +biome_js_parser = "0.0.2" +biome_js_syntax = "0.0.2" num_cpus = "1.16.0" criterion = { version = "0.5" } diff --git a/benches/parser.rs b/benches/parser.rs index 1377825..af476c3 100644 --- a/benches/parser.rs +++ b/benches/parser.rs @@ -1,15 +1,15 @@ #[cfg(not(codspeed))] -pub use criterion::{measurement::*, *}; +pub use criterion::{measurement::WallTime, *}; #[cfg(codspeed)] -pub use codspeed_criterion_compat::{measurement::*, *}; +pub use codspeed_criterion_compat::{measurement::WallTime, *}; use rayon::prelude::*; #[global_allocator] static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc; -trait Bencher { +trait TheBencher { type ParseOutput; const ID: &'static str; @@ -39,22 +39,22 @@ trait Bencher { struct OxcBencher; -impl Bencher for OxcBencher { - type ParseOutput = oxc_allocator::Allocator; +impl TheBencher for OxcBencher { + type ParseOutput = oxc::allocator::Allocator; const ID: &'static str = "oxc"; fn parse(source: &str) -> Self::ParseOutput { - let allocator = oxc_allocator::Allocator::default(); - let source_type = oxc_span::SourceType::default(); - _ = oxc_parser::Parser::new(&allocator, source, source_type).parse(); + let allocator = oxc::allocator::Allocator::default(); + let source_type = oxc::span::SourceType::default(); + _ = oxc::parser::Parser::new(&allocator, source, source_type).parse(); allocator } } struct SwcBencher; -impl Bencher for SwcBencher { +impl TheBencher for SwcBencher { type ParseOutput = swc_ecma_parser::PResult; const ID: &'static str = "swc"; @@ -70,15 +70,15 @@ impl Bencher for SwcBencher { } } -struct RomeBencher; +struct BiomeBencher; -impl Bencher for RomeBencher { - type ParseOutput = rome_js_parser::Parse; +impl TheBencher for BiomeBencher { + type ParseOutput = biome_js_parser::Parse; - const ID: &'static str = "rome"; + const ID: &'static str = "biome"; fn parse(source: &str) -> Self::ParseOutput { - rome_js_parser::parse_module(source) + biome_js_parser::parse_module(source, biome_js_parser::JsParserOptions::default()) } } @@ -89,7 +89,7 @@ fn parser_benchmark(c: &mut Criterion) { let mut g = c.benchmark_group(filename); OxcBencher::bench(&mut g, &source); SwcBencher::bench(&mut g, &source); - RomeBencher::bench(&mut g, &source); + BiomeBencher::bench(&mut g, &source); g.finish(); } From bab0348f7894ee52ad10c6287de18a318b23a102 Mon Sep 17 00:00:00 2001 From: Boshen Date: Sat, 13 Jan 2024 10:52:59 +0800 Subject: [PATCH 017/385] rome -> biome --- BENCHMARKS.md | 2 +- README.md | 4 ++-- bar-graph.svg | 2 +- renovate.json | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/BENCHMARKS.md b/BENCHMARKS.md index b7927d9..4f08aa1 100644 --- a/BENCHMARKS.md +++ b/BENCHMARKS.md @@ -9,7 +9,7 @@ ### typescript.js -| | `oxc` | `swc` | `rome` | +| | `oxc` | `swc` | `Biome` | |:--------------------|:-------------------------|:---------------------------------|:--------------------------------- | | **`single-thread`** | `55.86 ms` (✅ **1.00x**) | `108.68 ms` (❌ *1.95x slower*) | `168.88 ms` (❌ *3.02x slower*) | | **`no-drop`** | `56.17 ms` (✅ **1.00x**) | `101.47 ms` (❌ *1.81x slower*) | `159.46 ms` (❌ *2.84x slower*) | diff --git a/README.md b/README.md index ab6c88c..5f601fa 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Benchmark for Oxc, Swc and Rome parser +# Benchmark for Oxc, Swc and Biome parser The purpose of this benchmark is for people who wants to evaluate and compare the performance characteristics of these parsers. @@ -9,7 +9,7 @@ The purpose of this benchmark is for people who wants to evaluate and compare th -| | `oxc` | `swc` | `rome` | +| | `oxc` | `swc` | `Biome` | |:--------------------|:-------------------------|:---------------------------------|:--------------------------------- | | **`single-thread`** | `55.86 ms` (**1.00x**) | `108.68 ms` (*1.95x slower*) | `168.88 ms` (*3.02x slower*) | | **`no-drop`** | `56.17 ms` (**1.00x**) | `101.47 ms` (*1.81x slower*) | `159.46 ms` (*2.84x slower*) | diff --git a/bar-graph.svg b/bar-graph.svg index e38739b..118629a 100644 --- a/bar-graph.svg +++ b/bar-graph.svg @@ -13,7 +13,7 @@ swc -rome +biome diff --git a/renovate.json b/renovate.json index 8f3e66a..bb0866d 100644 --- a/renovate.json +++ b/renovate.json @@ -13,8 +13,8 @@ "automerge": true }, { - "matchPackagePatterns": ["rome"], - "groupName": "rome", + "matchPackagePatterns": ["biome"], + "groupName": "biome", "automerge": true } ] From 2abedee2047c78ece4d338e8822c028b7317c4d1 Mon Sep 17 00:00:00 2001 From: Boshen Date: Sat, 13 Jan 2024 11:38:20 +0800 Subject: [PATCH 018/385] biome 0.4.0 --- Cargo.lock | 72 +++++++++++++++++++++++++++++++----------------------- Cargo.toml | 4 +-- 2 files changed, 43 insertions(+), 33 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7dcc32b..cb54912 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -108,23 +108,24 @@ dependencies = [ [[package]] name = "biome_console" -version = "0.0.2" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e06770dd170a0a946e158299dd5b586b1c74395a5e83abecf21a698caf0c3c3" +checksum = "e801b86209b829c6ce55108996e03e9e1a0786e79f61d43137c135acd1b4a51b" dependencies = [ "biome_markup", "biome_text_size", "schemars", "serde", "termcolor", + "unicode-segmentation", "unicode-width", ] [[package]] name = "biome_diagnostics" -version = "0.0.2" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22249d2595504131f2d341c5599c0f070aeeac27b287442ec2eb17c7d64ceda7" +checksum = "43d93102e3dadea07a7ea9885bbf0e0e950b27fccc498fd7e4821119015f6325" dependencies = [ "backtrace", "biome_console", @@ -142,9 +143,9 @@ dependencies = [ [[package]] name = "biome_diagnostics_categories" -version = "0.0.2" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40bef2538ef9f1114430f230f2a3a5c1b8a68efa30edd7dffe70a205bdee6bc2" +checksum = "34791403d644da87618aca74647109e6010d99a6f3f9aa160c0df62c9fd3857c" dependencies = [ "quote", "serde", @@ -152,9 +153,9 @@ dependencies = [ [[package]] name = "biome_diagnostics_macros" -version = "0.0.2" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ed9c16de38fd90f67d8282c55437f15c600db1ef257d7c64e5dedf9e893940a" +checksum = "173ad879c94cee9fb2467b137bd44ed69823d3effbae97b4fdad9d3b0aed06b6" dependencies = [ "proc-macro-error", "proc-macro2", @@ -164,9 +165,9 @@ dependencies = [ [[package]] name = "biome_js_factory" -version = "0.0.2" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3136fe5a631d06d5abf77921f0aa782c9ee5f135b8501755f8e8350631dfb7f" +checksum = "2ae6461aecbbdae98d8a002f1985cb330994831be697f2c29bf380e595489ce5" dependencies = [ "biome_js_syntax", "biome_rowan", @@ -174,49 +175,45 @@ dependencies = [ [[package]] name = "biome_js_parser" -version = "0.0.2" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59c0b1799f891a5ab5abf31514ed2fd07bb07d330070e29e4de1bd293e465438" +checksum = "4ecd2414c34496613ca898d52c7ab023e3214a858c0fdabe6bae08e60f14c879" dependencies = [ "biome_console", "biome_diagnostics", "biome_js_factory", "biome_js_syntax", - "biome_js_unicode_table", "biome_parser", "biome_rowan", + "biome_unicode_table", "bitflags 2.4.1", "cfg-if", "drop_bomb", "indexmap 1.9.3", + "rustc-hash", "serde", "serde_json", "smallvec", "tracing", + "unicode-bom", ] [[package]] name = "biome_js_syntax" -version = "0.0.2" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9123228b4618aade47e5163de5230dc823f634687dc9f4af0b58611c0b123a98" +checksum = "7eedd52d731eb06aa9419d87e4133c684e4a927c5d30e38a45034d35318121f0" dependencies = [ "biome_console", "biome_diagnostics", "biome_rowan", ] -[[package]] -name = "biome_js_unicode_table" -version = "0.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8824deb43583bf10c1fda78c801936a9e94cc5f3d189f3ef158cdfc1f7e357a5" - [[package]] name = "biome_markup" -version = "0.0.2" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90951c10877cf69922c3a7ed960aaa5062a84d3faa9373845e326b881d065254" +checksum = "56b52257edee7dae0e0635f701bdee492207081f68e709112a3f149c5885c1f5" dependencies = [ "proc-macro-error", "proc-macro2", @@ -225,21 +222,22 @@ dependencies = [ [[package]] name = "biome_parser" -version = "0.0.2" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e105f18a01eaf94d8c5dee01d24bdf73c08d11d2536641fec862fdb4e188a37b" +checksum = "3f11087255514c6dde2cf33b1b721711243762a03ea73ef95db7cd5b05241cca" dependencies = [ "biome_console", "biome_diagnostics", "biome_rowan", + "bitflags 2.4.1", "drop_bomb", ] [[package]] name = "biome_rowan" -version = "0.0.2" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee6eda8f80e98d200bff438feb28e209aefffbaac1e9e3cedb367c1ea435e93a" +checksum = "a6bf559e4515c6bfa100dbd7db9a15094d383f3a861105bd74500824c03b7fad" dependencies = [ "biome_text_edit", "biome_text_size", @@ -252,9 +250,9 @@ dependencies = [ [[package]] name = "biome_text_edit" -version = "0.0.2" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "042c3850b030b827e715d5b3c200147af29bd6a7c80d9296aa9552d74c5ff6c7" +checksum = "755e062d19c08eaaea7be234e9e1bcc4f3b716e7eb2cd27556fbe7975b4c38fc" dependencies = [ "biome_text_size", "serde", @@ -263,13 +261,19 @@ dependencies = [ [[package]] name = "biome_text_size" -version = "0.0.4" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f3912177d21e228cca279e30b2e8ca7ba02cd29dcd335aaa283de680c36d619" +checksum = "b8aaf6be95c212a67fca69cbbf92ab67730c1c3b1ff2042f4741fa5c480aaeb8" dependencies = [ "serde", ] +[[package]] +name = "biome_unicode_table" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "399ef35031b705fcfe73fe5cf7eebb7b41eff7ef973c625b9aef1bb4abdb3402" + [[package]] name = "bitflags" version = "1.3.2" @@ -1750,6 +1754,12 @@ version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" +[[package]] +name = "unicode-bom" +version = "2.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7eec5d1121208364f6793f7d2e222bf75a915c19557537745b195b253dd64217" + [[package]] name = "unicode-id" version = "0.3.3" diff --git a/Cargo.toml b/Cargo.toml index c6559a3..6cb2097 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,8 +8,8 @@ publish = false oxc = "0.5.0" swc_ecma_parser = "0.141.37" swc_ecma_ast = "0.110.17" -biome_js_parser = "0.0.2" -biome_js_syntax = "0.0.2" +biome_js_parser = "0.4.0" +biome_js_syntax = "0.4.0" num_cpus = "1.16.0" criterion = { version = "0.5" } From 135f2905480e0ce892711222c721f46722b3bab6 Mon Sep 17 00:00:00 2001 From: Boshen Date: Sat, 13 Jan 2024 12:22:06 +0800 Subject: [PATCH 019/385] rust v1.75.0 (#54) --- rust-toolchain.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 9e09111..31f1ac6 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.73.0" +channel = "1.75.0" profile = "minimal" From e1a9ce6a89bfe0e7fe49051c6a2e2b7829727975 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 17 Jan 2024 20:31:59 +0000 Subject: [PATCH 020/385] chore(deps): update rust crate rayon to 1.8.1 --- Cargo.lock | 8 ++++---- Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cb54912..e9c1808 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1207,9 +1207,9 @@ checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" [[package]] name = "rayon" -version = "1.8.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c27db03db7734835b3f53954b534c91069375ce6ccaa2e065441e07d9b6cdb1" +checksum = "fa7237101a77a10773db45d62004a272517633fbcc3df19d96455ede1122e051" dependencies = [ "either", "rayon-core", @@ -1217,9 +1217,9 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.12.0" +version = "1.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ce3fb6ad83f861aac485e76e1985cd109d9a3713802152be56c3b1f0e0658ed" +checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" dependencies = [ "crossbeam-deque", "crossbeam-utils", diff --git a/Cargo.toml b/Cargo.toml index 6cb2097..dc79edb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ biome_js_syntax = "0.4.0" num_cpus = "1.16.0" criterion = { version = "0.5" } -rayon = "1.8.0" +rayon = "1.8.1" mimalloc = "0.1.39" codspeed-criterion-compat = { version = "2.3.3", default-features = false, optional = true } From 30da9d0654cc59d308f163ef027a6ea90b0fd21b Mon Sep 17 00:00:00 2001 From: Boshen Date: Fri, 19 Jan 2024 17:56:51 +0800 Subject: [PATCH 021/385] Update README --- BENCHMARKS.md | 8 ++++---- README.md | 16 +++++++++------ bar-graph.svg | 49 ------------------------------------------- bar-graph1.svg | 56 -------------------------------------------------- 4 files changed, 14 insertions(+), 115 deletions(-) delete mode 100644 bar-graph.svg delete mode 100644 bar-graph1.svg diff --git a/BENCHMARKS.md b/BENCHMARKS.md index 4f08aa1..1a94590 100644 --- a/BENCHMARKS.md +++ b/BENCHMARKS.md @@ -9,11 +9,11 @@ ### typescript.js -| | `oxc` | `swc` | `Biome` | +| | `oxc` | `swc` | `biome` | |:--------------------|:-------------------------|:---------------------------------|:--------------------------------- | -| **`single-thread`** | `55.86 ms` (✅ **1.00x**) | `108.68 ms` (❌ *1.95x slower*) | `168.88 ms` (❌ *3.02x slower*) | -| **`no-drop`** | `56.17 ms` (✅ **1.00x**) | `101.47 ms` (❌ *1.81x slower*) | `159.46 ms` (❌ *2.84x slower*) | -| **`parallel`** | `90.12 ms` (✅ **1.00x**) | `180.26 ms` (❌ *2.00x slower*) | `315.39 ms` (❌ *3.50x slower*) | +| **`single-thread`** | `49.79 ms` (✅ **1.00x**) | `104.17 ms` (❌ *2.09x slower*) | `167.76 ms` (❌ *3.37x slower*) | +| **`no-drop`** | `49.97 ms` (✅ **1.00x**) | `97.29 ms` (❌ *1.95x slower*) | `159.32 ms` (❌ *3.19x slower*) | +| **`parallel`** | `88.36 ms` (✅ **1.00x**) | `181.59 ms` (❌ *2.06x slower*) | `330.30 ms` (❌ *3.74x slower*) | --- Made with [criterion-table](https://github.com/nu11ptr/criterion-table) diff --git a/README.md b/README.md index 5f601fa..4d8da15 100644 --- a/README.md +++ b/README.md @@ -4,16 +4,20 @@ The purpose of this benchmark is for people who wants to evaluate and compare th ## Results -### Mac M2 8 cores +### Codspeed + +[![CodSpeed Badge][codspeed-badge]][codspeed-url] - +[codspeed-badge]: https://img.shields.io/endpoint?url=https://codspeed.io/badge.json +[codspeed-url]: https://codspeed.io/oxc-project/bench-javascript-parser-written-in-rust/benchmarks +### Mac M2 8 cores -| | `oxc` | `swc` | `Biome` | +| | `oxc` | `swc` | `biome` | |:--------------------|:-------------------------|:---------------------------------|:--------------------------------- | -| **`single-thread`** | `55.86 ms` (**1.00x**) | `108.68 ms` (*1.95x slower*) | `168.88 ms` (*3.02x slower*) | -| **`no-drop`** | `56.17 ms` (**1.00x**) | `101.47 ms` (*1.81x slower*) | `159.46 ms` (*2.84x slower*) | -| **`parallel`** | `90.12 ms` (**1.00x**) | `180.26 ms` (*2.00x slower*) | `315.39 ms` (*3.50x slower*) | +| **`single-thread`** | `49.79 ms` (✅ **1.00x**) | `104.17 ms` (❌ *2.09x slower*) | `167.76 ms` (❌ *3.37x slower*) | +| **`no-drop`** | `49.97 ms` (✅ **1.00x**) | `97.29 ms` (❌ *1.95x slower*) | `159.32 ms` (❌ *3.19x slower*) | +| **`parallel`** | `88.36 ms` (✅ **1.00x**) | `181.59 ms` (❌ *2.06x slower*) | `330.30 ms` (❌ *3.74x slower*) | #### single-thread diff --git a/bar-graph.svg b/bar-graph.svg deleted file mode 100644 index 118629a..0000000 --- a/bar-graph.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - -Parser Benchmark - - - - -oxc - - -swc - - -biome - - - - - - - - - - - - - - - - - - - - - -0 -50 -100 -150 -200 -typescript.js - -Time (ms) - - - - diff --git a/bar-graph1.svg b/bar-graph1.svg deleted file mode 100644 index 9326255..0000000 --- a/bar-graph1.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - -Parser Benchmark - - - - -oxc - - -swc - - -rome - - - - - - - - - - - - - - - - - - - - - - - - - - - -0 -100 -200 -300 -400 -single-thread -no-drop -parallel - -time (ms) - - - From a3be297ea849a68fc31824b6b830119d96a4e54f Mon Sep 17 00:00:00 2001 From: Boshen Date: Fri, 19 Jan 2024 18:06:36 +0800 Subject: [PATCH 022/385] add bar graph --- README.md | 6 +++++- bar-graph.svg | 31 +++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 bar-graph.svg diff --git a/README.md b/README.md index 4d8da15..749065e 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,8 @@ The purpose of this benchmark is for people who wants to evaluate and compare th ### Mac M2 8 cores + + | | `oxc` | `swc` | `biome` | |:--------------------|:-------------------------|:---------------------------------|:--------------------------------- | | **`single-thread`** | `49.79 ms` (✅ **1.00x**) | `104.17 ms` (❌ *2.09x slower*) | `167.76 ms` (❌ *3.37x slower*) | @@ -69,7 +71,7 @@ Run the following command on your machine for replication. cargo bench ``` -To generate the table +Generate the table ```bash cargo install cargo-criterion @@ -77,6 +79,8 @@ cargo install criterion-table cargo criterion --message-format=json | criterion-table > BENCHMARKS.md ``` +Generate the bar graph: https://www.rapidtables.com/tools/bar-graph.html + ## Input * File: https://cdn.jsdelivr.net/npm/typescript@5.1.6/lib/typescript.js diff --git a/bar-graph.svg b/bar-graph.svg new file mode 100644 index 0000000..b557cec --- /dev/null +++ b/bar-graph.svg @@ -0,0 +1,31 @@ + + + Parser Benchmark + + + oxc + + + swc + + + biome + + + + + + + + + + + 0 + 50 + 100 + 150 + 200 + single-thread + time (ms) + + From 27eea55156a59806ea1843826577ee97186270e3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 21 Jan 2024 07:22:58 +0000 Subject: [PATCH 023/385] chore(deps): update swc --- Cargo.lock | 12 ++++++------ Cargo.toml | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e9c1808..2b28528 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1505,9 +1505,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.33.12" +version = "0.33.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b3ae36feceded27f0178dc9dabb49399830847ffb7f866af01798844de8f973" +checksum = "d58670ef866b00f97a6d8a7a529741c31796d232ad907ddec967e9ce3ee0a099" dependencies = [ "ast_node", "better_scoped_tls", @@ -1530,9 +1530,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.110.17" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79401a45da704f4fb2552c5bf86ee2198e8636b121cb81f8036848a300edd53b" +checksum = "9d46096f634ff7bca91d58e118a4872ccb6ee0078918dcf9d840e487d5970618" dependencies = [ "bitflags 2.4.1", "is-macro", @@ -1547,9 +1547,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.141.37" +version = "0.142.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4d17401dd95048a6a62b777d533c0999dabdd531ef9d667e22f8ae2a2a0d294" +checksum = "88ae890b3faee49f0e88b6d374c11be4062384c71a48b83b89a6cd3fd6fe2471" dependencies = [ "either", "new_debug_unreachable", diff --git a/Cargo.toml b/Cargo.toml index dc79edb..0766db2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,8 +6,8 @@ publish = false [dependencies] oxc = "0.5.0" -swc_ecma_parser = "0.141.37" -swc_ecma_ast = "0.110.17" +swc_ecma_parser = "0.142.0" +swc_ecma_ast = "0.111.0" biome_js_parser = "0.4.0" biome_js_syntax = "0.4.0" From ba9f094a66fcff18971508726643435f712c1f12 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 6 Feb 2024 08:40:53 +0000 Subject: [PATCH 024/385] chore(deps): update rust crate oxc to 0.6.0 --- Cargo.lock | 73 ++++++++++++++++++++++++++++++------------------------ Cargo.toml | 2 +- 2 files changed, 41 insertions(+), 34 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2b28528..fe16c10 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -48,6 +48,12 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "15c4c2c83f81532e5845a733998b6971faca23490340a418e9b72a3ec9de12ea" +[[package]] +name = "assert-unchecked" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7330592adf847ee2e3513587b4db2db410a0d751378654e7e993d9adcbe5c795" + [[package]] name = "ast_node" version = "0.9.6" @@ -134,7 +140,7 @@ dependencies = [ "biome_rowan", "biome_text_edit", "biome_text_size", - "bitflags 2.4.1", + "bitflags 2.4.2", "bpaf", "serde", "termcolor", @@ -186,7 +192,7 @@ dependencies = [ "biome_parser", "biome_rowan", "biome_unicode_table", - "bitflags 2.4.1", + "bitflags 2.4.2", "cfg-if", "drop_bomb", "indexmap 1.9.3", @@ -229,7 +235,7 @@ dependencies = [ "biome_console", "biome_diagnostics", "biome_rowan", - "bitflags 2.4.1", + "bitflags 2.4.2", "drop_bomb", ] @@ -282,9 +288,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.4.1" +version = "2.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" +checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf" [[package]] name = "bpaf" @@ -675,9 +681,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.1.0" +version = "2.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" +checksum = "824b2ae422412366ba479e8111fd301f7b5faece8149317bb81925979a53f520" dependencies = [ "equivalent", "hashbrown 0.14.2", @@ -929,9 +935,9 @@ checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f" [[package]] name = "oxc" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78e0fb86e8840c5f929a65744fc995b3267dd0b569219bf977568c2f6f8592d9" +checksum = "20cfe0b75600835c8c62b99814cbbc54c144328c6dc67129ed3c0bbea585dfe8" dependencies = [ "oxc_allocator", "oxc_ast", @@ -944,9 +950,9 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6af07742198b0033124a2deeb7095414af37cba8f670cb91599436b1bfce629b" +checksum = "13747d4dc2ed0f6102d0372fc186351cec62531fe07ec327756f9176b7ae3435" dependencies = [ "bumpalo", "serde", @@ -954,11 +960,11 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bce81ea180801e40f7a9b7c2eeea16f28d3405b7f5f3395ae3094f73d584743" +checksum = "e40fa5a539ef2796e6722c70a2200bf1a34344d475505de34215b2d7a652fce3" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.4.2", "num-bigint", "num-traits", "oxc_allocator", @@ -969,9 +975,9 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2f0b55d4af3da3130ca9d0011afe0c791b88de6e2c072bcc62872b5996d640d" +checksum = "4af962f55db6a89001ac7271050ace381ae9855af99cfbaa17119ba4a784badb" dependencies = [ "is-terminal", "miette", @@ -983,9 +989,9 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "221324076f492fb36416cb4e80149b75dfa2b061b73fc60c0f10a22858fd7705" +checksum = "9f6d07da75b08f9f3bc892e35a95d1b8ed0f1dd2bf0d5c4038e5fbfb17d75e47" dependencies = [ "index_vec", "static_assertions", @@ -993,11 +999,12 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8ad996ad3056e2383e8675417231d8c6a24d16f5487eea6aa3c15593627bc5e" +checksum = "c7e709b2b30211728f0ffb2275649b6d82372f7c1aabb173cf2768efd8e94874" dependencies = [ - "bitflags 2.4.1", + "assert-unchecked", + "bitflags 2.4.2", "num-bigint", "oxc_allocator", "oxc_ast", @@ -1010,9 +1017,9 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4acf5411d1cb936465632d3b5b5b6405d4621a9055153990415e747e6c7f72c3" +checksum = "a68147bd10e6438a04075ff7a6cfdcb928da7aecf28e6ea1aaa44713670cca69" dependencies = [ "compact_str", "miette", @@ -1020,13 +1027,13 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20b52c9bc623226b36f79eecd74d1faa3404be91d050e1f0c6db3a6298371f19" +checksum = "6f1036225932c7425cc426488bbd9de04c78bf34afaa89f9ad26a673c58c6041" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.4.2", "dashmap", - "indexmap 2.1.0", + "indexmap 2.2.2", "oxc_index", "oxc_span", "phf", @@ -1287,7 +1294,7 @@ version = "0.38.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9bfe0f2582b4931a45d1fa608f8a8722e8b3c7ac54dd6d5f3b3212791fedef49" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.4.2", "errno", "libc", "linux-raw-sys", @@ -1353,18 +1360,18 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "serde" -version = "1.0.195" +version = "1.0.196" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63261df402c67811e9ac6def069e4786148c4563f4b50fd4bf30aa370d626b02" +checksum = "870026e60fa08c69f064aa766c10f10b1d62db9ccd4d0abb206472bee0ce3b32" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.195" +version = "1.0.196" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46fe8f8603d81ba86327b23a2e9cdf49e1255fb94a4c5f297f6ee0547178ea2c" +checksum = "33c85360c95e7d137454dc81d9a4ed2b8efd8fbe19cee57357b32b9771fccb67" dependencies = [ "proc-macro2", "quote", @@ -1534,7 +1541,7 @@ version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d46096f634ff7bca91d58e118a4872ccb6ee0078918dcf9d840e487d5970618" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.4.2", "is-macro", "num-bigint", "phf", diff --git a/Cargo.toml b/Cargo.toml index 0766db2..d19e291 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" publish = false [dependencies] -oxc = "0.5.0" +oxc = "0.6.0" swc_ecma_parser = "0.142.0" swc_ecma_ast = "0.111.0" biome_js_parser = "0.4.0" From c14bc7262e268760d40f2a5baf7e893be4c1a8a1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 6 Feb 2024 18:50:47 +0000 Subject: [PATCH 025/385] chore(deps): update swc --- Cargo.lock | 12 ++++++------ Cargo.toml | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fe16c10..bf1957d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1512,9 +1512,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.33.14" +version = "0.33.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d58670ef866b00f97a6d8a7a529741c31796d232ad907ddec967e9ce3ee0a099" +checksum = "0a15b8a5ec7b3c87b5c602dec00caf3dbb07fe2daaaa1d144d0c00a612e0890c" dependencies = [ "ast_node", "better_scoped_tls", @@ -1537,9 +1537,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.111.0" +version = "0.112.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d46096f634ff7bca91d58e118a4872ccb6ee0078918dcf9d840e487d5970618" +checksum = "4f90ae61d067206a5ff0c3a63d7d279346fa6562c08e251e32a07654f5b9fab1" dependencies = [ "bitflags 2.4.2", "is-macro", @@ -1554,9 +1554,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.142.0" +version = "0.143.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88ae890b3faee49f0e88b6d374c11be4062384c71a48b83b89a6cd3fd6fe2471" +checksum = "98edd7196fbeda4a323c5a87da151bb7474ad01b606fc0572fde73c50e9f887e" dependencies = [ "either", "new_debug_unreachable", diff --git a/Cargo.toml b/Cargo.toml index d19e291..e8dc974 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,8 +6,8 @@ publish = false [dependencies] oxc = "0.6.0" -swc_ecma_parser = "0.142.0" -swc_ecma_ast = "0.111.0" +swc_ecma_parser = "0.143.0" +swc_ecma_ast = "0.112.0" biome_js_parser = "0.4.0" biome_js_syntax = "0.4.0" From 29d8b125664fe4768ffd8be99d14c1dff233e6f0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 03:37:13 +0000 Subject: [PATCH 026/385] chore(deps): update rust crate swc_ecma_parser to 0.143.1 --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bf1957d..d466bfc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1554,9 +1554,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.143.0" +version = "0.143.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98edd7196fbeda4a323c5a87da151bb7474ad01b606fc0572fde73c50e9f887e" +checksum = "e799a2fffe9f74c7a10f03e77bdcbce2e2325596345718728285296a1c24337f" dependencies = [ "either", "new_debug_unreachable", diff --git a/Cargo.toml b/Cargo.toml index e8dc974..cff542e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ publish = false [dependencies] oxc = "0.6.0" -swc_ecma_parser = "0.143.0" +swc_ecma_parser = "0.143.1" swc_ecma_ast = "0.112.0" biome_js_parser = "0.4.0" biome_js_syntax = "0.4.0" From 15a6f66e7e2bf8be2a6ad8914e5a203c0f65f76d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 8 Feb 2024 04:44:36 +0000 Subject: [PATCH 027/385] chore(deps): update swc --- Cargo.lock | 12 ++++++------ Cargo.toml | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d466bfc..f67f878 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1512,9 +1512,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.33.16" +version = "0.33.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a15b8a5ec7b3c87b5c602dec00caf3dbb07fe2daaaa1d144d0c00a612e0890c" +checksum = "095c158fe55b36faeebb4274692643a6d7cdc5b7902e1d5968ddbe52b7de1d1c" dependencies = [ "ast_node", "better_scoped_tls", @@ -1537,9 +1537,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.112.0" +version = "0.112.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f90ae61d067206a5ff0c3a63d7d279346fa6562c08e251e32a07654f5b9fab1" +checksum = "852a48a24a2533de88298c6b25355bc68fdee31ac21cb4fb8939b7001715353c" dependencies = [ "bitflags 2.4.2", "is-macro", @@ -1554,9 +1554,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.143.1" +version = "0.143.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e799a2fffe9f74c7a10f03e77bdcbce2e2325596345718728285296a1c24337f" +checksum = "90ff55811ed5de14b05e9a2979bae2bce3c807582f559b4325948463265307d9" dependencies = [ "either", "new_debug_unreachable", diff --git a/Cargo.toml b/Cargo.toml index cff542e..d05e8ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,8 +6,8 @@ publish = false [dependencies] oxc = "0.6.0" -swc_ecma_parser = "0.143.1" -swc_ecma_ast = "0.112.0" +swc_ecma_parser = "0.143.3" +swc_ecma_ast = "0.112.2" biome_js_parser = "0.4.0" biome_js_syntax = "0.4.0" From c77c4357cb9f2ce92ca8d0983fee4f00f0cd8e24 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 9 Feb 2024 15:18:18 +0000 Subject: [PATCH 028/385] chore(deps): update rust crate oxc to 0.7.0 --- Cargo.lock | 76 +++++++++++++++++++++--------------------------------- Cargo.toml | 2 +- 2 files changed, 31 insertions(+), 47 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f67f878..9ed5e46 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -335,15 +335,6 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" -[[package]] -name = "castaway" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a17ed5635fc8536268e5d4de1e22e81ac34419e5f052d4d51f4e01dcc263fcc" -dependencies = [ - "rustversion", -] - [[package]] name = "cc" version = "1.0.83" @@ -444,19 +435,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "compact_str" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f86b9c4c00838774a6d902ef931eff7470720c51d90c2e32cfe15dc304737b3f" -dependencies = [ - "castaway", - "cfg-if", - "itoa", - "ryu", - "static_assertions", -] - [[package]] name = "countme" version = "3.0.1" @@ -689,6 +667,12 @@ dependencies = [ "hashbrown 0.14.2", ] +[[package]] +name = "inlinable_string" +version = "0.1.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8fae54786f62fb2918dcfae3d568594e50eb9b5c25bf04371af6fe7516452fb" + [[package]] name = "is-macro" version = "0.3.0" @@ -935,9 +919,9 @@ checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f" [[package]] name = "oxc" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20cfe0b75600835c8c62b99814cbbc54c144328c6dc67129ed3c0bbea585dfe8" +checksum = "397a73ac84efd3156db70d862e3ab6d9d0a8c8072a051c213e53422c816fe88f" dependencies = [ "oxc_allocator", "oxc_ast", @@ -950,9 +934,9 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13747d4dc2ed0f6102d0372fc186351cec62531fe07ec327756f9176b7ae3435" +checksum = "542161b2e0e9cb0e6392364fc95df13a90ce422bf47a799c009950291af69ea0" dependencies = [ "bumpalo", "serde", @@ -960,13 +944,12 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e40fa5a539ef2796e6722c70a2200bf1a34344d475505de34215b2d7a652fce3" +checksum = "07ec1e657f086d1088ff6e56ca39b07221a1bddc3b4a2a067d9e027ecc7504b6" dependencies = [ "bitflags 2.4.2", "num-bigint", - "num-traits", "oxc_allocator", "oxc_index", "oxc_span", @@ -975,9 +958,9 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4af962f55db6a89001ac7271050ace381ae9855af99cfbaa17119ba4a784badb" +checksum = "0bce10dcbf94295e0cb596e1bd7a2ae1dd42fd1f1a21b1c533ab295034b1a541" dependencies = [ "is-terminal", "miette", @@ -989,9 +972,9 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f6d07da75b08f9f3bc892e35a95d1b8ed0f1dd2bf0d5c4038e5fbfb17d75e47" +checksum = "40010087baea83ffaa0b6bd78c27461f7074607db79e0589bfbb67a3ff6966e9" dependencies = [ "index_vec", "static_assertions", @@ -999,9 +982,9 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7e709b2b30211728f0ffb2275649b6d82372f7c1aabb173cf2768efd8e94874" +checksum = "c720bd3139812d834082836f61bb0d9952afef9d627131181251ff7c9edc3ddc" dependencies = [ "assert-unchecked", "bitflags 2.4.2", @@ -1013,23 +996,24 @@ dependencies = [ "oxc_span", "oxc_syntax", "rustc-hash", + "seq-macro", ] [[package]] name = "oxc_span" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a68147bd10e6438a04075ff7a6cfdcb928da7aecf28e6ea1aaa44713670cca69" +checksum = "34b4e2dc74ec8ac6618888d4dd4b42170d100790543d8323c10dc05f7d7f170e" dependencies = [ - "compact_str", + "inlinable_string", "miette", ] [[package]] name = "oxc_syntax" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f1036225932c7425cc426488bbd9de04c78bf34afaa89f9ad26a673c58c6041" +checksum = "74e0b4383e00cd2069c424fb16265fbd3aeac102ef314d300c66ce7252a9b122" dependencies = [ "bitflags 2.4.2", "dashmap", @@ -1301,12 +1285,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "rustversion" -version = "1.0.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" - [[package]] name = "ryu" version = "1.0.15" @@ -1358,6 +1336,12 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" +[[package]] +name = "seq-macro" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4" + [[package]] name = "serde" version = "1.0.196" diff --git a/Cargo.toml b/Cargo.toml index d05e8ab..6f9bc94 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" publish = false [dependencies] -oxc = "0.6.0" +oxc = "0.7.0" swc_ecma_parser = "0.143.3" swc_ecma_ast = "0.112.2" biome_js_parser = "0.4.0" From 0d5bca6f8bde2dd740fbc7105d0185de4cc73822 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 22 Feb 2024 04:31:18 +0000 Subject: [PATCH 029/385] chore(deps): update swc --- Cargo.lock | 20 ++++++++++---------- Cargo.toml | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9ed5e46..e89c58b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1496,9 +1496,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.33.17" +version = "0.33.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "095c158fe55b36faeebb4274692643a6d7cdc5b7902e1d5968ddbe52b7de1d1c" +checksum = "c85e8b15d0fb87691e27c8f3cf953748db3ccd2a39e165d6d5275a48fb0d29e3" dependencies = [ "ast_node", "better_scoped_tls", @@ -1521,9 +1521,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.112.2" +version = "0.112.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "852a48a24a2533de88298c6b25355bc68fdee31ac21cb4fb8939b7001715353c" +checksum = "36226eb87bfd2f5620bde04f149a4b869ab34e78496d60cb0d8eb9da765d0732" dependencies = [ "bitflags 2.4.2", "is-macro", @@ -1538,9 +1538,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.143.3" +version = "0.143.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90ff55811ed5de14b05e9a2979bae2bce3c807582f559b4325948463265307d9" +checksum = "20823cac99a9adbd4c03fb5e126aaccbf92446afedad99252a0e1fc76e2ffc43" dependencies = [ "either", "new_debug_unreachable", @@ -1582,9 +1582,9 @@ dependencies = [ [[package]] name = "swc_visit" -version = "0.5.8" +version = "0.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b27078d8571abe23aa52ef608dd1df89096a37d867cf691cbb4f4c392322b7c9" +checksum = "358e246dedeb4ae8efacebcce1360dc2f9b6c0b4c1ad8b737cc60f5b6633691a" dependencies = [ "either", "swc_visit_macros", @@ -1592,9 +1592,9 @@ dependencies = [ [[package]] name = "swc_visit_macros" -version = "0.5.9" +version = "0.5.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa8bb05975506741555ea4d10c3a3bdb0e2357cd58e1a4a4332b8ebb4b44c34d" +checksum = "fbbbb9d77d5112f90ed7ea00477135b16c4370c872b93a0b63b766e8710650ad" dependencies = [ "Inflector", "pmutil", diff --git a/Cargo.toml b/Cargo.toml index 6f9bc94..ebd3ad6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,8 +6,8 @@ publish = false [dependencies] oxc = "0.7.0" -swc_ecma_parser = "0.143.3" -swc_ecma_ast = "0.112.2" +swc_ecma_parser = "0.143.5" +swc_ecma_ast = "0.112.4" biome_js_parser = "0.4.0" biome_js_syntax = "0.4.0" From 88df0a0f50e283e9ba423e6c8ac27b5c93be4c76 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 14:02:05 +0000 Subject: [PATCH 030/385] chore(deps): update rust crate codspeed-criterion-compat to 2.4.0 --- Cargo.lock | 8 ++++---- Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e89c58b..492ad0e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -404,9 +404,9 @@ checksum = "cd7cc57abe963c6d3b9d8be5b06ba7c8957a930305ca90304f24ef040aa6f961" [[package]] name = "codspeed" -version = "2.3.3" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0eb4ab4dcb6554eb4f590fb16f99d3b102ab76f5f56554c9a5340518b32c499b" +checksum = "4b85b056aa0541d1975ebc524149dde72803a5d7352b6aebf9eabc44f9017246" dependencies = [ "colored", "libc", @@ -415,9 +415,9 @@ dependencies = [ [[package]] name = "codspeed-criterion-compat" -version = "2.3.3" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc07a3d3f7e0c8961d0ffdee149d39b231bafdcdc3d978dc5ad790c615f55f3f" +checksum = "02ae9de916d6315a5129bca2fc7957285f0b9f77a2f6a8734a0a146caee2b0b6" dependencies = [ "codspeed", "colored", diff --git a/Cargo.toml b/Cargo.toml index ebd3ad6..250741d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ num_cpus = "1.16.0" criterion = { version = "0.5" } rayon = "1.8.1" mimalloc = "0.1.39" -codspeed-criterion-compat = { version = "2.3.3", default-features = false, optional = true } +codspeed-criterion-compat = { version = "2.4.0", default-features = false, optional = true } [features] codspeed = ["codspeed-criterion-compat"] From 86e6f9d24adcfad59ecd59a1c029a378137d0415 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 23:50:24 +0800 Subject: [PATCH 031/385] chore(deps): update rust crate oxc to 0.8.0 (#65) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- Cargo.lock | 109 +++++++++++++++++------------------------------------ Cargo.toml | 2 +- 2 files changed, 36 insertions(+), 75 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 492ad0e..7011c2c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -325,9 +325,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.14.0" +version = "3.15.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" +checksum = "8ea184aa71bb362a1157c896979544cc23974e08fd265f29ea96b59f0b4a555b" [[package]] name = "cast" @@ -547,27 +547,6 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" -[[package]] -name = "errno" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b30f669a7961ef1631673d2766cc92f52d64f7ef354d4fe0ddfd30ed52f0f4f" -dependencies = [ - "errno-dragonfly", - "libc", - "windows-sys 0.48.0", -] - -[[package]] -name = "errno-dragonfly" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" -dependencies = [ - "cc", - "libc", -] - [[package]] name = "form_urlencoded" version = "1.2.0" @@ -659,9 +638,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.2.2" +version = "2.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "824b2ae422412366ba479e8111fd301f7b5faece8149317bb81925979a53f520" +checksum = "233cf39063f058ea2caae4091bf4a3ef70a653afbc026f5c4a4135d114e3c177" dependencies = [ "equivalent", "hashbrown 0.14.2", @@ -688,12 +667,12 @@ dependencies = [ [[package]] name = "is-terminal" -version = "0.4.10" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bad00257d07be169d870ab665980b06cdb366d792ad690bf2e76876dc503455" +checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b" dependencies = [ "hermit-abi", - "rustix", + "libc", "windows-sys 0.52.0", ] @@ -749,12 +728,6 @@ dependencies = [ "libc", ] -[[package]] -name = "linux-raw-sys" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57bcfdad1b858c2db7c38303a6d2ad4dfaf5eb53dfeb0910128b2c26d6158503" - [[package]] name = "lock_api" version = "0.4.10" @@ -773,9 +746,9 @@ checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" [[package]] name = "memchr" -version = "2.5.0" +version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" +checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" [[package]] name = "memoffset" @@ -919,9 +892,9 @@ checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f" [[package]] name = "oxc" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "397a73ac84efd3156db70d862e3ab6d9d0a8c8072a051c213e53422c816fe88f" +checksum = "c553a8b593c378c90d35fd8e8a8fcd7d41e2e0c2f3128e7fddd120b72279d1fe" dependencies = [ "oxc_allocator", "oxc_ast", @@ -934,9 +907,9 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "542161b2e0e9cb0e6392364fc95df13a90ce422bf47a799c009950291af69ea0" +checksum = "b33c757b689363fe55bb629ee82c5d85015e52b107cabb0c837c54948f501f0a" dependencies = [ "bumpalo", "serde", @@ -944,9 +917,9 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07ec1e657f086d1088ff6e56ca39b07221a1bddc3b4a2a067d9e027ecc7504b6" +checksum = "c0af95ee1f77215edb5f475db85577b21395a49b888c4fa647e22c1bc4bdec37" dependencies = [ "bitflags 2.4.2", "num-bigint", @@ -958,9 +931,9 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bce10dcbf94295e0cb596e1bd7a2ae1dd42fd1f1a21b1c533ab295034b1a541" +checksum = "0d76d233a86bcdf193bc4789d95eddfb3e2361cf949f7c1f99925eb41b693484" dependencies = [ "is-terminal", "miette", @@ -972,9 +945,9 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40010087baea83ffaa0b6bd78c27461f7074607db79e0589bfbb67a3ff6966e9" +checksum = "23664149bde68a65c261411783420e7f0d247fc092cf9507597b4f2c644f2c65" dependencies = [ "index_vec", "static_assertions", @@ -982,12 +955,13 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c720bd3139812d834082836f61bb0d9952afef9d627131181251ff7c9edc3ddc" +checksum = "63b0f06d9349ff6513ff1122c6a3ae4b1ecc9367661816037842589f4f6af487" dependencies = [ "assert-unchecked", "bitflags 2.4.2", + "memchr", "num-bigint", "oxc_allocator", "oxc_ast", @@ -1001,9 +975,9 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34b4e2dc74ec8ac6618888d4dd4b42170d100790543d8323c10dc05f7d7f170e" +checksum = "6514e708fd900c2dfe92c80597113ca25827c08dcf2aeba90c630b83accd7395" dependencies = [ "inlinable_string", "miette", @@ -1011,13 +985,13 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74e0b4383e00cd2069c424fb16265fbd3aeac102ef314d300c66ce7252a9b122" +checksum = "537cd13e3a49b21c82e99d628b64cc790056af368fa2f313055e831a993dce98" dependencies = [ "bitflags 2.4.2", "dashmap", - "indexmap 2.2.2", + "indexmap 2.2.3", "oxc_index", "oxc_span", "phf", @@ -1272,19 +1246,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" -[[package]] -name = "rustix" -version = "0.38.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bfe0f2582b4931a45d1fa608f8a8722e8b3c7ac54dd6d5f3b3212791fedef49" -dependencies = [ - "bitflags 2.4.2", - "errno", - "libc", - "linux-raw-sys", - "windows-sys 0.48.0", -] - [[package]] name = "ryu" version = "1.0.15" @@ -1344,18 +1305,18 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4" [[package]] name = "serde" -version = "1.0.196" +version = "1.0.197" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "870026e60fa08c69f064aa766c10f10b1d62db9ccd4d0abb206472bee0ce3b32" +checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.196" +version = "1.0.197" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33c85360c95e7d137454dc81d9a4ed2b8efd8fbe19cee57357b32b9771fccb67" +checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" dependencies = [ "proc-macro2", "quote", @@ -1658,18 +1619,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.56" +version = "1.0.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d54378c645627613241d077a3a79db965db602882668f9136ac42af9ecb730ad" +checksum = "1e45bcbe8ed29775f228095caf2cd67af7a4ccf756ebff23a306bf3e8b47b24b" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.56" +version = "1.0.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa0faa943b50f3db30a20aa7e265dbc66076993efed8463e8de414e5d06d3471" +checksum = "a953cb265bef375dae3de6663da4d3804eee9682ea80d8e2542529b73c531c81" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 250741d..417fb62 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" publish = false [dependencies] -oxc = "0.7.0" +oxc = "0.8.0" swc_ecma_parser = "0.143.5" swc_ecma_ast = "0.112.4" biome_js_parser = "0.4.0" From e1ba028baa021c416642a4b9597ff5db99c6408b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 28 Feb 2024 01:23:42 +0000 Subject: [PATCH 032/385] chore(deps): update rust crate rayon to 1.9.0 --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7011c2c..d5a98ea 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1172,9 +1172,9 @@ checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" [[package]] name = "rayon" -version = "1.8.1" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa7237101a77a10773db45d62004a272517633fbcc3df19d96455ede1122e051" +checksum = "e4963ed1bc86e4f3ee217022bd855b297cef07fb9eac5dfa1f788b220b49b3bd" dependencies = [ "either", "rayon-core", diff --git a/Cargo.toml b/Cargo.toml index 417fb62..06bcd61 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ biome_js_syntax = "0.4.0" num_cpus = "1.16.0" criterion = { version = "0.5" } -rayon = "1.8.1" +rayon = "1.9.0" mimalloc = "0.1.39" codspeed-criterion-compat = { version = "2.4.0", default-features = false, optional = true } From c7975261d735a9e40af17eca1d89d2d9cc22f1e3 Mon Sep 17 00:00:00 2001 From: Boshen Date: Thu, 29 Feb 2024 15:03:37 +0800 Subject: [PATCH 033/385] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 749065e..9b1cc9f 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,8 @@ The purpose of this benchmark is for people who wants to evaluate and compare th [codspeed-badge]: https://img.shields.io/endpoint?url=https://codspeed.io/badge.json [codspeed-url]: https://codspeed.io/oxc-project/bench-javascript-parser-written-in-rust/benchmarks +Codspeed measures performance by cpu instructions. The numbers indicate that Oxc is 3x faster than Swc." + ### Mac M2 8 cores From b7d3b7e8e584147da9b26941015ba30c71288598 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 4 Mar 2024 03:57:27 +0000 Subject: [PATCH 034/385] chore(deps): update rust crate swc_ecma_parser to 0.143.6 --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d5a98ea..c4232ad 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1499,9 +1499,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.143.5" +version = "0.143.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20823cac99a9adbd4c03fb5e126aaccbf92446afedad99252a0e1fc76e2ffc43" +checksum = "2d1eedd0c8f4bc81e9d068579c4a7457efffa88c9cec6ad582d7ced7f17d0885" dependencies = [ "either", "new_debug_unreachable", diff --git a/Cargo.toml b/Cargo.toml index 06bcd61..aeb8c44 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ publish = false [dependencies] oxc = "0.8.0" -swc_ecma_parser = "0.143.5" +swc_ecma_parser = "0.143.6" swc_ecma_ast = "0.112.4" biome_js_parser = "0.4.0" biome_js_syntax = "0.4.0" From 70fe61fcb73b14b1ccb012f268635bfb508c3aa1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 5 Mar 2024 06:50:19 +0000 Subject: [PATCH 035/385] chore(deps): update swc --- Cargo.lock | 21 ++++++++++----------- Cargo.toml | 4 ++-- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c4232ad..8e13889 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1457,9 +1457,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.33.18" +version = "0.33.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c85e8b15d0fb87691e27c8f3cf953748db3ccd2a39e165d6d5275a48fb0d29e3" +checksum = "cc30ce6695b841f0a9ae01a9ca10ac3922cff559a6253c756a203c4332c62945" dependencies = [ "ast_node", "better_scoped_tls", @@ -1482,9 +1482,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.112.4" +version = "0.112.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36226eb87bfd2f5620bde04f149a4b869ab34e78496d60cb0d8eb9da765d0732" +checksum = "032f528398358da8ff2fe795755602b4a81ffc93430b9830c0e1d5f198d8f48d" dependencies = [ "bitflags 2.4.2", "is-macro", @@ -1499,9 +1499,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.143.6" +version = "0.143.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d1eedd0c8f4bc81e9d068579c4a7457efffa88c9cec6ad582d7ced7f17d0885" +checksum = "3f311ee5fafd37ece487a0a21b6c8fb4f1a35ea6f9de6e76bccabc6f0db46d9f" dependencies = [ "either", "new_debug_unreachable", @@ -1543,9 +1543,9 @@ dependencies = [ [[package]] name = "swc_visit" -version = "0.5.9" +version = "0.5.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "358e246dedeb4ae8efacebcce1360dc2f9b6c0b4c1ad8b737cc60f5b6633691a" +checksum = "3f5b3e8d1269a7cb95358fed3412645d9c15aa0eb1f4ca003a25a38ef2f30f1b" dependencies = [ "either", "swc_visit_macros", @@ -1553,12 +1553,11 @@ dependencies = [ [[package]] name = "swc_visit_macros" -version = "0.5.10" +version = "0.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbbbb9d77d5112f90ed7ea00477135b16c4370c872b93a0b63b766e8710650ad" +checksum = "33fc817055fe127b4285dc85058596768bfde7537ae37da82c67815557f03e33" dependencies = [ "Inflector", - "pmutil", "proc-macro2", "quote", "swc_macros_common", diff --git a/Cargo.toml b/Cargo.toml index aeb8c44..208909a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,8 +6,8 @@ publish = false [dependencies] oxc = "0.8.0" -swc_ecma_parser = "0.143.6" -swc_ecma_ast = "0.112.4" +swc_ecma_parser = "0.143.7" +swc_ecma_ast = "0.112.5" biome_js_parser = "0.4.0" biome_js_syntax = "0.4.0" From 0208ee71d04afa987b05bdd44659935ba863c313 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 5 Mar 2024 08:19:21 +0000 Subject: [PATCH 036/385] chore(deps): update rust crate oxc to 0.9.0 --- Cargo.lock | 74 +++++++++++++++++++++++++++++++++++------------------- Cargo.toml | 2 +- 2 files changed, 49 insertions(+), 27 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8e13889..e547775 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -335,6 +335,15 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" +[[package]] +name = "castaway" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a17ed5635fc8536268e5d4de1e22e81ac34419e5f052d4d51f4e01dcc263fcc" +dependencies = [ + "rustversion", +] + [[package]] name = "cc" version = "1.0.83" @@ -435,6 +444,19 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "compact_str" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f86b9c4c00838774a6d902ef931eff7470720c51d90c2e32cfe15dc304737b3f" +dependencies = [ + "castaway", + "cfg-if", + "itoa", + "ryu", + "static_assertions", +] + [[package]] name = "countme" version = "3.0.1" @@ -638,20 +660,14 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.2.3" +version = "2.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "233cf39063f058ea2caae4091bf4a3ef70a653afbc026f5c4a4135d114e3c177" +checksum = "7b0b929d511467233429c45a44ac1dcaa21ba0f5ba11e4879e6ed28ddb4f9df4" dependencies = [ "equivalent", "hashbrown 0.14.2", ] -[[package]] -name = "inlinable_string" -version = "0.1.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8fae54786f62fb2918dcfae3d568594e50eb9b5c25bf04371af6fe7516452fb" - [[package]] name = "is-macro" version = "0.3.0" @@ -892,9 +908,9 @@ checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f" [[package]] name = "oxc" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c553a8b593c378c90d35fd8e8a8fcd7d41e2e0c2f3128e7fddd120b72279d1fe" +checksum = "7aebf2e797c673c3928b98408871d8904823a0f63f8a1fd99905655a89a336ed" dependencies = [ "oxc_allocator", "oxc_ast", @@ -907,9 +923,9 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b33c757b689363fe55bb629ee82c5d85015e52b107cabb0c837c54948f501f0a" +checksum = "5677681804a0560d559199fdf635f947c016f2847ad0f68279f547278382ce83" dependencies = [ "bumpalo", "serde", @@ -917,9 +933,9 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0af95ee1f77215edb5f475db85577b21395a49b888c4fa647e22c1bc4bdec37" +checksum = "cc532e290b9b732f2f92536bd1f94f05ee60d14521c3654a9eadd04fae017eb6" dependencies = [ "bitflags 2.4.2", "num-bigint", @@ -931,9 +947,9 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d76d233a86bcdf193bc4789d95eddfb3e2361cf949f7c1f99925eb41b693484" +checksum = "0ad3fdc22f26dee02a5ab68b25c8229bf02266da152b70ba8c4c69dd01009dde" dependencies = [ "is-terminal", "miette", @@ -945,9 +961,9 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23664149bde68a65c261411783420e7f0d247fc092cf9507597b4f2c644f2c65" +checksum = "099ebc44a85065cf55d43f273f3c3d19d88d2e4ce7aa836571dd2b144ee0d751" dependencies = [ "index_vec", "static_assertions", @@ -955,9 +971,9 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63b0f06d9349ff6513ff1122c6a3ae4b1ecc9367661816037842589f4f6af487" +checksum = "079241fcd5798a8b000659993f3d44a82b3b732254ac4da416540c78537c968d" dependencies = [ "assert-unchecked", "bitflags 2.4.2", @@ -975,23 +991,23 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6514e708fd900c2dfe92c80597113ca25827c08dcf2aeba90c630b83accd7395" +checksum = "491a93c8fb142c4f21522f92152a9fc399d9dfe4a0919baac76536409d1dddfc" dependencies = [ - "inlinable_string", + "compact_str", "miette", ] [[package]] name = "oxc_syntax" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "537cd13e3a49b21c82e99d628b64cc790056af368fa2f313055e831a993dce98" +checksum = "4ce55bc3ab1348f56628b721274539b8ef75069f230a6103556f7ea0f7258353" dependencies = [ "bitflags 2.4.2", "dashmap", - "indexmap 2.2.3", + "indexmap 2.2.5", "oxc_index", "oxc_span", "phf", @@ -1246,6 +1262,12 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" +[[package]] +name = "rustversion" +version = "1.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" + [[package]] name = "ryu" version = "1.0.15" diff --git a/Cargo.toml b/Cargo.toml index 208909a..d7f44f6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" publish = false [dependencies] -oxc = "0.8.0" +oxc = "0.9.0" swc_ecma_parser = "0.143.7" swc_ecma_ast = "0.112.5" biome_js_parser = "0.4.0" From 1996c88636886cfdd08c54bd9ed9ec39f1acce99 Mon Sep 17 00:00:00 2001 From: Boshen Date: Tue, 5 Mar 2024 16:52:31 +0800 Subject: [PATCH 037/385] update --- BENCHMARKS.md | 6 ++--- README.md | 12 +++++---- bar-graph.svg | 73 ++++++++++++++++++++++++++++++--------------------- 3 files changed, 53 insertions(+), 38 deletions(-) diff --git a/BENCHMARKS.md b/BENCHMARKS.md index 1a94590..70e84ec 100644 --- a/BENCHMARKS.md +++ b/BENCHMARKS.md @@ -11,9 +11,9 @@ | | `oxc` | `swc` | `biome` | |:--------------------|:-------------------------|:---------------------------------|:--------------------------------- | -| **`single-thread`** | `49.79 ms` (✅ **1.00x**) | `104.17 ms` (❌ *2.09x slower*) | `167.76 ms` (❌ *3.37x slower*) | -| **`no-drop`** | `49.97 ms` (✅ **1.00x**) | `97.29 ms` (❌ *1.95x slower*) | `159.32 ms` (❌ *3.19x slower*) | -| **`parallel`** | `88.36 ms` (✅ **1.00x**) | `181.59 ms` (❌ *2.06x slower*) | `330.30 ms` (❌ *3.74x slower*) | +| **`single-thread`** | `58.31 ms` (✅ **1.00x**) | `210.81 ms` (❌ *3.62x slower*) | `324.68 ms` (❌ *5.57x slower*) | +| **`no-drop`** | `58.43 ms` (✅ **1.00x**) | `193.08 ms` (❌ *3.30x slower*) | `283.26 ms` (❌ *4.85x slower*) | +| **`parallel`** | `72.39 ms` (✅ **1.00x**) | `257.81 ms` (❌ *3.56x slower*) | `434.60 ms` (❌ *6.00x slower*) | --- Made with [criterion-table](https://github.com/nu11ptr/criterion-table) diff --git a/README.md b/README.md index 9b1cc9f..529e01b 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ The purpose of this benchmark is for people who wants to evaluate and compare the performance characteristics of these parsers. +The numbers indicate that Oxc is at least 3 times faster than Swc and 5 times faster than Biome. + ## Results ### Codspeed @@ -11,17 +13,17 @@ The purpose of this benchmark is for people who wants to evaluate and compare th [codspeed-badge]: https://img.shields.io/endpoint?url=https://codspeed.io/badge.json [codspeed-url]: https://codspeed.io/oxc-project/bench-javascript-parser-written-in-rust/benchmarks -Codspeed measures performance by cpu instructions. The numbers indicate that Oxc is 3x faster than Swc." +Codspeed measures performance by cpu instructions. -### Mac M2 8 cores +### Mac i7 6 cores | | `oxc` | `swc` | `biome` | |:--------------------|:-------------------------|:---------------------------------|:--------------------------------- | -| **`single-thread`** | `49.79 ms` (✅ **1.00x**) | `104.17 ms` (❌ *2.09x slower*) | `167.76 ms` (❌ *3.37x slower*) | -| **`no-drop`** | `49.97 ms` (✅ **1.00x**) | `97.29 ms` (❌ *1.95x slower*) | `159.32 ms` (❌ *3.19x slower*) | -| **`parallel`** | `88.36 ms` (✅ **1.00x**) | `181.59 ms` (❌ *2.06x slower*) | `330.30 ms` (❌ *3.74x slower*) | +| **`single-thread`** | `58.31 ms` (✅ **1.00x**) | `210.81 ms` (❌ *3.62x slower*) | `324.68 ms` (❌ *5.57x slower*) | +| **`no-drop`** | `58.43 ms` (✅ **1.00x**) | `193.08 ms` (❌ *3.30x slower*) | `283.26 ms` (❌ *4.85x slower*) | +| **`parallel`** | `72.39 ms` (✅ **1.00x**) | `257.81 ms` (❌ *3.56x slower*) | `434.60 ms` (❌ *6.00x slower*) | #### single-thread diff --git a/bar-graph.svg b/bar-graph.svg index b557cec..e2d2b4f 100644 --- a/bar-graph.svg +++ b/bar-graph.svg @@ -1,31 +1,44 @@ - - - Parser Benchmark - - - oxc - - - swc - - - biome - - - - - - - - - - - 0 - 50 - 100 - 150 - 200 - single-thread - time (ms) - + + + + +Parser Benchmark + + + + +oxc + + +swc + + +rome + + + + + + + + + + + + + + + + + +0 +100 +200 +300 +400 +single-thread + +time (ms) + + From 8d419fb711f6454fec8ec656706ea2f888b93f95 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 6 Mar 2024 11:11:39 +0000 Subject: [PATCH 038/385] chore(deps): update rust crate swc_ecma_parser to 0.143.8 --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e547775..130b9a6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1521,9 +1521,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.143.7" +version = "0.143.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f311ee5fafd37ece487a0a21b6c8fb4f1a35ea6f9de6e76bccabc6f0db46d9f" +checksum = "6199c5748590a77511ff22784c3586103e57c47a2d5a0c17525924f44132382b" dependencies = [ "either", "new_debug_unreachable", diff --git a/Cargo.toml b/Cargo.toml index d7f44f6..ff5a415 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ publish = false [dependencies] oxc = "0.9.0" -swc_ecma_parser = "0.143.7" +swc_ecma_parser = "0.143.8" swc_ecma_ast = "0.112.5" biome_js_parser = "0.4.0" biome_js_syntax = "0.4.0" From 4808956a661491cce36fadbd4f7096a1442c1ad0 Mon Sep 17 00:00:00 2001 From: Boshen Date: Sat, 9 Mar 2024 01:25:37 +0800 Subject: [PATCH 039/385] Rust v1.76.0 --- rust-toolchain.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 31f1ac6..2a6bafb 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.75.0" +channel = "1.76.0" profile = "minimal" From 3cc1e7cf8fca2eb49d5e0fd9c38c880905452995 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 8 Mar 2024 17:27:59 +0000 Subject: [PATCH 040/385] chore(deps): update biome to 0.5.0 --- Cargo.lock | 137 +++++++++++++++++++++++++++++++++++++++++------------ Cargo.toml | 4 +- 2 files changed, 109 insertions(+), 32 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 130b9a6..d058ff0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -114,9 +114,9 @@ dependencies = [ [[package]] name = "biome_console" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e801b86209b829c6ce55108996e03e9e1a0786e79f61d43137c135acd1b4a51b" +checksum = "7369147dd1f927fadabaa37a2eeded856e12aa9be59ff2a09f86626099ffde7e" dependencies = [ "biome_markup", "biome_text_size", @@ -129,9 +129,9 @@ dependencies = [ [[package]] name = "biome_diagnostics" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43d93102e3dadea07a7ea9885bbf0e0e950b27fccc498fd7e4821119015f6325" +checksum = "9fba42f68f602e902c3d71711c7b937d902678534cfc2d4c6fc702c1e307f445" dependencies = [ "backtrace", "biome_console", @@ -142,6 +142,7 @@ dependencies = [ "biome_text_size", "bitflags 2.4.2", "bpaf", + "oxc_resolver", "serde", "termcolor", "unicode-width", @@ -149,9 +150,9 @@ dependencies = [ [[package]] name = "biome_diagnostics_categories" -version = "0.4.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34791403d644da87618aca74647109e6010d99a6f3f9aa160c0df62c9fd3857c" +checksum = "6214f2a791f37a2b357fc72089a2e7d3fdee33b27ea823e53fe9cf1d2d4dd888" dependencies = [ "quote", "serde", @@ -159,9 +160,9 @@ dependencies = [ [[package]] name = "biome_diagnostics_macros" -version = "0.4.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "173ad879c94cee9fb2467b137bd44ed69823d3effbae97b4fdad9d3b0aed06b6" +checksum = "d4714c7ea6d83c2b5c29a01f07d91013b5bf0672880541dc919fa9903d706cfc" dependencies = [ "proc-macro-error", "proc-macro2", @@ -171,9 +172,9 @@ dependencies = [ [[package]] name = "biome_js_factory" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ae6461aecbbdae98d8a002f1985cb330994831be697f2c29bf380e595489ce5" +checksum = "97fd4dc16fc67d9e3fcac01d5c4004135a015fcbe32b447d6e9bf58ea59d508c" dependencies = [ "biome_js_syntax", "biome_rowan", @@ -181,9 +182,9 @@ dependencies = [ [[package]] name = "biome_js_parser" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ecd2414c34496613ca898d52c7ab023e3214a858c0fdabe6bae08e60f14c879" +checksum = "20ab35ce547daaf65f54450c4d16d467eb7c6e25bfac467ce38a205f94bcb062" dependencies = [ "biome_console", "biome_diagnostics", @@ -206,20 +207,21 @@ dependencies = [ [[package]] name = "biome_js_syntax" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7eedd52d731eb06aa9419d87e4133c684e4a927c5d30e38a45034d35318121f0" +checksum = "fce902f944ac136409bc3a6cb8f18a149617e2c82cc6c65ddc7a72d8b63836f0" dependencies = [ "biome_console", "biome_diagnostics", "biome_rowan", + "serde", ] [[package]] name = "biome_markup" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56b52257edee7dae0e0635f701bdee492207081f68e709112a3f149c5885c1f5" +checksum = "9f2c3eaa68cfa4d4c71fd54cb1422028584585302c7712a942e591f32c1e9fbc" dependencies = [ "proc-macro-error", "proc-macro2", @@ -228,9 +230,9 @@ dependencies = [ [[package]] name = "biome_parser" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f11087255514c6dde2cf33b1b721711243762a03ea73ef95db7cd5b05241cca" +checksum = "9364fba04ffd140ce2dde6aa44ae3fec32b25e230b94aa8d72ae6d4d3d026706" dependencies = [ "biome_console", "biome_diagnostics", @@ -241,9 +243,9 @@ dependencies = [ [[package]] name = "biome_rowan" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6bf559e4515c6bfa100dbd7db9a15094d383f3a861105bd74500824c03b7fad" +checksum = "9471566b8d2706b150537ec55dc36bc339a4ad69232d42a528296d1293ce310c" dependencies = [ "biome_text_edit", "biome_text_size", @@ -256,9 +258,9 @@ dependencies = [ [[package]] name = "biome_text_edit" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "755e062d19c08eaaea7be234e9e1bcc4f3b716e7eb2cd27556fbe7975b4c38fc" +checksum = "45fef62a5a33075cbaf1d8937ecc9b9ab18012f9d333c982e9c6b5a622fb4bfe" dependencies = [ "biome_text_size", "serde", @@ -267,18 +269,18 @@ dependencies = [ [[package]] name = "biome_text_size" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8aaf6be95c212a67fca69cbbf92ab67730c1c3b1ff2042f4741fa5c480aaeb8" +checksum = "7e7fe48d1ac62705bcc8f2fd3bf96e6a088f21846e5435a4e855a816a4697291" dependencies = [ "serde", ] [[package]] name = "biome_unicode_table" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "399ef35031b705fcfe73fe5cf7eebb7b41eff7ef973c625b9aef1bb4abdb3402" +checksum = "0c4e5e671458e81079480e043a034bee4b9222d10fe199dc8f1c13283a526307" [[package]] name = "bitflags" @@ -411,6 +413,12 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cd7cc57abe963c6d3b9d8be5b06ba7c8957a930305ca90304f24ef040aa6f961" +[[package]] +name = "clean-path" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aaa6b4b263a5d737e9bf6b7c09b72c41a5480aec4d7219af827f6564e950b6a5" + [[package]] name = "codspeed" version = "2.4.0" @@ -551,6 +559,12 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9bda8e21c04aca2ae33ffc2fd8c23134f3cac46db123ba97bd9d3f3b8a4a85e1" +[[package]] +name = "dunce" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b" + [[package]] name = "dyn-clone" version = "1.0.13" @@ -666,6 +680,7 @@ checksum = "7b0b929d511467233429c45a44ac1dcaa21ba0f5ba11e4879e6ed28ddb4f9df4" dependencies = [ "equivalent", "hashbrown 0.14.2", + "serde", ] [[package]] @@ -722,6 +737,12 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "json-strip-comments" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3d129799327c8f80861e467c59b825ba24c277dba6ad0d71a141dc98f9e04ee" + [[package]] name = "lazy_static" version = "1.4.0" @@ -838,6 +859,20 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54" +[[package]] +name = "nodejs_package_json" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee4e9685b1f144814cac096eae8aed97b9278c05053f70dd5b15294c4fed202c" +dependencies = [ + "indexmap 2.2.5", + "rustc-hash", + "semver", + "serde", + "serde_json", + "thiserror", +] + [[package]] name = "num-bigint" version = "0.4.4" @@ -890,9 +925,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.18.0" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "oorandom" @@ -989,6 +1024,25 @@ dependencies = [ "seq-macro", ] +[[package]] +name = "oxc_resolver" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2255c105f844bd9793db2fa57ee443ac82668d7d86e5601d0245de5efd7686df" +dependencies = [ + "dashmap", + "dunce", + "json-strip-comments", + "nodejs_package_json", + "once_cell", + "rustc-hash", + "serde", + "serde_json", + "thiserror", + "tracing", + "typescript_tsconfig_json", +] + [[package]] name = "oxc_span" version = "0.9.0" @@ -1319,6 +1373,15 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" +[[package]] +name = "semver" +version = "1.0.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92d43fe69e652f3df9bdc2b85b2854a0825b86e4fb76bc44d945137d053639ca" +dependencies = [ + "serde", +] + [[package]] name = "seq-macro" version = "0.3.5" @@ -1358,10 +1421,11 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.105" +version = "1.0.114" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "693151e1ac27563d6dbcec9dee9fbd5da8539b20fa14ad3752b2e6d363ace360" +checksum = "c5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0" dependencies = [ + "indexmap 2.2.5", "itoa", "ryu", "serde", @@ -1721,6 +1785,19 @@ version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a" +[[package]] +name = "typescript_tsconfig_json" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7cc416eaf05297012ead9d192226fe9a92e9a20f64f8780efb9085aaae9b590" +dependencies = [ + "clean-path", + "indexmap 2.2.5", + "rustc-hash", + "serde", + "serde_json", +] + [[package]] name = "unicode-bidi" version = "0.3.13" diff --git a/Cargo.toml b/Cargo.toml index ff5a415..2ac364b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,8 +8,8 @@ publish = false oxc = "0.9.0" swc_ecma_parser = "0.143.8" swc_ecma_ast = "0.112.5" -biome_js_parser = "0.4.0" -biome_js_syntax = "0.4.0" +biome_js_parser = "0.5.0" +biome_js_syntax = "0.5.0" num_cpus = "1.16.0" criterion = { version = "0.5" } From 074fb657402fac3709213aada10d51697e577ade Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 12 Mar 2024 14:03:29 +0000 Subject: [PATCH 041/385] chore(deps): update biome to 0.5.7 --- Cargo.lock | 52 ++++++++++++++++++++++++++-------------------------- Cargo.toml | 4 ++-- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d058ff0..8b55dd1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -114,9 +114,9 @@ dependencies = [ [[package]] name = "biome_console" -version = "0.5.0" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7369147dd1f927fadabaa37a2eeded856e12aa9be59ff2a09f86626099ffde7e" +checksum = "c672a9e31e47f8df74549a570ea3245a93ce3404115c724bb16762fcbbfe17e1" dependencies = [ "biome_markup", "biome_text_size", @@ -129,9 +129,9 @@ dependencies = [ [[package]] name = "biome_diagnostics" -version = "0.5.0" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fba42f68f602e902c3d71711c7b937d902678534cfc2d4c6fc702c1e307f445" +checksum = "fe1317b6d610541c4e6a0e1f803a946f153ace3468bbc77a8f273dcb04ee526f" dependencies = [ "backtrace", "biome_console", @@ -150,9 +150,9 @@ dependencies = [ [[package]] name = "biome_diagnostics_categories" -version = "0.5.1" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6214f2a791f37a2b357fc72089a2e7d3fdee33b27ea823e53fe9cf1d2d4dd888" +checksum = "832080d68a2ee2f198d98ff5d26fc0f5c2566907f773d105a4a049ee07664d19" dependencies = [ "quote", "serde", @@ -160,9 +160,9 @@ dependencies = [ [[package]] name = "biome_diagnostics_macros" -version = "0.5.1" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4714c7ea6d83c2b5c29a01f07d91013b5bf0672880541dc919fa9903d706cfc" +checksum = "540fec04d2e789fb992128c63d111b650733274afffff1cb3f26c8dff5167d3b" dependencies = [ "proc-macro-error", "proc-macro2", @@ -172,9 +172,9 @@ dependencies = [ [[package]] name = "biome_js_factory" -version = "0.5.0" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97fd4dc16fc67d9e3fcac01d5c4004135a015fcbe32b447d6e9bf58ea59d508c" +checksum = "3c9847f4dfd16ee242d12b90f96f6b2eb33238dfc4eac7b5c045e14eebe717b7" dependencies = [ "biome_js_syntax", "biome_rowan", @@ -182,9 +182,9 @@ dependencies = [ [[package]] name = "biome_js_parser" -version = "0.5.0" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20ab35ce547daaf65f54450c4d16d467eb7c6e25bfac467ce38a205f94bcb062" +checksum = "72eabd0387646248dd76d18f7ac20a93158939484fa688492defd76b15673f2e" dependencies = [ "biome_console", "biome_diagnostics", @@ -207,9 +207,9 @@ dependencies = [ [[package]] name = "biome_js_syntax" -version = "0.5.0" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fce902f944ac136409bc3a6cb8f18a149617e2c82cc6c65ddc7a72d8b63836f0" +checksum = "38a524bd8b1f5f7b3355dfe2744196227ee15e9aa3446d562deb9ed511cf2015" dependencies = [ "biome_console", "biome_diagnostics", @@ -219,9 +219,9 @@ dependencies = [ [[package]] name = "biome_markup" -version = "0.5.0" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f2c3eaa68cfa4d4c71fd54cb1422028584585302c7712a942e591f32c1e9fbc" +checksum = "4a7f11cf91599594528e97d216044ef4e410a103327212d909f215cbafe2fd9c" dependencies = [ "proc-macro-error", "proc-macro2", @@ -230,9 +230,9 @@ dependencies = [ [[package]] name = "biome_parser" -version = "0.5.0" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9364fba04ffd140ce2dde6aa44ae3fec32b25e230b94aa8d72ae6d4d3d026706" +checksum = "955dd999f32c086371d5c0e64b4ea1a50f50c98f1f31a3b9fe17ef47198de19b" dependencies = [ "biome_console", "biome_diagnostics", @@ -243,9 +243,9 @@ dependencies = [ [[package]] name = "biome_rowan" -version = "0.5.0" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9471566b8d2706b150537ec55dc36bc339a4ad69232d42a528296d1293ce310c" +checksum = "d3c2dc25a7ba6ae89526340034abed6c89fac35b79060786771e32ed4aac77e7" dependencies = [ "biome_text_edit", "biome_text_size", @@ -258,9 +258,9 @@ dependencies = [ [[package]] name = "biome_text_edit" -version = "0.5.0" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45fef62a5a33075cbaf1d8937ecc9b9ab18012f9d333c982e9c6b5a622fb4bfe" +checksum = "d486fdd96d5dad6428213ce64e6b9eb5bfb2fce6387fe901e844d386283de509" dependencies = [ "biome_text_size", "serde", @@ -269,18 +269,18 @@ dependencies = [ [[package]] name = "biome_text_size" -version = "0.5.0" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e7fe48d1ac62705bcc8f2fd3bf96e6a088f21846e5435a4e855a816a4697291" +checksum = "5ec604d15cefdced636255400359aeacfdea5d1e79445efc7aa32a0de7f0319b" dependencies = [ "serde", ] [[package]] name = "biome_unicode_table" -version = "0.5.0" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c4e5e671458e81079480e043a034bee4b9222d10fe199dc8f1c13283a526307" +checksum = "87e8604d34b02180a58af1dbdaac166f1805f27f5370934142a3246f83870952" [[package]] name = "bitflags" diff --git a/Cargo.toml b/Cargo.toml index 2ac364b..b38551a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,8 +8,8 @@ publish = false oxc = "0.9.0" swc_ecma_parser = "0.143.8" swc_ecma_ast = "0.112.5" -biome_js_parser = "0.5.0" -biome_js_syntax = "0.5.0" +biome_js_parser = "0.5.7" +biome_js_syntax = "0.5.7" num_cpus = "1.16.0" criterion = { version = "0.5" } From 2e20f5fa33330e407cd30035c82e68ac922e18fd Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 14 Mar 2024 03:54:22 +0000 Subject: [PATCH 042/385] chore(deps): update rust crate swc_ecma_parser to 0.143.9 --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8b55dd1..62d4cce 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1585,9 +1585,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.143.8" +version = "0.143.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6199c5748590a77511ff22784c3586103e57c47a2d5a0c17525924f44132382b" +checksum = "5166745785657b26ff7722fc32fafd77a79b655602f8628da9c79cede921da74" dependencies = [ "either", "new_debug_unreachable", diff --git a/Cargo.toml b/Cargo.toml index b38551a..1566357 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ publish = false [dependencies] oxc = "0.9.0" -swc_ecma_parser = "0.143.8" +swc_ecma_parser = "0.143.9" swc_ecma_ast = "0.112.5" biome_js_parser = "0.5.7" biome_js_syntax = "0.5.7" From 1bc5000b2036974ccec6645da006dc44b85cbe0e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 14 Mar 2024 10:49:05 +0000 Subject: [PATCH 043/385] chore(deps): update rust crate oxc to 0.10.0 --- Cargo.lock | 108 ++++++++++++++--------------------------------------- Cargo.toml | 2 +- 2 files changed, 30 insertions(+), 80 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 62d4cce..4edd838 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -327,9 +327,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.15.3" +version = "3.15.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ea184aa71bb362a1157c896979544cc23974e08fd265f29ea96b59f0b4a555b" +checksum = "7ff69b9dd49fd426c69a0db9fc04dd934cdb6645ff000864d98f7e2af8830eaa" [[package]] name = "cast" @@ -707,12 +707,6 @@ dependencies = [ "windows-sys 0.52.0", ] -[[package]] -name = "is_ci" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "616cde7c720bb2bb5824a224687d8f77bfd38922027f01d825cd7453be5099fb" - [[package]] name = "itertools" version = "0.10.5" @@ -807,18 +801,13 @@ dependencies = [ [[package]] name = "miette" -version = "5.10.0" +version = "7.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59bb584eaeeab6bd0226ccf3509a69d7936d148cf3d036ad350abe35e8c6856e" +checksum = "4edc8853320c2a0dab800fbda86253c8938f6ea88510dc92c5f1ed20e794afc1" dependencies = [ - "is-terminal", + "cfg-if", "miette-derive", - "once_cell", "owo-colors", - "supports-color", - "supports-hyperlinks", - "supports-unicode", - "terminal_size", "textwrap", "thiserror", "unicode-width", @@ -826,9 +815,9 @@ dependencies = [ [[package]] name = "miette-derive" -version = "5.10.0" +version = "7.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49e7bc1560b95a3c4a25d03de42fe76ca718ab92d1a22a55b9b4cf67b3ae635c" +checksum = "dcf09caffaac8068c346b6df2a7fc27a177fd20b39421a39ce0a211bde679a6c" dependencies = [ "proc-macro2", "quote", @@ -937,15 +926,15 @@ checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575" [[package]] name = "owo-colors" -version = "3.5.0" +version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f" +checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7aebf2e797c673c3928b98408871d8904823a0f63f8a1fd99905655a89a336ed" +checksum = "88799d8e9a8264a7d5902f7944e149305b2486ddfaf50b3ad23ccd047663c7f9" dependencies = [ "oxc_allocator", "oxc_ast", @@ -958,9 +947,9 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5677681804a0560d559199fdf635f947c016f2847ad0f68279f547278382ce83" +checksum = "9eeb2390506af7127872a1c1fbf2ffc4d08932e763523ec0c6ebae326c4dc31b" dependencies = [ "bumpalo", "serde", @@ -968,9 +957,9 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc532e290b9b732f2f92536bd1f94f05ee60d14521c3654a9eadd04fae017eb6" +checksum = "26db4fe15fc254ea7b4f305fb942dba8044fde93df7bd6f786785396eb8149c8" dependencies = [ "bitflags 2.4.2", "num-bigint", @@ -982,11 +971,10 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ad3fdc22f26dee02a5ab68b25c8229bf02266da152b70ba8c4c69dd01009dde" +checksum = "77fa14e4282548bee824f175905d3043f72af68b7ebea9d9f6f1687b566f16a9" dependencies = [ - "is-terminal", "miette", "owo-colors", "textwrap", @@ -996,9 +984,9 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "099ebc44a85065cf55d43f273f3c3d19d88d2e4ce7aa836571dd2b144ee0d751" +checksum = "79fc7aaf49c9fb430df4e994ffd3dace7d02c0c463e241eed4a7d9934798d862" dependencies = [ "index_vec", "static_assertions", @@ -1006,9 +994,9 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "079241fcd5798a8b000659993f3d44a82b3b732254ac4da416540c78537c968d" +checksum = "4a7caa812944e36d7bf1f339d9e9eec4b71a84390ae42deee0895449915ac729" dependencies = [ "assert-unchecked", "bitflags 2.4.2", @@ -1045,9 +1033,9 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "491a93c8fb142c4f21522f92152a9fc399d9dfe4a0919baac76536409d1dddfc" +checksum = "2b105f28853306526719d3d2e4e523ebc2c7b6dd88b38e84fc0905cb5c2e14bf" dependencies = [ "compact_str", "miette", @@ -1055,9 +1043,9 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ce55bc3ab1348f56628b721274539b8ef75069f230a6103556f7ea0f7258353" +checksum = "934dbdf326e9c380a29b07c95a90cac67d4fb73c7189218f626a93df18f2e5e0" dependencies = [ "bitflags 2.4.2", "dashmap", @@ -1200,9 +1188,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.76" +version = "1.0.79" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95fc56cda0b5c3325f5fbbd7ff9fda9e02bb00bb3dac51252d2f1bfa1cb8cc8c" +checksum = "e835ff2298f5721608eb1a980ecaee1aef2c132bf95ecc026a11b7bf3c01c02e" dependencies = [ "unicode-ident", ] @@ -1501,34 +1489,6 @@ dependencies = [ "syn 2.0.48", ] -[[package]] -name = "supports-color" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4950e7174bffabe99455511c39707310e7e9b440364a2fcb1cc21521be57b354" -dependencies = [ - "is-terminal", - "is_ci", -] - -[[package]] -name = "supports-hyperlinks" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f84231692eb0d4d41e4cdd0cabfdd2e6cd9e255e65f80c9aa7c98dd502b4233d" -dependencies = [ - "is-terminal", -] - -[[package]] -name = "supports-unicode" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b6c2cb240ab5dd21ed4906895ee23fe5a48acdbd15a3ce388e7b62a9b66baf7" -dependencies = [ - "is-terminal", -] - [[package]] name = "swc_atoms" version = "0.6.5" @@ -1681,21 +1641,11 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "terminal_size" -version = "0.1.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "633c1a546cee861a1a6d0dc69ebeca693bf4296661ba7852b9d21d159e0506df" -dependencies = [ - "libc", - "winapi", -] - [[package]] name = "textwrap" -version = "0.15.0" +version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb" +checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9" dependencies = [ "smawk", "unicode-linebreak", diff --git a/Cargo.toml b/Cargo.toml index 1566357..5aceb0e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" publish = false [dependencies] -oxc = "0.9.0" +oxc = "0.10.0" swc_ecma_parser = "0.143.9" swc_ecma_ast = "0.112.5" biome_js_parser = "0.5.7" From 70611abeb4782993414fb653a3b9163bf2434829 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 19 Mar 2024 04:35:59 +0000 Subject: [PATCH 044/385] chore(deps): update swc --- Cargo.lock | 12 ++++++------ Cargo.toml | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4edd838..c15db20 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1503,9 +1503,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.33.19" +version = "0.33.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc30ce6695b841f0a9ae01a9ca10ac3922cff559a6253c756a203c4332c62945" +checksum = "317d2fcdbb1bc9ecfd0bfc67468d675a5159a6fd1863abf41c8c5b7b7adcab03" dependencies = [ "ast_node", "better_scoped_tls", @@ -1528,9 +1528,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.112.5" +version = "0.112.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "032f528398358da8ff2fe795755602b4a81ffc93430b9830c0e1d5f198d8f48d" +checksum = "70656acd47c91918635f1e8589963428cb3170975b71d786c79fb7a25605f687" dependencies = [ "bitflags 2.4.2", "is-macro", @@ -1545,9 +1545,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.143.9" +version = "0.143.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5166745785657b26ff7722fc32fafd77a79b655602f8628da9c79cede921da74" +checksum = "4b919bb9ae5e1c8c54fb109f7e94b4a00185bd255c1238ba823e8102601e2133" dependencies = [ "either", "new_debug_unreachable", diff --git a/Cargo.toml b/Cargo.toml index 5aceb0e..33255d9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,8 +6,8 @@ publish = false [dependencies] oxc = "0.10.0" -swc_ecma_parser = "0.143.9" -swc_ecma_ast = "0.112.5" +swc_ecma_parser = "0.143.10" +swc_ecma_ast = "0.112.6" biome_js_parser = "0.5.7" biome_js_syntax = "0.5.7" From ca8ccc120a6a60d6d7a19710e5ab517567bace7f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 24 Mar 2024 07:50:52 +0000 Subject: [PATCH 045/385] chore(deps): update rust crate rayon to 1.10.0 --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c15db20..058bcdb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1230,9 +1230,9 @@ checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" [[package]] name = "rayon" -version = "1.9.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4963ed1bc86e4f3ee217022bd855b297cef07fb9eac5dfa1f788b220b49b3bd" +checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" dependencies = [ "either", "rayon-core", diff --git a/Cargo.toml b/Cargo.toml index 33255d9..7fd6542 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ biome_js_syntax = "0.5.7" num_cpus = "1.16.0" criterion = { version = "0.5" } -rayon = "1.9.0" +rayon = "1.10.0" mimalloc = "0.1.39" codspeed-criterion-compat = { version = "2.4.0", default-features = false, optional = true } From 3087173b352010cbb12772ce5f8807d2a289c649 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 26 Mar 2024 08:35:21 +0000 Subject: [PATCH 046/385] chore(deps): update rust crate swc_ecma_parser to 0.143.11 --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 058bcdb..4856965 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1545,9 +1545,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.143.10" +version = "0.143.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b919bb9ae5e1c8c54fb109f7e94b4a00185bd255c1238ba823e8102601e2133" +checksum = "192482230498a24c2e7c9c580ba334a80dc43b3899366e54aa548f8d7b0f12cd" dependencies = [ "either", "new_debug_unreachable", diff --git a/Cargo.toml b/Cargo.toml index 7fd6542..ffef38e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ publish = false [dependencies] oxc = "0.10.0" -swc_ecma_parser = "0.143.10" +swc_ecma_parser = "0.143.11" swc_ecma_ast = "0.112.6" biome_js_parser = "0.5.7" biome_js_syntax = "0.5.7" From 603fa9e8c7b1898212ab4c0f45564c57b3a4f452 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 30 Mar 2024 07:16:31 +0000 Subject: [PATCH 047/385] chore(deps): update rust crate oxc to 0.11.0 --- Cargo.lock | 70 +++++++++++++++++++++++++++--------------------------- Cargo.toml | 2 +- 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4856965..93e10fa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -140,7 +140,7 @@ dependencies = [ "biome_rowan", "biome_text_edit", "biome_text_size", - "bitflags 2.4.2", + "bitflags 2.5.0", "bpaf", "oxc_resolver", "serde", @@ -193,7 +193,7 @@ dependencies = [ "biome_parser", "biome_rowan", "biome_unicode_table", - "bitflags 2.4.2", + "bitflags 2.5.0", "cfg-if", "drop_bomb", "indexmap 1.9.3", @@ -237,7 +237,7 @@ dependencies = [ "biome_console", "biome_diagnostics", "biome_rowan", - "bitflags 2.4.2", + "bitflags 2.5.0", "drop_bomb", ] @@ -290,9 +290,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.4.2" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf" +checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1" [[package]] name = "bpaf" @@ -674,9 +674,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.2.5" +version = "2.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b0b929d511467233429c45a44ac1dcaa21ba0f5ba11e4879e6ed28ddb4f9df4" +checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" dependencies = [ "equivalent", "hashbrown 0.14.2", @@ -854,7 +854,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee4e9685b1f144814cac096eae8aed97b9278c05053f70dd5b15294c4fed202c" dependencies = [ - "indexmap 2.2.5", + "indexmap 2.2.6", "rustc-hash", "semver", "serde", @@ -932,9 +932,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88799d8e9a8264a7d5902f7944e149305b2486ddfaf50b3ad23ccd047663c7f9" +checksum = "ab079464ccad5d7486b2476362fc8559f85121ab98ff0aefa7d8119b43963835" dependencies = [ "oxc_allocator", "oxc_ast", @@ -947,9 +947,9 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9eeb2390506af7127872a1c1fbf2ffc4d08932e763523ec0c6ebae326c4dc31b" +checksum = "17132d0b424c99b4e6cad31e6a7f8dedfbac75da6aea44c11c3275b729d51326" dependencies = [ "bumpalo", "serde", @@ -957,11 +957,11 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26db4fe15fc254ea7b4f305fb942dba8044fde93df7bd6f786785396eb8149c8" +checksum = "4ef34ea594d2a57d3ba319d6b6d8f953a92512008f80276a2163635c864b0d07" dependencies = [ - "bitflags 2.4.2", + "bitflags 2.5.0", "num-bigint", "oxc_allocator", "oxc_index", @@ -971,9 +971,9 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77fa14e4282548bee824f175905d3043f72af68b7ebea9d9f6f1687b566f16a9" +checksum = "6594c765517d1b6680aa9ad00177ddd28ee9252ffd402e0113e4bdce0f49d850" dependencies = [ "miette", "owo-colors", @@ -984,9 +984,9 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79fc7aaf49c9fb430df4e994ffd3dace7d02c0c463e241eed4a7d9934798d862" +checksum = "50cde9e9b3c7b9a1cb4dc77122a238554e7a14e480d1839418d59ad8d7492dbc" dependencies = [ "index_vec", "static_assertions", @@ -994,12 +994,12 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a7caa812944e36d7bf1f339d9e9eec4b71a84390ae42deee0895449915ac729" +checksum = "990cb7be03298431c4b1fb7023e9b3a2472edd0fb52eded241e3209db79e9812" dependencies = [ "assert-unchecked", - "bitflags 2.4.2", + "bitflags 2.5.0", "memchr", "num-bigint", "oxc_allocator", @@ -1033,9 +1033,9 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b105f28853306526719d3d2e4e523ebc2c7b6dd88b38e84fc0905cb5c2e14bf" +checksum = "d61bcc0028aee731ccbc1d5e2367b18f9c3ea486a05bfa244062d721c8560600" dependencies = [ "compact_str", "miette", @@ -1043,13 +1043,13 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "934dbdf326e9c380a29b07c95a90cac67d4fb73c7189218f626a93df18f2e5e0" +checksum = "0b7ce8858db4b423bc8c2fd3180419a3f9df7116458d67e7c3e0787ff394f288" dependencies = [ - "bitflags 2.4.2", + "bitflags 2.5.0", "dashmap", - "indexmap 2.2.5", + "indexmap 2.2.6", "oxc_index", "oxc_span", "phf", @@ -1413,7 +1413,7 @@ version = "1.0.114" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0" dependencies = [ - "indexmap 2.2.5", + "indexmap 2.2.6", "itoa", "ryu", "serde", @@ -1532,7 +1532,7 @@ version = "0.112.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70656acd47c91918635f1e8589963428cb3170975b71d786c79fb7a25605f687" dependencies = [ - "bitflags 2.4.2", + "bitflags 2.5.0", "is-macro", "num-bigint", "phf", @@ -1654,18 +1654,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.57" +version = "1.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e45bcbe8ed29775f228095caf2cd67af7a4ccf756ebff23a306bf3e8b47b24b" +checksum = "03468839009160513471e86a034bb2c5c0e4baae3b43f79ffc55c4a5427b3297" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.57" +version = "1.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a953cb265bef375dae3de6663da4d3804eee9682ea80d8e2542529b73c531c81" +checksum = "c61f3ba182994efc43764a46c018c347bc492c79f024e705f46567b418f6d4f7" dependencies = [ "proc-macro2", "quote", @@ -1742,7 +1742,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7cc416eaf05297012ead9d192226fe9a92e9a20f64f8780efb9085aaae9b590" dependencies = [ "clean-path", - "indexmap 2.2.5", + "indexmap 2.2.6", "rustc-hash", "serde", "serde_json", diff --git a/Cargo.toml b/Cargo.toml index ffef38e..64ed3ee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" publish = false [dependencies] -oxc = "0.10.0" +oxc = "0.11.0" swc_ecma_parser = "0.143.11" swc_ecma_ast = "0.112.6" biome_js_parser = "0.5.7" From 76711ae6179ea47c1050b032057a1456af579788 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 3 Apr 2024 12:05:56 +0000 Subject: [PATCH 048/385] chore(deps): update rust crate oxc to 0.12.1 --- Cargo.lock | 32 ++++++++++++++++---------------- Cargo.toml | 2 +- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 93e10fa..8823b7c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -932,9 +932,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.11.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab079464ccad5d7486b2476362fc8559f85121ab98ff0aefa7d8119b43963835" +checksum = "6f87347dd808140272c254c0a2012fd594be5b241b6d9856cb1fe900a430e1b5" dependencies = [ "oxc_allocator", "oxc_ast", @@ -947,9 +947,9 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.11.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17132d0b424c99b4e6cad31e6a7f8dedfbac75da6aea44c11c3275b729d51326" +checksum = "d63bc86f350904d6da5de5b459f7a490c5bce22d5dfa5ed298c3d87342c0cd43" dependencies = [ "bumpalo", "serde", @@ -957,9 +957,9 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.11.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ef34ea594d2a57d3ba319d6b6d8f953a92512008f80276a2163635c864b0d07" +checksum = "7ae139fc4aa9faa356e088c4cba93eecb7fd4ea80db0936d5974eb82f274c611" dependencies = [ "bitflags 2.5.0", "num-bigint", @@ -971,9 +971,9 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.11.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6594c765517d1b6680aa9ad00177ddd28ee9252ffd402e0113e4bdce0f49d850" +checksum = "a297e44bb3bf2addb5ad2d9d662c179898df4d100f2dafb50fa4de8f35e5f23f" dependencies = [ "miette", "owo-colors", @@ -984,9 +984,9 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.11.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50cde9e9b3c7b9a1cb4dc77122a238554e7a14e480d1839418d59ad8d7492dbc" +checksum = "0f93d0bbc607be3c9bd801e37eebabf2d12200bb454cc4b624eb7096733fbb4b" dependencies = [ "index_vec", "static_assertions", @@ -994,9 +994,9 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.11.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "990cb7be03298431c4b1fb7023e9b3a2472edd0fb52eded241e3209db79e9812" +checksum = "36bcee41b4840632b0d49d5b1c0b335e35e106909d37b12613e347b5d8e3f968" dependencies = [ "assert-unchecked", "bitflags 2.5.0", @@ -1033,9 +1033,9 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.11.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d61bcc0028aee731ccbc1d5e2367b18f9c3ea486a05bfa244062d721c8560600" +checksum = "914afbbb0af5439e49ed12d9ef2f5efbadc91de237562e7e10af6b9a52171943" dependencies = [ "compact_str", "miette", @@ -1043,9 +1043,9 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.11.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7ce8858db4b423bc8c2fd3180419a3f9df7116458d67e7c3e0787ff394f288" +checksum = "d3adaa7fd0884a4748ca7ecaf6b61f2b1869263e25b04b0d1618a19dfcdf4b91" dependencies = [ "bitflags 2.5.0", "dashmap", diff --git a/Cargo.toml b/Cargo.toml index 64ed3ee..5836b42 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" publish = false [dependencies] -oxc = "0.11.0" +oxc = "0.12.1" swc_ecma_parser = "0.143.11" swc_ecma_ast = "0.112.6" biome_js_parser = "0.5.7" From c81220fe5a604f2355f76931bb63a2b9476040ef Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 4 Apr 2024 11:47:00 +0000 Subject: [PATCH 049/385] chore(deps): update swc --- Cargo.lock | 49 +++++++++++++++---------------------------------- Cargo.toml | 4 ++-- 2 files changed, 17 insertions(+), 36 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8823b7c..3cb9fbe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -573,9 +573,9 @@ checksum = "bbfc4744c1b8f2a09adc0e55242f60b1af195d88596bd8700be74418c056c555" [[package]] name = "either" -version = "1.9.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" +checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" [[package]] name = "equivalent" @@ -685,12 +685,11 @@ dependencies = [ [[package]] name = "is-macro" -version = "0.3.0" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4467ed1321b310c2625c5aa6c1b1ffc5de4d9e42668cf697a08fb033ee8265e" +checksum = "59a85abdc13717906baccb5a1e435556ce0df215f242892f721dff62bf25288f" dependencies = [ "Inflector", - "pmutil", "proc-macro2", "quote", "syn 2.0.48", @@ -1152,17 +1151,6 @@ dependencies = [ "plotters-backend", ] -[[package]] -name = "pmutil" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52a40bc70c2c58040d2d8b167ba9a5ff59fc9dab7ad44771cfde3dcfde7a09c6" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.48", -] - [[package]] name = "proc-macro-error" version = "1.0.4" @@ -1528,9 +1516,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.112.6" +version = "0.112.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70656acd47c91918635f1e8589963428cb3170975b71d786c79fb7a25605f687" +checksum = "6bcd97ee367b48444f90416ea56e71d761600f816bcae9df4f99293d1fa36bd5" dependencies = [ "bitflags 2.5.0", "is-macro", @@ -1540,14 +1528,14 @@ dependencies = [ "string_enum", "swc_atoms", "swc_common", - "unicode-id", + "unicode-id-start", ] [[package]] name = "swc_ecma_parser" -version = "0.143.11" +version = "0.143.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "192482230498a24c2e7c9c580ba334a80dc43b3899366e54aa548f8d7b0f12cd" +checksum = "b6fc7ab256f83a9491b37a510dd1cba9d81bb306faf3cff1dacdbc897fa4869f" dependencies = [ "either", "new_debug_unreachable", @@ -1699,11 +1687,10 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tracing" -version = "0.1.37" +version = "0.1.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" +checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" dependencies = [ - "cfg-if", "pin-project-lite", "tracing-attributes", "tracing-core", @@ -1711,9 +1698,9 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.26" +version = "0.1.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab" +checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", @@ -1722,9 +1709,9 @@ dependencies = [ [[package]] name = "tracing-core" -version = "0.1.31" +version = "0.1.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a" +checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" dependencies = [ "once_cell", ] @@ -1760,12 +1747,6 @@ version = "2.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7eec5d1121208364f6793f7d2e222bf75a915c19557537745b195b253dd64217" -[[package]] -name = "unicode-id" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d70b6494226b36008c8366c288d77190b3fad2eb4c10533139c1c1f461127f1a" - [[package]] name = "unicode-id-start" version = "1.1.2" diff --git a/Cargo.toml b/Cargo.toml index 5836b42..02e98b5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,8 +6,8 @@ publish = false [dependencies] oxc = "0.12.1" -swc_ecma_parser = "0.143.11" -swc_ecma_ast = "0.112.6" +swc_ecma_parser = "0.143.12" +swc_ecma_ast = "0.112.7" biome_js_parser = "0.5.7" biome_js_syntax = "0.5.7" From 102dd81fd4f847327d7227a32531788f4921fde0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 8 Apr 2024 04:22:01 +0000 Subject: [PATCH 050/385] chore(deps): update rust crate oxc to 0.12.2 --- Cargo.lock | 36 ++++++++++++++++++------------------ Cargo.toml | 2 +- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3cb9fbe..7559afd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -776,9 +776,9 @@ checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" [[package]] name = "memchr" -version = "2.7.1" +version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" +checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" [[package]] name = "memoffset" @@ -931,9 +931,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.12.1" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f87347dd808140272c254c0a2012fd594be5b241b6d9856cb1fe900a430e1b5" +checksum = "1d2c8b600ba0e6eeae1b38be26746ecb402f6c8ccc6921fb75419bb14ecd9364" dependencies = [ "oxc_allocator", "oxc_ast", @@ -946,9 +946,9 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.12.1" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d63bc86f350904d6da5de5b459f7a490c5bce22d5dfa5ed298c3d87342c0cd43" +checksum = "f7a8702ba3891e74a12d56fd76276870627b2e7b5b453e44834098619a829e97" dependencies = [ "bumpalo", "serde", @@ -956,9 +956,9 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.12.1" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ae139fc4aa9faa356e088c4cba93eecb7fd4ea80db0936d5974eb82f274c611" +checksum = "214497343650a28e5fecc3b25ae5cd8040717ddbb92b7e8f7f113317a5a6e61b" dependencies = [ "bitflags 2.5.0", "num-bigint", @@ -970,9 +970,9 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.12.1" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a297e44bb3bf2addb5ad2d9d662c179898df4d100f2dafb50fa4de8f35e5f23f" +checksum = "831b3aeb609baeffb0c8d734bdfd6f4edc569ec7f0cbc42f41f88f56f9762c67" dependencies = [ "miette", "owo-colors", @@ -983,9 +983,9 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.12.1" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f93d0bbc607be3c9bd801e37eebabf2d12200bb454cc4b624eb7096733fbb4b" +checksum = "a4e887e827ca8258b5f0e64c39f01e14fca9b2c12c7fd680b509eb0f4ad86498" dependencies = [ "index_vec", "static_assertions", @@ -993,9 +993,9 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.12.1" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36bcee41b4840632b0d49d5b1c0b335e35e106909d37b12613e347b5d8e3f968" +checksum = "7419057a6eb0e42bb08d06bcabef67b837ff3764e377087b3067a99db9f6a797" dependencies = [ "assert-unchecked", "bitflags 2.5.0", @@ -1032,9 +1032,9 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.12.1" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "914afbbb0af5439e49ed12d9ef2f5efbadc91de237562e7e10af6b9a52171943" +checksum = "22bd09dc3c17b1d202be1adc96f035be4d41aaa9e7398f3232aa26270c1c1952" dependencies = [ "compact_str", "miette", @@ -1042,9 +1042,9 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.12.1" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3adaa7fd0884a4748ca7ecaf6b61f2b1869263e25b04b0d1618a19dfcdf4b91" +checksum = "2f8b814d3b96f476cd2032765e3a2fda53d9ab14e6c5606d0b1979d10b7b8a1c" dependencies = [ "bitflags 2.5.0", "dashmap", diff --git a/Cargo.toml b/Cargo.toml index 02e98b5..3f2b642 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" publish = false [dependencies] -oxc = "0.12.1" +oxc = "0.12.2" swc_ecma_parser = "0.143.12" swc_ecma_ast = "0.112.7" biome_js_parser = "0.5.7" From dd5d03c46c7dbd712c9dc4e43843a9774fb06455 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 10 Apr 2024 04:57:57 +0000 Subject: [PATCH 051/385] chore(deps): update rust crate codspeed-criterion-compat to 2.4.1 --- Cargo.lock | 8 ++++---- Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7559afd..15a8368 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -421,9 +421,9 @@ checksum = "aaa6b4b263a5d737e9bf6b7c09b72c41a5480aec4d7219af827f6564e950b6a5" [[package]] name = "codspeed" -version = "2.4.0" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b85b056aa0541d1975ebc524149dde72803a5d7352b6aebf9eabc44f9017246" +checksum = "655a6d8e698ef8de25b6fb160dc904d98cf3642df48fae8bb05711db1893f47d" dependencies = [ "colored", "libc", @@ -432,9 +432,9 @@ dependencies = [ [[package]] name = "codspeed-criterion-compat" -version = "2.4.0" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02ae9de916d6315a5129bca2fc7957285f0b9f77a2f6a8734a0a146caee2b0b6" +checksum = "cb377d73b85084b1ca5615e42fdbf3b52631d6d8feda4be6dfc2150646f53cea" dependencies = [ "codspeed", "colored", diff --git a/Cargo.toml b/Cargo.toml index 3f2b642..df6054f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ num_cpus = "1.16.0" criterion = { version = "0.5" } rayon = "1.10.0" mimalloc = "0.1.39" -codspeed-criterion-compat = { version = "2.4.0", default-features = false, optional = true } +codspeed-criterion-compat = { version = "2.4.1", default-features = false, optional = true } [features] codspeed = ["codspeed-criterion-compat"] From 681101e590df6d20221e1c95d52656b57703f77a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 11 Apr 2024 01:02:15 +0000 Subject: [PATCH 052/385] chore(deps): update rust crate swc_ecma_parser to 0.143.13 --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 15a8368..b09a616 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1533,9 +1533,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.143.12" +version = "0.143.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6fc7ab256f83a9491b37a510dd1cba9d81bb306faf3cff1dacdbc897fa4869f" +checksum = "5354a20ab66c2ec5001982271b6e7c750b7fca3409888ab9703ae3d3c845fed4" dependencies = [ "either", "new_debug_unreachable", diff --git a/Cargo.toml b/Cargo.toml index df6054f..6a703e1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ publish = false [dependencies] oxc = "0.12.2" -swc_ecma_parser = "0.143.12" +swc_ecma_parser = "0.143.13" swc_ecma_ast = "0.112.7" biome_js_parser = "0.5.7" biome_js_syntax = "0.5.7" From 05a194fea650a566e2804db424b93df291a32e69 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 11 Apr 2024 12:01:27 +0000 Subject: [PATCH 053/385] chore(deps): update rust crate oxc to 0.12.3 --- Cargo.lock | 32 ++++++++++++++++---------------- Cargo.toml | 2 +- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b09a616..bcfbddc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -931,9 +931,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.12.2" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d2c8b600ba0e6eeae1b38be26746ecb402f6c8ccc6921fb75419bb14ecd9364" +checksum = "c1fae9873d4b15c75f6c1d22a2ce52e81775d691b830d787713b03c5cd7dc72b" dependencies = [ "oxc_allocator", "oxc_ast", @@ -946,9 +946,9 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.12.2" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7a8702ba3891e74a12d56fd76276870627b2e7b5b453e44834098619a829e97" +checksum = "cc124182c8b2687ae4d1b90010599a7e737f978527c498878206a618d5076e2d" dependencies = [ "bumpalo", "serde", @@ -956,9 +956,9 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.12.2" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "214497343650a28e5fecc3b25ae5cd8040717ddbb92b7e8f7f113317a5a6e61b" +checksum = "7bf75711e5ee8d5e6b9c9bc944c58becffa094be9895ed9465e1d4ae6e3a3f01" dependencies = [ "bitflags 2.5.0", "num-bigint", @@ -970,9 +970,9 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.12.2" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "831b3aeb609baeffb0c8d734bdfd6f4edc569ec7f0cbc42f41f88f56f9762c67" +checksum = "a1687ae59c51a5a78f8f02160a6f934e844e74801654b445d28eec878e09967b" dependencies = [ "miette", "owo-colors", @@ -983,9 +983,9 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.12.2" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4e887e827ca8258b5f0e64c39f01e14fca9b2c12c7fd680b509eb0f4ad86498" +checksum = "45aa91e04e64cb708bbdc52e9551433ea2b9b552140a9d5a1eb879d4f888ea20" dependencies = [ "index_vec", "static_assertions", @@ -993,9 +993,9 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.12.2" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7419057a6eb0e42bb08d06bcabef67b837ff3764e377087b3067a99db9f6a797" +checksum = "f6b20dfe742f4355be5f9df2bfacc093fe1884ad8107d775fbd2dc3b0d367a98" dependencies = [ "assert-unchecked", "bitflags 2.5.0", @@ -1032,9 +1032,9 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.12.2" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22bd09dc3c17b1d202be1adc96f035be4d41aaa9e7398f3232aa26270c1c1952" +checksum = "eddad0bda5da466b241f4b01d2d356fe44d2df2d1094fb079a5a16c009b0f4c1" dependencies = [ "compact_str", "miette", @@ -1042,9 +1042,9 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.12.2" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f8b814d3b96f476cd2032765e3a2fda53d9ab14e6c5606d0b1979d10b7b8a1c" +checksum = "963fbd06ac090db0e3b9b570e7a0ba768f9a94ec631da0ecb97a74f34b518e99" dependencies = [ "bitflags 2.5.0", "dashmap", diff --git a/Cargo.toml b/Cargo.toml index 6a703e1..f1cf102 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" publish = false [dependencies] -oxc = "0.12.2" +oxc = "0.12.3" swc_ecma_parser = "0.143.13" swc_ecma_ast = "0.112.7" biome_js_parser = "0.5.7" From cd85ce24f991069b7ff2125262098da7bfabf4b3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 16 Apr 2024 01:31:27 +0000 Subject: [PATCH 054/385] chore(deps): update rust crate swc_ecma_parser to 0.143.14 --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bcfbddc..7bf42b7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1533,9 +1533,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.143.13" +version = "0.143.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5354a20ab66c2ec5001982271b6e7c750b7fca3409888ab9703ae3d3c845fed4" +checksum = "62a4fdc93dc8d2b141e951e656cb21ad044f5e53d70cdd253a70e0ef79e50f9a" dependencies = [ "either", "new_debug_unreachable", diff --git a/Cargo.toml b/Cargo.toml index f1cf102..d439810 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ publish = false [dependencies] oxc = "0.12.3" -swc_ecma_parser = "0.143.13" +swc_ecma_parser = "0.143.14" swc_ecma_ast = "0.112.7" biome_js_parser = "0.5.7" biome_js_syntax = "0.5.7" From a9754f51f3624f42c03dc54bba5d0589b73bbaaa Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 16 Apr 2024 11:24:30 +0000 Subject: [PATCH 055/385] chore(deps): update swc --- Cargo.lock | 8 ++++---- Cargo.toml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7bf42b7..94cc077 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1516,9 +1516,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.112.7" +version = "0.112.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bcd97ee367b48444f90416ea56e71d761600f816bcae9df4f99293d1fa36bd5" +checksum = "d1d5c33c22ad50e8e34b3080a6fb133316d2eaa7d00400fc5018151f5ca44c5a" dependencies = [ "bitflags 2.5.0", "is-macro", @@ -1533,9 +1533,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.143.14" +version = "0.143.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62a4fdc93dc8d2b141e951e656cb21ad044f5e53d70cdd253a70e0ef79e50f9a" +checksum = "e6a9fcc676d603f70f32797f20c2909c14117b5d510092e049c71c93595764d4" dependencies = [ "either", "new_debug_unreachable", diff --git a/Cargo.toml b/Cargo.toml index d439810..aedd0dc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,8 +6,8 @@ publish = false [dependencies] oxc = "0.12.3" -swc_ecma_parser = "0.143.14" -swc_ecma_ast = "0.112.7" +swc_ecma_parser = "0.143.15" +swc_ecma_ast = "0.112.8" biome_js_parser = "0.5.7" biome_js_syntax = "0.5.7" From 6004b9f41dbacb22ba41c7c39c7b089cc86b5917 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 17 Apr 2024 07:41:43 +0000 Subject: [PATCH 056/385] chore(deps): update rust crate swc_ecma_parser to 0.143.16 --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 94cc077..8a27289 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1533,9 +1533,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.143.15" +version = "0.143.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6a9fcc676d603f70f32797f20c2909c14117b5d510092e049c71c93595764d4" +checksum = "40b7faa481ac015b330f1c4bc8df2c9947242020e23ccdb10bc7a8ef84342509" dependencies = [ "either", "new_debug_unreachable", diff --git a/Cargo.toml b/Cargo.toml index aedd0dc..36be4fd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ publish = false [dependencies] oxc = "0.12.3" -swc_ecma_parser = "0.143.15" +swc_ecma_parser = "0.143.16" swc_ecma_ast = "0.112.8" biome_js_parser = "0.5.7" biome_js_syntax = "0.5.7" From 1814b726281ca03d9a6379dfe61dadc267df3dba Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 19 Apr 2024 11:07:35 +0000 Subject: [PATCH 057/385] chore(deps): update rust crate oxc to 0.12.4 --- Cargo.lock | 42 ++++++++++++++++++++++++++---------------- Cargo.toml | 2 +- 2 files changed, 27 insertions(+), 17 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8a27289..509899f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -36,6 +36,12 @@ dependencies = [ "memchr", ] +[[package]] +name = "allocator-api2" +version = "0.2.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" + [[package]] name = "anes" version = "0.1.6" @@ -330,6 +336,9 @@ name = "bumpalo" version = "3.15.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ff69b9dd49fd426c69a0db9fc04dd934cdb6645ff000864d98f7e2af8830eaa" +dependencies = [ + "allocator-api2", +] [[package]] name = "cast" @@ -931,9 +940,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.12.3" +version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1fae9873d4b15c75f6c1d22a2ce52e81775d691b830d787713b03c5cd7dc72b" +checksum = "e54feb31ad9d69bd2ed615195019c01ac62168b41d6f681be91dcf1374f37b3e" dependencies = [ "oxc_allocator", "oxc_ast", @@ -946,19 +955,20 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.12.3" +version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc124182c8b2687ae4d1b90010599a7e737f978527c498878206a618d5076e2d" +checksum = "97ef8cdbba307c49a65a77b473fd887110594748da8671c242e35aa588f5ddc5" dependencies = [ + "allocator-api2", "bumpalo", "serde", ] [[package]] name = "oxc_ast" -version = "0.12.3" +version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7bf75711e5ee8d5e6b9c9bc944c58becffa094be9895ed9465e1d4ae6e3a3f01" +checksum = "6019de421ecdbe16d7cdb66b1cc6a29e8df7426b369672bf63e2eb30e42d8327" dependencies = [ "bitflags 2.5.0", "num-bigint", @@ -970,9 +980,9 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.12.3" +version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1687ae59c51a5a78f8f02160a6f934e844e74801654b445d28eec878e09967b" +checksum = "f590a3fd05f2bfcb6c977df0a1584f071b14e0f711941cd99d5fcaf0bbd2502a" dependencies = [ "miette", "owo-colors", @@ -983,9 +993,9 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.12.3" +version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45aa91e04e64cb708bbdc52e9551433ea2b9b552140a9d5a1eb879d4f888ea20" +checksum = "2e2c71bb0b90212f945c8b33dba0da07e8b12d52d738f3a0d61b19ded3c536b7" dependencies = [ "index_vec", "static_assertions", @@ -993,9 +1003,9 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.12.3" +version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6b20dfe742f4355be5f9df2bfacc093fe1884ad8107d775fbd2dc3b0d367a98" +checksum = "7b5ac306c3495cf3c3384b918c51342a89ed11a0bc7b41482df388e118969ea4" dependencies = [ "assert-unchecked", "bitflags 2.5.0", @@ -1032,9 +1042,9 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.12.3" +version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eddad0bda5da466b241f4b01d2d356fe44d2df2d1094fb079a5a16c009b0f4c1" +checksum = "10e8ced9d1a0d162bfd3479fa30092576fc5deeac719c7516a5ac59a028c6d80" dependencies = [ "compact_str", "miette", @@ -1042,9 +1052,9 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.12.3" +version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "963fbd06ac090db0e3b9b570e7a0ba768f9a94ec631da0ecb97a74f34b518e99" +checksum = "cff039871541ab7c0f62476313a0eb91bfa21004cad56a8a9a8688f96d794b37" dependencies = [ "bitflags 2.5.0", "dashmap", diff --git a/Cargo.toml b/Cargo.toml index 36be4fd..23f57bc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" publish = false [dependencies] -oxc = "0.12.3" +oxc = "0.12.4" swc_ecma_parser = "0.143.16" swc_ecma_ast = "0.112.8" biome_js_parser = "0.5.7" From 04a889435df56f1b87d185093fee6a04b56cf2bd Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 22 Apr 2024 03:45:22 +0000 Subject: [PATCH 058/385] chore(deps): update rust crate codspeed-criterion-compat to 2.5.0 --- Cargo.lock | 8 ++++---- Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 509899f..b343d2f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -430,9 +430,9 @@ checksum = "aaa6b4b263a5d737e9bf6b7c09b72c41a5480aec4d7219af827f6564e950b6a5" [[package]] name = "codspeed" -version = "2.4.1" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "655a6d8e698ef8de25b6fb160dc904d98cf3642df48fae8bb05711db1893f47d" +checksum = "735f16ee0fc63cb90596cd7b57ce481522adfe1714f95bc04a94d4f4b0a06a6d" dependencies = [ "colored", "libc", @@ -441,9 +441,9 @@ dependencies = [ [[package]] name = "codspeed-criterion-compat" -version = "2.4.1" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb377d73b85084b1ca5615e42fdbf3b52631d6d8feda4be6dfc2150646f53cea" +checksum = "572ca9c8ad460591b40aad63c99d6746aa3c532f979175344eb015389499860c" dependencies = [ "codspeed", "colored", diff --git a/Cargo.toml b/Cargo.toml index 23f57bc..29b6e73 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ num_cpus = "1.16.0" criterion = { version = "0.5" } rayon = "1.10.0" mimalloc = "0.1.39" -codspeed-criterion-compat = { version = "2.4.1", default-features = false, optional = true } +codspeed-criterion-compat = { version = "2.5.0", default-features = false, optional = true } [features] codspeed = ["codspeed-criterion-compat"] From 5b8e60932b07d84a34fe34511f1cefe05ad764e8 Mon Sep 17 00:00:00 2001 From: Boshen Date: Mon, 22 Apr 2024 12:55:25 +0800 Subject: [PATCH 059/385] chore: use criterion2 (#91) --- Cargo.lock | 331 +++++++--------------------------------------- Cargo.toml | 29 ++-- benches/parser.rs | 7 +- 3 files changed, 65 insertions(+), 302 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b343d2f..b03f35f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -44,15 +44,9 @@ checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" [[package]] name = "anes" -version = "0.1.6" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299" - -[[package]] -name = "anstyle" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15c4c2c83f81532e5845a733998b6971faca23490340a418e9b72a3ec9de12ea" +checksum = "735d4f398ca57cfa2880225c2bf81c3b9af3be5bb22e44ae70118dad38713e84" [[package]] name = "assert-unchecked" @@ -99,8 +93,7 @@ version = "0.1.0" dependencies = [ "biome_js_parser", "biome_js_syntax", - "codspeed-criterion-compat", - "criterion", + "criterion2", "mimalloc", "num_cpus", "oxc", @@ -372,9 +365,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "ciborium" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "effd91f6c78e5a4ace8a5d3c0b6bfaec9e2baaef55f3efc00e45fb2e477ee926" +checksum = "42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e" dependencies = [ "ciborium-io", "ciborium-ll", @@ -383,45 +376,20 @@ dependencies = [ [[package]] name = "ciborium-io" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdf919175532b369853f5d5e20b26b43112613fd6fe7aee757e35f7a44642656" +checksum = "05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757" [[package]] name = "ciborium-ll" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "defaa24ecc093c77630e6c15e17c51f5e187bf35ee514f4e2d67baaa96dae22b" +checksum = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9" dependencies = [ "ciborium-io", "half", ] -[[package]] -name = "clap" -version = "4.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a13b88d2c62ff462f88e4a121f17a82c1af05693a2f192b5c38d14de73c19f6" -dependencies = [ - "clap_builder", -] - -[[package]] -name = "clap_builder" -version = "4.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bb9faaa7c2ef94b2743a21f5a29e6f0010dff4caa69ac8e9d6cf8b6fa74da08" -dependencies = [ - "anstyle", - "clap_lex", -] - -[[package]] -name = "clap_lex" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd7cc57abe963c6d3b9d8be5b06ba7c8957a930305ca90304f24ef040aa6f961" - [[package]] name = "clean-path" version = "0.2.1" @@ -439,26 +407,14 @@ dependencies = [ "serde_json", ] -[[package]] -name = "codspeed-criterion-compat" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "572ca9c8ad460591b40aad63c99d6746aa3c532f979175344eb015389499860c" -dependencies = [ - "codspeed", - "colored", - "criterion", -] - [[package]] name = "colored" -version = "2.0.4" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2674ec482fbc38012cf31e6c42ba0177b431a0cb6f15fe40efa5aab1bda516f6" +checksum = "cbf2150cce219b664a8a70df7a1f933836724b503f8a413af9365b4dcc4d90b8" dependencies = [ - "is-terminal", "lazy_static", - "windows-sys 0.48.0", + "windows-sys", ] [[package]] @@ -481,23 +437,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7704b5fdd17b18ae31c4c1da5a2e0305a2bf17b5249300a9ee9ed7b72114c636" [[package]] -name = "criterion" -version = "0.5.1" +name = "criterion2" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2b12d017a929603d80db1831cd3a24082f8137ce19c69e6447f54f5fc8d692f" +checksum = "8f29e2b09b5cf655d28af8865ffdf0da71b6c0c313915f27b2e28664d43e450a" dependencies = [ "anes", + "bpaf", "cast", "ciborium", - "clap", - "criterion-plot", - "is-terminal", + "codspeed", + "colored", "itertools", "num-traits", - "once_cell", "oorandom", - "plotters", - "rayon", "regex", "serde", "serde_derive", @@ -506,16 +459,6 @@ dependencies = [ "walkdir", ] -[[package]] -name = "criterion-plot" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1" -dependencies = [ - "cast", - "itertools", -] - [[package]] name = "crossbeam-deque" version = "0.8.3" @@ -549,6 +492,12 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "crunchy" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" + [[package]] name = "dashmap" version = "5.5.3" @@ -620,9 +569,13 @@ checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" [[package]] name = "half" -version = "1.8.2" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7" +checksum = "6dd08c532ae367adf81c312a4580bc67f1d0fe8bc9c460520283f4c0ff277888" +dependencies = [ + "cfg-if", + "crunchy", +] [[package]] name = "hashbrown" @@ -704,22 +657,11 @@ dependencies = [ "syn 2.0.48", ] -[[package]] -name = "is-terminal" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b" -dependencies = [ - "hermit-abi", - "libc", - "windows-sys 0.52.0", -] - [[package]] name = "itertools" -version = "0.10.5" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" dependencies = [ "either", ] @@ -730,15 +672,6 @@ version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" -[[package]] -name = "js-sys" -version = "0.3.64" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" -dependencies = [ - "wasm-bindgen", -] - [[package]] name = "json-strip-comments" version = "1.0.2" @@ -777,12 +710,6 @@ dependencies = [ "scopeguard", ] -[[package]] -name = "log" -version = "0.4.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" - [[package]] name = "memchr" version = "2.7.2" @@ -1076,7 +1003,7 @@ dependencies = [ "libc", "redox_syscall", "smallvec", - "windows-targets 0.48.5", + "windows-targets", ] [[package]] @@ -1133,34 +1060,6 @@ version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" -[[package]] -name = "plotters" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2c224ba00d7cadd4d5c660deaf2098e5e80e07846537c51f9cfa4be50c1fd45" -dependencies = [ - "num-traits", - "plotters-backend", - "plotters-svg", - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "plotters-backend" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e76628b4d3a7581389a35d5b6e2139607ad7c75b17aed325f210aa91f4a9609" - -[[package]] -name = "plotters-svg" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38f6d39893cca0701371e3c27294f09797214b86f1fb951b89ade8ec04e2abab" -dependencies = [ - "plotters-backend", -] - [[package]] name = "proc-macro-error" version = "1.0.4" @@ -1257,13 +1156,13 @@ dependencies = [ [[package]] name = "regex" -version = "1.9.3" +version = "1.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81bc1d4caf89fac26a70747fe603c130093b53c773888797a6329091246d651a" +checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.3.6", + "regex-automata 0.4.6", "regex-syntax", ] @@ -1275,9 +1174,9 @@ checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" [[package]] name = "regex-automata" -version = "0.3.6" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fed1ceff11a1dddaee50c9dc8e4938bd106e9d89ae372f192311e7da498e3b69" +checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" dependencies = [ "aho-corasick", "memchr", @@ -1286,9 +1185,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.7.4" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2" +checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" [[package]] name = "rustc-demangle" @@ -1815,78 +1714,14 @@ checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" [[package]] name = "walkdir" -version = "2.3.3" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" dependencies = [ "same-file", "winapi-util", ] -[[package]] -name = "wasm-bindgen" -version = "0.2.87" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342" -dependencies = [ - "cfg-if", - "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.87" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd" -dependencies = [ - "bumpalo", - "log", - "once_cell", - "proc-macro2", - "quote", - "syn 2.0.48", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.87" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d" -dependencies = [ - "quote", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.87" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.48", - "wasm-bindgen-backend", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.87" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" - -[[package]] -name = "web-sys" -version = "0.3.64" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - [[package]] name = "winapi" version = "0.3.9" @@ -1924,16 +1759,7 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" dependencies = [ - "windows-targets 0.48.5", -] - -[[package]] -name = "windows-sys" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" -dependencies = [ - "windows-targets 0.52.0", + "windows-targets", ] [[package]] @@ -1942,28 +1768,13 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", -] - -[[package]] -name = "windows-targets" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" -dependencies = [ - "windows_aarch64_gnullvm 0.52.0", - "windows_aarch64_msvc 0.52.0", - "windows_i686_gnu 0.52.0", - "windows_i686_msvc 0.52.0", - "windows_x86_64_gnu 0.52.0", - "windows_x86_64_gnullvm 0.52.0", - "windows_x86_64_msvc 0.52.0", + "windows_aarch64_gnullvm", + "windows_aarch64_msvc", + "windows_i686_gnu", + "windows_i686_msvc", + "windows_x86_64_gnu", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc", ] [[package]] @@ -1972,80 +1783,38 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" - [[package]] name = "windows_aarch64_msvc" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" -[[package]] -name = "windows_aarch64_msvc" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" - [[package]] name = "windows_i686_gnu" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" -[[package]] -name = "windows_i686_gnu" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" - [[package]] name = "windows_i686_msvc" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" -[[package]] -name = "windows_i686_msvc" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" - [[package]] name = "windows_x86_64_gnu" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" -[[package]] -name = "windows_x86_64_gnu" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" - [[package]] name = "windows_x86_64_gnullvm" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" - [[package]] name = "windows_x86_64_msvc" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" diff --git a/Cargo.toml b/Cargo.toml index 29b6e73..eea8d02 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,6 +4,18 @@ version = "0.1.0" edition = "2021" publish = false +[[bench]] +name = "parser" +harness = false + +[profile.release] +opt-level = 3 +lto = "fat" +codegen-units = 1 +strip = "symbols" +debug = false +panic = "abort" + [dependencies] oxc = "0.12.4" swc_ecma_parser = "0.143.16" @@ -12,22 +24,9 @@ biome_js_parser = "0.5.7" biome_js_syntax = "0.5.7" num_cpus = "1.16.0" -criterion = { version = "0.5" } +criterion2 = { version = "0.7", default-features = false } rayon = "1.10.0" mimalloc = "0.1.39" -codspeed-criterion-compat = { version = "2.5.0", default-features = false, optional = true } [features] -codspeed = ["codspeed-criterion-compat"] - -[[bench]] -name = "parser" -harness = false - -[profile.release] -opt-level = 3 -lto = "fat" -codegen-units = 1 -strip = "symbols" -debug = false -panic = "abort" +codspeed = ["criterion2/codspeed"] diff --git a/benches/parser.rs b/benches/parser.rs index af476c3..30394c1 100644 --- a/benches/parser.rs +++ b/benches/parser.rs @@ -1,9 +1,4 @@ -#[cfg(not(codspeed))] -pub use criterion::{measurement::WallTime, *}; - -#[cfg(codspeed)] -pub use codspeed_criterion_compat::{measurement::WallTime, *}; - +pub use criterion2::{measurement::WallTime, *}; use rayon::prelude::*; #[global_allocator] From 636672f3e05145a375651c63d0064bd47a6ab6fa Mon Sep 17 00:00:00 2001 From: Boshen Date: Mon, 22 Apr 2024 12:50:41 +0800 Subject: [PATCH 060/385] chore: use criterion2 --- Cargo.toml | 4 ++-- benches/parser.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index eea8d02..dd6905a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,9 +24,9 @@ biome_js_parser = "0.5.7" biome_js_syntax = "0.5.7" num_cpus = "1.16.0" -criterion2 = { version = "0.7", default-features = false } +criterion = { package = "criterion2", version = "0.7.2", default-features = false } rayon = "1.10.0" mimalloc = "0.1.39" [features] -codspeed = ["criterion2/codspeed"] +codspeed = ["criterion/codspeed"] diff --git a/benches/parser.rs b/benches/parser.rs index 30394c1..8d731ab 100644 --- a/benches/parser.rs +++ b/benches/parser.rs @@ -1,4 +1,4 @@ -pub use criterion2::{measurement::WallTime, *}; +use criterion::{measurement::WallTime, *}; use rayon::prelude::*; #[global_allocator] From dff63b79c4d59d56347b8dced0a962bc9effa968 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 22 Apr 2024 05:36:14 +0000 Subject: [PATCH 061/385] chore(deps): update rust crate oxc to 0.12.5 --- Cargo.lock | 52 ++++++++++++++++++++++++++-------------------------- Cargo.toml | 2 +- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b03f35f..327b66c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -326,9 +326,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.15.4" +version = "3.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ff69b9dd49fd426c69a0db9fc04dd934cdb6645ff000864d98f7e2af8830eaa" +checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" dependencies = [ "allocator-api2", ] @@ -867,9 +867,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.12.4" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e54feb31ad9d69bd2ed615195019c01ac62168b41d6f681be91dcf1374f37b3e" +checksum = "5218252160a35299ef1f6a8981c52d7feac60af233229963f71091562c52f0de" dependencies = [ "oxc_allocator", "oxc_ast", @@ -882,9 +882,9 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.12.4" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97ef8cdbba307c49a65a77b473fd887110594748da8671c242e35aa588f5ddc5" +checksum = "7e04bd28ba83d7192482b5b39a033f3f942affc37969dbb13919d12d411a1ca9" dependencies = [ "allocator-api2", "bumpalo", @@ -893,9 +893,9 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.12.4" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6019de421ecdbe16d7cdb66b1cc6a29e8df7426b369672bf63e2eb30e42d8327" +checksum = "1b763cb533569d8aae2c4453ad66a06a249d0f3923ffc2e90353cb48097f6e0e" dependencies = [ "bitflags 2.5.0", "num-bigint", @@ -907,9 +907,9 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.12.4" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f590a3fd05f2bfcb6c977df0a1584f071b14e0f711941cd99d5fcaf0bbd2502a" +checksum = "fb6485cc36e4f12871e5c8afd79a9f518ebd4ba787c734b8f61e256e3b219bd4" dependencies = [ "miette", "owo-colors", @@ -920,9 +920,9 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.12.4" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e2c71bb0b90212f945c8b33dba0da07e8b12d52d738f3a0d61b19ded3c536b7" +checksum = "14eb2f1df6412656c1624b4fc2cba5a1e6c1e0aa7752f7a459ef89177cdb8b00" dependencies = [ "index_vec", "static_assertions", @@ -930,9 +930,9 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.12.4" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b5ac306c3495cf3c3384b918c51342a89ed11a0bc7b41482df388e118969ea4" +checksum = "ee035177fc74ba754171c487f2542a3202a4c4c17f5663ba1867863492321921" dependencies = [ "assert-unchecked", "bitflags 2.5.0", @@ -969,9 +969,9 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.12.4" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10e8ced9d1a0d162bfd3479fa30092576fc5deeac719c7516a5ac59a028c6d80" +checksum = "0667a0c0be4cf13331f768349d66ccab28234906b65cb073693ed3408a023292" dependencies = [ "compact_str", "miette", @@ -979,9 +979,9 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.12.4" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cff039871541ab7c0f62476313a0eb91bfa21004cad56a8a9a8688f96d794b37" +checksum = "4a84812216ec90b6485b8527d81f42c2a90d0df05aa61a203a775da67f883e80" dependencies = [ "bitflags 2.5.0", "dashmap", @@ -1275,18 +1275,18 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4" [[package]] name = "serde" -version = "1.0.197" +version = "1.0.198" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" +checksum = "9846a40c979031340571da2545a4e5b7c4163bdae79b301d5f86d03979451fcc" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.197" +version = "1.0.198" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" +checksum = "e88edab869b01783ba905e7d0153f9fc1a6505a96e4ad3018011eedb838566d9" dependencies = [ "proc-macro2", "quote", @@ -1551,18 +1551,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.58" +version = "1.0.59" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03468839009160513471e86a034bb2c5c0e4baae3b43f79ffc55c4a5427b3297" +checksum = "f0126ad08bff79f29fc3ae6a55cc72352056dfff61e3ff8bb7129476d44b23aa" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.58" +version = "1.0.59" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c61f3ba182994efc43764a46c018c347bc492c79f024e705f46567b418f6d4f7" +checksum = "d1cd413b5d558b4c5bf3680e324a6fa5014e7b7c067a51e69dbdf47eb7148b66" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index dd6905a..04d8ef1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ debug = false panic = "abort" [dependencies] -oxc = "0.12.4" +oxc = "0.12.5" swc_ecma_parser = "0.143.16" swc_ecma_ast = "0.112.8" biome_js_parser = "0.5.7" From 992f1b27fb97a01eb5eadc51eec2b6852d28ca4e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 22 Apr 2024 22:20:45 +0000 Subject: [PATCH 062/385] chore(deps): update rust crate mimalloc to 0.1.41 --- Cargo.lock | 8 ++++---- Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 327b66c..7f1612d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -692,9 +692,9 @@ checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" [[package]] name = "libmimalloc-sys" -version = "0.1.35" +version = "0.1.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3979b5c37ece694f1f5e51e7ecc871fdb0f517ed04ee45f88d15d6d553cb9664" +checksum = "81eb4061c0582dedea1cbc7aff2240300dd6982e0239d1c99e65c1dbf4a30ba7" dependencies = [ "cc", "libc", @@ -761,9 +761,9 @@ dependencies = [ [[package]] name = "mimalloc" -version = "0.1.39" +version = "0.1.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa01922b5ea280a911e323e4d2fd24b7fe5cc4042e0d2cda3c40775cdc4bdc9c" +checksum = "9f41a2280ded0da56c8cf898babb86e8f10651a34adcfff190ae9a1159c6908d" dependencies = [ "libmimalloc-sys", ] diff --git a/Cargo.toml b/Cargo.toml index 04d8ef1..e1fd70e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,7 @@ biome_js_syntax = "0.5.7" num_cpus = "1.16.0" criterion = { package = "criterion2", version = "0.7.2", default-features = false } rayon = "1.10.0" -mimalloc = "0.1.39" +mimalloc = "0.1.41" [features] codspeed = ["criterion/codspeed"] From b538784c5e5b513cc9cfaf2897780a24592c4899 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 24 Apr 2024 01:32:22 +0000 Subject: [PATCH 063/385] chore(deps): update swc --- Cargo.lock | 8 ++++---- Cargo.toml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7f1612d..d5c304e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1425,9 +1425,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.112.8" +version = "0.113.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1d5c33c22ad50e8e34b3080a6fb133316d2eaa7d00400fc5018151f5ca44c5a" +checksum = "f99fdda741656887f4cf75c1cee249a5f0374d67d30acc2b073182e902546ff2" dependencies = [ "bitflags 2.5.0", "is-macro", @@ -1442,9 +1442,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.143.16" +version = "0.144.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40b7faa481ac015b330f1c4bc8df2c9947242020e23ccdb10bc7a8ef84342509" +checksum = "3da9f3a58f0a64410f4006eb1fdb64d190ad3cc6cd12a7bf1f0dbb916e4ca4c7" dependencies = [ "either", "new_debug_unreachable", diff --git a/Cargo.toml b/Cargo.toml index e1fd70e..9fabc3b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,8 +18,8 @@ panic = "abort" [dependencies] oxc = "0.12.5" -swc_ecma_parser = "0.143.16" -swc_ecma_ast = "0.112.8" +swc_ecma_parser = "0.144.0" +swc_ecma_ast = "0.113.0" biome_js_parser = "0.5.7" biome_js_syntax = "0.5.7" From 7276b00e71b61ca7670d53b25273b7c564dac1f8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 04:58:53 +0000 Subject: [PATCH 064/385] chore(deps): update swc --- Cargo.lock | 36 ++++++++++++++++++------------------ Cargo.toml | 4 ++-- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d5c304e..15a0b3d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -56,9 +56,9 @@ checksum = "7330592adf847ee2e3513587b4db2db410a0d751378654e7e993d9adcbe5c795" [[package]] name = "ast_node" -version = "0.9.6" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3e3e06ec6ac7d893a0db7127d91063ad7d9da8988f8a1a256f03729e6eec026" +checksum = "2ab31376d309dd3bfc9cfb3c11c93ce0e0741bbe0354b20e7f8c60b044730b79" dependencies = [ "proc-macro2", "quote", @@ -552,9 +552,9 @@ dependencies = [ [[package]] name = "from_variant" -version = "0.1.7" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a0b11eeb173ce52f84ebd943d42e58813a2ebb78a6a3ff0a243b71c5199cd7b" +checksum = "fdc9cc75639b041067353b9bce2450d6847e547276c6fbe4487d7407980e07db" dependencies = [ "proc-macro2", "swc_macros_common", @@ -1376,9 +1376,9 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "string_enum" -version = "0.4.2" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b650ea2087d32854a0f20b837fc56ec987a1cb4f758c9757e1171ee9812da63" +checksum = "05e383308aebc257e7d7920224fa055c632478d92744eca77f99be8fa1545b90" dependencies = [ "proc-macro2", "quote", @@ -1400,9 +1400,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.33.20" +version = "0.33.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "317d2fcdbb1bc9ecfd0bfc67468d675a5159a6fd1863abf41c8c5b7b7adcab03" +checksum = "a2f9706038906e66f3919028f9f7a37f3ed552f1b85578e93f4468742e2da438" dependencies = [ "ast_node", "better_scoped_tls", @@ -1425,9 +1425,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.113.0" +version = "0.113.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f99fdda741656887f4cf75c1cee249a5f0374d67d30acc2b073182e902546ff2" +checksum = "cae9f905b3485ab348bf9009f71852f27c560d28a0d1f1ec69f0640b86eb1adc" dependencies = [ "bitflags 2.5.0", "is-macro", @@ -1442,9 +1442,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.144.0" +version = "0.144.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3da9f3a58f0a64410f4006eb1fdb64d190ad3cc6cd12a7bf1f0dbb916e4ca4c7" +checksum = "0499e69683ae5d67a20ff0279b94bc90f29df7922a46331b54d5dd367bf89570" dependencies = [ "either", "new_debug_unreachable", @@ -1475,9 +1475,9 @@ dependencies = [ [[package]] name = "swc_macros_common" -version = "0.3.9" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50176cfc1cbc8bb22f41c6fe9d1ec53fbe057001219b5954961b8ad0f336fce9" +checksum = "91745f3561057493d2da768437c427c0e979dff7396507ae02f16c981c4a8466" dependencies = [ "proc-macro2", "quote", @@ -1486,9 +1486,9 @@ dependencies = [ [[package]] name = "swc_visit" -version = "0.5.10" +version = "0.5.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f5b3e8d1269a7cb95358fed3412645d9c15aa0eb1f4ca003a25a38ef2f30f1b" +checksum = "043d11fe683dcb934583ead49405c0896a5af5face522e4682c16971ef7871b9" dependencies = [ "either", "swc_visit_macros", @@ -1496,9 +1496,9 @@ dependencies = [ [[package]] name = "swc_visit_macros" -version = "0.5.11" +version = "0.5.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33fc817055fe127b4285dc85058596768bfde7537ae37da82c67815557f03e33" +checksum = "4ae9ef18ff8daffa999f729db056d2821cd2f790f3a11e46422d19f46bb193e7" dependencies = [ "Inflector", "proc-macro2", diff --git a/Cargo.toml b/Cargo.toml index 9fabc3b..4cdca36 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,8 +18,8 @@ panic = "abort" [dependencies] oxc = "0.12.5" -swc_ecma_parser = "0.144.0" -swc_ecma_ast = "0.113.0" +swc_ecma_parser = "0.144.1" +swc_ecma_ast = "0.113.1" biome_js_parser = "0.5.7" biome_js_syntax = "0.5.7" From 63c53832ba781ceb207af662dbcb31f52b532b04 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 13:53:19 +0800 Subject: [PATCH 065/385] chore(deps): update rust crate criterion to 0.8.0 (#96) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- Cargo.lock | 9 ++++----- Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 15a0b3d..29a944c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -398,9 +398,9 @@ checksum = "aaa6b4b263a5d737e9bf6b7c09b72c41a5480aec4d7219af827f6564e950b6a5" [[package]] name = "codspeed" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "735f16ee0fc63cb90596cd7b57ce481522adfe1714f95bc04a94d4f4b0a06a6d" +checksum = "3a104ac948e0188b921eb3fcbdd55dcf62e542df4c7ab7e660623f6288302089" dependencies = [ "colored", "libc", @@ -438,9 +438,9 @@ checksum = "7704b5fdd17b18ae31c4c1da5a2e0305a2bf17b5249300a9ee9ed7b72114c636" [[package]] name = "criterion2" -version = "0.7.2" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f29e2b09b5cf655d28af8865ffdf0da71b6c0c313915f27b2e28664d43e450a" +checksum = "43b57a5b1bf6ed08b671717cf7ce07d3dea4efa30f54d0b64abce48d8299818f" dependencies = [ "anes", "bpaf", @@ -451,7 +451,6 @@ dependencies = [ "itertools", "num-traits", "oorandom", - "regex", "serde", "serde_derive", "serde_json", diff --git a/Cargo.toml b/Cargo.toml index 4cdca36..9c38226 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ biome_js_parser = "0.5.7" biome_js_syntax = "0.5.7" num_cpus = "1.16.0" -criterion = { package = "criterion2", version = "0.7.2", default-features = false } +criterion = { package = "criterion2", version = "0.8.0", default-features = false } rayon = "1.10.0" mimalloc = "0.1.41" From 4022dca2315431b605e43033048c938cbfa5f935 Mon Sep 17 00:00:00 2001 From: Boshen Date: Thu, 2 May 2024 23:05:42 +0800 Subject: [PATCH 066/385] ci(renovate): add rust-toolchain --- .github/renovate.json | 38 ++++++++++++++++++++++++++++++++++++++ renovate.json | 21 --------------------- 2 files changed, 38 insertions(+), 21 deletions(-) create mode 100644 .github/renovate.json delete mode 100644 renovate.json diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 0000000..f9e4a6e --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,38 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "automerge": true, + "customManagers": [ + { + "customType": "regex", + "fileMatch": ["^rust-toolchain\\.toml?$"], + "matchStrings": [ + "channel\\s*=\\s*\"(?\\d+\\.\\d+(\\.\\d+)?)\"" + ], + "depNameTemplate": "rust", + "lookupNameTemplate": "rust-lang/rust", + "datasourceTemplate": "github-releases" + } + ], + "packageRules": [ + { + "matchPackagePatterns": ["oxc"], + "groupName": "oxc", + "automerge": true + }, + { + "matchPackagePatterns": ["swc"], + "groupName": "swc", + "automerge": true + }, + { + "matchPackagePatterns": ["biome"], + "groupName": "biome", + "automerge": true + }, + { + "groupName": "rust toolchain", + "matchManagers": ["regex"], + "matchDepNames": ["rust"] + } + ] +} diff --git a/renovate.json b/renovate.json deleted file mode 100644 index bb0866d..0000000 --- a/renovate.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "automerge": true, - "packageRules": [ - { - "matchPackagePatterns": ["oxc"], - "groupName": "oxc", - "automerge": true - }, - { - "matchPackagePatterns": ["swc"], - "groupName": "swc", - "automerge": true - }, - { - "matchPackagePatterns": ["biome"], - "groupName": "biome", - "automerge": true - } - ] -} From c3e43dda86416de7e6bff14b9ebcff9bfca52852 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 2 May 2024 15:07:11 +0000 Subject: [PATCH 067/385] chore(deps): update dependency rust to v1.78.0 --- rust-toolchain.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 2a6bafb..f8efc19 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.76.0" +channel = "1.78.0" profile = "minimal" From 8a6c18eb00a3226bd93a3ecbc257aa91d06350c1 Mon Sep 17 00:00:00 2001 From: Boshen Date: Tue, 7 May 2024 12:32:15 +0800 Subject: [PATCH 068/385] chore: update renovate.json --- .github/renovate.json | 29 +++++------------------------ 1 file changed, 5 insertions(+), 24 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index f9e4a6e..9118e4b 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,38 +1,19 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "automerge": true, - "customManagers": [ - { - "customType": "regex", - "fileMatch": ["^rust-toolchain\\.toml?$"], - "matchStrings": [ - "channel\\s*=\\s*\"(?\\d+\\.\\d+(\\.\\d+)?)\"" - ], - "depNameTemplate": "rust", - "lookupNameTemplate": "rust-lang/rust", - "datasourceTemplate": "github-releases" - } - ], + "extends": ["github>Boshen/renovate"], + "schedule": ["before 8am"], "packageRules": [ { "matchPackagePatterns": ["oxc"], - "groupName": "oxc", - "automerge": true + "groupName": "oxc" }, { "matchPackagePatterns": ["swc"], - "groupName": "swc", - "automerge": true + "groupName": "swc" }, { "matchPackagePatterns": ["biome"], - "groupName": "biome", - "automerge": true - }, - { - "groupName": "rust toolchain", - "matchManagers": ["regex"], - "matchDepNames": ["rust"] + "groupName": "biome" } ] } From acbd25f6f84f8eb65e8da1f628f565d45bac3bc5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 8 May 2024 22:31:26 +0000 Subject: [PATCH 069/385] chore(deps): update rust crate swc_ecma_ast to v0.113.2 --- Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 29a944c..6c330bf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1424,9 +1424,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.113.1" +version = "0.113.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cae9f905b3485ab348bf9009f71852f27c560d28a0d1f1ec69f0640b86eb1adc" +checksum = "29f7cbdc8d3f31a863224649258942a537be44e37cb8f5413da63b51159779b9" dependencies = [ "bitflags 2.5.0", "is-macro", From 99b076808994b14415e308840aec25f568b73405 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 12 May 2024 16:58:46 +0000 Subject: [PATCH 070/385] chore(deps): lock file maintenance --- Cargo.lock | 446 +++++++++++++++++++++++++++++------------------------ 1 file changed, 242 insertions(+), 204 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6c330bf..b57f64e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -29,9 +29,9 @@ checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" [[package]] name = "aho-corasick" -version = "1.0.4" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6748e8def348ed4d14996fa801f4122cd763fff530258cdc03f64b25f89d3a5a" +checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" dependencies = [ "memchr", ] @@ -63,20 +63,20 @@ dependencies = [ "proc-macro2", "quote", "swc_macros_common", - "syn 2.0.48", + "syn 2.0.63", ] [[package]] name = "autocfg" -version = "1.1.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" +checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" [[package]] name = "backtrace" -version = "0.3.69" +version = "0.3.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" +checksum = "26b05800d2e817c8b3b4b54abd461726265fa9789ae34330622f2db9ee696f9d" dependencies = [ "addr2line", "cc", @@ -139,7 +139,7 @@ dependencies = [ "biome_rowan", "biome_text_edit", "biome_text_size", - "bitflags 2.5.0", + "bitflags", "bpaf", "oxc_resolver", "serde", @@ -192,7 +192,7 @@ dependencies = [ "biome_parser", "biome_rowan", "biome_unicode_table", - "bitflags 2.5.0", + "bitflags", "cfg-if", "drop_bomb", "indexmap 1.9.3", @@ -236,7 +236,7 @@ dependencies = [ "biome_console", "biome_diagnostics", "biome_rowan", - "bitflags 2.5.0", + "bitflags", "drop_bomb", ] @@ -250,7 +250,7 @@ dependencies = [ "biome_text_size", "countme", "hashbrown 0.12.3", - "memoffset 0.8.0", + "memoffset", "rustc-hash", "tracing", ] @@ -281,12 +281,6 @@ version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "87e8604d34b02180a58af1dbdaac166f1805f27f5370934142a3246f83870952" -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - [[package]] name = "bitflags" version = "2.5.0" @@ -295,22 +289,22 @@ checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1" [[package]] name = "bpaf" -version = "0.9.8" +version = "0.9.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19232d7d855392d993f6dabd8dea40a457a6d24ef679fe98f5edca811bb11e21" +checksum = "3280efcf6d66bc77c2cf9b67dc8acee47a217d9be67dd590b3230dffe663724d" dependencies = [ "bpaf_derive", ] [[package]] name = "bpaf_derive" -version = "0.5.7" +version = "0.5.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efeab2975f8102de445dcf898856a638332403c50216144653a89aec22fd79e0" +checksum = "9a8d5b11f7fa1068e5bbac8ab6c8c2c6940047f69185987446b60c995d4bf89c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.63", ] [[package]] @@ -350,12 +344,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.83" +version = "1.0.97" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" -dependencies = [ - "libc", -] +checksum = "099a5357d84c4c61eb35fc8eafa9a79a902c2f76911e5747ced4e032edd8d9b4" [[package]] name = "cfg-if" @@ -414,7 +405,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cbf2150cce219b664a8a70df7a1f933836724b503f8a413af9365b4dcc4d90b8" dependencies = [ "lazy_static", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] @@ -460,36 +451,28 @@ dependencies = [ [[package]] name = "crossbeam-deque" -version = "0.8.3" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef" +checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" dependencies = [ - "cfg-if", "crossbeam-epoch", "crossbeam-utils", ] [[package]] name = "crossbeam-epoch" -version = "0.9.15" +version = "0.9.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7" +checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" dependencies = [ - "autocfg", - "cfg-if", "crossbeam-utils", - "memoffset 0.9.0", - "scopeguard", ] [[package]] name = "crossbeam-utils" -version = "0.8.16" +version = "0.8.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294" -dependencies = [ - "cfg-if", -] +checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" [[package]] name = "crunchy" @@ -504,7 +487,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" dependencies = [ "cfg-if", - "hashbrown 0.14.2", + "hashbrown 0.14.5", "lock_api", "once_cell", "parking_lot_core", @@ -524,15 +507,15 @@ checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b" [[package]] name = "dyn-clone" -version = "1.0.13" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbfc4744c1b8f2a09adc0e55242f60b1af195d88596bd8700be74418c056c555" +checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" [[package]] name = "either" -version = "1.10.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" +checksum = "a47c1c47d2f5964e29c61246e81db715514cd532db6b5116a25ea3c03d6780a2" [[package]] name = "equivalent" @@ -542,9 +525,9 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "form_urlencoded" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652" +checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" dependencies = [ "percent-encoding", ] @@ -557,14 +540,14 @@ checksum = "fdc9cc75639b041067353b9bce2450d6847e547276c6fbe4487d7407980e07db" dependencies = [ "proc-macro2", "swc_macros_common", - "syn 2.0.48", + "syn 2.0.63", ] [[package]] name = "gimli" -version = "0.28.0" +version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" +checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" [[package]] name = "half" @@ -584,34 +567,35 @@ checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" [[package]] name = "hashbrown" -version = "0.14.2" +version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f93e7192158dbcda357bdec5fb5788eebf8bbac027f3f33e719d29135ae84156" +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" [[package]] name = "hermit-abi" -version = "0.3.2" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b" +checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" [[package]] name = "hstr" -version = "0.2.6" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de90d3db62411eb62eddabe402d706ac4970f7ac8d088c05f11069cad9be9857" +checksum = "96274be293b8877e61974a607105d09c84caebe9620b47774aa8a6b942042dd4" dependencies = [ + "hashbrown 0.14.5", "new_debug_unreachable", "once_cell", "phf", "rustc-hash", - "smallvec", + "triomphe", ] [[package]] name = "idna" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" +checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" dependencies = [ "unicode-bidi", "unicode-normalization", @@ -640,7 +624,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" dependencies = [ "equivalent", - "hashbrown 0.14.2", + "hashbrown 0.14.5", "serde", ] @@ -653,7 +637,7 @@ dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.63", ] [[package]] @@ -667,9 +651,9 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.9" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" +checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" [[package]] name = "json-strip-comments" @@ -685,9 +669,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.147" +version = "0.2.154" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" +checksum = "ae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346" [[package]] name = "libmimalloc-sys" @@ -701,9 +685,9 @@ dependencies = [ [[package]] name = "lock_api" -version = "0.4.10" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16" +checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" dependencies = [ "autocfg", "scopeguard", @@ -724,15 +708,6 @@ dependencies = [ "autocfg", ] -[[package]] -name = "memoffset" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" -dependencies = [ - "autocfg", -] - [[package]] name = "miette" version = "7.2.0" @@ -755,7 +730,7 @@ checksum = "dcf09caffaac8068c346b6df2a7fc27a177fd20b39421a39ce0a211bde679a6c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.63", ] [[package]] @@ -769,40 +744,25 @@ dependencies = [ [[package]] name = "miniz_oxide" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" +checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" dependencies = [ "adler", ] [[package]] name = "new_debug_unreachable" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54" - -[[package]] -name = "nodejs_package_json" -version = "0.1.3" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee4e9685b1f144814cac096eae8aed97b9278c05053f70dd5b15294c4fed202c" -dependencies = [ - "indexmap 2.2.6", - "rustc-hash", - "semver", - "serde", - "serde_json", - "thiserror", -] +checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086" [[package]] name = "num-bigint" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" +checksum = "c165a9ab64cf766f73521c0dd2cfdff64f488b8f0b3e621face3462d3db536d7" dependencies = [ - "autocfg", "num-integer", "num-traits", "serde", @@ -810,19 +770,18 @@ dependencies = [ [[package]] name = "num-integer" -version = "0.1.45" +version = "0.1.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" +checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" dependencies = [ - "autocfg", "num-traits", ] [[package]] name = "num-traits" -version = "0.2.17" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" dependencies = [ "autocfg", ] @@ -839,9 +798,9 @@ dependencies = [ [[package]] name = "object" -version = "0.32.0" +version = "0.32.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77ac5bbd07aea88c60a577a1ce218075ffd59208b2d7ca97adf9bfc5aeb21ebe" +checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" dependencies = [ "memchr", ] @@ -896,7 +855,7 @@ version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b763cb533569d8aae2c4453ad66a06a249d0f3923ffc2e90353cb48097f6e0e" dependencies = [ - "bitflags 2.5.0", + "bitflags", "num-bigint", "oxc_allocator", "oxc_index", @@ -934,7 +893,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee035177fc74ba754171c487f2542a3202a4c4c17f5663ba1867863492321921" dependencies = [ "assert-unchecked", - "bitflags 2.5.0", + "bitflags", "memchr", "num-bigint", "oxc_allocator", @@ -949,14 +908,13 @@ dependencies = [ [[package]] name = "oxc_resolver" -version = "1.6.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2255c105f844bd9793db2fa57ee443ac82668d7d86e5601d0245de5efd7686df" +checksum = "ab805c61c1758a7bf350c52ab8962307d1c0fe9677ffa0ac5007789c2e98858f" dependencies = [ "dashmap", "dunce", "json-strip-comments", - "nodejs_package_json", "once_cell", "rustc-hash", "serde", @@ -982,7 +940,7 @@ version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a84812216ec90b6485b8527d81f42c2a90d0df05aa61a203a775da67f883e80" dependencies = [ - "bitflags 2.5.0", + "bitflags", "dashmap", "indexmap 2.2.6", "oxc_index", @@ -994,22 +952,22 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.8" +version = "0.9.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447" +checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ "cfg-if", "libc", "redox_syscall", "smallvec", - "windows-targets", + "windows-targets 0.52.5", ] [[package]] name = "percent-encoding" -version = "2.3.0" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" +checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "phf" @@ -1041,7 +999,7 @@ dependencies = [ "phf_shared", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.63", ] [[package]] @@ -1055,9 +1013,9 @@ dependencies = [ [[package]] name = "pin-project-lite" -version = "0.2.13" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" +checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" [[package]] name = "proc-macro-error" @@ -1084,9 +1042,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.79" +version = "1.0.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e835ff2298f5721608eb1a980ecaee1aef2c132bf95ecc026a11b7bf3c01c02e" +checksum = "8ad3d49ab951a01fbaafe34f2ec74122942fe18a3f9814c3268f1bb72042131b" dependencies = [ "unicode-ident", ] @@ -1102,9 +1060,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.35" +version = "1.0.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" +checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" dependencies = [ "proc-macro2", ] @@ -1146,11 +1104,11 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.3.5" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" +checksum = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e" dependencies = [ - "bitflags 1.3.2", + "bitflags", ] [[package]] @@ -1190,9 +1148,9 @@ checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" [[package]] name = "rustc-demangle" -version = "0.1.23" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" +checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" [[package]] name = "rustc-hash" @@ -1202,15 +1160,15 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" [[package]] name = "rustversion" -version = "1.0.14" +version = "1.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" +checksum = "092474d1a01ea8278f69e6a358998405fae5b8b963ddaeb2b0b04a128bf1dfb0" [[package]] name = "ryu" -version = "1.0.15" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" +checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" [[package]] name = "same-file" @@ -1223,9 +1181,9 @@ dependencies = [ [[package]] name = "schemars" -version = "0.8.12" +version = "0.8.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02c613288622e5f0c3fdc5dbd4db1c5fbe752746b1d1a56a0630b78fd00de44f" +checksum = "fc6e7ed6919cb46507fb01ff1654309219f62b4d603822501b0b80d42f6f21ef" dependencies = [ "dyn-clone", "schemars_derive", @@ -1235,14 +1193,14 @@ dependencies = [ [[package]] name = "schemars_derive" -version = "0.8.12" +version = "0.8.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "109da1e6b197438deb6db99952990c7f959572794b80ff93707d55a232545e7c" +checksum = "185f2b7aa7e02d418e453790dde16890256bbd2bcd04b7dc5348811052b53f49" dependencies = [ "proc-macro2", "quote", "serde_derive_internals", - "syn 1.0.109", + "syn 2.0.63", ] [[package]] @@ -1257,15 +1215,6 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" -[[package]] -name = "semver" -version = "1.0.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92d43fe69e652f3df9bdc2b85b2854a0825b86e4fb76bc44d945137d053639ca" -dependencies = [ - "serde", -] - [[package]] name = "seq-macro" version = "0.3.5" @@ -1274,40 +1223,40 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4" [[package]] name = "serde" -version = "1.0.198" +version = "1.0.201" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9846a40c979031340571da2545a4e5b7c4163bdae79b301d5f86d03979451fcc" +checksum = "780f1cebed1629e4753a1a38a3c72d30b97ec044f0aef68cb26650a3c5cf363c" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.198" +version = "1.0.201" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e88edab869b01783ba905e7d0153f9fc1a6505a96e4ad3018011eedb838566d9" +checksum = "c5e405930b9796f1c00bee880d03fc7e0bb4b9a11afc776885ffe84320da2865" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.63", ] [[package]] name = "serde_derive_internals" -version = "0.26.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85bf8229e7920a9f636479437026331ce11aa132b4dde37d121944a44d6e5f3c" +checksum = "330f01ce65a3a5fe59a60c82f3c9a024b573b8a6e875bd233fe5f934e71d54e3" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.63", ] [[package]] name = "serde_json" -version = "1.0.114" +version = "1.0.117" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0" +checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3" dependencies = [ "indexmap 2.2.6", "itoa", @@ -1317,9 +1266,9 @@ dependencies = [ [[package]] name = "similar" -version = "2.2.1" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "420acb44afdae038210c99e69aae24109f32f15500aa708e81d46c9f29d55fcf" +checksum = "fa42c91313f1d05da9b26f267f931cf178d4aba455b4c4622dd7355eb80c6640" dependencies = [ "bstr", "unicode-segmentation", @@ -1333,9 +1282,9 @@ checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" [[package]] name = "smallvec" -version = "1.11.1" +version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "942b4a808e05215192e39f4ab80813e599068285906cc91aa64f923db842bd5a" +checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "smartstring" @@ -1350,9 +1299,15 @@ dependencies = [ [[package]] name = "smawk" -version = "0.3.1" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7c388c1b5e93756d0c740965c41e8822f866621d41acbdf6336a6a168f8840c" + +[[package]] +name = "stable_deref_trait" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f67ad224767faa3c7d8b6d91985b78e70a1324408abcb1cfcc2be4c06bc06043" +checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "stacker" @@ -1382,14 +1337,14 @@ dependencies = [ "proc-macro2", "quote", "swc_macros_common", - "syn 2.0.48", + "syn 2.0.63", ] [[package]] name = "swc_atoms" -version = "0.6.5" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d538eaaa6f085161d088a04cf0a3a5a52c5a7f2b3bd9b83f73f058b0ed357c0" +checksum = "bb6567e4e67485b3e7662b486f1565bdae54bd5b9d6b16b2ba1a9babb1e42125" dependencies = [ "hstr", "once_cell", @@ -1428,7 +1383,7 @@ version = "0.113.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "29f7cbdc8d3f31a863224649258942a537be44e37cb8f5413da63b51159779b9" dependencies = [ - "bitflags 2.5.0", + "bitflags", "is-macro", "num-bigint", "phf", @@ -1469,7 +1424,7 @@ checksum = "695a1d8b461033d32429b5befbf0ad4d7a2c4d6ba9cd5ba4e0645c615839e8e4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.63", ] [[package]] @@ -1480,7 +1435,7 @@ checksum = "91745f3561057493d2da768437c427c0e979dff7396507ae02f16c981c4a8466" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.63", ] [[package]] @@ -1503,7 +1458,7 @@ dependencies = [ "proc-macro2", "quote", "swc_macros_common", - "syn 2.0.48", + "syn 2.0.63", ] [[package]] @@ -1519,9 +1474,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.48" +version = "2.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f" +checksum = "bf5be731623ca1a1fb7d8be6f261a3be6d3e2337b8a1f97be944d020c8fcb704" dependencies = [ "proc-macro2", "quote", @@ -1530,9 +1485,9 @@ dependencies = [ [[package]] name = "termcolor" -version = "1.2.0" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" +checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" dependencies = [ "winapi-util", ] @@ -1550,22 +1505,22 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.59" +version = "1.0.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0126ad08bff79f29fc3ae6a55cc72352056dfff61e3ff8bb7129476d44b23aa" +checksum = "579e9083ca58dd9dcf91a9923bb9054071b9ebbd800b342194c9feb0ee89fc18" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.59" +version = "1.0.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1cd413b5d558b4c5bf3680e324a6fa5014e7b7c067a51e69dbdf47eb7148b66" +checksum = "e2470041c06ec3ac1ab38d0356a6119054dedaea53e12fbefc0de730a1c08524" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.63", ] [[package]] @@ -1612,7 +1567,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.63", ] [[package]] @@ -1624,6 +1579,16 @@ dependencies = [ "once_cell", ] +[[package]] +name = "triomphe" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "859eb650cfee7434994602c3a68b25d77ad9e68c8a6cd491616ef86661382eb3" +dependencies = [ + "serde", + "stable_deref_trait", +] + [[package]] name = "typed-arena" version = "2.0.2" @@ -1645,9 +1610,9 @@ dependencies = [ [[package]] name = "unicode-bidi" -version = "0.3.13" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" +checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" [[package]] name = "unicode-bom" @@ -1663,9 +1628,9 @@ checksum = "b8f73150333cb58412db36f2aca8f2875b013049705cc77b94ded70a1ab1f5da" [[package]] name = "unicode-ident" -version = "1.0.11" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c" +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" [[package]] name = "unicode-linebreak" @@ -1675,30 +1640,30 @@ checksum = "3b09c83c3c29d37506a3e260c08c03743a6bb66a9cd432c6934ab501a190571f" [[package]] name = "unicode-normalization" -version = "0.1.22" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" +checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5" dependencies = [ "tinyvec", ] [[package]] name = "unicode-segmentation" -version = "1.10.1" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36" +checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" [[package]] name = "unicode-width" -version = "0.1.11" +version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" +checksum = "68f5e5f3158ecfd4b8ff6fe086db7c8467a2dfdac97fe420f2b7c4aa97af66d6" [[package]] name = "url" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50bff7831e19200a85b17131d085c25d7811bc4e186efdaf54bbd132994a88cb" +checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" dependencies = [ "form_urlencoded", "idna", @@ -1739,11 +1704,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.5" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" +checksum = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b" dependencies = [ - "winapi", + "windows-sys 0.52.0", ] [[package]] @@ -1758,7 +1723,16 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" dependencies = [ - "windows-targets", + "windows-targets 0.48.5", +] + +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.5", ] [[package]] @@ -1767,13 +1741,29 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc", + "windows_aarch64_gnullvm 0.48.5", + "windows_aarch64_msvc 0.48.5", + "windows_i686_gnu 0.48.5", + "windows_i686_msvc 0.48.5", + "windows_x86_64_gnu 0.48.5", + "windows_x86_64_gnullvm 0.48.5", + "windows_x86_64_msvc 0.48.5", +] + +[[package]] +name = "windows-targets" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb" +dependencies = [ + "windows_aarch64_gnullvm 0.52.5", + "windows_aarch64_msvc 0.52.5", + "windows_i686_gnu 0.52.5", + "windows_i686_gnullvm", + "windows_i686_msvc 0.52.5", + "windows_x86_64_gnu 0.52.5", + "windows_x86_64_gnullvm 0.52.5", + "windows_x86_64_msvc 0.52.5", ] [[package]] @@ -1782,38 +1772,86 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263" + [[package]] name = "windows_aarch64_msvc" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6" + [[package]] name = "windows_i686_gnu" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" +[[package]] +name = "windows_i686_gnu" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9" + [[package]] name = "windows_i686_msvc" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" +[[package]] +name = "windows_i686_msvc" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf" + [[package]] name = "windows_x86_64_gnu" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9" + [[package]] name = "windows_x86_64_gnullvm" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596" + [[package]] name = "windows_x86_64_msvc" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" From c93ffc3ccac4c31065159e43efad76312bb08ba9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 14 May 2024 20:43:53 +0000 Subject: [PATCH 071/385] chore(deps): update rust crate oxc to 0.13.0 --- Cargo.lock | 56 ++++++++++++++++++++++++------------------------------ Cargo.toml | 2 +- 2 files changed, 26 insertions(+), 32 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b57f64e..2d9a402 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -601,12 +601,6 @@ dependencies = [ "unicode-normalization", ] -[[package]] -name = "index_vec" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74086667896a940438f2118212f313abba4aff3831fef6f4b17d02add5c8bb60" - [[package]] name = "indexmap" version = "1.9.3" @@ -825,9 +819,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.12.5" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5218252160a35299ef1f6a8981c52d7feac60af233229963f71091562c52f0de" +checksum = "ce6207736bba933573543b66b353f92652d054c3b05d709971e77efa0f5240c2" dependencies = [ "oxc_allocator", "oxc_ast", @@ -840,57 +834,58 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.12.5" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e04bd28ba83d7192482b5b39a033f3f942affc37969dbb13919d12d411a1ca9" +checksum = "1fbd477ba88933a94af8018b8c1fbe74085c83fc1d540d40d04ef3f0f9209070" dependencies = [ "allocator-api2", "bumpalo", - "serde", ] [[package]] name = "oxc_ast" -version = "0.12.5" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b763cb533569d8aae2c4453ad66a06a249d0f3923ffc2e90353cb48097f6e0e" +checksum = "8a8834664ffa913f231c604a079501d20e671652a646e10cf6c77f54e47d0592" dependencies = [ "bitflags", "num-bigint", "oxc_allocator", - "oxc_index", + "oxc_ast_macros", "oxc_span", "oxc_syntax", + "static_assertions", ] +[[package]] +name = "oxc_ast_macros" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ce5a39cd90a129edc8ff221a7bdd1604ea520c613cb1d8566a5957e76772647" + [[package]] name = "oxc_diagnostics" -version = "0.12.5" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb6485cc36e4f12871e5c8afd79a9f518ebd4ba787c734b8f61e256e3b219bd4" +checksum = "56289a4fbacf9e88043a6d10d4dc88b1f745919689d6b04e69e0db6a10e86b3c" dependencies = [ "miette", "owo-colors", "textwrap", - "thiserror", "unicode-width", ] [[package]] name = "oxc_index" -version = "0.12.5" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14eb2f1df6412656c1624b4fc2cba5a1e6c1e0aa7752f7a459ef89177cdb8b00" -dependencies = [ - "index_vec", - "static_assertions", -] +checksum = "4836ca3567d818987e1e5aaa637dca36d2e4a5d3968b08952109f1167761aae8" [[package]] name = "oxc_parser" -version = "0.12.5" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee035177fc74ba754171c487f2542a3202a4c4c17f5663ba1867863492321921" +checksum = "efb5337acbddbf126288f661c90b6c2b8156580867e2030c7cd0edb0189a79af" dependencies = [ "assert-unchecked", "bitflags", @@ -899,11 +894,11 @@ dependencies = [ "oxc_allocator", "oxc_ast", "oxc_diagnostics", - "oxc_index", "oxc_span", "oxc_syntax", "rustc-hash", "seq-macro", + "static_assertions", ] [[package]] @@ -926,9 +921,9 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.12.5" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0667a0c0be4cf13331f768349d66ccab28234906b65cb073693ed3408a023292" +checksum = "21f6246bf872c211390210c9d51b8a4911b804551359a79fae4479f28b1c34f5" dependencies = [ "compact_str", "miette", @@ -936,13 +931,12 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.12.5" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a84812216ec90b6485b8527d81f42c2a90d0df05aa61a203a775da67f883e80" +checksum = "86716b48d0d7b3bb1a03310f2d6bb1e85ac49e5af265fb11f68e116901fbf8a7" dependencies = [ "bitflags", "dashmap", - "indexmap 2.2.6", "oxc_index", "oxc_span", "phf", diff --git a/Cargo.toml b/Cargo.toml index 9c38226..d2c4f8a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ debug = false panic = "abort" [dependencies] -oxc = "0.12.5" +oxc = "0.13.0" swc_ecma_parser = "0.144.1" swc_ecma_ast = "0.113.1" biome_js_parser = "0.5.7" From 9e29065711afb29f7614ab6e0044abde014db777 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 19 May 2024 18:03:43 +0000 Subject: [PATCH 072/385] chore(deps): lock file maintenance --- Cargo.lock | 82 +++++++++++++++++++++++++++--------------------------- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2d9a402..0a04b83 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -63,7 +63,7 @@ dependencies = [ "proc-macro2", "quote", "swc_macros_common", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -304,7 +304,7 @@ checksum = "9a8d5b11f7fa1068e5bbac8ab6c8c2c6940047f69185987446b60c995d4bf89c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -344,9 +344,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.97" +version = "1.0.98" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "099a5357d84c4c61eb35fc8eafa9a79a902c2f76911e5747ced4e032edd8d9b4" +checksum = "41c270e7540d725e65ac7f1b212ac8ce349719624d7bcff99f8e2e488e8cf03f" [[package]] name = "cfg-if" @@ -513,9 +513,9 @@ checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" [[package]] name = "either" -version = "1.11.0" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a47c1c47d2f5964e29c61246e81db715514cd532db6b5116a25ea3c03d6780a2" +checksum = "3dca9240753cf90908d7e4aac30f630662b02aebaa1b58a3cadabdb23385b58b" [[package]] name = "equivalent" @@ -540,7 +540,7 @@ checksum = "fdc9cc75639b041067353b9bce2450d6847e547276c6fbe4487d7407980e07db" dependencies = [ "proc-macro2", "swc_macros_common", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -631,7 +631,7 @@ dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -663,9 +663,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.154" +version = "0.2.155" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346" +checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" [[package]] name = "libmimalloc-sys" @@ -724,7 +724,7 @@ checksum = "dcf09caffaac8068c346b6df2a7fc27a177fd20b39421a39ce0a211bde679a6c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -738,9 +738,9 @@ dependencies = [ [[package]] name = "miniz_oxide" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" +checksum = "87dfd01fe195c66b572b37921ad8803d010623c0aca821bea2302239d155cdae" dependencies = [ "adler", ] @@ -993,7 +993,7 @@ dependencies = [ "phf_shared", "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -1154,9 +1154,9 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" [[package]] name = "rustversion" -version = "1.0.16" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "092474d1a01ea8278f69e6a358998405fae5b8b963ddaeb2b0b04a128bf1dfb0" +checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" [[package]] name = "ryu" @@ -1175,9 +1175,9 @@ dependencies = [ [[package]] name = "schemars" -version = "0.8.19" +version = "0.8.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc6e7ed6919cb46507fb01ff1654309219f62b4d603822501b0b80d42f6f21ef" +checksum = "b0218ceea14babe24a4a5836f86ade86c1effbc198164e619194cb5069187e29" dependencies = [ "dyn-clone", "schemars_derive", @@ -1187,14 +1187,14 @@ dependencies = [ [[package]] name = "schemars_derive" -version = "0.8.19" +version = "0.8.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "185f2b7aa7e02d418e453790dde16890256bbd2bcd04b7dc5348811052b53f49" +checksum = "3ed5a1ccce8ff962e31a165d41f6e2a2dd1245099dc4d594f5574a86cd90f4d3" dependencies = [ "proc-macro2", "quote", "serde_derive_internals", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -1217,33 +1217,33 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4" [[package]] name = "serde" -version = "1.0.201" +version = "1.0.202" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "780f1cebed1629e4753a1a38a3c72d30b97ec044f0aef68cb26650a3c5cf363c" +checksum = "226b61a0d411b2ba5ff6d7f73a476ac4f8bb900373459cd00fab8512828ba395" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.201" +version = "1.0.202" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5e405930b9796f1c00bee880d03fc7e0bb4b9a11afc776885ffe84320da2865" +checksum = "6048858004bcff69094cd972ed40a32500f153bd3be9f716b2eed2e8217c4838" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] name = "serde_derive_internals" -version = "0.29.0" +version = "0.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "330f01ce65a3a5fe59a60c82f3c9a024b573b8a6e875bd233fe5f934e71d54e3" +checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -1331,7 +1331,7 @@ dependencies = [ "proc-macro2", "quote", "swc_macros_common", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -1418,7 +1418,7 @@ checksum = "695a1d8b461033d32429b5befbf0ad4d7a2c4d6ba9cd5ba4e0645c615839e8e4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -1429,7 +1429,7 @@ checksum = "91745f3561057493d2da768437c427c0e979dff7396507ae02f16c981c4a8466" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -1452,7 +1452,7 @@ dependencies = [ "proc-macro2", "quote", "swc_macros_common", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -1468,9 +1468,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.63" +version = "2.0.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf5be731623ca1a1fb7d8be6f261a3be6d3e2337b8a1f97be944d020c8fcb704" +checksum = "7ad3dee41f36859875573074334c200d1add8e4a87bb37113ebd31d926b7b11f" dependencies = [ "proc-macro2", "quote", @@ -1499,22 +1499,22 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.60" +version = "1.0.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "579e9083ca58dd9dcf91a9923bb9054071b9ebbd800b342194c9feb0ee89fc18" +checksum = "c546c80d6be4bc6a00c0f01730c08df82eaa7a7a61f11d656526506112cc1709" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.60" +version = "1.0.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2470041c06ec3ac1ab38d0356a6119054dedaea53e12fbefc0de730a1c08524" +checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -1561,7 +1561,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] From ef8b7b865c410473c16eefd06ace457e10d06fb5 Mon Sep 17 00:00:00 2001 From: Boshen Date: Thu, 23 May 2024 22:09:02 +0800 Subject: [PATCH 073/385] update renovatebot --- .github/renovate.json | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 9118e4b..d2e3304 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,19 +1,23 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["github>Boshen/renovate"], - "schedule": ["before 8am"], + "schedule": ["at any time"], + "automergeType": "pr", + "lockFileMaintenance": { + "enabled": false + }, "packageRules": [ { - "matchPackagePatterns": ["oxc"], - "groupName": "oxc" + "groupName": "oxc", + "matchPackagePatterns": ["oxc"] }, { - "matchPackagePatterns": ["swc"], - "groupName": "swc" + "groupName": "swc", + "matchPackagePatterns": ["swc"] }, { - "matchPackagePatterns": ["biome"], - "groupName": "biome" + "groupName": "biome", + "matchPackagePatterns": ["biome"] } ] } From 2c500d8430e9f41969338f78ea87eb38db3390b0 Mon Sep 17 00:00:00 2001 From: Boshen Date: Thu, 23 May 2024 22:10:18 +0800 Subject: [PATCH 074/385] renovate: enable lockFileMaintenance --- .github/renovate.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index d2e3304..9b1919e 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -3,9 +3,6 @@ "extends": ["github>Boshen/renovate"], "schedule": ["at any time"], "automergeType": "pr", - "lockFileMaintenance": { - "enabled": false - }, "packageRules": [ { "groupName": "oxc", From 2db3fab814fa3296685e2261b8ae5393e93f17b3 Mon Sep 17 00:00:00 2001 From: Boshen Date: Thu, 23 May 2024 22:11:21 +0800 Subject: [PATCH 075/385] renovate: update --- .github/renovate.json | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 9b1919e..29de346 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,20 +1,24 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["github>Boshen/renovate"], - "schedule": ["at any time"], - "automergeType": "pr", "packageRules": [ { "groupName": "oxc", - "matchPackagePatterns": ["oxc"] + "matchPackagePatterns": ["oxc"], + "schedule": ["at any time"], + "automergeType": "pr" }, { "groupName": "swc", - "matchPackagePatterns": ["swc"] + "matchPackagePatterns": ["swc"], + "schedule": ["at any time"], + "automergeType": "pr" }, { "groupName": "biome", - "matchPackagePatterns": ["biome"] + "matchPackagePatterns": ["biome"], + "schedule": ["at any time"], + "automergeType": "pr" } ] } From dc70bdb6b310a51acd90be6a154e8c1f9a0493f4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 23 May 2024 14:13:28 +0000 Subject: [PATCH 076/385] chore(deps): update rust crate oxc to v0.13.1 --- Cargo.lock | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0a04b83..71e36ee 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -819,9 +819,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.13.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce6207736bba933573543b66b353f92652d054c3b05d709971e77efa0f5240c2" +checksum = "1321df1eb7cbe614f81b9f9c61e8f468a33d27af9666e466d9e8c90412fee1a6" dependencies = [ "oxc_allocator", "oxc_ast", @@ -834,9 +834,9 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.13.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fbd477ba88933a94af8018b8c1fbe74085c83fc1d540d40d04ef3f0f9209070" +checksum = "50ddabed96b529df65f161e36588d713e17de6b39d63d6a65d2775f2e61be33d" dependencies = [ "allocator-api2", "bumpalo", @@ -844,9 +844,9 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.13.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a8834664ffa913f231c604a079501d20e671652a646e10cf6c77f54e47d0592" +checksum = "97515ce783d47791314ed29a8b5c07e86b8e6197d39f7d913061dbb00ef8a17f" dependencies = [ "bitflags", "num-bigint", @@ -859,15 +859,15 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.13.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ce5a39cd90a129edc8ff221a7bdd1604ea520c613cb1d8566a5957e76772647" +checksum = "7def90851267da78e76382b3dc60da96794b3ae0db9b8fd3601d30eb5c0a7d03" [[package]] name = "oxc_diagnostics" -version = "0.13.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56289a4fbacf9e88043a6d10d4dc88b1f745919689d6b04e69e0db6a10e86b3c" +checksum = "906bcd2544b631ab145a0839e89ebe05ccf86534f5dfe30002ac3c7bfec14895" dependencies = [ "miette", "owo-colors", @@ -877,20 +877,21 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.13.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4836ca3567d818987e1e5aaa637dca36d2e4a5d3968b08952109f1167761aae8" +checksum = "c8bf03f093ccb15a35b494584fe31a486de6983082f5c6e864fcde8c30255e96" [[package]] name = "oxc_parser" -version = "0.13.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efb5337acbddbf126288f661c90b6c2b8156580867e2030c7cd0edb0189a79af" +checksum = "e1ce2bfe3b8a05cf42dc57c51b50e3c3cac0bc2f2832a337f74f4a11b6d3ff1d" dependencies = [ "assert-unchecked", "bitflags", "memchr", "num-bigint", + "num-traits", "oxc_allocator", "oxc_ast", "oxc_diagnostics", @@ -921,9 +922,9 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.13.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21f6246bf872c211390210c9d51b8a4911b804551359a79fae4479f28b1c34f5" +checksum = "2d5066d824fba500cdc295e37392c9d69aeae96b1a010e4d09a8c4bc9cb5a19b" dependencies = [ "compact_str", "miette", @@ -931,9 +932,9 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.13.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86716b48d0d7b3bb1a03310f2d6bb1e85ac49e5af265fb11f68e116901fbf8a7" +checksum = "6a78d0f89e430d0f746aae2381e671c67f0d8c9c681f0964a58b805d8e69e85c" dependencies = [ "bitflags", "dashmap", From bfb56bc5eb1b805dfe4418a452ea63836c00fdd5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 23 May 2024 14:13:35 +0000 Subject: [PATCH 077/385] chore(deps): lock file maintenance rust crates --- Cargo.lock | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 71e36ee..46ba865 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -63,7 +63,7 @@ dependencies = [ "proc-macro2", "quote", "swc_macros_common", - "syn 2.0.64", + "syn 2.0.65", ] [[package]] @@ -304,7 +304,7 @@ checksum = "9a8d5b11f7fa1068e5bbac8ab6c8c2c6940047f69185987446b60c995d4bf89c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.65", ] [[package]] @@ -470,9 +470,9 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.19" +version = "0.8.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" +checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" [[package]] name = "crunchy" @@ -540,7 +540,7 @@ checksum = "fdc9cc75639b041067353b9bce2450d6847e547276c6fbe4487d7407980e07db" dependencies = [ "proc-macro2", "swc_macros_common", - "syn 2.0.64", + "syn 2.0.65", ] [[package]] @@ -631,7 +631,7 @@ dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.65", ] [[package]] @@ -669,9 +669,9 @@ checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" [[package]] name = "libmimalloc-sys" -version = "0.1.37" +version = "0.1.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81eb4061c0582dedea1cbc7aff2240300dd6982e0239d1c99e65c1dbf4a30ba7" +checksum = "0e7bb23d733dfcc8af652a78b7bf232f0e967710d044732185e561e47c0336b6" dependencies = [ "cc", "libc", @@ -724,14 +724,14 @@ checksum = "dcf09caffaac8068c346b6df2a7fc27a177fd20b39421a39ce0a211bde679a6c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.65", ] [[package]] name = "mimalloc" -version = "0.1.41" +version = "0.1.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f41a2280ded0da56c8cf898babb86e8f10651a34adcfff190ae9a1159c6908d" +checksum = "e9186d86b79b52f4a77af65604b51225e8db1d6ee7e3f41aec1e40829c71a176" dependencies = [ "libmimalloc-sys", ] @@ -994,7 +994,7 @@ dependencies = [ "phf_shared", "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.65", ] [[package]] @@ -1037,9 +1037,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.82" +version = "1.0.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ad3d49ab951a01fbaafe34f2ec74122942fe18a3f9814c3268f1bb72042131b" +checksum = "0b33eb56c327dec362a9e55b3ad14f9d2f0904fb5a5b03b513ab5465399e9f43" dependencies = [ "unicode-ident", ] @@ -1195,7 +1195,7 @@ dependencies = [ "proc-macro2", "quote", "serde_derive_internals", - "syn 2.0.64", + "syn 2.0.65", ] [[package]] @@ -1233,7 +1233,7 @@ checksum = "6048858004bcff69094cd972ed40a32500f153bd3be9f716b2eed2e8217c4838" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.65", ] [[package]] @@ -1244,7 +1244,7 @@ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.65", ] [[package]] @@ -1332,7 +1332,7 @@ dependencies = [ "proc-macro2", "quote", "swc_macros_common", - "syn 2.0.64", + "syn 2.0.65", ] [[package]] @@ -1419,7 +1419,7 @@ checksum = "695a1d8b461033d32429b5befbf0ad4d7a2c4d6ba9cd5ba4e0645c615839e8e4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.65", ] [[package]] @@ -1430,7 +1430,7 @@ checksum = "91745f3561057493d2da768437c427c0e979dff7396507ae02f16c981c4a8466" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.65", ] [[package]] @@ -1453,7 +1453,7 @@ dependencies = [ "proc-macro2", "quote", "swc_macros_common", - "syn 2.0.64", + "syn 2.0.65", ] [[package]] @@ -1469,9 +1469,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.64" +version = "2.0.65" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ad3dee41f36859875573074334c200d1add8e4a87bb37113ebd31d926b7b11f" +checksum = "d2863d96a84c6439701d7a38f9de935ec562c8832cc55d1dde0f513b52fad106" dependencies = [ "proc-macro2", "quote", @@ -1515,7 +1515,7 @@ checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.65", ] [[package]] @@ -1562,7 +1562,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.65", ] [[package]] From 7fec01f73e84572fe6e621e21ff887bd23c0b0e5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 26 May 2024 19:36:09 +0000 Subject: [PATCH 078/385] chore(deps): lock file maintenance --- Cargo.lock | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 46ba865..e5181a2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -63,7 +63,7 @@ dependencies = [ "proc-macro2", "quote", "swc_macros_common", - "syn 2.0.65", + "syn 2.0.66", ] [[package]] @@ -304,7 +304,7 @@ checksum = "9a8d5b11f7fa1068e5bbac8ab6c8c2c6940047f69185987446b60c995d4bf89c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.66", ] [[package]] @@ -540,7 +540,7 @@ checksum = "fdc9cc75639b041067353b9bce2450d6847e547276c6fbe4487d7407980e07db" dependencies = [ "proc-macro2", "swc_macros_common", - "syn 2.0.65", + "syn 2.0.66", ] [[package]] @@ -631,7 +631,7 @@ dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.66", ] [[package]] @@ -724,7 +724,7 @@ checksum = "dcf09caffaac8068c346b6df2a7fc27a177fd20b39421a39ce0a211bde679a6c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.66", ] [[package]] @@ -994,7 +994,7 @@ dependencies = [ "phf_shared", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.66", ] [[package]] @@ -1037,9 +1037,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.83" +version = "1.0.84" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b33eb56c327dec362a9e55b3ad14f9d2f0904fb5a5b03b513ab5465399e9f43" +checksum = "ec96c6a92621310b51366f1e28d05ef11489516e93be030060e5fc12024a49d6" dependencies = [ "unicode-ident", ] @@ -1176,9 +1176,9 @@ dependencies = [ [[package]] name = "schemars" -version = "0.8.20" +version = "0.8.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0218ceea14babe24a4a5836f86ade86c1effbc198164e619194cb5069187e29" +checksum = "09c024468a378b7e36765cd36702b7a90cc3cba11654f6685c8f233408e89e92" dependencies = [ "dyn-clone", "schemars_derive", @@ -1188,14 +1188,14 @@ dependencies = [ [[package]] name = "schemars_derive" -version = "0.8.20" +version = "0.8.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ed5a1ccce8ff962e31a165d41f6e2a2dd1245099dc4d594f5574a86cd90f4d3" +checksum = "b1eee588578aff73f856ab961cd2f79e36bc45d7ded33a7562adba4667aecc0e" dependencies = [ "proc-macro2", "quote", "serde_derive_internals", - "syn 2.0.65", + "syn 2.0.66", ] [[package]] @@ -1218,22 +1218,22 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4" [[package]] name = "serde" -version = "1.0.202" +version = "1.0.203" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "226b61a0d411b2ba5ff6d7f73a476ac4f8bb900373459cd00fab8512828ba395" +checksum = "7253ab4de971e72fb7be983802300c30b5a7f0c2e56fab8abfc6a214307c0094" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.202" +version = "1.0.203" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6048858004bcff69094cd972ed40a32500f153bd3be9f716b2eed2e8217c4838" +checksum = "500cbc0ebeb6f46627f50f3f5811ccf6bf00643be300b4c3eabc0ef55dc5b5ba" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.66", ] [[package]] @@ -1244,7 +1244,7 @@ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.66", ] [[package]] @@ -1332,7 +1332,7 @@ dependencies = [ "proc-macro2", "quote", "swc_macros_common", - "syn 2.0.65", + "syn 2.0.66", ] [[package]] @@ -1419,7 +1419,7 @@ checksum = "695a1d8b461033d32429b5befbf0ad4d7a2c4d6ba9cd5ba4e0645c615839e8e4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.66", ] [[package]] @@ -1430,7 +1430,7 @@ checksum = "91745f3561057493d2da768437c427c0e979dff7396507ae02f16c981c4a8466" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.66", ] [[package]] @@ -1453,7 +1453,7 @@ dependencies = [ "proc-macro2", "quote", "swc_macros_common", - "syn 2.0.65", + "syn 2.0.66", ] [[package]] @@ -1469,9 +1469,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.65" +version = "2.0.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2863d96a84c6439701d7a38f9de935ec562c8832cc55d1dde0f513b52fad106" +checksum = "c42f3f41a2de00b01c0aaad383c5a45241efc8b2d1eda5661812fda5f3cdcff5" dependencies = [ "proc-macro2", "quote", @@ -1515,7 +1515,7 @@ checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.66", ] [[package]] @@ -1562,7 +1562,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.66", ] [[package]] From 5e61f2feffea9ba94022b2ebfb8ba39fc7449976 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 06:36:03 +0000 Subject: [PATCH 079/385] chore(deps): update rust crate oxc to v0.13.2 --- Cargo.lock | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e5181a2..d79f8d1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -819,9 +819,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.13.1" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1321df1eb7cbe614f81b9f9c61e8f468a33d27af9666e466d9e8c90412fee1a6" +checksum = "8e12bc3e03f980ed4312fdff29ccc88bb860c7bd05191cf94c479ec89dbf6e75" dependencies = [ "oxc_allocator", "oxc_ast", @@ -834,9 +834,9 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.13.1" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50ddabed96b529df65f161e36588d713e17de6b39d63d6a65d2775f2e61be33d" +checksum = "882e844cac27a90609a65f3e0bf30532488c9b594a0909450361936baa5587a4" dependencies = [ "allocator-api2", "bumpalo", @@ -844,9 +844,9 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.13.1" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97515ce783d47791314ed29a8b5c07e86b8e6197d39f7d913061dbb00ef8a17f" +checksum = "1483cde670e3eeab755044e955981896caf8b98bcb152b738d59be88a0124065" dependencies = [ "bitflags", "num-bigint", @@ -859,15 +859,15 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.13.1" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7def90851267da78e76382b3dc60da96794b3ae0db9b8fd3601d30eb5c0a7d03" +checksum = "82ff9d81fa7376e8a8c40e2ba97fdd6ce4bee0e5c4c6d00fc7f6d613c6a08ee5" [[package]] name = "oxc_diagnostics" -version = "0.13.1" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "906bcd2544b631ab145a0839e89ebe05ccf86534f5dfe30002ac3c7bfec14895" +checksum = "d22394489340abba5c30224e54ba5e1b1b64d581326ec6b31633ee4c71ea4820" dependencies = [ "miette", "owo-colors", @@ -877,15 +877,15 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.13.1" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8bf03f093ccb15a35b494584fe31a486de6983082f5c6e864fcde8c30255e96" +checksum = "53e84daa7272ed41a547a3eef4e0ba260eec5db6b914e7b52a7167e3997016f3" [[package]] name = "oxc_parser" -version = "0.13.1" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1ce2bfe3b8a05cf42dc57c51b50e3c3cac0bc2f2832a337f74f4a11b6d3ff1d" +checksum = "537795adc5df0b93f2939e2243f00882ce9a0f17ea4a83430417febf0aa3c230" dependencies = [ "assert-unchecked", "bitflags", @@ -922,9 +922,9 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.13.1" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d5066d824fba500cdc295e37392c9d69aeae96b1a010e4d09a8c4bc9cb5a19b" +checksum = "a9d71c87d4fb483c7bf028cdb5fa92b4e1b808b28f75d531b4989ba530dd83bb" dependencies = [ "compact_str", "miette", @@ -932,9 +932,9 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.13.1" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a78d0f89e430d0f746aae2381e671c67f0d8c9c681f0964a58b805d8e69e85c" +checksum = "19f1d9fc744065446debeb24c40547bdb8cd810c5053093878510b0da119ad15" dependencies = [ "bitflags", "dashmap", From 27c3cd69e25b6f8060a9e9c9147e5f2075faa734 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 4 Jun 2024 13:07:03 +0000 Subject: [PATCH 080/385] chore(deps): update rust crate oxc to v0.13.3 --- Cargo.lock | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d79f8d1..dbf4275 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -819,9 +819,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.13.2" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e12bc3e03f980ed4312fdff29ccc88bb860c7bd05191cf94c479ec89dbf6e75" +checksum = "0b719a07e880501300c01c1b4ebfd7a1223316e6486fccb9146b5e9421a8b51a" dependencies = [ "oxc_allocator", "oxc_ast", @@ -834,9 +834,9 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.13.2" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "882e844cac27a90609a65f3e0bf30532488c9b594a0909450361936baa5587a4" +checksum = "dd92933bb2e556dae254c4bb7bc2986c4ef26790cc714046cb1ff7f1e501d6b3" dependencies = [ "allocator-api2", "bumpalo", @@ -844,9 +844,9 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.13.2" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1483cde670e3eeab755044e955981896caf8b98bcb152b738d59be88a0124065" +checksum = "52bedde0334e058737701a8bbb5f606d82c84c3ab14dcf33c2d04a0ccca18814" dependencies = [ "bitflags", "num-bigint", @@ -859,15 +859,15 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.13.2" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82ff9d81fa7376e8a8c40e2ba97fdd6ce4bee0e5c4c6d00fc7f6d613c6a08ee5" +checksum = "28562dac13c93e3172ee361b08d3ab80f9458c78d16666dfd7aa51d703dfcb17" [[package]] name = "oxc_diagnostics" -version = "0.13.2" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d22394489340abba5c30224e54ba5e1b1b64d581326ec6b31633ee4c71ea4820" +checksum = "b4ab850c445d7185c7cb764c8d5ef1d147c69e5a9f371f38bd0d1fbd0b4c6d3f" dependencies = [ "miette", "owo-colors", @@ -877,15 +877,15 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.13.2" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53e84daa7272ed41a547a3eef4e0ba260eec5db6b914e7b52a7167e3997016f3" +checksum = "e9c14fc095e06a186775f9c40a6f184dd39b0b740e4c107f89a9058567413625" [[package]] name = "oxc_parser" -version = "0.13.2" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "537795adc5df0b93f2939e2243f00882ce9a0f17ea4a83430417febf0aa3c230" +checksum = "dd98dad8d9dbfe195710736f0ad066be25805f79b6625f49a86acb9b406c29d0" dependencies = [ "assert-unchecked", "bitflags", @@ -922,9 +922,9 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.13.2" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9d71c87d4fb483c7bf028cdb5fa92b4e1b808b28f75d531b4989ba530dd83bb" +checksum = "a404702c7d6d8598f4d4a310bf9eccd9e748127931c121f81ba258d57575b920" dependencies = [ "compact_str", "miette", @@ -932,9 +932,9 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.13.2" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19f1d9fc744065446debeb24c40547bdb8cd810c5053093878510b0da119ad15" +checksum = "8037d6f2820df593a92fd9e1105c7c5b576abc595625d46733e8acfdce967cfc" dependencies = [ "bitflags", "dashmap", From f4b36b6d91f47cd80422c474e3cd7684e7689c58 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 4 Jun 2024 15:57:04 +0000 Subject: [PATCH 081/385] chore(deps): lock file maintenance rust crates --- Cargo.lock | 62 ++++++++++++++++++------------------------------------ Cargo.toml | 2 +- 2 files changed, 21 insertions(+), 43 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index dbf4275..b6fb0c3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,9 +14,9 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" +checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678" dependencies = [ "gimli", ] @@ -74,9 +74,9 @@ checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" [[package]] name = "backtrace" -version = "0.3.71" +version = "0.3.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26b05800d2e817c8b3b4b54abd461726265fa9789ae34330622f2db9ee696f9d" +checksum = "17c6a35df3749d2e8bb1b7b21a976d82b15548788d2735b9d82f329268f71a11" dependencies = [ "addr2line", "cc", @@ -429,9 +429,9 @@ checksum = "7704b5fdd17b18ae31c4c1da5a2e0305a2bf17b5249300a9ee9ed7b72114c636" [[package]] name = "criterion2" -version = "0.8.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43b57a5b1bf6ed08b671717cf7ce07d3dea4efa30f54d0b64abce48d8299818f" +checksum = "f22174bed309c964c1720148dfe793f285cc02fd8b13c91205d485f73468d94d" dependencies = [ "anes", "bpaf", @@ -439,13 +439,10 @@ dependencies = [ "ciborium", "codspeed", "colored", - "itertools", "num-traits", "oorandom", "serde", - "serde_derive", "serde_json", - "tinytemplate", "walkdir", ] @@ -545,9 +542,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.28.1" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd" [[package]] name = "half" @@ -634,15 +631,6 @@ dependencies = [ "syn 2.0.66", ] -[[package]] -name = "itertools" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" -dependencies = [ - "either", -] - [[package]] name = "itoa" version = "1.0.11" @@ -792,9 +780,9 @@ dependencies = [ [[package]] name = "object" -version = "0.32.2" +version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" +checksum = "b8ec7ab813848ba4522158d5517a6093db1ded27575b070f4177b8d12b41db5e" dependencies = [ "memchr", ] @@ -904,9 +892,9 @@ dependencies = [ [[package]] name = "oxc_resolver" -version = "1.7.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab805c61c1758a7bf350c52ab8962307d1c0fe9677ffa0ac5007789c2e98858f" +checksum = "ebd177c1f521d3c6631fa96abb6d97220ce4bed102e1e0172b11496ed9442fae" dependencies = [ "dashmap", "dunce", @@ -1037,9 +1025,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.84" +version = "1.0.85" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec96c6a92621310b51366f1e28d05ef11489516e93be030060e5fc12024a49d6" +checksum = "22244ce15aa966053a896d1accb3a6e68469b97c7f33f284b99f0d576879fc23" dependencies = [ "unicode-ident", ] @@ -1391,9 +1379,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.144.1" +version = "0.144.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0499e69683ae5d67a20ff0279b94bc90f29df7922a46331b54d5dd367bf89570" +checksum = "31adf4599e8de70f3b754dfc34ec2ab09fa6841d79a9f4a888250a404eae7030" dependencies = [ "either", "new_debug_unreachable", @@ -1518,16 +1506,6 @@ dependencies = [ "syn 2.0.66", ] -[[package]] -name = "tinytemplate" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc" -dependencies = [ - "serde", - "serde_json", -] - [[package]] name = "tinyvec" version = "1.6.0" @@ -1576,9 +1554,9 @@ dependencies = [ [[package]] name = "triomphe" -version = "0.1.11" +version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "859eb650cfee7434994602c3a68b25d77ad9e68c8a6cd491616ef86661382eb3" +checksum = "1b2cb4fbb9995eeb36ac86fadf24031ccd58f99d6b4b2d7b911db70bddb80d90" dependencies = [ "serde", "stable_deref_trait", @@ -1650,9 +1628,9 @@ checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" [[package]] name = "unicode-width" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68f5e5f3158ecfd4b8ff6fe086db7c8467a2dfdac97fe420f2b7c4aa97af66d6" +checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d" [[package]] name = "url" diff --git a/Cargo.toml b/Cargo.toml index d2c4f8a..3fe15d7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ biome_js_parser = "0.5.7" biome_js_syntax = "0.5.7" num_cpus = "1.16.0" -criterion = { package = "criterion2", version = "0.8.0", default-features = false } +criterion = { package = "criterion2", version = "0.10.0", default-features = false } rayon = "1.10.0" mimalloc = "0.1.41" From e401897a0073b91b8c6adb1bb2237e32013dec19 Mon Sep 17 00:00:00 2001 From: Boshen Date: Thu, 6 Jun 2024 13:56:41 +0800 Subject: [PATCH 082/385] chore: update criterion2 --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3fe15d7..4518a6f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,9 +24,9 @@ biome_js_parser = "0.5.7" biome_js_syntax = "0.5.7" num_cpus = "1.16.0" -criterion = { package = "criterion2", version = "0.10.0", default-features = false } +criterion2 = { version = "0.10.0", default-features = false } rayon = "1.10.0" mimalloc = "0.1.41" [features] -codspeed = ["criterion/codspeed"] +codspeed = ["criterion2/codspeed"] From 34b1c285c1203f9a6d724b0589c003f7c02205c0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 7 Jun 2024 10:56:48 +0000 Subject: [PATCH 083/385] chore(deps): update rust crate oxc to v0.13.4 --- Cargo.lock | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b6fb0c3..c0d8084 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -807,9 +807,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.13.3" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b719a07e880501300c01c1b4ebfd7a1223316e6486fccb9146b5e9421a8b51a" +checksum = "472b744acc898785509cb62924e3028c9dc9db3756f649cb389a634c0e893a93" dependencies = [ "oxc_allocator", "oxc_ast", @@ -822,9 +822,9 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.13.3" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd92933bb2e556dae254c4bb7bc2986c4ef26790cc714046cb1ff7f1e501d6b3" +checksum = "45b55ec55246f70ecc573a15d19b499e4494941103776d1f2a07ec28be0a5c8e" dependencies = [ "allocator-api2", "bumpalo", @@ -832,9 +832,9 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.13.3" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52bedde0334e058737701a8bbb5f606d82c84c3ab14dcf33c2d04a0ccca18814" +checksum = "6487e90cd5d830071244f2d9b47dac6f7d7b464d4ab992ded508d397aff1d939" dependencies = [ "bitflags", "num-bigint", @@ -847,15 +847,15 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.13.3" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28562dac13c93e3172ee361b08d3ab80f9458c78d16666dfd7aa51d703dfcb17" +checksum = "a32fddeff19aa25d70677df2c5206b5ff310dd4589cd2ca1950bd5ed05e60f47" [[package]] name = "oxc_diagnostics" -version = "0.13.3" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4ab850c445d7185c7cb764c8d5ef1d147c69e5a9f371f38bd0d1fbd0b4c6d3f" +checksum = "b47e15dbb545bf75b978742b9363499a91790b1e3500f09e7bce2e9f24a456e3" dependencies = [ "miette", "owo-colors", @@ -865,15 +865,15 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.13.3" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9c14fc095e06a186775f9c40a6f184dd39b0b740e4c107f89a9058567413625" +checksum = "a5765b056fda2a5e804101ac89d4ccaf117dc57635c64b2c4a5ac2e0fbfcbafe" [[package]] name = "oxc_parser" -version = "0.13.3" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd98dad8d9dbfe195710736f0ad066be25805f79b6625f49a86acb9b406c29d0" +checksum = "75c483c279a7302e1eaef1bc5504762497d6c1baeb634593400941b7e2982fc2" dependencies = [ "assert-unchecked", "bitflags", @@ -910,9 +910,9 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.13.3" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a404702c7d6d8598f4d4a310bf9eccd9e748127931c121f81ba258d57575b920" +checksum = "81011ebc4d204d617dc07fb5a4dc81fd7cbacaacb43ae9e888c6311e17352b4b" dependencies = [ "compact_str", "miette", @@ -920,9 +920,9 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.13.3" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8037d6f2820df593a92fd9e1105c7c5b576abc595625d46733e8acfdce967cfc" +checksum = "c42f6c22d09819658574ee0f9d9649c5f38f18233c0c51dd61ac9980317439b0" dependencies = [ "bitflags", "dashmap", From 17c64e6b1713b4fec828c6a37ec311c2fd1b8ef5 Mon Sep 17 00:00:00 2001 From: Boshen Date: Sat, 8 Jun 2024 11:32:29 +0800 Subject: [PATCH 084/385] update README --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 529e01b..3a4aa70 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Benchmark for Oxc, Swc and Biome parser +# Parser Benchmark for Oxc, Swc and Biome The purpose of this benchmark is for people who wants to evaluate and compare the performance characteristics of these parsers. @@ -53,8 +53,7 @@ group.bench_with_input(id, &source, |b, source| { This benchmark uses the total number of physical cores as the total number of files to parse per bench iteration. For example it parses 6 files in parallel on my Mac i7 6 cores. -This can indicate the existence of resource contention. -For example swc uses [`string_cache`](https://crates.io/crates/string_cache) crate, which uses a global concurrent hashmap. +This can indicate the existence of global resource contention. ```rust let cpus = num_cpus::get_physical(); From 787b216d1e1894a8d6d85ea605a5f613113452ce Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 8 Jun 2024 09:09:28 +0000 Subject: [PATCH 085/385] chore(deps): update rust crate oxc to v0.13.5 --- Cargo.lock | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c0d8084..3da332e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -807,9 +807,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.13.4" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "472b744acc898785509cb62924e3028c9dc9db3756f649cb389a634c0e893a93" +checksum = "b3c11b357c8eb787abbbde690887c04dadd6d587fda8abb6eacdb5a1cb9d3f9e" dependencies = [ "oxc_allocator", "oxc_ast", @@ -822,9 +822,9 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.13.4" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45b55ec55246f70ecc573a15d19b499e4494941103776d1f2a07ec28be0a5c8e" +checksum = "e2e7cfaefbe298f41ab147bb34badb6525a5a5879a66d8e4d4d2123d61392f79" dependencies = [ "allocator-api2", "bumpalo", @@ -832,9 +832,9 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.13.4" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6487e90cd5d830071244f2d9b47dac6f7d7b464d4ab992ded508d397aff1d939" +checksum = "7223a3839e52a47195dae7bdebacb5429b177c95bee6ce3949aa52a3d087decd" dependencies = [ "bitflags", "num-bigint", @@ -847,15 +847,15 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.13.4" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a32fddeff19aa25d70677df2c5206b5ff310dd4589cd2ca1950bd5ed05e60f47" +checksum = "51b8c788e0b101df5e2e7d06e93ab95cee211909bfdee9567d630ccc591a1ca6" [[package]] name = "oxc_diagnostics" -version = "0.13.4" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b47e15dbb545bf75b978742b9363499a91790b1e3500f09e7bce2e9f24a456e3" +checksum = "4bf47440ec751765d42c3f3e5d6634c3d4a41c90bb59e9fdebb10c31045fec61" dependencies = [ "miette", "owo-colors", @@ -865,15 +865,15 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.13.4" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5765b056fda2a5e804101ac89d4ccaf117dc57635c64b2c4a5ac2e0fbfcbafe" +checksum = "2a20d90a1e98a54158efb6192c9850310109d73c4e0c76721f226bebe19e6b32" [[package]] name = "oxc_parser" -version = "0.13.4" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75c483c279a7302e1eaef1bc5504762497d6c1baeb634593400941b7e2982fc2" +checksum = "d028fc5dce76108b7d0fa4067b6ec2d86320b5afb4fd4f206f34b067c1cf1a07" dependencies = [ "assert-unchecked", "bitflags", @@ -910,9 +910,9 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.13.4" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81011ebc4d204d617dc07fb5a4dc81fd7cbacaacb43ae9e888c6311e17352b4b" +checksum = "e82799c7b37657a6539ad8acd3f8a3bd051c642413766e3d22f9feb00a93417f" dependencies = [ "compact_str", "miette", @@ -920,9 +920,9 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.13.4" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c42f6c22d09819658574ee0f9d9649c5f38f18233c0c51dd61ac9980317439b0" +checksum = "08e99196df2b7e41aface2abf819b705e64e81f3b21c209e92851390772c3436" dependencies = [ "bitflags", "dashmap", From a9ab0b92e745e932bf59f8541cc8da4a6d934cba Mon Sep 17 00:00:00 2001 From: Boshen Date: Sat, 8 Jun 2024 17:18:56 +0800 Subject: [PATCH 086/385] renovate test bump rangeStrategy --- .github/renovate.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/renovate.json b/.github/renovate.json index 29de346..40a2e94 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,6 +1,7 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["github>Boshen/renovate"], + "rangeStrategy": "bump", "packageRules": [ { "groupName": "oxc", From ef0d9e37adb508ca81d89cc38469f3a68901ffc4 Mon Sep 17 00:00:00 2001 From: Boshen Date: Sat, 8 Jun 2024 17:19:30 +0800 Subject: [PATCH 087/385] Revert "chore(deps): update rust crate oxc to v0.13.5" This reverts commit 787b216d1e1894a8d6d85ea605a5f613113452ce. --- Cargo.lock | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3da332e..c0d8084 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -807,9 +807,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.13.5" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3c11b357c8eb787abbbde690887c04dadd6d587fda8abb6eacdb5a1cb9d3f9e" +checksum = "472b744acc898785509cb62924e3028c9dc9db3756f649cb389a634c0e893a93" dependencies = [ "oxc_allocator", "oxc_ast", @@ -822,9 +822,9 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.13.5" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2e7cfaefbe298f41ab147bb34badb6525a5a5879a66d8e4d4d2123d61392f79" +checksum = "45b55ec55246f70ecc573a15d19b499e4494941103776d1f2a07ec28be0a5c8e" dependencies = [ "allocator-api2", "bumpalo", @@ -832,9 +832,9 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.13.5" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7223a3839e52a47195dae7bdebacb5429b177c95bee6ce3949aa52a3d087decd" +checksum = "6487e90cd5d830071244f2d9b47dac6f7d7b464d4ab992ded508d397aff1d939" dependencies = [ "bitflags", "num-bigint", @@ -847,15 +847,15 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.13.5" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51b8c788e0b101df5e2e7d06e93ab95cee211909bfdee9567d630ccc591a1ca6" +checksum = "a32fddeff19aa25d70677df2c5206b5ff310dd4589cd2ca1950bd5ed05e60f47" [[package]] name = "oxc_diagnostics" -version = "0.13.5" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bf47440ec751765d42c3f3e5d6634c3d4a41c90bb59e9fdebb10c31045fec61" +checksum = "b47e15dbb545bf75b978742b9363499a91790b1e3500f09e7bce2e9f24a456e3" dependencies = [ "miette", "owo-colors", @@ -865,15 +865,15 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.13.5" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a20d90a1e98a54158efb6192c9850310109d73c4e0c76721f226bebe19e6b32" +checksum = "a5765b056fda2a5e804101ac89d4ccaf117dc57635c64b2c4a5ac2e0fbfcbafe" [[package]] name = "oxc_parser" -version = "0.13.5" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d028fc5dce76108b7d0fa4067b6ec2d86320b5afb4fd4f206f34b067c1cf1a07" +checksum = "75c483c279a7302e1eaef1bc5504762497d6c1baeb634593400941b7e2982fc2" dependencies = [ "assert-unchecked", "bitflags", @@ -910,9 +910,9 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.13.5" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e82799c7b37657a6539ad8acd3f8a3bd051c642413766e3d22f9feb00a93417f" +checksum = "81011ebc4d204d617dc07fb5a4dc81fd7cbacaacb43ae9e888c6311e17352b4b" dependencies = [ "compact_str", "miette", @@ -920,9 +920,9 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.13.5" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08e99196df2b7e41aface2abf819b705e64e81f3b21c209e92851390772c3436" +checksum = "c42f6c22d09819658574ee0f9d9649c5f38f18233c0c51dd61ac9980317439b0" dependencies = [ "bitflags", "dashmap", From f7b9229962bed8501551be8bd358a620cc57685c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 8 Jun 2024 09:20:29 +0000 Subject: [PATCH 088/385] chore(deps): update rust crate oxc to 0.13.5 --- Cargo.lock | 36 ++++++++++++++++++------------------ Cargo.toml | 2 +- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c0d8084..3da332e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -807,9 +807,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.13.4" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "472b744acc898785509cb62924e3028c9dc9db3756f649cb389a634c0e893a93" +checksum = "b3c11b357c8eb787abbbde690887c04dadd6d587fda8abb6eacdb5a1cb9d3f9e" dependencies = [ "oxc_allocator", "oxc_ast", @@ -822,9 +822,9 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.13.4" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45b55ec55246f70ecc573a15d19b499e4494941103776d1f2a07ec28be0a5c8e" +checksum = "e2e7cfaefbe298f41ab147bb34badb6525a5a5879a66d8e4d4d2123d61392f79" dependencies = [ "allocator-api2", "bumpalo", @@ -832,9 +832,9 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.13.4" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6487e90cd5d830071244f2d9b47dac6f7d7b464d4ab992ded508d397aff1d939" +checksum = "7223a3839e52a47195dae7bdebacb5429b177c95bee6ce3949aa52a3d087decd" dependencies = [ "bitflags", "num-bigint", @@ -847,15 +847,15 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.13.4" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a32fddeff19aa25d70677df2c5206b5ff310dd4589cd2ca1950bd5ed05e60f47" +checksum = "51b8c788e0b101df5e2e7d06e93ab95cee211909bfdee9567d630ccc591a1ca6" [[package]] name = "oxc_diagnostics" -version = "0.13.4" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b47e15dbb545bf75b978742b9363499a91790b1e3500f09e7bce2e9f24a456e3" +checksum = "4bf47440ec751765d42c3f3e5d6634c3d4a41c90bb59e9fdebb10c31045fec61" dependencies = [ "miette", "owo-colors", @@ -865,15 +865,15 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.13.4" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5765b056fda2a5e804101ac89d4ccaf117dc57635c64b2c4a5ac2e0fbfcbafe" +checksum = "2a20d90a1e98a54158efb6192c9850310109d73c4e0c76721f226bebe19e6b32" [[package]] name = "oxc_parser" -version = "0.13.4" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75c483c279a7302e1eaef1bc5504762497d6c1baeb634593400941b7e2982fc2" +checksum = "d028fc5dce76108b7d0fa4067b6ec2d86320b5afb4fd4f206f34b067c1cf1a07" dependencies = [ "assert-unchecked", "bitflags", @@ -910,9 +910,9 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.13.4" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81011ebc4d204d617dc07fb5a4dc81fd7cbacaacb43ae9e888c6311e17352b4b" +checksum = "e82799c7b37657a6539ad8acd3f8a3bd051c642413766e3d22f9feb00a93417f" dependencies = [ "compact_str", "miette", @@ -920,9 +920,9 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.13.4" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c42f6c22d09819658574ee0f9d9649c5f38f18233c0c51dd61ac9980317439b0" +checksum = "08e99196df2b7e41aface2abf819b705e64e81f3b21c209e92851390772c3436" dependencies = [ "bitflags", "dashmap", diff --git a/Cargo.toml b/Cargo.toml index 4518a6f..ec4f56d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ debug = false panic = "abort" [dependencies] -oxc = "0.13.0" +oxc = "0.13.5" swc_ecma_parser = "0.144.1" swc_ecma_ast = "0.113.1" biome_js_parser = "0.5.7" From e59d1663678f5b391cb6ffadbccea27530a33545 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 8 Jun 2024 12:17:01 +0000 Subject: [PATCH 089/385] chore(deps): update swc (#111) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- Cargo.lock | 8 ++++---- Cargo.toml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3da332e..ac7e0b3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1362,9 +1362,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.113.2" +version = "0.113.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29f7cbdc8d3f31a863224649258942a537be44e37cb8f5413da63b51159779b9" +checksum = "98a534a8360a076a030989f6d121ba6044345594bdf0457c4629f432742026b8" dependencies = [ "bitflags", "is-macro", @@ -1595,9 +1595,9 @@ checksum = "7eec5d1121208364f6793f7d2e222bf75a915c19557537745b195b253dd64217" [[package]] name = "unicode-id-start" -version = "1.1.2" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8f73150333cb58412db36f2aca8f2875b013049705cc77b94ded70a1ab1f5da" +checksum = "02aebfa694eccbbbffdd92922c7de136b9fe764396d2f10e21bce1681477cfc1" [[package]] name = "unicode-ident" diff --git a/Cargo.toml b/Cargo.toml index ec4f56d..9f24f9b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,8 +18,8 @@ panic = "abort" [dependencies] oxc = "0.13.5" -swc_ecma_parser = "0.144.1" -swc_ecma_ast = "0.113.1" +swc_ecma_parser = "0.144.2" +swc_ecma_ast = "0.113.7" biome_js_parser = "0.5.7" biome_js_syntax = "0.5.7" From bb03b9115fb9995b472997f77f4a06a8f1f54295 Mon Sep 17 00:00:00 2001 From: Boshen Date: Sat, 8 Jun 2024 21:33:11 +0800 Subject: [PATCH 090/385] update benchmark.yml --- .github/workflows/benchmark.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 9d8c250..75eace2 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -21,15 +21,11 @@ jobs: name: Benchmark runs-on: ubuntu-latest steps: - - name: Checkout Branch - uses: actions/checkout@v4 + - uses: taiki-e/checkout-action@v1 - - name: Setup rust toolchain, cache and cargo-codspeed binary - uses: moonrepo/setup-rust@v1 + - uses: Boshen/setup-rust@main with: - channel: stable - cache-target: release - bins: cargo-codspeed + tools: cargo-codspeed - name: Build Benchmark run: cargo codspeed build --features codspeed From c70ae8374c01fdd1743abb8fdf5f85d119688703 Mon Sep 17 00:00:00 2001 From: Boshen Date: Sat, 8 Jun 2024 21:33:44 +0800 Subject: [PATCH 091/385] update benchmark.yml --- .github/workflows/benchmark.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 75eace2..7c7ae22 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -25,6 +25,7 @@ jobs: - uses: Boshen/setup-rust@main with: + save-cache: ${{ github.ref_name == 'main' }} tools: cargo-codspeed - name: Build Benchmark From e3de00abac285dc0e7673568ed358fff0b5a5067 Mon Sep 17 00:00:00 2001 From: Boshen Date: Sat, 8 Jun 2024 23:11:53 +0800 Subject: [PATCH 092/385] add cal.com.tsx (#112) --- .github/workflows/benchmark.yml | 4 + Cargo.lock | 4 +- Cargo.toml | 6 +- benches/parser.rs | 58 +- files/cal.com.tsx | 30591 +++++++++++++++++++++++++ typescript.js => files/typescript.js | 0 6 files changed, 30638 insertions(+), 25 deletions(-) create mode 100644 files/cal.com.tsx rename typescript.js => files/typescript.js (100%) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 7c7ae22..7b1131b 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -16,6 +16,10 @@ on: - 'Cargo.lock' - 'rust-toolchain.toml' +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} + cancel-in-progress: ${{ github.ref_name != 'main' }} + jobs: benchmark: name: Benchmark diff --git a/Cargo.lock b/Cargo.lock index ac7e0b3..cabc1b4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -344,9 +344,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.98" +version = "1.0.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41c270e7540d725e65ac7f1b212ac8ce349719624d7bcff99f8e2e488e8cf03f" +checksum = "96c51067fd44124faa7f870b4b1c969379ad32b2ba805aa959430ceaa384f695" [[package]] name = "cfg-if" diff --git a/Cargo.toml b/Cargo.toml index 9f24f9b..2b78831 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,15 +18,17 @@ panic = "abort" [dependencies] oxc = "0.13.5" -swc_ecma_parser = "0.144.2" + +swc_ecma_parser = { version = "0.144.2", features = ["typescript"] } swc_ecma_ast = "0.113.7" + biome_js_parser = "0.5.7" biome_js_syntax = "0.5.7" num_cpus = "1.16.0" criterion2 = { version = "0.10.0", default-features = false } rayon = "1.10.0" -mimalloc = "0.1.41" +mimalloc = "0.1.42" [features] codspeed = ["criterion2/codspeed"] diff --git a/benches/parser.rs b/benches/parser.rs index 8d731ab..de46da6 100644 --- a/benches/parser.rs +++ b/benches/parser.rs @@ -1,3 +1,5 @@ +use std::path::Path; + use criterion::{measurement::WallTime, *}; use rayon::prelude::*; @@ -9,23 +11,25 @@ trait TheBencher { const ID: &'static str; - fn parse(source: &str) -> Self::ParseOutput; + fn parse(filename: &Path, source: &str) -> Self::ParseOutput; - fn bench(g: &mut BenchmarkGroup<'_, WallTime>, source: &str) { + fn bench(g: &mut BenchmarkGroup<'_, WallTime>, path: &Path, source: &str) { let cpus = num_cpus::get_physical(); let id = BenchmarkId::new(Self::ID, "single-thread"); - g.bench_with_input(id, &source, |b, source| b.iter(|| Self::parse(source))); + g.bench_with_input(id, &source, |b, source| { + b.iter(|| Self::parse(path, source)) + }); let id = BenchmarkId::new(Self::ID, "no-drop"); g.bench_with_input(id, &source, |b, source| { - b.iter_with_large_drop(|| Self::parse(source)) + b.iter_with_large_drop(|| Self::parse(path, source)) }); let id = BenchmarkId::new(Self::ID, "parallel"); g.bench_with_input(id, &source, |b, source| { b.iter(|| { (0..cpus).into_par_iter().for_each(|_| { - Self::parse(source); + Self::parse(path, source); }); }) }); @@ -39,9 +43,9 @@ impl TheBencher for OxcBencher { const ID: &'static str = "oxc"; - fn parse(source: &str) -> Self::ParseOutput { + fn parse(path: &Path, source: &str) -> Self::ParseOutput { let allocator = oxc::allocator::Allocator::default(); - let source_type = oxc::span::SourceType::default(); + let source_type = oxc::span::SourceType::from_path(path).unwrap(); _ = oxc::parser::Parser::new(&allocator, source, source_type).parse(); allocator } @@ -54,10 +58,18 @@ impl TheBencher for SwcBencher { const ID: &'static str = "swc"; - fn parse(source: &str) -> Self::ParseOutput { - use swc_ecma_parser::{Parser, StringInput, Syntax}; + fn parse(path: &Path, source: &str) -> Self::ParseOutput { + use swc_ecma_parser::{EsConfig, Parser, StringInput, Syntax, TsConfig}; + let syntax = match path.extension().unwrap().to_str().unwrap() { + "js" => Syntax::Es(EsConfig::default()), + "tsx" => Syntax::Typescript(TsConfig { + tsx: true, + ..TsConfig::default() + }), + _ => panic!("need to define syntax for swc"), + }; Parser::new( - Syntax::Es(Default::default()), + syntax, StringInput::new(source, Default::default(), Default::default()), None, ) @@ -68,24 +80,28 @@ impl TheBencher for SwcBencher { struct BiomeBencher; impl TheBencher for BiomeBencher { - type ParseOutput = biome_js_parser::Parse; + type ParseOutput = biome_js_parser::Parse; const ID: &'static str = "biome"; - fn parse(source: &str) -> Self::ParseOutput { - biome_js_parser::parse_module(source, biome_js_parser::JsParserOptions::default()) + fn parse(path: &Path, source: &str) -> Self::ParseOutput { + let options = biome_js_parser::JsParserOptions::default(); + let source_type = biome_js_syntax::JsFileSource::try_from(path).unwrap(); + biome_js_parser::parse(source, source_type, options) } } fn parser_benchmark(c: &mut Criterion) { - let filename = "typescript.js"; - let source = std::fs::read_to_string(filename).unwrap(); - - let mut g = c.benchmark_group(filename); - OxcBencher::bench(&mut g, &source); - SwcBencher::bench(&mut g, &source); - BiomeBencher::bench(&mut g, &source); - g.finish(); + let filenames = ["typescript.js", "cal.com.tsx"]; + for filename in filenames { + let path = Path::new("files").join(filename); + let source = std::fs::read_to_string(&path).unwrap(); + let mut g = c.benchmark_group(filename); + OxcBencher::bench(&mut g, &path, &source); + SwcBencher::bench(&mut g, &path, &source); + BiomeBencher::bench(&mut g, &path, &source); + g.finish(); + } } criterion_group!(parser, parser_benchmark); diff --git a/files/cal.com.tsx b/files/cal.com.tsx new file mode 100644 index 0000000..7112f68 --- /dev/null +++ b/files/cal.com.tsx @@ -0,0 +1,30591 @@ +// adds tooltip context to all stories +import { TooltipProvider } from "@radix-ui/react-tooltip"; +import type { Preview } from "@storybook/react"; +import React from "react"; +import { I18nextProvider } from "react-i18next"; + +import type { EmbedThemeConfig } from "@calcom/embed-core/src/types"; +// adds trpc context to all stories (esp. booker) +import { StorybookTrpcProvider } from "@calcom/ui"; + +import "../styles/globals.css"; +import "../styles/storybook-styles.css"; +import i18n from "./i18next"; + +const preview: Preview = { + parameters: { + actions: { argTypesRegex: "^on[A-Z].*" }, + + controls: { + matchers: { + color: /(background|color)$/i, + date: /Date$/, + }, + }, + + globals: { + locale: "en", + locales: { + en: "English", + fr: "Français", + }, + }, + + i18n, + + nextjs: { + appDirectory: true, + }, + }, + + decorators: [ + (Story) => ( + + + +
+ +
+ + + + ), + ], +}; + +export default preview; + +declare global { + interface Window { + getEmbedNamespace: () => string | null; + getEmbedTheme: () => EmbedThemeConfig | null; + } +} + +window.getEmbedNamespace = () => { + const url = new URL(document.URL); + const namespace = url.searchParams.get("embed"); + return namespace; +}; + +window.getEmbedTheme = () => { + return "auto"; +}; +export const Title = ({ + title, + suffix, + subtitle, + offset, +}: { + title: string; + suffix?: string; + subtitle?: string; + offset?: boolean; +}) => { + return ( +
+

+ {title} + {suffix && {suffix}} +

+ {subtitle &&

{subtitle}

} +
+ ); +}; +export const Note = ({ children }: { children: React.ReactNode }) => ( +
+
{children}
+
+); +import { classNames } from "@calcom/lib"; + +interface ExampleProps { + children: React.ReactNode; + title: string; + isFullWidth?: boolean; +} +export const Example = ({ children, title, isFullWidth = false }: ExampleProps) => { + return ( +
+ {title} +
{children}
+
+ ); +}; + +interface ExamplesProps { + children: React.ReactNode; + title: string; + footnote?: React.ReactNode; + dark?: boolean; +} + +export const Examples = ({ children, title, footnote = null, dark }: ExamplesProps) => { + return ( +
+

{title}

+
{children}
+ {!!footnote &&
{footnote}
} +
+ ); +}; +import { ArgsTable } from "@storybook/addon-docs"; +import type { SortType } from "@storybook/blocks"; +import type { PropDescriptor } from "@storybook/preview-api"; + +// eslint-disable-next-line @typescript-eslint/no-explicit-any -- ignore storybook addon types component as any so we have to do +type Component = any; +type BaseProps = { + include?: PropDescriptor; + exclude?: PropDescriptor; + sort?: SortType; +}; + +type OfProps = BaseProps & { + of: "." | "^" | Component; +}; + +export function CustomArgsTable({ of, sort }: OfProps) { + return ( +
+ +
+ ); +} +import type { ReactElement, ReactNode } from "react"; +import React from "react"; + +import { classNames } from "@calcom/lib"; + +export function VariantsTable({ + children, + titles, + isDark, + columnMinWidth = 150, +}: { + children: ReactElement | ReactElement[]; + titles: string[]; + isDark?: boolean; + // Mainly useful on mobile, so components don't get squeesed + columnMinWidth?: number; +}) { + const columns = React.Children.toArray(children) as ReactElement[]; + return ( +
+
+ + + {columns.map((column) => ( + + + {React.Children.count(column.props.children) && + React.Children.map(column.props.children, (cell) => ( + + ))} + + ))} +
+ {column.props.variant} + + {cell} +
+
+ {!isDark && ( +
+ + {children} + +
+ )} +
+ ); +} + +interface RowProps { + variant: string; + children: ReactNode; +} + +/** + * There are two reasons we have this "empty" wrapper component: + * 1. In order to have an isolate group per variant, which we iterate through in the table component. + * 2. To have a way to pass the variant. + */ +export function VariantRow({ children }: RowProps) { + return <>{children}; +} + +export function RowTitles({ titles }: { titles: string[] }) { + return ( + + + {titles.map((title) => ( + + {title} + + ))} + + ); +} +import dynamic from "next/dynamic"; +import type { SwaggerUI } from "swagger-ui-react"; + +import { SnippedGenerator, requestSnippets } from "@lib/snippets"; + +const SwaggerUIDynamic: SwaggerUI & { url: string } = dynamic(() => import("swagger-ui-react"), { + ssr: false, +}); + +export default function APIDocs() { + return ( + + ); +} +import "highlight.js/styles/default.css"; +import "swagger-ui-react/swagger-ui.css"; + +import "../styles/globals.css"; + +function MyApp({ Component, pageProps }) { + return ; +} + +export default MyApp; +import { type TFunction } from "i18next"; +import i18next from "i18next"; +import { serverSideTranslations } from "next-i18next/serverSideTranslations"; +import { headers } from "next/headers"; + +import { constructGenericImage } from "@calcom/lib/OgImages"; +import { IS_CALCOM, WEBAPP_URL, APP_NAME, SEO_IMG_OGIMG } from "@calcom/lib/constants"; +//@ts-expect-error no type definitions +import config from "@calcom/web/next-i18next.config"; + +import { preparePageMetadata } from "@lib/metadata"; + +const create = async (locale: string, ns: string) => { + const { _nextI18Next } = await serverSideTranslations(locale, [ns], config); + + const _i18n = i18next.createInstance(); + _i18n.init({ + lng: locale, + resources: _nextI18Next?.initialI18nStore, + fallbackLng: _nextI18Next?.userConfig?.i18n.defaultLocale, + }); + return _i18n; +}; + +const getFixedT = async (locale: string, ns: string) => { + const i18n = await create(locale, ns); + + return i18n.getFixedT(locale, ns); +}; + +export const _generateMetadata = async ( + getTitle: (t: TFunction) => string, + getDescription: (t: TFunction) => string +) => { + const h = headers(); + const canonical = h.get("x-pathname") ?? ""; + const locale = h.get("x-locale") ?? "en"; + + const t = await getFixedT(locale, "common"); + + const title = getTitle(t); + const description = getDescription(t); + + const metadataBase = new URL(IS_CALCOM ? "https://cal.com/" : WEBAPP_URL); + + const image = + SEO_IMG_OGIMG + + constructGenericImage({ + title, + description, + }); + + return preparePageMetadata({ + title, + canonical, + image, + description, + siteName: APP_NAME, + metadataBase, + }); +}; +import type { GetStaticProps, GetStaticPropsContext } from "next"; +import { notFound, redirect } from "next/navigation"; + +export const withAppDirSsg = + >(getStaticProps: GetStaticProps) => + async (context: GetStaticPropsContext) => { + const ssgResponse = await getStaticProps(context); + + if ("redirect" in ssgResponse) { + redirect(ssgResponse.redirect.destination); + } + + if ("notFound" in ssgResponse) { + notFound(); + } + + const props = await Promise.resolve(ssgResponse.props); + + return { + ...ssgResponse.props, + // includes dehydratedState required for future page trpcPropvider + ...("trpcState" in props && { dehydratedState: props.trpcState }), + }; + }; +import type { GetServerSideProps, GetServerSidePropsContext } from "next"; +import { notFound, redirect } from "next/navigation"; + +export const withAppDirSsr = + >(getServerSideProps: GetServerSideProps) => + async (context: GetServerSidePropsContext) => { + const ssrResponse = await getServerSideProps(context); + + if ("redirect" in ssrResponse) { + redirect(ssrResponse.redirect.destination); + } + if ("notFound" in ssrResponse) { + notFound(); + } + + const props = await Promise.resolve(ssrResponse.props); + + return { + ...props, + // includes dehydratedState required for future page trpcPropvider + ...("trpcState" in props && { dehydratedState: props.trpcState }), + }; + }; +import { type DehydratedState, QueryClient, QueryClientProvider } from "@tanstack/react-query"; +import { HydrateClient } from "app/_trpc/HydrateClient"; +import { trpc } from "app/_trpc/client"; +import { useState } from "react"; +import superjson from "superjson"; + +import { httpBatchLink, httpLink, loggerLink, splitLink } from "@calcom/trpc/client"; +import { ENDPOINTS } from "@calcom/trpc/react/shared"; + +export type Endpoint = (typeof ENDPOINTS)[number]; + +// eslint-disable-next-line @typescript-eslint/no-explicit-any +const resolveEndpoint = (links: any) => { + // TODO: Update our trpc routes so they are more clear. + // This function parses paths like the following and maps them + // to the correct API endpoints. + // - viewer.me - 2 segment paths like this are for logged in requests + // - viewer.public.i18n - 3 segments paths can be public or authed + // eslint-disable-next-line @typescript-eslint/no-explicit-any + return (ctx: any) => { + const parts = ctx.op.path.split("."); + let endpoint; + let path = ""; + if (parts.length == 2) { + endpoint = parts[0] as keyof typeof links; + path = parts[1]; + } else { + endpoint = parts[1] as keyof typeof links; + path = parts.splice(2, parts.length - 2).join("."); + } + return links[endpoint]({ ...ctx, op: { ...ctx.op, path } }); + }; +}; + +export const TrpcProvider: React.FC<{ children: React.ReactNode; dehydratedState?: DehydratedState }> = ({ + children, + dehydratedState, +}) => { + const [queryClient] = useState( + () => + new QueryClient({ + defaultOptions: { queries: { staleTime: 5000 } }, + }) + ); + const url = + typeof window !== "undefined" + ? "/api/trpc" + : process.env.VERCEL_URL + ? `https://${process.env.VERCEL_URL}/api/trpc` + : `${process.env.NEXT_PUBLIC_WEBAPP_URL}/api/trpc`; + + const [trpcClient] = useState(() => + trpc.createClient({ + links: [ + // adds pretty logs to your console in development and logs errors in production + loggerLink({ + enabled: (opts) => + !!process.env.NEXT_PUBLIC_DEBUG || (opts.direction === "down" && opts.result instanceof Error), + }), + splitLink({ + // check for context property `skipBatch` + condition: (op) => !!op.context.skipBatch, + // when condition is true, use normal request + true: (runtime) => { + const links = Object.fromEntries( + ENDPOINTS.map((endpoint) => [ + endpoint, + httpLink({ + url: `${url}/${endpoint}`, + })(runtime), + ]) + ); + return resolveEndpoint(links); + }, + // when condition is false, use batch request + false: (runtime) => { + const links = Object.fromEntries( + ENDPOINTS.map((endpoint) => [ + endpoint, + httpBatchLink({ + url: `${url}/${endpoint}`, + })(runtime), + ]) + ); + return resolveEndpoint(links); + }, + }), + ], + transformer: superjson, + }) + ); + + return ( + + + {dehydratedState ? {children} : children} + + + ); +}; +"use client"; + +import { createHydrateClient } from "app/_trpc/createHydrateClient"; +import superjson from "superjson"; + +export const HydrateClient = createHydrateClient({ + transformer: superjson, +}); +"use client"; + +import { type DehydratedState, HydrationBoundary } from "@tanstack/react-query"; +import { useMemo } from "react"; + +type DataTransformer = { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + serialize: (data: any) => any; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + deserialize: (data: any) => any; +}; + +export function createHydrateClient(opts: { transformer: DataTransformer }) { + return function HydrateClient(props: { children: React.ReactNode; state: DehydratedState }) { + const { state, children } = props; + + const transformedState: DehydratedState = useMemo(() => { + if (opts.transformer) { + return opts.transformer.deserialize(state); + } + return state; + }, [state]); + + return {children}; + }; +} +import type { LayoutProps, PageProps } from "app/_types"; +import { type GetServerSidePropsContext } from "next"; +import { cookies, headers } from "next/headers"; + +import { buildLegacyCtx } from "@lib/buildLegacyCtx"; + +import PageWrapper from "@components/PageWrapperAppDir"; + +type WithLayoutParams> = { + getLayout: ((page: React.ReactElement) => React.ReactNode) | null; + Page?: (props: T) => React.ReactElement | null; + getData?: (arg: GetServerSidePropsContext) => Promise; + isBookingPage?: boolean; +}; + +export function WithLayout>({ + getLayout, + getData, + Page, + isBookingPage, +}: WithLayoutParams) { + return async

(p: P extends "P" ? PageProps : LayoutProps) => { + const h = headers(); + const nonce = h.get("x-nonce") ?? undefined; + let props = {} as T; + + if ("searchParams" in p && getData) { + props = (await getData(buildLegacyCtx(h, cookies(), p.params, p.searchParams))) ?? ({} as T); + } + + const children = "children" in p ? p.children : null; + + return ( + + {Page ? : children} + + ); + }; +} +import { dir } from "i18next"; +import { Inter } from "next/font/google"; +import localFont from "next/font/local"; +import { headers, cookies } from "next/headers"; +import Script from "next/script"; +import React from "react"; + +import { getLocale } from "@calcom/features/auth/lib/getLocale"; +import { IS_PRODUCTION } from "@calcom/lib/constants"; + +import { prepareRootMetadata } from "@lib/metadata"; + +import "../styles/globals.css"; + +const interFont = Inter({ subsets: ["latin"], variable: "--font-inter", preload: true, display: "swap" }); +const calFont = localFont({ + src: "../fonts/CalSans-SemiBold.woff2", + variable: "--font-cal", + preload: true, + display: "block", +}); + +export const generateMetadata = () => + prepareRootMetadata({ + twitterCreator: "@calcom", + twitterSite: "@calcom", + robots: { + index: false, + follow: false, + }, + }); + +const getInitialProps = async (url: string) => { + const { pathname, searchParams } = new URL(url); + + const isEmbed = pathname.endsWith("/embed") || (searchParams?.get("embedType") ?? null) !== null; + const embedColorScheme = searchParams?.get("ui.color-scheme"); + + const req = { headers: headers(), cookies: cookies() }; + const newLocale = await getLocale(req); + const direction = dir(newLocale); + + return { isEmbed, embedColorScheme, locale: newLocale, direction }; +}; + +const getFallbackProps = () => ({ + locale: "en", + direction: "ltr", + isEmbed: false, + embedColorScheme: false, +}); + +export default async function RootLayout({ children }: { children: React.ReactNode }) { + const h = headers(); + + const fullUrl = h.get("x-url") ?? ""; + const nonce = h.get("x-csp") ?? ""; + + const isSSG = !fullUrl; + + const { locale, direction, isEmbed, embedColorScheme } = isSSG + ? getFallbackProps() + : await getInitialProps(fullUrl); + + return ( + + + {!IS_PRODUCTION && process.env.VERCEL_ENV === "preview" && ( + // eslint-disable-next-line @next/next/no-sync-scripts +