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 @@
-
-
-
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 @@
-
-
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 @@
+
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 @@
-
+
+
+
+
+ );
+}
+
+export { EventTypeSingleLayout };
+import type { EventTypeSetup, FormValues } from "pages/event-types/[type]";
+import { useState, memo, useEffect } from "react";
+import { Controller, useFormContext } from "react-hook-form";
+import type { OptionProps, SingleValueProps } from "react-select";
+import { components } from "react-select";
+
+import dayjs from "@calcom/dayjs";
+import useLockedFieldsManager from "@calcom/features/ee/managed-event-types/hooks/useLockedFieldsManager";
+import classNames from "@calcom/lib/classNames";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { weekdayNames } from "@calcom/lib/weekday";
+import { SchedulingType } from "@calcom/prisma/enums";
+import { trpc } from "@calcom/trpc/react";
+import useMeQuery from "@calcom/trpc/react/hooks/useMeQuery";
+import { Badge, Button, Select, SettingsToggle, SkeletonText } from "@calcom/ui";
+import { ExternalLink, Globe } from "@calcom/ui/components/icon";
+
+import { SelectSkeletonLoader } from "@components/availability/SkeletonLoader";
+
+export type AvailabilityOption = {
+ label: string;
+ value: number;
+ isDefault: boolean;
+ isManaged?: boolean;
+};
+
+const Option = ({ ...props }: OptionProps) => {
+ const { label, isDefault, isManaged = false } = props.data;
+ const { t } = useLocale();
+ return (
+
+ {label}
+ {isDefault && (
+
+ {t("default")}
+
+ )}
+ {isManaged && (
+
+ {t("managed")}
+
+ )}
+
+ );
+};
+
+const SingleValue = ({ ...props }: SingleValueProps) => {
+ const { label, isDefault, isManaged = false } = props.data;
+ const { t } = useLocale();
+ return (
+
+ {label}
+ {isDefault && (
+
+ {t("default")}
+
+ )}
+ {isManaged && (
+
+ {t("managed")}
+
+ )}
+
+ );
+};
+
+const format = (date: Date, hour12: boolean) =>
+ Intl.DateTimeFormat(undefined, {
+ hour: "numeric",
+ minute: "numeric",
+ hourCycle: hour12 ? "h12" : "h24",
+ }).format(new Date(dayjs.utc(date).format("YYYY-MM-DDTHH:mm:ss")));
+
+const EventTypeScheduleDetails = memo(
+ ({
+ isManagedEventType,
+ selectedScheduleValue,
+ }: {
+ isManagedEventType: boolean;
+ selectedScheduleValue: AvailabilityOption | undefined;
+ }) => {
+ const { data: loggedInUser } = useMeQuery();
+ const timeFormat = loggedInUser?.timeFormat;
+ const { t, i18n } = useLocale();
+ const { watch } = useFormContext();
+
+ const scheduleId = watch("schedule");
+ const { isPending, data: schedule } = trpc.viewer.availability.schedule.get.useQuery(
+ {
+ scheduleId:
+ scheduleId || loggedInUser?.defaultScheduleId || selectedScheduleValue?.value || undefined,
+ isManagedEventType,
+ },
+ { enabled: !!scheduleId || !!loggedInUser?.defaultScheduleId || !!selectedScheduleValue }
+ );
+
+ const filterDays = (dayNum: number) =>
+ schedule?.schedule.filter((item) => item.days.includes((dayNum + 1) % 7)) || [];
+
+ return (
+
+
+
+ {weekdayNames(i18n.language, 1, "long").map((day, index) => {
+ const isAvailable = !!filterDays(index).length;
+ return (
+ -
+
+ {day}
+
+ {isPending ? (
+
+ ) : isAvailable ? (
+
+ {filterDays(index).map((dayRange, i) => (
+
+
+ {format(dayRange.startTime, timeFormat === 12)}
+
+
-
+
{format(dayRange.endTime, timeFormat === 12)}
+
+ ))}
+
+ ) : (
+ {t("unavailable")}
+ )}
+
+ );
+ })}
+
+
+
+
+
+ {schedule?.timeZone || }
+
+ {!!schedule?.id && !schedule.isManaged && !schedule.readOnly && (
+
+ )}
+
+
+ );
+ }
+);
+
+EventTypeScheduleDetails.displayName = "EventTypeScheduleDetails";
+
+const EventTypeSchedule = ({ eventType }: { eventType: EventTypeSetup }) => {
+ const { t } = useLocale();
+ const { shouldLockIndicator, isManagedEventType, isChildrenManagedEventType } = useLockedFieldsManager(
+ eventType,
+ t("locked_fields_admin_description"),
+ t("locked_fields_member_description")
+ );
+ const { watch, setValue, getValues } = useFormContext();
+ const watchSchedule = watch("schedule");
+ const [options, setOptions] = useState([]);
+
+ const { data, isPending } = trpc.viewer.availability.list.useQuery(undefined);
+
+ useEffect(
+ function refactorMeWithoutEffect() {
+ if (!data) {
+ return;
+ }
+ const schedules = data.schedules;
+
+ const options = schedules.map((schedule) => ({
+ value: schedule.id,
+ label: schedule.name,
+ isDefault: schedule.isDefault,
+ isManaged: false,
+ }));
+
+ // We are showing a managed event for a team admin, so adding the option to let members choose their schedule
+ if (isManagedEventType) {
+ options.push({
+ value: 0,
+ label: t("members_default_schedule"),
+ isDefault: false,
+ isManaged: false,
+ });
+ }
+
+ // We are showing a managed event for a member and team owner selected their own schedule, so adding
+ // the managed schedule option
+ if (
+ isChildrenManagedEventType &&
+ watchSchedule &&
+ !schedules.find((schedule) => schedule.id === watchSchedule)
+ ) {
+ options.push({
+ value: watchSchedule,
+ label: eventType.scheduleName ?? t("default_schedule_name"),
+ isDefault: false,
+ isManaged: false,
+ });
+ }
+ // We push the selected schedule from the event type if it's not part of the list response. This happens if the user is an admin but not the schedule owner.
+ else if (eventType.schedule && !schedules.find((schedule) => schedule.id === eventType.schedule)) {
+ options.push({
+ value: eventType.schedule,
+ label: eventType.scheduleName ?? t("default_schedule_name"),
+ isDefault: false,
+ isManaged: false,
+ });
+ }
+
+ setOptions(options);
+
+ const scheduleId = getValues("schedule");
+ const value = options.find((option) =>
+ scheduleId
+ ? option.value === scheduleId
+ : isManagedEventType
+ ? option.value === 0
+ : option.value === schedules.find((schedule) => schedule.isDefault)?.id
+ );
+
+ setValue("availability", value);
+ },
+ [data]
+ );
+ const availabilityValue = watch("availability");
+
+ useEffect(() => {
+ if (!availabilityValue?.value) return;
+ setValue("schedule", availabilityValue.value);
+ }, [availabilityValue, setValue]);
+
+ return (
+
+
+
+ {isPending && }
+ {!isPending && (
+ {
+ return (
+
+ {availabilityValue?.value !== 0 ? (
+
+ ) : (
+ isManagedEventType && (
+
{t("members_default_schedule_description")}
+ )
+ )}
+
+ );
+};
+
+const UseCommonScheduleSettingsToggle = ({ eventType }: { eventType: EventTypeSetup }) => {
+ const { t } = useLocale();
+ const { setValue } = useFormContext();
+ return (
+ (
+ {
+ onChange(!checked);
+ if (!checked) {
+ setValue("schedule", null);
+ }
+ }}
+ title={t("choose_common_schedule_team_event")}
+ description={t("choose_common_schedule_team_event_description")}>
+
+
+ )}
+ />
+ );
+};
+
+export const EventAvailabilityTab = ({
+ eventType,
+ isTeamEvent,
+}: {
+ eventType: EventTypeSetup;
+ isTeamEvent: boolean;
+}) => {
+ return isTeamEvent && eventType.schedulingType !== SchedulingType.MANAGED ? (
+
+ ) : (
+
+ );
+};
+import { Trans } from "next-i18next";
+import Link from "next/link";
+import type { EventTypeSetupProps, FormValues } from "pages/event-types/[type]";
+import { useEffect, useRef, useState } from "react";
+import type { ComponentProps, Dispatch, SetStateAction } from "react";
+import { Controller, useFormContext, useWatch } from "react-hook-form";
+import type { Options } from "react-select";
+
+import type { CheckedSelectOption } from "@calcom/features/eventtypes/components/CheckedTeamSelect";
+import CheckedTeamSelect from "@calcom/features/eventtypes/components/CheckedTeamSelect";
+import ChildrenEventTypeSelect from "@calcom/features/eventtypes/components/ChildrenEventTypeSelect";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { SchedulingType } from "@calcom/prisma/enums";
+import { Label, Select, SettingsToggle } from "@calcom/ui";
+
+interface IUserToValue {
+ id: number | null;
+ name: string | null;
+ username: string | null;
+ avatar: string;
+ email: string;
+}
+
+const mapUserToValue = ({ id, name, username, avatar, email }: IUserToValue, pendingString: string) => ({
+ value: `${id || ""}`,
+ label: `${name || email || ""}${!username ? ` (${pendingString})` : ""}`,
+ avatar,
+ email,
+});
+
+export const mapMemberToChildrenOption = (
+ member: EventTypeSetupProps["teamMembers"][number],
+ slug: string,
+ pendingString: string
+) => {
+ return {
+ slug,
+ hidden: false,
+ created: false,
+ owner: {
+ id: member.id,
+ name: member.name ?? "",
+ email: member.email,
+ username: member.username ?? "",
+ membership: member.membership,
+ eventTypeSlugs: member.eventTypes ?? [],
+ avatar: member.avatar,
+ },
+ value: `${member.id ?? ""}`,
+ label: `${member.name || member.email || ""}${!member.username ? ` (${pendingString})` : ""}`,
+ };
+};
+
+const sortByLabel = (a: ReturnType, b: ReturnType) => {
+ if (a.label < b.label) {
+ return -1;
+ }
+ if (a.label > b.label) {
+ return 1;
+ }
+ return 0;
+};
+
+const ChildrenEventTypesList = ({
+ options = [],
+ value,
+ onChange,
+ ...rest
+}: {
+ value: ReturnType[];
+ onChange?: (options: ReturnType[]) => void;
+ options?: Options>;
+} & Omit>, "onChange" | "value">) => {
+ const { t } = useLocale();
+ return (
+
+
+
+ {
+ onChange &&
+ onChange(
+ options.map((option) => ({
+ ...option,
+ }))
+ );
+ }}
+ value={value}
+ options={options.filter((opt) => !value.find((val) => val.owner.id.toString() === opt.value))}
+ controlShouldRenderValue={false}
+ {...rest}
+ />
+
+
+ );
+};
+
+const AssignAllTeamMembers = ({
+ assignAllTeamMembers,
+ setAssignAllTeamMembers,
+ onActive,
+ onInactive,
+}: {
+ assignAllTeamMembers: boolean;
+ setAssignAllTeamMembers: Dispatch>;
+ onActive: () => void;
+ onInactive?: () => void;
+}) => {
+ const { t } = useLocale();
+ const formMethods = useFormContext();
+
+ return (
+
+ name="assignAllTeamMembers"
+ render={() => (
+ {
+ formMethods.setValue("assignAllTeamMembers", active);
+ setAssignAllTeamMembers(active);
+ if (active) {
+ onActive();
+ } else if (!!onInactive) {
+ onInactive();
+ }
+ }}
+ toggleSwitchAtTheEnd
+ />
+ )}
+ />
+ );
+};
+
+const CheckedHostField = ({
+ labelText,
+ placeholder,
+ options = [],
+ isFixed,
+ value,
+ onChange,
+ helperText,
+ ...rest
+}: {
+ labelText?: string;
+ placeholder: string;
+ isFixed: boolean;
+ value: { isFixed: boolean; userId: number }[];
+ onChange?: (options: { isFixed: boolean; userId: number }[]) => void;
+ options?: Options;
+ helperText?: React.ReactNode | string;
+} & Omit>, "onChange" | "value">) => {
+ return (
+
+
+ {labelText ?
: <>>}
+
!!value.find((host) => host.userId.toString() === option.value)}
+ onChange={(options) => {
+ onChange &&
+ onChange(
+ options.map((option) => ({
+ isFixed,
+ userId: parseInt(option.value, 10),
+ }))
+ );
+ }}
+ value={(value || [])
+ .filter(({ isFixed: _isFixed }) => isFixed === _isFixed)
+ .map(
+ (host) =>
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
+ options.find((member) => member.value === host.userId.toString())!
+ )
+ .filter(Boolean)}
+ controlShouldRenderValue={false}
+ options={options}
+ placeholder={placeholder}
+ {...rest}
+ />
+ {helperText && {helperText}
}
+
+
+ );
+};
+
+const FixedHostHelper = (
+
+ Add anyone who needs to attend the event.
+
+ Learn more
+
+
+);
+
+const RoundRobinHosts = ({
+ teamMembers,
+ value,
+ onChange,
+ assignAllTeamMembers,
+ setAssignAllTeamMembers,
+}: {
+ value: { isFixed: boolean; userId: number }[];
+ onChange: (hosts: { isFixed: boolean; userId: number }[]) => void;
+ teamMembers: {
+ value: string;
+ label: string;
+ avatar: string;
+ email: string;
+ }[];
+ assignAllTeamMembers: boolean;
+ setAssignAllTeamMembers: Dispatch>;
+}) => {
+ const { t } = useLocale();
+ const formMethods = useFormContext();
+
+ return (
+
+
+
{
+ onChange([...value.filter(({ isFixed }) => !isFixed), ...changeValue]);
+ }}
+ value={value}
+ placeholder={t("add_fixed_hosts")}
+ labelText={t("fixed_hosts")}
+ helperText={FixedHostHelper}
+ />
+
+
+
+
+
+ formMethods.setValue(
+ "hosts",
+ teamMembers.map((teamMember) => ({
+ isFixed: false,
+ userId: parseInt(teamMember.value, 10),
+ }))
+ )
+ }
+ onInactive={() => formMethods.setValue("hosts", [])}
+ />
+
+ {assignAllTeamMembers ? (
+
+ ) : (
+
+ onChange([...value.filter(({ isFixed }) => isFixed), ...changeValue])
+ }
+ value={value}
+ isFixed={false}
+ placeholder={t("add_attendees")}
+ helperText={t("round_robin_helper")}
+ />
+ )}
+
+
+
+ );
+};
+
+const ChildrenEventTypes = ({
+ childrenEventTypeOptions,
+ assignAllTeamMembers,
+ setAssignAllTeamMembers,
+}: {
+ childrenEventTypeOptions: ReturnType[];
+ assignAllTeamMembers: boolean;
+ setAssignAllTeamMembers: Dispatch>;
+}) => {
+ const formMethods = useFormContext();
+ return (
+
+
+
formMethods.setValue("children", childrenEventTypeOptions)}
+ />
+ {!assignAllTeamMembers ? (
+
+ name="children"
+ render={({ field: { onChange, value } }) => (
+
+ )}
+ />
+ ) : (
+ <>>
+ )}
+
+
+ );
+};
+
+const Hosts = ({
+ teamMembers,
+ assignAllTeamMembers,
+ setAssignAllTeamMembers,
+}: {
+ teamMembers: {
+ value: string;
+ label: string;
+ avatar: string;
+ email: string;
+ }[];
+ assignAllTeamMembers: boolean;
+ setAssignAllTeamMembers: Dispatch>;
+}) => {
+ const { t } = useLocale();
+ const {
+ control,
+ resetField,
+ getValues,
+ formState: { submitCount },
+ } = useFormContext();
+ const schedulingType = useWatch({
+ control,
+ name: "schedulingType",
+ });
+ const initialValue = useRef<{
+ hosts: FormValues["hosts"];
+ schedulingType: SchedulingType | null;
+ submitCount: number;
+ } | null>(null);
+
+ useEffect(() => {
+ // Handles init & out of date initial value after submission.
+ if (!initialValue.current || initialValue.current?.submitCount !== submitCount) {
+ initialValue.current = { hosts: getValues("hosts"), schedulingType, submitCount };
+ return;
+ }
+ resetField("hosts", {
+ defaultValue: initialValue.current.schedulingType === schedulingType ? initialValue.current.hosts : [],
+ });
+ }, [schedulingType, resetField, getValues, submitCount]);
+
+ const formMethods = useFormContext();
+ return (
+
+ name="hosts"
+ render={({ field: { onChange, value } }) => {
+ const schedulingTypeRender = {
+ COLLECTIVE: (
+
+
+
+ formMethods.setValue(
+ "hosts",
+ teamMembers.map((teamMember) => ({
+ isFixed: true,
+ userId: parseInt(teamMember.value, 10),
+ }))
+ )
+ }
+ onInactive={() => formMethods.setValue("hosts", [])}
+ />
+ {assignAllTeamMembers ? (
+ <>>
+ ) : (
+
+ )}
+
+
+ ),
+ ROUND_ROBIN: (
+ <>
+
+ {/*{t("hosts")}>}
+ />*/}
+ >
+ ),
+ MANAGED: <>>,
+ };
+ return !!schedulingType ? schedulingTypeRender[schedulingType] : <>>;
+ }}
+ />
+ );
+};
+
+export const EventTeamTab = ({
+ team,
+ teamMembers,
+ eventType,
+}: Pick) => {
+ const { t } = useLocale();
+
+ const schedulingTypeOptions: {
+ value: SchedulingType;
+ label: string;
+ // description: string;
+ }[] = [
+ {
+ value: "COLLECTIVE",
+ label: t("collective"),
+ // description: t("collective_description"),
+ },
+ {
+ value: "ROUND_ROBIN",
+ label: t("round_robin"),
+ // description: t("round_robin_description"),
+ },
+ ];
+ const pendingMembers = (member: (typeof teamMembers)[number]) =>
+ !!eventType.team?.parentId || !!member.username;
+ const teamMembersOptions = teamMembers
+ .filter(pendingMembers)
+ .map((member) => mapUserToValue(member, t("pending")));
+ const childrenEventTypeOptions = teamMembers.filter(pendingMembers).map((member) => {
+ return mapMemberToChildrenOption(
+ { ...member, eventTypes: member.eventTypes.filter((et) => et !== eventType.slug) },
+ eventType.slug,
+ t("pending")
+ );
+ });
+ const isManagedEventType = eventType.schedulingType === SchedulingType.MANAGED;
+ const formMethods = useFormContext();
+ const [assignAllTeamMembers, setAssignAllTeamMembers] = useState(
+ formMethods.getValues("assignAllTeamMembers") ?? false
+ );
+
+ return (
+
+ {team && !isManagedEventType && (
+
+
+
+
+ name="schedulingType"
+ render={({ field: { value, onChange } }) => (
+
+
+
+ )}
+ {team && isManagedEventType && (
+
+ )}
+
+ );
+};
+import { useAutoAnimate } from "@formkit/auto-animate/react";
+import { ErrorMessage } from "@hookform/error-message";
+import { Trans } from "next-i18next";
+import Link from "next/link";
+import type { EventTypeSetupProps, FormValues } from "pages/event-types/[type]";
+import { useEffect, useState } from "react";
+import { Controller, useFormContext, useFieldArray } from "react-hook-form";
+import type { MultiValue } from "react-select";
+
+import type { EventLocationType } from "@calcom/app-store/locations";
+import { getEventLocationType, MeetLocationType } from "@calcom/app-store/locations";
+import useLockedFieldsManager from "@calcom/features/ee/managed-event-types/hooks/useLockedFieldsManager";
+import { useOrgBranding } from "@calcom/features/ee/organizations/context/provider";
+import { CAL_URL } from "@calcom/lib/constants";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { md } from "@calcom/lib/markdownIt";
+import { slugify } from "@calcom/lib/slugify";
+import turndown from "@calcom/lib/turndownService";
+import {
+ Label,
+ Select,
+ SettingsToggle,
+ Skeleton,
+ TextField,
+ Editor,
+ SkeletonContainer,
+ SkeletonText,
+ Input,
+ PhoneInput,
+ Button,
+ showToast,
+} from "@calcom/ui";
+import { Plus, X, Check, CornerDownRight } from "@calcom/ui/components/icon";
+
+import CheckboxField from "@components/ui/form/CheckboxField";
+import type { SingleValueLocationOption } from "@components/ui/form/LocationSelect";
+import LocationSelect from "@components/ui/form/LocationSelect";
+
+const getLocationFromType = (
+ type: EventLocationType["type"],
+ locationOptions: Pick["locationOptions"]
+) => {
+ for (const locationOption of locationOptions) {
+ const option = locationOption.options.find((option) => option.value === type);
+ if (option) {
+ return option;
+ }
+ }
+};
+
+const getLocationInfo = ({
+ eventType,
+ locationOptions,
+}: Pick) => {
+ const locationAvailable =
+ eventType.locations &&
+ eventType.locations.length > 0 &&
+ locationOptions.some((op) => op.options.find((opt) => opt.value === eventType.locations[0].type));
+ const locationDetails = eventType.locations &&
+ eventType.locations.length > 0 &&
+ !locationAvailable && {
+ slug: eventType.locations[0].type.replace("integrations:", "").replace(":", "-").replace("_video", ""),
+ name: eventType.locations[0].type
+ .replace("integrations:", "")
+ .replace(":", " ")
+ .replace("_video", "")
+ .split(" ")
+ .map((word) => word[0].toUpperCase() + word.slice(1))
+ .join(" "),
+ };
+ return { locationAvailable, locationDetails };
+};
+
+const DescriptionEditor = ({ isEditable }: { isEditable: boolean }) => {
+ const formMethods = useFormContext();
+ const [mounted, setIsMounted] = useState(false);
+ const { t } = useLocale();
+ const [firstRender, setFirstRender] = useState(true);
+ useEffect(() => {
+ setIsMounted(true);
+ }, []);
+
+ return mounted ? (
+ md.render(formMethods.getValues("description") || "")}
+ setText={(value: string) => formMethods.setValue("description", turndown(value))}
+ excludedToolbarItems={["blockType"]}
+ placeholder={t("quick_video_meeting")}
+ editable={isEditable}
+ firstRender={firstRender}
+ setFirstRender={setFirstRender}
+ />
+ ) : (
+
+
+
+ );
+};
+
+export const EventSetupTab = (
+ props: Pick<
+ EventTypeSetupProps,
+ "eventType" | "locationOptions" | "team" | "teamMembers" | "destinationCalendar"
+ >
+) => {
+ const { t } = useLocale();
+ const formMethods = useFormContext();
+ const { eventType, team, destinationCalendar } = props;
+ const [multipleDuration, setMultipleDuration] = useState(
+ formMethods.getValues("metadata")?.multipleDuration
+ );
+ const orgBranding = useOrgBranding();
+ const seatsEnabled = formMethods.watch("seatsPerTimeSlotEnabled");
+
+ const locationOptions = props.locationOptions.map((locationOption) => {
+ const options = locationOption.options.filter((option) => {
+ // Skip "Organizer's Default App" for non-team members
+ return !team ? option.label !== t("organizer_default_conferencing_app") : true;
+ });
+
+ return {
+ ...locationOption,
+ options,
+ };
+ });
+
+ const multipleDurationOptions = [
+ 5, 10, 15, 20, 25, 30, 45, 50, 60, 75, 80, 90, 120, 150, 180, 240, 480,
+ ].map((mins) => ({
+ value: mins,
+ label: t("multiple_duration_mins", { count: mins }),
+ }));
+
+ const [selectedMultipleDuration, setSelectedMultipleDuration] = useState<
+ MultiValue<{
+ value: number;
+ label: string;
+ }>
+ >(multipleDurationOptions.filter((mdOpt) => multipleDuration?.includes(mdOpt.value)));
+ const [defaultDuration, setDefaultDuration] = useState(
+ selectedMultipleDuration.find((opt) => opt.value === formMethods.getValues("length")) ?? null
+ );
+
+ const { isChildrenManagedEventType, isManagedEventType, shouldLockIndicator, shouldLockDisableProps } =
+ useLockedFieldsManager(
+ formMethods.getValues(),
+ t("locked_fields_admin_description"),
+ t("locked_fields_member_description")
+ );
+
+ const Locations = () => {
+ const { t } = useLocale();
+ const {
+ fields: locationFields,
+ append,
+ remove,
+ update: updateLocationField,
+ } = useFieldArray({
+ control: formMethods.control,
+ name: "locations",
+ });
+
+ const [animationRef] = useAutoAnimate();
+
+ const validLocations = formMethods.getValues("locations").filter((location) => {
+ const eventLocation = getEventLocationType(location.type);
+ if (!eventLocation) {
+ // It's possible that the location app in use got uninstalled.
+ return false;
+ }
+ return true;
+ });
+
+ const defaultValue = isManagedEventType
+ ? locationOptions.find((op) => op.label === t("default"))?.options[0]
+ : undefined;
+
+ const { locationDetails, locationAvailable } = getLocationInfo(props);
+
+ const LocationInput = (props: {
+ eventLocationType: EventLocationType;
+ defaultValue?: string;
+ index: number;
+ }) => {
+ const { eventLocationType, index, ...remainingProps } = props;
+
+ if (eventLocationType?.organizerInputType === "text") {
+ const { defaultValue, ...rest } = remainingProps;
+
+ return (
+ {
+ return (
+
+ );
+ }}
+ />
+ );
+ } else if (eventLocationType?.organizerInputType === "phone") {
+ const { defaultValue, ...rest } = remainingProps;
+
+ return (
+ {
+ return (
+
+ );
+ }}
+ />
+ );
+ }
+ return null;
+ };
+
+ const [showEmptyLocationSelect, setShowEmptyLocationSelect] = useState(false);
+ const [selectedNewOption, setSelectedNewOption] = useState(null);
+
+ return (
+
+
+ {locationFields.map((field, index) => {
+ const eventLocationType = getEventLocationType(field.type);
+ const defaultLocation = field;
+
+ const option = getLocationFromType(field.type, locationOptions);
+
+ return (
+ -
+
+
{
+ if (e?.value) {
+ const newLocationType = e.value;
+ const eventLocationType = getEventLocationType(newLocationType);
+ if (!eventLocationType) {
+ return;
+ }
+ const canAddLocation =
+ eventLocationType.organizerInputType ||
+ !validLocations.find((location) => location.type === newLocationType);
+
+ if (canAddLocation) {
+ updateLocationField(index, {
+ type: newLocationType,
+ ...(e.credentialId && {
+ credentialId: e.credentialId,
+ teamName: e.teamName,
+ }),
+ });
+ } else {
+ updateLocationField(index, {
+ type: field.type,
+ ...(field.credentialId && {
+ credentialId: field.credentialId,
+ teamName: field.teamName,
+ }),
+ });
+ showToast(t("location_already_exists"), "warning");
+ }
+ }
+ }}
+ />
+
+
+
+ {eventLocationType?.organizerInputType && (
+
+
+
+ {
+ const fieldValues = formMethods.getValues("locations")[index];
+ updateLocationField(index, {
+ ...fieldValues,
+ displayLocationPublicly: e.target.checked,
+ });
+ }}
+ informationIconText={t("display_location_info_badge")}
+ />
+
+
+ )}
+
+ );
+ })}
+ {(validLocations.length === 0 || showEmptyLocationSelect) && (
+
+ {
+ if (e?.value) {
+ const newLocationType = e.value;
+ const eventLocationType = getEventLocationType(newLocationType);
+ if (!eventLocationType) {
+ return;
+ }
+
+ const canAppendLocation =
+ eventLocationType.organizerInputType ||
+ !validLocations.find((location) => location.type === newLocationType);
+
+ if (canAppendLocation) {
+ append({
+ type: newLocationType,
+ ...(e.credentialId && {
+ credentialId: e.credentialId,
+ teamName: e.teamName,
+ }),
+ });
+ setSelectedNewOption(e);
+ } else {
+ showToast(t("location_already_exists"), "warning");
+ setSelectedNewOption(null);
+ }
+ }
+ }}
+ />
+
+ )}
+ {validLocations.some(
+ (location) =>
+ location.type === MeetLocationType && destinationCalendar?.integration !== "google_calendar"
+ ) && (
+
+
+
+
+
+
+ The “Add to calendar” for this event type needs to be a Google Calendar for Meet to work.
+ Change it{" "}
+
+ here.
+ {" "}
+
+
+
+ )}
+ {isChildrenManagedEventType && !locationAvailable && locationDetails && (
+
+ {t("app_not_connected", { appName: locationDetails.name })}{" "}
+
+ {t("connect_now")}
+
+
+ )}
+ {validLocations.length > 0 && !isManagedEventType && !isChildrenManagedEventType && (
+ -
+
+
+ )}
+
+
+
+ Can't find the right video app? Visit our
+
+ App Store
+
+ .
+
+
+
+ );
+ };
+
+ const lengthLockedProps = shouldLockDisableProps("length");
+ const descriptionLockedProps = shouldLockDisableProps("description");
+ const urlPrefix = orgBranding
+ ? orgBranding?.fullDomain.replace(/^(https?:|)\/\//, "")
+ : `${CAL_URL?.replace(/^(https?:|)\/\//, "")}`;
+
+ return (
+
+
+
+
+
+
+
+
+
+ {urlPrefix}/
+ {!isManagedEventType
+ ? team
+ ? (orgBranding ? "" : "team/") + team.slug
+ : formMethods.getValues("users")[0].username
+ : t("username_placeholder")}
+ /
+ >
+ }
+ {...formMethods.register("slug", {
+ setValueAs: (v) => slugify(v),
+ })}
+ />
+
+
+ {multipleDuration ? (
+
+
+
+ {t("available_durations")}
+
+
+
+
+ {t("default_duration")}
+ {shouldLockIndicator("length")}
+
+
+
+ ) : (
+
{t("minutes")}>}
+ min={1}
+ />
+ )}
+ {!lengthLockedProps.disabled && (
+
+ {
+ if (multipleDuration !== undefined) {
+ setMultipleDuration(undefined);
+ setSelectedMultipleDuration([]);
+ setDefaultDuration(null);
+ formMethods.setValue("metadata.multipleDuration", undefined);
+ formMethods.setValue("length", eventType.length);
+ } else {
+ setMultipleDuration([]);
+ formMethods.setValue("metadata.multipleDuration", []);
+ formMethods.setValue("length", 0);
+ }
+ }}
+ />
+
+ )}
+
+
+
+
+
+ {t("location")}
+ {shouldLockIndicator("locations")}
+
+
+ } />
+
+
+
+
+ );
+};
+import React from "react";
+
+import { HttpError } from "@calcom/lib/http-error";
+
+type Props = {
+ statusCode?: number | null;
+ error?: Error | HttpError | null;
+ message?: string;
+ /** Display debugging information */
+ displayDebug?: boolean;
+ children?: never;
+};
+
+const defaultProps = {
+ displayDebug: false,
+};
+
+const ErrorDebugPanel: React.FC<{ error: Props["error"]; children?: never }> = (props) => {
+ const { error: e } = props;
+
+ const debugMap = [
+ ["error.message", e?.message],
+ ["error.name", e?.name],
+ ["error.class", e instanceof Error ? e.constructor.name : undefined],
+ ["http.url", e instanceof HttpError ? e.url : undefined],
+ ["http.status", e instanceof HttpError ? e.statusCode : undefined],
+ ["http.cause", e instanceof HttpError ? e.cause?.message : undefined],
+ ["error.stack", e instanceof Error ? e.stack : undefined],
+ ];
+
+ return (
+
+
+
+ {debugMap.map(([key, value]) => {
+ if (value !== undefined) {
+ return (
+
+
- {key}
+ - {value}
+
+ );
+ }
+ })}
+
+
+
+ );
+};
+
+export const ErrorPage: React.FC = (props) => {
+ const { message, statusCode, error, displayDebug } = { ...defaultProps, ...props };
+
+ return (
+ <>
+
+
+
+
{statusCode}
+
+ {message}
+
+
+
+ {displayDebug && (
+
+
+
+ )}
+
+ >
+ );
+};
+import LicenseRequired from "@calcom/features/ee/common/components/LicenseRequired";
+import Shell from "@calcom/features/shell/Shell";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { HeadSeo } from "@calcom/ui";
+
+import type { AppPageProps } from "./AppPage";
+import { AppPage } from "./AppPage";
+
+const ShellHeading = () => {
+ const { t } = useLocale();
+ return {t("app_store")};
+};
+
+export default function WrappedApp(props: AppPageProps) {
+ return (
+ } backPath="/apps" withoutSeo>
+
+ {props.licenseRequired ? (
+
+
+
+ ) : (
+
+ )}
+
+ );
+}
+import useAddAppMutation from "@calcom/app-store/_utils/useAddAppMutation";
+import { doesAppSupportTeamInstall } from "@calcom/app-store/utils";
+import { Spinner } from "@calcom/features/calendars/weeklyview/components/spinner/Spinner";
+import type { UserAdminTeams } from "@calcom/features/ee/teams/lib/getUserAdminTeams";
+import { CAL_URL } from "@calcom/lib/constants";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import type { RouterOutputs } from "@calcom/trpc/react";
+import type { AppFrontendPayload } from "@calcom/types/App";
+import type { ButtonProps } from "@calcom/ui";
+import {
+ Avatar,
+ Button,
+ Dropdown,
+ DropdownItem,
+ DropdownMenuContent,
+ DropdownMenuLabel,
+ DropdownMenuPortal,
+ DropdownMenuTrigger,
+ showToast,
+} from "@calcom/ui";
+
+export const InstallAppButtonChild = ({
+ userAdminTeams,
+ addAppMutationInput,
+ appCategories,
+ multiInstall,
+ credentials,
+ concurrentMeetings,
+ paid,
+ ...props
+}: {
+ userAdminTeams?: UserAdminTeams;
+ addAppMutationInput: { type: AppFrontendPayload["type"]; variant: string; slug: string };
+ appCategories: string[];
+ multiInstall?: boolean;
+ credentials?: RouterOutputs["viewer"]["appCredentialsByType"]["credentials"];
+ concurrentMeetings?: boolean;
+ paid?: AppFrontendPayload["paid"];
+} & ButtonProps) => {
+ const { t } = useLocale();
+
+ const mutation = useAddAppMutation(null, {
+ onSuccess: (data) => {
+ if (data?.setupPending) return;
+ showToast(t("app_successfully_installed"), "success");
+ },
+ onError: (error) => {
+ if (error instanceof Error) showToast(error.message || t("app_could_not_be_installed"), "error");
+ },
+ });
+ const shouldDisableInstallation = !multiInstall ? !!(credentials && credentials.length) : false;
+
+ // Paid apps don't support team installs at the moment
+ // Also, cal.ai(the only paid app at the moment) doesn't support team install either
+ if (paid) {
+ return (
+
+ );
+ }
+
+ if (
+ !userAdminTeams?.length ||
+ !doesAppSupportTeamInstall({ appCategories, concurrentMeetings, isPaid: !!paid })
+ ) {
+ return (
+
+ );
+ }
+
+ return (
+
+
+
+
+
+ {
+ if (mutation.isPending) event.preventDefault();
+ }}>
+ {mutation.isPending && (
+
+
+
+ )}
+ {t("install_app_on")}
+ {userAdminTeams.map((team) => {
+ const isInstalled =
+ credentials &&
+ credentials.some((credential) =>
+ credential?.teamId ? credential?.teamId === team.id : credential.userId === team.id
+ );
+
+ return (
+ (
+
+ )}
+ onClick={() => {
+ mutation.mutate(
+ team.isUser ? addAppMutationInput : { ...addAppMutationInput, teamId: team.id }
+ );
+ }}>
+
+ {t(team.name)} {isInstalled && `(${t("installed")})`}
+
+
+ );
+ })}
+
+
+
+ );
+};
+import Link from "next/link";
+import type { IframeHTMLAttributes } from "react";
+import React, { useState, useEffect } from "react";
+
+import useAddAppMutation from "@calcom/app-store/_utils/useAddAppMutation";
+import { AppDependencyComponent, InstallAppButton } from "@calcom/app-store/components";
+import DisconnectIntegration from "@calcom/features/apps/components/DisconnectIntegration";
+import classNames from "@calcom/lib/classNames";
+import { APP_NAME, COMPANY_NAME, SUPPORT_MAIL_ADDRESS } from "@calcom/lib/constants";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { trpc } from "@calcom/trpc/react";
+import type { App as AppType } from "@calcom/types/App";
+import { Badge, Button, showToast, SkeletonButton, SkeletonText } from "@calcom/ui";
+import { BookOpen, Check, ExternalLink, File, Flag, Mail, Shield } from "@calcom/ui/components/icon";
+
+import { InstallAppButtonChild } from "./InstallAppButtonChild";
+
+export type AppPageProps = {
+ name: string;
+ description: AppType["description"];
+ type: AppType["type"];
+ isGlobal?: AppType["isGlobal"];
+ logo: string;
+ slug: string;
+ variant: string;
+ body: React.ReactNode;
+ categories: string[];
+ author: string;
+ pro?: boolean;
+ price?: number;
+ commission?: number;
+ feeType?: AppType["feeType"];
+ docs?: string;
+ website?: string;
+ email: string; // required
+ tos?: string;
+ privacy?: string;
+ licenseRequired: AppType["licenseRequired"];
+ teamsPlanRequired: AppType["teamsPlanRequired"];
+ descriptionItems?: Array }>;
+ isTemplate?: boolean;
+ disableInstall?: boolean;
+ dependencies?: string[];
+ concurrentMeetings: AppType["concurrentMeetings"];
+ paid?: AppType["paid"];
+};
+
+export const AppPage = ({
+ name,
+ type,
+ logo,
+ slug,
+ variant,
+ body,
+ categories,
+ author,
+ price = 0,
+ commission,
+ isGlobal = false,
+ feeType,
+ docs,
+ website,
+ email,
+ tos,
+ privacy,
+ teamsPlanRequired,
+ descriptionItems,
+ isTemplate,
+ dependencies,
+ concurrentMeetings,
+ paid,
+}: AppPageProps) => {
+ const { t, i18n } = useLocale();
+ const hasDescriptionItems = descriptionItems && descriptionItems.length > 0;
+
+ const mutation = useAddAppMutation(null, {
+ onSuccess: (data) => {
+ if (data?.setupPending) return;
+ showToast(t("app_successfully_installed"), "success");
+ },
+ onError: (error) => {
+ if (error instanceof Error) showToast(error.message || t("app_could_not_be_installed"), "error");
+ },
+ });
+
+ const priceInDollar = Intl.NumberFormat("en-US", {
+ style: "currency",
+ currency: "USD",
+ useGrouping: false,
+ }).format(price);
+
+ const [existingCredentials, setExistingCredentials] = useState([]);
+ const [showDisconnectIntegration, setShowDisconnectIntegration] = useState(false);
+
+ const appDbQuery = trpc.viewer.appCredentialsByType.useQuery({ appType: type });
+
+ useEffect(
+ function refactorMeWithoutEffect() {
+ const data = appDbQuery.data;
+
+ const credentialsCount = data?.credentials.length || 0;
+ setShowDisconnectIntegration(
+ data?.userAdminTeams.length ? credentialsCount >= data?.userAdminTeams.length : credentialsCount > 0
+ );
+ setExistingCredentials(data?.credentials.map((credential) => credential.id) || []);
+ },
+ [appDbQuery.data]
+ );
+
+ const dependencyData = trpc.viewer.appsRouter.queryForDependencies.useQuery(dependencies, {
+ enabled: !!dependencies,
+ });
+
+ const disableInstall =
+ dependencyData.data && dependencyData.data.some((dependency) => !dependency.installed);
+
+ // const disableInstall = requiresGCal && !gCalInstalled.data;
+
+ // variant not other allows, an app to be shown in calendar category without requiring an actual calendar connection e.g. vimcal
+ // Such apps, can only be installed once.
+ const allowedMultipleInstalls = categories.indexOf("calendar") > -1 && variant !== "other";
+
+ return (
+
+ {hasDescriptionItems && (
+
+ {descriptionItems ? (
+ descriptionItems.map((descriptionItem, index) =>
+ typeof descriptionItem === "object" ? (
+
+
+
+ ) : (
+

+ )
+ )
+ ) : (
+
+ )}
+
+ )}
+
+
+
+
+

+
{name}
+
+
+
+ {categories[0]}
+ {" "}
+ {paid && (
+ <>
+
+ {Intl.NumberFormat(i18n.language, {
+ style: "currency",
+ currency: "USD",
+ useGrouping: false,
+ maximumFractionDigits: 0,
+ }).format(paid.priceInUsd)}
+ /{t("month")}
+
+ >
+ )}
+ •{" "}
+
+ {t("published_by", { author })}
+
+
+ {isTemplate && (
+
+ Template - Available in Dev Environment only for testing
+
+ )}
+
+
+ {!appDbQuery.isPending ? (
+ isGlobal ||
+ (existingCredentials.length > 0 && allowedMultipleInstalls ? (
+
+
+ {!isGlobal && (
+ {
+ if (useDefaultComponent) {
+ props = {
+ ...props,
+ onClick: () => {
+ mutation.mutate({ type, variant, slug });
+ },
+ loading: mutation.isPending,
+ };
+ }
+ return (
+
+ );
+ }}
+ />
+ )}
+
+ ) : showDisconnectIntegration ? (
+
{
+ appDbQuery.refetch();
+ }}
+ />
+ ) : (
+ {
+ if (useDefaultComponent) {
+ props = {
+ ...props,
+ onClick: () => {
+ mutation.mutate({ type, variant, slug });
+ },
+ loading: mutation.isPending,
+ };
+ }
+ return (
+
+ );
+ }}
+ />
+ ))
+ ) : (
+
+ )}
+
+ {dependencies &&
+ (!dependencyData.isPending ? (
+
+ ) : (
+
+ ))}
+
+ {price !== 0 && !paid && (
+
+ {feeType === "usage-based" ? `${commission}% + ${priceInDollar}/booking` : priceInDollar}
+ {feeType === "monthly" && `/${t("month")}`}
+
+ )}
+
+
+ {body}
+
+ {!paid && (
+ <>
+ {t("pricing")}
+
+ {teamsPlanRequired ? (
+ t("teams_plan_required")
+ ) : price === 0 ? (
+ t("free_to_use_apps")
+ ) : (
+ <>
+ {Intl.NumberFormat(i18n.language, {
+ style: "currency",
+ currency: "USD",
+ useGrouping: false,
+ }).format(price)}
+ {feeType === "monthly" && `/${t("month")}`}
+ >
+ )}
+
+ >
+ )}
+
+ {t("contact")}
+
+
+
+ {t("every_app_published", { appName: APP_NAME, companyName: COMPANY_NAME })}
+
+
+ {t("report_app")}
+
+
+
+ );
+};
+import Link from "next/link";
+import { Fragment } from "react";
+
+import { InstallAppButton } from "@calcom/app-store/components";
+import DisconnectIntegration from "@calcom/features/apps/components/DisconnectIntegration";
+import { CalendarSwitch } from "@calcom/features/calendars/CalendarSwitch";
+import DestinationCalendarSelector from "@calcom/features/calendars/DestinationCalendarSelector";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { trpc } from "@calcom/trpc/react";
+import {
+ Alert,
+ Button,
+ EmptyScreen,
+ List,
+ AppSkeletonLoader as SkeletonLoader,
+ ShellSubHeading,
+ Label,
+} from "@calcom/ui";
+import { Calendar } from "@calcom/ui/components/icon";
+
+import { QueryCell } from "@lib/QueryCell";
+
+import AppListCard from "@components/AppListCard";
+import AdditionalCalendarSelector from "@components/apps/AdditionalCalendarSelector";
+import SubHeadingTitleWithConnections from "@components/integrations/SubHeadingTitleWithConnections";
+
+type Props = {
+ onChanged: () => unknown | Promise;
+ fromOnboarding?: boolean;
+ destinationCalendarId?: string;
+ isPending?: boolean;
+};
+
+function CalendarList(props: Props) {
+ const { t } = useLocale();
+ const query = trpc.viewer.integrations.useQuery({ variant: "calendar", onlyInstalled: false });
+
+ return (
+ (
+
+ {data.items.map((item) => (
+ (
+
+ )}
+ onChanged={() => props.onChanged()}
+ />
+ }
+ />
+ ))}
+
+ )}
+ />
+ );
+}
+
+// todo: @hariom extract this into packages/apps-store as "GeneralAppSettings"
+function ConnectedCalendarsList(props: Props) {
+ const { t } = useLocale();
+ const query = trpc.viewer.connectedCalendars.useQuery(undefined, {
+ suspense: true,
+ refetchOnWindowFocus: false,
+ });
+ const { fromOnboarding, isPending } = props;
+ return (
+ null}
+ success={({ data }) => {
+ if (!data.connectedCalendars.length) {
+ return null;
+ }
+
+ return (
+
+
+
+
+
+ {t("check_for_conflicts")}
+
+
{t("select_calendars")}
+
+
+ {!!data.connectedCalendars.length && (
+
+ )}
+
+
+
+
+ {data.connectedCalendars.map((item) => (
+
+ {item.calendars ? (
+
+
+
+ }>
+
+ {!fromOnboarding && (
+ <>
+
{t("toggle_calendars_conflict")}
+
+ {item.calendars.map((cal) => (
+
+ ))}
+
+ >
+ )}
+
+
+ ) : (
+
+ {item.integration.name}:{" "}
+ {t("calendar_error")}
+
+ }
+ iconClassName="h-10 w-10 ml-2 mr-1 mt-0.5"
+ actions={
+
+
+
+ }
+ />
+ )}
+
+ ))}
+
+
+ );
+ }}
+ />
+ );
+}
+
+export function CalendarListContainer(props: { heading?: boolean; fromOnboarding?: boolean }) {
+ const { t } = useLocale();
+ const { heading = true, fromOnboarding } = props;
+ const utils = trpc.useContext();
+ const onChanged = () =>
+ Promise.allSettled([
+ utils.viewer.integrations.invalidate(
+ { variant: "calendar", onlyInstalled: true },
+ {
+ exact: true,
+ }
+ ),
+ utils.viewer.connectedCalendars.invalidate(),
+ ]);
+ const query = trpc.viewer.connectedCalendars.useQuery();
+ const installedCalendars = trpc.viewer.integrations.useQuery({ variant: "calendar", onlyInstalled: true });
+ const mutation = trpc.viewer.setDestinationCalendar.useMutation({
+ onSuccess: () => {
+ utils.viewer.connectedCalendars.invalidate();
+ },
+ });
+ return (
+ }
+ success={({ data }) => {
+ return (
+ <>
+ {!!data.connectedCalendars.length || !!installedCalendars.data?.items.length ? (
+ <>
+ {heading && (
+ <>
+
+
+
+ {t("add_to_calendar")}
+
+
+
+ {t("add_to_calendar_description")}
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+ )}
+ >
+ ) : fromOnboarding ? (
+ <>
+ {!!query.data?.connectedCalendars.length && (
+ }
+ />
+ )}
+
+ >
+ ) : (
+
+ {t(`connect_calendar_apps`)}
+
+ }
+ />
+ )}
+ >
+ );
+ }}
+ />
+ );
+}
+import type { FunctionComponent, SVGProps } from "react";
+
+import { InstallAppButton } from "@calcom/app-store/components";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { trpc } from "@calcom/trpc/react";
+import {
+ Button,
+ Dropdown,
+ DropdownMenuContent,
+ DropdownMenuTrigger,
+ DropdownMenuItem,
+ DropdownItem,
+} from "@calcom/ui";
+import { Plus } from "@calcom/ui/components/icon";
+
+import { QueryCell } from "@lib/QueryCell";
+
+interface AdditionalCalendarSelectorProps {
+ isPending?: boolean;
+}
+
+const AdditionalCalendarSelector = ({ isPending }: AdditionalCalendarSelectorProps): JSX.Element | null => {
+ const { t } = useLocale();
+ const query = trpc.viewer.integrations.useQuery({ variant: "calendar", onlyInstalled: true });
+
+ return (
+ {
+ const options = data.items.map((item) => ({
+ label: item.name,
+ slug: item.slug,
+ image: item.logo,
+ type: item.type,
+ }));
+ options.push({
+ label: "Add new calendars",
+ slug: "add-new",
+ image: "",
+ type: "new_other",
+ });
+ return (
+
+
+
+
+
+ {options.map((data) => (
+
+ {data.slug === "add-new" ? (
+
+ {t("install_new_calendar_app")}
+
+ ) : (
+ {
+ const props = { ...installProps } as FunctionComponent>;
+ return (
+
+
+ {data.image &&
}
+ {`${t("add")} ${data.label}`}
+
+
+ );
+ }}
+ />
+ )}
+
+ ))}
+
+
+ );
+ }}
+ />
+ );
+};
+
+export default AdditionalCalendarSelector;
+import { useSession } from "next-auth/react";
+import { useRouter } from "next/navigation";
+import type { ComponentProps } from "react";
+import React from "react";
+
+import { ShellMain } from "@calcom/features/shell/Shell";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { EmptyScreen } from "@calcom/ui";
+import { AlertCircle } from "@calcom/ui/components/icon";
+
+type AppsLayoutProps = {
+ children: React.ReactNode;
+ actions?: (className?: string) => JSX.Element;
+ emptyStore?: boolean;
+} & Omit, "actions">;
+
+export default function AppsLayout({ children, actions, emptyStore, ...rest }: AppsLayoutProps) {
+ const { t } = useLocale();
+ const session = useSession();
+ const router = useRouter();
+ const isAdmin = session.data?.user.role === "ADMIN";
+
+ if (session.status === "loading") return <>>;
+ return (
+
+
+
+ {emptyStore ? (
+ router.push("/settings/admin/apps/calendar")}
+ />
+ ) : (
+ <>{children}>
+ )}
+
+
+
+ );
+}
+import type { ComponentProps } from "react";
+import React from "react";
+
+import AppCategoryNavigation from "@calcom/app-store/_components/AppCategoryNavigation";
+import Shell from "@calcom/features/shell/Shell";
+
+export default function InstalledAppsLayout({
+ children,
+ ...rest
+}: { children: React.ReactNode } & ComponentProps) {
+ return (
+
+
+ {children}
+
+
+ );
+}
+export const getLayout = (page: React.ReactElement) => {page};
+import { useCallback, useState } from "react";
+
+import { AppSettings } from "@calcom/app-store/_components/AppSettings";
+import { InstallAppButton } from "@calcom/app-store/components";
+import { getEventLocationTypeFromApp, type EventLocationType } from "@calcom/app-store/locations";
+import type { CredentialOwner } from "@calcom/app-store/types";
+import { AppSetDefaultLinkDialog } from "@calcom/features/apps/components/AppSetDefaultLinkDialog";
+import { BulkEditDefaultConferencingModal } from "@calcom/features/eventtypes/components/BulkEditDefaultConferencingModal";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import type { AppCategories } from "@calcom/prisma/enums";
+import { trpc, type RouterOutputs } from "@calcom/trpc";
+import type { App } from "@calcom/types/App";
+import {
+ Dropdown,
+ DropdownItem,
+ DropdownMenuContent,
+ DropdownMenuTrigger,
+ List,
+ showToast,
+ Button,
+ DropdownMenuItem,
+ Alert,
+} from "@calcom/ui";
+import { MoreHorizontal, Trash, Video } from "@calcom/ui/components/icon";
+
+import AppListCard from "@components/AppListCard";
+
+interface AppListProps {
+ variant?: AppCategories;
+ data: RouterOutputs["viewer"]["integrations"];
+ handleDisconnect: (credentialId: number) => void;
+ listClassName?: string;
+}
+
+export const AppList = ({ data, handleDisconnect, variant, listClassName }: AppListProps) => {
+ const { data: defaultConferencingApp } = trpc.viewer.getUsersDefaultConferencingApp.useQuery();
+ const utils = trpc.useContext();
+ const [bulkUpdateModal, setBulkUpdateModal] = useState(false);
+ const [locationType, setLocationType] = useState<(EventLocationType & { slug: string }) | undefined>(
+ undefined
+ );
+
+ const onSuccessCallback = useCallback(() => {
+ setBulkUpdateModal(true);
+ showToast("Default app updated successfully", "success");
+ }, []);
+
+ const updateDefaultAppMutation = trpc.viewer.updateUserDefaultConferencingApp.useMutation({
+ onSuccess: () => {
+ showToast("Default app updated successfully", "success");
+ utils.viewer.getUsersDefaultConferencingApp.invalidate();
+ },
+ onError: (error) => {
+ showToast(`Error: ${error.message}`, "error");
+ },
+ });
+
+ const ChildAppCard = ({
+ item,
+ }: {
+ item: RouterOutputs["viewer"]["integrations"]["items"][number] & {
+ credentialOwner?: CredentialOwner;
+ };
+ }) => {
+ const appSlug = item?.slug;
+ const appIsDefault =
+ appSlug === defaultConferencingApp?.appSlug ||
+ (appSlug === "daily-video" && !defaultConferencingApp?.appSlug);
+ return (
+ 0 : false}
+ credentialOwner={item?.credentialOwner}
+ actions={
+ !item.credentialOwner?.readOnly ? (
+
+
+
+
+
+
+ {!appIsDefault && variant === "conferencing" && !item.credentialOwner?.teamId && (
+
+ {
+ const locationType = getEventLocationTypeFromApp(item?.locationOption?.value ?? "");
+ if (locationType?.linkType === "static") {
+ setLocationType({ ...locationType, slug: appSlug });
+ } else {
+ updateDefaultAppMutation.mutate({
+ appSlug,
+ });
+ setBulkUpdateModal(true);
+ }
+ }}>
+ {t("set_as_default")}
+
+
+ )}
+
+
+
+
+ ) : null
+ }>
+
+
+ );
+ };
+
+ const appsWithTeamCredentials = data.items.filter((app) => app.teams.length);
+ const cardsForAppsWithTeams = appsWithTeamCredentials.map((app) => {
+ const appCards = [];
+
+ if (app.userCredentialIds.length) {
+ appCards.push();
+ }
+ for (const team of app.teams) {
+ if (team) {
+ appCards.push(
+
+ );
+ }
+ }
+ return appCards;
+ });
+
+ const { t } = useLocale();
+ return (
+ <>
+
+ {cardsForAppsWithTeams.map((apps) => apps.map((cards) => cards))}
+ {data.items
+ .filter((item) => item.invalidCredentialIds)
+ .map((item) => {
+ if (!item.teams.length) return ;
+ })}
+
+ {locationType && (
+ setLocationType(undefined)}
+ onSuccess={onSuccessCallback}
+ />
+ )}
+
+ {bulkUpdateModal && (
+
+ )}
+ >
+ );
+};
+
+function ConnectOrDisconnectIntegrationMenuItem(props: {
+ credentialId: number;
+ type: App["type"];
+ isGlobal?: boolean;
+ installed?: boolean;
+ invalidCredentialIds?: number[];
+ teamId?: number;
+ handleDisconnect: (credentialId: number, teamId?: number) => void;
+}) {
+ const { type, credentialId, isGlobal, installed, handleDisconnect, teamId } = props;
+ const { t } = useLocale();
+
+ const utils = trpc.useContext();
+ const handleOpenChange = () => {
+ utils.viewer.integrations.invalidate();
+ };
+
+ if (credentialId || type === "stripe_payment" || isGlobal) {
+ return (
+
+ handleDisconnect(credentialId, teamId)}
+ disabled={isGlobal}
+ StartIcon={Trash}>
+ {t("remove_app")}
+
+
+ );
+ }
+
+ if (!installed) {
+ return (
+
+ );
+ }
+
+ return (
+ (
+
+ )}
+ onChanged={handleOpenChange}
+ />
+ );
+}
+import { usePathname, useRouter } from "next/navigation";
+import type { ReactNode } from "react";
+import { useEffect, useRef, useState } from "react";
+import { z } from "zod";
+
+import type { CredentialOwner } from "@calcom/app-store/types";
+import classNames from "@calcom/lib/classNames";
+import { getPlaceholderAvatar } from "@calcom/lib/defaultAvatarImage";
+import { useCompatSearchParams } from "@calcom/lib/hooks/useCompatSearchParams";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { useTypedQuery } from "@calcom/lib/hooks/useTypedQuery";
+import { Badge, ListItemText, Avatar } from "@calcom/ui";
+import { AlertCircle } from "@calcom/ui/components/icon";
+
+type ShouldHighlight =
+ | {
+ slug: string;
+ shouldHighlight: true;
+ }
+ | {
+ shouldHighlight?: never;
+ slug?: never;
+ };
+
+type AppListCardProps = {
+ logo?: string;
+ title: string;
+ description: string;
+ actions?: ReactNode;
+ isDefault?: boolean;
+ isTemplate?: boolean;
+ invalidCredential?: boolean;
+ children?: ReactNode;
+ credentialOwner?: CredentialOwner;
+ className?: string;
+} & ShouldHighlight;
+
+const schema = z.object({ hl: z.string().optional() });
+
+export default function AppListCard(props: AppListCardProps) {
+ const { t } = useLocale();
+ const {
+ logo,
+ title,
+ description,
+ actions,
+ isDefault,
+ slug,
+ shouldHighlight,
+ isTemplate,
+ invalidCredential,
+ children,
+ credentialOwner,
+ className,
+ } = props;
+ const {
+ data: { hl },
+ } = useTypedQuery(schema);
+ const router = useRouter();
+ const [highlight, setHighlight] = useState(shouldHighlight && hl === slug);
+ const timeoutRef = useRef(null);
+ const searchParams = useCompatSearchParams();
+ const pathname = usePathname();
+
+ useEffect(() => {
+ if (shouldHighlight && highlight && searchParams !== null && pathname !== null) {
+ timeoutRef.current = setTimeout(() => {
+ const _searchParams = new URLSearchParams(searchParams);
+ _searchParams.delete("hl");
+ _searchParams.delete("category"); // this comes from params, not from search params
+
+ setHighlight(false);
+
+ const stringifiedSearchParams = _searchParams.toString();
+
+ router.replace(`${pathname}${stringifiedSearchParams !== "" ? `?${stringifiedSearchParams}` : ""}`);
+ }, 3000);
+ }
+ return () => {
+ if (timeoutRef.current) {
+ clearTimeout(timeoutRef.current);
+ timeoutRef.current = null;
+ }
+ };
+ }, [highlight, pathname, router, searchParams, shouldHighlight]);
+
+ return (
+
+
+ {logo ? (
+

+ ) : null}
+
+
+
{title}
+
+ {isDefault && {t("default")}}
+ {isTemplate && Template}
+
+
+
{description}
+ {invalidCredential && (
+
+
+
+ {t("invalid_credential")}
+
+
+ )}
+
+ {credentialOwner && (
+
+
+
+
+ {credentialOwner.name}
+
+
+
+ )}
+
+ {actions}
+
+ {children &&
{children}
}
+
+ );
+}
+"use client";
+
+import { type DehydratedState } from "@tanstack/react-query";
+import type { SSRConfig } from "next-i18next";
+// import I18nLanguageHandler from "@components/I18nLanguageHandler";
+import { usePathname } from "next/navigation";
+import Script from "next/script";
+import type { ReactNode } from "react";
+
+import "@calcom/embed-core/src/embed-iframe";
+import LicenseRequired from "@calcom/features/ee/common/components/LicenseRequired";
+
+import type { AppProps } from "@lib/app-providers-app-dir";
+import AppProviders from "@lib/app-providers-app-dir";
+
+export interface CalPageWrapper {
+ (props?: AppProps): JSX.Element;
+ PageWrapper?: AppProps["Component"]["PageWrapper"];
+}
+
+export type PageWrapperProps = Readonly<{
+ getLayout: ((page: React.ReactElement) => ReactNode) | null;
+ children: React.ReactNode;
+ requiresLicense: boolean;
+ nonce: string | undefined;
+ themeBasis: string | null;
+ dehydratedState?: DehydratedState;
+ isThemeSupported?: boolean;
+ isBookingPage?: boolean;
+ i18n?: SSRConfig;
+}>;
+
+function PageWrapper(props: PageWrapperProps) {
+ const pathname = usePathname();
+ let pageStatus = "200";
+
+ if (pathname === "/404") {
+ pageStatus = "404";
+ } else if (pathname === "/500") {
+ pageStatus = "500";
+ }
+
+ // On client side don't let nonce creep into DOM
+ // It also avoids hydration warning that says that Client has the nonce value but server has "" because browser removes nonce attributes before DOM is built
+ // See https://github.com/kentcdodds/nonce-hydration-issues
+ // Set "" only if server had it set otherwise keep it undefined because server has to match with client to avoid hydration error
+ const nonce = typeof window !== "undefined" ? (props.nonce ? "" : undefined) : props.nonce;
+ const providerProps: PageWrapperProps = {
+ ...props,
+ nonce,
+ };
+
+ const getLayout: (page: React.ReactElement) => ReactNode = props.getLayout ?? ((page) => page);
+
+ return (
+
+ {/* */}
+ <>
+
+ {getLayout(
+ props.requiresLicense ? {props.children} : <>{props.children}>
+ )}
+ >
+
+ );
+}
+
+export default PageWrapper;
+import { getFeatureFlagMap } from "@calcom/features/flags/server/utils";
+
+// If feature flag is disabled, return not found on getServerSideProps
+export const getServerSideProps = async () => {
+ const prisma = await import("@calcom/prisma").then((mod) => mod.default);
+ const flags = await getFeatureFlagMap(prisma);
+
+ if (flags.insights === false) {
+ return {
+ notFound: true,
+ } as const;
+ }
+
+ return { props: {} };
+};
+import type { GetServerSidePropsContext } from "next";
+
+import { getFeatureFlagMap } from "@calcom/features/flags/server/utils";
+
+export const getServerSideProps = async (context: GetServerSidePropsContext) => {
+ const prisma = await import("@calcom/prisma").then((mod) => mod.default);
+ const flags = await getFeatureFlagMap(prisma);
+ // Check if organizations are enabled
+ if (flags["organizations"] !== true) {
+ return {
+ notFound: true,
+ } as const;
+ }
+
+ const querySlug = context.query.slug as string;
+
+ return {
+ props: {
+ querySlug: querySlug ?? null,
+ },
+ };
+};
+import type {
+ QueryObserverPendingResult,
+ QueryObserverRefetchErrorResult,
+ QueryObserverSuccessResult,
+ QueryObserverLoadingErrorResult,
+ UseQueryResult,
+} from "@tanstack/react-query";
+import type { ReactNode } from "react";
+
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { Alert, Loader } from "@calcom/ui";
+
+type ErrorLike = {
+ message: string;
+};
+type JSXElementOrNull = JSX.Element | null;
+
+interface QueryCellOptionsBase {
+ query: UseQueryResult;
+ customLoader?: ReactNode;
+ error?: (
+ query: QueryObserverLoadingErrorResult | QueryObserverRefetchErrorResult
+ ) => JSXElementOrNull;
+ loading?: (query: QueryObserverPendingResult | null) => JSXElementOrNull;
+}
+
+interface QueryCellOptionsNoEmpty
+ extends QueryCellOptionsBase {
+ success: (query: QueryObserverSuccessResult) => JSXElementOrNull;
+}
+
+interface QueryCellOptionsWithEmpty
+ extends QueryCellOptionsBase {
+ success: (query: QueryObserverSuccessResult, TError>) => JSXElementOrNull;
+ /**
+ * If there's no data (`null`, `undefined`, or `[]`), render this component
+ */
+ empty: (query: QueryObserverSuccessResult) => JSXElementOrNull;
+}
+
+export function QueryCell(
+ opts: QueryCellOptionsWithEmpty
+): JSXElementOrNull;
+export function QueryCell(
+ opts: QueryCellOptionsNoEmpty
+): JSXElementOrNull;
+/** @deprecated Use `trpc.useQuery` instead. */
+export function QueryCell(
+ opts: QueryCellOptionsNoEmpty | QueryCellOptionsWithEmpty
+) {
+ const { query } = opts;
+ const { isLocaleReady } = useLocale();
+ const StatusLoader = opts.customLoader || ; // Fixes edge case where this can return null form query cell
+
+ if (!isLocaleReady) {
+ return opts.loading?.(query.status === "pending" ? query : null) ?? StatusLoader;
+ }
+ if (query.status === "pending") {
+ return opts.loading?.(query) ?? StatusLoader;
+ }
+
+ if (query.status === "success") {
+ if ("empty" in opts && (query.data == null || (Array.isArray(query.data) && query.data.length === 0))) {
+ return opts.empty(query);
+ }
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ return opts.success(query as any);
+ }
+
+ if (query.status === "error") {
+ return (
+ opts.error?.(query) ?? (
+
+ )
+ );
+ }
+
+ // impossible state
+ return null;
+}
+import { TooltipProvider } from "@radix-ui/react-tooltip";
+import { dir } from "i18next";
+import type { Session } from "next-auth";
+import { SessionProvider, useSession } from "next-auth/react";
+import { EventCollectionProvider } from "next-collect/client";
+import type { SSRConfig } from "next-i18next";
+import { appWithTranslation } from "next-i18next";
+import { ThemeProvider } from "next-themes";
+import type { AppProps as NextAppProps, AppProps as NextJsAppProps } from "next/app";
+import type { ParsedUrlQuery } from "querystring";
+import type { PropsWithChildren, ReactNode } from "react";
+import { useEffect } from "react";
+
+import { OrgBrandingProvider } from "@calcom/features/ee/organizations/context/provider";
+import DynamicHelpscoutProvider from "@calcom/features/ee/support/lib/helpscout/providerDynamic";
+import DynamicIntercomProvider from "@calcom/features/ee/support/lib/intercom/providerDynamic";
+import { FeatureProvider } from "@calcom/features/flags/context/provider";
+import { useFlags } from "@calcom/features/flags/hooks";
+import { MetaProvider } from "@calcom/ui";
+
+import useIsBookingPage from "@lib/hooks/useIsBookingPage";
+import type { WithLocaleProps } from "@lib/withLocale";
+import type { WithNonceProps } from "@lib/withNonce";
+
+import { useViewerI18n } from "@components/I18nLanguageHandler";
+
+const I18nextAdapter = appWithTranslation<
+ NextJsAppProps & {
+ children: React.ReactNode;
+ }
+>(({ children }) => <>{children}>);
+
+// Workaround for https://github.com/vercel/next.js/issues/8592
+export type AppProps = Omit<
+ NextAppProps<
+ WithLocaleProps<
+ WithNonceProps<{
+ themeBasis?: string;
+ session: Session;
+ i18n?: SSRConfig;
+ }>
+ >
+ >,
+ "Component"
+> & {
+ Component: NextAppProps["Component"] & {
+ requiresLicense?: boolean;
+ isThemeSupported?: boolean;
+ isBookingPage?: boolean | ((arg: { router: NextAppProps["router"] }) => boolean);
+ getLayout?: (page: React.ReactElement) => ReactNode;
+ PageWrapper?: (props: AppProps) => JSX.Element;
+ };
+
+ /** Will be defined only is there was an error */
+ err?: Error;
+};
+
+type AppPropsWithChildren = AppProps & {
+ children: ReactNode;
+};
+
+const getEmbedNamespace = (query: ParsedUrlQuery) => {
+ // Mostly embed query param should be available on server. Use that there.
+ // Use the most reliable detection on client
+ return typeof window !== "undefined" ? window.getEmbedNamespace() : (query.embed as string) || null;
+};
+
+// We dont need to pass nonce to the i18n provider - this was causing x2-x3 re-renders on a hard refresh
+type AppPropsWithoutNonce = Omit & {
+ pageProps: Omit;
+};
+
+const CustomI18nextProvider = (props: AppPropsWithoutNonce) => {
+ /**
+ * i18n should never be clubbed with other queries, so that it's caching can be managed independently.
+ **/
+
+ const session = useSession();
+ const locale = session?.data?.user.locale ?? props.pageProps.newLocale;
+
+ useEffect(() => {
+ try {
+ // @ts-expect-error TS2790: The operand of a 'delete' operator must be optional.
+ delete window.document.documentElement["lang"];
+
+ window.document.documentElement.lang = locale;
+
+ // Next.js writes the locale to the same attribute
+ // https://github.com/vercel/next.js/blob/1609da2d9552fed48ab45969bdc5631230c6d356/packages/next/src/shared/lib/router/router.ts#L1786
+ // which can result in a race condition
+ // this property descriptor ensures this never happens
+ Object.defineProperty(window.document.documentElement, "lang", {
+ configurable: true,
+ // value: locale,
+ set: function (this) {
+ // empty setter on purpose
+ },
+ get: function () {
+ return locale;
+ },
+ });
+ } catch (error) {
+ console.error(error);
+
+ window.document.documentElement.lang = locale;
+ }
+
+ window.document.dir = dir(locale);
+ }, [locale]);
+
+ const clientViewerI18n = useViewerI18n(locale);
+ const i18n = clientViewerI18n.data?.i18n ?? props.pageProps.i18n;
+
+ const passedProps = {
+ ...props,
+ pageProps: {
+ ...props.pageProps,
+
+ ...i18n,
+ },
+ };
+
+ return ;
+};
+
+const enum ThemeSupport {
+ // e.g. Login Page
+ None = "none",
+ // Entire App except Booking Pages
+ App = "systemOnly",
+ // Booking Pages(including Routing Forms)
+ Booking = "userConfigured",
+}
+
+type CalcomThemeProps = PropsWithChildren<
+ Pick &
+ Pick &
+ Pick
+>;
+const CalcomThemeProvider = (props: CalcomThemeProps) => {
+ // Use namespace of embed to ensure same namespaced embed are displayed with same theme. This allows different embeds on the same website to be themed differently
+ // One such example is our Embeds Demo and Testing page at http://localhost:3100
+ // Having `getEmbedNamespace` defined on window before react initializes the app, ensures that embedNamespace is available on the first mount and can be used as part of storageKey
+ const embedNamespace = getEmbedNamespace(props.router.query);
+ const isEmbedMode = typeof embedNamespace === "string";
+
+ return (
+
+ {/* Embed Mode can be detected reliably only on client side here as there can be static generated pages as well which can't determine if it's embed mode at backend */}
+ {/* color-scheme makes background:transparent not work in iframe which is required by embed. */}
+ {typeof window !== "undefined" && !isEmbedMode && (
+
+ )}
+ {props.children}
+
+ );
+};
+
+/**
+ * The most important job for this fn is to generate correct storageKey for theme persistenc.
+ * `storageKey` is important because that key is listened for changes(using [`storage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/storage_event) event) and any pages opened will change it's theme based on that(as part of next-themes implementation).
+ * Choosing the right storageKey avoids theme flickering caused by another page using different theme
+ * So, we handle all the cases here namely,
+ * - Both Booking Pages, /free/30min and /pro/30min but configured with different themes but being operated together.
+ * - Embeds using different namespace. They can be completely themed different on the same page.
+ * - Embeds using the same namespace but showing different cal.com links with different themes
+ * - Embeds using the same namespace and showing same cal.com links with different themes(Different theme is possible for same cal.com link in case of embed because of theme config available in embed)
+ * - App has different theme then Booking Pages.
+ *
+ * All the above cases have one thing in common, which is the origin and thus localStorage is shared and thus `storageKey` is critical to avoid theme flickering.
+ *
+ * Some things to note:
+ * - There is a side effect of so many factors in `storageKey` that many localStorage keys will be created if a user goes through all these scenarios(e.g like booking a lot of different users)
+ * - Some might recommend disabling localStorage persistence but that doesn't give good UX as then we would default to light theme always for a few seconds before switching to dark theme(if that's the user's preference).
+ * - We can't disable [`storage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/storage_event) event handling as well because changing theme in one tab won't change the theme without refresh in other tabs. That's again a bad UX
+ * - Theme flickering becomes infinitely ongoing in case of embeds because of the browser's delay in processing `storage` event within iframes. Consider two embeds simulatenously opened with pages A and B. Note the timeline and keep in mind that it happened
+ * because 'setItem(A)' and 'Receives storageEvent(A)' allowed executing setItem(B) in b/w because of the delay.
+ * - t1 -> setItem(A) & Fires storageEvent(A) - On Page A) - Current State(A)
+ * - t2 -> setItem(B) & Fires storageEvent(B) - On Page B) - Current State(B)
+ * - t3 -> Receives storageEvent(A) & thus setItem(A) & thus fires storageEvent(A) (On Page B) - Current State(A)
+ * - t4 -> Receives storageEvent(B) & thus setItem(B) & thus fires storageEvent(B) (On Page A) - Current State(B)
+ * - ... and so on ...
+ */
+function getThemeProviderProps({
+ props,
+ isEmbedMode,
+ embedNamespace,
+}: {
+ props: Omit;
+ isEmbedMode: boolean;
+ embedNamespace: string | null;
+}) {
+ const isBookingPage = (() => {
+ if (typeof props.isBookingPage === "function") {
+ return props.isBookingPage({ router: props.router });
+ }
+ return props.isBookingPage;
+ })();
+
+ const themeSupport = isBookingPage
+ ? ThemeSupport.Booking
+ : // if isThemeSupported is explicitly false, we don't use theme there
+ props.isThemeSupported === false
+ ? ThemeSupport.None
+ : ThemeSupport.App;
+
+ const isBookingPageThemeSupportRequired = themeSupport === ThemeSupport.Booking;
+ const themeBasis = props.themeBasis;
+
+ if ((isBookingPageThemeSupportRequired || isEmbedMode) && !themeBasis) {
+ console.warn(
+ "`themeBasis` is required for booking page theme support. Not providing it will cause theme flicker."
+ );
+ }
+
+ const appearanceIdSuffix = themeBasis ? `:${themeBasis}` : "";
+ const forcedTheme = themeSupport === ThemeSupport.None ? "light" : undefined;
+ let embedExplicitlySetThemeSuffix = "";
+
+ if (typeof window !== "undefined") {
+ const embedTheme = window.getEmbedTheme();
+ if (embedTheme) {
+ embedExplicitlySetThemeSuffix = `:${embedTheme}`;
+ }
+ }
+
+ const storageKey = isEmbedMode
+ ? // Same Namespace, Same Organizer but different themes would still work seamless and not cause theme flicker
+ // Even though it's recommended to use different namespaces when you want to theme differently on the same page but if the embeds are on different pages, the problem can still arise
+ `embed-theme-${embedNamespace}${appearanceIdSuffix}${embedExplicitlySetThemeSuffix}`
+ : themeSupport === ThemeSupport.App
+ ? "app-theme"
+ : isBookingPageThemeSupportRequired
+ ? `booking-theme${appearanceIdSuffix}`
+ : undefined;
+
+ return {
+ storageKey,
+ forcedTheme,
+ themeSupport,
+ nonce: props.nonce,
+ enableColorScheme: false,
+ enableSystem: themeSupport !== ThemeSupport.None,
+ // next-themes doesn't listen to changes on storageKey. So we need to force a re-render when storageKey changes
+ // This is how login to dashboard soft navigation changes theme from light to dark
+ key: storageKey,
+ attribute: "class",
+ };
+}
+
+function FeatureFlagsProvider({ children }: { children: React.ReactNode }) {
+ const flags = useFlags();
+ return {children};
+}
+
+function useOrgBrandingValues() {
+ const session = useSession();
+ return session?.data?.user.org;
+}
+
+function OrgBrandProvider({ children }: { children: React.ReactNode }) {
+ const orgBrand = useOrgBrandingValues();
+ return {children};
+}
+
+const AppProviders = (props: AppPropsWithChildren) => {
+ // No need to have intercom on public pages - Good for Page Performance
+ const isBookingPage = useIsBookingPage();
+ const { pageProps, ...rest } = props;
+
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
+ const { nonce, ...restPageProps } = pageProps;
+ const propsWithoutNonce = {
+ pageProps: {
+ ...restPageProps,
+ },
+ ...rest,
+ };
+
+ const RemainingProviders = (
+
+
+
+
+ {/* color-scheme makes background:transparent not work which is required by embed. We need to ensure next-theme adds color-scheme to `body` instead of `html`(https://github.com/pacocoursey/next-themes/blob/main/src/index.tsx#L74). Once that's done we can enable color-scheme support */}
+
+
+
+ {props.children}
+
+
+
+
+
+
+
+ );
+
+ if (isBookingPage) {
+ return RemainingProviders;
+ }
+
+ return (
+
+ {RemainingProviders}
+
+ );
+};
+
+export default AppProviders;
+import type { SearchParams } from "app/_types";
+import { type Params } from "app/_types";
+import type { GetServerSidePropsContext } from "next";
+import { type ReadonlyHeaders } from "next/dist/server/web/spec-extension/adapters/headers";
+import { type ReadonlyRequestCookies } from "next/dist/server/web/spec-extension/adapters/request-cookies";
+
+const createProxifiedObject = (object: Record) =>
+ new Proxy(object, {
+ set: () => {
+ throw new Error("You are trying to modify 'headers' or 'cookies', which is not supported in app dir");
+ },
+ });
+
+const buildLegacyHeaders = (headers: ReadonlyHeaders) => {
+ const headersObject = Object.fromEntries(headers.entries());
+
+ return createProxifiedObject(headersObject);
+};
+
+const buildLegacyCookies = (cookies: ReadonlyRequestCookies) => {
+ const cookiesObject = cookies.getAll().reduce>((acc, { name, value }) => {
+ acc[name] = value;
+ return acc;
+ }, {});
+
+ return createProxifiedObject(cookiesObject);
+};
+
+export const buildLegacyCtx = (
+ headers: ReadonlyHeaders,
+ cookies: ReadonlyRequestCookies,
+ params: Params,
+ searchParams: SearchParams
+) => {
+ return {
+ query: { ...searchParams, ...params },
+ params,
+ req: { headers: buildLegacyHeaders(headers), cookies: buildLegacyCookies(cookies) },
+ res: new Proxy(Object.create(null), {
+ // const { req, res } = ctx - valid
+ // res.anything - throw
+ get() {
+ throw new Error(
+ "You are trying to access the 'res' property of the context, which is not supported in app dir"
+ );
+ },
+ }),
+ } as unknown as GetServerSidePropsContext;
+};
+import type { GetServerSidePropsContext } from "next";
+import z from "zod";
+
+import { getSlugOrRequestedSlug } from "@calcom/features/ee/organizations/lib/orgDomains";
+import slugify from "@calcom/lib/slugify";
+import prisma from "@calcom/prisma";
+
+import { getServerSideProps as GSSTeamTypePage } from "@lib/team/[slug]/[type]/getServerSideProps";
+
+import { getServerSideProps as GSSUserTypePage } from "~/users/views/users-type-public-view.getServerSideProps";
+
+const paramsSchema = z.object({
+ orgSlug: z.string().transform((s) => slugify(s)),
+ user: z.string(),
+ type: z.string().transform((s) => slugify(s)),
+});
+
+export const getServerSideProps = async (ctx: GetServerSidePropsContext) => {
+ const { user: teamOrUserSlugOrDynamicGroup, orgSlug, type } = paramsSchema.parse(ctx.params);
+ const team = await prisma.team.findFirst({
+ where: {
+ slug: slugify(teamOrUserSlugOrDynamicGroup),
+ parentId: {
+ not: null,
+ },
+ parent: getSlugOrRequestedSlug(orgSlug),
+ },
+ select: {
+ id: true,
+ },
+ });
+
+ if (team) {
+ const params = { slug: teamOrUserSlugOrDynamicGroup, type };
+ return GSSTeamTypePage({
+ ...ctx,
+ params: {
+ ...ctx.params,
+ ...params,
+ },
+ query: {
+ ...ctx.query,
+ ...params,
+ },
+ });
+ }
+ const params = { user: teamOrUserSlugOrDynamicGroup, type };
+ return GSSUserTypePage({
+ ...ctx,
+ params: {
+ ...ctx.params,
+ ...params,
+ },
+ query: {
+ ...ctx.query,
+ ...params,
+ },
+ });
+};
+import { getServerSideProps as GSSUserPage } from "@pages/[user]";
+import { getServerSideProps as GSSTeamPage } from "@pages/team/[slug]";
+import type { GetServerSidePropsContext } from "next";
+
+import { getSlugOrRequestedSlug } from "@calcom/features/ee/organizations/lib/orgDomains";
+import prisma from "@calcom/prisma";
+
+export const getServerSideProps = async (ctx: GetServerSidePropsContext) => {
+ const team = await prisma.team.findFirst({
+ where: {
+ slug: ctx.query.user as string,
+ parentId: {
+ not: null,
+ },
+ parent: getSlugOrRequestedSlug(ctx.query.orgSlug as string),
+ },
+ select: {
+ id: true,
+ },
+ });
+ if (team) {
+ return GSSTeamPage({ ...ctx, query: { slug: ctx.query.user } });
+ }
+ return GSSUserPage({ ...ctx, query: { user: ctx.query.user, redirect: ctx.query.redirect } });
+};
+import type { GetServerSidePropsContext } from "next";
+import { z } from "zod";
+
+import { getOrgUsernameFromEmail } from "@calcom/features/auth/signup/utils/getOrgUsernameFromEmail";
+import { checkPremiumUsername } from "@calcom/features/ee/common/lib/checkPremiumUsername";
+import { isSAMLLoginEnabled } from "@calcom/features/ee/sso/lib/saml";
+import { getFeatureFlagMap } from "@calcom/features/flags/server/utils";
+import { IS_SELF_HOSTED, WEBAPP_URL } from "@calcom/lib/constants";
+import slugify from "@calcom/lib/slugify";
+import { teamMetadataSchema } from "@calcom/prisma/zod-utils";
+
+import { IS_GOOGLE_LOGIN_ENABLED } from "@server/lib/constants";
+import { ssrInit } from "@server/lib/ssr";
+
+const checkValidEmail = (email: string) => z.string().email().safeParse(email).success;
+
+const querySchema = z.object({
+ username: z
+ .string()
+ .optional()
+ .transform((val) => val || ""),
+ email: z.string().email().optional(),
+});
+
+export const getServerSideProps = async (ctx: GetServerSidePropsContext) => {
+ const prisma = await import("@calcom/prisma").then((mod) => mod.default);
+ const flags = await getFeatureFlagMap(prisma);
+ const ssr = await ssrInit(ctx);
+ const token = z.string().optional().parse(ctx.query.token);
+
+ const props = {
+ isGoogleLoginEnabled: IS_GOOGLE_LOGIN_ENABLED,
+ isSAMLLoginEnabled,
+ trpcState: ssr.dehydrate(),
+ prepopulateFormValues: undefined,
+ };
+
+ // username + email prepopulated from query params
+ const { username: preFillusername, email: prefilEmail } = querySchema.parse(ctx.query);
+
+ if ((process.env.NEXT_PUBLIC_DISABLE_SIGNUP === "true" && !token) || flags["disable-signup"]) {
+ return {
+ notFound: true,
+ } as const;
+ }
+
+ // no token given, treat as a normal signup without verification token
+ if (!token) {
+ return {
+ props: JSON.parse(
+ JSON.stringify({
+ ...props,
+ prepopulateFormValues: {
+ username: preFillusername || null,
+ email: prefilEmail || null,
+ },
+ })
+ ),
+ };
+ }
+
+ const verificationToken = await prisma.verificationToken.findUnique({
+ where: {
+ token,
+ },
+ include: {
+ team: {
+ select: {
+ metadata: true,
+ parentId: true,
+ parent: {
+ select: {
+ slug: true,
+ metadata: true,
+ },
+ },
+ slug: true,
+ },
+ },
+ },
+ });
+
+ if (!verificationToken || verificationToken.expires < new Date()) {
+ return {
+ notFound: true,
+ } as const;
+ }
+
+ const existingUser = await prisma.user.findFirst({
+ where: {
+ AND: [
+ {
+ email: verificationToken?.identifier,
+ },
+ {
+ emailVerified: {
+ not: null,
+ },
+ },
+ ],
+ },
+ });
+
+ if (existingUser) {
+ return {
+ redirect: {
+ permanent: false,
+ destination: `/auth/login?callbackUrl=${WEBAPP_URL}/${ctx.query.callbackUrl}`,
+ },
+ };
+ }
+
+ const guessUsernameFromEmail = (email: string) => {
+ const [username] = email.split("@");
+ return username;
+ };
+
+ let username = guessUsernameFromEmail(verificationToken.identifier);
+
+ const tokenTeam = {
+ ...verificationToken?.team,
+ metadata: teamMetadataSchema.parse(verificationToken?.team?.metadata),
+ };
+
+ const isATeamInOrganization = tokenTeam?.parentId !== null;
+ const isOrganization = tokenTeam.metadata?.isOrganization;
+ // Detect if the team is an org by either the metadata flag or if it has a parent team
+ const isOrganizationOrATeamInOrganization = isOrganization || isATeamInOrganization;
+ // If we are dealing with an org, the slug may come from the team itself or its parent
+ const orgSlug = isOrganizationOrATeamInOrganization
+ ? tokenTeam.metadata?.requestedSlug || tokenTeam.parent?.slug || tokenTeam.slug
+ : null;
+
+ // Org context shouldn't check if a username is premium
+ if (!IS_SELF_HOSTED && !isOrganizationOrATeamInOrganization) {
+ // Im not sure we actually hit this because of next redirects signup to website repo - but just in case this is pretty cool :)
+ const { available, suggestion } = await checkPremiumUsername(username);
+
+ username = available ? username : suggestion || username;
+ }
+
+ const isValidEmail = checkValidEmail(verificationToken.identifier);
+ const isOrgInviteByLink = isOrganizationOrATeamInOrganization && !isValidEmail;
+ const parentMetaDataForSubteam = tokenTeam?.parent?.metadata
+ ? teamMetadataSchema.parse(tokenTeam.parent.metadata)
+ : null;
+
+ return {
+ props: {
+ ...props,
+ token,
+ prepopulateFormValues: !isOrgInviteByLink
+ ? {
+ email: verificationToken.identifier,
+ username: isOrganizationOrATeamInOrganization
+ ? getOrgUsernameFromEmail(
+ verificationToken.identifier,
+ (isOrganization
+ ? tokenTeam.metadata?.orgAutoAcceptEmail
+ : parentMetaDataForSubteam?.orgAutoAcceptEmail) || ""
+ )
+ : slugify(username),
+ }
+ : null,
+ orgSlug,
+ orgAutoAcceptEmail: isOrgInviteByLink
+ ? tokenTeam?.metadata?.orgAutoAcceptEmail ?? parentMetaDataForSubteam?.orgAutoAcceptEmail ?? null
+ : null,
+ },
+ };
+};
+/** @deprecated use zod instead */
+export function asStringOrNull(str: unknown) {
+ return typeof str === "string" ? str : null;
+}
+
+/** @deprecated use zod instead */
+export function asStringOrUndefined(str: unknown) {
+ return typeof str === "string" ? str : undefined;
+}
+
+/** @deprecated use zod instead */
+export function asNumberOrUndefined(str: unknown) {
+ return typeof str === "string" ? parseInt(str) : undefined;
+}
+
+/** @deprecated use zod instead */
+export function asNumberOrThrow(str: unknown) {
+ return parseInt(asStringOrThrow(str));
+}
+
+/** @deprecated use zod instead */
+export function asStringOrThrow(str: unknown): string {
+ if (typeof str !== "string") {
+ throw new Error(`Expected "string" - got ${typeof str}`);
+ }
+ return str;
+}
+import type { GetStaticProps } from "next";
+import { z } from "zod";
+
+const querySchema = z.object({
+ workflow: z.string(),
+});
+
+export const getStaticProps: GetStaticProps = (ctx) => {
+ const params = querySchema.safeParse(ctx.params);
+ console.log("Built workflow page:", params);
+ if (!params.success) return { notFound: true };
+
+ return {
+ props: {
+ workflow: params.data.workflow,
+ },
+ revalidate: 10, // seconds
+ };
+};
+import type { GetServerSideProps } from "next";
+
+import { csp } from "@lib/csp";
+
+export type WithNonceProps> = T & {
+ nonce?: string;
+};
+
+/**
+ * Make any getServerSideProps fn return the nonce so that it can be used by Components in the page to add any script tag.
+ * Note that if the Components are not adding any script tag then this is not needed. Even in absence of this, Document.getInitialProps would be able to generate nonce itself which it needs to add script tags common to all pages
+ * There is no harm in wrapping a `getServerSideProps` fn with this even if it doesn't add any script tag.
+ */
+export default function withNonce>(
+ getServerSideProps: GetServerSideProps
+): GetServerSideProps> {
+ return async (context) => {
+ const ssrResponse = await getServerSideProps(context);
+
+ if (!("props" in ssrResponse)) {
+ return ssrResponse;
+ }
+
+ const { nonce } = csp(context.req, context.res);
+
+ // Skip nonce property if it's not available instead of setting it to undefined because undefined can't be serialized.
+ const nonceProps = nonce
+ ? {
+ nonce,
+ }
+ : null;
+
+ // Helps in debugging that withNonce was used but a valid nonce couldn't be set
+ context.res.setHeader("x-csp", nonce ? "ssr" : "false");
+
+ return {
+ ...ssrResponse,
+ props: {
+ ...ssrResponse.props,
+ ...nonceProps,
+ },
+ };
+ };
+}
+export type WithLocaleProps> = T & {
+ newLocale: string;
+};
+import type { GetServerSidePropsContext } from "next";
+import { serverSideTranslations } from "next-i18next/serverSideTranslations";
+
+import { getLocale } from "@calcom/features/auth/lib/getLocale";
+import { getServerSession } from "@calcom/features/auth/lib/getServerSession";
+import prisma from "@calcom/prisma";
+
+import { ssrInit } from "@server/lib/ssr";
+
+export const getServerSideProps = async (context: GetServerSidePropsContext) => {
+ const { req } = context;
+
+ const session = await getServerSession({ req });
+
+ if (!session?.user?.id) {
+ return { redirect: { permanent: false, destination: "/auth/login" } };
+ }
+
+ const ssr = await ssrInit(context);
+
+ await ssr.viewer.me.prefetch();
+
+ const user = await prisma.user.findUnique({
+ where: {
+ id: session.user.id,
+ },
+ select: {
+ completedOnboarding: true,
+ teams: {
+ select: {
+ accepted: true,
+ team: {
+ select: {
+ id: true,
+ name: true,
+ logo: true,
+ },
+ },
+ },
+ },
+ },
+ });
+
+ if (!user) {
+ throw new Error("User from session not found");
+ }
+
+ if (user.completedOnboarding) {
+ return { redirect: { permanent: false, destination: "/event-types" } };
+ }
+ const locale = await getLocale(context.req);
+ return {
+ props: {
+ ...(await serverSideTranslations(locale, ["common"])),
+ trpcState: ssr.dehydrate(),
+ hasPendingInvites: user.teams.find((team) => team.accepted === false) ?? false,
+ },
+ };
+};
+import type { GetServerSidePropsContext } from "next";
+import { z } from "zod";
+
+import { getServerSession } from "@calcom/features/auth/lib/getServerSession";
+import { getBookingForReschedule, getMultipleDurationValue } from "@calcom/features/bookings/lib/get-booking";
+import type { GetBookingType } from "@calcom/features/bookings/lib/get-booking";
+import { getSlugOrRequestedSlug } from "@calcom/features/ee/organizations/lib/orgDomains";
+import { orgDomainConfig } from "@calcom/features/ee/organizations/lib/orgDomains";
+import slugify from "@calcom/lib/slugify";
+import prisma from "@calcom/prisma";
+import { RedirectType } from "@calcom/prisma/client";
+
+import { getTemporaryOrgRedirect } from "@lib/getTemporaryOrgRedirect";
+
+const paramsSchema = z.object({
+ type: z.string().transform((s) => slugify(s)),
+ slug: z.string().transform((s) => slugify(s)),
+});
+
+// Booker page fetches a tiny bit of data server side:
+// 1. Check if team exists, to show 404
+// 2. If rescheduling, get the booking details
+export const getServerSideProps = async (context: GetServerSidePropsContext) => {
+ const session = await getServerSession(context);
+ const { slug: teamSlug, type: meetingSlug } = paramsSchema.parse(context.params);
+ const { rescheduleUid, duration: queryDuration, isInstantMeeting: queryIsInstantMeeting } = context.query;
+ const { ssrInit } = await import("@server/lib/ssr");
+ const ssr = await ssrInit(context);
+ const { currentOrgDomain, isValidOrgDomain } = orgDomainConfig(context.req, context.params?.orgSlug);
+ const isOrgContext = currentOrgDomain && isValidOrgDomain;
+
+ if (!isOrgContext) {
+ const redirect = await getTemporaryOrgRedirect({
+ slugs: teamSlug,
+ redirectType: RedirectType.Team,
+ eventTypeSlug: meetingSlug,
+ currentQuery: context.query,
+ });
+
+ if (redirect) {
+ return redirect;
+ }
+ }
+
+ const team = await prisma.team.findFirst({
+ where: {
+ ...getSlugOrRequestedSlug(teamSlug),
+ parent: isValidOrgDomain && currentOrgDomain ? getSlugOrRequestedSlug(currentOrgDomain) : null,
+ },
+ select: {
+ id: true,
+ hideBranding: true,
+ },
+ });
+
+ if (!team) {
+ return {
+ notFound: true,
+ } as const;
+ }
+
+ let booking: GetBookingType | null = null;
+ if (rescheduleUid) {
+ booking = await getBookingForReschedule(`${rescheduleUid}`, session?.user?.id);
+ }
+
+ const org = isValidOrgDomain ? currentOrgDomain : null;
+ // We use this to both prefetch the query on the server,
+ // as well as to check if the event exist, so we c an show a 404 otherwise.
+ const eventData = await ssr.viewer.public.event.fetch({
+ username: teamSlug,
+ eventSlug: meetingSlug,
+ isTeamEvent: true,
+ org,
+ });
+
+ if (!eventData) {
+ return {
+ notFound: true,
+ } as const;
+ }
+
+ return {
+ props: {
+ entity: eventData.entity,
+ duration: getMultipleDurationValue(
+ eventData.metadata?.multipleDuration,
+ queryDuration,
+ eventData.length
+ ),
+ booking,
+ away: false,
+ user: teamSlug,
+ teamId: team.id,
+ slug: meetingSlug,
+ trpcState: ssr.dehydrate(),
+ isBrandingHidden: team?.hideBranding,
+ isInstantMeeting: eventData.isInstantEvent && queryIsInstantMeeting ? true : false,
+ themeBasis: null,
+ },
+ };
+};
+import type { GetServerSidePropsContext } from "next";
+
+import { orgDomainConfig } from "@calcom/features/ee/organizations/lib/orgDomains";
+import { getFeatureFlagMap } from "@calcom/features/flags/server/utils";
+import { getBookerBaseUrlSync } from "@calcom/lib/getBookerUrl/client";
+import logger from "@calcom/lib/logger";
+import { markdownToSafeHTML } from "@calcom/lib/markdownToSafeHTML";
+import { getTeamWithMembers } from "@calcom/lib/server/queries/teams";
+import slugify from "@calcom/lib/slugify";
+import { stripMarkdown } from "@calcom/lib/stripMarkdown";
+import prisma from "@calcom/prisma";
+import { RedirectType } from "@calcom/prisma/client";
+import { teamMetadataSchema } from "@calcom/prisma/zod-utils";
+
+import { getTemporaryOrgRedirect } from "@lib/getTemporaryOrgRedirect";
+
+import { ssrInit } from "@server/lib/ssr";
+
+const log = logger.getSubLogger({ prefix: ["team/[slug]"] });
+
+const getTheLastArrayElement = (value: ReadonlyArray | string | undefined): string | undefined => {
+ if (value === undefined || typeof value === "string") {
+ return value;
+ }
+
+ return value.at(-1);
+};
+
+export const getServerSideProps = async (context: GetServerSidePropsContext) => {
+ const slug = getTheLastArrayElement(context.query.slug) ?? getTheLastArrayElement(context.query.orgSlug);
+
+ const { isValidOrgDomain, currentOrgDomain } = orgDomainConfig(
+ context.req,
+ context.params?.orgSlug ?? context.query?.orgSlug
+ );
+ const isOrgContext = isValidOrgDomain && currentOrgDomain;
+
+ // Provided by Rewrite from next.config.js
+ const isOrgProfile = context.query?.isOrgProfile === "1";
+ const flags = await getFeatureFlagMap(prisma);
+ const isOrganizationFeatureEnabled = flags["organizations"];
+
+ log.debug("getServerSideProps", {
+ isOrgProfile,
+ isOrganizationFeatureEnabled,
+ isValidOrgDomain,
+ currentOrgDomain,
+ });
+
+ const team = await getTeamWithMembers({
+ slug: slugify(slug ?? ""),
+ orgSlug: currentOrgDomain,
+ isTeamView: true,
+ isOrgView: isValidOrgDomain && isOrgProfile,
+ });
+
+ if (!isOrgContext && slug) {
+ const redirect = await getTemporaryOrgRedirect({
+ slugs: slug,
+ redirectType: RedirectType.Team,
+ eventTypeSlug: null,
+ currentQuery: context.query,
+ });
+
+ if (redirect) {
+ return redirect;
+ }
+ }
+
+ const ssr = await ssrInit(context);
+ const metadata = teamMetadataSchema.parse(team?.metadata ?? {});
+
+ // Taking care of sub-teams and orgs
+ if (
+ (!isValidOrgDomain && team?.parent) ||
+ (!isValidOrgDomain && !!metadata?.isOrganization) ||
+ !isOrganizationFeatureEnabled
+ ) {
+ return { notFound: true } as const;
+ }
+
+ if (!team || (team.parent && !team.parent.slug)) {
+ const unpublishedTeam = await prisma.team.findFirst({
+ where: {
+ ...(team?.parent
+ ? { id: team.parent.id }
+ : {
+ metadata: {
+ path: ["requestedSlug"],
+ equals: slug,
+ },
+ }),
+ },
+ });
+
+ if (!unpublishedTeam) return { notFound: true } as const;
+
+ return {
+ props: {
+ isUnpublished: true,
+ team: { ...unpublishedTeam, createdAt: null },
+ trpcState: ssr.dehydrate(),
+ },
+ } as const;
+ }
+
+ team.eventTypes =
+ team.eventTypes?.map((type) => ({
+ ...type,
+ users: type.users.map((user) => ({
+ ...user,
+ avatar: `/${user.username}/avatar.png`,
+ })),
+ descriptionAsSafeHTML: markdownToSafeHTML(type.description),
+ })) ?? null;
+
+ const safeBio = markdownToSafeHTML(team.bio) || "";
+
+ const members = !team.isPrivate
+ ? team.members.map((member) => {
+ return {
+ name: member.name,
+ id: member.id,
+ bio: member.bio,
+ subteams: member.subteams,
+ username: member.username,
+ accepted: member.accepted,
+ organizationId: member.organizationId,
+ safeBio: markdownToSafeHTML(member.bio || ""),
+ bookerUrl: getBookerBaseUrlSync(member.organization?.slug || ""),
+ };
+ })
+ : [];
+
+ const markdownStrippedBio = stripMarkdown(team?.bio || "");
+
+ const { inviteToken: _inviteToken, ...serializableTeam } = team;
+
+ return {
+ props: {
+ team: { ...serializableTeam, safeBio, members, metadata },
+ themeBasis: serializableTeam.slug,
+ trpcState: ssr.dehydrate(),
+ markdownStrippedBio,
+ isValidOrgDomain,
+ currentOrgDomain,
+ },
+ } as const;
+};
+import { useCompatSearchParams } from "@calcom/lib/hooks/useCompatSearchParams";
+
+export function useToggleQuery(name: string) {
+ const searchParams = useCompatSearchParams();
+
+ return {
+ isOn: searchParams?.get(name) === "1",
+ };
+}
+// returns query object same as ctx.query but for app dir
+export const getQuery = (url: string, params: Record) => {
+ if (!url.length) {
+ return params;
+ }
+
+ const { searchParams } = new URL(url);
+ const searchParamsObj = Object.fromEntries(searchParams.entries());
+
+ return { ...searchParamsObj, ...params };
+};
+import type { GetServerSidePropsContext } from "next";
+
+import { getServerSession } from "@calcom/features/auth/lib/getServerSession";
+
+import { ssrInit } from "@server/lib/ssr";
+
+export const getServerSideProps = async (context: GetServerSidePropsContext) => {
+ const ssr = await ssrInit(context);
+ await ssr.viewer.me.prefetch();
+ const session = await getServerSession({ req: context.req, res: context.res });
+ const token = Array.isArray(context.query?.token) ? context.query.token[0] : context.query?.token;
+
+ const callbackUrl = token ? `/teams?token=${encodeURIComponent(token)}` : null;
+
+ if (!session) {
+ return {
+ redirect: {
+ destination: callbackUrl ? `/auth/login?callbackUrl=${callbackUrl}` : "/auth/login",
+ permanent: false,
+ },
+ };
+ }
+
+ return { props: { trpcState: ssr.dehydrate() } };
+};
+import { TooltipProvider } from "@radix-ui/react-tooltip";
+import { TrpcProvider } from "app/_trpc/trpc-provider";
+import { dir } from "i18next";
+import type { Session } from "next-auth";
+import { SessionProvider, useSession } from "next-auth/react";
+import { EventCollectionProvider } from "next-collect/client";
+import { appWithTranslation, type SSRConfig } from "next-i18next";
+import { ThemeProvider } from "next-themes";
+import type { AppProps as NextAppProps } from "next/app";
+import type { ReadonlyURLSearchParams } from "next/navigation";
+import { useSearchParams } from "next/navigation";
+import { useEffect, type ReactNode } from "react";
+
+import { OrgBrandingProvider } from "@calcom/features/ee/organizations/context/provider";
+import DynamicHelpscoutProvider from "@calcom/features/ee/support/lib/helpscout/providerDynamic";
+import DynamicIntercomProvider from "@calcom/features/ee/support/lib/intercom/providerDynamic";
+import { FeatureProvider } from "@calcom/features/flags/context/provider";
+import { useFlags } from "@calcom/features/flags/hooks";
+import { MetaProvider } from "@calcom/ui";
+
+import useIsBookingPage from "@lib/hooks/useIsBookingPage";
+import type { WithNonceProps } from "@lib/withNonce";
+
+import { useViewerI18n } from "@components/I18nLanguageHandler";
+import type { PageWrapperProps } from "@components/PageWrapperAppDir";
+
+// Workaround for https://github.com/vercel/next.js/issues/8592
+export type AppProps = Omit<
+ NextAppProps<
+ WithNonceProps<{
+ themeBasis?: string;
+ session: Session;
+ }>
+ >,
+ "Component"
+> & {
+ Component: NextAppProps["Component"] & {
+ requiresLicense?: boolean;
+ isThemeSupported?: boolean;
+ isBookingPage?: boolean | ((arg: { router: NextAppProps["router"] }) => boolean);
+ getLayout?: (page: React.ReactElement) => ReactNode;
+ PageWrapper?: (props: AppProps) => JSX.Element;
+ };
+
+ /** Will be defined only is there was an error */
+ err?: Error;
+};
+
+const getEmbedNamespace = (searchParams: ReadonlyURLSearchParams) => {
+ // Mostly embed query param should be available on server. Use that there.
+ // Use the most reliable detection on client
+ return typeof window !== "undefined" ? window.getEmbedNamespace() : searchParams.get("embed") ?? null;
+};
+
+// @ts-expect-error appWithTranslation expects AppProps
+const AppWithTranslationHoc = appWithTranslation(({ children }) => <>{children}>);
+
+const CustomI18nextProvider = (props: { children: React.ReactElement; i18n?: SSRConfig }) => {
+ /**
+ * i18n should never be clubbed with other queries, so that it's caching can be managed independently.
+ **/
+ // @TODO
+
+ const session = useSession();
+
+ // window.document.documentElement.lang can be empty in some cases, for instance when we rendering GlobalError (not-found) page.
+ const locale =
+ session?.data?.user.locale ?? typeof window !== "undefined"
+ ? window.document.documentElement.lang || "en"
+ : "en";
+
+ useEffect(() => {
+ try {
+ // @ts-expect-error TS2790: The operand of a 'delete' operator must be optional.
+ delete window.document.documentElement["lang"];
+
+ window.document.documentElement.lang = locale;
+
+ // Next.js writes the locale to the same attribute
+ // https://github.com/vercel/next.js/blob/1609da2d9552fed48ab45969bdc5631230c6d356/packages/next/src/shared/lib/router/router.ts#L1786
+ // which can result in a race condition
+ // this property descriptor ensures this never happens
+ Object.defineProperty(window.document.documentElement, "lang", {
+ configurable: true,
+ // value: locale,
+ set: function (this) {
+ // empty setter on purpose
+ },
+ get: function () {
+ return locale;
+ },
+ });
+ } catch (error) {
+ console.error(error);
+
+ window.document.documentElement.lang = locale;
+ }
+ window.document.dir = dir(locale);
+ }, [locale]);
+
+ const clientViewerI18n = useViewerI18n(locale);
+ const i18n = clientViewerI18n.data?.i18n ?? props.i18n;
+
+ return (
+ // @ts-expect-error AppWithTranslationHoc expects AppProps
+
+ {props.children}
+
+ );
+};
+
+const enum ThemeSupport {
+ // e.g. Login Page
+ None = "none",
+ // Entire App except Booking Pages
+ App = "systemOnly",
+ // Booking Pages(including Routing Forms)
+ Booking = "userConfigured",
+}
+
+type CalcomThemeProps = Readonly<{
+ isBookingPage: boolean;
+ themeBasis: string | null;
+ nonce: string | undefined;
+ isThemeSupported: boolean;
+ children: React.ReactNode;
+}>;
+
+const CalcomThemeProvider = (props: CalcomThemeProps) => {
+ // Use namespace of embed to ensure same namespaced embed are displayed with same theme. This allows different embeds on the same website to be themed differently
+ // One such example is our Embeds Demo and Testing page at http://localhost:3100
+ // Having `getEmbedNamespace` defined on window before react initializes the app, ensures that embedNamespace is available on the first mount and can be used as part of storageKey
+
+ const searchParams = useSearchParams();
+ const embedNamespace = searchParams ? getEmbedNamespace(searchParams) : null;
+ const isEmbedMode = typeof embedNamespace === "string";
+
+ return (
+
+ {/* Embed Mode can be detected reliably only on client side here as there can be static generated pages as well which can't determine if it's embed mode at backend */}
+ {/* color-scheme makes background:transparent not work in iframe which is required by embed. */}
+ {typeof window !== "undefined" && !isEmbedMode && (
+
+ )}
+ {props.children}
+
+ );
+};
+
+/**
+ * The most important job for this fn is to generate correct storageKey for theme persistenc.
+ * `storageKey` is important because that key is listened for changes(using [`storage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/storage_event) event) and any pages opened will change it's theme based on that(as part of next-themes implementation).
+ * Choosing the right storageKey avoids theme flickering caused by another page using different theme
+ * So, we handle all the cases here namely,
+ * - Both Booking Pages, /free/30min and /pro/30min but configured with different themes but being operated together.
+ * - Embeds using different namespace. They can be completely themed different on the same page.
+ * - Embeds using the same namespace but showing different cal.com links with different themes
+ * - Embeds using the same namespace and showing same cal.com links with different themes(Different theme is possible for same cal.com link in case of embed because of theme config available in embed)
+ * - App has different theme then Booking Pages.
+ *
+ * All the above cases have one thing in common, which is the origin and thus localStorage is shared and thus `storageKey` is critical to avoid theme flickering.
+ *
+ * Some things to note:
+ * - There is a side effect of so many factors in `storageKey` that many localStorage keys will be created if a user goes through all these scenarios(e.g like booking a lot of different users)
+ * - Some might recommend disabling localStorage persistence but that doesn't give good UX as then we would default to light theme always for a few seconds before switching to dark theme(if that's the user's preference).
+ * - We can't disable [`storage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/storage_event) event handling as well because changing theme in one tab won't change the theme without refresh in other tabs. That's again a bad UX
+ * - Theme flickering becomes infinitely ongoing in case of embeds because of the browser's delay in processing `storage` event within iframes. Consider two embeds simulatenously opened with pages A and B. Note the timeline and keep in mind that it happened
+ * because 'setItem(A)' and 'Receives storageEvent(A)' allowed executing setItem(B) in b/w because of the delay.
+ * - t1 -> setItem(A) & Fires storageEvent(A) - On Page A) - Current State(A)
+ * - t2 -> setItem(B) & Fires storageEvent(B) - On Page B) - Current State(B)
+ * - t3 -> Receives storageEvent(A) & thus setItem(A) & thus fires storageEvent(A) (On Page B) - Current State(A)
+ * - t4 -> Receives storageEvent(B) & thus setItem(B) & thus fires storageEvent(B) (On Page A) - Current State(B)
+ * - ... and so on ...
+ */
+function getThemeProviderProps(props: {
+ isBookingPage: boolean;
+ themeBasis: string | null;
+ nonce: string | undefined;
+ isEmbedMode: boolean;
+ embedNamespace: string | null;
+ isThemeSupported: boolean;
+}) {
+ const themeSupport = props.isBookingPage
+ ? ThemeSupport.Booking
+ : // if isThemeSupported is explicitly false, we don't use theme there
+ props.isThemeSupported === false
+ ? ThemeSupport.None
+ : ThemeSupport.App;
+
+ const isBookingPageThemeSupportRequired = themeSupport === ThemeSupport.Booking;
+
+ if ((isBookingPageThemeSupportRequired || props.isEmbedMode) && !props.themeBasis) {
+ console.warn(
+ "`themeBasis` is required for booking page theme support. Not providing it will cause theme flicker."
+ );
+ }
+
+ const appearanceIdSuffix = props.themeBasis ? `:${props.themeBasis}` : "";
+ const forcedTheme = themeSupport === ThemeSupport.None ? "light" : undefined;
+ let embedExplicitlySetThemeSuffix = "";
+
+ if (typeof window !== "undefined") {
+ const embedTheme = window.getEmbedTheme();
+ if (embedTheme) {
+ embedExplicitlySetThemeSuffix = `:${embedTheme}`;
+ }
+ }
+
+ const storageKey = props.isEmbedMode
+ ? // Same Namespace, Same Organizer but different themes would still work seamless and not cause theme flicker
+ // Even though it's recommended to use different namespaces when you want to theme differently on the same page but if the embeds are on different pages, the problem can still arise
+ `embed-theme-${props.embedNamespace}${appearanceIdSuffix}${embedExplicitlySetThemeSuffix}`
+ : themeSupport === ThemeSupport.App
+ ? "app-theme"
+ : isBookingPageThemeSupportRequired
+ ? `booking-theme${appearanceIdSuffix}`
+ : undefined;
+
+ return {
+ storageKey,
+ forcedTheme,
+ themeSupport,
+ nonce: props.nonce,
+ enableColorScheme: false,
+ enableSystem: themeSupport !== ThemeSupport.None,
+ // next-themes doesn't listen to changes on storageKey. So we need to force a re-render when storageKey changes
+ // This is how login to dashboard soft navigation changes theme from light to dark
+ key: storageKey,
+ attribute: "class",
+ };
+}
+
+function FeatureFlagsProvider({ children }: { children: React.ReactNode }) {
+ const flags = useFlags();
+ return {children};
+}
+
+function useOrgBrandingValues() {
+ const session = useSession();
+ return session?.data?.user.org;
+}
+
+function OrgBrandProvider({ children }: { children: React.ReactNode }) {
+ const orgBrand = useOrgBrandingValues();
+ return {children};
+}
+
+const AppProviders = (props: PageWrapperProps) => {
+ // No need to have intercom on public pages - Good for Page Performance
+ const isBookingPage = useIsBookingPage();
+
+ const RemainingProviders = (
+
+
+
+
+
+ {/* color-scheme makes background:transparent not work which is required by embed. We need to ensure next-theme adds color-scheme to `body` instead of `html`(https://github.com/pacocoursey/next-themes/blob/main/src/index.tsx#L74). Once that's done we can enable color-scheme support */}
+
+
+
+ {props.children}
+
+
+
+
+
+
+
+
+ );
+
+ if (isBookingPage) {
+ return RemainingProviders;
+ }
+
+ return (
+
+ {RemainingProviders}
+
+ );
+};
+
+export default AppProviders;
+import type { GetServerSidePropsContext } from "next";
+import { z } from "zod";
+
+import { AppCategories } from "@calcom/prisma/enums";
+
+export type querySchemaType = z.infer;
+
+export const querySchema = z.object({
+ category: z.nativeEnum(AppCategories),
+});
+
+export async function getServerSideProps(ctx: GetServerSidePropsContext) {
+ // get return-to cookie and redirect if needed
+ const { cookies } = ctx.req;
+
+ const returnTo = cookies["return-to"];
+
+ if (cookies && returnTo) {
+ ctx.res.setHeader("Set-Cookie", "return-to=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT");
+ const redirect = {
+ redirect: {
+ destination: `${returnTo}`,
+ permanent: false,
+ },
+ } as const;
+
+ return redirect;
+ }
+
+ const params = querySchema.safeParse(ctx.params);
+
+ if (!params.success) {
+ const notFound = { notFound: true } as const;
+
+ return notFound;
+ }
+
+ return {
+ props: {
+ category: params.data.category,
+ },
+ };
+}
+export async function getServerSideProps() {
+ return { redirect: { permanent: false, destination: "/apps/installed/calendar" } };
+}
+import type { GetServerSidePropsContext } from "next";
+
+import { getAppRegistry, getAppRegistryWithCredentials } from "@calcom/app-store/_appRegistry";
+import { getServerSession } from "@calcom/features/auth/lib/getServerSession";
+import getUserAdminTeams from "@calcom/features/ee/teams/lib/getUserAdminTeams";
+import type { UserAdminTeams } from "@calcom/features/ee/teams/lib/getUserAdminTeams";
+import type { AppCategories } from "@calcom/prisma/enums";
+
+import { ssrInit } from "@server/lib/ssr";
+
+export const getServerSideProps = async (context: GetServerSidePropsContext) => {
+ const { req } = context;
+
+ const ssr = await ssrInit(context);
+
+ const session = await getServerSession({ req });
+
+ let appStore, userAdminTeams: UserAdminTeams;
+ if (session?.user?.id) {
+ userAdminTeams = await getUserAdminTeams({ userId: session.user.id, getUserInfo: true });
+ appStore = await getAppRegistryWithCredentials(session.user.id, userAdminTeams);
+ } else {
+ appStore = await getAppRegistry();
+ userAdminTeams = [];
+ }
+
+ const categoryQuery = appStore.map(({ categories }) => ({
+ categories: categories || [],
+ }));
+ const categories = categoryQuery.reduce((c, app) => {
+ for (const category of app.categories) {
+ c[category] = c[category] ? c[category] + 1 : 1;
+ }
+ return c;
+ }, {} as Record);
+
+ return {
+ props: {
+ categories: Object.entries(categories)
+ .map(([name, count]): { name: AppCategories; count: number } => ({
+ name: name as AppCategories,
+ count,
+ }))
+ .sort(function (a, b) {
+ return b.count - a.count;
+ }),
+ appStore,
+ userAdminTeams,
+ trpcState: ssr.dehydrate(),
+ },
+ };
+};
+import type { GetStaticPropsContext } from "next";
+
+import { getAppRegistry } from "@calcom/app-store/_appRegistry";
+import prisma from "@calcom/prisma";
+import type { AppCategories } from "@calcom/prisma/enums";
+
+export const getStaticProps = async (context: GetStaticPropsContext) => {
+ const category = context.params?.category as AppCategories;
+
+ const appQuery = await prisma.app.findMany({
+ where: {
+ categories: {
+ has: category,
+ },
+ },
+ select: {
+ slug: true,
+ },
+ });
+
+ const dbAppsSlugs = appQuery.map((category) => category.slug);
+
+ const appStore = await getAppRegistry();
+
+ const apps = appStore.filter((app) => dbAppsSlugs.includes(app.slug));
+ return {
+ props: {
+ apps,
+ },
+ };
+};
+import type { GetServerSidePropsContext } from "next";
+
+import { getAppRegistry, getAppRegistryWithCredentials } from "@calcom/app-store/_appRegistry";
+import { getServerSession } from "@calcom/features/auth/lib/getServerSession";
+
+import { ssrInit } from "@server/lib/ssr";
+
+export const getServerSideProps = async (context: GetServerSidePropsContext) => {
+ const { req } = context;
+
+ const ssr = await ssrInit(context);
+
+ const session = await getServerSession({ req });
+
+ let appStore;
+ if (session?.user?.id) {
+ appStore = await getAppRegistryWithCredentials(session.user.id);
+ } else {
+ appStore = await getAppRegistry();
+ }
+
+ const categories = appStore.reduce((c, app) => {
+ for (const category of app.categories) {
+ c[category] = c[category] ? c[category] + 1 : 1;
+ }
+ return c;
+ }, {} as Record);
+
+ return {
+ props: {
+ categories: Object.entries(categories).map(([name, count]) => ({ name, count })),
+ trpcState: ssr.dehydrate(),
+ },
+ };
+};
+import fs from "fs";
+import matter from "gray-matter";
+import MarkdownIt from "markdown-it";
+import type { GetStaticPropsContext } from "next";
+import path from "path";
+import { z } from "zod";
+
+import { getAppWithMetadata } from "@calcom/app-store/_appRegistry";
+import { getAppAssetFullPath } from "@calcom/app-store/getAppAssetFullPath";
+import { IS_PRODUCTION } from "@calcom/lib/constants";
+import prisma from "@calcom/prisma";
+
+const md = new MarkdownIt("default", { html: true, breaks: true });
+
+export const sourceSchema = z.object({
+ content: z.string(),
+ data: z.object({
+ description: z.string().optional(),
+ items: z
+ .array(
+ z.union([
+ z.string(),
+ z.object({
+ iframe: z.object({ src: z.string() }),
+ }),
+ ])
+ )
+ .optional(),
+ }),
+});
+
+export const getStaticProps = async (ctx: GetStaticPropsContext) => {
+ if (typeof ctx.params?.slug !== "string") return { notFound: true } as const;
+
+ const appMeta = await getAppWithMetadata({
+ slug: ctx.params?.slug,
+ });
+
+ const appFromDb = await prisma.app.findUnique({
+ where: { slug: ctx.params.slug.toLowerCase() },
+ });
+
+ const isAppAvailableInFileSystem = appMeta;
+ const isAppDisabled = isAppAvailableInFileSystem && (!appFromDb || !appFromDb.enabled);
+
+ if (!IS_PRODUCTION && isAppDisabled) {
+ return {
+ props: {
+ isAppDisabled: true as const,
+ data: {
+ ...appMeta,
+ },
+ },
+ };
+ }
+
+ if (!appFromDb || !appMeta || isAppDisabled) return { notFound: true } as const;
+
+ const isTemplate = appMeta.isTemplate;
+ const appDirname = path.join(isTemplate ? "templates" : "", appFromDb.dirName);
+ const README_PATH = path.join(process.cwd(), "..", "..", `packages/app-store/${appDirname}/DESCRIPTION.md`);
+ const postFilePath = path.join(README_PATH);
+ let source = "";
+
+ try {
+ source = fs.readFileSync(postFilePath).toString();
+ source = source.replace(/{DESCRIPTION}/g, appMeta.description);
+ } catch (error) {
+ /* If the app doesn't have a README we fallback to the package description */
+ console.log(`No DESCRIPTION.md provided for: ${appDirname}`);
+ source = appMeta.description;
+ }
+
+ const result = matter(source);
+ const { content, data } = sourceSchema.parse({ content: result.content, data: result.data });
+ if (data.items) {
+ data.items = data.items.map((item) => {
+ if (typeof item === "string") {
+ return getAppAssetFullPath(item, {
+ dirName: appMeta.dirName,
+ isTemplate: appMeta.isTemplate,
+ });
+ }
+ return item;
+ });
+ }
+ return {
+ props: {
+ isAppDisabled: false as const,
+ source: { content, data },
+ data: appMeta,
+ },
+ };
+};
+import type { GetServerSidePropsContext } from "next";
+import { z } from "zod";
+
+import { getServerSession } from "@calcom/features/auth/lib/getServerSession";
+import { getBookingForReschedule, getMultipleDurationValue } from "@calcom/features/bookings/lib/get-booking";
+import type { GetBookingType } from "@calcom/features/bookings/lib/get-booking";
+import { orgDomainConfig } from "@calcom/features/ee/organizations/lib/orgDomains";
+import slugify from "@calcom/lib/slugify";
+import prisma from "@calcom/prisma";
+
+import type { inferSSRProps } from "@lib/types/inferSSRProps";
+import type { EmbedProps } from "@lib/withEmbedSsr";
+
+export type PageProps = inferSSRProps & EmbedProps;
+
+async function getUserPageProps(context: GetServerSidePropsContext) {
+ const session = await getServerSession(context);
+ const { link, slug } = paramsSchema.parse(context.params);
+ const { rescheduleUid, duration: queryDuration } = context.query;
+ const { currentOrgDomain, isValidOrgDomain } = orgDomainConfig(context.req);
+ const org = isValidOrgDomain ? currentOrgDomain : null;
+
+ const { ssrInit } = await import("@server/lib/ssr");
+ const ssr = await ssrInit(context);
+
+ const hashedLink = await prisma.hashedLink.findUnique({
+ where: {
+ link,
+ },
+ select: {
+ eventTypeId: true,
+ eventType: {
+ select: {
+ users: {
+ select: {
+ username: true,
+ },
+ },
+ team: {
+ select: {
+ id: true,
+ },
+ },
+ },
+ },
+ },
+ });
+
+ const username = hashedLink?.eventType.users[0]?.username;
+
+ const notFound = {
+ notFound: true,
+ } as const;
+
+ if (!hashedLink || !username) {
+ return notFound;
+ }
+
+ const user = await prisma.user.findFirst({
+ where: {
+ username,
+ organization: isValidOrgDomain
+ ? {
+ slug: currentOrgDomain,
+ }
+ : null,
+ },
+ select: {
+ away: true,
+ hideBranding: true,
+ },
+ });
+
+ if (!user) {
+ return notFound;
+ }
+
+ let booking: GetBookingType | null = null;
+ if (rescheduleUid) {
+ booking = await getBookingForReschedule(`${rescheduleUid}`, session?.user?.id);
+ }
+
+ const isTeamEvent = !!hashedLink.eventType?.team?.id;
+
+ // We use this to both prefetch the query on the server,
+ // as well as to check if the event exist, so we c an show a 404 otherwise.
+ const eventData = await ssr.viewer.public.event.fetch({ username, eventSlug: slug, isTeamEvent, org });
+
+ if (!eventData) {
+ return notFound;
+ }
+
+ return {
+ props: {
+ entity: eventData.entity,
+ duration: getMultipleDurationValue(
+ eventData.metadata?.multipleDuration,
+ queryDuration,
+ eventData.length
+ ),
+ booking,
+ away: user?.away,
+ user: username,
+ slug,
+ trpcState: ssr.dehydrate(),
+ isBrandingHidden: user?.hideBranding,
+ // Sending the team event from the server, because this template file
+ // is reused for both team and user events.
+ isTeamEvent,
+ hashedLink: link,
+ },
+ };
+}
+
+const paramsSchema = z.object({ link: z.string(), slug: z.string().transform((s) => slugify(s)) });
+
+// Booker page fetches a tiny bit of data server side, to determine early
+// whether the page should show an away state or dynamic booking not allowed.
+export const getServerSideProps = async (context: GetServerSidePropsContext) => {
+ return await getUserPageProps(context);
+};
+import type { GetServerSideProps, GetServerSidePropsContext, GetServerSidePropsResult } from "next";
+
+import { WEBAPP_URL } from "@calcom/lib/constants";
+
+export type EmbedProps = {
+ isEmbed?: boolean;
+};
+
+export default function withEmbedSsr(getServerSideProps: GetServerSideProps) {
+ return async (context: GetServerSidePropsContext): Promise> => {
+ const ssrResponse = await getServerSideProps(context);
+ const embed = context.query.embed;
+ const layout = context.query.layout;
+
+ if ("redirect" in ssrResponse) {
+ const destinationUrl = ssrResponse.redirect.destination;
+ let urlPrefix = "";
+
+ // Get the URL parsed from URL so that we can reliably read pathname and searchParams from it.
+ const destinationUrlObj = new URL(ssrResponse.redirect.destination, WEBAPP_URL);
+
+ // If it's a complete URL, use the origin as the prefix to ensure we redirect to the same domain.
+ if (destinationUrl.search(/^(http:|https:).*/) !== -1) {
+ urlPrefix = destinationUrlObj.origin;
+ } else {
+ // Don't use any prefix for relative URLs to ensure we stay on the same domain
+ urlPrefix = "";
+ }
+
+ const destinationQueryStr = destinationUrlObj.searchParams.toString();
+ // Make sure that redirect happens to /embed page and pass on embed query param as is for preserving Cal JS API namespace
+ const newDestinationUrl = `${urlPrefix}${destinationUrlObj.pathname}/embed?${
+ destinationQueryStr ? `${destinationQueryStr}&` : ""
+ }layout=${layout}&embed=${embed}`;
+ return {
+ ...ssrResponse,
+ redirect: {
+ ...ssrResponse.redirect,
+ destination: newDestinationUrl,
+ },
+ };
+ }
+
+ if (!("props" in ssrResponse)) {
+ return ssrResponse;
+ }
+ return {
+ ...ssrResponse,
+ props: {
+ ...ssrResponse.props,
+ isEmbed: true,
+ },
+ };
+ };
+}
+export function isBrandingHidden(hideBrandingSetting: boolean, hasPaidPlan: boolean) {
+ return hasPaidPlan && hideBrandingSetting;
+}
+"use client";
+
+import { useAutoAnimate } from "@formkit/auto-animate/react";
+import { Fragment, useState } from "react";
+import { z } from "zod";
+
+import { WipeMyCalActionButton } from "@calcom/app-store/wipemycalother/components";
+import dayjs from "@calcom/dayjs";
+import { FilterToggle } from "@calcom/features/bookings/components/FilterToggle";
+import { FiltersContainer } from "@calcom/features/bookings/components/FiltersContainer";
+import type { filterQuerySchema } from "@calcom/features/bookings/lib/useFilterQuery";
+import { useFilterQuery } from "@calcom/features/bookings/lib/useFilterQuery";
+import { ShellMain } from "@calcom/features/shell/Shell";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { useParamsWithFallback } from "@calcom/lib/hooks/useParamsWithFallback";
+import type { RouterOutputs } from "@calcom/trpc/react";
+import { trpc } from "@calcom/trpc/react";
+import type { HorizontalTabItemProps, VerticalTabItemProps } from "@calcom/ui";
+import { Alert, Button, EmptyScreen, HorizontalTabs } from "@calcom/ui";
+import { Calendar } from "@calcom/ui/components/icon";
+
+import { useInViewObserver } from "@lib/hooks/useInViewObserver";
+import useMeQuery from "@lib/hooks/useMeQuery";
+
+import BookingListItem from "@components/booking/BookingListItem";
+import SkeletonLoader from "@components/booking/SkeletonLoader";
+
+import { validStatuses } from "~/bookings/lib/validStatuses";
+
+type BookingListingStatus = z.infer>["status"];
+type BookingOutput = RouterOutputs["viewer"]["bookings"]["get"]["bookings"][0];
+
+type RecurringInfo = {
+ recurringEventId: string | null;
+ count: number;
+ firstDate: Date | null;
+ bookings: { [key: string]: Date[] };
+};
+
+const tabs: (VerticalTabItemProps | HorizontalTabItemProps)[] = [
+ {
+ name: "upcoming",
+ href: "/bookings/upcoming",
+ },
+ {
+ name: "unconfirmed",
+ href: "/bookings/unconfirmed",
+ },
+ {
+ name: "recurring",
+ href: "/bookings/recurring",
+ },
+ {
+ name: "past",
+ href: "/bookings/past",
+ },
+ {
+ name: "cancelled",
+ href: "/bookings/cancelled",
+ },
+];
+
+const descriptionByStatus: Record, string> = {
+ upcoming: "upcoming_bookings",
+ recurring: "recurring_bookings",
+ past: "past_bookings",
+ cancelled: "cancelled_bookings",
+ unconfirmed: "unconfirmed_bookings",
+};
+
+const querySchema = z.object({
+ status: z.enum(validStatuses),
+});
+
+export default function Bookings() {
+ const params = useParamsWithFallback();
+ const { data: filterQuery } = useFilterQuery();
+ const { status } = params ? querySchema.parse(params) : { status: "upcoming" as const };
+ const { t } = useLocale();
+ const user = useMeQuery().data;
+ const [isFiltersVisible, setIsFiltersVisible] = useState(false);
+
+ const query = trpc.viewer.bookings.get.useInfiniteQuery(
+ {
+ limit: 10,
+ filters: {
+ ...filterQuery,
+ status: filterQuery.status ?? status,
+ },
+ },
+ {
+ // first render has status `undefined`
+ enabled: true,
+ getNextPageParam: (lastPage) => lastPage.nextCursor,
+ }
+ );
+
+ // Animate page (tab) transitions to look smoothing
+
+ const buttonInView = useInViewObserver(() => {
+ if (!query.isFetching && query.hasNextPage && query.status === "success") {
+ query.fetchNextPage();
+ }
+ });
+
+ const isEmpty = !query.data?.pages[0]?.bookings.length;
+
+ const shownBookings: Record = {};
+ const filterBookings = (booking: BookingOutput) => {
+ if (status === "recurring" || status == "unconfirmed" || status === "cancelled") {
+ if (!booking.recurringEventId) {
+ return true;
+ }
+ if (
+ shownBookings[booking.recurringEventId] !== undefined &&
+ shownBookings[booking.recurringEventId].length > 0
+ ) {
+ shownBookings[booking.recurringEventId].push(booking);
+ return false;
+ }
+ shownBookings[booking.recurringEventId] = [booking];
+ } else if (status === "upcoming") {
+ return (
+ dayjs(booking.startTime).tz(user?.timeZone).format("YYYY-MM-DD") !==
+ dayjs().tz(user?.timeZone).format("YYYY-MM-DD")
+ );
+ }
+ return true;
+ };
+
+ let recurringInfoToday: RecurringInfo | undefined;
+
+ const bookingsToday =
+ query.data?.pages.map((page) =>
+ page.bookings.filter((booking: BookingOutput) => {
+ recurringInfoToday = page.recurringInfo.find(
+ (info) => info.recurringEventId === booking.recurringEventId
+ );
+
+ return (
+ dayjs(booking.startTime).tz(user?.timeZone).format("YYYY-MM-DD") ===
+ dayjs().tz(user?.timeZone).format("YYYY-MM-DD")
+ );
+ })
+ )[0] || [];
+
+ const [animationParentRef] = useAutoAnimate();
+
+ return (
+
+
+
+
+
+
+
+
+
+ {query.status === "error" && (
+
+ )}
+ {(query.status === "pending" || query.isPaused) &&
}
+ {query.status === "success" && !isEmpty && (
+ <>
+ {!!bookingsToday.length && status === "upcoming" && (
+
+
+
{t("today")}
+
+
+
+
+ {bookingsToday.map((booking: BookingOutput) => (
+
+ ))}
+
+
+
+
+
+ )}
+
+
+
+
+ {query.data.pages.map((page, index) => (
+
+ {page.bookings.filter(filterBookings).map((booking: BookingOutput) => {
+ const recurringInfo = page.recurringInfo.find(
+ (info) => info.recurringEventId === booking.recurringEventId
+ );
+ return (
+
+ );
+ })}
+
+ ))}
+
+
+
+
+
+
+
+ >
+ )}
+ {query.status === "success" && isEmpty && (
+
+
+
+ )}
+
+
+
+
+ );
+}
+import { type GetStaticProps } from "next";
+import { z } from "zod";
+
+import { getTranslations } from "@server/lib/getTranslations";
+
+import { validStatuses } from "~/bookings/lib/validStatuses";
+
+const querySchema = z.object({
+ status: z.enum(validStatuses),
+});
+
+export const getStaticProps: GetStaticProps = async (ctx) => {
+ const params = querySchema.safeParse(ctx.params);
+ const i18n = await getTranslations(ctx);
+
+ if (!params.success) return { notFound: true };
+
+ return {
+ props: {
+ status: params.data.status,
+ i18n,
+ },
+ };
+};
+"use client";
+
+import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "@radix-ui/react-collapsible";
+import classNames from "classnames";
+import { createEvent } from "ics";
+import { useSession } from "next-auth/react";
+import Link from "next/link";
+import { usePathname, useRouter } from "next/navigation";
+import { useEffect, useState } from "react";
+import { RRule } from "rrule";
+import { z } from "zod";
+
+import BookingPageTagManager from "@calcom/app-store/BookingPageTagManager";
+import type { getEventLocationValue } from "@calcom/app-store/locations";
+import { getSuccessPageLocationMessage, guessEventLocationType } from "@calcom/app-store/locations";
+import { getEventTypeAppData } from "@calcom/app-store/utils";
+import type { nameObjectSchema } from "@calcom/core/event";
+import { getEventName } from "@calcom/core/event";
+import type { ConfigType } from "@calcom/dayjs";
+import dayjs from "@calcom/dayjs";
+import {
+ sdkActionManager,
+ useEmbedNonStylesConfig,
+ useIsBackgroundTransparent,
+ useIsEmbed,
+} from "@calcom/embed-core/embed-iframe";
+import { Price } from "@calcom/features/bookings/components/event-meta/Price";
+import { SMS_REMINDER_NUMBER_FIELD, SystemField } from "@calcom/features/bookings/lib/SystemField";
+import { APP_NAME } from "@calcom/lib/constants";
+import {
+ formatToLocalizedDate,
+ formatToLocalizedTime,
+ formatToLocalizedTimezone,
+} from "@calcom/lib/date-fns";
+import useGetBrandingColours from "@calcom/lib/getBrandColours";
+import { useCompatSearchParams } from "@calcom/lib/hooks/useCompatSearchParams";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { useRouterQuery } from "@calcom/lib/hooks/useRouterQuery";
+import useTheme from "@calcom/lib/hooks/useTheme";
+import { getEveryFreqFor } from "@calcom/lib/recurringStrings";
+import { getIs24hClockFromLocalStorage, isBrowserLocale24h } from "@calcom/lib/timeFormat";
+import { localStorage } from "@calcom/lib/webstorage";
+import { BookingStatus } from "@calcom/prisma/enums";
+import { bookingMetadataSchema } from "@calcom/prisma/zod-utils";
+import { Alert, Badge, Button, EmailInput, HeadSeo, useCalcomTheme } from "@calcom/ui";
+import { AlertCircle, Calendar, Check, ChevronLeft, ExternalLink, X } from "@calcom/ui/components/icon";
+
+import { timeZone } from "@lib/clock";
+
+import PageWrapper from "@components/PageWrapper";
+import CancelBooking from "@components/booking/CancelBooking";
+import EventReservationSchema from "@components/schemas/EventReservationSchema";
+
+import type { PageProps } from "./bookings-single-view.getServerSideProps";
+
+const stringToBoolean = z
+ .string()
+ .optional()
+ .transform((val) => val === "true");
+
+const querySchema = z.object({
+ uid: z.string(),
+ email: z.string().optional(),
+ eventTypeSlug: z.string().optional(),
+ cancel: stringToBoolean,
+ allRemainingBookings: stringToBoolean,
+ changes: stringToBoolean,
+ reschedule: stringToBoolean,
+ isSuccessBookingPage: stringToBoolean,
+ formerTime: z.string().optional(),
+ seatReferenceUid: z.string().optional(),
+});
+
+const useBrandColors = ({
+ brandColor,
+ darkBrandColor,
+}: {
+ brandColor?: string | null;
+ darkBrandColor?: string | null;
+}) => {
+ const brandTheme = useGetBrandingColours({
+ lightVal: brandColor,
+ darkVal: darkBrandColor,
+ });
+ useCalcomTheme(brandTheme);
+};
+
+export default function Success(props: PageProps) {
+ const { t } = useLocale();
+ const router = useRouter();
+ const routerQuery = useRouterQuery();
+ const pathname = usePathname();
+ const searchParams = useCompatSearchParams();
+ const { eventType, bookingInfo, requiresLoginToUpdate } = props;
+ const {
+ allRemainingBookings,
+ isSuccessBookingPage,
+ cancel: isCancellationMode,
+ formerTime,
+ email,
+ seatReferenceUid,
+ } = querySchema.parse(routerQuery);
+
+ const attendeeTimeZone = bookingInfo?.attendees.find((attendee) => attendee.email === email)?.timeZone;
+
+ const tz = props.tz ? props.tz : isSuccessBookingPage && attendeeTimeZone ? attendeeTimeZone : timeZone();
+
+ const location = bookingInfo.location as ReturnType;
+ let rescheduleLocation: string | undefined;
+ if (
+ typeof bookingInfo.responses?.location === "object" &&
+ "optionValue" in bookingInfo.responses.location
+ ) {
+ rescheduleLocation = bookingInfo.responses.location.optionValue;
+ }
+
+ const locationVideoCallUrl: string | undefined = bookingMetadataSchema.parse(
+ bookingInfo?.metadata || {}
+ )?.videoCallUrl;
+
+ const status = bookingInfo?.status;
+ const reschedule = bookingInfo.status === BookingStatus.ACCEPTED;
+ const cancellationReason = bookingInfo.cancellationReason || bookingInfo.rejectionReason;
+
+ const attendees = bookingInfo?.attendees;
+
+ const isGmail = !!attendees.find((attendee) => attendee.email.includes("gmail.com"));
+
+ const [is24h, setIs24h] = useState(
+ props?.userTimeFormat ? props.userTimeFormat === 24 : isBrowserLocale24h()
+ );
+ const { data: session } = useSession();
+
+ const [date, setDate] = useState(dayjs.utc(bookingInfo.startTime));
+
+ const isBackgroundTransparent = useIsBackgroundTransparent();
+ const isEmbed = useIsEmbed();
+ const shouldAlignCentrallyInEmbed = useEmbedNonStylesConfig("align") !== "left";
+ const shouldAlignCentrally = !isEmbed || shouldAlignCentrallyInEmbed;
+ const [calculatedDuration, setCalculatedDuration] = useState(undefined);
+
+ function setIsCancellationMode(value: boolean) {
+ const _searchParams = new URLSearchParams(searchParams ?? undefined);
+
+ if (value) {
+ _searchParams.set("cancel", "true");
+ } else {
+ if (_searchParams.get("cancel")) {
+ _searchParams.delete("cancel");
+ }
+ }
+
+ router.replace(`${pathname}?${_searchParams.toString()}`);
+ }
+
+ let evtName = eventType.eventName;
+ if (eventType.isDynamic && bookingInfo.responses?.title) {
+ evtName = bookingInfo.responses.title as string;
+ }
+ const eventNameObject = {
+ attendeeName: bookingInfo.responses.name as z.infer | string,
+ eventType: eventType.title,
+ eventName: evtName,
+ host: props.profile.name || "Nameless",
+ location: location,
+ bookingFields: bookingInfo.responses,
+ t,
+ };
+
+ const giphyAppData = getEventTypeAppData(eventType, "giphy");
+ const giphyImage = giphyAppData?.thankYouPage;
+
+ const eventName = getEventName(eventNameObject, true);
+ // Confirmation can be needed in two cases as of now
+ // - Event Type has require confirmation option enabled always
+ // - EventType has conditionally enabled confirmation option based on how far the booking is scheduled.
+ // - It's a paid event and payment is pending.
+ const needsConfirmation = bookingInfo.status === BookingStatus.PENDING && eventType.requiresConfirmation;
+ const userIsOwner = !!(session?.user?.id && eventType.owner?.id === session.user.id);
+ const isLoggedIn = session?.user;
+ const isCancelled =
+ status === "CANCELLED" ||
+ status === "REJECTED" ||
+ (!!seatReferenceUid &&
+ !bookingInfo.seatsReferences.some((reference) => reference.referenceUid === seatReferenceUid));
+
+ // const telemetry = useTelemetry();
+ /* useEffect(() => {
+ if (top !== window) {
+ //page_view will be collected automatically by _middleware.ts
+ telemetry.event(telemetryEventTypes.embedView, collectPageParameters("/booking"));
+ }
+ }, [telemetry]); */
+
+ useEffect(() => {
+ const users = eventType.users;
+ if (!sdkActionManager) return;
+ // TODO: We should probably make it consistent with Webhook payload. Some data is not available here, as and when requirement comes we can add
+ sdkActionManager.fire("bookingSuccessful", {
+ booking: bookingInfo,
+ eventType,
+ date: date.toString(),
+ duration: calculatedDuration,
+ organizer: {
+ name: users[0].name || "Nameless",
+ email: users[0].email || "Email-less",
+ timeZone: users[0].timeZone,
+ },
+ confirmed: !needsConfirmation,
+ // TODO: Add payment details
+ });
+ setDate(
+ date.tz(localStorage.getItem("timeOption.preferredTimeZone") || dayjs.tz.guess() || "Europe/London")
+ );
+ setIs24h(props?.userTimeFormat ? props.userTimeFormat === 24 : !!getIs24hClockFromLocalStorage());
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [eventType, needsConfirmation]);
+
+ useEffect(() => {
+ setCalculatedDuration(dayjs(bookingInfo.endTime).diff(dayjs(bookingInfo.startTime), "minutes"));
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, []);
+
+ function eventLink(): string {
+ const optional: { location?: string } = {};
+ if (locationVideoCallUrl) {
+ optional["location"] = locationVideoCallUrl;
+ }
+
+ const event = createEvent({
+ start: [
+ date.toDate().getUTCFullYear(),
+ (date.toDate().getUTCMonth() as number) + 1,
+ date.toDate().getUTCDate(),
+ date.toDate().getUTCHours(),
+ date.toDate().getUTCMinutes(),
+ ],
+ startInputType: "utc",
+ title: eventName,
+ description: eventType.description ? eventType.description : undefined,
+ /** formatted to required type of description ^ */
+ duration: {
+ minutes: calculatedDuration,
+ },
+ ...optional,
+ });
+
+ if (event.error) {
+ throw event.error;
+ }
+
+ return encodeURIComponent(event.value ? event.value : false);
+ }
+
+ function getTitle(): string {
+ const titleSuffix = props.recurringBookings ? "_recurring" : "";
+ if (isCancelled) {
+ return "";
+ }
+ if (needsConfirmation) {
+ if (props.profile.name !== null) {
+ return t(`user_needs_to_confirm_or_reject_booking${titleSuffix}`, {
+ user: props.profile.name,
+ });
+ }
+ return t(`needs_to_be_confirmed_or_rejected${titleSuffix}`);
+ }
+ return t(`emailed_you_and_attendees${titleSuffix}`);
+ }
+
+ // This is a weird case where the same route can be opened in booking flow as a success page or as a booking detail page from the app
+ // As Booking Page it has to support configured theme, but as booking detail page it should not do any change. Let Shell.tsx handle it.
+ useTheme(isSuccessBookingPage ? props.profile.theme : "system");
+ useBrandColors({
+ brandColor: props.profile.brandColor,
+ darkBrandColor: props.profile.darkBrandColor,
+ });
+ const title = t(
+ `booking_${needsConfirmation ? "submitted" : "confirmed"}${props.recurringBookings ? "_recurring" : ""}`
+ );
+
+ const locationToDisplay = getSuccessPageLocationMessage(
+ locationVideoCallUrl ? locationVideoCallUrl : location,
+ t,
+ bookingInfo.status
+ );
+
+ const rescheduleLocationToDisplay = getSuccessPageLocationMessage(
+ rescheduleLocation ?? "",
+ t,
+ bookingInfo.status
+ );
+
+ const providerName = guessEventLocationType(location)?.label;
+ const rescheduleProviderName = guessEventLocationType(rescheduleLocation)?.label;
+
+ return (
+
+ {!isEmbed && (
+
+ )}
+ {isLoggedIn && !isEmbed && (
+
+
+ {t("back_to_bookings")}
+
+
+ )}
+
+
+
+
+
+
+
+
+ {giphyImage && !needsConfirmation && !isCancelled && (
+ // eslint-disable-next-line @next/next/no-img-element
+

+ )}
+ {!giphyImage && !needsConfirmation && !isCancelled && (
+
+ )}
+ {needsConfirmation && !isCancelled &&
}
+ {isCancelled &&
}
+
+
+
+ {needsConfirmation && !isCancelled
+ ? props.recurringBookings
+ ? t("booking_submitted_recurring")
+ : t("booking_submitted")
+ : isCancelled
+ ? seatReferenceUid
+ ? t("no_longer_attending")
+ : t("event_cancelled")
+ : props.recurringBookings
+ ? t("meeting_is_scheduled_recurring")
+ : t("meeting_is_scheduled")}
+
+
+ {props.paymentStatus &&
+ (bookingInfo.status === BookingStatus.CANCELLED ||
+ bookingInfo.status === BookingStatus.REJECTED) && (
+
+ {!props.paymentStatus.success &&
+ !props.paymentStatus.refunded &&
+ t("booking_with_payment_cancelled")}
+ {props.paymentStatus.success &&
+ !props.paymentStatus.refunded &&
+ t("booking_with_payment_cancelled_already_paid")}
+ {props.paymentStatus.refunded && t("booking_with_payment_cancelled_refunded")}
+
+ )}
+
+
+ {(isCancelled || reschedule) && cancellationReason && (
+ <>
+
+ {isCancelled ? t("reason") : t("reschedule_reason")}
+
+
{cancellationReason}
+ >
+ )}
+
{t("what")}
+
+ {eventName}
+
+
{t("when")}
+
+ {reschedule && !!formerTime && (
+
+
+
+ )}
+
+
+ {(bookingInfo?.user || bookingInfo?.attendees) && (
+ <>
+
{t("who")}
+
+ {bookingInfo?.user && (
+
+
+
+ {bookingInfo.user.name}
+
+ {t("Host")}
+
+
{bookingInfo.user.email}
+
+ )}
+ {bookingInfo?.attendees.map((attendee) => (
+
+ {attendee.name && (
+
{attendee.name}
+ )}
+
{attendee.email}
+
+ ))}
+
+ >
+ )}
+ {locationToDisplay && !isCancelled && (
+ <>
+
{t("where")}
+
+ {!rescheduleLocation || locationToDisplay === rescheduleLocationToDisplay ? (
+
+ ) : (
+ <>
+ {!!formerTime && (
+
+ )}
+
+
+ >
+ )}
+
+ >
+ )}
+ {props.paymentStatus && (
+ <>
+
+ {props.paymentStatus.paymentOption === "HOLD"
+ ? t("complete_your_booking")
+ : t("payment")}
+
+
+ >
+ )}
+ {bookingInfo?.description && (
+ <>
+
{t("additional_notes")}
+
+
{bookingInfo.description}
+
+ >
+ )}
+
+
+ {Object.entries(bookingInfo.responses).map(([name, response]) => {
+ const field = eventType.bookingFields.find((field) => field.name === name);
+ // We show location in the "where" section
+ // We show Booker Name, Emails and guests in Who section
+ // We show notes in additional notes section
+ // We show rescheduleReason at the top
+ if (!field) return null;
+ const isSystemField = SystemField.safeParse(field.name);
+ // SMS_REMINDER_NUMBER_FIELD is a system field but doesn't have a dedicated place in the UI. So, it would be shown through the following responses list
+ if (isSystemField.success && field.name !== SMS_REMINDER_NUMBER_FIELD) return null;
+
+ const label = field.label || t(field.defaultLabel || "");
+
+ return (
+ <>
+
{label}
+
+ {field.type === "boolean" ? (response ? t("yes") : t("no")) : response.toString()}
+
+ >
+ );
+ })}
+
+
+ {requiresLoginToUpdate && (
+ <>
+
+
+ {t("need_to_make_a_change")}
+ {/* Login button but redirect to here */}
+
+
+
+ {t("login")}
+
+
+
+
+ >
+ )}
+ {!requiresLoginToUpdate &&
+ (!needsConfirmation || !userIsOwner) &&
+ !isCancelled &&
+ (!isCancellationMode ? (
+ <>
+
+
+ {t("need_to_make_a_change")}
+
+ <>
+ {!props.recurringBookings && (
+
+
+
+ {t("reschedule")}
+
+
+ {t("or_lowercase")}
+
+ )}
+
+
+ >
+
+ >
+ ) : (
+ <>
+
+
+ >
+ ))}
+ {userIsOwner &&
+ !needsConfirmation &&
+ !isCancellationMode &&
+ !isCancelled &&
+ !!calculatedDuration && (
+ <>
+
+
+
+ {t("add_to_calendar")}
+
+
+
+
+ Google
+
+
+
+
+
+ Microsoft Outlook
+
+
+
+
+
+ Microsoft Office
+
+
+
+
+
+ {t("other")}
+
+
+
+
+
+ >
+ )}
+
+ {session === null && !(userIsOwner || props.hideBranding) && (
+ <>
+
+
+ >
+ )}
+
+ {isGmail && (
+
+ {t("google_new_spam_policy")}
+
+
+ {t("resolve")}
+
+
+
+ }
+ CustomIcon={AlertCircle}
+ customIconColor="text-attention dark:text-orange-200"
+ />
+ )}
+
+
+
+
+
+ );
+}
+
+const DisplayLocation = ({
+ locationToDisplay,
+ providerName,
+ className,
+}: {
+ locationToDisplay: string;
+ providerName?: string;
+ className?: string;
+}) =>
+ locationToDisplay.startsWith("http") ? (
+
+ {providerName || "Link"}
+
+
+ ) : (
+ {locationToDisplay}
+ );
+
+Success.isBookingPage = true;
+Success.PageWrapper = PageWrapper;
+
+type RecurringBookingsProps = {
+ eventType: PageProps["eventType"];
+ recurringBookings: PageProps["recurringBookings"];
+ date: dayjs.Dayjs;
+ duration: number | undefined;
+ is24h: boolean;
+ allRemainingBookings: boolean;
+ isCancelled: boolean;
+ tz: string;
+};
+
+function RecurringBookings({
+ eventType,
+ recurringBookings,
+ duration,
+ date,
+ allRemainingBookings,
+ is24h,
+ isCancelled,
+ tz,
+}: RecurringBookingsProps) {
+ const [moreEventsVisible, setMoreEventsVisible] = useState(false);
+ const {
+ t,
+ i18n: { language },
+ } = useLocale();
+ const recurringBookingsSorted = recurringBookings
+ ? recurringBookings.sort((a: ConfigType, b: ConfigType) => (dayjs(a).isAfter(dayjs(b)) ? 1 : -1))
+ : null;
+
+ if (!duration) return null;
+
+ if (recurringBookingsSorted && allRemainingBookings) {
+ return (
+ <>
+ {eventType.recurringEvent?.count && (
+
+ {getEveryFreqFor({
+ t,
+ recurringEvent: eventType.recurringEvent,
+ recurringCount: recurringBookings?.length ?? undefined,
+ })}
+
+ )}
+ {eventType.recurringEvent?.count &&
+ recurringBookingsSorted.slice(0, 4).map((dateStr: string, idx: number) => (
+
+ {formatToLocalizedDate(dayjs.tz(dateStr, tz), language, "full", tz)}
+
+ {formatToLocalizedTime(dayjs(dateStr), language, undefined, !is24h, tz)} -{" "}
+ {formatToLocalizedTime(dayjs(dateStr).add(duration, "m"), language, undefined, !is24h, tz)}{" "}
+
+ ({formatToLocalizedTimezone(dayjs(dateStr), language, tz)})
+
+
+ ))}
+ {recurringBookingsSorted.length > 4 && (
+ setMoreEventsVisible(!moreEventsVisible)}>
+
+ + {t("plus_more", { count: recurringBookingsSorted.length - 4 })}
+
+
+ {eventType.recurringEvent?.count &&
+ recurringBookingsSorted.slice(4).map((dateStr: string, idx: number) => (
+
+ {formatToLocalizedDate(dayjs.tz(dateStr, tz), language, "full", tz)}
+
+ {formatToLocalizedTime(dayjs(dateStr), language, undefined, !is24h, tz)} -{" "}
+ {formatToLocalizedTime(
+ dayjs(dateStr).add(duration, "m"),
+ language,
+ undefined,
+ !is24h,
+ tz
+ )}{" "}
+
+ ({formatToLocalizedTimezone(dayjs(dateStr), language, tz)})
+
+
+ ))}
+
+
+ )}
+ >
+ );
+ }
+
+ return (
+
+ {formatToLocalizedDate(date, language, "full", tz)}
+
+ {formatToLocalizedTime(date, language, undefined, !is24h, tz)} -{" "}
+ {formatToLocalizedTime(dayjs(date).add(duration, "m"), language, undefined, !is24h, tz)}{" "}
+ ({formatToLocalizedTimezone(date, language, tz)})
+
+ );
+}
+import type { GetServerSidePropsContext } from "next";
+import { z } from "zod";
+
+import { getServerSession } from "@calcom/features/auth/lib/getServerSession";
+import { getBookingWithResponses } from "@calcom/features/bookings/lib/get-booking";
+import { parseRecurringEvent } from "@calcom/lib";
+import { getDefaultEvent } from "@calcom/lib/defaultEvents";
+import { maybeGetBookingUidFromSeat } from "@calcom/lib/server/maybeGetBookingUidFromSeat";
+import prisma from "@calcom/prisma";
+import { customInputSchema, EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils";
+
+import type { inferSSRProps } from "@lib/types/inferSSRProps";
+
+import { ssrInit } from "@server/lib/ssr";
+
+const stringToBoolean = z
+ .string()
+ .optional()
+ .transform((val) => val === "true");
+
+const querySchema = z.object({
+ uid: z.string(),
+ email: z.string().optional(),
+ eventTypeSlug: z.string().optional(),
+ cancel: stringToBoolean,
+ allRemainingBookings: stringToBoolean,
+ changes: stringToBoolean,
+ reschedule: stringToBoolean,
+ isSuccessBookingPage: stringToBoolean,
+ formerTime: z.string().optional(),
+ seatReferenceUid: z.string().optional(),
+});
+
+export type PageProps = inferSSRProps;
+
+export async function getServerSideProps(context: GetServerSidePropsContext) {
+ // this is needed to prevent bundling of lib/booking to the client bundle
+ // usually functions that are used in getServerSideProps are tree shaken from client bundle
+ // but not in case when they are exported. So we have to dynamically load them, or to copy paste them to the /future/page.
+
+ const { getRecurringBookings, handleSeatsEventTypeOnBooking, getEventTypesFromDB } = await import(
+ "@lib/booking"
+ );
+
+ const ssr = await ssrInit(context);
+ const session = await getServerSession(context);
+ let tz: string | null = null;
+ let userTimeFormat: number | null = null;
+ let requiresLoginToUpdate = false;
+ if (session) {
+ const user = await ssr.viewer.me.fetch();
+ tz = user.timeZone;
+ userTimeFormat = user.timeFormat;
+ }
+
+ const parsedQuery = querySchema.safeParse(context.query);
+
+ if (!parsedQuery.success) return { notFound: true } as const;
+ const { eventTypeSlug } = parsedQuery.data;
+ let { uid, seatReferenceUid } = parsedQuery.data;
+
+ const maybeBookingUidFromSeat = await maybeGetBookingUidFromSeat(prisma, uid);
+ if (maybeBookingUidFromSeat.uid) uid = maybeBookingUidFromSeat.uid;
+ if (maybeBookingUidFromSeat.seatReferenceUid) seatReferenceUid = maybeBookingUidFromSeat.seatReferenceUid;
+ const bookingInfoRaw = await prisma.booking.findFirst({
+ where: {
+ uid: uid,
+ },
+ select: {
+ title: true,
+ id: true,
+ uid: true,
+ description: true,
+ customInputs: true,
+ smsReminderNumber: true,
+ recurringEventId: true,
+ startTime: true,
+ endTime: true,
+ location: true,
+ status: true,
+ metadata: true,
+ cancellationReason: true,
+ responses: true,
+ rejectionReason: true,
+ user: {
+ select: {
+ id: true,
+ name: true,
+ email: true,
+ username: true,
+ timeZone: true,
+ },
+ },
+ attendees: {
+ select: {
+ name: true,
+ email: true,
+ timeZone: true,
+ },
+ },
+ eventTypeId: true,
+ eventType: {
+ select: {
+ eventName: true,
+ slug: true,
+ timeZone: true,
+ },
+ },
+ seatsReferences: {
+ select: {
+ referenceUid: true,
+ },
+ },
+ },
+ });
+ if (!bookingInfoRaw) {
+ return {
+ notFound: true,
+ } as const;
+ }
+
+ const eventTypeRaw = !bookingInfoRaw.eventTypeId
+ ? getDefaultEvent(eventTypeSlug || "")
+ : await getEventTypesFromDB(bookingInfoRaw.eventTypeId);
+ if (!eventTypeRaw) {
+ return {
+ notFound: true,
+ } as const;
+ }
+
+ if (eventTypeRaw.seatsPerTimeSlot && !seatReferenceUid && !session) {
+ requiresLoginToUpdate = true;
+ }
+
+ const bookingInfo = getBookingWithResponses(bookingInfoRaw);
+ // @NOTE: had to do this because Server side cant return [Object objects]
+ // probably fixable with json.stringify -> json.parse
+ bookingInfo["startTime"] = (bookingInfo?.startTime as Date)?.toISOString() as unknown as Date;
+ bookingInfo["endTime"] = (bookingInfo?.endTime as Date)?.toISOString() as unknown as Date;
+
+ eventTypeRaw.users = !!eventTypeRaw.hosts?.length
+ ? eventTypeRaw.hosts.map((host) => host.user)
+ : eventTypeRaw.users;
+
+ if (!eventTypeRaw.users.length) {
+ if (!eventTypeRaw.owner)
+ return {
+ notFound: true,
+ } as const;
+ eventTypeRaw.users.push({
+ ...eventTypeRaw.owner,
+ });
+ }
+
+ const eventType = {
+ ...eventTypeRaw,
+ periodStartDate: eventTypeRaw.periodStartDate?.toString() ?? null,
+ periodEndDate: eventTypeRaw.periodEndDate?.toString() ?? null,
+ metadata: EventTypeMetaDataSchema.parse(eventTypeRaw.metadata),
+ recurringEvent: parseRecurringEvent(eventTypeRaw.recurringEvent),
+ customInputs: customInputSchema.array().parse(eventTypeRaw.customInputs),
+ };
+
+ const profile = {
+ name: eventType.team?.name || eventType.users[0]?.name || null,
+ email: eventType.team ? null : eventType.users[0].email || null,
+ theme: (!eventType.team?.name && eventType.users[0]?.theme) || null,
+ brandColor: eventType.team ? null : eventType.users[0].brandColor || null,
+ darkBrandColor: eventType.team ? null : eventType.users[0].darkBrandColor || null,
+ slug: eventType.team?.slug || eventType.users[0]?.username || null,
+ };
+
+ if (bookingInfo !== null && eventType.seatsPerTimeSlot) {
+ await handleSeatsEventTypeOnBooking(
+ eventType,
+ bookingInfo,
+ seatReferenceUid,
+ session?.user.id === eventType.userId
+ );
+ }
+
+ const payment = await prisma.payment.findFirst({
+ where: {
+ bookingId: bookingInfo.id,
+ },
+ select: {
+ success: true,
+ refunded: true,
+ currency: true,
+ amount: true,
+ paymentOption: true,
+ },
+ });
+
+ return {
+ props: {
+ themeBasis: eventType.team ? eventType.team.slug : eventType.users[0]?.username,
+ hideBranding: eventType.team ? eventType.team.hideBranding : eventType.users[0].hideBranding,
+ profile,
+ eventType,
+ recurringBookings: await getRecurringBookings(bookingInfo.recurringEventId),
+ trpcState: ssr.dehydrate(),
+ dynamicEventName: bookingInfo?.eventType?.eventName || "",
+ bookingInfo,
+ paymentStatus: payment,
+ ...(tz && { tz }),
+ userTimeFormat,
+ requiresLoginToUpdate,
+ },
+ };
+}
+import type { GetServerSidePropsContext } from "next";
+
+import { getServerSession } from "@calcom/features/auth/lib/getServerSession";
+
+import { asStringOrThrow } from "@lib/asStringOrNull";
+import type { inferSSRProps } from "@lib/types/inferSSRProps";
+
+import { ssrInit } from "@server/lib/ssr";
+
+export type PageProps = inferSSRProps;
+
+export const getServerSideProps = async (context: GetServerSidePropsContext) => {
+ const { req, res, query } = context;
+
+ const session = await getServerSession({ req, res });
+
+ const typeParam = parseInt(asStringOrThrow(query.type));
+ const ssr = await ssrInit(context);
+
+ if (Number.isNaN(typeParam)) {
+ const notFound = {
+ notFound: true,
+ } as const;
+
+ return notFound;
+ }
+
+ if (!session?.user?.id) {
+ const redirect = {
+ redirect: {
+ permanent: false,
+ destination: "/auth/login",
+ },
+ } as const;
+ return redirect;
+ }
+
+ await ssr.viewer.eventTypes.get.prefetch({ id: typeParam });
+
+ const { eventType } = await ssr.viewer.eventTypes.get.fetch({ id: typeParam });
+
+ return {
+ props: {
+ eventType,
+ type: typeParam,
+ trpcState: ssr.dehydrate(),
+ },
+ };
+};
+"use client";
+
+/* eslint-disable @typescript-eslint/no-empty-function */
+import { useAutoAnimate } from "@formkit/auto-animate/react";
+import { zodResolver } from "@hookform/resolvers/zod";
+import { isValidPhoneNumber } from "libphonenumber-js";
+import dynamic from "next/dynamic";
+import { useEffect, useMemo, useState } from "react";
+import { useForm } from "react-hook-form";
+import { z } from "zod";
+
+import checkForMultiplePaymentApps from "@calcom/app-store/_utils/payments/checkForMultiplePaymentApps";
+import { getEventLocationType } from "@calcom/app-store/locations";
+import { validateCustomEventName } from "@calcom/core/event";
+import type { EventLocationType } from "@calcom/core/location";
+import type { ChildrenEventType } from "@calcom/features/eventtypes/components/ChildrenEventTypeSelect";
+import { validateIntervalLimitOrder } from "@calcom/lib";
+import { CAL_URL } from "@calcom/lib/constants";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { useTypedQuery } from "@calcom/lib/hooks/useTypedQuery";
+import { HttpError } from "@calcom/lib/http-error";
+import { telemetryEventTypes, useTelemetry } from "@calcom/lib/telemetry";
+import { validateBookerLayouts } from "@calcom/lib/validateBookerLayouts";
+import type { Prisma } from "@calcom/prisma/client";
+import type { PeriodType, SchedulingType } from "@calcom/prisma/enums";
+import type {
+ BookerLayoutSettings,
+ customInputSchema,
+ EventTypeMetaDataSchema,
+} from "@calcom/prisma/zod-utils";
+import { eventTypeBookingFields } from "@calcom/prisma/zod-utils";
+import type { RouterOutputs } from "@calcom/trpc/react";
+import { trpc } from "@calcom/trpc/react";
+import type { IntervalLimit, RecurringEvent } from "@calcom/types/Calendar";
+import { Form, showToast } from "@calcom/ui";
+
+import type { AppProps } from "@lib/app-providers";
+
+import type { AvailabilityOption } from "@components/eventtype/EventAvailabilityTab";
+import { EventTypeSingleLayout } from "@components/eventtype/EventTypeSingleLayout";
+
+import { type PageProps } from "~/event-types/views/event-types-single-view.getServerSideProps";
+
+// These can't really be moved into calcom/ui due to the fact they use infered getserverside props typings;
+const EventSetupTab = dynamic(() =>
+ import("@components/eventtype/EventSetupTab").then((mod) => mod.EventSetupTab)
+);
+
+const EventAvailabilityTab = dynamic(() =>
+ import("@components/eventtype/EventAvailabilityTab").then((mod) => mod.EventAvailabilityTab)
+);
+
+const EventTeamTab = dynamic(() =>
+ import("@components/eventtype/EventTeamTab").then((mod) => mod.EventTeamTab)
+);
+
+const EventLimitsTab = dynamic(() =>
+ import("@components/eventtype/EventLimitsTab").then((mod) => mod.EventLimitsTab)
+);
+
+const EventAdvancedTab = dynamic(() =>
+ import("@components/eventtype/EventAdvancedTab").then((mod) => mod.EventAdvancedTab)
+);
+
+const EventInstantTab = dynamic(() =>
+ import("@components/eventtype/EventInstantTab").then((mod) => mod.EventInstantTab)
+);
+
+const EventRecurringTab = dynamic(() =>
+ import("@components/eventtype/EventRecurringTab").then((mod) => mod.EventRecurringTab)
+);
+
+const EventAppsTab = dynamic(() =>
+ import("@components/eventtype/EventAppsTab").then((mod) => mod.EventAppsTab)
+);
+
+const EventWorkflowsTab = dynamic(() => import("@components/eventtype/EventWorkfowsTab"));
+
+const EventWebhooksTab = dynamic(() =>
+ import("@components/eventtype/EventWebhooksTab").then((mod) => mod.EventWebhooksTab)
+);
+
+const ManagedEventTypeDialog = dynamic(() => import("@components/eventtype/ManagedEventDialog"));
+
+export type FormValues = {
+ id: number;
+ title: string;
+ eventTitle: string;
+ eventName: string;
+ slug: string;
+ isInstantEvent: boolean;
+ length: number;
+ offsetStart: number;
+ description: string;
+ disableGuests: boolean;
+ lockTimeZoneToggleOnBookingPage: boolean;
+ requiresConfirmation: boolean;
+ requiresBookerEmailVerification: boolean;
+ recurringEvent: RecurringEvent | null;
+ schedulingType: SchedulingType | null;
+ hidden: boolean;
+ hideCalendarNotes: boolean;
+ hashedLink: string | undefined;
+ locations: {
+ type: EventLocationType["type"];
+ address?: string;
+ attendeeAddress?: string;
+ link?: string;
+ hostPhoneNumber?: string;
+ displayLocationPublicly?: boolean;
+ phone?: string;
+ hostDefault?: string;
+ credentialId?: number;
+ teamName?: string;
+ }[];
+ customInputs: CustomInputParsed[];
+ schedule: number | null;
+ periodType: PeriodType;
+ periodDays: number;
+ periodCountCalendarDays: "1" | "0";
+ periodDates: { startDate: Date; endDate: Date };
+ seatsPerTimeSlot: number | null;
+ seatsShowAttendees: boolean | null;
+ seatsShowAvailabilityCount: boolean | null;
+ seatsPerTimeSlotEnabled: boolean;
+ scheduleName: string;
+ minimumBookingNotice: number;
+ minimumBookingNoticeInDurationType: number;
+ beforeEventBuffer: number;
+ afterEventBuffer: number;
+ slotInterval: number | null;
+ metadata: z.infer;
+ destinationCalendar: {
+ integration: string;
+ externalId: string;
+ };
+ successRedirectUrl: string;
+ durationLimits?: IntervalLimit;
+ bookingLimits?: IntervalLimit;
+ onlyShowFirstAvailableSlot: boolean;
+ children: ChildrenEventType[];
+ hosts: { userId: number; isFixed: boolean }[];
+ bookingFields: z.infer;
+ availability?: AvailabilityOption;
+ bookerLayouts: BookerLayoutSettings;
+ multipleDurationEnabled: boolean;
+ users: EventTypeSetup["users"];
+ assignAllTeamMembers: boolean;
+};
+
+export type CustomInputParsed = typeof customInputSchema._output;
+
+const querySchema = z.object({
+ tabName: z
+ .enum([
+ "setup",
+ "availability",
+ "apps",
+ "limits",
+ "instant",
+ "recurring",
+ "team",
+ "advanced",
+ "workflows",
+ "webhooks",
+ ])
+ .optional()
+ .default("setup"),
+});
+
+export type EventTypeSetupProps = RouterOutputs["viewer"]["eventTypes"]["get"];
+export type EventTypeSetup = RouterOutputs["viewer"]["eventTypes"]["get"]["eventType"];
+
+const EventTypePage = (props: EventTypeSetupProps) => {
+ const { t } = useLocale();
+ const utils = trpc.useContext();
+ const telemetry = useTelemetry();
+ const {
+ data: { tabName },
+ } = useTypedQuery(querySchema);
+
+ const { data: eventTypeApps } = trpc.viewer.integrations.useQuery({
+ extendsFeature: "EventType",
+ teamId: props.eventType.team?.id || props.eventType.parent?.teamId,
+ onlyInstalled: true,
+ });
+
+ const { eventType, locationOptions, team, teamMembers, currentUserMembership, destinationCalendar } = props;
+ const [animationParentRef] = useAutoAnimate();
+ const updateMutation = trpc.viewer.eventTypes.update.useMutation({
+ onSuccess: async () => {
+ formMethods.setValue(
+ "children",
+ formMethods.getValues().children.map((child) => ({
+ ...child,
+ created: true,
+ }))
+ );
+ formMethods.setValue("assignAllTeamMembers", formMethods.getValues("assignAllTeamMembers") || false);
+ showToast(t("event_type_updated_successfully", { eventTypeTitle: eventType.title }), "success");
+ },
+ async onSettled() {
+ await utils.viewer.eventTypes.get.invalidate();
+ },
+ onError: (err) => {
+ let message = "";
+ if (err instanceof HttpError) {
+ const message = `${err.statusCode}: ${err.message}`;
+ showToast(message, "error");
+ }
+
+ if (err.data?.code === "UNAUTHORIZED") {
+ message = `${err.data.code}: ${t("error_event_type_unauthorized_update")}`;
+ }
+
+ if (err.data?.code === "PARSE_ERROR" || err.data?.code === "BAD_REQUEST") {
+ message = `${err.data.code}: ${t(err.message)}`;
+ }
+
+ if (err.data?.code === "INTERNAL_SERVER_ERROR") {
+ message = t("unexpected_error_try_again");
+ }
+
+ showToast(message ? t(message) : t(err.message), "error");
+ },
+ });
+
+ const [periodDates] = useState<{ startDate: Date; endDate: Date }>({
+ startDate: new Date(eventType.periodStartDate || Date.now()),
+ endDate: new Date(eventType.periodEndDate || Date.now()),
+ });
+
+ const metadata = eventType.metadata;
+ // fallback to !!eventType.schedule when 'useHostSchedulesForTeamEvent' is undefined
+ if (!!team && metadata !== null) {
+ metadata.config = {
+ ...metadata.config,
+ useHostSchedulesForTeamEvent:
+ typeof eventType.metadata?.config?.useHostSchedulesForTeamEvent !== "undefined"
+ ? eventType.metadata?.config?.useHostSchedulesForTeamEvent === true
+ : !!eventType.schedule,
+ };
+ } else {
+ // Make sure non-team events NEVER have this config key;
+ delete metadata?.config?.useHostSchedulesForTeamEvent;
+ }
+
+ const bookingFields: Prisma.JsonObject = {};
+
+ eventType.bookingFields.forEach(({ name }) => {
+ bookingFields[name] = name;
+ });
+
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ const defaultValues: any = useMemo(() => {
+ return {
+ title: eventType.title,
+ id: eventType.id,
+ slug: eventType.slug,
+ afterEventBuffer: eventType.afterEventBuffer,
+ beforeEventBuffer: eventType.beforeEventBuffer,
+ eventName: eventType.eventName || "",
+ scheduleName: eventType.scheduleName,
+ periodDays: eventType.periodDays || 30,
+ requiresBookerEmailVerification: eventType.requiresBookerEmailVerification,
+ seatsPerTimeSlot: eventType.seatsPerTimeSlot,
+ seatsShowAttendees: eventType.seatsShowAttendees,
+ seatsShowAvailabilityCount: eventType.seatsShowAvailabilityCount,
+ lockTimeZoneToggleOnBookingPage: eventType.lockTimeZoneToggleOnBookingPage,
+ locations: eventType.locations || [],
+ destinationCalendar: eventType.destinationCalendar,
+ recurringEvent: eventType.recurringEvent || null,
+ isInstantEvent: eventType.isInstantEvent,
+ description: eventType.description ?? undefined,
+ schedule: eventType.schedule || undefined,
+ bookingLimits: eventType.bookingLimits || undefined,
+ onlyShowFirstAvailableSlot: eventType.onlyShowFirstAvailableSlot || undefined,
+ durationLimits: eventType.durationLimits || undefined,
+ length: eventType.length,
+ hidden: eventType.hidden,
+ hashedLink: eventType.hashedLink?.link || undefined,
+ periodDates: {
+ startDate: periodDates.startDate,
+ endDate: periodDates.endDate,
+ },
+ hideCalendarNotes: eventType.hideCalendarNotes,
+ offsetStart: eventType.offsetStart,
+ bookingFields: eventType.bookingFields,
+ periodType: eventType.periodType,
+ periodCountCalendarDays: eventType.periodCountCalendarDays ? "1" : "0",
+ schedulingType: eventType.schedulingType,
+ requiresConfirmation: eventType.requiresConfirmation,
+ slotInterval: eventType.slotInterval,
+ minimumBookingNotice: eventType.minimumBookingNotice,
+ metadata,
+ hosts: eventType.hosts,
+ successRedirectUrl: eventType.successRedirectUrl || "",
+ users: eventType.users,
+ children: eventType.children.map((ch) => ({
+ ...ch,
+ created: true,
+ owner: {
+ ...ch.owner,
+ eventTypeSlugs:
+ eventType.team?.members
+ .find((mem) => mem.user.id === ch.owner.id)
+ ?.user.eventTypes.map((evTy) => evTy.slug)
+ .filter((slug) => slug !== eventType.slug) ?? [],
+ },
+ })),
+ seatsPerTimeSlotEnabled: eventType.seatsPerTimeSlot,
+ assignAllTeamMembers: eventType.assignAllTeamMembers,
+ };
+ }, [eventType, periodDates, metadata]);
+
+ const formMethods = useForm({
+ defaultValues,
+ resolver: zodResolver(
+ z
+ .object({
+ // Length if string, is converted to a number or it can be a number
+ // Make it optional because it's not submitted from all tabs of the page
+ eventName: z
+ .string()
+ .refine(
+ (val) =>
+ validateCustomEventName(val, t("invalid_event_name_variables"), bookingFields) === true,
+ {
+ message: t("invalid_event_name_variables"),
+ }
+ )
+ .optional(),
+ length: z.union([z.string().transform((val) => +val), z.number()]).optional(),
+ offsetStart: z.union([z.string().transform((val) => +val), z.number()]).optional(),
+ bookingFields: eventTypeBookingFields,
+ locations: z
+ .array(
+ z
+ .object({
+ type: z.string(),
+ address: z.string().optional(),
+ link: z.string().url().optional(),
+ phone: z
+ .string()
+ .refine((val) => isValidPhoneNumber(val))
+ .optional(),
+ hostPhoneNumber: z
+ .string()
+ .refine((val) => isValidPhoneNumber(val))
+ .optional(),
+ displayLocationPublicly: z.boolean().optional(),
+ credentialId: z.number().optional(),
+ teamName: z.string().optional(),
+ })
+ .passthrough()
+ .superRefine((val, ctx) => {
+ if (val?.link) {
+ const link = val.link;
+ const eventLocationType = getEventLocationType(val.type);
+ if (
+ eventLocationType &&
+ !eventLocationType.default &&
+ eventLocationType.linkType === "static" &&
+ eventLocationType.urlRegExp
+ ) {
+ const valid = z
+ .string()
+ .regex(new RegExp(eventLocationType.urlRegExp))
+ .safeParse(link).success;
+
+ if (!valid) {
+ const sampleUrl = eventLocationType.organizerInputPlaceholder;
+ ctx.addIssue({
+ code: z.ZodIssueCode.custom,
+ path: [eventLocationType?.defaultValueVariable ?? "link"],
+ message: t("invalid_url_error_message", {
+ label: eventLocationType.label,
+ sampleUrl: sampleUrl ?? "https://cal.com/",
+ }),
+ });
+ }
+ return;
+ }
+
+ const valid = z.string().url().optional().safeParse(link).success;
+
+ if (!valid) {
+ ctx.addIssue({
+ code: z.ZodIssueCode.custom,
+ path: [eventLocationType?.defaultValueVariable ?? "link"],
+ message: `Invalid URL`,
+ });
+ }
+ }
+ return;
+ })
+ )
+ .optional(),
+ })
+ // TODO: Add schema for other fields later.
+ .passthrough()
+ ),
+ });
+
+ useEffect(() => {
+ if (!formMethods.formState.isDirty) {
+ //TODO: What's the best way to sync the form with backend
+ formMethods.setValue("bookingFields", defaultValues.bookingFields);
+ }
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [defaultValues]);
+
+ const appsMetadata = formMethods.getValues("metadata")?.apps;
+ const availability = formMethods.watch("availability");
+ let numberOfActiveApps = 0;
+
+ if (appsMetadata) {
+ numberOfActiveApps = Object.entries(appsMetadata).filter(
+ ([appId, appData]) =>
+ eventTypeApps?.items.find((app) => app.slug === appId)?.isInstalled && appData.enabled
+ ).length;
+ }
+
+ const permalink = `${CAL_URL}/${team ? `team/${team.slug}` : eventType.users[0].username}/${
+ eventType.slug
+ }`;
+
+ const tabMap = {
+ setup: (
+
+ ),
+ availability: ,
+ team: ,
+ limits: ,
+ advanced: ,
+ instant: ,
+ recurring: ,
+ apps: ,
+ workflows: (
+ workflowOnEventType.workflow)}
+ />
+ ),
+ webhooks: ,
+ } as const;
+
+ const handleSubmit = async (values: FormValues) => {
+ const {
+ periodDates,
+ periodCountCalendarDays,
+ beforeEventBuffer,
+ afterEventBuffer,
+ seatsPerTimeSlot,
+ seatsShowAttendees,
+ seatsShowAvailabilityCount,
+ bookingLimits,
+ onlyShowFirstAvailableSlot,
+ durationLimits,
+ recurringEvent,
+ locations,
+ metadata,
+ customInputs,
+ children,
+ assignAllTeamMembers,
+ // We don't need to send send these values to the backend
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
+ seatsPerTimeSlotEnabled,
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
+ minimumBookingNoticeInDurationType,
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
+ bookerLayouts,
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
+ multipleDurationEnabled,
+ length,
+ ...input
+ } = values;
+
+ if (!Number(length)) throw new Error(t("event_setup_length_error"));
+
+ if (bookingLimits) {
+ const isValid = validateIntervalLimitOrder(bookingLimits);
+ if (!isValid) throw new Error(t("event_setup_booking_limits_error"));
+ }
+
+ if (durationLimits) {
+ const isValid = validateIntervalLimitOrder(durationLimits);
+ if (!isValid) throw new Error(t("event_setup_duration_limits_error"));
+ }
+
+ const layoutError = validateBookerLayouts(metadata?.bookerLayouts || null);
+ if (layoutError) throw new Error(t(layoutError));
+
+ if (metadata?.multipleDuration !== undefined) {
+ if (metadata?.multipleDuration.length < 1) {
+ throw new Error(t("event_setup_multiple_duration_error"));
+ } else {
+ if (!length && !metadata?.multipleDuration?.includes(length)) {
+ throw new Error(t("event_setup_multiple_duration_default_error"));
+ }
+ }
+ }
+
+ // Prevent two payment apps to be enabled
+ // Ok to cast type here because this metadata will be updated as the event type metadata
+ if (checkForMultiplePaymentApps(metadata as z.infer))
+ throw new Error(t("event_setup_multiple_payment_apps_error"));
+
+ if (metadata?.apps?.stripe?.paymentOption === "HOLD" && seatsPerTimeSlot) {
+ throw new Error(t("seats_and_no_show_fee_error"));
+ }
+
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
+ const { availability, users, scheduleName, ...rest } = input;
+ updateMutation.mutate({
+ ...rest,
+ length,
+ locations,
+ recurringEvent,
+ periodStartDate: periodDates.startDate,
+ periodEndDate: periodDates.endDate,
+ periodCountCalendarDays: periodCountCalendarDays === "1",
+ id: eventType.id,
+ beforeEventBuffer,
+ afterEventBuffer,
+ bookingLimits,
+ onlyShowFirstAvailableSlot,
+ durationLimits,
+ seatsPerTimeSlot,
+ seatsShowAttendees,
+ seatsShowAvailabilityCount,
+ metadata,
+ customInputs,
+ children,
+ assignAllTeamMembers,
+ });
+ };
+
+ const [slugExistsChildrenDialogOpen, setSlugExistsChildrenDialogOpen] = useState([]);
+ const slug = formMethods.watch("slug") ?? eventType.slug;
+
+ // Optional prerender all tabs after 300 ms on mount
+ useEffect(() => {
+ const timeout = setTimeout(() => {
+ const Components = [
+ EventSetupTab,
+ EventAvailabilityTab,
+ EventTeamTab,
+ EventLimitsTab,
+ EventAdvancedTab,
+ EventInstantTab,
+ EventRecurringTab,
+ EventAppsTab,
+ EventWorkflowsTab,
+ EventWebhooksTab,
+ ];
+
+ Components.forEach((C) => {
+ // @ts-expect-error Property 'render' does not exist on type 'ComponentClass
+ C.render.preload();
+ });
+ }, 300);
+
+ return () => {
+ clearTimeout(timeout);
+ };
+ }, []);
+ return (
+ <>
+ webhook.active).length}
+ team={team}
+ availability={availability}
+ isUpdateMutationLoading={updateMutation.isPending}
+ formMethods={formMethods}
+ // disableBorder={tabName === "apps" || tabName === "workflows" || tabName === "webhooks"}
+ disableBorder={true}
+ currentUserMembership={currentUserMembership}
+ bookerUrl={eventType.bookerUrl}
+ isUserOrganizationAdmin={props.isUserOrganizationAdmin}>
+
+
+
+ {slugExistsChildrenDialogOpen.length ? (
+ {
+ setSlugExistsChildrenDialogOpen([]);
+ }}
+ slug={slug}
+ onConfirm={(e: { preventDefault: () => void }) => {
+ e.preventDefault();
+ handleSubmit(formMethods.getValues());
+ telemetry.event(telemetryEventTypes.slugReplacementAction);
+ setSlugExistsChildrenDialogOpen([]);
+ }}
+ />
+ ) : null}
+ >
+ );
+};
+
+const EventTypePageWrapper: React.FC & {
+ PageWrapper?: AppProps["Component"]["PageWrapper"];
+ getLayout?: AppProps["Component"]["getLayout"];
+} = (props) => {
+ const { data } = trpc.viewer.eventTypes.get.useQuery({ id: props.type });
+
+ if (!data) return null;
+ return ;
+};
+
+export default EventTypePageWrapper;
+"use client";
+
+import { useAutoAnimate } from "@formkit/auto-animate/react";
+import { Trans } from "next-i18next";
+import Link from "next/link";
+import { usePathname, useRouter } from "next/navigation";
+import type { FC } from "react";
+import { memo, useEffect, useState } from "react";
+import { z } from "zod";
+
+import { useOrgBranding } from "@calcom/features/ee/organizations/context/provider";
+import useIntercom from "@calcom/features/ee/support/lib/intercom/useIntercom";
+import { EventTypeEmbedButton, EventTypeEmbedDialog } from "@calcom/features/embed/EventTypeEmbed";
+import { EventTypeDescription } from "@calcom/features/eventtypes/components";
+import CreateEventTypeDialog from "@calcom/features/eventtypes/components/CreateEventTypeDialog";
+import { DuplicateDialog } from "@calcom/features/eventtypes/components/DuplicateDialog";
+import { TeamsFilter } from "@calcom/features/filters/components/TeamsFilter";
+import { getTeamsFiltersFromQuery } from "@calcom/features/filters/lib/getTeamsFiltersFromQuery";
+import { ShellMain } from "@calcom/features/shell/Shell";
+import { APP_NAME, WEBAPP_URL } from "@calcom/lib/constants";
+import { CAL_URL } from "@calcom/lib/constants";
+import { useCompatSearchParams } from "@calcom/lib/hooks/useCompatSearchParams";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import useMediaQuery from "@calcom/lib/hooks/useMediaQuery";
+import { useRouterQuery } from "@calcom/lib/hooks/useRouterQuery";
+import { useTypedQuery } from "@calcom/lib/hooks/useTypedQuery";
+import { HttpError } from "@calcom/lib/http-error";
+import { SchedulingType } from "@calcom/prisma/enums";
+import type { RouterOutputs } from "@calcom/trpc/react";
+import { trpc, TRPCClientError } from "@calcom/trpc/react";
+import {
+ Alert,
+ Avatar,
+ Badge,
+ Button,
+ ButtonGroup,
+ ConfirmationDialogContent,
+ CreateButton,
+ Dialog,
+ Dropdown,
+ DropdownItem,
+ DropdownMenuContent,
+ DropdownMenuItem,
+ DropdownMenuPortal,
+ DropdownMenuSeparator,
+ DropdownMenuTrigger,
+ EmptyScreen,
+ HeadSeo,
+ HorizontalTabs,
+ Label,
+ showToast,
+ Skeleton,
+ Switch,
+ Tooltip,
+ ArrowButton,
+ UserAvatarGroup,
+} from "@calcom/ui";
+import {
+ Clipboard,
+ Code,
+ Copy,
+ Edit,
+ Edit2,
+ ExternalLink,
+ Link as LinkIcon,
+ MoreHorizontal,
+ Trash,
+ Upload,
+ Users,
+ VenetianMask,
+} from "@calcom/ui/components/icon";
+
+import type { AppProps } from "@lib/app-providers";
+import useMeQuery from "@lib/hooks/useMeQuery";
+
+import SkeletonLoader from "@components/eventtype/SkeletonLoader";
+
+type EventTypeGroups = RouterOutputs["viewer"]["eventTypes"]["getByViewer"]["eventTypeGroups"];
+type EventTypeGroupProfile = EventTypeGroups[number]["profile"];
+type GetByViewerResponse = RouterOutputs["viewer"]["eventTypes"]["getByViewer"] | undefined;
+
+interface EventTypeListHeadingProps {
+ profile: EventTypeGroupProfile;
+ membershipCount: number;
+ teamId?: number | null;
+ bookerUrl: string;
+}
+
+type EventTypeGroup = EventTypeGroups[number];
+type EventType = EventTypeGroup["eventTypes"][number];
+
+interface EventTypeListProps {
+ group: EventTypeGroup;
+ groupIndex: number;
+ readOnly: boolean;
+ bookerUrl: string | null;
+ types: EventType[];
+}
+
+interface MobileTeamsTabProps {
+ eventTypeGroups: EventTypeGroups;
+}
+
+const querySchema = z.object({
+ teamId: z.nullable(z.coerce.number()).optional().default(null),
+});
+
+const MobileTeamsTab: FC = (props) => {
+ const { eventTypeGroups } = props;
+ const orgBranding = useOrgBranding();
+ const tabs = eventTypeGroups.map((item) => ({
+ name: item.profile.name ?? "",
+ href: item.teamId ? `/event-types?teamId=${item.teamId}` : "/event-types?noTeam",
+ avatar: orgBranding
+ ? `${orgBranding.fullDomain}${item.teamId ? "/team" : ""}/${item.profile.slug}/avatar.png`
+ : item.profile.image ?? `${WEBAPP_URL + (item.teamId && "/team")}/${item.profile.slug}/avatar.png`,
+ }));
+ const { data } = useTypedQuery(querySchema);
+ const events = eventTypeGroups.filter((item) => item.teamId === data.teamId);
+
+ return (
+
+
+ {events.length > 0 ? (
+
+ ) : (
+
+ )}
+
+ );
+};
+
+const Item = ({ type, group, readOnly }: { type: EventType; group: EventTypeGroup; readOnly: boolean }) => {
+ const { t } = useLocale();
+
+ const content = () => (
+
+
+ {type.title}
+
+ {group.profile.slug ? (
+
+ {`/${
+ type.schedulingType !== SchedulingType.MANAGED ? group.profile.slug : t("username_placeholder")
+ }/${type.slug}`}
+
+ ) : null}
+ {readOnly && (
+
+ {t("readonly")}
+
+ )}
+
+ );
+
+ return readOnly ? (
+
+ {content()}
+
+
+ ) : (
+
+
+
+ {type.title}
+
+ {group.profile.slug ? (
+
+ {`/${group.profile.slug}/${type.slug}`}
+
+ ) : null}
+ {readOnly && (
+
+ {t("readonly")}
+
+ )}
+
+
+
+ );
+};
+
+const MemoizedItem = memo(Item);
+
+export const EventTypeList = ({
+ group,
+ groupIndex,
+ readOnly,
+ types,
+ bookerUrl,
+}: EventTypeListProps): JSX.Element => {
+ const { t } = useLocale();
+ const router = useRouter();
+ const pathname = usePathname();
+ const searchParams = useCompatSearchParams();
+ const [parent] = useAutoAnimate();
+ const [deleteDialogOpen, setDeleteDialogOpen] = useState(false);
+ const [deleteDialogTypeId, setDeleteDialogTypeId] = useState(0);
+ const [deleteDialogTypeSchedulingType, setDeleteDialogSchedulingType] = useState(
+ null
+ );
+ const utils = trpc.useContext();
+ const mutation = trpc.viewer.eventTypeOrder.useMutation({
+ onError: async (err) => {
+ console.error(err.message);
+ await utils.viewer.eventTypes.getByViewer.cancel();
+ // REVIEW: Should we invalidate the entire router or just the `getByViewer` query?
+ await utils.viewer.eventTypes.invalidate();
+ },
+ onSettled: () => {
+ // REVIEW: Should we invalidate the entire router or just the `getByViewer` query?
+ utils.viewer.eventTypes.invalidate();
+ },
+ });
+
+ const setHiddenMutation = trpc.viewer.eventTypes.update.useMutation({
+ onMutate: async ({ id }) => {
+ await utils.viewer.eventTypes.getByViewer.cancel();
+ const previousValue = utils.viewer.eventTypes.getByViewer.getData();
+ if (previousValue) {
+ const newList = [...types];
+ const itemIndex = newList.findIndex((item) => item.id === id);
+ if (itemIndex !== -1 && newList[itemIndex]) {
+ newList[itemIndex].hidden = !newList[itemIndex].hidden;
+ }
+ utils.viewer.eventTypes.getByViewer.setData(undefined, {
+ ...previousValue,
+ eventTypeGroups: [
+ ...previousValue.eventTypeGroups.slice(0, groupIndex),
+ { ...group, eventTypes: newList },
+ ...previousValue.eventTypeGroups.slice(groupIndex + 1),
+ ],
+ });
+ }
+ return { previousValue };
+ },
+ onError: async (err, _, context) => {
+ if (context?.previousValue) {
+ utils.viewer.eventTypes.getByViewer.setData(undefined, context.previousValue);
+ }
+ console.error(err.message);
+ },
+ onSettled: () => {
+ // REVIEW: Should we invalidate the entire router or just the `getByViewer` query?
+ utils.viewer.eventTypes.invalidate();
+ },
+ });
+
+ async function moveEventType(index: number, increment: 1 | -1) {
+ const newList = [...types];
+
+ const type = types[index];
+ const tmp = types[index + increment];
+ if (tmp) {
+ newList[index] = tmp;
+ newList[index + increment] = type;
+ }
+
+ await utils.viewer.eventTypes.getByViewer.cancel();
+
+ const previousValue = utils.viewer.eventTypes.getByViewer.getData();
+ if (previousValue) {
+ utils.viewer.eventTypes.getByViewer.setData(undefined, {
+ ...previousValue,
+ eventTypeGroups: [
+ ...previousValue.eventTypeGroups.slice(0, groupIndex),
+ { ...group, eventTypes: newList },
+ ...previousValue.eventTypeGroups.slice(groupIndex + 1),
+ ],
+ });
+ }
+
+ mutation.mutate({
+ ids: newList.map((type) => type.id),
+ });
+ }
+
+ async function deleteEventTypeHandler(id: number) {
+ const payload = { id };
+ deleteMutation.mutate(payload);
+ }
+
+ // inject selection data into url for correct router history
+ const openDuplicateModal = (eventType: EventType, group: EventTypeGroup) => {
+ const newSearchParams = new URLSearchParams(searchParams ?? undefined);
+ function setParamsIfDefined(key: string, value: string | number | boolean | null | undefined) {
+ if (value) newSearchParams.set(key, value.toString());
+ if (value === null) newSearchParams.delete(key);
+ }
+ setParamsIfDefined("dialog", "duplicate");
+ setParamsIfDefined("title", eventType.title);
+ setParamsIfDefined("description", eventType.description);
+ setParamsIfDefined("slug", eventType.slug);
+ setParamsIfDefined("id", eventType.id);
+ setParamsIfDefined("length", eventType.length);
+ setParamsIfDefined("pageSlug", group.profile.slug);
+ router.push(`${pathname}?${newSearchParams.toString()}`);
+ };
+
+ const deleteMutation = trpc.viewer.eventTypes.delete.useMutation({
+ onSuccess: () => {
+ showToast(t("event_type_deleted_successfully"), "success");
+ setDeleteDialogOpen(false);
+ },
+ onMutate: async ({ id }) => {
+ await utils.viewer.eventTypes.getByViewer.cancel();
+ const previousValue = utils.viewer.eventTypes.getByViewer.getData();
+ if (previousValue) {
+ const newList = types.filter((item) => item.id !== id);
+
+ utils.viewer.eventTypes.getByViewer.setData(undefined, {
+ ...previousValue,
+ eventTypeGroups: [
+ ...previousValue.eventTypeGroups.slice(0, groupIndex),
+ { ...group, eventTypes: newList },
+ ...previousValue.eventTypeGroups.slice(groupIndex + 1),
+ ],
+ });
+ }
+ return { previousValue };
+ },
+ onError: (err, _, context) => {
+ if (context?.previousValue) {
+ utils.viewer.eventTypes.getByViewer.setData(undefined, context.previousValue);
+ }
+ if (err instanceof HttpError) {
+ const message = `${err.statusCode}: ${err.message}`;
+ showToast(message, "error");
+ setDeleteDialogOpen(false);
+ } else if (err instanceof TRPCClientError) {
+ showToast(err.message, "error");
+ }
+ },
+ onSettled: () => {
+ // REVIEW: Should we invalidate the entire router or just the `getByViewer` query?
+ utils.viewer.eventTypes.invalidate();
+ },
+ });
+
+ const [isNativeShare, setNativeShare] = useState(true);
+
+ useEffect(() => {
+ if (!navigator.share) {
+ setNativeShare(false);
+ }
+ }, []);
+
+ if (!types.length) {
+ return group.teamId ? (
+
+ ) : (
+
+ );
+ }
+
+ const firstItem = types[0];
+ const lastItem = types[types.length - 1];
+ const isManagedEventPrefix = () => {
+ return deleteDialogTypeSchedulingType === SchedulingType.MANAGED ? "_managed" : "";
+ };
+ return (
+
+
+ {types.map((type, index) => {
+ const embedLink = `${group.profile.slug}/${type.slug}`;
+ const calLink = `${bookerUrl}/${embedLink}`;
+ const isPrivateURLEnabled = type.hashedLink?.link;
+ const placeholderHashedLink = `${CAL_URL}/d/${type.hashedLink?.link}/${type.slug}`;
+ const isManagedEventType = type.schedulingType === SchedulingType.MANAGED;
+ const isChildrenManagedEventType =
+ type.metadata?.managedEventConfig !== undefined && type.schedulingType !== SchedulingType.MANAGED;
+ return (
+ -
+
+
+ {!(firstItem && firstItem.id === type.id) && (
+
moveEventType(index, -1)} arrowDirection="up" />
+ )}
+
+ {!(lastItem && lastItem.id === type.id) && (
+ moveEventType(index, 1)} arrowDirection="down" />
+ )}
+
+
+
+ {type.team && !isManagedEventType && (
+
+ )}
+ {isManagedEventType && type?.children && type.children?.length > 0 && (
+
ch.users) ?? []}
+ />
+ )}
+
+ {!isManagedEventType && (
+ <>
+ {type.hidden &&
{t("hidden")}}
+
+
+ {
+ setHiddenMutation.mutate({ id: type.id, hidden: !type.hidden });
+ }}
+ />
+
+
+ >
+ )}
+
+
+ {!isManagedEventType && (
+ <>
+
+
+
+
+
+
+
+ {isPrivateURLEnabled && (
+
+
+ )}
+ >
+ )}
+
+
+
+
+
+ {!readOnly && (
+
+ router.push(`/event-types/${type.id}`)}>
+ {t("edit")}
+
+
+ )}
+ {!isManagedEventType && !isChildrenManagedEventType && (
+ <>
+
+ openDuplicateModal(type, group)}>
+ {t("duplicate")}
+
+
+ >
+ )}
+ {!isManagedEventType && (
+
+
+ {t("embed")}
+
+
+ )}
+ {/* readonly is only set when we are on a team - if we are on a user event type null will be the value. */}
+ {(group.metadata?.readOnly === false || group.metadata.readOnly === null) &&
+ !isChildrenManagedEventType && (
+ <>
+
+
+ {
+ setDeleteDialogOpen(true);
+ setDeleteDialogTypeId(type.id);
+ setDeleteDialogSchedulingType(type.schedulingType);
+ }}
+ StartIcon={Trash}
+ className="w-full rounded-none">
+ {t("delete")}
+
+
+ >
+ )}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {!isManagedEventType && (
+ <>
+
+
+ {t("preview")}
+
+
+
+ {
+ navigator.clipboard.writeText(calLink);
+ showToast(t("link_copied"), "success");
+ }}
+ StartIcon={Clipboard}
+ className="w-full rounded-none text-left">
+ {t("copy_link")}
+
+
+ >
+ )}
+ {isNativeShare ? (
+
+ {
+ navigator
+ .share({
+ title: t("share"),
+ text: t("share_event", { appName: APP_NAME }),
+ url: calLink,
+ })
+ .then(() => showToast(t("link_shared"), "success"))
+ .catch(() => showToast(t("failed"), "error"));
+ }}
+ StartIcon={Upload}
+ className="w-full rounded-none">
+ {t("share")}
+
+
+ ) : null}
+ {!readOnly && (
+
+ router.push(`/event-types/${type.id}`)}
+ StartIcon={Edit}
+ className="w-full rounded-none">
+ {t("edit")}
+
+
+ )}
+ {!isManagedEventType && !isChildrenManagedEventType && (
+
+ openDuplicateModal(type, group)}
+ StartIcon={Copy}
+ data-testid={`event-type-duplicate-${type.id}`}>
+ {t("duplicate")}
+
+
+ )}
+ {/* readonly is only set when we are on a team - if we are on a user event type null will be the value. */}
+ {(group.metadata?.readOnly === false || group.metadata.readOnly === null) &&
+ !isChildrenManagedEventType && (
+ <>
+
+ {
+ setDeleteDialogOpen(true);
+ setDeleteDialogTypeId(type.id);
+ setDeleteDialogSchedulingType(type.schedulingType);
+ }}
+ StartIcon={Trash}
+ className="w-full rounded-none">
+ {t("delete")}
+
+
+ >
+ )}
+
+ {!isManagedEventType && (
+
+
+ {type.hidden ? t("show_eventtype_on_profile") : t("hide_from_profile")}
+
+ {
+ setHiddenMutation.mutate({ id: type.id, hidden: !type.hidden });
+ }}
+ />
+
+ )}
+
+
+
+
+
+
+ );
+ })}
+
+
+
+ );
+};
+
+const EventTypeListHeading = ({
+ profile,
+ membershipCount,
+ teamId,
+ bookerUrl,
+}: EventTypeListHeadingProps): JSX.Element => {
+ const { t } = useLocale();
+ const router = useRouter();
+
+ const publishTeamMutation = trpc.viewer.teams.publish.useMutation({
+ onSuccess(data) {
+ router.push(data.url);
+ },
+ onError: (error) => {
+ showToast(error.message, "error");
+ },
+ });
+
+ return (
+
+
+
+
+ {profile?.name || ""}
+
+ {membershipCount && teamId && (
+
+
+
+
+ {membershipCount}
+
+
+
+ )}
+ {profile?.slug && (
+
+ {`${bookerUrl.replace("https://", "").replace("http://", "")}/${profile.slug}`}
+
+ )}
+
+ {!profile?.slug && !!teamId && (
+
+ )}
+
+ );
+};
+
+const CreateFirstEventTypeView = ({ slug }: { slug: string }) => {
+ const { t } = useLocale();
+
+ return (
+
+ {t("create")}
+
+ }
+ />
+ );
+};
+
+const CTA = ({ data }: { data: GetByViewerResponse }) => {
+ const { t } = useLocale();
+
+ if (!data) return null;
+
+ const profileOptions = data.profiles
+ .filter((profile) => !profile.readOnly)
+ .map((profile) => {
+ return {
+ teamId: profile.teamId,
+ label: profile.name || profile.slug,
+ image: profile.image,
+ membershipRole: profile.membershipRole,
+ slug: profile.slug,
+ };
+ });
+
+ return (
+ }
+ />
+ );
+};
+
+const Actions = () => {
+ return (
+
+
+
+ );
+};
+
+const EmptyEventTypeList = ({ group }: { group: EventTypeGroup }) => {
+ const { t } = useLocale();
+ return (
+ <>
+
+ {t("create")}
+
+ }
+ />
+ >
+ );
+};
+
+const Main = ({
+ status,
+ errorMessage,
+ data,
+ filters,
+}: {
+ status: string;
+ data: GetByViewerResponse;
+ errorMessage?: string;
+ filters: ReturnType;
+}) => {
+ const isMobile = useMediaQuery("(max-width: 768px)");
+ const searchParams = useCompatSearchParams();
+ const orgBranding = useOrgBranding();
+
+ if (!data || status === "pending") {
+ return ;
+ }
+
+ if (status === "error") {
+ return ;
+ }
+
+ const isFilteredByOnlyOneItem =
+ (filters?.teamIds?.length === 1 || filters?.userIds?.length === 1) && data.eventTypeGroups.length === 1;
+ return (
+ <>
+ {data.eventTypeGroups.length > 1 || isFilteredByOnlyOneItem ? (
+ <>
+ {isMobile ? (
+
+ ) : (
+ data.eventTypeGroups.map((group: EventTypeGroup, index: number) => (
+
+
+
+ {group.eventTypes.length ? (
+
+ ) : group.teamId ? (
+
+ ) : (
+
+ )}
+
+ ))
+ )}
+ >
+ ) : (
+ data.eventTypeGroups.length === 1 && (
+
+ )
+ )}
+ {data.eventTypeGroups.length === 0 && }
+
+ {searchParams?.get("dialog") === "duplicate" && }
+ >
+ );
+};
+
+const EventTypesPage: React.FC & {
+ PageWrapper?: AppProps["Component"]["PageWrapper"];
+ getLayout?: AppProps["Component"]["getLayout"];
+} = () => {
+ const { t } = useLocale();
+ const searchParams = useCompatSearchParams();
+ const { open } = useIntercom();
+ const { data: user } = useMeQuery();
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
+ const [showProfileBanner, setShowProfileBanner] = useState(false);
+ const orgBranding = useOrgBranding();
+ const routerQuery = useRouterQuery();
+ const filters = getTeamsFiltersFromQuery(routerQuery);
+
+ // TODO: Maybe useSuspenseQuery to focus on success case only? Remember that it would crash the page when there is an error in query. Also, it won't support skeleton
+ const { data, status, error } = trpc.viewer.eventTypes.getByViewer.useQuery(filters && { filters }, {
+ refetchOnWindowFocus: false,
+ gcTime: 1 * 60 * 60 * 1000,
+ staleTime: 1 * 60 * 60 * 1000,
+ });
+
+ useEffect(() => {
+ if (searchParams?.get("openIntercom") === "true") {
+ open();
+ }
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, []);
+
+ useEffect(() => {
+ setShowProfileBanner(
+ !!orgBranding && !document.cookie.includes("calcom-profile-banner=1") && !user?.completedOnboarding
+ );
+ }, [orgBranding, user]);
+
+ return (
+ }
+ CTA={}>
+
+
+
+ );
+};
+
+export default EventTypesPage;
+"use client";
+
+import dayjs from "@calcom/dayjs";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { detectBrowserTimeFormat } from "@calcom/lib/timeFormat";
+import { Button, HeadSeo, EmptyScreen } from "@calcom/ui";
+import { ArrowRight, Calendar, Clock } from "@calcom/ui/components/icon";
+
+import { type PageProps } from "./videos-meeting-not-started-single-view.getServerSideProps";
+
+export default function MeetingNotStarted(props: PageProps) {
+ const { t } = useLocale();
+ return (
+ <>
+
+
+
+ {props.booking.title}
+
+
+ {dayjs(props.booking.startTime).format(`${detectBrowserTimeFormat}, dddd DD MMMM YYYY`)}
+
+ >
+ }
+ buttonRaw={
+
+ }
+ />
+
+ >
+ );
+}
+"use client";
+
+import DailyIframe from "@daily-co/daily-js";
+import Head from "next/head";
+import { useState, useEffect, useRef } from "react";
+
+import dayjs from "@calcom/dayjs";
+import classNames from "@calcom/lib/classNames";
+import { APP_NAME, SEO_IMG_OGIMG_VIDEO, WEBSITE_URL } from "@calcom/lib/constants";
+import { formatToLocalizedDate, formatToLocalizedTime } from "@calcom/lib/date-fns";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { markdownToSafeHTML } from "@calcom/lib/markdownToSafeHTML";
+import { ChevronRight } from "@calcom/ui/components/icon";
+
+import { type PageProps } from "./videos-single-view.getServerSideProps";
+
+export default function JoinCall(props: PageProps) {
+ const { t } = useLocale();
+ const { meetingUrl, meetingPassword, booking } = props;
+
+ useEffect(() => {
+ const callFrame = DailyIframe.createFrame({
+ theme: {
+ colors: {
+ accent: "#FFF",
+ accentText: "#111111",
+ background: "#111111",
+ backgroundAccent: "#111111",
+ baseText: "#FFF",
+ border: "#292929",
+ mainAreaBg: "#111111",
+ mainAreaBgAccent: "#1A1A1A",
+ mainAreaText: "#FFF",
+ supportiveText: "#FFF",
+ },
+ },
+ showLeaveButton: true,
+ iframeStyle: {
+ position: "fixed",
+ width: "100%",
+ height: "100%",
+ },
+ url: meetingUrl,
+ ...(typeof meetingPassword === "string" && { token: meetingPassword }),
+ });
+ callFrame.join();
+ return () => {
+ callFrame.destroy();
+ };
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, []);
+
+ const title = `${APP_NAME} Video`;
+ return (
+ <>
+
+ {title}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {booking?.user?.organization?.calVideoLogo ? (
+

+ ) : (
+

+ )}
+
+
+ >
+ );
+}
+
+interface ProgressBarProps {
+ startTime: string;
+ endTime: string;
+}
+
+function ProgressBar(props: ProgressBarProps) {
+ const { t } = useLocale();
+ const { startTime, endTime } = props;
+ const currentTime = dayjs().second(0).millisecond(0);
+ const startingTime = dayjs(startTime).second(0).millisecond(0);
+ const isPast = currentTime.isAfter(startingTime);
+ const currentDifference = dayjs().diff(startingTime, "minutes");
+ const startDuration = dayjs(endTime).diff(startingTime, "minutes");
+ const [duration, setDuration] = useState(() => {
+ if (currentDifference >= 0 && isPast) {
+ return startDuration - currentDifference;
+ } else {
+ return startDuration;
+ }
+ });
+
+ const timeoutRef = useRef(null);
+ const intervalRef = useRef(null);
+
+ useEffect(() => {
+ const now = dayjs();
+ const remainingMilliseconds = (60 - now.get("seconds")) * 1000 - now.get("milliseconds");
+
+ timeoutRef.current = setTimeout(() => {
+ const past = dayjs().isAfter(startingTime);
+
+ if (past) {
+ setDuration((prev) => prev - 1);
+ }
+
+ intervalRef.current = setInterval(() => {
+ if (dayjs().isAfter(startingTime)) {
+ setDuration((prev) => prev - 1);
+ }
+ }, 60000);
+ }, remainingMilliseconds);
+
+ return () => {
+ if (timeoutRef.current) {
+ clearTimeout(timeoutRef.current);
+ timeoutRef.current = null;
+ }
+ if (intervalRef.current) {
+ clearInterval(intervalRef.current);
+ intervalRef.current = null;
+ }
+ };
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, []);
+
+ const prev = startDuration - duration;
+ const percentage = prev * (100 / startDuration);
+ return (
+
+
+ {duration} {t("minutes")}
+
+
+
+ );
+}
+
+interface VideoMeetingInfo {
+ booking: PageProps["booking"];
+}
+
+export function VideoMeetingInfo(props: VideoMeetingInfo) {
+ const [open, setOpen] = useState(false);
+ const { booking } = props;
+ const { t } = useLocale();
+
+ const endTime = new Date(booking.endTime);
+ const startTime = new Date(booking.startTime);
+
+ return (
+ <>
+
+ >
+ );
+}
+"use client";
+
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { Button, EmptyScreen, HeadSeo } from "@calcom/ui";
+import { X, ArrowRight } from "@calcom/ui/components/icon";
+
+export default function NoMeetingFound() {
+ const { t } = useLocale();
+
+ return (
+ <>
+
+
+
+ {t("go_back_home")}
+
+ }
+ />
+
+ >
+ );
+}
+"use client";
+
+import dayjs from "@calcom/dayjs";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { detectBrowserTimeFormat } from "@calcom/lib/timeFormat";
+import { Button, HeadSeo } from "@calcom/ui";
+import { ArrowRight, Calendar, X } from "@calcom/ui/components/icon";
+
+import { type PageProps } from "./videos-meeting-ended-single-view.getServerSideProps";
+
+export default function MeetingUnavailable(props: PageProps) {
+ const { t } = useLocale();
+
+ return (
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ This meeting is in the past.
+
+
+
+
+ {props.booking.title}
+
+
+
+ {dayjs(props.booking.startTime).format(`${detectBrowserTimeFormat}, dddd DD MMMM YYYY`)}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ );
+}
+import type { GetServerSidePropsContext } from "next";
+
+import prisma, { bookingMinimalSelect } from "@calcom/prisma";
+import type { inferSSRProps } from "@calcom/types/inferSSRProps";
+
+export type PageProps = inferSSRProps;
+
+// change the type
+export async function getServerSideProps(context: GetServerSidePropsContext) {
+ const booking = await prisma.booking.findUnique({
+ where: {
+ uid: context.query.uid as string,
+ },
+ select: bookingMinimalSelect,
+ });
+
+ if (!booking) {
+ const redirect = {
+ redirect: {
+ destination: "/video/no-meeting-found",
+ permanent: false,
+ },
+ } as const;
+
+ return redirect;
+ }
+
+ const bookingObj = Object.assign({}, booking, {
+ startTime: booking.startTime.toString(),
+ endTime: booking.endTime.toString(),
+ });
+
+ return {
+ props: {
+ booking: bookingObj,
+ },
+ };
+}
+import type { GetServerSidePropsContext } from "next";
+
+import prisma, { bookingMinimalSelect } from "@calcom/prisma";
+
+import { type inferSSRProps } from "@lib/types/inferSSRProps";
+
+export type PageProps = inferSSRProps;
+export async function getServerSideProps(context: GetServerSidePropsContext) {
+ const booking = await prisma.booking.findUnique({
+ where: {
+ uid: context.query.uid as string,
+ },
+ select: {
+ ...bookingMinimalSelect,
+ uid: true,
+ user: {
+ select: {
+ credentials: true,
+ },
+ },
+ references: {
+ select: {
+ uid: true,
+ type: true,
+ meetingUrl: true,
+ },
+ },
+ },
+ });
+
+ if (!booking) {
+ const redirect = {
+ redirect: {
+ destination: "/video/no-meeting-found",
+ permanent: false,
+ },
+ } as const;
+
+ return redirect;
+ }
+
+ const bookingObj = Object.assign({}, booking, {
+ startTime: booking.startTime.toString(),
+ endTime: booking.endTime.toString(),
+ });
+
+ return {
+ props: {
+ booking: bookingObj,
+ },
+ };
+}
+import MarkdownIt from "markdown-it";
+import type { GetServerSidePropsContext } from "next";
+
+import { getServerSession } from "@calcom/features/auth/lib/getServerSession";
+import { getCalVideoReference } from "@calcom/features/get-cal-video-reference";
+import prisma, { bookingMinimalSelect } from "@calcom/prisma";
+
+import { type inferSSRProps } from "@lib/types/inferSSRProps";
+
+import { ssrInit } from "@server/lib/ssr";
+
+export type PageProps = inferSSRProps;
+
+const md = new MarkdownIt("default", { html: true, breaks: true, linkify: true });
+
+export async function getServerSideProps(context: GetServerSidePropsContext) {
+ const { req } = context;
+
+ const ssr = await ssrInit(context);
+
+ const booking = await prisma.booking.findUnique({
+ where: {
+ uid: context.query.uid as string,
+ },
+ select: {
+ ...bookingMinimalSelect,
+ uid: true,
+ description: true,
+ isRecorded: true,
+ user: {
+ select: {
+ id: true,
+ timeZone: true,
+ name: true,
+ email: true,
+ organization: {
+ select: {
+ calVideoLogo: true,
+ },
+ },
+ },
+ },
+ references: {
+ select: {
+ uid: true,
+ type: true,
+ meetingUrl: true,
+ meetingPassword: true,
+ },
+ where: {
+ type: "daily_video",
+ },
+ },
+ },
+ });
+
+ if (!booking || booking.references.length === 0 || !booking.references[0].meetingUrl) {
+ return {
+ redirect: {
+ destination: "/video/no-meeting-found",
+ permanent: false,
+ },
+ };
+ }
+
+ //daily.co calls have a 60 minute exit buffer when a user enters a call when it's not available it will trigger the modals
+ const now = new Date();
+ const exitDate = new Date(now.getTime() - 60 * 60 * 1000);
+
+ //find out if the meeting is in the past
+ const isPast = booking?.endTime <= exitDate;
+ if (isPast) {
+ return {
+ redirect: {
+ destination: `/video/meeting-ended/${booking?.uid}`,
+ permanent: false,
+ },
+ };
+ }
+
+ const bookingObj = Object.assign({}, booking, {
+ startTime: booking.startTime.toString(),
+ endTime: booking.endTime.toString(),
+ });
+
+ const session = await getServerSession({ req });
+
+ // set meetingPassword to null for guests
+ if (session?.user.id !== bookingObj.user?.id) {
+ bookingObj.references.forEach((bookRef) => {
+ bookRef.meetingPassword = null;
+ });
+ }
+ const videoReference = getCalVideoReference(bookingObj.references);
+
+ return {
+ props: {
+ meetingUrl: videoReference.meetingUrl ?? "",
+ ...(typeof videoReference.meetingPassword === "string" && {
+ meetingPassword: videoReference.meetingPassword,
+ }),
+ booking: {
+ ...bookingObj,
+ ...(bookingObj.description && { description: md.render(bookingObj.description) }),
+ },
+ trpcState: ssr.dehydrate(),
+ },
+ };
+}
+import type { DehydratedState } from "@tanstack/react-query";
+import type { GetServerSideProps } from "next";
+import { encode } from "querystring";
+import type { z } from "zod";
+
+import { handleUserRedirection } from "@calcom/features/booking-redirect/handle-user";
+import { getSlugOrRequestedSlug } from "@calcom/features/ee/organizations/lib/orgDomains";
+import { orgDomainConfig } from "@calcom/features/ee/organizations/lib/orgDomains";
+import { DEFAULT_DARK_BRAND_COLOR, DEFAULT_LIGHT_BRAND_COLOR } from "@calcom/lib/constants";
+import { getUsernameList } from "@calcom/lib/defaultEvents";
+import logger from "@calcom/lib/logger";
+import { markdownToSafeHTML } from "@calcom/lib/markdownToSafeHTML";
+import { stripMarkdown } from "@calcom/lib/stripMarkdown";
+import prisma from "@calcom/prisma";
+import { RedirectType, type EventType, type User } from "@calcom/prisma/client";
+import { baseEventTypeSelect } from "@calcom/prisma/selects";
+import { EventTypeMetaDataSchema, teamMetadataSchema } from "@calcom/prisma/zod-utils";
+
+import { getTemporaryOrgRedirect } from "@lib/getTemporaryOrgRedirect";
+import type { EmbedProps } from "@lib/withEmbedSsr";
+
+import { ssrInit } from "@server/lib/ssr";
+
+export type UserPageProps = {
+ trpcState: DehydratedState;
+ profile: {
+ name: string;
+ image: string;
+ theme: string | null;
+ brandColor: string;
+ darkBrandColor: string;
+ organization: {
+ requestedSlug: string | null;
+ slug: string | null;
+ id: number | null;
+ };
+ allowSEOIndexing: boolean;
+ username: string | null;
+ };
+ users: Pick[];
+ themeBasis: string | null;
+ markdownStrippedBio: string;
+ safeBio: string;
+ entity: {
+ isUnpublished?: boolean;
+ orgSlug?: string | null;
+ name?: string | null;
+ };
+ eventTypes: ({
+ descriptionAsSafeHTML: string;
+ metadata: z.infer;
+ } & Pick<
+ EventType,
+ | "id"
+ | "title"
+ | "slug"
+ | "length"
+ | "hidden"
+ | "lockTimeZoneToggleOnBookingPage"
+ | "requiresConfirmation"
+ | "requiresBookerEmailVerification"
+ | "price"
+ | "currency"
+ | "recurringEvent"
+ >)[];
+} & EmbedProps;
+
+export const getEventTypesWithHiddenFromDB = async (userId: number) => {
+ const eventTypes = await prisma.eventType.findMany({
+ where: {
+ AND: [
+ {
+ teamId: null,
+ },
+ {
+ OR: [
+ {
+ userId,
+ },
+ {
+ users: {
+ some: {
+ id: userId,
+ },
+ },
+ },
+ ],
+ },
+ ],
+ },
+ orderBy: [
+ {
+ position: "desc",
+ },
+ {
+ id: "asc",
+ },
+ ],
+ select: {
+ ...baseEventTypeSelect,
+ metadata: true,
+ },
+ });
+ // map and filter metadata, exclude eventType entirely when faulty metadata is found.
+ // report error to exception so we don't lose the error.
+ return eventTypes.reduce((eventTypes, eventType) => {
+ const parsedMetadata = EventTypeMetaDataSchema.safeParse(eventType.metadata);
+ if (!parsedMetadata.success) {
+ logger.error(parsedMetadata.error);
+ return eventTypes;
+ }
+ eventTypes.push({
+ ...eventType,
+ metadata: parsedMetadata.data,
+ });
+ return eventTypes;
+ }, []);
+};
+
+export const getServerSideProps: GetServerSideProps = async (context) => {
+ const ssr = await ssrInit(context);
+ const { currentOrgDomain, isValidOrgDomain } = orgDomainConfig(context.req, context.params?.orgSlug);
+ const usernameList = getUsernameList(context.query.user as string);
+ const isOrgContext = isValidOrgDomain && currentOrgDomain;
+ const dataFetchStart = Date.now();
+ let outOfOffice = false;
+ const isDynamicGroup = usernameList.length > 1;
+ if (usernameList.length === 1) {
+ const result = await handleUserRedirection({ username: usernameList[0] });
+ if (result && result.outOfOffice) {
+ outOfOffice = true;
+ }
+ if (result && result.redirect?.destination) {
+ return result;
+ }
+ }
+
+ if (!isOrgContext) {
+ const redirect = await getTemporaryOrgRedirect({
+ slugs: usernameList,
+ redirectType: RedirectType.User,
+ eventTypeSlug: null,
+ currentQuery: context.query,
+ });
+
+ if (redirect) {
+ return redirect;
+ }
+ }
+
+ const usersWithoutAvatar = await prisma.user.findMany({
+ where: {
+ username: {
+ in: usernameList,
+ },
+ organization: isOrgContext ? getSlugOrRequestedSlug(currentOrgDomain) : null,
+ },
+ select: {
+ id: true,
+ username: true,
+ email: true,
+ name: true,
+ bio: true,
+ metadata: true,
+ brandColor: true,
+ darkBrandColor: true,
+ avatarUrl: true,
+ organizationId: true,
+ organization: {
+ select: {
+ slug: true,
+ name: true,
+ metadata: true,
+ },
+ },
+ theme: true,
+ away: true,
+ verified: true,
+ allowDynamicBooking: true,
+ allowSEOIndexing: true,
+ },
+ });
+
+ const users = usersWithoutAvatar.map((user) => ({
+ ...user,
+ organization: {
+ ...user.organization,
+ metadata: user.organization?.metadata ? teamMetadataSchema.parse(user.organization.metadata) : null,
+ },
+ avatar: `/${user.username}/avatar.png`,
+ }));
+
+ if (isDynamicGroup) {
+ const destinationUrl = `/${usernameList.join("+")}/dynamic`;
+ logger.debug(`Dynamic group detected, redirecting to ${destinationUrl}`);
+ return {
+ redirect: {
+ permanent: false,
+ destination: destinationUrl,
+ },
+ } as {
+ redirect: {
+ permanent: false;
+ destination: string;
+ };
+ };
+ }
+
+ if (!users.length || (!isValidOrgDomain && !users.some((user) => user.organizationId === null))) {
+ return {
+ notFound: true,
+ } as {
+ notFound: true;
+ };
+ }
+
+ const [user] = users; //to be used when dealing with single user, not dynamic group
+
+ const profile = {
+ name: user.name || user.username || "",
+ image: user.avatar,
+ theme: user.theme,
+ brandColor: user.brandColor ?? DEFAULT_LIGHT_BRAND_COLOR,
+ avatarUrl: user.avatarUrl,
+ darkBrandColor: user.darkBrandColor ?? DEFAULT_DARK_BRAND_COLOR,
+ allowSEOIndexing: user.allowSEOIndexing ?? true,
+ username: user.username,
+ organization: {
+ id: user.organizationId,
+ slug: user.organization?.slug ?? null,
+ requestedSlug: user.organization?.metadata?.requestedSlug ?? null,
+ },
+ };
+
+ const eventTypesWithHidden = await getEventTypesWithHiddenFromDB(user.id);
+ const dataFetchEnd = Date.now();
+ if (context.query.log === "1") {
+ context.res.setHeader("X-Data-Fetch-Time", `${dataFetchEnd - dataFetchStart}ms`);
+ }
+ const eventTypesRaw = eventTypesWithHidden.filter((evt) => !evt.hidden);
+
+ const eventTypes = eventTypesRaw.map((eventType) => ({
+ ...eventType,
+ metadata: EventTypeMetaDataSchema.parse(eventType.metadata || {}),
+ descriptionAsSafeHTML: markdownToSafeHTML(eventType.description),
+ }));
+
+ // if profile only has one public event-type, redirect to it
+ if (eventTypes.length === 1 && context.query.redirect !== "false" && !outOfOffice) {
+ // Redirect but don't change the URL
+ const urlDestination = `/${user.username}/${eventTypes[0].slug}`;
+ const { query } = context;
+ const urlQuery = new URLSearchParams(encode(query));
+
+ return {
+ redirect: {
+ permanent: false,
+ destination: `${urlDestination}?${urlQuery}`,
+ },
+ };
+ }
+
+ const safeBio = markdownToSafeHTML(user.bio) || "";
+
+ const markdownStrippedBio = stripMarkdown(user?.bio || "");
+ const org = usersWithoutAvatar[0].organization;
+
+ return {
+ props: {
+ users: users.map((user) => ({
+ name: user.name,
+ username: user.username,
+ bio: user.bio,
+ avatarUrl: user.avatarUrl,
+ away: usernameList.length === 1 ? outOfOffice : user.away,
+ verified: user.verified,
+ })),
+ entity: {
+ isUnpublished: org?.slug === null,
+ orgSlug: currentOrgDomain,
+ name: org?.name ?? null,
+ },
+ eventTypes,
+ safeBio,
+ profile,
+ // Dynamic group has no theme preference right now. It uses system theme.
+ themeBasis: user.username,
+ trpcState: ssr.dehydrate(),
+ markdownStrippedBio,
+ },
+ };
+};
+import { type GetServerSidePropsContext } from "next";
+import { z } from "zod";
+
+import { getServerSession } from "@calcom/features/auth/lib/getServerSession";
+import { handleTypeRedirection } from "@calcom/features/booking-redirect/handle-type";
+import { getBookingForReschedule, getBookingForSeatedEvent } from "@calcom/features/bookings/lib/get-booking";
+import type { GetBookingType } from "@calcom/features/bookings/lib/get-booking";
+import { orgDomainConfig, userOrgQuery } from "@calcom/features/ee/organizations/lib/orgDomains";
+import { getUsernameList } from "@calcom/lib/defaultEvents";
+import slugify from "@calcom/lib/slugify";
+import prisma from "@calcom/prisma";
+import { RedirectType } from "@calcom/prisma/client";
+
+import { getTemporaryOrgRedirect } from "@lib/getTemporaryOrgRedirect";
+import { type inferSSRProps } from "@lib/types/inferSSRProps";
+import { type EmbedProps } from "@lib/withEmbedSsr";
+
+export type PageProps = inferSSRProps & EmbedProps;
+
+async function getDynamicGroupPageProps(context: GetServerSidePropsContext) {
+ const session = await getServerSession(context);
+ const { user: usernames, type: slug } = paramsSchema.parse(context.params);
+ const { rescheduleUid, bookingUid } = context.query;
+
+ const { ssrInit } = await import("@server/lib/ssr");
+ const ssr = await ssrInit(context);
+ const { currentOrgDomain, isValidOrgDomain } = orgDomainConfig(context.req, context.params?.orgSlug);
+ const org = isValidOrgDomain ? currentOrgDomain : null;
+ if (!org) {
+ const redirect = await getTemporaryOrgRedirect({
+ slugs: usernames,
+ redirectType: RedirectType.User,
+ eventTypeSlug: slug,
+ currentQuery: context.query,
+ });
+
+ if (redirect) {
+ return redirect;
+ }
+ }
+
+ const users = await prisma.user.findMany({
+ where: {
+ username: {
+ in: usernames,
+ },
+ organization: isValidOrgDomain
+ ? {
+ slug: currentOrgDomain,
+ }
+ : null,
+ },
+ select: {
+ allowDynamicBooking: true,
+ },
+ });
+
+ if (!users.length) {
+ return {
+ notFound: true,
+ } as const;
+ }
+
+ let booking: GetBookingType | null = null;
+ if (rescheduleUid) {
+ booking = await getBookingForReschedule(`${rescheduleUid}`, session?.user?.id);
+ } else if (bookingUid) {
+ booking = await getBookingForSeatedEvent(`${bookingUid}`);
+ }
+
+ // We use this to both prefetch the query on the server,
+ // as well as to check if the event exist, so we c an show a 404 otherwise.
+ const eventData = await ssr.viewer.public.event.fetch({
+ username: usernames.join("+"),
+ eventSlug: slug,
+ org,
+ });
+
+ if (!eventData) {
+ return {
+ notFound: true,
+ } as const;
+ }
+
+ return {
+ props: {
+ eventData: {
+ entity: eventData.entity,
+ length: eventData.length,
+ metadata: {
+ ...eventData.metadata,
+ multipleDuration: [15, 30, 60],
+ },
+ },
+ booking,
+ user: usernames.join("+"),
+ slug,
+ away: false,
+ trpcState: ssr.dehydrate(),
+ isBrandingHidden: false,
+ isSEOIndexable: true,
+ themeBasis: null,
+ bookingUid: bookingUid ? `${bookingUid}` : null,
+ rescheduleUid: rescheduleUid ? `${rescheduleUid}` : null,
+ },
+ };
+}
+
+async function getUserPageProps(context: GetServerSidePropsContext) {
+ const session = await getServerSession(context);
+ const { user: usernames, type: slug } = paramsSchema.parse(context.params);
+ const username = usernames[0];
+ const { rescheduleUid, bookingUid } = context.query;
+ const { currentOrgDomain, isValidOrgDomain } = orgDomainConfig(context.req, context.params?.orgSlug);
+ let outOfOffice = false;
+ const isOrgContext = currentOrgDomain && isValidOrgDomain;
+ if (!isOrgContext) {
+ const redirect = await getTemporaryOrgRedirect({
+ slugs: usernames,
+ redirectType: RedirectType.User,
+ eventTypeSlug: slug,
+ currentQuery: context.query,
+ });
+
+ if (redirect) {
+ return redirect;
+ }
+ }
+
+ const { ssrInit } = await import("@server/lib/ssr");
+ const ssr = await ssrInit(context);
+ const user = await prisma.user.findFirst({
+ where: {
+ username,
+ organization: userOrgQuery(context.req, context.params?.orgSlug),
+ },
+ select: {
+ id: true,
+ hideBranding: true,
+ allowSEOIndexing: true,
+ },
+ });
+
+ if (!user) {
+ return {
+ notFound: true,
+ } as const;
+ }
+ // If user is found, quickly verify bookingRedirects
+ const result = await handleTypeRedirection({
+ userId: user.id,
+ username,
+ slug,
+ });
+ if (result && result.outOfOffice) {
+ outOfOffice = true;
+ }
+ if (result && result.redirect?.destination) {
+ return result;
+ }
+
+ let booking: GetBookingType | null = null;
+ if (rescheduleUid) {
+ booking = await getBookingForReschedule(`${rescheduleUid}`, session?.user?.id);
+ } else if (bookingUid) {
+ booking = await getBookingForSeatedEvent(`${bookingUid}`);
+ }
+
+ const org = isValidOrgDomain ? currentOrgDomain : null;
+ // We use this to both prefetch the query on the server,
+ // as well as to check if the event exist, so we can show a 404 otherwise.
+ const eventData = await ssr.viewer.public.event.fetch({
+ username,
+ eventSlug: slug,
+ org,
+ });
+
+ if (!eventData) {
+ return {
+ notFound: true,
+ } as const;
+ }
+
+ return {
+ props: {
+ booking,
+ eventData: {
+ entity: eventData.entity,
+ length: eventData.length,
+ metadata: eventData.metadata,
+ },
+ away: outOfOffice,
+ user: username,
+ slug,
+ trpcState: ssr.dehydrate(),
+ isBrandingHidden: user?.hideBranding,
+ isSEOIndexable: user?.allowSEOIndexing,
+ themeBasis: username,
+ bookingUid: bookingUid ? `${bookingUid}` : null,
+ rescheduleUid: rescheduleUid ? `${rescheduleUid}` : null,
+ },
+ };
+}
+
+const paramsSchema = z.object({
+ type: z.string().transform((s) => slugify(s)),
+ user: z.string().transform((s) => getUsernameList(s)),
+});
+
+// Booker page fetches a tiny bit of data server side, to determine early
+// whether the page should show an away state or dynamic booking not allowed.
+export const getServerSideProps = async (context: GetServerSidePropsContext) => {
+ const { user } = paramsSchema.parse(context.params);
+ const isDynamicGroup = user.length > 1;
+
+ return isDynamicGroup ? await getDynamicGroupPageProps(context) : await getUserPageProps(context);
+};
+"use client";
+
+import classNames from "classnames";
+import type { InferGetServerSidePropsType } from "next";
+import Link from "next/link";
+import { useSearchParams } from "next/navigation";
+import { Toaster } from "react-hot-toast";
+
+import {
+ sdkActionManager,
+ useEmbedNonStylesConfig,
+ useEmbedStyles,
+ useIsEmbed,
+} from "@calcom/embed-core/embed-iframe";
+import { EventTypeDescriptionLazy as EventTypeDescription } from "@calcom/features/eventtypes/components";
+import EmptyPage from "@calcom/features/eventtypes/components/EmptyPage";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { useRouterQuery } from "@calcom/lib/hooks/useRouterQuery";
+import useTheme from "@calcom/lib/hooks/useTheme";
+import { HeadSeo, UnpublishedEntity, UserAvatar } from "@calcom/ui";
+import { ArrowRight, Verified } from "@calcom/ui/components/icon";
+
+import { type getServerSideProps } from "./users-public-view.getServerSideProps";
+
+export function UserPage(props: InferGetServerSidePropsType) {
+ const { users, profile, eventTypes, markdownStrippedBio, entity } = props;
+ const searchParams = useSearchParams();
+
+ const [user] = users; //To be used when we only have a single user, not dynamic group
+ useTheme(profile.theme);
+ const { t } = useLocale();
+
+ const isBioEmpty = !user.bio || !user.bio.replace("
", "").length;
+
+ const isEmbed = useIsEmbed(props.isEmbed);
+ const eventTypeListItemEmbedStyles = useEmbedStyles("eventTypeListItem");
+ const shouldAlignCentrallyInEmbed = useEmbedNonStylesConfig("align") !== "left";
+ const shouldAlignCentrally = !isEmbed || shouldAlignCentrallyInEmbed;
+ const {
+ // So it doesn't display in the Link (and make tests fail)
+ user: _user,
+ orgSlug: _orgSlug,
+ redirect: _redirect,
+ ...query
+ } = useRouterQuery();
+
+ const isRedirect = searchParams?.get("redirected") === "true" || false;
+ const fromUserNameRedirected = searchParams?.get("username") || "";
+ /*
+ const telemetry = useTelemetry();
+ useEffect(() => {
+ if (top !== window) {
+ //page_view will be collected automatically by _middleware.ts
+ telemetry.event(telemetryEventTypes.embedView, collectPageParameters("/[user]"));
+ }
+ }, [telemetry, router.asPath]); */
+
+ if (entity?.isUnpublished) {
+ return (
+
+
+
+ );
+ }
+
+ const isEventListEmpty = eventTypes.length === 0;
+
+ return (
+ <>
+
+
+
+
+ {isRedirect && (
+
+
+ {t("user_redirect_title", {
+ username: fromUserNameRedirected,
+ })}{" "}
+ 🏝️
+
+
+ {t("user_redirect_description", {
+ profile: {
+ username: user.username,
+ },
+ username: fromUserNameRedirected,
+ })}{" "}
+ 😄
+
+
+ )}
+
+
+
+ {profile.name}
+ {user.verified && (
+
+ )}
+
+ {!isBioEmpty && (
+ <>
+
+ >
+ )}
+
+
+
+ {user.away ? (
+
+
+
😴{` ${t("user_away")}`}
+
{t("user_away_description") as string}
+
+
+ ) : (
+ eventTypes.map((type) => (
+
+
+ {/* Don't prefetch till the time we drop the amount of javascript in [user][type] page which is impacting score for [user] page */}
+
+
{
+ sdkActionManager?.fire("eventTypeSelected", {
+ eventType: type,
+ });
+ }}
+ data-testid="event-type-link">
+
+
{type.title}
+
+
+
+
+
+ ))
+ )}
+
+
+ {isEventListEmpty && }
+
+
+
+ >
+ );
+}
+
+export default UserPage;
+"use client";
+
+import { useSearchParams } from "next/navigation";
+
+import { Booker } from "@calcom/atoms";
+import { getBookerWrapperClasses } from "@calcom/features/bookings/Booker/utils/getBookerWrapperClasses";
+import { BookerSeo } from "@calcom/features/bookings/components/BookerSeo";
+
+import { type PageProps } from "./users-type-public-view.getServerSideProps";
+
+export const getMultipleDurationValue = (
+ multipleDurationConfig: number[] | undefined,
+ queryDuration: string | string[] | null | undefined,
+ defaultValue: number
+) => {
+ if (!multipleDurationConfig) return null;
+ if (multipleDurationConfig.includes(Number(queryDuration))) return Number(queryDuration);
+ return defaultValue;
+};
+
+export default function Type({
+ slug,
+ user,
+ isEmbed,
+ booking,
+ away,
+ isBrandingHidden,
+ isSEOIndexable,
+ rescheduleUid,
+ eventData,
+}: PageProps) {
+ const searchParams = useSearchParams();
+
+ return (
+
+
+
+
+ );
+}
+import type { GetServerSidePropsContext } from "next";
+
+import { getServerSession } from "@calcom/features/auth/lib/getServerSession";
+
+function RedirectPage() {
+ return;
+}
+
+export async function getServerSideProps({ req, res }: GetServerSidePropsContext) {
+ const session = await getServerSession({ req, res });
+
+ if (!session?.user?.id) {
+ return { redirect: { permanent: false, destination: "/auth/login" } };
+ }
+
+ return { redirect: { permanent: false, destination: "/event-types" } };
+}
+
+export default RedirectPage;
+"use client";
+
+import { getLayout } from "@calcom/features/MainLayout";
+import {
+ AverageEventDurationChart,
+ BookingKPICards,
+ BookingStatusLineChart,
+ LeastBookedTeamMembersTable,
+ MostBookedTeamMembersTable,
+ PopularEventsTable,
+} from "@calcom/features/insights/components";
+import { FiltersProvider } from "@calcom/features/insights/context/FiltersProvider";
+import { Filters } from "@calcom/features/insights/filters";
+import { ShellMain } from "@calcom/features/shell/Shell";
+import { UpgradeTip } from "@calcom/features/tips";
+import { WEBAPP_URL } from "@calcom/lib/constants";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { trpc } from "@calcom/trpc";
+import { Button, ButtonGroup } from "@calcom/ui";
+import { RefreshCcw, UserPlus, Users } from "@calcom/ui/components/icon";
+
+import { getServerSideProps } from "@lib/insights/getServerSideProps";
+
+import PageWrapper from "@components/PageWrapper";
+
+export default function InsightsPage() {
+ const { t } = useLocale();
+ const { data: user } = trpc.viewer.me.useQuery();
+
+ const features = [
+ {
+ icon: ,
+ title: t("view_bookings_across"),
+ description: t("view_bookings_across_description"),
+ },
+ {
+ icon: ,
+ title: t("identify_booking_trends"),
+ description: t("identify_booking_trends_description"),
+ },
+ {
+ icon: ,
+ title: t("spot_popular_event_types"),
+ description: t("spot_popular_event_types_description"),
+ },
+ ];
+
+ return (
+
+
+
+
+
+
+
+
+ }>
+ {!user ? (
+ <>>
+ ) : (
+
+
+
+
+
+ )}
+
+
+
+ );
+}
+
+InsightsPage.PageWrapper = PageWrapper;
+InsightsPage.getLayout = getLayout;
+
+export { getServerSideProps };
+import MembersView from "@calcom/features/ee/organizations/pages/settings/members";
+
+import type { CalPageWrapper } from "@components/PageWrapper";
+import PageWrapper from "@components/PageWrapper";
+
+const Page = MembersView as CalPageWrapper;
+Page.PageWrapper = PageWrapper;
+
+export default Page;
+import OrgProfileView from "@calcom/features/ee/organizations/pages/settings/profile";
+
+import type { CalPageWrapper } from "@components/PageWrapper";
+import PageWrapper from "@components/PageWrapper";
+
+const Page = OrgProfileView as CalPageWrapper;
+Page.PageWrapper = PageWrapper;
+
+export default Page;
+"use client";
+
+import LicenseRequired from "@calcom/features/ee/common/components/LicenseRequired";
+import { CreateANewOrganizationForm } from "@calcom/features/ee/organizations/components";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { WizardLayout, Meta, WizardLayoutAppDir } from "@calcom/ui";
+
+import { getServerSideProps } from "@lib/settings/organizations/new/getServerSideProps";
+import type { inferSSRProps } from "@lib/types/inferSSRProps";
+
+import PageWrapper from "@components/PageWrapper";
+
+const CreateNewOrganizationPage = ({ querySlug }: inferSSRProps) => {
+ const { t } = useLocale();
+ return (
+
+
+
+
+ );
+};
+const LayoutWrapper = (page: React.ReactElement) => {
+ return (
+
+ {page}
+
+ );
+};
+
+export const LayoutWrapperAppDir = (page: React.ReactElement) => {
+ return (
+
+ {page}
+
+ );
+};
+
+CreateNewOrganizationPage.getLayout = LayoutWrapper;
+CreateNewOrganizationPage.PageWrapper = PageWrapper;
+
+export default CreateNewOrganizationPage;
+
+export { getServerSideProps };
+import TeamMembersView from "@calcom/features/ee/organizations/pages/settings/other-team-members-view";
+
+import type { CalPageWrapper } from "@components/PageWrapper";
+import PageWrapper from "@components/PageWrapper";
+
+const Page = TeamMembersView as CalPageWrapper;
+Page.PageWrapper = PageWrapper;
+
+export default Page;
+import OtherTeamProfileView from "@calcom/features/ee/organizations/pages/settings/other-team-profile-view";
+
+import type { CalPageWrapper } from "@components/PageWrapper";
+import PageWrapper from "@components/PageWrapper";
+
+const Page = OtherTeamProfileView as CalPageWrapper;
+Page.PageWrapper = PageWrapper;
+
+export default Page;
+import TeamAppearenceView from "@calcom/features/ee/teams/pages/team-appearance-view";
+
+import type { CalPageWrapper } from "@components/PageWrapper";
+import PageWrapper from "@components/PageWrapper";
+
+const Page = TeamAppearenceView as CalPageWrapper;
+Page.PageWrapper = PageWrapper;
+
+export default Page;
+import OrgAppearanceView from "@calcom/features/ee/organizations/pages/settings/appearance";
+
+import type { CalPageWrapper } from "@components/PageWrapper";
+import PageWrapper from "@components/PageWrapper";
+
+const Page = OrgAppearanceView as CalPageWrapper;
+Page.PageWrapper = PageWrapper;
+
+export default Page;
+import type { CalPageWrapper } from "@components/PageWrapper";
+import PageWrapper from "@components/PageWrapper";
+
+import BillingPage from "../../settings/billing/index";
+
+const Page = BillingPage as CalPageWrapper;
+Page.PageWrapper = PageWrapper;
+
+export default Page;
+"use client";
+
+import { redirect, useRouter } from "next/navigation";
+
+import { AddNewTeamsForm } from "@calcom/features/ee/organizations/components";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { Meta, WizardLayout } from "@calcom/ui";
+import { WizardLayoutAppDir } from "@calcom/ui";
+
+import PageWrapper from "@components/PageWrapper";
+
+export { getServerSideProps } from "@calcom/features/ee/organizations/pages/organization";
+
+const AddNewTeamsPage = () => {
+ const { t } = useLocale();
+ return (
+ <>
+
+
+ >
+ );
+};
+
+AddNewTeamsPage.getLayout = (page: React.ReactElement) => {
+ // eslint-disable-next-line react-hooks/rules-of-hooks
+ const router = useRouter();
+
+ return (
+ {
+ router.push(`/event-types`);
+ }}>
+ {page}
+
+ );
+};
+
+AddNewTeamsPage.PageWrapper = PageWrapper;
+
+export const WrapperAddNewTeamsPage = (page: React.ReactElement) => {
+ return (
+ {
+ redirect(`/event-types`);
+ }}>
+ {page}
+
+ );
+};
+
+export default AddNewTeamsPage;
+"use client";
+
+import { redirect, useRouter } from "next/navigation";
+
+import AddNewTeamMembers from "@calcom/features/ee/teams/components/AddNewTeamMembers";
+import { useCompatSearchParams } from "@calcom/lib/hooks/useCompatSearchParams";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { Meta, WizardLayout, WizardLayoutAppDir } from "@calcom/ui";
+
+import PageWrapper from "@components/PageWrapper";
+
+export { getServerSideProps } from "@calcom/features/ee/organizations/pages/organization";
+
+const OnboardTeamMembersPage = () => {
+ const { t } = useLocale();
+
+ return (
+ <>
+
+
+ >
+ );
+};
+
+OnboardTeamMembersPage.getLayout = (page: React.ReactElement) => {
+ // eslint-disable-next-line react-hooks/rules-of-hooks
+ const router = useRouter();
+ // eslint-disable-next-line react-hooks/rules-of-hooks
+ const query = useCompatSearchParams();
+
+ return (
+ {
+ router.push(`/settings/organizations/${query.get("id")}/add-teams`);
+ }}>
+ {page}
+
+ );
+};
+
+export const buildWrappedOnboardTeamMembersPage = (
+ id: string | string[] | undefined,
+ page: React.ReactElement
+) => {
+ return (
+ {
+ redirect(`/settings/organizations/${id}/add-teams`);
+ }}>
+ {page}
+
+ );
+};
+
+OnboardTeamMembersPage.PageWrapper = PageWrapper;
+
+export default OnboardTeamMembersPage;
+"use client";
+
+import { SetPasswordForm } from "@calcom/features/ee/organizations/components";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { Meta, WizardLayout, WizardLayoutAppDir } from "@calcom/ui";
+
+import PageWrapper from "@components/PageWrapper";
+
+export { getServerSideProps } from "@calcom/features/ee/organizations/pages/organization";
+
+const SetPasswordPage = () => {
+ const { t } = useLocale();
+ return (
+ <>
+
+
+ >
+ );
+};
+const LayoutWrapper = (page: React.ReactElement) => {
+ return (
+
+ {page}
+
+ );
+};
+
+export const WrappedSetPasswordPage = (page: React.ReactElement) => {
+ return (
+
+ {page}
+
+ );
+};
+
+SetPasswordPage.getLayout = LayoutWrapper;
+SetPasswordPage.PageWrapper = PageWrapper;
+
+export default SetPasswordPage;
+"use client";
+
+import { AboutOrganizationForm } from "@calcom/features/ee/organizations/components";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { Meta, WizardLayout, WizardLayoutAppDir } from "@calcom/ui";
+
+import PageWrapper from "@components/PageWrapper";
+
+export { getServerSideProps } from "@calcom/features/ee/organizations/pages/organization";
+
+const AboutOrganizationPage = () => {
+ const { t } = useLocale();
+ return (
+ <>
+
+
+ >
+ );
+};
+export const LayoutWrapper = (page: React.ReactElement) => {
+ return (
+
+ {page}
+
+ );
+};
+
+export const WrappedAboutOrganizationPage = (page: React.ReactElement) => {
+ return (
+
+ {page}
+
+ );
+};
+
+AboutOrganizationPage.getLayout = LayoutWrapper;
+AboutOrganizationPage.PageWrapper = PageWrapper;
+
+export default AboutOrganizationPage;
+import OrgGeneralView from "@calcom/features/ee/organizations/pages/settings/general";
+
+import type { CalPageWrapper } from "@components/PageWrapper";
+import PageWrapper from "@components/PageWrapper";
+
+const Page = OrgGeneralView as CalPageWrapper;
+Page.PageWrapper = PageWrapper;
+
+export default Page;
+import WeebhooksView from "@calcom/features/webhooks/pages/webhooks-view";
+
+import type { CalPageWrapper } from "@components/PageWrapper";
+import PageWrapper from "@components/PageWrapper";
+
+const Page = WeebhooksView as CalPageWrapper;
+Page.PageWrapper = PageWrapper;
+
+export default Page;
+import WeebhookNewView from "@calcom/features/webhooks/pages/webhook-new-view";
+
+import type { CalPageWrapper } from "@components/PageWrapper";
+import PageWrapper from "@components/PageWrapper";
+
+const Page = WeebhookNewView as CalPageWrapper;
+Page.PageWrapper = PageWrapper;
+
+export default Page;
+import WebhookEditView from "@calcom/features/webhooks/pages/webhook-edit-view";
+
+import type { CalPageWrapper } from "@components/PageWrapper";
+import PageWrapper from "@components/PageWrapper";
+
+const Page = WebhookEditView as CalPageWrapper;
+Page.PageWrapper = PageWrapper;
+
+export default Page;
+import { useState } from "react";
+
+import type { TApiKeys } from "@calcom/ee/api-keys/components/ApiKeyListItem";
+import LicenseRequired from "@calcom/ee/common/components/LicenseRequired";
+import ApiKeyDialogForm from "@calcom/features/ee/api-keys/components/ApiKeyDialogForm";
+import ApiKeyListItem from "@calcom/features/ee/api-keys/components/ApiKeyListItem";
+import { getLayout } from "@calcom/features/settings/layouts/SettingsLayout";
+import { APP_NAME } from "@calcom/lib/constants";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { trpc } from "@calcom/trpc/react";
+import {
+ Button,
+ Dialog,
+ DialogContent,
+ EmptyScreen,
+ Meta,
+ SkeletonContainer,
+ SkeletonText,
+} from "@calcom/ui";
+import { Link as LinkIcon, Plus } from "@calcom/ui/components/icon";
+
+import PageWrapper from "@components/PageWrapper";
+
+const SkeletonLoader = ({ title, description }: { title: string; description: string }) => {
+ return (
+
+
+
+
+
+
+
+ );
+};
+
+const ApiKeysView = () => {
+ const { t } = useLocale();
+
+ const { data, isPending } = trpc.viewer.apiKeys.list.useQuery();
+
+ const [apiKeyModal, setApiKeyModal] = useState(false);
+ const [apiKeyToEdit, setApiKeyToEdit] = useState<(TApiKeys & { neverExpires?: boolean }) | undefined>(
+ undefined
+ );
+
+ const NewApiKeyButton = () => {
+ return (
+
+ );
+ };
+
+ if (isPending || !data) {
+ return (
+
+ );
+ }
+
+ return (
+ <>
+ }
+ borderInShellHeader={true}
+ />
+
+
+
+ {data?.length ? (
+ <>
+
+ {data.map((apiKey, index) => (
+
{
+ setApiKeyToEdit(apiKey);
+ setApiKeyModal(true);
+ }}
+ />
+ ))}
+
+ >
+ ) : (
+
}
+ />
+ )}
+
+
+
+
+ >
+ );
+};
+
+ApiKeysView.getLayout = getLayout;
+ApiKeysView.PageWrapper = PageWrapper;
+
+export default ApiKeysView;
+"use client";
+
+import { useState } from "react";
+
+import { getLayout } from "@calcom/features/settings/layouts/SettingsLayout";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { trpc } from "@calcom/trpc/react";
+import type { RouterOutputs } from "@calcom/trpc/react";
+import { Meta, showToast, SettingsToggle, SkeletonContainer, SkeletonText } from "@calcom/ui";
+
+import PageWrapper from "@components/PageWrapper";
+
+const SkeletonLoader = ({ title, description }: { title: string; description: string }) => {
+ return (
+
+
+
+
+
+
+ );
+};
+
+const ProfileImpersonationView = ({ user }: { user: RouterOutputs["viewer"]["me"] }) => {
+ const { t } = useLocale();
+ const utils = trpc.useContext();
+ const [disableImpersonation, setDisableImpersonation] = useState(
+ user?.disableImpersonation
+ );
+
+ const mutation = trpc.viewer.updateProfile.useMutation({
+ onSuccess: () => {
+ showToast(t("profile_updated_successfully"), "success");
+ },
+ onSettled: () => {
+ utils.viewer.me.invalidate();
+ },
+ onMutate: async ({ disableImpersonation }) => {
+ await utils.viewer.me.cancel();
+ const previousValue = utils.viewer.me.getData();
+
+ setDisableImpersonation(disableImpersonation);
+
+ return { previousValue };
+ },
+ onError: (error, variables, context) => {
+ if (context?.previousValue) {
+ utils.viewer.me.setData(undefined, context.previousValue);
+ setDisableImpersonation(context.previousValue?.disableImpersonation);
+ }
+ showToast(`${t("error")}, ${error.message}`, "error");
+ },
+ });
+
+ return (
+ <>
+
+
+ {
+ mutation.mutate({ disableImpersonation: !checked });
+ }}
+ switchContainerClassName="rounded-t-none border-t-0"
+ disabled={mutation.isPending}
+ />
+
+ >
+ );
+};
+
+const ProfileImpersonationViewWrapper = () => {
+ const { data: user, isPending } = trpc.viewer.me.useQuery();
+ const { t } = useLocale();
+
+ if (isPending || !user)
+ return ;
+
+ return ;
+};
+
+ProfileImpersonationViewWrapper.getLayout = getLayout;
+ProfileImpersonationViewWrapper.PageWrapper = PageWrapper;
+
+export default ProfileImpersonationViewWrapper;
+import UserSSOView from "@calcom/features/ee/sso/page/user-sso-view";
+
+import type { CalPageWrapper } from "@components/PageWrapper";
+import PageWrapper from "@components/PageWrapper";
+
+const Page = UserSSOView as CalPageWrapper;
+Page.PageWrapper = PageWrapper;
+
+export default Page;
+"use client";
+
+import { useState } from "react";
+
+import { getLayout } from "@calcom/features/settings/layouts/SettingsLayout";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { trpc } from "@calcom/trpc/react";
+import {
+ Badge,
+ Meta,
+ SkeletonButton,
+ SkeletonContainer,
+ SkeletonText,
+ Alert,
+ SettingsToggle,
+} from "@calcom/ui";
+
+import PageWrapper from "@components/PageWrapper";
+import DisableTwoFactorModal from "@components/settings/DisableTwoFactorModal";
+import EnableTwoFactorModal from "@components/settings/EnableTwoFactorModal";
+
+const SkeletonLoader = ({ title, description }: { title: string; description: string }) => {
+ return (
+
+
+
+
+ );
+};
+
+const TwoFactorAuthView = () => {
+ const utils = trpc.useContext();
+
+ const { t } = useLocale();
+ const { data: user, isPending } = trpc.viewer.me.useQuery();
+
+ const [enableModalOpen, setEnableModalOpen] = useState(false);
+ const [disableModalOpen, setDisableModalOpen] = useState(false);
+
+ if (isPending)
+ return ;
+
+ const isCalProvider = user?.identityProvider === "CAL";
+ const canSetupTwoFactor = !isCalProvider && !user?.twoFactorEnabled;
+ return (
+ <>
+
+ {canSetupTwoFactor && }
+
+ user?.twoFactorEnabled ? setDisableModalOpen(true) : setEnableModalOpen(true)
+ }
+ Badge={
+
+ {user?.twoFactorEnabled ? t("enabled") : t("disabled")}
+
+ }
+ switchContainerClassName="rounded-t-none border-t-0"
+ />
+
+ setEnableModalOpen(!enableModalOpen)}
+ onEnable={() => {
+ setEnableModalOpen(false);
+ utils.viewer.me.invalidate();
+ }}
+ onCancel={() => {
+ setEnableModalOpen(false);
+ }}
+ />
+
+ setDisableModalOpen(!disableModalOpen)}
+ onDisable={() => {
+ setDisableModalOpen(false);
+ utils.viewer.me.invalidate();
+ }}
+ onCancel={() => {
+ setDisableModalOpen(false);
+ }}
+ />
+ >
+ );
+};
+
+TwoFactorAuthView.getLayout = getLayout;
+TwoFactorAuthView.PageWrapper = PageWrapper;
+
+export default TwoFactorAuthView;
+"use client";
+
+import { signOut, useSession } from "next-auth/react";
+import { useState } from "react";
+import { useForm } from "react-hook-form";
+
+import { identityProviderNameMap } from "@calcom/features/auth/lib/identityProviderNameMap";
+import SectionBottomActions from "@calcom/features/settings/SectionBottomActions";
+import { getLayout } from "@calcom/features/settings/layouts/SettingsLayout";
+import { classNames } from "@calcom/lib";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { IdentityProvider } from "@calcom/prisma/enums";
+import { userMetadata as userMetadataSchema } from "@calcom/prisma/zod-utils";
+import type { RouterOutputs } from "@calcom/trpc/react";
+import { trpc } from "@calcom/trpc/react";
+import {
+ Alert,
+ Button,
+ Form,
+ Meta,
+ PasswordField,
+ Select,
+ SettingsToggle,
+ showToast,
+ SkeletonButton,
+ SkeletonContainer,
+ SkeletonText,
+} from "@calcom/ui";
+
+import PageWrapper from "@components/PageWrapper";
+
+type ChangePasswordSessionFormValues = {
+ oldPassword: string;
+ newPassword: string;
+ sessionTimeout?: number;
+ apiError: string;
+};
+
+interface PasswordViewProps {
+ user: RouterOutputs["viewer"]["me"];
+}
+
+const SkeletonLoader = ({ title, description }: { title: string; description: string }) => {
+ return (
+
+
+
+
+
+
+
+
+
+
+
+
+
+ );
+};
+
+const PasswordView = ({ user }: PasswordViewProps) => {
+ const { data } = useSession();
+ const { t } = useLocale();
+ const utils = trpc.useContext();
+ const metadata = userMetadataSchema.safeParse(user?.metadata);
+ const initialSessionTimeout = metadata.success ? metadata.data?.sessionTimeout : undefined;
+
+ const [sessionTimeout, setSessionTimeout] = useState(initialSessionTimeout);
+
+ const sessionMutation = trpc.viewer.updateProfile.useMutation({
+ onSuccess: (data) => {
+ showToast(t("session_timeout_changed"), "success");
+ formMethods.reset(formMethods.getValues());
+ setSessionTimeout(data.metadata?.sessionTimeout);
+ },
+ onSettled: () => {
+ utils.viewer.me.invalidate();
+ },
+ onMutate: async () => {
+ await utils.viewer.me.cancel();
+ const previousValue = await utils.viewer.me.getData();
+ const previousMetadata = userMetadataSchema.safeParse(previousValue?.metadata);
+
+ if (previousValue && sessionTimeout && previousMetadata.success) {
+ utils.viewer.me.setData(undefined, {
+ ...previousValue,
+ metadata: { ...previousMetadata?.data, sessionTimeout: sessionTimeout },
+ });
+ return { previousValue };
+ }
+ },
+ onError: (error, _, context) => {
+ if (context?.previousValue) {
+ utils.viewer.me.setData(undefined, context.previousValue);
+ }
+ showToast(`${t("session_timeout_change_error")}, ${error.message}`, "error");
+ },
+ });
+ const passwordMutation = trpc.viewer.auth.changePassword.useMutation({
+ onSuccess: () => {
+ showToast(t("password_has_been_changed"), "success");
+ formMethods.resetField("oldPassword");
+ formMethods.resetField("newPassword");
+
+ if (data?.user.role === "INACTIVE_ADMIN") {
+ /*
+ AdminPasswordBanner component relies on the role returned from the session.
+ Next-Auth doesn't provide a way to revalidate the session cookie,
+ so this a workaround to hide the banner after updating the password.
+ discussion: https://github.com/nextauthjs/next-auth/discussions/4229
+ */
+ signOut({ callbackUrl: "/auth/login" });
+ }
+ },
+ onError: (error) => {
+ showToast(`${t("error_updating_password")}, ${t(error.message)}`, "error");
+
+ formMethods.setError("apiError", {
+ message: t(error.message),
+ type: "custom",
+ });
+ },
+ });
+
+ const formMethods = useForm({
+ defaultValues: {
+ oldPassword: "",
+ newPassword: "",
+ },
+ });
+
+ const handleSubmit = (values: ChangePasswordSessionFormValues) => {
+ const { oldPassword, newPassword } = values;
+
+ if (!oldPassword.length) {
+ formMethods.setError(
+ "oldPassword",
+ { type: "required", message: t("error_required_field") },
+ { shouldFocus: true }
+ );
+ }
+ if (!newPassword.length) {
+ formMethods.setError(
+ "newPassword",
+ { type: "required", message: t("error_required_field") },
+ { shouldFocus: true }
+ );
+ }
+
+ if (oldPassword && newPassword) {
+ passwordMutation.mutate({ oldPassword, newPassword });
+ }
+ };
+
+ const timeoutOptions = [5, 10, 15].map((mins) => ({
+ label: t("multiple_duration_mins", { count: mins }),
+ value: mins,
+ }));
+
+ const isDisabled = formMethods.formState.isSubmitting || !formMethods.formState.isDirty;
+
+ const passwordMinLength = data?.user.role === "USER" ? 7 : 15;
+ const isUser = data?.user.role === "USER";
+
+ return (
+ <>
+
+ {user && user.identityProvider !== IdentityProvider.CAL ? (
+
+
+ {t("account_managed_by_identity_provider", {
+ provider: identityProviderNameMap[user.identityProvider],
+ })}
+
+
+
+ {t("account_managed_by_identity_provider_description", {
+ provider: identityProviderNameMap[user.identityProvider],
+ })}
+
+
+ ) : (
+
+ )}
+ >
+ );
+};
+
+const PasswordViewWrapper = () => {
+ const { data: user, isPending } = trpc.viewer.me.useQuery();
+ const { t } = useLocale();
+ if (isPending || !user)
+ return ;
+
+ return ;
+};
+
+PasswordViewWrapper.getLayout = getLayout;
+PasswordViewWrapper.PageWrapper = PageWrapper;
+
+export default PasswordViewWrapper;
+"use client";
+
+import { Meta } from "@calcom/ui";
+
+import PageWrapper from "@components/PageWrapper";
+import { getLayout } from "@components/auth/layouts/AdminLayout";
+
+function AdminAppsView() {
+ return (
+ <>
+
+ Admin index
+ >
+ );
+}
+
+AdminAppsView.getLayout = getLayout;
+AdminAppsView.PageWrapper = PageWrapper;
+
+export default AdminAppsView;
+import AdminOrgsPage from "@calcom/features/ee/organizations/pages/settings/admin/AdminOrgPage";
+
+import type { CalPageWrapper } from "@components/PageWrapper";
+import PageWrapper from "@components/PageWrapper";
+
+const Page = AdminOrgsPage as CalPageWrapper;
+Page.PageWrapper = PageWrapper;
+
+export default Page;
+import OrgEditView from "@calcom/features/ee/organizations/pages/settings/admin/AdminOrgEditPage";
+
+import type { CalPageWrapper } from "@components/PageWrapper";
+import PageWrapper from "@components/PageWrapper";
+
+const Page = OrgEditView as CalPageWrapper;
+Page.PageWrapper = PageWrapper;
+
+export default Page;
+import { zodResolver } from "@hookform/resolvers/zod";
+import type { GetServerSidePropsContext } from "next";
+import { getSession } from "next-auth/react";
+import type { TFunction } from "next-i18next";
+import { serverSideTranslations } from "next-i18next/serverSideTranslations";
+import { useState } from "react";
+import { useForm } from "react-hook-form";
+import z from "zod";
+
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { UserPermissionRole } from "@calcom/prisma/enums";
+import { getStringAsNumberRequiredSchema } from "@calcom/prisma/zod-utils";
+import { Button, Form, Meta, TextField, showToast } from "@calcom/ui";
+
+import PageWrapper from "@components/PageWrapper";
+
+import { getLayout } from "./_OrgMigrationLayout";
+
+function Wrapper({ children }: { children: React.ReactNode }) {
+ return (
+
+
+ {children}
+
+ );
+}
+
+const enum State {
+ IDLE,
+ LOADING,
+ SUCCESS,
+ ERROR,
+}
+
+export const getFormSchema = (t: TFunction) =>
+ z.object({
+ targetOrgId: z.union([getStringAsNumberRequiredSchema(t), z.number()]),
+ teamId: z.union([getStringAsNumberRequiredSchema(t), z.number()]),
+ });
+
+export default function RemoveTeamFromOrg() {
+ const [state, setState] = useState(State.IDLE);
+ const { t } = useLocale();
+ const formSchema = getFormSchema(t);
+ const form = useForm({
+ mode: "onSubmit",
+ resolver: zodResolver(formSchema),
+ });
+
+ const register = form.register;
+
+ return (
+
+ {/* Due to some reason auth from website doesn't work if /api endpoint is used. Spent a lot of time and in the end went with submitting data to the same page, because you can't do POST request to a page in Next.js, doing a GET request */}
+
+
+ );
+}
+
+export async function getServerSideProps(ctx: GetServerSidePropsContext) {
+ const session = await getSession(ctx);
+ if (!session || !session.user) {
+ return {
+ redirect: {
+ destination: "/login",
+ permanent: false,
+ },
+ };
+ }
+
+ const isAdmin = session.user.role === UserPermissionRole.ADMIN;
+ if (!isAdmin) {
+ return {
+ redirect: {
+ destination: "/",
+ permanent: false,
+ },
+ };
+ }
+ return {
+ props: {
+ ...(await serverSideTranslations(ctx.locale || "en", ["common"])),
+ },
+ };
+}
+
+RemoveTeamFromOrg.PageWrapper = PageWrapper;
+RemoveTeamFromOrg.getLayout = getLayout;
+import { getLayout as getSettingsLayout } from "@calcom/features/settings/layouts/SettingsLayout";
+import { HorizontalTabs } from "@calcom/ui";
+
+export default function OrgMigrationLayout({ children }: { children: React.ReactElement }) {
+ return getSettingsLayout(
+
+
+ {children}
+
+ );
+}
+export const getLayout = (page: React.ReactElement) => {
+ return {page};
+};
+import { zodResolver } from "@hookform/resolvers/zod";
+import type { GetServerSidePropsContext } from "next";
+import { getSession } from "next-auth/react";
+import type { TFunction } from "next-i18next";
+import { serverSideTranslations } from "next-i18next/serverSideTranslations";
+import { useState } from "react";
+import { useForm } from "react-hook-form";
+import z from "zod";
+
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { UserPermissionRole } from "@calcom/prisma/enums";
+import { getStringAsNumberRequiredSchema } from "@calcom/prisma/zod-utils";
+import { Button, TextField, Meta, showToast, Form } from "@calcom/ui";
+
+import PageWrapper from "@components/PageWrapper";
+
+import { getLayout } from "./_OrgMigrationLayout";
+
+function Wrapper({ children }: { children: React.ReactNode }) {
+ return (
+
+
+ {children}
+
+ );
+}
+
+const enum State {
+ IDLE,
+ LOADING,
+ SUCCESS,
+ ERROR,
+}
+
+export const getFormSchema = (t: TFunction) =>
+ z.object({
+ userId: z.union([getStringAsNumberRequiredSchema(t), z.number()]),
+ targetOrgId: z.union([getStringAsNumberRequiredSchema(t), z.number()]),
+ });
+
+export default function RemoveUserFromOrg() {
+ const [state, setState] = useState(State.IDLE);
+ const { t } = useLocale();
+ const formSchema = getFormSchema(t);
+ const form = useForm({
+ mode: "onSubmit",
+ resolver: zodResolver(formSchema),
+ });
+ const register = form.register;
+ return (
+
+ {/* Due to some reason auth from website doesn't work if /api endpoint is used. Spent a lot of time and in the end went with submitting data to the same page, because you can't do POST request to a page in Next.js, doing a GET request */}
+
+
+ );
+}
+
+export async function getServerSideProps(ctx: GetServerSidePropsContext) {
+ const session = await getSession(ctx);
+ if (!session || !session.user) {
+ return {
+ redirect: {
+ destination: "/login",
+ permanent: false,
+ },
+ };
+ }
+
+ const isAdmin = session.user.role === UserPermissionRole.ADMIN;
+ if (!isAdmin) {
+ return {
+ redirect: {
+ destination: "/",
+ permanent: false,
+ },
+ };
+ }
+ return {
+ props: {
+ ...(await serverSideTranslations(ctx.locale || "en", ["common"])),
+ },
+ };
+}
+
+RemoveUserFromOrg.PageWrapper = PageWrapper;
+RemoveUserFromOrg.getLayout = getLayout;
+import { zodResolver } from "@hookform/resolvers/zod";
+import type { GetServerSidePropsContext } from "next";
+import { getSession } from "next-auth/react";
+import type { TFunction } from "next-i18next";
+import { serverSideTranslations } from "next-i18next/serverSideTranslations";
+import { useState } from "react";
+import { Controller, useForm } from "react-hook-form";
+import { z } from "zod";
+
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { UserPermissionRole } from "@calcom/prisma/enums";
+import { getStringAsNumberRequiredSchema } from "@calcom/prisma/zod-utils";
+import { Button, Form, Meta, SelectField, TextField, showToast } from "@calcom/ui";
+
+import PageWrapper from "@components/PageWrapper";
+
+import { getLayout } from "./_OrgMigrationLayout";
+
+export const getFormSchema = (t: TFunction) => {
+ return z.object({
+ teamId: z.number().or(getStringAsNumberRequiredSchema(t)),
+ targetOrgId: z.number().or(getStringAsNumberRequiredSchema(t)),
+ moveMembers: z.boolean(),
+ teamSlugInOrganization: z.string(),
+ });
+};
+
+function Wrapper({ children }: { children: React.ReactNode }) {
+ return (
+
+
+ {children}
+
+ );
+}
+
+const enum State {
+ IDLE,
+ LOADING,
+ SUCCESS,
+ ERROR,
+}
+
+export default function MoveTeamToOrg() {
+ const [state, setState] = useState(State.IDLE);
+ const moveUsersOptions = [
+ {
+ label: "No",
+ value: "false",
+ },
+ {
+ label: "Yes",
+ value: "true",
+ },
+ ];
+ const { t } = useLocale();
+ const formSchema = getFormSchema(t);
+ const formMethods = useForm({
+ mode: "onSubmit",
+ resolver: zodResolver(formSchema),
+ });
+
+ const { register, watch } = formMethods;
+ const moveMembers = watch("moveMembers");
+ return (
+
+
+
+ );
+}
+
+export async function getServerSideProps(ctx: GetServerSidePropsContext) {
+ const session = await getSession(ctx);
+ if (!session || !session.user) {
+ return {
+ redirect: {
+ destination: "/login",
+ permanent: false,
+ },
+ };
+ }
+
+ const isAdmin = session.user.role === UserPermissionRole.ADMIN;
+ if (!isAdmin) {
+ return {
+ redirect: {
+ destination: "/",
+ permanent: false,
+ },
+ };
+ }
+ return {
+ props: {
+ error: null,
+ migrated: null,
+ userId: session.user.id,
+ ...(await serverSideTranslations(ctx.locale || "en", ["common"])),
+ username: session.user.username,
+ },
+ };
+}
+
+MoveTeamToOrg.PageWrapper = PageWrapper;
+MoveTeamToOrg.getLayout = getLayout;
+/**
+ * It could be an admin feature to move a user to an organization but because it's a temporary thing before mono-user orgs are implemented, it's not right to spend time on it.
+ * Plus, we need to do it only for cal.com and not provide as a feature to our self hosters.
+ */
+import { zodResolver } from "@hookform/resolvers/zod";
+import type { GetServerSidePropsContext } from "next";
+import { getSession } from "next-auth/react";
+import type { TFunction } from "next-i18next";
+import { serverSideTranslations } from "next-i18next/serverSideTranslations";
+import { useState } from "react";
+import { Controller, useForm } from "react-hook-form";
+import z from "zod";
+
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { MembershipRole } from "@calcom/prisma/client";
+import { UserPermissionRole } from "@calcom/prisma/enums";
+import { getStringAsNumberRequiredSchema } from "@calcom/prisma/zod-utils";
+import { Button, Form, Meta, SelectField, TextField, showToast } from "@calcom/ui";
+
+import PageWrapper from "@components/PageWrapper";
+
+import { getLayout } from "./_OrgMigrationLayout";
+
+function Wrapper({ children }: { children: React.ReactNode }) {
+ return (
+
+
+ {children}
+
+ );
+}
+
+export const getFormSchema = (t: TFunction) =>
+ z.object({
+ userId: z.union([z.string().pipe(z.coerce.number()), z.number()]).optional(),
+ userName: z.string().optional(),
+ targetOrgId: z.union([getStringAsNumberRequiredSchema(t), z.number()]),
+ targetOrgUsername: z.string().min(1, t("error_required_field")),
+ shouldMoveTeams: z.boolean(),
+ targetOrgRole: z.union([
+ z.literal(MembershipRole.ADMIN),
+ z.literal(MembershipRole.MEMBER),
+ z.literal(MembershipRole.OWNER),
+ ]),
+ });
+
+const enum State {
+ IDLE,
+ LOADING,
+ SUCCESS,
+ ERROR,
+}
+export default function MoveUserToOrg() {
+ const [state, setState] = useState(State.IDLE);
+
+ const roles = Object.values(MembershipRole).map((role) => ({
+ label: role,
+ value: role,
+ }));
+
+ const moveTeamsOptions = [
+ {
+ label: "Yes",
+ value: "true",
+ },
+ {
+ label: "No",
+ value: "false",
+ },
+ ];
+ const { t } = useLocale();
+ const formSchema = getFormSchema(t);
+ const form = useForm({
+ mode: "onSubmit",
+ resolver: zodResolver(formSchema),
+ });
+
+ const shouldMoveTeams = form.watch("shouldMoveTeams");
+ const register = form.register;
+ return (
+
+ {/* Due to some reason auth from website doesn't work if /api endpoint is used. Spent a lot of time and in the end went with submitting data to the same page, because you can't do POST request to a page in Next.js, doing a GET request */}
+
+
+ );
+}
+
+export async function getServerSideProps(ctx: GetServerSidePropsContext) {
+ const session = await getSession(ctx);
+ if (!session || !session.user) {
+ return {
+ redirect: {
+ destination: "/login",
+ permanent: false,
+ },
+ };
+ }
+
+ const isAdmin = session.user.role === UserPermissionRole.ADMIN;
+ if (!isAdmin) {
+ return {
+ redirect: {
+ destination: "/",
+ permanent: false,
+ },
+ };
+ }
+ return {
+ props: {
+ ...(await serverSideTranslations(ctx.locale || "en", ["common"])),
+ },
+ };
+}
+
+MoveUserToOrg.PageWrapper = PageWrapper;
+MoveUserToOrg.getLayout = getLayout;
+"use client";
+
+import PageWrapper from "@components/PageWrapper";
+import { getLayout } from "@components/auth/layouts/AdminLayout";
+
+import OAuthView from "./oAuthView";
+
+const OAuthPage = () => ;
+
+OAuthPage.getLayout = getLayout;
+OAuthPage.PageWrapper = PageWrapper;
+
+export default OAuthPage;
+"use client";
+
+import { useState } from "react";
+import { useForm } from "react-hook-form";
+
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { trpc } from "@calcom/trpc";
+import { Meta, Form, Button, TextField, showToast, Tooltip, ImageUploader, Avatar } from "@calcom/ui";
+import { Clipboard } from "@calcom/ui/components/icon";
+import { Plus } from "@calcom/ui/components/icon";
+
+type FormValues = {
+ name: string;
+ redirectUri: string;
+ logo: string;
+};
+
+export default function OAuthView() {
+ const oAuthForm = useForm();
+ const [clientSecret, setClientSecret] = useState("");
+ const [clientId, setClientId] = useState("");
+ const [logo, setLogo] = useState("");
+ const { t } = useLocale();
+
+ const mutation = trpc.viewer.oAuth.addClient.useMutation({
+ onSuccess: async (data) => {
+ setClientSecret(data.clientSecret);
+ setClientId(data.clientId);
+ showToast(`Successfully added ${data.name} as new client`, "success");
+ },
+ onError: (error) => {
+ showToast(`Adding clientfailed: ${error.message}`, "error");
+ },
+ });
+
+ return (
+
+
+ {!clientId ? (
+
+ ) : (
+
+
{oAuthForm.getValues("name")}
+
Client Id
+
+
+ {" "}
+ {clientId}
+
+
+
+
+
+ {clientSecret ? (
+ <>
+
Client Secret
+
+
+ {" "}
+ {clientSecret}
+
+
+
+
+
+
{t("copy_client_secret_info")}
+ >
+ ) : (
+ <>>
+ )}
+
+
+ )}
+
+ );
+}
+"use client";
+
+import { signIn } from "next-auth/react";
+import { useRef } from "react";
+
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { Button, Meta, TextField } from "@calcom/ui";
+
+import PageWrapper from "@components/PageWrapper";
+import { getLayout } from "@components/auth/layouts/AdminLayout";
+
+function AdminView() {
+ const { t } = useLocale();
+ const usernameRef = useRef(null);
+
+ return (
+ <>
+
+
+ >
+ );
+}
+
+AdminView.getLayout = getLayout;
+AdminView.PageWrapper = PageWrapper;
+
+export default AdminView;
+import UsersListingView from "@calcom/features/ee/users/pages/users-listing-view";
+
+import type { CalPageWrapper } from "@components/PageWrapper";
+import PageWrapper from "@components/PageWrapper";
+
+const Page = UsersListingView as CalPageWrapper;
+Page.PageWrapper = PageWrapper;
+
+export default Page;
+import UsersAddView from "@calcom/features/ee/users/pages/users-add-view";
+
+import type { CalPageWrapper } from "@components/PageWrapper";
+import PageWrapper from "@components/PageWrapper";
+
+const Page = UsersAddView as CalPageWrapper;
+Page.PageWrapper = PageWrapper;
+
+export default Page;
+import UsersEditView from "@calcom/features/ee/users/pages/users-edit-view";
+
+import type { CalPageWrapper } from "@components/PageWrapper";
+import PageWrapper from "@components/PageWrapper";
+
+const Page = UsersEditView as CalPageWrapper;
+Page.PageWrapper = PageWrapper;
+
+export default Page;
+"use client";
+export { default } from "./[category]";
+"use client";
+
+import AdminAppsList from "@calcom/features/apps/AdminAppsList";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { Meta } from "@calcom/ui";
+
+import PageWrapper from "@components/PageWrapper";
+import { getLayout } from "@components/auth/layouts/AdminLayout";
+
+function AdminAppsView() {
+ const { t } = useLocale();
+ return (
+ <>
+
+
+ >
+ );
+}
+
+AdminAppsView.getLayout = getLayout;
+AdminAppsView.PageWrapper = PageWrapper;
+
+export default AdminAppsView;
+"use client";
+
+import { FlagListingView } from "@calcom/features/flags/pages/flag-listing-view";
+
+import PageWrapper from "@components/PageWrapper";
+import { getLayout } from "@components/auth/layouts/AdminLayout";
+
+const FlagsPage = () => ;
+
+FlagsPage.getLayout = getLayout;
+FlagsPage.PageWrapper = PageWrapper;
+
+export default FlagsPage;
+"use client";
+
+import { zodResolver } from "@hookform/resolvers/zod";
+import { signOut, useSession } from "next-auth/react";
+import type { BaseSyntheticEvent } from "react";
+import React, { useRef, useState } from "react";
+import { Controller, useForm } from "react-hook-form";
+import { z } from "zod";
+
+import { ErrorCode } from "@calcom/features/auth/lib/ErrorCode";
+import SectionBottomActions from "@calcom/features/settings/SectionBottomActions";
+import { getLayout } from "@calcom/features/settings/layouts/SettingsLayout";
+import { APP_NAME, FULL_NAME_LENGTH_MAX_LIMIT } from "@calcom/lib/constants";
+import { getUserAvatarUrl } from "@calcom/lib/getAvatarUrl";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { md } from "@calcom/lib/markdownIt";
+import turndown from "@calcom/lib/turndownService";
+import { IdentityProvider } from "@calcom/prisma/enums";
+import type { TRPCClientErrorLike } from "@calcom/trpc/client";
+import { trpc } from "@calcom/trpc/react";
+import type { RouterOutputs } from "@calcom/trpc/react";
+import type { AppRouter } from "@calcom/trpc/server/routers/_app";
+import type { Ensure } from "@calcom/types/utils";
+import {
+ Alert,
+ Button,
+ Dialog,
+ DialogClose,
+ DialogContent,
+ DialogFooter,
+ DialogTrigger,
+ Editor,
+ Form,
+ ImageUploader,
+ Label,
+ Meta,
+ PasswordField,
+ showToast,
+ SkeletonAvatar,
+ SkeletonButton,
+ SkeletonContainer,
+ SkeletonText,
+ TextField,
+} from "@calcom/ui";
+import { UserAvatar } from "@calcom/ui";
+import { AlertTriangle, Trash2 } from "@calcom/ui/components/icon";
+
+import PageWrapper from "@components/PageWrapper";
+import TwoFactor from "@components/auth/TwoFactor";
+import { UsernameAvailabilityField } from "@components/ui/UsernameAvailability";
+
+const SkeletonLoader = ({ title, description }: { title: string; description: string }) => {
+ return (
+
+
+
+
+ );
+};
+
+interface DeleteAccountValues {
+ totpCode: string;
+}
+
+type FormValues = {
+ username: string;
+ avatar: string;
+ name: string;
+ email: string;
+ bio: string;
+};
+
+const ProfileView = () => {
+ const { t } = useLocale();
+ const utils = trpc.useContext();
+ const { update } = useSession();
+ const { data: user, isPending } = trpc.viewer.me.useQuery();
+
+ const { data: avatarData } = trpc.viewer.avatar.useQuery(undefined, {
+ enabled: !isPending && !user?.avatarUrl,
+ });
+
+ const updateProfileMutation = trpc.viewer.updateProfile.useMutation({
+ onSuccess: async (res) => {
+ await update(res);
+ showToast(t("settings_updated_successfully"), "success");
+
+ // signout user only in case of password reset
+ if (res.signOutUser && tempFormValues && res.passwordReset) {
+ showToast(t("password_reset_email", { email: tempFormValues.email }), "success");
+ await signOut({ callbackUrl: "/auth/logout?passReset=true" });
+ } else {
+ utils.viewer.me.invalidate();
+ utils.viewer.avatar.invalidate();
+ utils.viewer.shouldVerifyEmail.invalidate();
+ }
+
+ setConfirmAuthEmailChangeWarningDialogOpen(false);
+ setTempFormValues(null);
+ },
+ onError: (e) => {
+ switch (e.message) {
+ // TODO: Add error codes.
+ case "email_already_used":
+ {
+ showToast(t(e.message), "error");
+ }
+ return;
+ default:
+ showToast(t("error_updating_settings"), "error");
+ }
+ },
+ });
+
+ const [confirmPasswordOpen, setConfirmPasswordOpen] = useState(false);
+ const [tempFormValues, setTempFormValues] = useState(null);
+ const [confirmPasswordErrorMessage, setConfirmPasswordDeleteErrorMessage] = useState("");
+ const [confirmAuthEmailChangeWarningDialogOpen, setConfirmAuthEmailChangeWarningDialogOpen] =
+ useState(false);
+
+ const [deleteAccountOpen, setDeleteAccountOpen] = useState(false);
+ const [hasDeleteErrors, setHasDeleteErrors] = useState(false);
+ const [deleteErrorMessage, setDeleteErrorMessage] = useState("");
+ const form = useForm();
+
+ const onDeleteMeSuccessMutation = async () => {
+ await utils.viewer.me.invalidate();
+ showToast(t("Your account was deleted"), "success");
+
+ setHasDeleteErrors(false); // dismiss any open errors
+ if (process.env.NEXT_PUBLIC_WEBAPP_URL === "https://app.cal.com/") {
+ signOut({ callbackUrl: "/auth/logout?survey=true" });
+ } else {
+ signOut({ callbackUrl: "/auth/logout" });
+ }
+ };
+
+ const confirmPasswordMutation = trpc.viewer.auth.verifyPassword.useMutation({
+ onSuccess() {
+ if (tempFormValues) updateProfileMutation.mutate(tempFormValues);
+ setConfirmPasswordOpen(false);
+ },
+ onError() {
+ setConfirmPasswordDeleteErrorMessage(t("incorrect_password"));
+ },
+ });
+
+ const onDeleteMeErrorMutation = (error: TRPCClientErrorLike) => {
+ setHasDeleteErrors(true);
+ setDeleteErrorMessage(errorMessages[error.message]);
+ };
+ const deleteMeMutation = trpc.viewer.deleteMe.useMutation({
+ onSuccess: onDeleteMeSuccessMutation,
+ onError: onDeleteMeErrorMutation,
+ async onSettled() {
+ await utils.viewer.me.invalidate();
+ },
+ });
+ const deleteMeWithoutPasswordMutation = trpc.viewer.deleteMeWithoutPassword.useMutation({
+ onSuccess: onDeleteMeSuccessMutation,
+ onError: onDeleteMeErrorMutation,
+ async onSettled() {
+ await utils.viewer.me.invalidate();
+ },
+ });
+
+ const isCALIdentityProvider = user?.identityProvider === IdentityProvider.CAL;
+
+ const onConfirmPassword = (e: Event | React.MouseEvent) => {
+ e.preventDefault();
+
+ const password = passwordRef.current.value;
+ confirmPasswordMutation.mutate({ passwordInput: password });
+ };
+
+ const onConfirmAuthEmailChange = (e: Event | React.MouseEvent) => {
+ e.preventDefault();
+
+ if (tempFormValues) updateProfileMutation.mutate(tempFormValues);
+ };
+
+ const onConfirmButton = (e: Event | React.MouseEvent) => {
+ e.preventDefault();
+ if (isCALIdentityProvider) {
+ const totpCode = form.getValues("totpCode");
+ const password = passwordRef.current.value;
+ deleteMeMutation.mutate({ password, totpCode });
+ } else {
+ deleteMeWithoutPasswordMutation.mutate();
+ }
+ };
+
+ const onConfirm = ({ totpCode }: DeleteAccountValues, e: BaseSyntheticEvent | undefined) => {
+ e?.preventDefault();
+ if (isCALIdentityProvider) {
+ const password = passwordRef.current.value;
+ deleteMeMutation.mutate({ password, totpCode });
+ } else {
+ deleteMeWithoutPasswordMutation.mutate();
+ }
+ };
+
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
+ const passwordRef = useRef(null!);
+
+ const errorMessages: { [key: string]: string } = {
+ [ErrorCode.SecondFactorRequired]: t("2fa_enabled_instructions"),
+ [ErrorCode.IncorrectPassword]: `${t("incorrect_password")} ${t("please_try_again")}`,
+ [ErrorCode.UserNotFound]: t("no_account_exists"),
+ [ErrorCode.IncorrectTwoFactorCode]: `${t("incorrect_2fa_code")} ${t("please_try_again")}`,
+ [ErrorCode.InternalServerError]: `${t("something_went_wrong")} ${t("please_try_again_and_contact_us")}`,
+ [ErrorCode.ThirdPartyIdentityProviderEnabled]: t("account_created_with_identity_provider"),
+ };
+
+ if (isPending || !user) {
+ return (
+
+ );
+ }
+
+ const defaultValues = {
+ username: user.username || "",
+ avatar: getUserAvatarUrl(user),
+ name: user.name || "",
+ email: user.email || "",
+ bio: user.bio || "",
+ };
+
+ return (
+ <>
+
+ {
+ if (values.email !== user.email && isCALIdentityProvider) {
+ setTempFormValues(values);
+ setConfirmPasswordOpen(true);
+ } else if (values.email !== user.email && !isCALIdentityProvider) {
+ setTempFormValues(values);
+ // Opens a dialog warning the change
+ setConfirmAuthEmailChangeWarningDialogOpen(true);
+ } else {
+ updateProfileMutation.mutate(values);
+ }
+ }}
+ extraField={
+
+ {
+ showToast(t("settings_updated_successfully"), "success");
+ await utils.viewer.me.invalidate();
+ }}
+ onErrorMutation={() => {
+ showToast(t("error_updating_settings"), "error");
+ }}
+ />
+
+ }
+ />
+
+
+
+
{t("account_deletion_cannot_be_undone")}
+
+ {/* Delete account Dialog */}
+
+
+ {/* If changing email, confirm password */}
+
+
+ {/* If changing email from !CAL Login */}
+
+ >
+ );
+};
+
+const ProfileForm = ({
+ defaultValues,
+ onSubmit,
+ extraField,
+ isPending = false,
+ isFallbackImg,
+ user,
+ userOrganization,
+}: {
+ defaultValues: FormValues;
+ onSubmit: (values: FormValues) => void;
+ extraField?: React.ReactNode;
+ isPending: boolean;
+ isFallbackImg: boolean;
+ user: RouterOutputs["viewer"]["me"];
+ userOrganization: RouterOutputs["viewer"]["me"]["organization"];
+}) => {
+ const { t } = useLocale();
+ const [firstRender, setFirstRender] = useState(true);
+
+ const profileFormSchema = z.object({
+ username: z.string(),
+ avatar: z.string(),
+ name: z
+ .string()
+ .trim()
+ .min(1, t("you_need_to_add_a_name"))
+ .max(FULL_NAME_LENGTH_MAX_LIMIT, {
+ message: t("max_limit_allowed_hint", { limit: FULL_NAME_LENGTH_MAX_LIMIT }),
+ }),
+ email: z.string().email(),
+ bio: z.string(),
+ });
+
+ const formMethods = useForm({
+ defaultValues,
+ resolver: zodResolver(profileFormSchema),
+ });
+
+ const {
+ formState: { isSubmitting, isDirty },
+ } = formMethods;
+
+ const isDisabled = isSubmitting || !isDirty;
+ return (
+
+ );
+};
+
+ProfileView.getLayout = getLayout;
+ProfileView.PageWrapper = PageWrapper;
+
+export default ProfileView;
+import { Trash2 } from "lucide-react";
+import React, { useState } from "react";
+import { Controller, useForm, useFormState } from "react-hook-form";
+
+import dayjs from "@calcom/dayjs";
+import SectionBottomActions from "@calcom/features/settings/SectionBottomActions";
+import { getLayout } from "@calcom/features/settings/layouts/SettingsLayout";
+import { ShellMain } from "@calcom/features/shell/Shell";
+import { useHasTeamPlan } from "@calcom/lib/hooks/useHasPaidPlan";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { trpc } from "@calcom/trpc/react";
+import useMeQuery from "@calcom/trpc/react/hooks/useMeQuery";
+import {
+ Button,
+ Meta,
+ showToast,
+ Select,
+ SkeletonText,
+ UpgradeTeamsBadge,
+ Switch,
+ DateRangePicker,
+} from "@calcom/ui";
+import { TableNew, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@calcom/ui";
+
+import PageWrapper from "@components/PageWrapper";
+
+export type BookingRedirectForm = {
+ dateRange: { startDate: Date; endDate: Date };
+ offset: number;
+ toTeamUserId: number | null;
+};
+
+const OutOfOfficeSection = () => {
+ const { t } = useLocale();
+ const utils = trpc.useContext();
+
+ const [profileRedirect, setProfileRedirect] = useState(false);
+ const [selectedMember, setSelectedMember] = useState<{ label: string; value: number | null } | null>(null);
+
+ const [dateRange] = useState<{ startDate: Date; endDate: Date }>({
+ startDate: dayjs().startOf("d").toDate(),
+ endDate: dayjs().add(1, "d").endOf("d").toDate(),
+ });
+
+ const { handleSubmit, setValue, getValues, control } = useForm({
+ defaultValues: {
+ dateRange: {
+ startDate: dateRange.startDate,
+ endDate: dateRange.endDate,
+ },
+ offset: dayjs().utcOffset(),
+ toTeamUserId: null,
+ },
+ });
+
+ const createOutOfOfficeEntry = trpc.viewer.outOfOfficeCreate.useMutation({
+ onSuccess: () => {
+ showToast(t("success_entry_created"), "success");
+ utils.viewer.outOfOfficeEntriesList.invalidate();
+ setProfileRedirect(false);
+ },
+ onError: (error) => {
+ showToast(t(error.message), "error");
+ },
+ });
+
+ const { hasTeamPlan } = useHasTeamPlan();
+ const { data: listMembers } = trpc.viewer.teams.listMembers.useQuery({});
+ const me = useMeQuery();
+ const memberListOptions: {
+ value: number | null;
+ label: string;
+ }[] =
+ listMembers
+ ?.filter((member) => me?.data?.id !== member.id)
+ .map((member) => ({
+ value: member.id || null,
+ label: member.name || "",
+ })) || [];
+
+ return (
+ <>
+
+ >
+ );
+};
+
+const OutOfOfficeEntriesList = () => {
+ const { t } = useLocale();
+ const utils = trpc.useContext();
+ const { data, isPending } = trpc.viewer.outOfOfficeEntriesList.useQuery();
+ const deleteOutOfOfficeEntryMutation = trpc.viewer.outOfOfficeEntryDelete.useMutation({
+ onSuccess: () => {
+ showToast(t("success_deleted_entry_out_of_office"), "success");
+ utils.viewer.outOfOfficeEntriesList.invalidate();
+ useFormState;
+ },
+ onError: () => {
+ showToast(`An error ocurred`, "error");
+ },
+ });
+ if (data === null || data?.length === 0 || data === undefined) return null;
+ return (
+
+
+
+
+ {t("time_range")}
+ {t("redirect_to")}
+
+ {t("action")}
+
+
+
+ {data?.map((item) => (
+
+
+
+ {dayjs.utc(item.start).format("ll")} - {dayjs.utc(item.end).format("ll")}
+
+
+
+ {item.toUser?.username || "N/A"}
+
+
+
+
+ ))}
+ {isPending && (
+
+ {new Array(6).fill(0).map((_, index) => (
+
+
+
+ ))}
+
+ )}
+
+ {!isPending && (data === undefined || data.length === 0) && (
+
+
+ {t("no_redirects_found")}
+
+
+ )}
+
+
+
+ );
+};
+
+const OutOfOfficePage = () => {
+ const { t } = useLocale();
+
+ return (
+ <>
+
+
+
+
+
+ >
+ );
+};
+
+OutOfOfficePage.getLayout = getLayout;
+OutOfOfficePage.PageWrapper = PageWrapper;
+
+export default OutOfOfficePage;
+"use client";
+
+import { useReducer } from "react";
+
+import DisconnectIntegrationModal from "@calcom/features/apps/components/DisconnectIntegrationModal";
+import { getLayout } from "@calcom/features/settings/layouts/SettingsLayout";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { trpc } from "@calcom/trpc/react";
+import { Button, EmptyScreen, Meta, SkeletonContainer, SkeletonText } from "@calcom/ui";
+import { Calendar, Plus } from "@calcom/ui/components/icon";
+
+import { QueryCell } from "@lib/QueryCell";
+
+import PageWrapper from "@components/PageWrapper";
+import { AppList } from "@components/apps/AppList";
+
+const SkeletonLoader = ({ title, description }: { title: string; description: string }) => {
+ return (
+
+
+
+
+
+
+
+ );
+};
+
+const AddConferencingButton = () => {
+ const { t } = useLocale();
+
+ return (
+
+ );
+};
+
+type ModalState = {
+ isOpen: boolean;
+ credentialId: null | number;
+};
+
+const ConferencingLayout = () => {
+ const { t } = useLocale();
+
+ const [modal, updateModal] = useReducer(
+ (data: ModalState, partialData: Partial) => ({ ...data, ...partialData }),
+ {
+ isOpen: false,
+ credentialId: null,
+ }
+ );
+
+ const query = trpc.viewer.integrations.useQuery({
+ variant: "conferencing",
+ onlyInstalled: true,
+ });
+
+ const handleModelClose = () => {
+ updateModal({ isOpen: false, credentialId: null });
+ };
+
+ const handleDisconnect = (credentialId: number) => {
+ updateModal({ isOpen: true, credentialId });
+ };
+
+ return (
+ <>
+
+
}
+ borderInShellHeader={true}
+ />
+
+ }
+ success={({ data }) => {
+ console.log(data);
+ if (!data.items.length) {
+ return (
+
+ {t("connect_conference_apps")}
+
+ }
+ />
+ );
+ }
+ return (
+
+ );
+ }}
+ />
+
+
+ >
+ );
+};
+
+ConferencingLayout.getLayout = getLayout;
+ConferencingLayout.PageWrapper = PageWrapper;
+
+export default ConferencingLayout;
+"use client";
+
+import { useState } from "react";
+import { Controller, useForm } from "react-hook-form";
+import type { z } from "zod";
+
+import { BookerLayoutSelector } from "@calcom/features/settings/BookerLayoutSelector";
+import SectionBottomActions from "@calcom/features/settings/SectionBottomActions";
+import ThemeLabel from "@calcom/features/settings/ThemeLabel";
+import { getLayout } from "@calcom/features/settings/layouts/SettingsLayout";
+import { APP_NAME } from "@calcom/lib/constants";
+import { DEFAULT_LIGHT_BRAND_COLOR, DEFAULT_DARK_BRAND_COLOR } from "@calcom/lib/constants";
+import { checkWCAGContrastColor } from "@calcom/lib/getBrandColours";
+import { useHasPaidPlan } from "@calcom/lib/hooks/useHasPaidPlan";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { validateBookerLayouts } from "@calcom/lib/validateBookerLayouts";
+import type { userMetadata } from "@calcom/prisma/zod-utils";
+import { trpc } from "@calcom/trpc/react";
+import type { RouterOutputs } from "@calcom/trpc/react";
+import {
+ Alert,
+ Button,
+ ColorPicker,
+ Form,
+ Meta,
+ showToast,
+ SkeletonButton,
+ SkeletonContainer,
+ SkeletonText,
+ SettingsToggle,
+ UpgradeTeamsBadge,
+} from "@calcom/ui";
+
+import PageWrapper from "@components/PageWrapper";
+
+const SkeletonLoader = ({ title, description }: { title: string; description: string }) => {
+ return (
+
+
+
+
+
+
+
+
+
+
+
+
+ );
+};
+
+const AppearanceView = ({
+ user,
+ hasPaidPlan,
+}: {
+ user: RouterOutputs["viewer"]["me"];
+ hasPaidPlan: boolean;
+}) => {
+ const { t } = useLocale();
+ const utils = trpc.useContext();
+ const [darkModeError, setDarkModeError] = useState(false);
+ const [lightModeError, setLightModeError] = useState(false);
+ const [isCustomBrandColorChecked, setIsCustomBranColorChecked] = useState(
+ user?.brandColor !== DEFAULT_LIGHT_BRAND_COLOR || user?.darkBrandColor !== DEFAULT_DARK_BRAND_COLOR
+ );
+ const [hideBrandingValue, setHideBrandingValue] = useState(user?.hideBranding ?? false);
+
+ const userThemeFormMethods = useForm({
+ defaultValues: {
+ theme: user.theme,
+ },
+ });
+
+ const {
+ formState: { isSubmitting: isUserThemeSubmitting, isDirty: isUserThemeDirty },
+ reset: resetUserThemeReset,
+ } = userThemeFormMethods;
+
+ const bookerLayoutFormMethods = useForm({
+ defaultValues: {
+ metadata: user.metadata as z.infer,
+ },
+ });
+
+ const {
+ formState: { isSubmitting: isBookerLayoutFormSubmitting, isDirty: isBookerLayoutFormDirty },
+ reset: resetBookerLayoutThemeReset,
+ } = bookerLayoutFormMethods;
+
+ const DEFAULT_BRAND_COLOURS = {
+ light: user.brandColor ?? DEFAULT_LIGHT_BRAND_COLOR,
+ dark: user.darkBrandColor ?? DEFAULT_DARK_BRAND_COLOR,
+ };
+
+ const brandColorsFormMethods = useForm({
+ defaultValues: {
+ brandColor: DEFAULT_BRAND_COLOURS.light,
+ darkBrandColor: DEFAULT_BRAND_COLOURS.dark,
+ },
+ });
+
+ const {
+ formState: { isSubmitting: isBrandColorsFormSubmitting, isDirty: isBrandColorsFormDirty },
+ reset: resetBrandColorsThemeReset,
+ } = brandColorsFormMethods;
+
+ const selectedTheme = userThemeFormMethods.watch("theme");
+ const selectedThemeIsDark =
+ selectedTheme === "dark" ||
+ (selectedTheme === "" &&
+ typeof document !== "undefined" &&
+ document.documentElement.classList.contains("dark"));
+
+ const mutation = trpc.viewer.updateProfile.useMutation({
+ onSuccess: async (data) => {
+ await utils.viewer.me.invalidate();
+ showToast(t("settings_updated_successfully"), "success");
+ resetBrandColorsThemeReset({ brandColor: data.brandColor, darkBrandColor: data.darkBrandColor });
+ resetBookerLayoutThemeReset({ metadata: data.metadata });
+ resetUserThemeReset({ theme: data.theme });
+ },
+ onError: (error) => {
+ if (error.message) {
+ showToast(error.message, "error");
+ } else {
+ showToast(t("error_updating_settings"), "error");
+ }
+ },
+ });
+
+ return (
+
+
+
+
+
{t("theme")}
+
{t("theme_applies_note")}
+
+
+
+
+
+
+
+
+ {/* TODO future PR to preview brandColors */}
+ {/*
*/}
+
+
}
+ onCheckedChange={(checked) => {
+ setHideBrandingValue(checked);
+ mutation.mutate({ hideBranding: checked });
+ }}
+ switchContainerClassName="mt-6"
+ />
+
+ );
+};
+
+const AppearanceViewWrapper = () => {
+ const { data: user, isPending } = trpc.viewer.me.useQuery();
+ const { isPending: isTeamPlanStatusLoading, hasPaidPlan } = useHasPaidPlan();
+
+ const { t } = useLocale();
+
+ if (isPending || isTeamPlanStatusLoading || !user)
+ return ;
+
+ return ;
+};
+
+AppearanceViewWrapper.getLayout = getLayout;
+AppearanceViewWrapper.PageWrapper = PageWrapper;
+
+export default AppearanceViewWrapper;
+"use client";
+
+import { Fragment } from "react";
+
+import { getLayout } from "@calcom/features/settings/layouts/SettingsLayout";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { Button, Meta, SkeletonButton, SkeletonContainer, SkeletonText } from "@calcom/ui";
+import { Plus } from "@calcom/ui/components/icon";
+
+import PageWrapper from "@components/PageWrapper";
+import { CalendarListContainer } from "@components/apps/CalendarListContainer";
+
+const SkeletonLoader = () => {
+ return (
+
+
+
+
+
+
+
+
+
+
+ );
+};
+
+const AddCalendarButton = () => {
+ const { t } = useLocale();
+
+ return (
+ <>
+
+ >
+ );
+};
+
+const CalendarsView = () => {
+ const { t } = useLocale();
+
+ return (
+ <>
+ }
+ borderInShellHeader={false}
+ />
+
+
+
+ >
+ );
+};
+
+CalendarsView.getLayout = getLayout;
+CalendarsView.PageWrapper = PageWrapper;
+
+export default CalendarsView;
+"use client";
+
+import { useSession } from "next-auth/react";
+import { useState } from "react";
+import { Controller, useForm } from "react-hook-form";
+
+import SectionBottomActions from "@calcom/features/settings/SectionBottomActions";
+import { getLayout } from "@calcom/features/settings/layouts/SettingsLayout";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { localeOptions } from "@calcom/lib/i18n";
+import { nameOfDay } from "@calcom/lib/weekday";
+import type { RouterOutputs } from "@calcom/trpc/react";
+import { trpc } from "@calcom/trpc/react";
+import {
+ Button,
+ Form,
+ Label,
+ Meta,
+ Select,
+ showToast,
+ SkeletonButton,
+ SkeletonContainer,
+ SkeletonText,
+ TimezoneSelect,
+ SettingsToggle,
+} from "@calcom/ui";
+
+import PageWrapper from "@components/PageWrapper";
+
+const SkeletonLoader = ({ title, description }: { title: string; description: string }) => {
+ return (
+
+
+
+
+
+
+
+
+
+
+
+ );
+};
+
+interface GeneralViewProps {
+ localeProp: string;
+ user: RouterOutputs["viewer"]["me"];
+}
+
+const GeneralQueryView = () => {
+ const { t } = useLocale();
+
+ const { data: user, isPending } = trpc.viewer.me.useQuery();
+ if (isPending) return ;
+ if (!user) {
+ throw new Error(t("something_went_wrong"));
+ }
+ return ;
+};
+
+const GeneralView = ({ localeProp, user }: GeneralViewProps) => {
+ const utils = trpc.useContext();
+ const { t } = useLocale();
+ const { update } = useSession();
+ const [isUpdateBtnLoading, setIsUpdateBtnLoading] = useState(false);
+
+ const mutation = trpc.viewer.updateProfile.useMutation({
+ onSuccess: async (res) => {
+ await utils.viewer.me.invalidate();
+ reset(getValues());
+ showToast(t("settings_updated_successfully"), "success");
+ await update(res);
+
+ if (res.locale) {
+ window.calNewLocale = res.locale;
+ }
+ },
+ onError: () => {
+ showToast(t("error_updating_settings"), "error");
+ },
+ onSettled: async () => {
+ await utils.viewer.me.invalidate();
+ setIsUpdateBtnLoading(false);
+ },
+ });
+
+ const timeFormatOptions = [
+ { value: 12, label: t("12_hour") },
+ { value: 24, label: t("24_hour") },
+ ];
+
+ const weekStartOptions = [
+ { value: "Sunday", label: nameOfDay(localeProp, 0) },
+ { value: "Monday", label: nameOfDay(localeProp, 1) },
+ { value: "Tuesday", label: nameOfDay(localeProp, 2) },
+ { value: "Wednesday", label: nameOfDay(localeProp, 3) },
+ { value: "Thursday", label: nameOfDay(localeProp, 4) },
+ { value: "Friday", label: nameOfDay(localeProp, 5) },
+ { value: "Saturday", label: nameOfDay(localeProp, 6) },
+ ];
+
+ const formMethods = useForm({
+ defaultValues: {
+ locale: {
+ value: localeProp || "",
+ label: localeOptions.find((option) => option.value === localeProp)?.label || "",
+ },
+ timeZone: user.timeZone || "",
+ timeFormat: {
+ value: user.timeFormat || 12,
+ label: timeFormatOptions.find((option) => option.value === user.timeFormat)?.label || 12,
+ },
+ weekStart: {
+ value: user.weekStart,
+ label: nameOfDay(localeProp, user.weekStart === "Sunday" ? 0 : 1),
+ },
+ },
+ });
+ const {
+ formState: { isDirty, isSubmitting },
+ reset,
+ getValues,
+ } = formMethods;
+ const isDisabled = isSubmitting || !isDirty;
+
+ const [isAllowDynamicBookingChecked, setIsAllowDynamicBookingChecked] = useState(
+ !!user.allowDynamicBooking
+ );
+ const [isAllowSEOIndexingChecked, setIsAllowSEOIndexingChecked] = useState(!!user.allowSEOIndexing);
+ const [isReceiveMonthlyDigestEmailChecked, setIsReceiveMonthlyDigestEmailChecked] = useState(
+ !!user.receiveMonthlyDigestEmail
+ );
+
+ return (
+
+
+
+
{
+ setIsAllowDynamicBookingChecked(checked);
+ mutation.mutate({ allowDynamicBooking: checked });
+ }}
+ switchContainerClassName="mt-6"
+ />
+
+ {
+ setIsAllowSEOIndexingChecked(checked);
+ mutation.mutate({ allowSEOIndexing: checked });
+ }}
+ switchContainerClassName="mt-6"
+ />
+
+ {
+ setIsReceiveMonthlyDigestEmailChecked(checked);
+ mutation.mutate({ receiveMonthlyDigestEmail: checked });
+ }}
+ switchContainerClassName="mt-6"
+ />
+
+ );
+};
+
+GeneralQueryView.getLayout = getLayout;
+GeneralQueryView.PageWrapper = PageWrapper;
+
+export default GeneralQueryView;
+"use client";
+
+import Head from "next/head";
+
+import { CreateANewTeamForm } from "@calcom/features/ee/teams/components";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { WizardLayout } from "@calcom/ui";
+
+import PageWrapper from "@components/PageWrapper";
+
+const CreateNewTeamPage = () => {
+ const { t } = useLocale();
+ return (
+ <>
+
+ {t("create_new_team")}
+
+
+
+ >
+ );
+};
+export const LayoutWrapper = (page: React.ReactElement) => {
+ return (
+
+ {page}
+
+ );
+};
+
+CreateNewTeamPage.getLayout = LayoutWrapper;
+CreateNewTeamPage.PageWrapper = PageWrapper;
+
+export default CreateNewTeamPage;
+"use client";
+
+import Head from "next/head";
+
+import AddNewTeamMembers from "@calcom/features/ee/teams/components/AddNewTeamMembers";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { WizardLayout } from "@calcom/ui";
+
+import PageWrapper from "@components/PageWrapper";
+
+const OnboardTeamMembersPage = () => {
+ const { t } = useLocale();
+ return (
+ <>
+
+ {t("add_team_members")}
+
+
+
+ >
+ );
+};
+
+export const GetLayout = (page: React.ReactElement) => (
+
+ {page}
+
+);
+
+OnboardTeamMembersPage.getLayout = GetLayout;
+OnboardTeamMembersPage.PageWrapper = PageWrapper;
+
+export default OnboardTeamMembersPage;
+import TeamMembersView from "@calcom/features/ee/teams/pages/team-members-view";
+
+import type { CalPageWrapper } from "@components/PageWrapper";
+import PageWrapper from "@components/PageWrapper";
+
+const Page = TeamMembersView as CalPageWrapper;
+Page.PageWrapper = PageWrapper;
+
+export default Page;
+import TeamProfileView from "@calcom/features/ee/teams/pages/team-profile-view";
+
+import type { CalPageWrapper } from "@components/PageWrapper";
+import PageWrapper from "@components/PageWrapper";
+
+const Page = TeamProfileView as CalPageWrapper;
+Page.PageWrapper = PageWrapper;
+
+export default Page;
+import TeamSSOView from "@calcom/features/ee/sso/page/teams-sso-view";
+
+import type { CalPageWrapper } from "@components/PageWrapper";
+import PageWrapper from "@components/PageWrapper";
+
+const Page = TeamSSOView as CalPageWrapper;
+Page.PageWrapper = PageWrapper;
+
+export default Page;
+import TeamAppearenceView from "@calcom/features/ee/teams/pages/team-appearance-view";
+
+import type { CalPageWrapper } from "@components/PageWrapper";
+import PageWrapper from "@components/PageWrapper";
+
+const Page = TeamAppearenceView as CalPageWrapper;
+Page.PageWrapper = PageWrapper;
+
+export default Page;
+import type { CalPageWrapper } from "@components/PageWrapper";
+import PageWrapper from "@components/PageWrapper";
+
+import BillingPage from "../../billing";
+
+const Page = BillingPage as CalPageWrapper;
+Page.PageWrapper = PageWrapper;
+
+export default Page;
+"use client";
+
+import { usePathname } from "next/navigation";
+
+import { useIntercom } from "@calcom/features/ee/support/lib/intercom/useIntercom";
+import { getLayout } from "@calcom/features/settings/layouts/SettingsLayout";
+import { classNames } from "@calcom/lib";
+import { WEBAPP_URL } from "@calcom/lib/constants";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { Button, Meta } from "@calcom/ui";
+import { ExternalLink } from "@calcom/ui/components/icon";
+
+import PageWrapper from "@components/PageWrapper";
+
+interface CtaRowProps {
+ title: string;
+ description: string;
+ children: React.ReactNode;
+ className?: string;
+}
+
+const CtaRow = ({ title, description, className, children }: CtaRowProps) => {
+ return (
+ <>
+
+
+
{title}
+
{description}
+
+ {children}
+
+ >
+ );
+};
+
+const BillingView = () => {
+ const pathname = usePathname();
+ const { t } = useLocale();
+ const { open } = useIntercom();
+ const returnTo = pathname;
+ const billingHref = `/api/integrations/stripepayment/portal?returnTo=${WEBAPP_URL}${returnTo}`;
+
+ const onContactSupportClick = async () => {
+ await open();
+ };
+
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+ );
+};
+
+BillingView.getLayout = getLayout;
+BillingView.PageWrapper = PageWrapper;
+
+export default BillingView;
+import PageWrapper, { type CalPageWrapper } from "@components/PageWrapper";
+
+import MeetingEnded from "~/videos/views/videos-meeting-ended-single-view";
+
+export {
+ getServerSideProps,
+ type PageProps,
+} from "~/videos/views/videos-meeting-ended-single-view.getServerSideProps";
+
+const MeetingEndedPage = MeetingEnded as unknown as CalPageWrapper;
+
+MeetingEndedPage.PageWrapper = PageWrapper;
+
+export default MeetingEndedPage;
+import PageWrapper, { type CalPageWrapper } from "@components/PageWrapper";
+
+import VideosSingleView from "~/videos/views/videos-single-view";
+
+export { getServerSideProps, type PageProps } from "~/videos/views/videos-single-view.getServerSideProps";
+
+const VideosSinglePage = VideosSingleView as unknown as CalPageWrapper;
+
+VideosSinglePage.PageWrapper = PageWrapper;
+
+export default VideosSinglePage;
+import PageWrapper, { type CalPageWrapper } from "@components/PageWrapper";
+
+import MeetingNotStarted from "~/videos/views/videos-meeting-not-started-single-view";
+
+export {
+ getServerSideProps,
+ type PageProps,
+} from "~/videos/views/videos-meeting-not-started-single-view.getServerSideProps";
+
+const MeetingNotStartedPage = MeetingNotStarted as unknown as CalPageWrapper;
+
+MeetingNotStartedPage.PageWrapper = PageWrapper;
+
+export default MeetingNotStartedPage;
+import PageWrapper, { type CalPageWrapper } from "@components/PageWrapper";
+
+import NoMeetingFound from "~/videos/views/videos-no-meeting-found-single-view";
+
+const NoMeetingFoundPage = NoMeetingFound as unknown as CalPageWrapper;
+
+NoMeetingFoundPage.PageWrapper = PageWrapper;
+
+export default NoMeetingFoundPage;
+"use client";
+
+import Head from "next/head";
+
+import { APP_NAME, WEBSITE_URL } from "@calcom/lib/constants";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { Button } from "@calcom/ui";
+
+import PageWrapper from "@components/PageWrapper";
+
+export default function MaintenancePage() {
+ const { t, isLocaleReady } = useLocale();
+ if (!isLocaleReady) return null;
+ return (
+
+
+
+ {t("under_maintenance")} | {APP_NAME}
+
+
+
+
+
{t("under_maintenance")}
+
+ {t("under_maintenance_description", { appName: APP_NAME })}
+
+
+
+
+ );
+}
+
+MaintenancePage.PageWrapper = PageWrapper;
+"use client";
+
+import type { GetStaticPropsContext } from "next";
+import Link from "next/link";
+import { usePathname } from "next/navigation";
+import { useEffect, useState } from "react";
+
+import {
+ getOrgDomainConfigFromHostname,
+ subdomainSuffix,
+} from "@calcom/features/ee/organizations/lib/orgDomains";
+import { DOCS_URL, IS_CALCOM, JOIN_DISCORD, WEBSITE_URL } from "@calcom/lib/constants";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { HeadSeo } from "@calcom/ui";
+import { BookOpen, Check, ChevronRight, FileText, Shield } from "@calcom/ui/components/icon";
+import { Discord } from "@calcom/ui/components/icon/Discord";
+
+import PageWrapper from "@components/PageWrapper";
+
+import { getTranslations } from "@server/lib/getTranslations";
+
+enum pageType {
+ ORG = "org",
+ TEAM = "team",
+ USER = "user",
+ OTHER = "other",
+}
+
+export default function Custom404() {
+ const pathname = usePathname();
+ const { t } = useLocale();
+ const [username, setUsername] = useState("");
+ const [currentPageType, setCurrentPageType] = useState(pageType.USER);
+
+ const links = [
+ {
+ title: "Enterprise",
+ description: "Learn more about organizations and subdomains in our enterprise plan.",
+ icon: Shield,
+ href: `${WEBSITE_URL}/enterprise`,
+ },
+ {
+ title: t("documentation"),
+ description: t("documentation_description"),
+ icon: FileText,
+ href: DOCS_URL,
+ },
+ {
+ title: t("blog"),
+ description: t("blog_description"),
+ icon: BookOpen,
+ href: `${WEBSITE_URL}/blog`,
+ },
+ ];
+
+ const [url, setUrl] = useState(`${WEBSITE_URL}/signup`);
+ useEffect(() => {
+ const { isValidOrgDomain, currentOrgDomain } = getOrgDomainConfigFromHostname({
+ hostname: window.location.host,
+ });
+
+ const [routerUsername] = pathname?.replace("%20", "-").split(/[?#]/) ?? [];
+ if (routerUsername && (!isValidOrgDomain || !currentOrgDomain)) {
+ const splitPath = routerUsername.split("/");
+ if (splitPath[1] === "team" && splitPath.length === 3) {
+ // Accessing a non-existent team
+ setUsername(splitPath[2]);
+ setCurrentPageType(pageType.TEAM);
+ setUrl(
+ `${WEBSITE_URL}/signup?callbackUrl=settings/teams/new%3Fslug%3D${splitPath[2].replace("/", "")}`
+ );
+ } else {
+ setUsername(routerUsername);
+ setUrl(`${WEBSITE_URL}/signup?username=${routerUsername.replace("/", "")}`);
+ }
+ } else {
+ setUsername(currentOrgDomain ?? "");
+ setCurrentPageType(pageType.ORG);
+ setUrl(
+ `${WEBSITE_URL}/signup?callbackUrl=settings/organizations/new%3Fslug%3D${
+ currentOrgDomain?.replace("/", "") ?? ""
+ }`
+ );
+ }
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, []);
+
+ const isSuccessPage = pathname?.startsWith("/booking");
+ const isSubpage = pathname?.includes("/", 2) || isSuccessPage;
+
+ /**
+ * If we're on 404 and the route is insights it means it is disabled
+ * TODO: Abstract this for all disabled features
+ **/
+ const isInsights = pathname?.startsWith("/insights");
+ if (isInsights) {
+ return (
+ <>
+
+
+
+
+
{t("error_404")}
+
+ Feature is currently disabled
+
+
+
+
+
+ {t("or_go_back_home")}
+ →
+
+
+
+
+
+ >
+ );
+ }
+
+ if (!username) return null;
+
+ return (
+ <>
+
+
+
+
+
+ {((!isSubpage && IS_CALCOM) ||
+ currentPageType === pageType.ORG ||
+ currentPageType === pageType.TEAM) && (
+
+ )}
+
+ {t("popular_pages")}
+
+
+
+
+ {t("or_go_back_home")}
+ →
+
+
+
+
+
+ >
+ );
+}
+
+Custom404.PageWrapper = PageWrapper;
+
+export const getStaticProps = async (context: GetStaticPropsContext) => {
+ const i18n = await getTranslations(context);
+
+ return {
+ props: {
+ i18n,
+ },
+ };
+};
+"use client";
+
+import { getLayout } from "@calcom/features/MainLayout";
+
+import EnterprisePage from "@components/EnterprisePage";
+import PageWrapper from "@components/PageWrapper";
+
+const ProxifiedEnterprisePage = new Proxy<{
+ (): JSX.Element;
+ PageWrapper?: typeof PageWrapper;
+ getLayout?: typeof getLayout;
+}>(EnterprisePage, {});
+
+ProxifiedEnterprisePage.PageWrapper = PageWrapper;
+ProxifiedEnterprisePage.getLayout = getLayout;
+
+export default ProxifiedEnterprisePage;
+import type { GetStaticPaths } from "next";
+
+import { getLayout } from "@calcom/features/MainLayout";
+
+import PageWrapper from "@components/PageWrapper";
+
+import { validStatuses } from "~/bookings/lib/validStatuses";
+import BookingsListingView from "~/bookings/views/bookings-listing-view";
+
+export { getStaticProps } from "~/bookings/views/bookings-listing-view.getStaticProps";
+
+const BookingsListingPage = new Proxy<{
+ (): JSX.Element;
+ PageWrapper?: typeof PageWrapper;
+ getLayout?: typeof getLayout;
+}>(BookingsListingView, {});
+
+BookingsListingPage.PageWrapper = PageWrapper;
+BookingsListingPage.getLayout = getLayout;
+
+export const getStaticPaths: GetStaticPaths = () => {
+ return {
+ paths: validStatuses.map((status) => ({
+ params: { status },
+ locale: "en",
+ })),
+ fallback: "blocking",
+ };
+};
+
+export default BookingsListingPage;
+"use client";
+
+import { zodResolver } from "@hookform/resolvers/zod";
+import classNames from "classnames";
+import { signIn } from "next-auth/react";
+import Link from "next/link";
+import { useRouter } from "next/navigation";
+import { useState, useEffect } from "react";
+import { FormProvider, useForm } from "react-hook-form";
+import { FaGoogle } from "react-icons/fa";
+import { z } from "zod";
+
+import { SAMLLogin } from "@calcom/features/auth/SAMLLogin";
+import { ErrorCode } from "@calcom/features/auth/lib/ErrorCode";
+import { WEBAPP_URL, WEBSITE_URL, HOSTED_CAL_FEATURES } from "@calcom/lib/constants";
+import { getSafeRedirectUrl } from "@calcom/lib/getSafeRedirectUrl";
+import { useCompatSearchParams } from "@calcom/lib/hooks/useCompatSearchParams";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { collectPageParameters, telemetryEventTypes, useTelemetry } from "@calcom/lib/telemetry";
+import { trpc } from "@calcom/trpc/react";
+import { Alert, Button, EmailField, PasswordField } from "@calcom/ui";
+import { ArrowLeft, Lock } from "@calcom/ui/components/icon";
+
+import type { inferSSRProps } from "@lib/types/inferSSRProps";
+import type { WithNonceProps } from "@lib/withNonce";
+
+import AddToHomescreen from "@components/AddToHomescreen";
+import PageWrapper from "@components/PageWrapper";
+import BackupCode from "@components/auth/BackupCode";
+import TwoFactor from "@components/auth/TwoFactor";
+import AuthContainer from "@components/ui/AuthContainer";
+
+import { getServerSideProps } from "@server/lib/auth/login/getServerSideProps";
+
+interface LoginValues {
+ email: string;
+ password: string;
+ totpCode: string;
+ backupCode: string;
+ csrfToken: string;
+}
+export default function Login({
+ csrfToken,
+ isGoogleLoginEnabled,
+ isSAMLLoginEnabled,
+ samlTenantID,
+ samlProductID,
+ totpEmail,
+}: // eslint-disable-next-line @typescript-eslint/ban-types
+inferSSRProps & WithNonceProps<{}>) {
+ const searchParams = useCompatSearchParams();
+ const { t } = useLocale();
+ const router = useRouter();
+ const formSchema = z
+ .object({
+ email: z
+ .string()
+ .min(1, `${t("error_required_field")}`)
+ .email(`${t("enter_valid_email")}`),
+ password: !!totpEmail ? z.literal("") : z.string().min(1, `${t("error_required_field")}`),
+ })
+ // Passthrough other fields like totpCode
+ .passthrough();
+ const methods = useForm({ resolver: zodResolver(formSchema) });
+ const { register, formState } = methods;
+ const [twoFactorRequired, setTwoFactorRequired] = useState(!!totpEmail || false);
+ const [twoFactorLostAccess, setTwoFactorLostAccess] = useState(false);
+ const [errorMessage, setErrorMessage] = useState(null);
+
+ const errorMessages: { [key: string]: string } = {
+ // [ErrorCode.SecondFactorRequired]: t("2fa_enabled_instructions"),
+ // Don't leak information about whether an email is registered or not
+ [ErrorCode.IncorrectEmailPassword]: t("incorrect_email_password"),
+ [ErrorCode.IncorrectTwoFactorCode]: `${t("incorrect_2fa_code")} ${t("please_try_again")}`,
+ [ErrorCode.InternalServerError]: `${t("something_went_wrong")} ${t("please_try_again_and_contact_us")}`,
+ [ErrorCode.ThirdPartyIdentityProviderEnabled]: t("account_created_with_identity_provider"),
+ };
+
+ const telemetry = useTelemetry();
+
+ let callbackUrl = searchParams?.get("callbackUrl") || "";
+
+ if (/"\//.test(callbackUrl)) callbackUrl = callbackUrl.substring(1);
+
+ // If not absolute URL, make it absolute
+ if (!/^https?:\/\//.test(callbackUrl)) {
+ callbackUrl = `${WEBAPP_URL}/${callbackUrl}`;
+ }
+
+ const safeCallbackUrl = getSafeRedirectUrl(callbackUrl);
+
+ callbackUrl = safeCallbackUrl || "";
+
+ const LoginFooter = (
+
+ {t("dont_have_an_account")}
+
+ );
+
+ const TwoFactorFooter = (
+ <>
+
+ {!twoFactorLostAccess ? (
+
+ ) : null}
+ >
+ );
+
+ const ExternalTotpFooter = (
+
+ );
+
+ const onSubmit = async (values: LoginValues) => {
+ setErrorMessage(null);
+ telemetry.event(telemetryEventTypes.login, collectPageParameters());
+ const res = await signIn<"credentials">("credentials", {
+ ...values,
+ callbackUrl,
+ redirect: false,
+ });
+ if (!res) setErrorMessage(errorMessages[ErrorCode.InternalServerError]);
+ // we're logged in! let's do a hard refresh to the desired url
+ else if (!res.error) router.push(callbackUrl);
+ else if (res.error === ErrorCode.SecondFactorRequired) setTwoFactorRequired(true);
+ else if (res.error === ErrorCode.IncorrectBackupCode) setErrorMessage(t("incorrect_backup_code"));
+ else if (res.error === ErrorCode.MissingBackupCodes) setErrorMessage(t("missing_backup_codes"));
+ // fallback if error not found
+ else setErrorMessage(errorMessages[res.error] || t("something_went_wrong"));
+ };
+
+ const { data, isPending, error } = trpc.viewer.public.ssoConnections.useQuery();
+
+ useEffect(
+ function refactorMeWithoutEffect() {
+ if (error) {
+ setErrorMessage(error.message);
+ }
+ },
+ [error]
+ );
+
+ const displaySSOLogin = HOSTED_CAL_FEATURES
+ ? true
+ : isSAMLLoginEnabled && !isPending && data?.connectionExists;
+
+ return (
+
+
+
+
+ {!twoFactorRequired && (
+ <>
+ {(isGoogleLoginEnabled || displaySSOLogin) &&
}
+
+ {isGoogleLoginEnabled && (
+
+ )}
+ {displaySSOLogin && (
+
+ )}
+
+ >
+ )}
+
+
+
+
+ );
+}
+
+export { getServerSideProps };
+
+Login.PageWrapper = PageWrapper;
+"use client";
+
+import { usePathname, useRouter } from "next/navigation";
+import { useState } from "react";
+
+import AdminAppsList from "@calcom/features/apps/AdminAppsList";
+import { APP_NAME } from "@calcom/lib/constants";
+import { useCompatSearchParams } from "@calcom/lib/hooks/useCompatSearchParams";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import type { inferSSRProps } from "@calcom/types/inferSSRProps";
+import { Meta, WizardForm } from "@calcom/ui";
+
+import PageWrapper from "@components/PageWrapper";
+import { AdminUserContainer as AdminUser } from "@components/setup/AdminUser";
+import ChooseLicense from "@components/setup/ChooseLicense";
+import EnterpriseLicense from "@components/setup/EnterpriseLicense";
+
+import { getServerSideProps } from "@server/lib/setup/getServerSideProps";
+
+function useSetStep() {
+ const router = useRouter();
+ const searchParams = useCompatSearchParams();
+ const pathname = usePathname();
+ const setStep = (newStep = 1) => {
+ const _searchParams = new URLSearchParams(searchParams ?? undefined);
+ _searchParams.set("step", newStep.toString());
+ router.replace(`${pathname}?${_searchParams.toString()}`);
+ };
+ return setStep;
+}
+
+export function Setup(props: inferSSRProps) {
+ const { t } = useLocale();
+ const router = useRouter();
+ const [value, setValue] = useState(props.isFreeLicense ? "FREE" : "EE");
+ const isFreeLicense = value === "FREE";
+ const [isEnabledEE, setIsEnabledEE] = useState(!props.isFreeLicense);
+ const setStep = useSetStep();
+
+ const steps: React.ComponentProps["steps"] = [
+ {
+ title: t("administrator_user"),
+ description: t("lets_create_first_administrator_user"),
+ content: (setIsPending) => (
+ {
+ setIsPending(true);
+ }}
+ onSuccess={() => {
+ setStep(2);
+ }}
+ onError={() => {
+ setIsPending(false);
+ }}
+ userCount={props.userCount}
+ />
+ ),
+ },
+ {
+ title: t("choose_a_license"),
+ description: t("choose_license_description"),
+ content: (setIsPending) => {
+ return (
+ {
+ setIsPending(true);
+ setStep(3);
+ }}
+ />
+ );
+ },
+ },
+ ];
+
+ if (!isFreeLicense) {
+ steps.push({
+ title: t("step_enterprise_license"),
+ description: t("step_enterprise_license_description"),
+ content: (setIsPending) => {
+ const currentStep = 3;
+ return (
+ {
+ setIsPending(true);
+ }}
+ onSuccess={() => {
+ setStep(currentStep + 1);
+ }}
+ onSuccessValidate={() => {
+ setIsEnabledEE(true);
+ }}
+ />
+ );
+ },
+ isEnabled: isEnabledEE,
+ });
+ }
+
+ steps.push({
+ title: t("enable_apps"),
+ description: t("enable_apps_description", { appName: APP_NAME }),
+ contentClassname: "!pb-0 mb-[-1px]",
+ content: (setIsPending) => {
+ const currentStep = isFreeLicense ? 3 : 4;
+ return (
+ {
+ setIsPending(true);
+ router.replace("/");
+ }}
+ />
+ );
+ },
+ });
+
+ return (
+ <>
+
+
+ t("current_step_of_total", { currentStep, maxSteps })}
+ />
+
+ >
+ );
+}
+
+Setup.isThemeSupported = false;
+Setup.PageWrapper = PageWrapper;
+export default Setup;
+
+export { getServerSideProps };
+/* eslint-disable react-hooks/exhaustive-deps */
+import { useSession } from "next-auth/react";
+import { useRouter } from "next/navigation";
+import { useState, useEffect } from "react";
+
+import { APP_NAME } from "@calcom/lib/constants";
+import { useCompatSearchParams } from "@calcom/lib/hooks/useCompatSearchParams";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { trpc } from "@calcom/trpc/react";
+import { Avatar, Button, Select } from "@calcom/ui";
+import { Plus, Info } from "@calcom/ui/components/icon";
+
+import PageWrapper from "@components/PageWrapper";
+
+export default function Authorize() {
+ const { t } = useLocale();
+ const { status } = useSession();
+
+ const router = useRouter();
+ const searchParams = useCompatSearchParams();
+
+ const client_id = (searchParams?.get("client_id") as string) || "";
+ const state = searchParams?.get("state") as string;
+ const scope = searchParams?.get("scope") as string;
+
+ const queryString = searchParams?.toString();
+
+ const [selectedAccount, setSelectedAccount] = useState<{ value: string; label: string } | null>();
+ const scopes = scope ? scope.toString().split(",") : [];
+
+ const { data: client, isPending: isPendingGetClient } = trpc.viewer.oAuth.getClient.useQuery(
+ {
+ clientId: client_id as string,
+ },
+ {
+ enabled: status !== "loading",
+ }
+ );
+
+ const { data, isPending: isPendingProfiles } = trpc.viewer.teamsAndUserProfilesQuery.useQuery();
+
+ const generateAuthCodeMutation = trpc.viewer.oAuth.generateAuthCode.useMutation({
+ onSuccess: (data) => {
+ window.location.href = `${client?.redirectUri}?code=${data.authorizationCode}&state=${state}`;
+ },
+ });
+
+ const mappedProfiles = data
+ ? data
+ .filter((profile) => !profile.readOnly)
+ .map((profile) => ({
+ label: profile.name || profile.slug || "",
+ value: profile.slug || "",
+ }))
+ : [];
+
+ useEffect(() => {
+ if (mappedProfiles.length > 0) {
+ setSelectedAccount(mappedProfiles[0]);
+ }
+ }, [isPendingProfiles]);
+
+ useEffect(() => {
+ if (status === "unauthenticated") {
+ const urlSearchParams = new URLSearchParams({
+ callbackUrl: `auth/oauth2/authorize?${queryString}`,
+ });
+ router.replace(`/auth/login?${urlSearchParams.toString()}`);
+ }
+ }, [status]);
+
+ const isPending = isPendingGetClient || isPendingProfiles || status !== "authenticated";
+
+ if (isPending) {
+ return <>>;
+ }
+
+ if (!client) {
+ return {t("unauthorized")}
;
+ }
+
+ return (
+
+
+
+
}
+ className="items-center"
+ imageSrc={client.logo}
+ size="lg"
+ />
+
+
+
+

+
+
+
+
+
+ {t("access_cal_account", { clientName: client.name, appName: APP_NAME })}
+
+
{t("select_account_team")}
+
+
+ );
+}
+
+Authorize.PageWrapper = PageWrapper;
+"use client";
+
+import { signOut, useSession } from "next-auth/react";
+import { useRouter } from "next/navigation";
+import { useEffect, useState } from "react";
+
+import { WEBSITE_URL } from "@calcom/lib/constants";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { Button } from "@calcom/ui";
+import { Check } from "@calcom/ui/components/icon";
+
+import type { inferSSRProps } from "@lib/types/inferSSRProps";
+
+import PageWrapper from "@components/PageWrapper";
+import AuthContainer from "@components/ui/AuthContainer";
+
+import { getServerSideProps } from "@server/lib/auth/logout/getServerSideProps";
+
+type Props = inferSSRProps;
+
+export function Logout(props: Props) {
+ const [btnLoading, setBtnLoading] = useState(false);
+ const { status } = useSession();
+ if (status === "authenticated") signOut({ redirect: false });
+ const router = useRouter();
+ useEffect(() => {
+ if (props.query?.survey === "true") {
+ router.push(`${WEBSITE_URL}/cancellation`);
+ }
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [props.query?.survey]);
+ const { t } = useLocale();
+
+ const message = () => {
+ if (props.query?.passReset === "true") return "reset_your_password";
+ if (props.query?.emailChange === "true") return "email_change";
+ return "hope_to_see_you_soon";
+ };
+
+ const navigateToLogin = () => {
+ setBtnLoading(true);
+ router.push("/auth/login");
+ };
+
+ return (
+
+
+
+
+
+
+
+ {t("youve_been_logged_out")}
+
+
+
+
+
+
+ );
+}
+
+Logout.PageWrapper = PageWrapper;
+export default Logout;
+
+export { getServerSideProps };
+import { signIn } from "next-auth/react";
+import { useEffect } from "react";
+
+import { useCompatSearchParams } from "@calcom/lib/hooks/useCompatSearchParams";
+
+import PageWrapper from "@components/PageWrapper";
+
+// To handle the IdP initiated login flow callback
+export default function Page() {
+ const searchParams = useCompatSearchParams();
+
+ useEffect(() => {
+ const code = searchParams?.get("code");
+
+ signIn("saml-idp", {
+ callbackUrl: "/",
+ code,
+ });
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, []);
+
+ return null;
+}
+Page.PageWrapper = PageWrapper;
+"use client";
+
+import { signIn } from "next-auth/react";
+import { useRouter } from "next/navigation";
+import { useEffect } from "react";
+
+import { HOSTED_CAL_FEATURES } from "@calcom/lib/constants";
+
+import type { inferSSRProps } from "@lib/types/inferSSRProps";
+
+import PageWrapper from "@components/PageWrapper";
+
+import type { getServerSideProps } from "@server/lib/auth/sso/direct/getServerSideProps";
+
+// This page is used to initiate the SAML authentication flow by redirecting to the SAML provider.
+// Accessible only on self-hosted Cal.com instances.
+export default function Page({ samlTenantID, samlProductID }: inferSSRProps) {
+ const router = useRouter();
+
+ useEffect(() => {
+ if (HOSTED_CAL_FEATURES) {
+ router.push("/auth/login");
+ }
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, []);
+
+ useEffect(() => {
+ // Initiate SAML authentication flow
+ signIn(
+ "saml",
+ {
+ callbackUrl: "/",
+ },
+ { tenant: samlTenantID, product: samlProductID }
+ );
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, []);
+
+ return null;
+}
+
+export { getServerSideProps };
+
+Page.PageWrapper = PageWrapper;
+"use client";
+
+import { signIn } from "next-auth/react";
+import { useRouter } from "next/navigation";
+import { useEffect } from "react";
+
+import { useCompatSearchParams } from "@calcom/lib/hooks/useCompatSearchParams";
+
+import type { inferSSRProps } from "@lib/types/inferSSRProps";
+
+import PageWrapper from "@components/PageWrapper";
+
+import { getServerSideProps } from "@server/lib/auth/sso/[provider]/getServerSideProps";
+
+export type SSOProviderPageProps = inferSSRProps;
+
+export default function Provider(props: SSOProviderPageProps) {
+ const searchParams = useCompatSearchParams();
+ const router = useRouter();
+
+ useEffect(() => {
+ if (props.provider === "saml") {
+ const email = searchParams?.get("email");
+
+ if (!email) {
+ router.push(`/auth/error?error=Email not provided`);
+ return;
+ }
+
+ if (!props.isSAMLLoginEnabled) {
+ router.push(`/auth/error?error=SAML login not enabled`);
+ return;
+ }
+
+ signIn("saml", {}, { tenant: props.tenant, product: props.product });
+ } else {
+ signIn(props.provider);
+ }
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, []);
+ return null;
+}
+
+Provider.PageWrapper = PageWrapper;
+
+export { getServerSideProps };
+export default function NewUserPage() {
+ if (typeof window !== "undefined") {
+ window.location.assign(process.env.NEXT_PUBLIC_WEBAPP_URL || "https://app.cal.com/");
+ }
+ return null;
+}
+"use client";
+
+// eslint-disable-next-line no-restricted-imports
+import { debounce } from "lodash";
+import Link from "next/link";
+import type { CSSProperties, SyntheticEvent } from "react";
+import React from "react";
+
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { Button, EmailField } from "@calcom/ui";
+
+import { type inferSSRProps } from "@lib/types/inferSSRProps";
+
+import PageWrapper from "@components/PageWrapper";
+import AuthContainer from "@components/ui/AuthContainer";
+
+import { getServerSideProps } from "@server/lib/forgot-password/getServerSideProps";
+
+export default function ForgotPassword(props: inferSSRProps) {
+ const csrfToken = "csrfToken" in props ? (props.csrfToken as string) : undefined;
+ const { t } = useLocale();
+ const [loading, setLoading] = React.useState(false);
+ const [error, setError] = React.useState<{ message: string } | null>(null);
+ const [success, setSuccess] = React.useState(false);
+ const [email, setEmail] = React.useState("");
+
+ const handleChange = (e: SyntheticEvent) => {
+ const target = e.target as typeof e.target & { value: string };
+ setEmail(target.value);
+ };
+
+ const submitForgotPasswordRequest = async ({ email }: { email: string }) => {
+ try {
+ const res = await fetch("https://github.com/api/auth/forgot-password", {
+ method: "POST",
+ body: JSON.stringify({ email }),
+ headers: {
+ "Content-Type": "application/json",
+ },
+ });
+
+ const json = await res.json();
+ if (!res.ok) {
+ setError(json);
+ } else {
+ setSuccess(true);
+ }
+
+ return json;
+ } catch (reason) {
+ setError({ message: t("unexpected_error_try_again") });
+ } finally {
+ setLoading(false);
+ }
+ };
+
+ const debouncedHandleSubmitPasswordRequest = debounce(submitForgotPasswordRequest, 250);
+
+ const handleSubmit = async (e: SyntheticEvent) => {
+ e.preventDefault();
+
+ if (!email) {
+ return;
+ }
+
+ if (loading) {
+ return;
+ }
+
+ setLoading(true);
+ setError(null);
+ setSuccess(false);
+
+ await debouncedHandleSubmitPasswordRequest({ email });
+ };
+
+ const Success = () => {
+ return (
+
+
{t("password_reset_email", { email })}
+
{t("password_reset_leading")}
+ {error &&
{error.message}
}
+
+
+ );
+ };
+
+ return (
+
+
+ {t("back_to_signin")}
+
+ >
+ )
+ }>
+ {success && }
+ {!success && (
+ <>
+ {error &&
{error.message}
}
+
+ >
+ )}
+
+ );
+}
+
+ForgotPassword.PageWrapper = PageWrapper;
+
+export { getServerSideProps };
+"use client";
+
+import Link from "next/link";
+import type { CSSProperties } from "react";
+import { useForm } from "react-hook-form";
+
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { Button, PasswordField, Form } from "@calcom/ui";
+
+import PageWrapper from "@components/PageWrapper";
+import AuthContainer from "@components/ui/AuthContainer";
+
+import { getServerSideProps } from "@server/lib/forgot-password/[id]/getServerSideProps";
+
+type Props = {
+ requestId: string;
+ isRequestExpired: boolean;
+ csrfToken: string | undefined;
+};
+
+export default function Page({ requestId, isRequestExpired, csrfToken }: Props) {
+ const { t } = useLocale();
+ const formMethods = useForm<{ new_password: string }>();
+ const success = formMethods.formState.isSubmitSuccessful;
+ const loading = formMethods.formState.isSubmitting;
+ const passwordValue = formMethods.watch("new_password");
+ const isEmpty = passwordValue?.length === 0;
+
+ const submitChangePassword = async ({ password, requestId }: { password: string; requestId: string }) => {
+ const res = await fetch("https://github.com/api/auth/reset-password", {
+ method: "POST",
+ body: JSON.stringify({ requestId, password }),
+ headers: {
+ "Content-Type": "application/json",
+ },
+ });
+ const json = await res.json();
+ if (!res.ok) return formMethods.setError("new_password", { type: "server", message: json.message });
+ };
+
+ const Success = () => {
+ return (
+ <>
+
+
+
+ {t("password_updated")}
+
+
+
+
+ >
+ );
+ };
+
+ const Expired = () => {
+ return (
+ <>
+
+
+
{t("whoops")}
+ {t("request_is_expired")}
+
+
{t("request_is_expired_instructions")}
+
+
+
+
+ >
+ );
+ };
+
+ return (
+
+ {isRequestExpired && }
+ {!isRequestExpired && !success && (
+ <>
+
+ >
+ )}
+ {!isRequestExpired && success && (
+ <>
+
+ >
+ )}
+
+ );
+}
+
+Page.PageWrapper = PageWrapper;
+export { getServerSideProps };
+import type { GetStaticPropsContext } from "next";
+import Link from "next/link";
+import z from "zod";
+
+import { useCompatSearchParams } from "@calcom/lib/hooks/useCompatSearchParams";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { Button } from "@calcom/ui";
+import { X } from "@calcom/ui/components/icon";
+
+import PageWrapper from "@components/PageWrapper";
+import AuthContainer from "@components/ui/AuthContainer";
+
+import { getTranslations } from "@server/lib/getTranslations";
+
+const querySchema = z.object({
+ error: z.string().optional(),
+});
+
+export default function Error() {
+ const { t } = useLocale();
+ const searchParams = useCompatSearchParams();
+ const { error } = querySchema.parse(searchParams);
+ const isTokenVerificationError = error?.toLowerCase() === "verification";
+ const errorMsg = isTokenVerificationError ? t("token_invalid_expired") : t("error_during_login");
+
+ return (
+
+
+
+
+
+
+
+
+ );
+}
+
+Error.PageWrapper = PageWrapper;
+
+export const getStaticProps = async (context: GetStaticPropsContext) => {
+ const i18n = await getTranslations(context);
+
+ return {
+ props: {
+ i18n,
+ },
+ };
+};
+"use client";
+
+import { motion } from "framer-motion";
+import { signIn } from "next-auth/react";
+import Head from "next/head";
+import { usePathname, useRouter } from "next/navigation";
+import { useEffect, useRef, useState } from "react";
+import z from "zod";
+
+import { classNames } from "@calcom/lib";
+import { APP_NAME, WEBAPP_URL } from "@calcom/lib/constants";
+import { useCompatSearchParams } from "@calcom/lib/hooks/useCompatSearchParams";
+import { useRouterQuery } from "@calcom/lib/hooks/useRouterQuery";
+import { trpc } from "@calcom/trpc/react";
+import type { inferSSRProps } from "@calcom/types/inferSSRProps";
+import { Button, showToast } from "@calcom/ui";
+import { AlertTriangle, ExternalLink, MailOpen } from "@calcom/ui/components/icon";
+
+import Loader from "@components/Loader";
+import PageWrapper from "@components/PageWrapper";
+
+import { getServerSideProps } from "@server/lib/auth/verify/getServerSideProps";
+
+async function sendVerificationLogin(email: string, username: string) {
+ await signIn("email", {
+ email: email.toLowerCase(),
+ username: username.toLowerCase(),
+ redirect: false,
+ callbackUrl: WEBAPP_URL || "https://app.cal.com/",
+ })
+ .then(() => {
+ showToast("Verification email sent", "success");
+ })
+ .catch((err) => {
+ showToast(err, "error");
+ });
+}
+
+function useSendFirstVerificationLogin({
+ email,
+ username,
+}: {
+ email: string | undefined;
+ username: string | undefined;
+}) {
+ const sent = useRef(false);
+ useEffect(() => {
+ if (!email || !username || sent.current) {
+ return;
+ }
+ (async () => {
+ await sendVerificationLogin(email, username);
+ sent.current = true;
+ })();
+ }, [email, username]);
+}
+
+const querySchema = z.object({
+ stripeCustomerId: z.string().optional(),
+ sessionId: z.string().optional(),
+ t: z.string().optional(),
+});
+
+const PaymentFailedIcon = () => (
+
+);
+
+const PaymentSuccess = () => (
+
+);
+
+const MailOpenIcon = () => (
+
+
+
+);
+
+export default function Verify(props: inferSSRProps) {
+ const searchParams = useCompatSearchParams();
+ const pathname = usePathname();
+ const router = useRouter();
+ const routerQuery = useRouterQuery();
+ const { t, sessionId, stripeCustomerId } = querySchema.parse(routerQuery);
+ const [secondsLeft, setSecondsLeft] = useState(30);
+ const { data } = trpc.viewer.public.stripeCheckoutSession.useQuery(
+ {
+ stripeCustomerId,
+ checkoutSessionId: sessionId,
+ },
+ {
+ enabled: !!stripeCustomerId || !!sessionId,
+ staleTime: Infinity,
+ }
+ );
+ useSendFirstVerificationLogin({ email: data?.customer?.email, username: data?.customer?.username });
+ // @note: check for t=timestamp and apply disabled state and secondsLeft accordingly
+ // to avoid refresh to skip waiting 30 seconds to re-send email
+ useEffect(() => {
+ const lastSent = new Date(parseInt(`${t}`));
+ // @note: This double round() looks ugly but it's the only way I came up to get the time difference in seconds
+ const difference = Math.round(Math.round(new Date().getTime() - lastSent.getTime()) / 1000);
+ if (difference < 30) {
+ // If less than 30 seconds, set the seconds left to 30 - difference
+ setSecondsLeft(30 - difference);
+ } else {
+ // else set the seconds left to 0 and disabled false
+ setSecondsLeft(0);
+ }
+ }, [t]);
+ // @note: here we make sure each second is decremented if disabled up to 0.
+ useEffect(() => {
+ if (secondsLeft > 0) {
+ const interval = setInterval(() => {
+ if (secondsLeft > 0) {
+ setSecondsLeft(secondsLeft - 1);
+ }
+ }, 1000);
+ return () => clearInterval(interval);
+ }
+ }, [secondsLeft]);
+
+ if (!data) {
+ // Loading state
+ return ;
+ }
+ const { valid, hasPaymentFailed, customer } = data;
+ if (!valid) {
+ throw new Error("Invalid session or customer id");
+ }
+
+ if (!stripeCustomerId && !sessionId) {
+ return Invalid Link
;
+ }
+
+ return (
+
+
+
+ {/* @note: Ternary can look ugly ant his might be extracted later but I think at 3 it's not yet worth
+ it or too hard to read. */}
+ {hasPaymentFailed
+ ? "Your payment failed"
+ : sessionId
+ ? "Payment successful!"
+ : `Verify your email | ${APP_NAME}`}
+
+
+
+
+ {hasPaymentFailed ?
: sessionId ?
:
}
+
+ {hasPaymentFailed
+ ? "Your payment failed"
+ : sessionId
+ ? "Payment successful!"
+ : "Check your Inbox"}
+
+ {hasPaymentFailed && (
+
Your account has been created, but your premium has not been reserved.
+ )}
+
+ We have sent an email to {customer?.email} with a link to activate your account.{" "}
+ {hasPaymentFailed &&
+ "Once you activate your account you will be able to try purchase your premium username again or select a different one."}
+
+
+
+
+
+
+
Don’t seen an email?
+
+
+
+
+ );
+}
+
+export { getServerSideProps };
+Verify.PageWrapper = PageWrapper;
+"use client";
+
+import { MailOpenIcon } from "lucide-react";
+import { useSession } from "next-auth/react";
+import { useRouter } from "next/navigation";
+import { useEffect } from "react";
+
+import { APP_NAME } from "@calcom/lib/constants";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { trpc } from "@calcom/trpc";
+import useEmailVerifyCheck from "@calcom/trpc/react/hooks/useEmailVerifyCheck";
+import { Button, EmptyScreen, showToast } from "@calcom/ui";
+
+import PageWrapper from "@components/PageWrapper";
+
+function VerifyEmailPage() {
+ const { data } = useEmailVerifyCheck();
+ const { data: session } = useSession();
+ const router = useRouter();
+ const { t, isLocaleReady } = useLocale();
+ const mutation = trpc.viewer.auth.resendVerifyEmail.useMutation();
+
+ useEffect(() => {
+ if (data?.isVerified) {
+ router.replace("/getting-started");
+ }
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [data?.isVerified]);
+ if (!isLocaleReady) {
+ return null;
+ }
+ return (
+
+
+
+ {
+ showToast("Send email", "success");
+ mutation.mutate();
+ }}>
+ Resend Email
+
+ }
+ />
+
+
+
+ );
+}
+
+export default VerifyEmailPage;
+
+VerifyEmailPage.PageWrapper = PageWrapper;
+"use client";
+
+import type { getProviders } from "next-auth/react";
+import { signIn } from "next-auth/react";
+
+import { Button } from "@calcom/ui";
+
+import PageWrapper from "@components/PageWrapper";
+
+import { getServerSideProps } from "@server/lib/auth/signin/getServerSideProps";
+
+function signin({ providers }: { providers: Awaited> }) {
+ if (!providers) {
+ return null;
+ }
+
+ return (
+
+ {Object.values(providers).map((provider) => {
+ return (
+
+
+
+ );
+ })}
+
+ );
+}
+
+signin.PageWrapper = PageWrapper;
+
+export default signin;
+
+export { getServerSideProps };
+export { default } from "~/bookings/views/bookings-single-view";
+export { getServerSideProps } from "~/bookings/views/bookings-single-view.getServerSideProps";
+import withEmbedSsr from "@lib/withEmbedSsr";
+
+import { getServerSideProps as _getServerSideProps } from "~/bookings/views/bookings-single-view.getServerSideProps";
+
+export { default } from "~/bookings/views/bookings-single-view";
+
+export const getServerSideProps = withEmbedSsr(_getServerSideProps);
+import { getLayout } from "@calcom/features/MainLayout";
+
+import PageWrapper from "@components/PageWrapper";
+
+import EventTypesPage from "~/event-types/views/event-types-listing-view";
+
+EventTypesPage.getLayout = getLayout;
+EventTypesPage.PageWrapper = PageWrapper;
+
+export default EventTypesPage;
+import PageWrapper from "@components/PageWrapper";
+
+import EventTypePageWrapper from "~/event-types/views/event-types-single-view";
+import { getServerSideProps } from "~/event-types/views/event-types-single-view.getServerSideProps";
+
+export type {
+ CustomInputParsed,
+ EventTypeSetup,
+ EventTypeSetupProps,
+ FormValues,
+} from "~/event-types/views/event-types-single-view";
+
+EventTypePageWrapper.PageWrapper = PageWrapper;
+
+export { getServerSideProps };
+export default EventTypePageWrapper;
+import type { GetServerSidePropsContext } from "next";
+import { z } from "zod";
+
+import { Booker } from "@calcom/atoms";
+import { getBookerWrapperClasses } from "@calcom/features/bookings/Booker/utils/getBookerWrapperClasses";
+import { BookerSeo } from "@calcom/features/bookings/components/BookerSeo";
+import { getMultipleDurationValue } from "@calcom/features/bookings/lib/get-booking";
+import { getSlugOrRequestedSlug } from "@calcom/features/ee/organizations/lib/orgDomains";
+import { orgDomainConfig } from "@calcom/features/ee/organizations/lib/orgDomains";
+import slugify from "@calcom/lib/slugify";
+import prisma from "@calcom/prisma";
+
+import type { inferSSRProps } from "@lib/types/inferSSRProps";
+import type { EmbedProps } from "@lib/withEmbedSsr";
+
+import PageWrapper from "@components/PageWrapper";
+
+export type PageProps = inferSSRProps & EmbedProps;
+
+export default function Type({
+ slug,
+ user,
+ booking,
+ away,
+ isEmbed,
+ isBrandingHidden,
+ entity,
+ duration,
+}: PageProps) {
+ return (
+
+
+
+
+ );
+}
+
+const paramsSchema = z.object({
+ type: z.string().transform((s) => slugify(s)),
+ slug: z.string().transform((s) => slugify(s)),
+});
+
+Type.PageWrapper = PageWrapper;
+Type.isBookingPage = true;
+
+export const getServerSideProps = async (context: GetServerSidePropsContext) => {
+ const { slug: teamSlug, type: meetingSlug } = paramsSchema.parse(context.params);
+ const { duration: queryDuration } = context.query;
+ const { ssrInit } = await import("@server/lib/ssr");
+ const ssr = await ssrInit(context);
+ const { currentOrgDomain, isValidOrgDomain } = orgDomainConfig(context.req, context.params?.orgSlug);
+
+ const team = await prisma.team.findFirst({
+ where: {
+ ...getSlugOrRequestedSlug(teamSlug),
+ parent: isValidOrgDomain && currentOrgDomain ? getSlugOrRequestedSlug(currentOrgDomain) : null,
+ },
+ select: {
+ id: true,
+ hideBranding: true,
+ },
+ });
+
+ if (!team) {
+ return {
+ notFound: true,
+ } as const;
+ }
+
+ const org = isValidOrgDomain ? currentOrgDomain : null;
+
+ const eventData = await ssr.viewer.public.event.fetch({
+ username: teamSlug,
+ eventSlug: meetingSlug,
+ isTeamEvent: true,
+ org,
+ });
+
+ if (!eventData || !org) {
+ return {
+ notFound: true,
+ } as const;
+ }
+
+ return {
+ props: {
+ entity: eventData.entity,
+ duration: getMultipleDurationValue(
+ eventData.metadata?.multipleDuration,
+ queryDuration,
+ eventData.length
+ ),
+ booking: null,
+ away: false,
+ user: teamSlug,
+ teamId: team.id,
+ slug: meetingSlug,
+ trpcState: ssr.dehydrate(),
+ isBrandingHidden: team?.hideBranding,
+ themeBasis: null,
+ },
+ };
+};
+import withEmbedSsr from "@lib/withEmbedSsr";
+
+import { getServerSideProps as _getServerSideProps } from "./index";
+
+export { default } from "./index";
+
+export const getServerSideProps = withEmbedSsr(_getServerSideProps);
+"use client";
+
+import PageWrapper from "@components/PageWrapper";
+
+import UserPage from "~/users/views/users-public-view";
+import { type UserPageProps } from "~/users/views/users-public-view.getServerSideProps";
+
+import type { PageProps as TeamPageProps } from "../../../team/[slug]";
+import TeamPage from "../../../team/[slug]";
+
+export { getServerSideProps } from "@lib/org/[orgSlug]/[user]/getServerSideProps";
+
+export type PageProps = UserPageProps | TeamPageProps;
+
+export default function Page(props: PageProps) {
+ if ((props as TeamPageProps)?.team) return ;
+ return ;
+}
+
+Page.isBookingPage = true;
+Page.PageWrapper = PageWrapper;
+"use client";
+
+import PageWrapper from "@components/PageWrapper";
+
+import UserTypePage from "~/users/views/users-type-public-view";
+import type { PageProps as UserTypePageProps } from "~/users/views/users-type-public-view.getServerSideProps";
+
+import type { PageProps as TeamTypePageProps } from "../../../../team/[slug]/[type]";
+import TeamTypePage from "../../../../team/[slug]/[type]";
+
+export { getServerSideProps } from "@lib/org/[orgSlug]/[user]/[type]/getServerSideProps";
+
+export type PageProps = UserTypePageProps | TeamTypePageProps;
+
+export default function Page(props: PageProps) {
+ if ((props as TeamTypePageProps)?.teamId) return ;
+ return ;
+}
+
+Page.PageWrapper = PageWrapper;
+Page.isBookingPage = true;
+"use client";
+
+import withEmbedSsr from "@lib/withEmbedSsr";
+
+import { getServerSideProps as _getServerSideProps } from ".";
+
+export { default, type PageProps } from ".";
+
+export const getServerSideProps = withEmbedSsr(_getServerSideProps);
+"use client";
+
+import withEmbedSsr from "@lib/withEmbedSsr";
+
+import { getServerSideProps as _getServerSideProps } from "../[user]";
+
+export { default } from "../[user]";
+
+export const getServerSideProps = withEmbedSsr(_getServerSideProps);
+/**
+ * Typescript class based component for custom-error
+ * @link https://nextjs.org/docs/advanced-features/custom-error-page
+ */
+import type { NextPage, NextPageContext } from "next";
+import type { ErrorProps } from "next/error";
+import NextError from "next/error";
+import React from "react";
+
+import { getErrorFromUnknown } from "@calcom/lib/errors";
+import { HttpError } from "@calcom/lib/http-error";
+import logger from "@calcom/lib/logger";
+import { redactError } from "@calcom/lib/redactError";
+
+import { ErrorPage } from "@components/error/error-page";
+
+// Adds HttpException to the list of possible error types.
+type AugmentedError = (NonNullable & HttpError) | null;
+type CustomErrorProps = {
+ err?: AugmentedError;
+ message?: string;
+ hasGetInitialPropsRun?: boolean;
+} & Omit;
+
+type AugmentedNextPageContext = Omit & {
+ err: AugmentedError;
+};
+
+const log = logger.getSubLogger({ prefix: ["[error]"] });
+
+const CustomError: NextPage = (props) => {
+ const { statusCode, err, message, hasGetInitialPropsRun } = props;
+
+ if (!hasGetInitialPropsRun && err) {
+ // getInitialProps is not called in case of
+ // https://github.com/vercel/next.js/issues/8592. As a workaround, we pass
+ // err via _app.tsx so it can be captured
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
+ const e = getErrorFromUnknown(err);
+ // can be captured here
+ // e.g. Sentry.captureException(e);
+ }
+ return ;
+};
+
+/**
+ * Partially adapted from the example in
+ * https://github.com/vercel/next.js/tree/canary/examples/with-sentry
+ */
+CustomError.getInitialProps = async (ctx: AugmentedNextPageContext) => {
+ const { res, err, asPath } = ctx;
+ const errorInitialProps = (await NextError.getInitialProps({
+ res,
+ err,
+ } as NextPageContext)) as CustomErrorProps;
+
+ // Workaround for https://github.com/vercel/next.js/issues/8592, mark when
+ // getInitialProps has run
+ errorInitialProps.hasGetInitialPropsRun = true;
+
+ // If a HttpError message, let's override defaults
+ if (err instanceof HttpError) {
+ const redactedError = redactError(err);
+ errorInitialProps.statusCode = err.statusCode;
+ errorInitialProps.title = redactedError.name;
+ errorInitialProps.message = redactedError.message;
+ errorInitialProps.err = {
+ ...redactedError,
+ url: err.url,
+ statusCode: err.statusCode,
+ cause: err.cause,
+ method: err.method,
+ };
+ }
+
+ if (res) {
+ // Running on the server, the response object is available.
+ //
+ // Next.js will pass an err on the server if a page's `getInitialProps`
+ // threw or returned a Promise that rejected
+
+ // Overrides http status code if present in errorInitialProps
+ res.statusCode = errorInitialProps.statusCode;
+
+ log.debug(`server side logged this: ${err?.toString() ?? JSON.stringify(err)}`);
+ log.info("return props, ", errorInitialProps);
+
+ return errorInitialProps;
+ } else {
+ // Running on the client (browser).
+ //
+ // Next.js will provide an err if:
+ //
+ // - a page's `getInitialProps` threw or returned a Promise that rejected
+ // - an exception was thrown somewhere in the React lifecycle (render,
+ // componentDidMount, etc) that was caught by Next.js's React Error
+ // Boundary. Read more about what types of exceptions are caught by Error
+ // Boundaries: https://reactjs.org/docs/error-boundaries.html
+ if (err) {
+ log.info("client side logged this", err);
+ return errorInitialProps;
+ }
+ }
+
+ // If this point is reached, getInitialProps was called without any
+ // information about what the error might be. This is unexpected and may
+ // indicate a bug introduced in Next.js
+ new Error(`_error.tsx getInitialProps missing data at path: ${asPath}`);
+
+ return errorInitialProps;
+};
+
+export default CustomError;
+import PaymentPage from "@calcom/features/ee/payments/components/PaymentPage";
+import { getServerSideProps } from "@calcom/features/ee/payments/pages/payment";
+import type { inferSSRProps } from "@calcom/types/inferSSRProps";
+
+import PageWrapper from "@components/PageWrapper";
+
+export default function Payment(props: inferSSRProps) {
+ return ;
+}
+Payment.PageWrapper = PageWrapper;
+export { getServerSideProps };
+import Head from "next/head";
+
+import { APP_NAME } from "@calcom/lib/constants";
+import { useCompatSearchParams } from "@calcom/lib/hooks/useCompatSearchParams";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { Button, showToast } from "@calcom/ui";
+import { Copy } from "@calcom/ui/components/icon";
+
+import PageWrapper from "@components/PageWrapper";
+
+export default function Error500() {
+ const searchParams = useCompatSearchParams();
+ const { t } = useLocale();
+
+ return (
+
+
+
Something unexpected occurred | {APP_NAME}
+
+
+
+
500
+
It's not you, it's us.
+
{t("something_went_wrong_on_our_end")}
+ {searchParams?.get("error") && (
+
+
+ {t("please_provide_following_text_to_suppport")}:
+
+
+ {searchParams?.get("error")}
+
+
+
+
+ )}
+
+
+
+
+ );
+}
+
+Error500.PageWrapper = PageWrapper;
+import Workflows from "@calcom/features/ee/workflows/pages/index";
+
+import PageWrapper from "@components/PageWrapper";
+import type { CalPageWrapper } from "@components/PageWrapper";
+
+const WorkflowsPage = Workflows as CalPageWrapper;
+WorkflowsPage.PageWrapper = PageWrapper;
+
+export default WorkflowsPage;
+"use client";
+
+import type { GetStaticPaths } from "next";
+
+import Workflow from "@calcom/features/ee/workflows/pages/workflow";
+
+import { getStaticProps } from "@lib/workflows/[workflow]/getStaticProps";
+
+import PageWrapper from "@components/PageWrapper";
+import type { CalPageWrapper } from "@components/PageWrapper";
+
+export const getStaticPaths: GetStaticPaths = () => {
+ return {
+ paths: [],
+ fallback: "blocking",
+ };
+};
+
+const WorkflowsPage = Workflow as CalPageWrapper;
+WorkflowsPage.PageWrapper = PageWrapper;
+
+export default WorkflowsPage;
+export { getStaticProps };
+import type { IncomingMessage } from "http";
+import { dir } from "i18next";
+import type { NextPageContext } from "next";
+import type { DocumentContext, DocumentProps } from "next/document";
+import Document, { Head, Html, Main, NextScript } from "next/document";
+import { z } from "zod";
+
+import { IS_PRODUCTION } from "@calcom/lib/constants";
+
+import { csp } from "@lib/csp";
+
+type Props = Record & DocumentProps & { newLocale: string };
+function setHeader(ctx: NextPageContext, name: string, value: string) {
+ try {
+ ctx.res?.setHeader(name, value);
+ } catch (e) {
+ // Getting "Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client" when revalidate calendar chache
+ console.log(`Error setting header ${name}=${value} for ${ctx.asPath || "unknown asPath"}`, e);
+ }
+}
+class MyDocument extends Document {
+ static async getInitialProps(ctx: DocumentContext) {
+ const { nonce } = csp(ctx.req || null, ctx.res || null);
+ if (!process.env.CSP_POLICY) {
+ setHeader(ctx, "x-csp", "not-opted-in");
+ } else if (!ctx.res?.getHeader("x-csp")) {
+ // If x-csp not set by gSSP, then it's initialPropsOnly
+ setHeader(ctx, "x-csp", "initialPropsOnly");
+ }
+
+ const getLocaleModule = ctx.req ? await import("@calcom/features/auth/lib/getLocale") : null;
+
+ const newLocale =
+ ctx.req && getLocaleModule
+ ? // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ await getLocaleModule.getLocale(ctx.req as IncomingMessage & { cookies: Record })
+ : "en";
+
+ const asPath = ctx.asPath || "";
+ // Use a dummy URL as default so that URL parsing works for relative URLs as well. We care about searchParams and pathname only
+ const parsedUrl = new URL(asPath, "https://dummyurl/");
+ const isEmbedSnippetGeneratorPath = parsedUrl.pathname.startsWith("/event-types");
+ // FIXME: Revisit this logic to remove embedType query param check completely. Ideally, /embed should always be there at the end of the URL. Test properly and then remove it.
+ const isEmbed =
+ (parsedUrl.pathname.endsWith("/embed") || parsedUrl.searchParams.get("embedType") !== null) &&
+ !isEmbedSnippetGeneratorPath;
+ const embedColorScheme = parsedUrl.searchParams.get("ui.color-scheme");
+ const initialProps = await Document.getInitialProps(ctx);
+ return { isEmbed, embedColorScheme, nonce, ...initialProps, newLocale };
+ }
+
+ render() {
+ const { isEmbed, embedColorScheme } = this.props;
+ const newLocale = this.props.newLocale || "en";
+ const newDir = dir(newLocale);
+
+ const nonceParsed = z.string().safeParse(this.props.nonce);
+ const nonce = nonceParsed.success ? nonceParsed.data : "";
+
+ return (
+
+
+
+
+
+
+
+
+
+
+
+ {!IS_PRODUCTION && process.env.VERCEL_ENV === "preview" && (
+ // eslint-disable-next-line @next/next/no-sync-scripts
+
+ )}
+
+
+
+
+
+
+
+ );
+ }
+}
+
+export default MyDocument;
+"use client";
+
+import { useSession } from "next-auth/react";
+import { Trans } from "next-i18next";
+import Link from "next/link";
+import { useRouter } from "next/navigation";
+import { useState } from "react";
+
+import { getQueryParam } from "@calcom/features/bookings/Booker/utils/query-param";
+import { WEBAPP_URL } from "@calcom/lib/constants";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { trpc } from "@calcom/trpc";
+import { TRPCClientError } from "@calcom/trpc/react";
+import { Button, EmptyScreen, Alert } from "@calcom/ui";
+import { PhoneCall } from "@calcom/ui/components/icon";
+
+import PageWrapper from "@components/PageWrapper";
+
+function ConnectAndJoin() {
+ const { t } = useLocale();
+ const router = useRouter();
+ const token = getQueryParam("token");
+ const [meetingUrl, setMeetingUrl] = useState(null);
+ const [errorMessage, setErrorMessage] = useState();
+
+ const session = useSession();
+ const isUserPartOfOrg = session.status === "authenticated" && !!session.data.user?.org;
+
+ const mutation = trpc.viewer.connectAndJoin.useMutation({
+ onSuccess: (res) => {
+ if (res.meetingUrl && !res.isBookingAlreadyAcceptedBySomeoneElse) {
+ router.push(res.meetingUrl);
+ } else if (res.isBookingAlreadyAcceptedBySomeoneElse && res.meetingUrl) {
+ setMeetingUrl(res.meetingUrl);
+ }
+ },
+ onError: (err) => {
+ console.log("err", err, err instanceof TRPCClientError);
+ if (err instanceof TRPCClientError) {
+ setErrorMessage(t(err.message));
+ } else {
+ setErrorMessage(t("something_went_wrong"));
+ }
+ },
+ });
+
+ if (session.status === "loading") return {t("loading")}
;
+
+ if (!token) return {t("token_not_found")}
;
+
+ return (
+
+ {session ? (
+
+ {meetingUrl ? (
+
+
+ Some other host already accepted the meeting. Do you still want to join?
+
+ Continue to Meeting
+
+
+
+ ) : (
+
+ )}
+ {errorMessage && }
+
+ }
+ />
+ ) : (
+ {t("you_must_be_logged_in_to", { url: WEBAPP_URL })}
+ )}
+
+ );
+}
+
+ConnectAndJoin.requiresLicense = true;
+ConnectAndJoin.PageWrapper = PageWrapper;
+
+export default ConnectAndJoin;
+"use client";
+
+import { zodResolver } from "@hookform/resolvers/zod";
+import { CalendarHeart, Info, Link2, ShieldCheckIcon, StarIcon, Users } from "lucide-react";
+import { signIn } from "next-auth/react";
+import { Trans } from "next-i18next";
+import Link from "next/link";
+import { useRouter } from "next/navigation";
+import { useState, useEffect } from "react";
+import type { SubmitHandler } from "react-hook-form";
+import { useForm, useFormContext } from "react-hook-form";
+import { Toaster } from "react-hot-toast";
+import { z } from "zod";
+
+import getStripe from "@calcom/app-store/stripepayment/lib/client";
+import { getPremiumPlanPriceValue } from "@calcom/app-store/stripepayment/lib/utils";
+import { getOrgUsernameFromEmail } from "@calcom/features/auth/signup/utils/getOrgUsernameFromEmail";
+import { getOrgFullOrigin } from "@calcom/features/ee/organizations/lib/orgDomains";
+import { useFlagMap } from "@calcom/features/flags/context/provider";
+import { classNames } from "@calcom/lib";
+import { APP_NAME, URL_PROTOCOL_REGEX, IS_CALCOM, WEBAPP_URL, WEBSITE_URL } from "@calcom/lib/constants";
+import { fetchUsername } from "@calcom/lib/fetchUsername";
+import { useCompatSearchParams } from "@calcom/lib/hooks/useCompatSearchParams";
+import { useDebounce } from "@calcom/lib/hooks/useDebounce";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { collectPageParameters, telemetryEventTypes, useTelemetry } from "@calcom/lib/telemetry";
+import { signupSchema as apiSignupSchema } from "@calcom/prisma/zod-utils";
+import type { inferSSRProps } from "@calcom/types/inferSSRProps";
+import { Button, HeadSeo, PasswordField, TextField, Form, Alert, showToast } from "@calcom/ui";
+
+import { getServerSideProps } from "@lib/signup/getServerSideProps";
+
+import PageWrapper from "@components/PageWrapper";
+
+const signupSchema = apiSignupSchema.extend({
+ apiError: z.string().optional(), // Needed to display API errors doesnt get passed to the API
+});
+
+type FormValues = z.infer;
+
+export type SignupProps = inferSSRProps;
+
+const FEATURES = [
+ {
+ title: "connect_all_calendars",
+ description: "connect_all_calendars_description",
+ i18nOptions: {
+ appName: APP_NAME,
+ },
+ icon: CalendarHeart,
+ },
+ {
+ title: "set_availability",
+ description: "set_availbility_description",
+ icon: Users,
+ },
+ {
+ title: "share_a_link_or_embed",
+ description: "share_a_link_or_embed_description",
+ icon: Link2,
+ i18nOptions: {
+ appName: APP_NAME,
+ },
+ },
+];
+
+function UsernameField({
+ username,
+ setPremium,
+ premium,
+ setUsernameTaken,
+ orgSlug,
+ usernameTaken,
+ disabled,
+ ...props
+}: React.ComponentProps & {
+ username: string;
+ setPremium: (value: boolean) => void;
+ premium: boolean;
+ usernameTaken: boolean;
+ orgSlug?: string;
+ setUsernameTaken: (value: boolean) => void;
+}) {
+ const { t } = useLocale();
+ const { register, formState } = useFormContext();
+ const debouncedUsername = useDebounce(username, 600);
+
+ useEffect(() => {
+ if (formState.isSubmitting || formState.isSubmitSuccessful) return;
+
+ async function checkUsername() {
+ // If the username can't be changed, there is no point in doing the username availability check
+ if (disabled) return;
+ if (!debouncedUsername) {
+ setPremium(false);
+ setUsernameTaken(false);
+ return;
+ }
+ fetchUsername(debouncedUsername, orgSlug ?? null).then(({ data }) => {
+ setPremium(data.premium);
+ setUsernameTaken(!data.available);
+ });
+ }
+ checkUsername();
+ }, [
+ debouncedUsername,
+ setPremium,
+ disabled,
+ orgSlug,
+ setUsernameTaken,
+ formState.isSubmitting,
+ formState.isSubmitSuccessful,
+ ]);
+
+ return (
+
+
+ {(!formState.isSubmitting || !formState.isSubmitted) && (
+
+
+ {usernameTaken ? (
+
+
+
{t("already_in_use_error")}
+
+ ) : premium ? (
+
+
+
+ {t("premium_username", {
+ price: getPremiumPlanPriceValue(),
+ })}
+
+
+ ) : null}
+
+
+ )}
+
+ );
+}
+
+function addOrUpdateQueryParam(url: string, key: string, value: string) {
+ const separator = url.includes("?") ? "&" : "?";
+ const param = `${key}=${encodeURIComponent(value)}`;
+ return `${url}${separator}${param}`;
+}
+
+export default function Signup({
+ prepopulateFormValues,
+ token,
+ orgSlug,
+ isGoogleLoginEnabled,
+ isSAMLLoginEnabled,
+ orgAutoAcceptEmail,
+}: SignupProps) {
+ const [premiumUsername, setPremiumUsername] = useState(false);
+ const [usernameTaken, setUsernameTaken] = useState(false);
+ const [isGoogleLoading, setIsGoogleLoading] = useState(false);
+
+ const searchParams = useCompatSearchParams();
+ const telemetry = useTelemetry();
+ const { t, i18n } = useLocale();
+ const router = useRouter();
+ const flags = useFlagMap();
+ const formMethods = useForm({
+ resolver: zodResolver(signupSchema),
+ defaultValues: prepopulateFormValues satisfies FormValues,
+ mode: "onChange",
+ });
+ const {
+ register,
+ watch,
+ formState: { isSubmitting, errors, isSubmitSuccessful },
+ } = formMethods;
+
+ const loadingSubmitState = isSubmitSuccessful || isSubmitting;
+
+ const handleErrorsAndStripe = async (resp: Response) => {
+ if (!resp.ok) {
+ const err = await resp.json();
+ if (err.checkoutSessionId) {
+ const stripe = await getStripe();
+ if (stripe) {
+ console.log("Redirecting to stripe checkout");
+ const { error } = await stripe.redirectToCheckout({
+ sessionId: err.checkoutSessionId,
+ });
+ console.warn(error.message);
+ }
+ } else {
+ throw new Error(err.message);
+ }
+ }
+ };
+
+ const isOrgInviteByLink = orgSlug && !prepopulateFormValues?.username;
+
+ const signUp: SubmitHandler = async (data) => {
+ await fetch("https://github.com/api/auth/signup", {
+ body: JSON.stringify({
+ ...data,
+ language: i18n.language,
+ token,
+ }),
+ headers: {
+ "Content-Type": "application/json",
+ },
+ method: "POST",
+ })
+ .then(handleErrorsAndStripe)
+ .then(async () => {
+ telemetry.event(telemetryEventTypes.signup, collectPageParameters());
+ const verifyOrGettingStarted = flags["email-verification"] ? "auth/verify-email" : "getting-started";
+ const callBackUrl = `${
+ searchParams?.get("callbackUrl")
+ ? isOrgInviteByLink
+ ? `${WEBAPP_URL}/${searchParams.get("callbackUrl")}`
+ : addOrUpdateQueryParam(`${WEBAPP_URL}/${searchParams.get("callbackUrl")}`, "from", "signup")
+ : `${WEBAPP_URL}/${verifyOrGettingStarted}?from=signup`
+ }`;
+
+ await signIn<"credentials">("credentials", {
+ ...data,
+ callbackUrl: callBackUrl,
+ });
+ })
+ .catch((err) => {
+ formMethods.setError("apiError", { message: err.message });
+ });
+ };
+
+ return (
+
+
+
+ {/* Left side */}
+
+ {/* Header */}
+ {errors.apiError && (
+
+ )}
+
+
+ {IS_CALCOM ? t("create_your_calcom_account") : t("create_your_account")}
+
+ {IS_CALCOM ? (
+
{t("cal_signup_description")}
+ ) : (
+
+ {t("calcom_explained", {
+ appName: APP_NAME,
+ })}
+
+ )}
+
+ {/* Form Container */}
+
+
+ {/* Continue with Social Logins - Only for non-invite links */}
+ {token || (!isGoogleLoginEnabled && !isSAMLLoginEnabled) ? null : (
+
+
+
+
+ {t("or_continue_with")}
+
+
+
+
+ )}
+ {/* Social Logins - Only for non-invite links*/}
+ {!token && (
+
+ {isGoogleLoginEnabled ? (
+
+ ) : null}
+ {isSAMLLoginEnabled ? (
+
+ ) : null}
+
+ )}
+
+ {/* Already have an account & T&C */}
+
+
+
+
{t("already_have_account")}
+
+ {t("sign_in")}
+
+
+
+
+ By proceeding, you agree to our{" "}
+
+ Terms
+ {" "}
+ and{" "}
+
+ Privacy Policy
+
+ .
+
+
+
+
+
+
+ {IS_CALCOM && (
+ <>
+
+
+ >
+ )}
+
+

+

+
+
+ {FEATURES.map((feature) => (
+ <>
+
+
+
+ {t(feature.title)}
+
+
+
+ {t(
+ feature.description,
+ feature.i18nOptions && {
+ ...feature.i18nOptions,
+ }
+ )}
+
+
+
+ >
+ ))}
+
+
+
+
+
+ );
+}
+
+export { getServerSideProps };
+
+Signup.PageWrapper = PageWrapper;
+"use client";
+
+import Head from "next/head";
+import { usePathname, useRouter } from "next/navigation";
+import { Suspense } from "react";
+import { z } from "zod";
+
+import { classNames } from "@calcom/lib";
+import { APP_NAME } from "@calcom/lib/constants";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { useParamsWithFallback } from "@calcom/lib/hooks/useParamsWithFallback";
+import { trpc } from "@calcom/trpc";
+import { Button, StepCard, Steps } from "@calcom/ui";
+import { Loader } from "@calcom/ui/components/icon";
+
+import PageWrapper from "@components/PageWrapper";
+import { ConnectedCalendars } from "@components/getting-started/steps-views/ConnectCalendars";
+import { ConnectedVideoStep } from "@components/getting-started/steps-views/ConnectedVideoStep";
+import { SetupAvailability } from "@components/getting-started/steps-views/SetupAvailability";
+import UserProfile from "@components/getting-started/steps-views/UserProfile";
+import { UserSettings } from "@components/getting-started/steps-views/UserSettings";
+
+export { getServerSideProps } from "@lib/getting-started/[[...step]]/getServerSideProps";
+
+const INITIAL_STEP = "user-settings";
+const steps = [
+ "user-settings",
+ "connected-calendar",
+ "connected-video",
+ "setup-availability",
+ "user-profile",
+] as const;
+
+const stepTransform = (step: (typeof steps)[number]) => {
+ const stepIndex = steps.indexOf(step);
+ if (stepIndex > -1) {
+ return steps[stepIndex];
+ }
+ return INITIAL_STEP;
+};
+
+const stepRouteSchema = z.object({
+ step: z.array(z.enum(steps)).default([INITIAL_STEP]),
+ from: z.string().optional(),
+});
+
+// TODO: Refactor how steps work to be contained in one array/object. Currently we have steps,initalsteps,headers etc. These can all be in one place
+const OnboardingPage = () => {
+ const pathname = usePathname();
+ const params = useParamsWithFallback();
+
+ const router = useRouter();
+ const [user] = trpc.viewer.me.useSuspenseQuery();
+ const { t } = useLocale();
+
+ const result = stepRouteSchema.safeParse({
+ ...params,
+ step: Array.isArray(params.step) ? params.step : [params.step],
+ });
+
+ const currentStep = result.success ? result.data.step[0] : INITIAL_STEP;
+ const from = result.success ? result.data.from : "";
+ const headers = [
+ {
+ title: `${t("welcome_to_cal_header", { appName: APP_NAME })}`,
+ subtitle: [`${t("we_just_need_basic_info")}`, `${t("edit_form_later_subtitle")}`],
+ },
+ {
+ title: `${t("connect_your_calendar")}`,
+ subtitle: [`${t("connect_your_calendar_instructions")}`],
+ skipText: `${t("connect_calendar_later")}`,
+ },
+ {
+ title: `${t("connect_your_video_app")}`,
+ subtitle: [`${t("connect_your_video_app_instructions")}`],
+ skipText: `${t("set_up_later")}`,
+ },
+ {
+ title: `${t("set_availability")}`,
+ subtitle: [
+ `${t("set_availability_getting_started_subtitle_1")}`,
+ `${t("set_availability_getting_started_subtitle_2")}`,
+ ],
+ },
+ {
+ title: `${t("nearly_there")}`,
+ subtitle: [`${t("nearly_there_instructions")}`],
+ },
+ ];
+
+ // TODO: Add this in when we have solved the ability to move to tokens accept invite and note invitedto
+ // Ability to accept other pending invites if any (low priority)
+ // if (props.hasPendingInvites) {
+ // headers.unshift(
+ // props.hasPendingInvites && {
+ // title: `${t("email_no_user_invite_heading", { appName: APP_NAME })}`,
+ // subtitle: [], // TODO: come up with some subtitle text here
+ // }
+ // );
+ // }
+
+ const goToIndex = (index: number) => {
+ const newStep = steps[index];
+ router.push(`/getting-started/${stepTransform(newStep)}`);
+ };
+
+ const currentStepIndex = steps.indexOf(currentStep);
+
+ return (
+
+
+
{`${APP_NAME} - ${t("getting_started")}`}
+
+
+
+
+
+
+
+
+ }>
+ {currentStep === "user-settings" && (
+ goToIndex(1)} hideUsername={from === "signup"} />
+ )}
+ {currentStep === "connected-calendar" && goToIndex(2)} />}
+
+ {currentStep === "connected-video" && goToIndex(3)} />}
+
+ {currentStep === "setup-availability" && (
+ goToIndex(4)}
+ defaultScheduleId={user.defaultScheduleId}
+ />
+ )}
+ {currentStep === "user-profile" && }
+
+
+
+ {headers[currentStepIndex]?.skipText && (
+
+
+
+ )}
+
+
+
+
+ );
+};
+
+OnboardingPage.PageWrapper = PageWrapper;
+
+export default OnboardingPage;
+"use client";
+
+// This route is reachable by
+// 1. /team/[slug]
+// 2. / (when on org domain e.g. http://calcom.cal.com/. This is through a rewrite from next.config.js)
+// Also the getServerSideProps and default export are reused by
+// 1. org/[orgSlug]/team/[slug]
+// 2. org/[orgSlug]/[user]/[type]
+import classNames from "classnames";
+import Link from "next/link";
+import { usePathname } from "next/navigation";
+import { useEffect } from "react";
+
+import { sdkActionManager, useIsEmbed } from "@calcom/embed-core/embed-iframe";
+import EventTypeDescription from "@calcom/features/eventtypes/components/EventTypeDescription";
+import { WEBAPP_URL } from "@calcom/lib/constants";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { useRouterQuery } from "@calcom/lib/hooks/useRouterQuery";
+import useTheme from "@calcom/lib/hooks/useTheme";
+import { collectPageParameters, telemetryEventTypes, useTelemetry } from "@calcom/lib/telemetry";
+import { teamMetadataSchema } from "@calcom/prisma/zod-utils";
+import { Avatar, Button, HeadSeo, UnpublishedEntity, UserAvatarGroup } from "@calcom/ui";
+import { ArrowRight } from "@calcom/ui/components/icon";
+
+import { useToggleQuery } from "@lib/hooks/useToggleQuery";
+import { getServerSideProps } from "@lib/team/[slug]/getServerSideProps";
+import type { inferSSRProps } from "@lib/types/inferSSRProps";
+
+import PageWrapper from "@components/PageWrapper";
+import Team from "@components/team/screens/Team";
+
+export { getServerSideProps };
+
+export type PageProps = inferSSRProps;
+function TeamPage({
+ team,
+ isUnpublished,
+ markdownStrippedBio,
+ isValidOrgDomain,
+ currentOrgDomain,
+}: PageProps) {
+ useTheme(team.theme);
+ const routerQuery = useRouterQuery();
+ const pathname = usePathname();
+ const showMembers = useToggleQuery("members");
+ const { t } = useLocale();
+ const isEmbed = useIsEmbed();
+ const telemetry = useTelemetry();
+ const teamName = team.name || "Nameless Team";
+ const isBioEmpty = !team.bio || !team.bio.replace("
", "").length;
+ const metadata = teamMetadataSchema.parse(team.metadata);
+
+ useEffect(() => {
+ telemetry.event(
+ telemetryEventTypes.pageView,
+ collectPageParameters("/team/[slug]", { isTeamBooking: true })
+ );
+ }, [telemetry, pathname]);
+
+ if (isUnpublished) {
+ const slug = team.slug || metadata?.requestedSlug;
+ return (
+
+
+
+ );
+ }
+
+ // slug is a route parameter, we don't want to forward it to the next route
+ const { slug: _slug, orgSlug: _orgSlug, user: _user, ...queryParamsToForward } = routerQuery;
+
+ const EventTypes = ({ eventTypes }: { eventTypes: NonNullable<(typeof team)["eventTypes"]> }) => (
+
+ {eventTypes.map((type, index) => (
+ -
+
+
{
+ sdkActionManager?.fire("eventTypeSelected", {
+ eventType: type,
+ });
+ }}
+ data-testid="event-type-link"
+ className="flex justify-between">
+
+
+
+
+
+
+
+ ))}
+
+ );
+
+ const SubTeams = () =>
+ team.children.length ? (
+
+ {team.children.map((ch, i) => {
+ const memberCount = team.members.filter(
+ (mem) => mem.subteams?.includes(ch.slug) && mem.accepted
+ ).length;
+ return (
+ -
+
+
+
+ {ch.name}
+
+ {t("number_member", {
+ count: memberCount,
+ })}
+
+
+
+ mem.subteams?.includes(ch.slug) && mem.accepted)}
+ />
+
+
+ );
+ })}
+
+ ) : (
+
+
+
+
{` ${t("org_no_teams_yet")}`}
+
{t("org_no_teams_yet_description")}
+
+
+
+ );
+
+ return (
+ <>
+
+
+
+
+
+ {team.parent && `${team.parent.name} `}
+ {teamName}
+
+ {!isBioEmpty && (
+ <>
+
+ >
+ )}
+
+ {metadata?.isOrganization ? (
+
+ ) : (
+ <>
+ {(showMembers.isOn || !team.eventTypes?.length) &&
+ (team.isPrivate ? (
+
+
+ {t("you_cannot_see_team_members")}
+
+
+ ) : (
+
+ ))}
+ {!showMembers.isOn && team.eventTypes && team.eventTypes.length > 0 && (
+
+
+
+ {/* Hide "Book a team member button when team is private or hideBookATeamMember is true" */}
+ {!team.hideBookATeamMember && !team.isPrivate && (
+
+
+
+
+
+ )}
+
+ )}
+ >
+ )}
+
+ >
+ );
+}
+
+TeamPage.isBookingPage = true;
+TeamPage.PageWrapper = PageWrapper;
+
+export default TeamPage;
+"use client";
+
+import withEmbedSsr from "@lib/withEmbedSsr";
+
+import { getServerSideProps as _getServerSideProps } from "../[type]";
+
+export { default, type PageProps } from "../[type]";
+
+export const getServerSideProps = withEmbedSsr(_getServerSideProps);
+"use client";
+
+import { Booker } from "@calcom/atoms";
+import { getBookerWrapperClasses } from "@calcom/features/bookings/Booker/utils/getBookerWrapperClasses";
+import { BookerSeo } from "@calcom/features/bookings/components/BookerSeo";
+
+import { getServerSideProps } from "@lib/team/[slug]/[type]/getServerSideProps";
+import type { inferSSRProps } from "@lib/types/inferSSRProps";
+import type { EmbedProps } from "@lib/withEmbedSsr";
+
+import PageWrapper from "@components/PageWrapper";
+
+export type PageProps = inferSSRProps & EmbedProps;
+
+export { getServerSideProps };
+
+export default function Type({
+ slug,
+ user,
+ booking,
+ away,
+ isEmbed,
+ isBrandingHidden,
+ entity,
+ duration,
+ isInstantMeeting,
+}: PageProps) {
+ return (
+
+
+
+
+ );
+}
+
+Type.PageWrapper = PageWrapper;
+Type.isBookingPage = true;
+"use client";
+
+import withEmbedSsr from "@lib/withEmbedSsr";
+
+import { getServerSideProps as _getServerSideProps } from "../../team/[slug]";
+
+export { default } from "../../team/[slug]";
+
+export const getServerSideProps = withEmbedSsr(_getServerSideProps);
+"use client";
+
+import { useRouter } from "next/navigation";
+
+import Shell from "@calcom/features/shell/Shell";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import type { RouterOutputs } from "@calcom/trpc/react";
+import { trpc } from "@calcom/trpc/react";
+import { Button, EmptyScreen } from "@calcom/ui";
+import { showToast } from "@calcom/ui";
+import { ArrowUpCircle, CheckCircle } from "@calcom/ui/components/icon";
+
+import PageWrapper from "@components/PageWrapper";
+
+export type OrgUpgradeBannerProps = {
+ data: RouterOutputs["viewer"]["getUserTopBanners"]["orgUpgradeBanner"];
+};
+
+export default function UpgradePage() {
+ const { t } = useLocale();
+
+ const router = useRouter();
+ const publishOrgMutation = trpc.viewer.organizations.publish.useMutation({
+ onSuccess(data) {
+ router.push(data.url);
+ },
+ onError: (error) => {
+ showToast(error.message, "error");
+ },
+ });
+
+ const doesUserHaveOrgToUpgrade = trpc.viewer.organizations.checkIfOrgNeedsUpgrade.useQuery();
+
+ return (
+
+
+ {doesUserHaveOrgToUpgrade.data ? (
+ {
+ publishOrgMutation.mutate();
+ }}>
+ {t("upgrade")}
+
+ }
+ />
+ ) : (
+ {t("contact_support")}}
+ />
+ )}
+
+
+ );
+}
+UpgradePage.PageWrapper = PageWrapper;
+"use client";
+
+import { getLayout } from "@calcom/features/MainLayout";
+import { TeamsListing } from "@calcom/features/ee/teams/components";
+import { ShellMain } from "@calcom/features/shell/Shell";
+import { WEBAPP_URL } from "@calcom/lib/constants";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { trpc } from "@calcom/trpc/react";
+import { Button } from "@calcom/ui";
+import { Plus } from "@calcom/ui/components/icon";
+
+import PageWrapper from "@components/PageWrapper";
+
+export { getServerSideProps } from "@lib/teams/getServerSideProps";
+
+function Teams() {
+ const { t } = useLocale();
+ const [user] = trpc.viewer.me.useSuspenseQuery();
+
+ return (
+
+ {t("new")}
+
+ )
+ }>
+
+
+ );
+}
+
+Teams.requiresLicense = false;
+Teams.PageWrapper = PageWrapper;
+Teams.getLayout = getLayout;
+export default Teams;
+import NextAuth from "next-auth";
+
+import { AUTH_OPTIONS } from "@calcom/features/auth/lib/next-auth-options";
+
+export default NextAuth(AUTH_OPTIONS);
+import { ImageResponse } from "@vercel/og";
+import type { NextApiRequest } from "next";
+import type { SatoriOptions } from "satori";
+import { z } from "zod";
+
+import { Meeting, App, Generic } from "@calcom/lib/OgImages";
+
+const calFont = fetch(new URL("../../../../public/fonts/cal.ttf", import.meta.url)).then((res) =>
+ res.arrayBuffer()
+);
+
+const interFont = fetch(new URL("../../../../public/fonts/Inter-Regular.ttf", import.meta.url)).then((res) =>
+ res.arrayBuffer()
+);
+
+const interFontMedium = fetch(new URL("../../../../public/fonts/Inter-Medium.ttf", import.meta.url)).then(
+ (res) => res.arrayBuffer()
+);
+
+export const config = {
+ runtime: "edge",
+};
+
+const meetingSchema = z.object({
+ imageType: z.literal("meeting"),
+ title: z.string(),
+ names: z.string().array(),
+ usernames: z.string().array(),
+ meetingProfileName: z.string(),
+ meetingImage: z.string().nullable().optional(),
+});
+
+const appSchema = z.object({
+ imageType: z.literal("app"),
+ name: z.string(),
+ description: z.string(),
+ slug: z.string(),
+});
+
+const genericSchema = z.object({
+ imageType: z.literal("generic"),
+ title: z.string(),
+ description: z.string(),
+});
+
+export default async function handler(req: NextApiRequest) {
+ const { searchParams } = new URL(`${req.url}`);
+ const imageType = searchParams.get("type");
+
+ const [calFontData, interFontData, interFontMediumData] = await Promise.all([
+ calFont,
+ interFont,
+ interFontMedium,
+ ]);
+ const ogConfig = {
+ width: 1200,
+ height: 630,
+ fonts: [
+ { name: "inter", data: interFontData, weight: 400 },
+ { name: "inter", data: interFontMediumData, weight: 500 },
+ { name: "cal", data: calFontData, weight: 400 },
+ { name: "cal", data: calFontData, weight: 600 },
+ ] as SatoriOptions["fonts"],
+ };
+
+ switch (imageType) {
+ case "meeting": {
+ const { names, usernames, title, meetingProfileName, meetingImage } = meetingSchema.parse({
+ names: searchParams.getAll("names"),
+ usernames: searchParams.getAll("usernames"),
+ title: searchParams.get("title"),
+ meetingProfileName: searchParams.get("meetingProfileName"),
+ meetingImage: searchParams.get("meetingImage"),
+ imageType,
+ });
+
+ const img = new ImageResponse(
+ (
+ ({ name, username: usernames[index] }))}
+ />
+ ),
+ ogConfig
+ ) as { body: Buffer };
+
+ return new Response(img.body, { status: 200, headers: { "Content-Type": "image/png" } });
+ }
+ case "app": {
+ const { name, description, slug } = appSchema.parse({
+ name: searchParams.get("name"),
+ description: searchParams.get("description"),
+ slug: searchParams.get("slug"),
+ imageType,
+ });
+ const img = new ImageResponse(, ogConfig) as {
+ body: Buffer;
+ };
+
+ return new Response(img.body, { status: 200, headers: { "Content-Type": "image/png" } });
+ }
+
+ case "generic": {
+ const { title, description } = genericSchema.parse({
+ title: searchParams.get("title"),
+ description: searchParams.get("description"),
+ imageType,
+ });
+
+ const img = new ImageResponse(, ogConfig) as {
+ body: Buffer;
+ };
+
+ return new Response(img.body, { status: 200, headers: { "Content-Type": "image/png" } });
+ }
+
+ default:
+ return new Response("What you're looking for is not here..", { status: 404 });
+ }
+}
+import { useAutoAnimate } from "@formkit/auto-animate/react";
+import Link from "next/link";
+import { useRouter, usePathname } from "next/navigation";
+import { useCallback } from "react";
+
+import { getLayout } from "@calcom/features/MainLayout";
+import { NewScheduleButton, ScheduleListItem } from "@calcom/features/schedules";
+import { ShellMain } from "@calcom/features/shell/Shell";
+import { AvailabilitySliderTable } from "@calcom/features/timezone-buddy/components/AvailabilitySliderTable";
+import { useCompatSearchParams } from "@calcom/lib/hooks/useCompatSearchParams";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { HttpError } from "@calcom/lib/http-error";
+import type { RouterOutputs } from "@calcom/trpc/react";
+import { trpc } from "@calcom/trpc/react";
+import { EmptyScreen, showToast, ToggleGroup } from "@calcom/ui";
+import { Clock } from "@calcom/ui/components/icon";
+
+import { QueryCell } from "@lib/QueryCell";
+
+import PageWrapper from "@components/PageWrapper";
+import SkeletonLoader from "@components/availability/SkeletonLoader";
+
+export function AvailabilityList({ schedules }: RouterOutputs["viewer"]["availability"]["list"]) {
+ const { t } = useLocale();
+ const utils = trpc.useContext();
+
+ const meQuery = trpc.viewer.me.useQuery();
+
+ const router = useRouter();
+
+ const deleteMutation = trpc.viewer.availability.schedule.delete.useMutation({
+ onMutate: async ({ scheduleId }) => {
+ await utils.viewer.availability.list.cancel();
+ const previousValue = utils.viewer.availability.list.getData();
+ if (previousValue) {
+ const filteredValue = previousValue.schedules.filter(({ id }) => id !== scheduleId);
+ utils.viewer.availability.list.setData(undefined, { ...previousValue, schedules: filteredValue });
+ }
+
+ return { previousValue };
+ },
+
+ onError: (err, variables, context) => {
+ if (context?.previousValue) {
+ utils.viewer.availability.list.setData(undefined, context.previousValue);
+ }
+ if (err instanceof HttpError) {
+ const message = `${err.statusCode}: ${err.message}`;
+ showToast(message, "error");
+ }
+ },
+ onSettled: () => {
+ utils.viewer.availability.list.invalidate();
+ },
+ onSuccess: () => {
+ showToast(t("schedule_deleted_successfully"), "success");
+ },
+ });
+
+ const updateMutation = trpc.viewer.availability.schedule.update.useMutation({
+ onSuccess: async ({ schedule }) => {
+ await utils.viewer.availability.list.invalidate();
+ showToast(
+ t("availability_updated_successfully", {
+ scheduleName: schedule.name,
+ }),
+ "success"
+ );
+ },
+ onError: (err) => {
+ if (err instanceof HttpError) {
+ const message = `${err.statusCode}: ${err.message}`;
+ showToast(message, "error");
+ }
+ },
+ });
+
+ const duplicateMutation = trpc.viewer.availability.schedule.duplicate.useMutation({
+ onSuccess: async ({ schedule }) => {
+ await router.push(`/availability/${schedule.id}`);
+ showToast(t("schedule_created_successfully", { scheduleName: schedule.name }), "success");
+ },
+ onError: (err) => {
+ if (err instanceof HttpError) {
+ const message = `${err.statusCode}: ${err.message}`;
+ showToast(message, "error");
+ }
+ },
+ });
+
+ // Adds smooth delete button - item fades and old item slides into place
+
+ const [animationParentRef] = useAutoAnimate();
+
+ return (
+ <>
+ {schedules.length === 0 ? (
+
+ }
+ />
+
+ ) : (
+ <>
+
+
+ {schedules.map((schedule) => (
+
+ ))}
+
+
+
+ {t("temporarily_out_of_office")}{" "}
+
+ {t("add_a_redirect")}
+
+
+ >
+ )}
+ >
+ );
+}
+
+function AvailabilityListWithQuery() {
+ const query = trpc.viewer.availability.list.useQuery();
+
+ return (
+ }
+ customLoader={}
+ />
+ );
+}
+
+export default function AvailabilityPage() {
+ const { t } = useLocale();
+ const searchParams = useCompatSearchParams();
+ const router = useRouter();
+ const pathname = usePathname();
+
+ // Get a new searchParams string by merging the current
+ // searchParams with a provided key/value pair
+ const createQueryString = useCallback(
+ (name: string, value: string) => {
+ const params = new URLSearchParams(searchParams ?? undefined);
+ params.set(name, value);
+
+ return params.toString();
+ },
+ [searchParams]
+ );
+ return (
+
+
+ {
+ if (!value) return;
+ router.push(`${pathname}?${createQueryString("type", value)}`);
+ }}
+ options={[
+ { value: "mine", label: t("my_availability") },
+ { value: "team", label: t("team_availability") },
+ ]}
+ />
+
+
+ }>
+ {searchParams?.get("type") === "team" ? : }
+
+
+ );
+}
+
+AvailabilityPage.getLayout = getLayout;
+
+AvailabilityPage.PageWrapper = PageWrapper;
+import { Troubleshooter } from "@calcom/features/troubleshooter/Troubleshooter";
+import { getLayout } from "@calcom/features/troubleshooter/layout";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { HeadSeo } from "@calcom/ui";
+
+import PageWrapper from "@components/PageWrapper";
+
+function TroubleshooterPage() {
+ const { t } = useLocale();
+ return (
+ <>
+
+
+ >
+ );
+}
+
+TroubleshooterPage.getLayout = getLayout;
+TroubleshooterPage.PageWrapper = PageWrapper;
+export default TroubleshooterPage;
+import { useRouter } from "next/navigation";
+import { useState } from "react";
+import { Controller, useFieldArray, useForm } from "react-hook-form";
+
+import dayjs from "@calcom/dayjs";
+import { DateOverrideInputDialog, DateOverrideList } from "@calcom/features/schedules";
+import Schedule from "@calcom/features/schedules/components/Schedule";
+import Shell from "@calcom/features/shell/Shell";
+import { classNames } from "@calcom/lib";
+import { availabilityAsString } from "@calcom/lib/availability";
+import { useCompatSearchParams } from "@calcom/lib/hooks/useCompatSearchParams";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { HttpError } from "@calcom/lib/http-error";
+import { trpc } from "@calcom/trpc/react";
+import useMeQuery from "@calcom/trpc/react/hooks/useMeQuery";
+import type { Schedule as ScheduleType, TimeRange, WorkingHours } from "@calcom/types/schedule";
+import {
+ Button,
+ ConfirmationDialogContent,
+ Dialog,
+ DialogTrigger,
+ Form,
+ Label,
+ showToast,
+ Skeleton,
+ SkeletonText,
+ Switch,
+ TimezoneSelect,
+ Tooltip,
+ VerticalDivider,
+} from "@calcom/ui";
+import { Info, MoreVertical, ArrowLeft, Plus, Trash } from "@calcom/ui/components/icon";
+
+import PageWrapper from "@components/PageWrapper";
+import { SelectSkeletonLoader } from "@components/availability/SkeletonLoader";
+import EditableHeading from "@components/ui/EditableHeading";
+
+type AvailabilityFormValues = {
+ name: string;
+ schedule: ScheduleType;
+ dateOverrides: { ranges: TimeRange[] }[];
+ timeZone: string;
+ isDefault: boolean;
+};
+
+const DateOverride = ({ workingHours }: { workingHours: WorkingHours[] }) => {
+ const { remove, append, replace, fields } = useFieldArray({
+ name: "dateOverrides",
+ });
+ const excludedDates = fields.map((field) => dayjs(field.ranges[0].start).utc().format("YYYY-MM-DD"));
+ const { t } = useLocale();
+ return (
+
+
+ {t("date_overrides")}{" "}
+
+
+
+
+
+
+
{t("date_overrides_subtitle")}
+
+
+ ranges.forEach((range) => append({ ranges: [range] }))}
+ Trigger={
+
+ }
+ />
+
+
+ );
+};
+
+export default function Availability() {
+ const searchParams = useCompatSearchParams();
+ const { t, i18n } = useLocale();
+ const router = useRouter();
+ const utils = trpc.useContext();
+ const me = useMeQuery();
+ const scheduleId = searchParams?.get("schedule") ? Number(searchParams.get("schedule")) : -1;
+ const fromEventType = searchParams?.get("fromEventType");
+ const { timeFormat } = me.data || { timeFormat: null };
+ const [openSidebar, setOpenSidebar] = useState(false);
+ const { data: schedule, isPending } = trpc.viewer.availability.schedule.get.useQuery(
+ { scheduleId },
+ {
+ enabled: !!scheduleId,
+ }
+ );
+
+ const form = useForm({
+ values: schedule && {
+ ...schedule,
+ schedule: schedule?.availability || [],
+ },
+ });
+ const updateMutation = trpc.viewer.availability.schedule.update.useMutation({
+ onSuccess: async ({ prevDefaultId, currentDefaultId, ...data }) => {
+ if (prevDefaultId && currentDefaultId) {
+ // check weather the default schedule has been changed by comparing previous default schedule id and current default schedule id.
+ if (prevDefaultId !== currentDefaultId) {
+ // if not equal, invalidate previous default schedule id and refetch previous default schedule id.
+ utils.viewer.availability.schedule.get.invalidate({ scheduleId: prevDefaultId });
+ utils.viewer.availability.schedule.get.refetch({ scheduleId: prevDefaultId });
+ }
+ }
+ utils.viewer.availability.schedule.get.invalidate({ scheduleId: data.schedule.id });
+ utils.viewer.availability.list.invalidate();
+ showToast(
+ t("availability_updated_successfully", {
+ scheduleName: data.schedule.name,
+ }),
+ "success"
+ );
+ },
+ onError: (err) => {
+ if (err instanceof HttpError) {
+ const message = `${err.statusCode}: ${err.message}`;
+ showToast(message, "error");
+ }
+ },
+ });
+
+ const deleteMutation = trpc.viewer.availability.schedule.delete.useMutation({
+ onError: (err) => {
+ if (err instanceof HttpError) {
+ const message = `${err.statusCode}: ${err.message}`;
+ showToast(message, "error");
+ }
+ },
+ onSettled: () => {
+ utils.viewer.availability.list.invalidate();
+ },
+ onSuccess: () => {
+ showToast(t("schedule_deleted_successfully"), "success");
+ router.push("/availability");
+ },
+ });
+
+ return (
+ (
+
+ )}
+ />
+ }
+ subtitle={
+ schedule ? (
+ schedule.schedule
+ .filter((availability) => !!availability.days.length)
+ .map((availability) => (
+
+ {availabilityAsString(availability, { locale: i18n.language, hour12: timeFormat === 12 })}
+
+
+ ))
+ ) : (
+
+ )
+ }
+ CTA={
+
+
+
+ {t("set_to_default")}
+
+ {
+ form.setValue("isDefault", e);
+ }}
+ />
+
+
+
+
+
+
+
+
+
+
+ {t("name")}
+ (
+
+ )}
+ />
+
+
+
+ {t("set_to_default")}
+
+ {
+ form.setValue("isDefault", e);
+ }}
+ />
+
+
+
+
+
+
+ {t("timezone")}
+
+
+ value ? (
+ onChange(timezone.value)}
+ />
+ ) : (
+
+ )
+ }
+ />
+
+
+
+
+ {t("something_doesnt_look_right")}
+
+
+
+ {t("launch_troubleshooter")}
+
+
+
+
+
+
+
+
+
+ {t("save")}
+
+
setOpenSidebar(true)}
+ />
+
+ }>
+
+
+ );
+}
+
+Availability.PageWrapper = PageWrapper;
+import { type AppProps } from "@lib/app-providers";
+
+import PageWrapper, { type CalPageWrapper } from "@components/PageWrapper";
+
+import User from "~/users/views/users-public-view";
+
+export { getServerSideProps, type UserPageProps } from "~/users/views/users-public-view.getServerSideProps";
+
+const UserPage = User as unknown as CalPageWrapper & {
+ isBookingPage: AppProps["Component"]["isBookingPage"];
+};
+
+UserPage.isBookingPage = true;
+UserPage.PageWrapper = PageWrapper;
+
+export default UserPage;
+import { type AppProps } from "@lib/app-providers";
+
+import PageWrapper, { type CalPageWrapper } from "@components/PageWrapper";
+
+import TypePage from "~/users/views/users-type-public-view";
+
+export { getServerSideProps } from "~/users/views/users-type-public-view.getServerSideProps";
+
+const Type = TypePage as unknown as CalPageWrapper & {
+ isBookingPage: AppProps["Component"]["isBookingPage"];
+};
+
+Type.isBookingPage = true;
+Type.PageWrapper = PageWrapper;
+
+export default Type;
+import { type AppProps } from "@lib/app-providers";
+import withEmbedSsr from "@lib/withEmbedSsr";
+
+import PageWrapper, { type CalPageWrapper } from "@components/PageWrapper";
+
+import TypePage from "~/users/views/users-type-public-view";
+import { getServerSideProps as _getServerSideProps } from "~/users/views/users-type-public-view.getServerSideProps";
+
+export const getServerSideProps = withEmbedSsr(_getServerSideProps);
+
+const Type = TypePage as unknown as CalPageWrapper & {
+ isBookingPage: AppProps["Component"]["isBookingPage"];
+};
+
+Type.isBookingPage = true;
+Type.PageWrapper = PageWrapper;
+
+export default Type;
+import { type AppProps } from "@lib/app-providers";
+import withEmbedSsr from "@lib/withEmbedSsr";
+
+import PageWrapper, { type CalPageWrapper } from "@components/PageWrapper";
+
+import User from "~/users/views/users-public-view";
+import { getServerSideProps as _getServerSideProps } from "~/users/views/users-public-view.getServerSideProps";
+
+const UserPage = User as unknown as CalPageWrapper & {
+ isBookingPage: AppProps["Component"]["isBookingPage"];
+};
+
+UserPage.isBookingPage = true;
+UserPage.PageWrapper = PageWrapper;
+
+export default UserPage;
+
+export const getServerSideProps = withEmbedSsr(_getServerSideProps);
+export default function RoutingFormsIndex() {
+ return null;
+}
+
+export const getServerSideProps = () => {
+ return {
+ redirect: {
+ destination: `/apps/routing-forms/forms`,
+ permanent: false,
+ },
+ };
+};
+import type { GetServerSidePropsContext } from "next";
+import z from "zod";
+
+const paramsSchema = z
+ .object({
+ pages: z.array(z.string()),
+ })
+ .catch({
+ pages: [],
+ });
+
+export default function RoutingForms() {
+ return null;
+}
+
+export const getServerSideProps = (context: GetServerSidePropsContext) => {
+ const { pages } = paramsSchema.parse(context.params);
+
+ return {
+ redirect: {
+ destination: `/apps/routing-forms/${pages.length ? pages.join("/") : ""}`,
+ permanent: false,
+ },
+ };
+};
+"use client";
+
+import type { ChangeEventHandler } from "react";
+import { useState } from "react";
+
+import { getLayout } from "@calcom/features/MainLayout";
+import { classNames } from "@calcom/lib";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import type { inferSSRProps } from "@calcom/types/inferSSRProps";
+import type { HorizontalTabItemProps } from "@calcom/ui";
+import {
+ AllApps,
+ AppStoreCategories,
+ HorizontalTabs,
+ TextField,
+ PopularAppsSlider,
+ RecentAppsSlider,
+} from "@calcom/ui";
+import { Search } from "@calcom/ui/components/icon";
+
+import { getServerSideProps } from "@lib/apps/getServerSideProps";
+
+import PageWrapper from "@components/PageWrapper";
+import AppsLayout from "@components/apps/layouts/AppsLayout";
+
+const tabs: HorizontalTabItemProps[] = [
+ {
+ name: "app_store",
+ href: "/apps",
+ },
+ {
+ name: "installed_apps",
+ href: "/apps/installed",
+ },
+];
+
+function AppsSearch({
+ onChange,
+ className,
+}: {
+ onChange: ChangeEventHandler;
+ className?: string;
+}) {
+ const { t } = useLocale();
+ return (
+ }
+ addOnClassname="!border-muted"
+ containerClassName={classNames("focus:!ring-offset-0 m-1", className)}
+ type="search"
+ autoComplete="false"
+ onChange={onChange}
+ placeholder={t("search")}
+ />
+ );
+}
+
+export default function Apps({
+ categories,
+ appStore,
+ userAdminTeams,
+}: Omit, "trpcState">) {
+ const { t } = useLocale();
+ const [searchText, setSearchText] = useState(undefined);
+
+ return (
+ (
+
+
+
+
+
+
setSearchText(e.target.value)} />
+
+
+ )}
+ headerClassName="sm:hidden lg:block hidden"
+ emptyStore={!appStore.length}>
+
+ {!searchText && (
+ <>
+
+
+
+ >
+ )}
+
category.name)}
+ userAdminTeams={userAdminTeams}
+ />
+
+
+ );
+}
+
+export { getServerSideProps };
+
+Apps.PageWrapper = PageWrapper;
+Apps.getLayout = getLayout;
+export { getServerSideProps } from "@lib/apps/installed/getServerSideProps";
+
+function RedirectPage() {
+ return;
+}
+
+export default RedirectPage;
+"use client";
+
+import { useReducer } from "react";
+
+import DisconnectIntegrationModal from "@calcom/features/apps/components/DisconnectIntegrationModal";
+import { useCompatSearchParams } from "@calcom/lib/hooks/useCompatSearchParams";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import { AppCategories } from "@calcom/prisma/enums";
+import { trpc } from "@calcom/trpc/react";
+import { Button, EmptyScreen, AppSkeletonLoader as SkeletonLoader, ShellSubHeading } from "@calcom/ui";
+import type { LucideIcon } from "@calcom/ui/components/icon";
+import {
+ BarChart,
+ Calendar,
+ Contact,
+ CreditCard,
+ Grid,
+ Mail,
+ Plus,
+ Share2,
+ Video,
+} from "@calcom/ui/components/icon";
+
+import { QueryCell } from "@lib/QueryCell";
+import type { querySchemaType } from "@lib/apps/installed/[category]/getServerSideProps";
+import { getServerSideProps } from "@lib/apps/installed/[category]/getServerSideProps";
+
+import PageWrapper from "@components/PageWrapper";
+import { AppList } from "@components/apps/AppList";
+import { CalendarListContainer } from "@components/apps/CalendarListContainer";
+import InstalledAppsLayout from "@components/apps/layouts/InstalledAppsLayout";
+
+interface IntegrationsContainerProps {
+ variant?: AppCategories;
+ exclude?: AppCategories[];
+ handleDisconnect: (credentialId: number) => void;
+}
+
+const IntegrationsContainer = ({
+ variant,
+ exclude,
+ handleDisconnect,
+}: IntegrationsContainerProps): JSX.Element => {
+ const { t } = useLocale();
+ const query = trpc.viewer.integrations.useQuery({
+ variant,
+ exclude,
+ onlyInstalled: true,
+ includeTeamInstalledApps: true,
+ });
+
+ // TODO: Refactor and reuse getAppCategories?
+ const emptyIcon: Record = {
+ calendar: Calendar,
+ conferencing: Video,
+ automation: Share2,
+ analytics: BarChart,
+ payment: CreditCard,
+ other: Grid,
+ web3: CreditCard, // deprecated
+ video: Video, // deprecated
+ messaging: Mail,
+ crm: Contact,
+ };
+
+ return (
+ }
+ success={({ data }) => {
+ if (!data.items.length) {
+ return (
+
+ {t(`connect_${variant || "other"}_apps`)}
+
+ }
+ />
+ );
+ }
+ return (
+
+
+ {t("add")}
+
+ }
+ />
+
+
+
+ );
+ }}
+ />
+ );
+};
+
+type ModalState = {
+ isOpen: boolean;
+ credentialId: null | number;
+ teamId?: number;
+};
+
+export default function InstalledApps() {
+ const searchParams = useCompatSearchParams();
+ const { t } = useLocale();
+ const category = searchParams?.get("category") as querySchemaType["category"];
+ const categoryList: AppCategories[] = Object.values(AppCategories).filter((category) => {
+ // Exclude calendar and other from categoryList, we handle those slightly differently below
+ return !(category in { other: null, calendar: null });
+ });
+
+ const [data, updateData] = useReducer(
+ (data: ModalState, partialData: Partial) => ({ ...data, ...partialData }),
+ {
+ isOpen: false,
+ credentialId: null,
+ }
+ );
+
+ const handleModelClose = () => {
+ updateData({ isOpen: false, credentialId: null });
+ };
+
+ const handleDisconnect = (credentialId: number, teamId?: number) => {
+ updateData({ isOpen: true, credentialId, teamId });
+ };
+
+ return (
+ <>
+
+ {categoryList.includes(category) && (
+
+ )}
+ {category === "calendar" && }
+ {category === "other" && (
+
+ )}
+
+
+ >
+ );
+}
+
+export { getServerSideProps };
+
+InstalledApps.PageWrapper = PageWrapper;
+"use client";
+
+import Link from "next/link";
+
+import Shell from "@calcom/features/shell/Shell";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import type { inferSSRProps } from "@calcom/types/inferSSRProps";
+import { SkeletonText } from "@calcom/ui";
+import { ArrowLeft, ArrowRight } from "@calcom/ui/components/icon";
+
+import { getServerSideProps } from "@lib/apps/categories/getServerSideProps";
+
+import PageWrapper from "@components/PageWrapper";
+
+export default function Apps({ categories }: Omit, "trpcState">) {
+ const { t, isLocaleReady } = useLocale();
+
+ return (
+
+
+
+
+ {isLocaleReady ? t("app_store") :
}{" "}
+
+
+
+
+ {categories.map((category) => (
+
+
+
{category.name}
+
+ {t("number_apps", { count: category.count })}{" "}
+
+
+
+
+ ))}
+
+
+
+ );
+}
+
+Apps.PageWrapper = PageWrapper;
+
+export { getServerSideProps };
+"use client";
+
+import { Prisma } from "@prisma/client";
+import type { InferGetStaticPropsType } from "next";
+import Link from "next/link";
+
+import Shell from "@calcom/features/shell/Shell";
+import { useCompatSearchParams } from "@calcom/lib/hooks/useCompatSearchParams";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+import prisma from "@calcom/prisma";
+import { AppCategories } from "@calcom/prisma/enums";
+import { AppCard, SkeletonText } from "@calcom/ui";
+
+import { getStaticProps } from "@lib/apps/categories/[category]/getStaticProps";
+
+import PageWrapper from "@components/PageWrapper";
+
+export type PageProps = InferGetStaticPropsType;
+export default function Apps({ apps }: PageProps) {
+ const searchParams = useCompatSearchParams();
+ const { t, isLocaleReady } = useLocale();
+ const category = searchParams?.get("category");
+
+ return (
+ <>
+
+
+ {isLocaleReady ? t("app_store") : }{" "}
+
+ {category && (
+
+ /
+ {t("category_apps", { category: category[0].toUpperCase() + category?.slice(1) })}
+
+ )}
+ >
+ }>
+
+
+ {apps
+ .sort((a, b) => (b.installCount || 0) - (a.installCount || 0))
+ .map((app) => {
+ return
;
+ })}
+
+
+
+ >
+ );
+}
+
+Apps.PageWrapper = PageWrapper;
+
+export const getStaticPaths = async () => {
+ const paths = Object.keys(AppCategories);
+
+ try {
+ await prisma.$queryRaw`SELECT 1`;
+ } catch (e: unknown) {
+ if (e instanceof Prisma.PrismaClientInitializationError) {
+ // Database is not available at build time. Make sure we fall back to building these pages on demand
+ return {
+ paths: [],
+ fallback: "blocking",
+ };
+ } else {
+ throw e;
+ }
+ }
+
+ return {
+ paths: paths.map((category) => ({ params: { category } })),
+ fallback: false,
+ };
+};
+
+export { getStaticProps };
+"use client";
+
+import { Prisma } from "@prisma/client";
+import MarkdownIt from "markdown-it";
+import type { GetStaticPaths } from "next";
+import Link from "next/link";
+
+import { IS_PRODUCTION } from "@calcom/lib/constants";
+import prisma from "@calcom/prisma";
+
+import { getStaticProps } from "@lib/apps/[slug]/getStaticProps";
+import type { inferSSRProps } from "@lib/types/inferSSRProps";
+
+import PageWrapper from "@components/PageWrapper";
+import App from "@components/apps/App";
+
+const md = new MarkdownIt("default", { html: true, breaks: true });
+
+function SingleAppPage(props: inferSSRProps) {
+ // If it's not production environment, it would be a better idea to inform that the App is disabled.
+ if (props.isAppDisabled) {
+ if (!IS_PRODUCTION) {
+ // TODO: Improve disabled App UI. This is just a placeholder.
+ return (
+
+ This App seems to be disabled. If you are an admin, you can enable this app from{" "}
+
+ here
+
+
+ );
+ }
+
+ // Disabled App should give 404 any ways in production.
+ return null;
+ }
+
+ const { source, data } = props;
+ return (
+
+
+ >
+ }
+ />
+ );
+}
+
+export const getStaticPaths: GetStaticPaths<{ slug: string }> = async () => {
+ let paths: { params: { slug: string } }[] = [];
+
+ try {
+ const appStore = await prisma.app.findMany({ select: { slug: true } });
+ paths = appStore.map(({ slug }) => ({ params: { slug } }));
+ } catch (e: unknown) {
+ if (e instanceof Prisma.PrismaClientInitializationError) {
+ // Database is not available at build time, but that's ok – we fall back to resolving paths on demand
+ } else {
+ throw e;
+ }
+ }
+
+ return {
+ paths,
+ fallback: "blocking",
+ };
+};
+
+export { getStaticProps };
+
+SingleAppPage.PageWrapper = PageWrapper;
+
+export default SingleAppPage;
+"use client";
+
+import type { InferGetServerSidePropsType } from "next";
+import { useSession } from "next-auth/react";
+import { useRouter } from "next/navigation";
+
+import { AppSetupPage } from "@calcom/app-store/_pages/setup";
+import { getServerSideProps } from "@calcom/app-store/_pages/setup/_getServerSideProps";
+import { useCompatSearchParams } from "@calcom/lib/hooks/useCompatSearchParams";
+import { HeadSeo } from "@calcom/ui";
+
+import PageWrapper from "@components/PageWrapper";
+
+export default function SetupInformation(props: InferGetServerSidePropsType) {
+ const searchParams = useCompatSearchParams();
+ const router = useRouter();
+ const slug = searchParams?.get("slug") as string;
+ const { status } = useSession();
+
+ if (status === "loading") {
+ return ;
+ }
+
+ if (status === "unauthenticated") {
+ const urlSearchParams = new URLSearchParams({
+ callbackUrl: `/apps/${slug}/setup`,
+ });
+ router.replace(`/auth/login?${urlSearchParams.toString()}`);
+ }
+
+ return (
+ <>
+ {/* So that the set up page does not get indexed by search engines */}
+
+
+ >
+ );
+}
+
+SetupInformation.PageWrapper = PageWrapper;
+
+export { getServerSideProps };
+"use client";
+
+import type { GetServerSidePropsContext } from "next";
+
+import { getAppWithMetadata } from "@calcom/app-store/_appRegistry";
+import RoutingFormsRoutingConfig from "@calcom/app-store/routing-forms/pages/app-routing.config";
+import TypeformRoutingConfig from "@calcom/app-store/typeform/pages/app-routing.config";
+import { getServerSession } from "@calcom/features/auth/lib/getServerSession";
+import { useParamsWithFallback } from "@calcom/lib/hooks/useParamsWithFallback";
+import prisma from "@calcom/prisma";
+import type { AppGetServerSideProps } from "@calcom/types/AppGetServerSideProps";
+
+import type { AppProps } from "@lib/app-providers";
+
+import PageWrapper from "@components/PageWrapper";
+
+import { ssrInit } from "@server/lib/ssr";
+
+type AppPageType = {
+ getServerSideProps: AppGetServerSideProps;
+ // A component than can accept any properties
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ default: ((props: any) => JSX.Element) &
+ Pick;
+};
+
+type Found = {
+ notFound: false;
+ Component: AppPageType["default"];
+ getServerSideProps: AppPageType["getServerSideProps"];
+};
+
+type NotFound = {
+ notFound: true;
+};
+
+// TODO: It is a candidate for apps.*.generated.*
+const AppsRouting = {
+ "routing-forms": RoutingFormsRoutingConfig,
+ typeform: TypeformRoutingConfig,
+};
+
+function getRoute(appName: string, pages: string[]) {
+ const routingConfig = AppsRouting[appName as keyof typeof AppsRouting] as Record;
+
+ if (!routingConfig) {
+ return {
+ notFound: true,
+ } as NotFound;
+ }
+ const mainPage = pages[0];
+ const appPage = routingConfig.layoutHandler || (routingConfig[mainPage] as AppPageType);
+ if (!appPage) {
+ return {
+ notFound: true,
+ } as NotFound;
+ }
+ return { notFound: false, Component: appPage.default, ...appPage } as Found;
+}
+
+const AppPage: AppPageType["default"] = function AppPage(props) {
+ const appName = props.appName;
+ const params = useParamsWithFallback();
+ const pages = Array.isArray(params.pages) ? params.pages : params.pages?.split("/") ?? [];
+ const route = getRoute(appName, pages);
+
+ const componentProps = {
+ ...props,
+ pages: pages.slice(1),
+ };
+
+ if (!route || route.notFound) {
+ throw new Error("Route can't be undefined");
+ }
+ return ;
+};
+
+AppPage.isBookingPage = ({ router }) => {
+ const route = getRoute(router.query.slug as string, router.query.pages as string[]);
+ if (route.notFound) {
+ return false;
+ }
+ const isBookingPage = route.Component.isBookingPage;
+ if (typeof isBookingPage === "function") {
+ return isBookingPage({ router });
+ }
+
+ return !!isBookingPage;
+};
+
+export const getLayout: NonNullable<(typeof AppPage)["getLayout"]> = (page) => {
+ // eslint-disable-next-line react-hooks/rules-of-hooks
+ const { slug, pages } = useParamsWithFallback();
+ const route = getRoute(slug as string, pages as string[]);
+
+ if (route.notFound) {
+ return null;
+ }
+ if (!route.Component.getLayout) {
+ return page;
+ }
+ return route.Component.getLayout(page);
+};
+
+AppPage.PageWrapper = PageWrapper;
+AppPage.getLayout = getLayout;
+
+export default AppPage;
+
+export async function getServerSideProps(
+ context: GetServerSidePropsContext<{
+ slug: string;
+ pages: string[];
+ appPages?: string[];
+ }>
+) {
+ const { params, req, res } = context;
+ if (!params) {
+ return {
+ notFound: true,
+ };
+ }
+ const appName = params.slug;
+ const pages = params.pages;
+ const route = getRoute(appName, pages);
+ if (route.notFound) {
+ return route;
+ }
+ if (route.getServerSideProps) {
+ // TODO: Document somewhere that right now it is just a convention that filename should have appPages in it's name.
+ // appPages is actually hardcoded here and no matter the fileName the same variable would be used.
+ // We can write some validation logic later on that ensures that [...appPages].tsx file exists
+ params.appPages = pages.slice(1);
+ const session = await getServerSession({ req, res });
+ const user = session?.user;
+ const app = await getAppWithMetadata({ slug: appName });
+ if (!app) {
+ return {
+ notFound: true,
+ };
+ }
+
+ const result = await route.getServerSideProps(
+ context as GetServerSidePropsContext<{
+ slug: string;
+ pages: string[];
+ appPages: string[];
+ }>,
+ prisma,
+ user,
+ ssrInit
+ );
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
+ //@ts-ignore
+ if (result.notFound) {
+ return {
+ notFound: true,
+ };
+ }
+ if (result.redirect) {
+ return {
+ redirect: result.redirect,
+ };
+ }
+ return {
+ props: {
+ appName,
+ appUrl: app.simplePath || `/apps/${appName}`,
+ ...result.props,
+ },
+ };
+ } else {
+ return {
+ props: {
+ appName,
+ },
+ };
+ }
+}
+"use client";
+
+import { Booker } from "@calcom/atoms";
+import { getBookerWrapperClasses } from "@calcom/features/bookings/Booker/utils/getBookerWrapperClasses";
+import { BookerSeo } from "@calcom/features/bookings/components/BookerSeo";
+
+import { getServerSideProps, type PageProps } from "@lib/d/[link]/[slug]/getServerSideProps";
+
+import PageWrapper from "@components/PageWrapper";
+
+export default function Type({
+ slug,
+ isEmbed,
+ user,
+ booking,
+ away,
+ isBrandingHidden,
+ isTeamEvent,
+ entity,
+ duration,
+ hashedLink,
+}: PageProps) {
+ return (
+
+
+
+
+ );
+}
+
+export { getServerSideProps };
+
+Type.PageWrapper = PageWrapper;
+Type.isBookingPage = true;
+import type { IncomingMessage } from "http";
+import type { AppContextType } from "next/dist/shared/lib/utils";
+import React from "react";
+
+import { trpc } from "@calcom/trpc/react";
+
+import type { AppProps } from "@lib/app-providers";
+
+import "../styles/globals.css";
+
+function MyApp(props: AppProps) {
+ const { Component, pageProps } = props;
+
+ if (Component.PageWrapper !== undefined) return Component.PageWrapper(props);
+ return ;
+}
+
+declare global {
+ interface Window {
+ calNewLocale: string;
+ }
+}
+
+MyApp.getInitialProps = async (ctx: AppContextType) => {
+ const { req } = ctx.ctx;
+
+ let newLocale = "en";
+
+ if (req) {
+ const { getLocale } = await import("@calcom/features/auth/lib/getLocale");
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ newLocale = await getLocale(req as IncomingMessage & { cookies: Record });
+ } else if (typeof window !== "undefined" && window.calNewLocale) {
+ newLocale = window.calNewLocale;
+ }
+
+ return {
+ pageProps: {
+ newLocale,
+ },
+ };
+};
+
+const WrappedMyApp = trpc.withTRPC(MyApp);
+
+export default WrappedMyApp;
+// page can be a server component
+import type { GetServerSidePropsContext } from "next";
+import { URLSearchParams } from "url";
+import { z } from "zod";
+
+import { getServerSession } from "@calcom/features/auth/lib/getServerSession";
+import { getDefaultEvent } from "@calcom/lib/defaultEvents";
+import { maybeGetBookingUidFromSeat } from "@calcom/lib/server/maybeGetBookingUidFromSeat";
+import prisma, { bookingMinimalSelect } from "@calcom/prisma";
+import { BookingStatus } from "@calcom/prisma/client";
+
+export default function Type() {
+ // Just redirect to the schedule page to reschedule it.
+ return null;
+}
+
+export async function getServerSideProps(context: GetServerSidePropsContext) {
+ const session = await getServerSession(context);
+
+ const { uid: bookingUid, seatReferenceUid } = z
+ .object({ uid: z.string(), seatReferenceUid: z.string().optional() })
+ .parse(context.query);
+
+ const { uid, seatReferenceUid: maybeSeatReferenceUid } = await maybeGetBookingUidFromSeat(
+ prisma,
+ bookingUid
+ );
+ const booking = await prisma.booking.findUnique({
+ where: {
+ uid,
+ },
+ select: {
+ ...bookingMinimalSelect,
+ eventType: {
+ select: {
+ users: {
+ select: {
+ username: true,
+ },
+ },
+ slug: true,
+ team: {
+ select: {
+ slug: true,
+ },
+ },
+ seatsPerTimeSlot: true,
+ userId: true,
+ owner: {
+ select: {
+ id: true,
+ },
+ },
+ hosts: {
+ select: {
+ user: {
+ select: {
+ id: true,
+ },
+ },
+ },
+ },
+ },
+ },
+ dynamicEventSlugRef: true,
+ dynamicGroupSlugRef: true,
+ user: true,
+ status: true,
+ },
+ });
+ const dynamicEventSlugRef = booking?.dynamicEventSlugRef || "";
+
+ if (!booking) {
+ return {
+ notFound: true,
+ } as const;
+ }
+
+ // If booking is already CANCELLED or REJECTED, we can't reschedule this booking. Take the user to the booking page which would show it's correct status and other details.
+ // A booking that has been rescheduled to a new booking will also have a status of CANCELLED
+ if (booking.status === BookingStatus.CANCELLED || booking.status === BookingStatus.REJECTED) {
+ return {
+ redirect: {
+ destination: `/booking/${uid}`,
+ permanent: false,
+ },
+ };
+ }
+
+ if (!booking?.eventType && !booking?.dynamicEventSlugRef) {
+ // TODO: Show something in UI to let user know that this booking is not rescheduleable
+ return {
+ notFound: true,
+ } as {
+ notFound: true;
+ };
+ }
+
+ // if booking event type is for a seated event and no seat reference uid is provided, throw not found
+ if (booking?.eventType?.seatsPerTimeSlot && !maybeSeatReferenceUid) {
+ const userId = session?.user?.id;
+
+ if (!userId && !seatReferenceUid) {
+ return {
+ redirect: {
+ destination: `/auth/login?callbackUrl=/reschedule/${bookingUid}`,
+ permanent: false,
+ },
+ };
+ }
+ const userIsHost = booking?.eventType.hosts.find((host) => {
+ if (host.user.id === userId) return true;
+ });
+
+ const userIsOwnerOfEventType = booking?.eventType.owner?.id === userId;
+
+ if (!userIsHost && !userIsOwnerOfEventType) {
+ return {
+ notFound: true,
+ } as {
+ notFound: true;
+ };
+ }
+ }
+
+ const eventType = booking.eventType ? booking.eventType : getDefaultEvent(dynamicEventSlugRef);
+
+ const eventPage = `${
+ eventType.team
+ ? `team/${eventType.team.slug}`
+ : dynamicEventSlugRef
+ ? booking.dynamicGroupSlugRef
+ : booking.user?.username || "rick" /* This shouldn't happen */
+ }/${eventType?.slug}`;
+ const destinationUrl = new URLSearchParams();
+
+ destinationUrl.set("rescheduleUid", seatReferenceUid || bookingUid);
+
+ return {
+ redirect: {
+ destination: `/${eventPage}?${destinationUrl.toString()}${
+ eventType.seatsPerTimeSlot ? "&bookingUid=null" : ""
+ }`,
+ permanent: false,
+ },
+ };
+}
+"use client";
+
+import withEmbedSsr from "@lib/withEmbedSsr";
+
+import { getServerSideProps as _getServerSideProps } from "../[uid]";
+
+export { default } from "../[uid]";
+
+export const getServerSideProps = withEmbedSsr(_getServerSideProps);
+"use client";
+
+import Shell, { MobileNavigationMoreItems } from "@calcom/features/shell/Shell";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
+
+import PageWrapper from "@components/PageWrapper";
+
+export default function MorePage() {
+ const { t } = useLocale();
+ return (
+
+
+
+
{t("more_page_footer")}
+
+
+ );
+}
+MorePage.PageWrapper = PageWrapper;
diff --git a/typescript.js b/files/typescript.js
similarity index 100%
rename from typescript.js
rename to files/typescript.js
From 1197e7691793d9ed6696d8aec09ef6f13605d7bc Mon Sep 17 00:00:00 2001
From: Boshen
Date: Sun, 9 Jun 2024 00:40:25 +0800
Subject: [PATCH 093/385] add table
---
.gitignore | 1 +
BENCHMARKS.md | 20 -------------------
README.md | 27 ++++++++++++++++----------
package.json | 11 +++++++++++
pnpm-lock.yaml | 16 ++++++++++++++++
table.mjs | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 97 insertions(+), 30 deletions(-)
delete mode 100644 BENCHMARKS.md
create mode 100644 package.json
create mode 100644 pnpm-lock.yaml
create mode 100644 table.mjs
diff --git a/.gitignore b/.gitignore
index ea8c4bf..7daeddd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/target
+node_modules
diff --git a/BENCHMARKS.md b/BENCHMARKS.md
deleted file mode 100644
index 70e84ec..0000000
--- a/BENCHMARKS.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# Benchmarks
-
-## Table of Contents
-
-- [Benchmark Results](#benchmark-results)
- - [typescript.js](#typescript.js)
-
-## Benchmark Results
-
-### typescript.js
-
-| | `oxc` | `swc` | `biome` |
-|:--------------------|:-------------------------|:---------------------------------|:--------------------------------- |
-| **`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 3a4aa70..4635ca0 100644
--- a/README.md
+++ b/README.md
@@ -19,11 +19,21 @@ Codspeed measures performance by cpu instructions.
-| | `oxc` | `swc` | `biome` |
-|:--------------------|:-------------------------|:---------------------------------|:--------------------------------- |
-| **`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*) |
+### cal.com.tsx
+
+| | oxc | swc |biome |
+| ------------- | ---------------- | ----------------- |----------------- |
+| no-drop | `3.9 ms` (1.00x) | `15.9 ms` (4.03x) |`20.8 ms` (5.29x) |
+| parallel | `7.4 ms` (1.00x) | `32.4 ms` (4.40x) |`40.6 ms` (5.50x) |
+| single-thread | `3.9 ms` (1.00x) | `16.5 ms` (4.21x) |`20.8 ms` (5.30x) |
+
+### typescript.js
+
+| | oxc | swc |biome |
+| ------------- | ----------------- | ------------------ |------------------ |
+| no-drop | `29.4 ms` (1.00x) | `111.5 ms` (3.79x) |`159.0 ms` (5.41x) |
+| parallel | `49.5 ms` (1.00x) | `236.7 ms` (4.78x) |`337.9 ms` (6.83x) |
+| single-thread | `29.4 ms` (1.00x) | `113.2 ms` (3.85x) |`167.9 ms` (5.71x) |
#### single-thread
@@ -77,13 +87,10 @@ cargo bench
Generate the table
```bash
-cargo install cargo-criterion
-cargo install criterion-table
-cargo criterion --message-format=json | criterion-table > BENCHMARKS.md
+pnpm i
+pnpm run table
```
-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/package.json b/package.json
new file mode 100644
index 0000000..1c9db34
--- /dev/null
+++ b/package.json
@@ -0,0 +1,11 @@
+{
+ "name": "bench-javascript-parser-written-in-rust",
+ "version": "1.0.0",
+ "private": true,
+ "scripts": {
+ "table": "node table.mjs"
+ },
+ "devDependencies": {
+ "markdown-table": "^3.0.3"
+ }
+}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
new file mode 100644
index 0000000..72322a4
--- /dev/null
+++ b/pnpm-lock.yaml
@@ -0,0 +1,16 @@
+lockfileVersion: '6.0'
+
+settings:
+ autoInstallPeers: true
+ excludeLinksFromLockfile: false
+
+devDependencies:
+ markdown-table:
+ specifier: ^3.0.3
+ version: 3.0.3
+
+packages:
+
+ /markdown-table@3.0.3:
+ resolution: {integrity: sha512-Z1NL3Tb1M9wH4XESsCDEksWoKTdlUafKc4pt0GRwjUyXaCFZ+dc3g2erqB6zm3szA2IUSi7VnPI+o/9jnxh9hw==}
+ dev: true
diff --git a/table.mjs b/table.mjs
new file mode 100644
index 0000000..2b3bb3c
--- /dev/null
+++ b/table.mjs
@@ -0,0 +1,52 @@
+import fs from 'node:fs'
+import { markdownTable } from 'markdown-table'
+
+async function readData() {
+ const data = {};
+ const dir = "./target/criterion";
+
+ const groups = await fs.promises.readdir(dir);
+ for (const group of groups) {
+ data[group] ||= {};
+
+ const benches = await fs.promises.readdir(`${dir}/${group}`);
+ for (const bench of benches) {
+ data[group][bench] ||= {};
+
+ const measurements = await fs.promises.readdir(`${dir}/${group}/${bench}`);
+ for (const measurement of measurements) {
+ const json = await import(`${dir}/${group}/${bench}/${measurement}/new/estimates.json`, { assert: { type: "json" } });
+ const duration_ms = json.default.mean.point_estimate / 1_000_000;
+ data[group][bench][measurement] ||= { duration_ms };
+ }
+ }
+ }
+
+ return data
+}
+
+async function main() {
+ const data = await readData();
+ const groups = Object.keys(data);
+ const columns = Object.keys(data[groups[0]]);
+ const rows = Object.keys(data[groups[0]][columns[0]]);
+
+
+ for (const group of groups) {
+ console.log(`### ${group}`);
+ console.log()
+ const table = [["", ...columns]];
+ for (const row of rows) {
+ const column_numbers = columns.map((column) => data[group][column][row].duration_ms);
+ const minimum = Math.min(...column_numbers);
+ const column_values = column_numbers.map((number) => {
+ return `\`${number.toFixed(1)} ms\` (${(number / minimum).toFixed(2)}x)`
+ });
+ table.push([row, ...column_values]);
+ }
+ console.log(markdownTable(table));
+ console.log()
+ }
+}
+
+main()
From f0ec9c7b35dd899e93133e9c2bef73c66ccaf189 Mon Sep 17 00:00:00 2001
From: Boshen
Date: Sun, 9 Jun 2024 00:42:46 +0800
Subject: [PATCH 094/385] update README
---
README.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/README.md b/README.md
index 4635ca0..43cafca 100644
--- a/README.md
+++ b/README.md
@@ -19,6 +19,8 @@ Codspeed measures performance by cpu instructions.
+### Mac mini M2 8 cores
+
### cal.com.tsx
| | oxc | swc |biome |
From 8196deb907bf8face201f6fba8a86c3d98a36992 Mon Sep 17 00:00:00 2001
From: Boshen
Date: Sun, 9 Jun 2024 12:28:07 +0800
Subject: [PATCH 095/385] clean up bar-graph.svg
---
README.md | 4 +--
bar-graph.svg | 85 ++++++++++++++++++++++++++-------------------------
2 files changed, 45 insertions(+), 44 deletions(-)
diff --git a/README.md b/README.md
index 43cafca..994050a 100644
--- a/README.md
+++ b/README.md
@@ -21,7 +21,7 @@ Codspeed measures performance by cpu instructions.
### Mac mini M2 8 cores
-### cal.com.tsx
+#### cal.com.tsx
| | oxc | swc |biome |
| ------------- | ---------------- | ----------------- |----------------- |
@@ -29,7 +29,7 @@ Codspeed measures performance by cpu instructions.
| parallel | `7.4 ms` (1.00x) | `32.4 ms` (4.40x) |`40.6 ms` (5.50x) |
| single-thread | `3.9 ms` (1.00x) | `16.5 ms` (4.21x) |`20.8 ms` (5.30x) |
-### typescript.js
+#### typescript.js
| | oxc | swc |biome |
| ------------- | ----------------- | ------------------ |------------------ |
diff --git a/bar-graph.svg b/bar-graph.svg
index e2d2b4f..192e1bd 100644
--- a/bar-graph.svg
+++ b/bar-graph.svg
@@ -1,44 +1,45 @@
-
-
-
-Parser Benchmark
-
-
-
-
-oxc
-
-
-swc
-
-
-rome
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-0
-100
-200
-300
-400
-single-thread
-
-time (ms)
-
-
+
+
+
+
+
+ Parser Benchmark
+
+
+ oxc
+
+
+ swc
+
+
+ biome
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+ 100
+ 200
+ 300
+ 400
+ single-thread
+
+
+ time (ms)
+
From 6d23ff3ce4f32f867a6eb54bda6025e930692322 Mon Sep 17 00:00:00 2001
From: Boshen
Date: Tue, 11 Jun 2024 21:03:27 +0800
Subject: [PATCH 096/385] refactor: add a lib
---
benches/parser.rs | 27 ++++-----------------------
src/lib.rs | 45 +++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 49 insertions(+), 23 deletions(-)
create mode 100644 src/lib.rs
diff --git a/benches/parser.rs b/benches/parser.rs
index de46da6..1fdcf04 100644
--- a/benches/parser.rs
+++ b/benches/parser.rs
@@ -44,36 +44,19 @@ impl TheBencher for OxcBencher {
const ID: &'static str = "oxc";
fn parse(path: &Path, source: &str) -> Self::ParseOutput {
- let allocator = oxc::allocator::Allocator::default();
- let source_type = oxc::span::SourceType::from_path(path).unwrap();
- _ = oxc::parser::Parser::new(&allocator, source, source_type).parse();
- allocator
+ bench_parser::oxc::parse(path, source)
}
}
struct SwcBencher;
impl TheBencher for SwcBencher {
- type ParseOutput = swc_ecma_parser::PResult;
+ type ParseOutput = swc_ecma_ast::Module;
const ID: &'static str = "swc";
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,
- StringInput::new(source, Default::default(), Default::default()),
- None,
- )
- .parse_module()
+ bench_parser::swc::parse(path, source)
}
}
@@ -85,9 +68,7 @@ impl TheBencher for BiomeBencher {
const ID: &'static str = "biome";
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)
+ bench_parser::biome::parse(path, source)
}
}
diff --git a/src/lib.rs b/src/lib.rs
new file mode 100644
index 0000000..800c9dc
--- /dev/null
+++ b/src/lib.rs
@@ -0,0 +1,45 @@
+pub mod oxc {
+ use std::path::Path;
+
+ use oxc::{allocator::Allocator, parser::Parser, span::SourceType};
+
+ pub fn parse(path: &Path, source: &str) -> Allocator {
+ let allocator = Allocator::default();
+ let source_type = SourceType::from_path(path).unwrap();
+ _ = Parser::new(&allocator, source, source_type).parse();
+ allocator
+ }
+}
+
+pub mod swc {
+ use std::path::Path;
+
+ use swc_ecma_ast::Module;
+ use swc_ecma_parser::{EsConfig, Parser, StringInput, Syntax, TsConfig};
+
+ pub fn parse(path: &Path, source: &str) -> Module {
+ 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"),
+ };
+ let input = StringInput::new(source, Default::default(), Default::default());
+ Parser::new(syntax, input, None).parse_module().unwrap()
+ }
+}
+
+pub mod biome {
+ use std::path::Path;
+
+ use biome_js_parser::{JsParserOptions, Parse};
+ use biome_js_syntax::{AnyJsRoot, JsFileSource};
+
+ pub fn parse(path: &Path, source: &str) -> Parse {
+ let options = JsParserOptions::default();
+ let source_type = JsFileSource::try_from(path).unwrap();
+ biome_js_parser::parse(source, source_type, options)
+ }
+}
From 46f45aa229fbec6a81a110cb83f87295cfa8e33c Mon Sep 17 00:00:00 2001
From: Boshen
Date: Tue, 11 Jun 2024 21:09:34 +0800
Subject: [PATCH 097/385] feat: add binaries
---
Cargo.toml | 12 ++++++++++++
src/biome.rs | 10 ++++++++++
src/oxc.rs | 10 ++++++++++
src/swc.rs | 10 ++++++++++
4 files changed, 42 insertions(+)
create mode 100644 src/biome.rs
create mode 100644 src/oxc.rs
create mode 100644 src/swc.rs
diff --git a/Cargo.toml b/Cargo.toml
index 2b78831..d739a1f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -8,6 +8,18 @@ publish = false
name = "parser"
harness = false
+[[bin]]
+name = "oxc"
+path = "src/oxc.rs"
+
+[[bin]]
+name = "swc"
+path = "src/swc.rs"
+
+[[bin]]
+name = "biome"
+path = "src/biome.rs"
+
[profile.release]
opt-level = 3
lto = "fat"
diff --git a/src/biome.rs b/src/biome.rs
new file mode 100644
index 0000000..89aecf0
--- /dev/null
+++ b/src/biome.rs
@@ -0,0 +1,10 @@
+use std::{env, fs, path::Path};
+
+use bench_parser::biome;
+
+pub fn main() {
+ let path = env::args().nth(1).unwrap();
+ let path = Path::new(&path);
+ let source_text = fs::read_to_string(path).unwrap();
+ let _ = biome::parse(path, &source_text);
+}
diff --git a/src/oxc.rs b/src/oxc.rs
new file mode 100644
index 0000000..bbae323
--- /dev/null
+++ b/src/oxc.rs
@@ -0,0 +1,10 @@
+use std::{env, fs, path::Path};
+
+use bench_parser::oxc;
+
+pub fn main() {
+ let path = env::args().nth(1).unwrap();
+ let path = Path::new(&path);
+ let source_text = fs::read_to_string(path).unwrap();
+ let _ = oxc::parse(path, &source_text);
+}
diff --git a/src/swc.rs b/src/swc.rs
new file mode 100644
index 0000000..b093b8d
--- /dev/null
+++ b/src/swc.rs
@@ -0,0 +1,10 @@
+use std::{env, fs, path::Path};
+
+use bench_parser::swc;
+
+pub fn main() {
+ let path = env::args().nth(1).unwrap();
+ let path = Path::new(&path);
+ let source_text = fs::read_to_string(path).unwrap();
+ let _ = biome::swc(path, &source_text);
+}
From 1247fbce365805ce15e2fb6b1a60dfb1d7a122ad Mon Sep 17 00:00:00 2001
From: Boshen
Date: Tue, 11 Jun 2024 21:32:09 +0800
Subject: [PATCH 098/385] add memory measurement
---
Cargo.toml | 16 ++++++++--------
README.md | 20 ++++++++++++++++++--
memory.sh | 20 ++++++++++++++++++++
src/biome.rs | 3 +++
src/oxc.rs | 3 +++
src/swc.rs | 5 ++++-
6 files changed, 56 insertions(+), 11 deletions(-)
create mode 100755 memory.sh
diff --git a/Cargo.toml b/Cargo.toml
index d739a1f..36e6659 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -20,14 +20,6 @@ path = "src/swc.rs"
name = "biome"
path = "src/biome.rs"
-[profile.release]
-opt-level = 3
-lto = "fat"
-codegen-units = 1
-strip = "symbols"
-debug = false
-panic = "abort"
-
[dependencies]
oxc = "0.13.5"
@@ -44,3 +36,11 @@ mimalloc = "0.1.42"
[features]
codspeed = ["criterion2/codspeed"]
+
+[profile.release]
+opt-level = 3
+lto = "fat"
+codegen-units = 1
+strip = "symbols"
+debug = false
+panic = "abort"
diff --git a/README.md b/README.md
index 994050a..4d40441 100644
--- a/README.md
+++ b/README.md
@@ -4,9 +4,9 @@ The purpose of this benchmark is for people who wants to evaluate and compare th
The numbers indicate that Oxc is at least 3 times faster than Swc and 5 times faster than Biome.
-## Results
+## CPU
-### Codspeed
+### Codspeed Measurement
[![CodSpeed Badge][codspeed-badge]][codspeed-url]
@@ -78,6 +78,22 @@ group.bench_with_input(id, &source, |b, source| {
});
```
+## Maximum Resident Set Size
+
+```bash
+./memory.sh
+
+./files/cal.com.tsx
+oxc 11.5 mb (1.00x)
+swc 16.6 mb (1.44x)
+biome 22.5 mb (1.95x)
+
+./files/typescript.js
+oxc 68.8 mb (1.00x)
+swc 92.0 mb (1.34x)
+biome 117.4 mb (1.70x)
+```
+
## Run
Run the following command on your machine for replication.
diff --git a/memory.sh b/memory.sh
new file mode 100755
index 0000000..5c1fada
--- /dev/null
+++ b/memory.sh
@@ -0,0 +1,20 @@
+cargo build --release
+
+for FILE in "./files/cal.com.tsx" "./files/typescript.js"
+do
+ echo $FILE
+
+ for APP in oxc swc biome
+ do
+ hyperfine --warmup 10 --show-output "/usr/bin/time -al ./target/release/$APP $FILE > /dev/null" 2>&1 | \
+ grep "maximum resident set size" | \
+ awk '{ print $1 }' \
+ > ./target/output
+
+ TOTAL=$(awk '{ total += $1 } END { print total }' ./target/output)
+ COUNT=$(wc -l ./target/output| awk '{ print $1 }')
+ AVERAGE_MB=$(echo "$TOTAL $COUNT" | awk '{printf "%.1f", $1 / $2 / 1000 / 1000}')
+
+ echo $APP $AVERAGE_MB mb
+ done
+done
diff --git a/src/biome.rs b/src/biome.rs
index 89aecf0..3c6fce6 100644
--- a/src/biome.rs
+++ b/src/biome.rs
@@ -1,3 +1,6 @@
+#[global_allocator]
+static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
+
use std::{env, fs, path::Path};
use bench_parser::biome;
diff --git a/src/oxc.rs b/src/oxc.rs
index bbae323..a94d305 100644
--- a/src/oxc.rs
+++ b/src/oxc.rs
@@ -1,3 +1,6 @@
+#[global_allocator]
+static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
+
use std::{env, fs, path::Path};
use bench_parser::oxc;
diff --git a/src/swc.rs b/src/swc.rs
index b093b8d..069ba48 100644
--- a/src/swc.rs
+++ b/src/swc.rs
@@ -1,3 +1,6 @@
+#[global_allocator]
+static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
+
use std::{env, fs, path::Path};
use bench_parser::swc;
@@ -6,5 +9,5 @@ pub fn main() {
let path = env::args().nth(1).unwrap();
let path = Path::new(&path);
let source_text = fs::read_to_string(path).unwrap();
- let _ = biome::swc(path, &source_text);
+ let _ = swc::parse(path, &source_text);
}
From 15f08fee25dc61dfacb83f41f58d510c0721d107 Mon Sep 17 00:00:00 2001
From: Boshen
Date: Tue, 11 Jun 2024 21:38:50 +0800
Subject: [PATCH 099/385] update
---
README.md | 101 +++++++++++++++++++++++++++---------------------------
1 file changed, 50 insertions(+), 51 deletions(-)
diff --git a/README.md b/README.md
index 4d40441..e194859 100644
--- a/README.md
+++ b/README.md
@@ -37,7 +37,54 @@ Codspeed measures performance by cpu instructions.
| parallel | `49.5 ms` (1.00x) | `236.7 ms` (4.78x) |`337.9 ms` (6.83x) |
| single-thread | `29.4 ms` (1.00x) | `113.2 ms` (3.85x) |`167.9 ms` (5.71x) |
-#### single-thread
+
+### Run benchmark locally
+
+Run the following command on your machine for replication.
+
+```bash
+cargo bench
+```
+
+Generate the table
+
+```bash
+pnpm i
+pnpm run table
+```
+
+## Maximum Resident Set Size
+
+```
+./memory.sh
+
+./files/cal.com.tsx
+oxc 11.5 mb (1.00x)
+swc 16.6 mb (1.44x)
+biome 22.5 mb (1.95x)
+
+./files/typescript.js
+oxc 68.8 mb (1.00x)
+swc 92.0 mb (1.34x)
+biome 117.4 mb (1.70x)
+```
+
+## Setup
+
+* Uses `mimalloc` as the global allocator
+* Uses the following release profile
+
+```toml
+[profile.release]
+opt-level = 3
+lto = "fat"
+codegen-units = 1
+strip = "symbols"
+debug = false
+panic = "abort"
+```
+
+### single-thread
This is the standard benchmark run in a single thread.
@@ -47,7 +94,7 @@ group.bench_with_input(id, &source, |b, source| {
});
```
-#### no-drop
+### no-drop
This uses the [`iter_with_large_drop`](https://docs.rs/criterion/0.5.1/criterion/struct.Bencher.html#method.iter_with_large_drop) function, which does not take AST drop time into account.
Notice there is only a 0.3ms difference for oxc, but 7ms difference for swc.
@@ -61,7 +108,7 @@ group.bench_with_input(id, &source, |b, source| {
});
```
-#### parallel
+### parallel
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.
@@ -77,51 +124,3 @@ group.bench_with_input(id, &source, |b, source| {
})
});
```
-
-## Maximum Resident Set Size
-
-```bash
-./memory.sh
-
-./files/cal.com.tsx
-oxc 11.5 mb (1.00x)
-swc 16.6 mb (1.44x)
-biome 22.5 mb (1.95x)
-
-./files/typescript.js
-oxc 68.8 mb (1.00x)
-swc 92.0 mb (1.34x)
-biome 117.4 mb (1.70x)
-```
-
-## Run
-
-Run the following command on your machine for replication.
-
-```bash
-cargo bench
-```
-
-Generate the table
-
-```bash
-pnpm i
-pnpm run table
-```
-
-## Input
-
-* File: https://cdn.jsdelivr.net/npm/typescript@5.1.6/lib/typescript.js
-* File Size: 7.8M
-* Uses `mimalloc` as the global allocator
-* Uses the following release profile
-
-```toml
-[profile.release]
-opt-level = 3
-lto = "fat"
-codegen-units = 1
-strip = "symbols"
-debug = false
-panic = "abort"
-```
From 547aca6bc2607ecad46bbf8ce4cede1f8f01048d Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 12 Jun 2024 07:23:50 +0000
Subject: [PATCH 100/385] chore(deps): update rust crate swc_ecma_parser to
0.144.3 (#115)
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 cabc1b4..f581302 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1379,9 +1379,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "0.144.2"
+version = "0.144.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "31adf4599e8de70f3b754dfc34ec2ab09fa6841d79a9f4a888250a404eae7030"
+checksum = "fc0b4193b9c127db1990a5a08111aafe0122bc8b138646807c63f2a6521b7da4"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index 36e6659..16022f7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -23,7 +23,7 @@ path = "src/biome.rs"
[dependencies]
oxc = "0.13.5"
-swc_ecma_parser = { version = "0.144.2", features = ["typescript"] }
+swc_ecma_parser = { version = "0.144.3", features = ["typescript"] }
swc_ecma_ast = "0.113.7"
biome_js_parser = "0.5.7"
From b6861f115153fae49865279e6ec5cd3c7d3bb07e Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 12 Jun 2024 11:09:33 +0000
Subject: [PATCH 101/385] chore(deps): update rust crate oxc to 0.14.0 (#116)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 36 ++++++++++++++++++------------------
Cargo.toml | 2 +-
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index f581302..587e822 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -807,9 +807,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]]
name = "oxc"
-version = "0.13.5"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b3c11b357c8eb787abbbde690887c04dadd6d587fda8abb6eacdb5a1cb9d3f9e"
+checksum = "6f26a811907c639b6f68437e0e19dd1ddb6e3fe4cf71ffdb81300236e90a0173"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -822,9 +822,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.13.5"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e2e7cfaefbe298f41ab147bb34badb6525a5a5879a66d8e4d4d2123d61392f79"
+checksum = "99f28b920aa71d2b2525f2e9d9ccdcf4a9cd2de15b4fe8a8dd1cffc99f359ce6"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -832,9 +832,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.13.5"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7223a3839e52a47195dae7bdebacb5429b177c95bee6ce3949aa52a3d087decd"
+checksum = "16758d7e762d3b6ddd86d3c6d904247cf2881305a8ccf7a8d9df323a3df29aaf"
dependencies = [
"bitflags",
"num-bigint",
@@ -847,15 +847,15 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.13.5"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "51b8c788e0b101df5e2e7d06e93ab95cee211909bfdee9567d630ccc591a1ca6"
+checksum = "b94c0153ef8c5ee9d845e717e8a4c2caf3312d55d251ea713c63249ffbfb83a3"
[[package]]
name = "oxc_diagnostics"
-version = "0.13.5"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4bf47440ec751765d42c3f3e5d6634c3d4a41c90bb59e9fdebb10c31045fec61"
+checksum = "ad28dc9484d13d0bd8729504e5ad793931ec624e95ceefde8066f384c4cc6e87"
dependencies = [
"miette",
"owo-colors",
@@ -865,15 +865,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.13.5"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2a20d90a1e98a54158efb6192c9850310109d73c4e0c76721f226bebe19e6b32"
+checksum = "1717cbbfa68c6ffb9a08ee2b06e63a77d97aad5153fb82a11eafb799e8776fb0"
[[package]]
name = "oxc_parser"
-version = "0.13.5"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d028fc5dce76108b7d0fa4067b6ec2d86320b5afb4fd4f206f34b067c1cf1a07"
+checksum = "6a84f079e02d5b9bee91d37f5b90366fd17ef0cfa5005c5774f5684af82ab1a0"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -910,9 +910,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.13.5"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e82799c7b37657a6539ad8acd3f8a3bd051c642413766e3d22f9feb00a93417f"
+checksum = "76aa4868175538ea089d2ca02721c7672026da37def9ba390da938e8097c0e0d"
dependencies = [
"compact_str",
"miette",
@@ -920,9 +920,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.13.5"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "08e99196df2b7e41aface2abf819b705e64e81f3b21c209e92851390772c3436"
+checksum = "d222bf49aafa5167928aaaa67e1b87689d1bb4a6d4ae60e92a4e7a9fd3263836"
dependencies = [
"bitflags",
"dashmap",
diff --git a/Cargo.toml b/Cargo.toml
index 16022f7..6de4ed9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -21,7 +21,7 @@ name = "biome"
path = "src/biome.rs"
[dependencies]
-oxc = "0.13.5"
+oxc = "0.14.0"
swc_ecma_parser = { version = "0.144.3", features = ["typescript"] }
swc_ecma_ast = "0.113.7"
From 24e1575ddac8db7894ab9d076f704c61bc6e6f20 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 14 Jun 2024 02:36:58 +0000
Subject: [PATCH 102/385] chore(deps): update dependency rust to v1.79.0 (#117)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
rust-toolchain.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
index f8efc19..6e1e26b 100644
--- a/rust-toolchain.toml
+++ b/rust-toolchain.toml
@@ -1,3 +1,3 @@
[toolchain]
-channel = "1.78.0"
+channel = "1.79.0"
profile = "minimal"
From f7b6e2ce7e937ed95126fd9a6dd38388c759ddd3 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 14 Jun 2024 16:31:10 +0000
Subject: [PATCH 103/385] chore(deps): update swc (#118)
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 587e822..b6c6514 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1362,9 +1362,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "0.113.7"
+version = "0.114.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "98a534a8360a076a030989f6d121ba6044345594bdf0457c4629f432742026b8"
+checksum = "2b6906b332207b86bf47f0158607a1c85b48213fa41fdf1b3088023c93496ad3"
dependencies = [
"bitflags",
"is-macro",
@@ -1379,9 +1379,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "0.144.3"
+version = "0.145.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fc0b4193b9c127db1990a5a08111aafe0122bc8b138646807c63f2a6521b7da4"
+checksum = "0d9b728e67633a72c183bdd500c9df410e13f8c6cab0c71fed392129e15fe5e9"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index 6de4ed9..54ba48f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -23,8 +23,8 @@ path = "src/biome.rs"
[dependencies]
oxc = "0.14.0"
-swc_ecma_parser = { version = "0.144.3", features = ["typescript"] }
-swc_ecma_ast = "0.113.7"
+swc_ecma_parser = { version = "0.145.0", features = ["typescript"] }
+swc_ecma_ast = "0.114.0"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From b2b4806a52eea94207f8ce9975fbb542887c1b5d Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 15 Jun 2024 15:36:13 +0000
Subject: [PATCH 104/385] chore(deps): update swc (#119)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 12 ++++++------
Cargo.toml | 4 ++--
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index b6c6514..6ead9af 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1337,9 +1337,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "0.33.26"
+version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a2f9706038906e66f3919028f9f7a37f3ed552f1b85578e93f4468742e2da438"
+checksum = "f79aace01c21f25090c75f5f7c6e3901498c062e2c1178c46866ed4e62e80aba"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1362,9 +1362,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "0.114.0"
+version = "0.115.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2b6906b332207b86bf47f0158607a1c85b48213fa41fdf1b3088023c93496ad3"
+checksum = "065b55c4d3bf7994a47abd420b9d69c69dd48e602030cbc85557077d5705fb63"
dependencies = [
"bitflags",
"is-macro",
@@ -1379,9 +1379,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "0.145.0"
+version = "0.146.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0d9b728e67633a72c183bdd500c9df410e13f8c6cab0c71fed392129e15fe5e9"
+checksum = "6d0251795e14bd0c818d9f9f592096936f9b087dc39e6869995fc38fbb7ed9d8"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index 54ba48f..864334e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -23,8 +23,8 @@ path = "src/biome.rs"
[dependencies]
oxc = "0.14.0"
-swc_ecma_parser = { version = "0.145.0", features = ["typescript"] }
-swc_ecma_ast = "0.114.0"
+swc_ecma_parser = { version = "0.146.0", features = ["typescript"] }
+swc_ecma_ast = "0.115.0"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From c95f9345ff6f2fac5eae1dc90348643302617c12 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 16 Jun 2024 04:31:10 +0000
Subject: [PATCH 105/385] chore(deps): update rust crate swc_ecma_parser to
0.146.1 (#120)
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 6ead9af..dffcb92 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1379,9 +1379,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "0.146.0"
+version = "0.146.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6d0251795e14bd0c818d9f9f592096936f9b087dc39e6869995fc38fbb7ed9d8"
+checksum = "f884c766155c58b98503961612d1caced9d50267fcbf7914d9407d6fc5447efe"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index 864334e..7ab1d0a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -23,7 +23,7 @@ path = "src/biome.rs"
[dependencies]
oxc = "0.14.0"
-swc_ecma_parser = { version = "0.146.0", features = ["typescript"] }
+swc_ecma_parser = { version = "0.146.1", features = ["typescript"] }
swc_ecma_ast = "0.115.0"
biome_js_parser = "0.5.7"
From d87fd21023aae0fbf5a7407f3e62b3e8bc8af0eb Mon Sep 17 00:00:00 2001
From: Boshen
Date: Sun, 16 Jun 2024 23:35:44 +0800
Subject: [PATCH 106/385] add Mac Pro M3 Max benchmark
---
README.md | 18 ++++++++++++++++++
pnpm-lock.yaml | 20 +++++++++++++-------
2 files changed, 31 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
index e194859..d157502 100644
--- a/README.md
+++ b/README.md
@@ -38,6 +38,24 @@ Codspeed measures performance by cpu instructions.
| single-thread | `29.4 ms` (1.00x) | `113.2 ms` (3.85x) |`167.9 ms` (5.71x) |
+### MacBook Pro M3 Max
+
+#### cal.com.tsx
+
+| | oxc | swc | biome |
+| ------------- | ---------------- | ----------------- | ----------------- |
+| no-drop | `3.4 ms` (1.00x) | `13.4 ms` (3.99x) | `16.7 ms` (4.97x) |
+| parallel | `5.8 ms` (1.00x) | `23.8 ms` (4.14x) | `30.1 ms` (5.23x) |
+| single-thread | `3.4 ms` (1.00x) | `14.4 ms` (4.28x) | `18.3 ms` (5.42x) |
+
+#### typescript.js
+
+| | oxc | swc | biome |
+| ------------- | ----------------- | ------------------ | ------------------ |
+| no-drop | `26.3 ms` (1.00x) | `84.1 ms` (3.20x) | `130.1 ms` (4.94x) |
+| parallel | `36.1 ms` (1.00x) | `126.3 ms` (3.50x) | `225.9 ms` (6.26x) |
+| single-thread | `26.4 ms` (1.00x) | `91.0 ms` (3.45x) | `139.3 ms` (5.28x) |
+
### Run benchmark locally
Run the following command on your machine for replication.
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 72322a4..f6ab07e 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1,16 +1,22 @@
-lockfileVersion: '6.0'
+lockfileVersion: '9.0'
settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
-devDependencies:
- markdown-table:
- specifier: ^3.0.3
- version: 3.0.3
+importers:
+
+ .:
+ devDependencies:
+ markdown-table:
+ specifier: ^3.0.3
+ version: 3.0.3
packages:
- /markdown-table@3.0.3:
+ markdown-table@3.0.3:
resolution: {integrity: sha512-Z1NL3Tb1M9wH4XESsCDEksWoKTdlUafKc4pt0GRwjUyXaCFZ+dc3g2erqB6zm3szA2IUSi7VnPI+o/9jnxh9hw==}
- dev: true
+
+snapshots:
+
+ markdown-table@3.0.3: {}
From ac80d4f8a6ce37c8b8bf1ae9dc535631f92bd00a Mon Sep 17 00:00:00 2001
From: Boshen
Date: Sun, 16 Jun 2024 23:38:34 +0800
Subject: [PATCH 107/385] don't run tests
---
Cargo.toml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Cargo.toml b/Cargo.toml
index 7ab1d0a..352a6e9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -11,14 +11,20 @@ harness = false
[[bin]]
name = "oxc"
path = "src/oxc.rs"
+test = false
+doctest = false
[[bin]]
name = "swc"
path = "src/swc.rs"
+test = false
+doctest = false
[[bin]]
name = "biome"
path = "src/biome.rs"
+test = false
+doctest = false
[dependencies]
oxc = "0.14.0"
From 1acbdb1cdb4253a80d16fa74044873dbe7e9d7d2 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 17 Jun 2024 22:33:23 +0000
Subject: [PATCH 108/385] chore(deps): update rust crate criterion2 to 0.11.0
(#121)
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 dffcb92..db3aec3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -429,9 +429,9 @@ checksum = "7704b5fdd17b18ae31c4c1da5a2e0305a2bf17b5249300a9ee9ed7b72114c636"
[[package]]
name = "criterion2"
-version = "0.10.0"
+version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f22174bed309c964c1720148dfe793f285cc02fd8b13c91205d485f73468d94d"
+checksum = "7258985df1aa8b33359ee2392cbc3b7802875242cdacdda91a17a602132c24a9"
dependencies = [
"anes",
"bpaf",
diff --git a/Cargo.toml b/Cargo.toml
index 352a6e9..034bb54 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -36,7 +36,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 }
+criterion2 = { version = "0.11.0", default-features = false }
rayon = "1.10.0"
mimalloc = "0.1.42"
From c89c53a519e17ae258592d13c1049291bc3168da Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 18 Jun 2024 07:01:47 +0000
Subject: [PATCH 109/385] chore(deps): update rust crate swc_ecma_ast to
0.115.1 (#122)
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 db3aec3..1999594 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1362,9 +1362,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "0.115.0"
+version = "0.115.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "065b55c4d3bf7994a47abd420b9d69c69dd48e602030cbc85557077d5705fb63"
+checksum = "7be1306930c235435a892104c00c2b5e16231043c085d5a10bd3e7537b15659b"
dependencies = [
"bitflags",
"is-macro",
diff --git a/Cargo.toml b/Cargo.toml
index 034bb54..cb0653e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -30,7 +30,7 @@ doctest = false
oxc = "0.14.0"
swc_ecma_parser = { version = "0.146.1", features = ["typescript"] }
-swc_ecma_ast = "0.115.0"
+swc_ecma_ast = "0.115.1"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From 3f37d3d8f8469504c6cfb2550db880d6869bc9a5 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 19 Jun 2024 07:04:30 +0000
Subject: [PATCH 110/385] chore(deps): update rust crate oxc to 0.15.0 (#124)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 38 ++++++++++++++++++--------------------
Cargo.toml | 2 +-
2 files changed, 19 insertions(+), 21 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 1999594..37725d3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -807,9 +807,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]]
name = "oxc"
-version = "0.14.0"
+version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6f26a811907c639b6f68437e0e19dd1ddb6e3fe4cf71ffdb81300236e90a0173"
+checksum = "9d97121377bcb76a899754afd0f05f473999f08f4ba9bfd6f8c781a60087d28f"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -822,9 +822,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.14.0"
+version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "99f28b920aa71d2b2525f2e9d9ccdcf4a9cd2de15b4fe8a8dd1cffc99f359ce6"
+checksum = "3c6e5d0fe572dd2dab827a4f5ddaf02cc9c0d414133dbb5a3aea364f72f4b3ca"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -832,9 +832,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.14.0"
+version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "16758d7e762d3b6ddd86d3c6d904247cf2881305a8ccf7a8d9df323a3df29aaf"
+checksum = "2470f045645b0432720cdd8c898bf0b5c8b762d0eb59ecd39fb871b0b426183a"
dependencies = [
"bitflags",
"num-bigint",
@@ -842,20 +842,19 @@ dependencies = [
"oxc_ast_macros",
"oxc_span",
"oxc_syntax",
- "static_assertions",
]
[[package]]
name = "oxc_ast_macros"
-version = "0.14.0"
+version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b94c0153ef8c5ee9d845e717e8a4c2caf3312d55d251ea713c63249ffbfb83a3"
+checksum = "5584a8e50530ba7ea9836a63556e9489b001eaef486de97ec0a8aead1d89a6af"
[[package]]
name = "oxc_diagnostics"
-version = "0.14.0"
+version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ad28dc9484d13d0bd8729504e5ad793931ec624e95ceefde8066f384c4cc6e87"
+checksum = "cabfff0ff279a1ef83395041e0edfab7946276df53cbef6a1fabd9d2a5e56966"
dependencies = [
"miette",
"owo-colors",
@@ -865,15 +864,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.14.0"
+version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1717cbbfa68c6ffb9a08ee2b06e63a77d97aad5153fb82a11eafb799e8776fb0"
+checksum = "c4924d6b23d7b6503dffb5185031ed81b6e952766318e74183a124274a2de0d7"
[[package]]
name = "oxc_parser"
-version = "0.14.0"
+version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6a84f079e02d5b9bee91d37f5b90366fd17ef0cfa5005c5774f5684af82ab1a0"
+checksum = "2504ca100f6dc79e854f66c6b05f5267761591ecabb02ed4861a1610b11e810f"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -887,7 +886,6 @@ dependencies = [
"oxc_syntax",
"rustc-hash",
"seq-macro",
- "static_assertions",
]
[[package]]
@@ -910,9 +908,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.14.0"
+version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "76aa4868175538ea089d2ca02721c7672026da37def9ba390da938e8097c0e0d"
+checksum = "ace8c787d6b60c9f03d98ccfed040302f4543817065c5bd8e26bb3f09ec78db8"
dependencies = [
"compact_str",
"miette",
@@ -920,9 +918,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.14.0"
+version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d222bf49aafa5167928aaaa67e1b87689d1bb4a6d4ae60e92a4e7a9fd3263836"
+checksum = "a2ec7ceedaef55d2a31ede58a49fad3662285cadd28ceafbb9060f9d4898d078"
dependencies = [
"bitflags",
"dashmap",
diff --git a/Cargo.toml b/Cargo.toml
index cb0653e..bbe08af 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.14.0"
+oxc = "0.15.0"
swc_ecma_parser = { version = "0.146.1", features = ["typescript"] }
swc_ecma_ast = "0.115.1"
From a787e47ebcf33539ab08040858ab71ae898747b8 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 19 Jun 2024 08:12:27 +0000
Subject: [PATCH 111/385] chore(deps): update rust crate swc_ecma_parser to
0.146.2 (#123)
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 37725d3..b5c47c4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1377,9 +1377,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "0.146.1"
+version = "0.146.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f884c766155c58b98503961612d1caced9d50267fcbf7914d9407d6fc5447efe"
+checksum = "8953dcf07d90ad14d82c79ef48a2e0c510a043c7e6af3aed4ef59277044ba854"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index bbe08af..bc9e767 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.15.0"
-swc_ecma_parser = { version = "0.146.1", features = ["typescript"] }
+swc_ecma_parser = { version = "0.146.2", features = ["typescript"] }
swc_ecma_ast = "0.115.1"
biome_js_parser = "0.5.7"
From c1119b7bf96a2c44244b1eacb1cd99c6b236cc54 Mon Sep 17 00:00:00 2001
From: Boshen
Date: Wed, 19 Jun 2024 20:53:38 +0800
Subject: [PATCH 112/385] update M2 benchmarks
---
README.md | 23 +++++++++++------------
1 file changed, 11 insertions(+), 12 deletions(-)
diff --git a/README.md b/README.md
index d157502..d9db9e5 100644
--- a/README.md
+++ b/README.md
@@ -23,20 +23,19 @@ Codspeed measures performance by cpu instructions.
#### cal.com.tsx
-| | oxc | swc |biome |
-| ------------- | ---------------- | ----------------- |----------------- |
-| no-drop | `3.9 ms` (1.00x) | `15.9 ms` (4.03x) |`20.8 ms` (5.29x) |
-| parallel | `7.4 ms` (1.00x) | `32.4 ms` (4.40x) |`40.6 ms` (5.50x) |
-| single-thread | `3.9 ms` (1.00x) | `16.5 ms` (4.21x) |`20.8 ms` (5.30x) |
-
-#### typescript.js
+| | oxc | swc | biome |
+| ------------- | ---------------- | ----------------- | ----------------- |
+| no-drop | `4.0 ms` (1.00x) | `14.0 ms` (3.50x) | `18.7 ms` (4.68x) |
+| parallel | `7.4 ms` (1.00x) | `26.4 ms` (3.56x) | `38.7 ms` (5.21x) |
+| single-thread | `4.0 ms` (1.00x) | `14.9 ms` (3.73x) | `20.1 ms` (5.04x) |
-| | oxc | swc |biome |
-| ------------- | ----------------- | ------------------ |------------------ |
-| no-drop | `29.4 ms` (1.00x) | `111.5 ms` (3.79x) |`159.0 ms` (5.41x) |
-| parallel | `49.5 ms` (1.00x) | `236.7 ms` (4.78x) |`337.9 ms` (6.83x) |
-| single-thread | `29.4 ms` (1.00x) | `113.2 ms` (3.85x) |`167.9 ms` (5.71x) |
+### typescript.js
+| | oxc | swc | biome |
+| ------------- | ----------------- | ------------------ | ------------------ |
+| no-drop | `30.3 ms` (1.00x) | `100.3 ms` (3.31x) | `149.7 ms` (4.94x) |
+| parallel | `52.0 ms` (1.00x) | `164.5 ms` (3.17x) | `296.5 ms` (5.71x) |
+| single-thread | `29.8 ms` (1.00x) | `108.0 ms` (3.62x) | `159.5 ms` (5.34x) |
### MacBook Pro M3 Max
From 6214a2bee8bed54df4d19f4ab58e02abd86742de Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 22 Jun 2024 02:25:38 +0000
Subject: [PATCH 113/385] chore(deps): update rust crate swc_ecma_parser to
0.146.3 (#126)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 5 +++--
Cargo.toml | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index b5c47c4..4b38c59 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1377,11 +1377,12 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "0.146.2"
+version = "0.146.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8953dcf07d90ad14d82c79ef48a2e0c510a043c7e6af3aed4ef59277044ba854"
+checksum = "7eb116fcb3c6a0c40af6e2e01bcec57c2e4a943fc580798941f7270c804966f5"
dependencies = [
"either",
+ "memchr",
"new_debug_unreachable",
"num-bigint",
"num-traits",
diff --git a/Cargo.toml b/Cargo.toml
index bc9e767..a2c3e07 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.15.0"
-swc_ecma_parser = { version = "0.146.2", features = ["typescript"] }
+swc_ecma_parser = { version = "0.146.3", features = ["typescript"] }
swc_ecma_ast = "0.115.1"
biome_js_parser = "0.5.7"
From 4f44bfe39056bbd13aa556d3ca0d845a85509e4c Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 24 Jun 2024 03:26:20 +0000
Subject: [PATCH 114/385] chore(deps): update rust crate swc_ecma_parser to
0.146.4 (#127)
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 4b38c59..3541a36 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1377,9 +1377,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "0.146.3"
+version = "0.146.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7eb116fcb3c6a0c40af6e2e01bcec57c2e4a943fc580798941f7270c804966f5"
+checksum = "169cd7a18ed5e73346f38d5a6123c6427f04b9dffe5cce468e8d70530cc4adcb"
dependencies = [
"either",
"memchr",
diff --git a/Cargo.toml b/Cargo.toml
index a2c3e07..e0cd5b2 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.15.0"
-swc_ecma_parser = { version = "0.146.3", features = ["typescript"] }
+swc_ecma_parser = { version = "0.146.4", features = ["typescript"] }
swc_ecma_ast = "0.115.1"
biome_js_parser = "0.5.7"
From f5a9c7b74edc20e3d11db5db009f60e14e6c6c67 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 25 Jun 2024 02:34:01 +0000
Subject: [PATCH 115/385] chore(deps): update rust crate swc_ecma_parser to
0.146.5 (#128)
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 3541a36..6e96f0f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1377,9 +1377,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "0.146.4"
+version = "0.146.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "169cd7a18ed5e73346f38d5a6123c6427f04b9dffe5cce468e8d70530cc4adcb"
+checksum = "8ca7b6fcb7d8673054e45c71c08b93214b390d7457b957fc9c497d5c6d344db8"
dependencies = [
"either",
"memchr",
diff --git a/Cargo.toml b/Cargo.toml
index e0cd5b2..4a4238f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.15.0"
-swc_ecma_parser = { version = "0.146.4", features = ["typescript"] }
+swc_ecma_parser = { version = "0.146.5", features = ["typescript"] }
swc_ecma_ast = "0.115.1"
biome_js_parser = "0.5.7"
From ebff121db6eeef08ad796b7ec2dbac86dcffe8f5 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 25 Jun 2024 03:57:52 +0000
Subject: [PATCH 116/385] chore(deps): update rust crate swc_ecma_parser to
0.146.6 (#129)
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 6e96f0f..2c9a8a9 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1377,9 +1377,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "0.146.5"
+version = "0.146.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ca7b6fcb7d8673054e45c71c08b93214b390d7457b957fc9c497d5c6d344db8"
+checksum = "ac027a1b0074138d6148d8a4c1e6e0402c8071a23c548fa19d2a0f4eff226d85"
dependencies = [
"either",
"memchr",
diff --git a/Cargo.toml b/Cargo.toml
index 4a4238f..5621112 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.15.0"
-swc_ecma_parser = { version = "0.146.5", features = ["typescript"] }
+swc_ecma_parser = { version = "0.146.6", features = ["typescript"] }
swc_ecma_ast = "0.115.1"
biome_js_parser = "0.5.7"
From 3cb98804d225412d0f28a86fe39e75e2c817378c Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 26 Jun 2024 10:39:22 +0000
Subject: [PATCH 117/385] chore(deps): update rust crate mimalloc to 0.1.43
(#130)
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 2c9a8a9..de852ab 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -657,9 +657,9 @@ checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c"
[[package]]
name = "libmimalloc-sys"
-version = "0.1.38"
+version = "0.1.39"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0e7bb23d733dfcc8af652a78b7bf232f0e967710d044732185e561e47c0336b6"
+checksum = "23aa6811d3bd4deb8a84dde645f943476d13b248d818edcf8ce0b2f37f036b44"
dependencies = [
"cc",
"libc",
@@ -717,9 +717,9 @@ dependencies = [
[[package]]
name = "mimalloc"
-version = "0.1.42"
+version = "0.1.43"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e9186d86b79b52f4a77af65604b51225e8db1d6ee7e3f41aec1e40829c71a176"
+checksum = "68914350ae34959d83f732418d51e2427a794055d0b9529f48259ac07af65633"
dependencies = [
"libmimalloc-sys",
]
diff --git a/Cargo.toml b/Cargo.toml
index 5621112..cd46272 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -38,7 +38,7 @@ biome_js_syntax = "0.5.7"
num_cpus = "1.16.0"
criterion2 = { version = "0.11.0", default-features = false }
rayon = "1.10.0"
-mimalloc = "0.1.42"
+mimalloc = "0.1.43"
[features]
codspeed = ["criterion2/codspeed"]
From 5b838e5c9d3408c992bbcd437a57888335476dd6 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 27 Jun 2024 13:38:05 +0000
Subject: [PATCH 118/385] chore(deps): update rust crate oxc to 0.16.0 (#131)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 60 ++++++++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 34 insertions(+), 28 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index de852ab..81d61a3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -196,7 +196,7 @@ dependencies = [
"cfg-if",
"drop_bomb",
"indexmap 1.9.3",
- "rustc-hash",
+ "rustc-hash 1.1.0",
"serde",
"serde_json",
"smallvec",
@@ -251,7 +251,7 @@ dependencies = [
"countme",
"hashbrown 0.12.3",
"memoffset",
- "rustc-hash",
+ "rustc-hash 1.1.0",
"tracing",
]
@@ -584,7 +584,7 @@ dependencies = [
"new_debug_unreachable",
"once_cell",
"phf",
- "rustc-hash",
+ "rustc-hash 1.1.0",
"triomphe",
]
@@ -807,9 +807,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]]
name = "oxc"
-version = "0.15.0"
+version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9d97121377bcb76a899754afd0f05f473999f08f4ba9bfd6f8c781a60087d28f"
+checksum = "92b98ed0ccd09e8f5cfc5805c3eda59e1582296e25e8e9b56b078ac1350f473c"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -822,9 +822,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.15.0"
+version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3c6e5d0fe572dd2dab827a4f5ddaf02cc9c0d414133dbb5a3aea364f72f4b3ca"
+checksum = "fef6ad8a6770a741b0b703ddc2fc01f470b55129ce0afc45cf2c06aa5e6d4c45"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -832,9 +832,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.15.0"
+version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2470f045645b0432720cdd8c898bf0b5c8b762d0eb59ecd39fb871b0b426183a"
+checksum = "cb409cbd3bd77a493fd504c5db2b5e8ebfc9007a93c2d754684587d9e7ef5d9d"
dependencies = [
"bitflags",
"num-bigint",
@@ -846,15 +846,15 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.15.0"
+version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5584a8e50530ba7ea9836a63556e9489b001eaef486de97ec0a8aead1d89a6af"
+checksum = "8098332429fb072c7e256152820257afc1b7c33a331966263275150d0a47d0e1"
[[package]]
name = "oxc_diagnostics"
-version = "0.15.0"
+version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cabfff0ff279a1ef83395041e0edfab7946276df53cbef6a1fabd9d2a5e56966"
+checksum = "48093d74f54f4bf5088c5c06474dc4cac6b56aaad6edf78f39bfdc9e9a78166f"
dependencies = [
"miette",
"owo-colors",
@@ -864,15 +864,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.15.0"
+version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c4924d6b23d7b6503dffb5185031ed81b6e952766318e74183a124274a2de0d7"
+checksum = "85c463a51782cbc6f7accfae849a3ba4018792d76010c0c0719b2b97e495484c"
[[package]]
name = "oxc_parser"
-version = "0.15.0"
+version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2504ca100f6dc79e854f66c6b05f5267761591ecabb02ed4861a1610b11e810f"
+checksum = "9936b21a3b353950bf3f82a01feaef676969b0b22d39e8977477c9eb7e0e2037"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -884,7 +884,7 @@ dependencies = [
"oxc_diagnostics",
"oxc_span",
"oxc_syntax",
- "rustc-hash",
+ "rustc-hash 2.0.0",
"seq-macro",
]
@@ -898,7 +898,7 @@ dependencies = [
"dunce",
"json-strip-comments",
"once_cell",
- "rustc-hash",
+ "rustc-hash 1.1.0",
"serde",
"serde_json",
"thiserror",
@@ -908,9 +908,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.15.0"
+version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ace8c787d6b60c9f03d98ccfed040302f4543817065c5bd8e26bb3f09ec78db8"
+checksum = "6c7b464bb6139857ef6327801a35216d94434f07aaddc8bdb1677bcd8212ec18"
dependencies = [
"compact_str",
"miette",
@@ -918,16 +918,16 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.15.0"
+version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a2ec7ceedaef55d2a31ede58a49fad3662285cadd28ceafbb9060f9d4898d078"
+checksum = "261dfc1ff75d4eeafeaffd550380c61ae910aa4f5aa1e5690c12fe625000b249"
dependencies = [
"bitflags",
"dashmap",
"oxc_index",
"oxc_span",
"phf",
- "rustc-hash",
+ "rustc-hash 2.0.0",
"unicode-id-start",
]
@@ -1139,6 +1139,12 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
+[[package]]
+name = "rustc-hash"
+version = "2.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "583034fd73374156e66797ed8e5b0d5690409c9226b22d87cb7f19821c05d152"
+
[[package]]
name = "rustversion"
version = "1.0.17"
@@ -1329,7 +1335,7 @@ checksum = "bb6567e4e67485b3e7662b486f1565bdae54bd5b9d6b16b2ba1a9babb1e42125"
dependencies = [
"hstr",
"once_cell",
- "rustc-hash",
+ "rustc-hash 1.1.0",
"serde",
]
@@ -1347,7 +1353,7 @@ dependencies = [
"new_debug_unreachable",
"num-bigint",
"once_cell",
- "rustc-hash",
+ "rustc-hash 1.1.0",
"serde",
"siphasher",
"swc_atoms",
@@ -1575,7 +1581,7 @@ checksum = "e7cc416eaf05297012ead9d192226fe9a92e9a20f64f8780efb9085aaae9b590"
dependencies = [
"clean-path",
"indexmap 2.2.6",
- "rustc-hash",
+ "rustc-hash 1.1.0",
"serde",
"serde_json",
]
diff --git a/Cargo.toml b/Cargo.toml
index cd46272..23a08ba 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.15.0"
+oxc = "0.16.0"
swc_ecma_parser = { version = "0.146.6", features = ["typescript"] }
swc_ecma_ast = "0.115.1"
From 9bd2542f1a1a534769803ae414dd93877ebbd660 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 29 Jun 2024 11:14:29 +0000
Subject: [PATCH 119/385] chore(deps): update rust crate oxc to 0.16.1 (#132)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 36 ++++++++++++++++++------------------
Cargo.toml | 2 +-
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 81d61a3..72d06f2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -807,9 +807,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]]
name = "oxc"
-version = "0.16.0"
+version = "0.16.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "92b98ed0ccd09e8f5cfc5805c3eda59e1582296e25e8e9b56b078ac1350f473c"
+checksum = "e7400a530576a1709a98e4c1ff5ea6ec5eb2023e28e36c93b5a92cf32539450b"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -822,9 +822,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.16.0"
+version = "0.16.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fef6ad8a6770a741b0b703ddc2fc01f470b55129ce0afc45cf2c06aa5e6d4c45"
+checksum = "ec83877e0b3757bfb418ac407d38746c351e9f9863c92556611064f7e329b445"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -832,9 +832,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.16.0"
+version = "0.16.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cb409cbd3bd77a493fd504c5db2b5e8ebfc9007a93c2d754684587d9e7ef5d9d"
+checksum = "6b02f6b79b7ea1e71fb92a5589c5203c350fbd153d744d8cf5dac9d18817b007"
dependencies = [
"bitflags",
"num-bigint",
@@ -846,15 +846,15 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.16.0"
+version = "0.16.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8098332429fb072c7e256152820257afc1b7c33a331966263275150d0a47d0e1"
+checksum = "22e67deadcc9bc7dc8348e0e76ccb94af1e14ea84015ce6dcfbba3680fcb7bed"
[[package]]
name = "oxc_diagnostics"
-version = "0.16.0"
+version = "0.16.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "48093d74f54f4bf5088c5c06474dc4cac6b56aaad6edf78f39bfdc9e9a78166f"
+checksum = "204cc6bf5903b4526fc5e735217e37d5f789f35ecf59f834a2704536f6f2403a"
dependencies = [
"miette",
"owo-colors",
@@ -864,15 +864,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.16.0"
+version = "0.16.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "85c463a51782cbc6f7accfae849a3ba4018792d76010c0c0719b2b97e495484c"
+checksum = "47e9d7a298d96ecbb99ffe27a980501f0bd864566ecf4f271fc6a04525f8027b"
[[package]]
name = "oxc_parser"
-version = "0.16.0"
+version = "0.16.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9936b21a3b353950bf3f82a01feaef676969b0b22d39e8977477c9eb7e0e2037"
+checksum = "9cfc59669c252076a55b6f3309294214ac228147a7effa8194e076edbf09b715"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -908,9 +908,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.16.0"
+version = "0.16.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c7b464bb6139857ef6327801a35216d94434f07aaddc8bdb1677bcd8212ec18"
+checksum = "f361cb6f198a7634eeff54b54ab28d76253728517dad79f71b7efe96451cbb5c"
dependencies = [
"compact_str",
"miette",
@@ -918,9 +918,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.16.0"
+version = "0.16.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "261dfc1ff75d4eeafeaffd550380c61ae910aa4f5aa1e5690c12fe625000b249"
+checksum = "0c55e68d427b47c59d1e5a7f1ae7845787d4caca79ef66eff772b052035fc0ad"
dependencies = [
"bitflags",
"dashmap",
diff --git a/Cargo.toml b/Cargo.toml
index 23a08ba..c4c48d2 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.16.0"
+oxc = "0.16.1"
swc_ecma_parser = { version = "0.146.6", features = ["typescript"] }
swc_ecma_ast = "0.115.1"
From 3fecbe3c1f69d02c42e0b619cc29d8a7ef1dc9ab Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 29 Jun 2024 12:20:03 +0000
Subject: [PATCH 120/385] chore(deps): update rust crate swc_ecma_parser to
0.146.7 (#133)
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 72d06f2..ab11d89 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1383,9 +1383,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "0.146.6"
+version = "0.146.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ac027a1b0074138d6148d8a4c1e6e0402c8071a23c548fa19d2a0f4eff226d85"
+checksum = "417d95a184c1872bc4e4db82c721c20c38bdf01214a65ee512c37b9985b78c01"
dependencies = [
"either",
"memchr",
diff --git a/Cargo.toml b/Cargo.toml
index c4c48d2..6e2c976 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.16.1"
-swc_ecma_parser = { version = "0.146.6", features = ["typescript"] }
+swc_ecma_parser = { version = "0.146.7", features = ["typescript"] }
swc_ecma_ast = "0.115.1"
biome_js_parser = "0.5.7"
From f0573f988c5b763dfa6b81c4f8e93c679972dc04 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 30 Jun 2024 12:49:57 +0000
Subject: [PATCH 121/385] chore(deps): update rust crate oxc to v0.16.2 (#134)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index ab11d89..f88771b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -807,9 +807,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]]
name = "oxc"
-version = "0.16.1"
+version = "0.16.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7400a530576a1709a98e4c1ff5ea6ec5eb2023e28e36c93b5a92cf32539450b"
+checksum = "0efd41d2f3f490484b84245e3be9c9af853d443198953adc7c47a8fce0d305c4"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -822,9 +822,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.16.1"
+version = "0.16.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec83877e0b3757bfb418ac407d38746c351e9f9863c92556611064f7e329b445"
+checksum = "7dddfd4b859f51fe4b91fafd847e136cc21dfab7cec75513f0427ce4d39f614e"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -832,9 +832,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.16.1"
+version = "0.16.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6b02f6b79b7ea1e71fb92a5589c5203c350fbd153d744d8cf5dac9d18817b007"
+checksum = "4011133166ab3e57960f26d42ab56dbe9a3fdd20e279bc54c581ad8b9344d585"
dependencies = [
"bitflags",
"num-bigint",
@@ -846,15 +846,15 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.16.1"
+version = "0.16.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22e67deadcc9bc7dc8348e0e76ccb94af1e14ea84015ce6dcfbba3680fcb7bed"
+checksum = "2cd2e54fe624598fa53806e3d092942f3b11078d9cc29a470e4b5907acf40f2e"
[[package]]
name = "oxc_diagnostics"
-version = "0.16.1"
+version = "0.16.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "204cc6bf5903b4526fc5e735217e37d5f789f35ecf59f834a2704536f6f2403a"
+checksum = "1e27d66ffd8bdc032d7a2d918e25ee91a6aa5ef7d712d624bac1c77e6b8e6870"
dependencies = [
"miette",
"owo-colors",
@@ -864,15 +864,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.16.1"
+version = "0.16.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "47e9d7a298d96ecbb99ffe27a980501f0bd864566ecf4f271fc6a04525f8027b"
+checksum = "939fd785d887b25e802ae35fbcc6f6ad3ccf648eeefb98c801dab47047c2d281"
[[package]]
name = "oxc_parser"
-version = "0.16.1"
+version = "0.16.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9cfc59669c252076a55b6f3309294214ac228147a7effa8194e076edbf09b715"
+checksum = "30a2874be11c32e1dd214bb5ad7a7ae7bca3597e9fc27e633b463f0d7c59ab6f"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -908,9 +908,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.16.1"
+version = "0.16.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f361cb6f198a7634eeff54b54ab28d76253728517dad79f71b7efe96451cbb5c"
+checksum = "d55012e4e027cb6b91bfc9047c248d3464300b96355b432583882dd50fa85cbe"
dependencies = [
"compact_str",
"miette",
@@ -918,9 +918,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.16.1"
+version = "0.16.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c55e68d427b47c59d1e5a7f1ae7845787d4caca79ef66eff772b052035fc0ad"
+checksum = "cb47ffa16b13d3e08115653aa72c87a982c8d4d248033cc8b3edf5aeec6aa131"
dependencies = [
"bitflags",
"dashmap",
From 47ab3d9af32b1c6e6d20fb547daffdaefcd4ae30 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 2 Jul 2024 05:27:10 +0000
Subject: [PATCH 122/385] chore(deps): update rust crate oxc to v0.16.3 (#135)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 54 ++++++++++++++++++++++++++++++++++--------------------
1 file changed, 34 insertions(+), 20 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index f88771b..8cb96ec 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -490,6 +490,20 @@ dependencies = [
"parking_lot_core",
]
+[[package]]
+name = "dashmap"
+version = "6.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "804c8821570c3f8b70230c2ba75ffa5c0f9a4189b9a432b6656c536712acae28"
+dependencies = [
+ "cfg-if",
+ "crossbeam-utils",
+ "hashbrown 0.14.5",
+ "lock_api",
+ "once_cell",
+ "parking_lot_core",
+]
+
[[package]]
name = "drop_bomb"
version = "0.1.5"
@@ -807,9 +821,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]]
name = "oxc"
-version = "0.16.2"
+version = "0.16.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0efd41d2f3f490484b84245e3be9c9af853d443198953adc7c47a8fce0d305c4"
+checksum = "eef9ded920e483471c6cf613d5131c74af2855165ea8174d663f599a56a3fb3a"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -822,9 +836,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.16.2"
+version = "0.16.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7dddfd4b859f51fe4b91fafd847e136cc21dfab7cec75513f0427ce4d39f614e"
+checksum = "944ce079709849f7621902c7747141336fbdfa5419ae8da8ac11edc5679e977f"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -832,9 +846,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.16.2"
+version = "0.16.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4011133166ab3e57960f26d42ab56dbe9a3fdd20e279bc54c581ad8b9344d585"
+checksum = "0814bc95355ba0ff7f60db5a01504cfdbbd44ae269cf4238356080964ae2ddbf"
dependencies = [
"bitflags",
"num-bigint",
@@ -846,15 +860,15 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.16.2"
+version = "0.16.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2cd2e54fe624598fa53806e3d092942f3b11078d9cc29a470e4b5907acf40f2e"
+checksum = "34f6e9a0084937918818610e310edd9234b324863fcf46d9b5106b92fba30824"
[[package]]
name = "oxc_diagnostics"
-version = "0.16.2"
+version = "0.16.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e27d66ffd8bdc032d7a2d918e25ee91a6aa5ef7d712d624bac1c77e6b8e6870"
+checksum = "db41d3247dde8f6112233692d1d8065f8828cddf8c8735281b4a67238937d70b"
dependencies = [
"miette",
"owo-colors",
@@ -864,15 +878,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.16.2"
+version = "0.16.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "939fd785d887b25e802ae35fbcc6f6ad3ccf648eeefb98c801dab47047c2d281"
+checksum = "1bdb0c0067294f8919bf259393c5d8f36b8cff40ff63d698cc921cacec77fc58"
[[package]]
name = "oxc_parser"
-version = "0.16.2"
+version = "0.16.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "30a2874be11c32e1dd214bb5ad7a7ae7bca3597e9fc27e633b463f0d7c59ab6f"
+checksum = "f05c4d50a236bc5412b1702af99a4ddab88b60e8ef8d14178d74fba234fdd648"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -894,7 +908,7 @@ version = "1.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ebd177c1f521d3c6631fa96abb6d97220ce4bed102e1e0172b11496ed9442fae"
dependencies = [
- "dashmap",
+ "dashmap 5.5.3",
"dunce",
"json-strip-comments",
"once_cell",
@@ -908,9 +922,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.16.2"
+version = "0.16.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d55012e4e027cb6b91bfc9047c248d3464300b96355b432583882dd50fa85cbe"
+checksum = "37c8fb1f1dd18f8832b173939aff1c8a6fb2c50a6f95adf1aee817a65482e549"
dependencies = [
"compact_str",
"miette",
@@ -918,12 +932,12 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.16.2"
+version = "0.16.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cb47ffa16b13d3e08115653aa72c87a982c8d4d248033cc8b3edf5aeec6aa131"
+checksum = "7a2909d1da9949782e08d633f46a4f3a52dcd3ef539b7a0ebfc5d02d7f6eb159"
dependencies = [
"bitflags",
- "dashmap",
+ "dashmap 6.0.1",
"oxc_index",
"oxc_span",
"phf",
From 93f27ff88073f61b631f305bcd46d19897454118 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 3 Jul 2024 04:56:26 +0000
Subject: [PATCH 123/385] chore(deps): update rust crate swc_ecma_parser to
v0.146.8 (#136)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 8cb96ec..a398ece 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1397,12 +1397,11 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "0.146.7"
+version = "0.146.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "417d95a184c1872bc4e4db82c721c20c38bdf01214a65ee512c37b9985b78c01"
+checksum = "5cb0661386d67b828093fe7e87381c0808298595ba38cd00101973e70ab66dd6"
dependencies = [
"either",
- "memchr",
"new_debug_unreachable",
"num-bigint",
"num-traits",
From 988a1873b4289124e8d0a6b8f9624e1015a857c0 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 5 Jul 2024 04:39:17 +0000
Subject: [PATCH 124/385] chore(deps): update rust crate swc_ecma_parser to
v0.146.9 (#137)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index a398ece..d31762a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1397,9 +1397,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "0.146.8"
+version = "0.146.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5cb0661386d67b828093fe7e87381c0808298595ba38cd00101973e70ab66dd6"
+checksum = "1fac996c018c8d4e046cf220464a08632478249b00248f982c8603b2635da492"
dependencies = [
"either",
"new_debug_unreachable",
From ca7ef8cc53c5ab67d6d7b9d256aa849ede0fc7f5 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 5 Jul 2024 09:42:07 +0000
Subject: [PATCH 125/385] chore(deps): update rust crate oxc to 0.17.0 (#138)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 36 ++++++++++++++++++------------------
Cargo.toml | 2 +-
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index d31762a..d989a16 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -821,9 +821,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]]
name = "oxc"
-version = "0.16.3"
+version = "0.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eef9ded920e483471c6cf613d5131c74af2855165ea8174d663f599a56a3fb3a"
+checksum = "143455be9bf2c962169fa889e6f95350f5179398ae23aea17d17b6beae0433ba"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -836,9 +836,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.16.3"
+version = "0.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "944ce079709849f7621902c7747141336fbdfa5419ae8da8ac11edc5679e977f"
+checksum = "83173a501108b8f18514b0d6e412491ac61216f9ad4b8ebd5abb67b5c236f15f"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -846,9 +846,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.16.3"
+version = "0.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0814bc95355ba0ff7f60db5a01504cfdbbd44ae269cf4238356080964ae2ddbf"
+checksum = "1be531b68e6e19f4e0d1b3645c7d3a9eb47fd5c938d52deb1bb3d648f3a1a2ed"
dependencies = [
"bitflags",
"num-bigint",
@@ -860,15 +860,15 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.16.3"
+version = "0.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "34f6e9a0084937918818610e310edd9234b324863fcf46d9b5106b92fba30824"
+checksum = "cd04f0b1cfb84ef3f9a24891f04b20b47bd6f6f9aa6dc53f7d883ac6fd1a5ccd"
[[package]]
name = "oxc_diagnostics"
-version = "0.16.3"
+version = "0.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db41d3247dde8f6112233692d1d8065f8828cddf8c8735281b4a67238937d70b"
+checksum = "a65b9c3598ebb55247c8d633cc7b256d531eeec0c579a5887b1fd5bdf9148f1d"
dependencies = [
"miette",
"owo-colors",
@@ -878,15 +878,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.16.3"
+version = "0.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1bdb0c0067294f8919bf259393c5d8f36b8cff40ff63d698cc921cacec77fc58"
+checksum = "4bcae63eeec1d9f0482d79cdb725ceea11fd426b986a11dd38700394703ca0ac"
[[package]]
name = "oxc_parser"
-version = "0.16.3"
+version = "0.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f05c4d50a236bc5412b1702af99a4ddab88b60e8ef8d14178d74fba234fdd648"
+checksum = "b2bd4eefd8cbe56771e9cdef67e5d3e1a2d7f9d9e1046e174587752585428e4d"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -922,9 +922,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.16.3"
+version = "0.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "37c8fb1f1dd18f8832b173939aff1c8a6fb2c50a6f95adf1aee817a65482e549"
+checksum = "d636a7007e5fab7ccaf9bb053cf87167ad3a981212eedfb9f2402e87bcd578a3"
dependencies = [
"compact_str",
"miette",
@@ -932,9 +932,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.16.3"
+version = "0.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7a2909d1da9949782e08d633f46a4f3a52dcd3ef539b7a0ebfc5d02d7f6eb159"
+checksum = "6ff6d94c8be2693caabe4e0258c6684848b4a322f65b51515fa05d98c0f9f135"
dependencies = [
"bitflags",
"dashmap 6.0.1",
diff --git a/Cargo.toml b/Cargo.toml
index 6e2c976..f984374 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.16.1"
+oxc = "0.17.0"
swc_ecma_parser = { version = "0.146.7", features = ["typescript"] }
swc_ecma_ast = "0.115.1"
From 171ba343311e00d5aada572492c49210f72331c8 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 5 Jul 2024 14:08:43 +0000
Subject: [PATCH 126/385] chore(deps): update rust crate swc_ecma_parser to
v0.146.10 (#139)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index d989a16..ba2f205 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1397,9 +1397,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "0.146.9"
+version = "0.146.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1fac996c018c8d4e046cf220464a08632478249b00248f982c8603b2635da492"
+checksum = "95d2128fee5628aa6a205de62d38c7a3f1b901f4483ba3dfd73da29168c1b9ac"
dependencies = [
"either",
"new_debug_unreachable",
From 1b131cc2ff86b4874e68c9a5c49ddb461761314f Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 6 Jul 2024 07:54:17 +0000
Subject: [PATCH 127/385] chore(deps): update rust crate swc_ecma_parser to
v0.146.11 (#140)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index ba2f205..670df6c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1397,9 +1397,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "0.146.10"
+version = "0.146.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "95d2128fee5628aa6a205de62d38c7a3f1b901f4483ba3dfd73da29168c1b9ac"
+checksum = "2e486565f2ee51a41cbbfbcb1ff5b0307116af2e5d597f9d37e19db312e7d5c1"
dependencies = [
"either",
"new_debug_unreachable",
From c8fa4484fec44ebd5367523885174454736449f3 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 6 Jul 2024 17:17:10 +0000
Subject: [PATCH 128/385] chore(deps): update rust crate swc_ecma_parser to
v0.146.12 (#141)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 670df6c..6707fc5 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1397,9 +1397,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "0.146.11"
+version = "0.146.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2e486565f2ee51a41cbbfbcb1ff5b0307116af2e5d597f9d37e19db312e7d5c1"
+checksum = "0a4e0c2e85f12c63b85c805e923079b04d1fb3e25edd069d638eed5f2098de74"
dependencies = [
"either",
"new_debug_unreachable",
From 116b6dc8480ed5bcb29df1797d6fa6cf77d0d3ad Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 6 Jul 2024 19:17:30 +0000
Subject: [PATCH 129/385] chore(deps): update rust crate oxc to v0.17.1 (#142)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 6707fc5..313a580 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -821,9 +821,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]]
name = "oxc"
-version = "0.17.0"
+version = "0.17.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "143455be9bf2c962169fa889e6f95350f5179398ae23aea17d17b6beae0433ba"
+checksum = "a4f2a4acaa4451d33a47ae4ae0e1e1fdfccf02ec1a45b24f7f9f549491a4563d"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -836,9 +836,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.17.0"
+version = "0.17.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "83173a501108b8f18514b0d6e412491ac61216f9ad4b8ebd5abb67b5c236f15f"
+checksum = "90bf8c1c1acc961f8b22708f299d8256c5b5f483dffc95e0b8849212a5eb737b"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -846,9 +846,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.17.0"
+version = "0.17.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1be531b68e6e19f4e0d1b3645c7d3a9eb47fd5c938d52deb1bb3d648f3a1a2ed"
+checksum = "5f3fbc49e9ca3f75bd8e4eb5f66a05708eef53d1e65ccde66bc14a3db0c21a65"
dependencies = [
"bitflags",
"num-bigint",
@@ -860,15 +860,15 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.17.0"
+version = "0.17.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cd04f0b1cfb84ef3f9a24891f04b20b47bd6f6f9aa6dc53f7d883ac6fd1a5ccd"
+checksum = "005fbdb91079c0bdc37fbebdd1a38a290edc1d9381efabad21b5cb1e5fc0f37f"
[[package]]
name = "oxc_diagnostics"
-version = "0.17.0"
+version = "0.17.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a65b9c3598ebb55247c8d633cc7b256d531eeec0c579a5887b1fd5bdf9148f1d"
+checksum = "d71ad300d178b7e3fd923c8426a87fafa36f5cb65538a49ca12a541c0ef3d8eb"
dependencies = [
"miette",
"owo-colors",
@@ -878,15 +878,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.17.0"
+version = "0.17.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4bcae63eeec1d9f0482d79cdb725ceea11fd426b986a11dd38700394703ca0ac"
+checksum = "003e12546c81c37b54d0ef6a438d4f3774bbe11a07c98e466febe33fe879bfd9"
[[package]]
name = "oxc_parser"
-version = "0.17.0"
+version = "0.17.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b2bd4eefd8cbe56771e9cdef67e5d3e1a2d7f9d9e1046e174587752585428e4d"
+checksum = "db1df88a9ebe3b0bdf719f43edd3a1b51d5ddaf63708e3ac8edd5e413788fc51"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -922,9 +922,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.17.0"
+version = "0.17.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d636a7007e5fab7ccaf9bb053cf87167ad3a981212eedfb9f2402e87bcd578a3"
+checksum = "687eec63d2ff28d1f449da3a49fe70c2a57d1e048ce240d4e34b18642e5fb5c1"
dependencies = [
"compact_str",
"miette",
@@ -932,9 +932,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.17.0"
+version = "0.17.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6ff6d94c8be2693caabe4e0258c6684848b4a322f65b51515fa05d98c0f9f135"
+checksum = "e7d8dc17ca7b5837f1187a241418e9d58fcf3a269b254a0e0965ec8f7421cc84"
dependencies = [
"bitflags",
"dashmap 6.0.1",
From bb37fbf3f3cad5ddecd514c3b54dd281f247e488 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 8 Jul 2024 12:16:20 +0000
Subject: [PATCH 130/385] chore(deps): update rust crate oxc to v0.17.2 (#143)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 313a580..639f4fa 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -821,9 +821,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]]
name = "oxc"
-version = "0.17.1"
+version = "0.17.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a4f2a4acaa4451d33a47ae4ae0e1e1fdfccf02ec1a45b24f7f9f549491a4563d"
+checksum = "b8618f455c8c3cdec49eefa970baa9c1085d55e9738719906ac4d27d4ef81786"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -836,9 +836,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.17.1"
+version = "0.17.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "90bf8c1c1acc961f8b22708f299d8256c5b5f483dffc95e0b8849212a5eb737b"
+checksum = "62ad671ea5ad0dfd67b59a180896db06e6168657cc3dfdbd57753422143e73d8"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -846,9 +846,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.17.1"
+version = "0.17.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5f3fbc49e9ca3f75bd8e4eb5f66a05708eef53d1e65ccde66bc14a3db0c21a65"
+checksum = "4ba531f73abf4982d7b5093acc3d966d5b80f7df085ac4faa4bdd0d908065909"
dependencies = [
"bitflags",
"num-bigint",
@@ -860,15 +860,15 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.17.1"
+version = "0.17.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "005fbdb91079c0bdc37fbebdd1a38a290edc1d9381efabad21b5cb1e5fc0f37f"
+checksum = "90c9015d5c843f49ae1e40276a3011f383a79c36ae32fd7165cc1764a3e50d39"
[[package]]
name = "oxc_diagnostics"
-version = "0.17.1"
+version = "0.17.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d71ad300d178b7e3fd923c8426a87fafa36f5cb65538a49ca12a541c0ef3d8eb"
+checksum = "66579f2e4d99eab620ac452c38a5200d8dd1dab183ed8fffb06a3f8c77b176d0"
dependencies = [
"miette",
"owo-colors",
@@ -878,15 +878,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.17.1"
+version = "0.17.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "003e12546c81c37b54d0ef6a438d4f3774bbe11a07c98e466febe33fe879bfd9"
+checksum = "e7e536a2ac5b951726a1b4ee8dfee0f81f263c874c749f7403fb96224411ac2d"
[[package]]
name = "oxc_parser"
-version = "0.17.1"
+version = "0.17.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db1df88a9ebe3b0bdf719f43edd3a1b51d5ddaf63708e3ac8edd5e413788fc51"
+checksum = "6f3fd9988462a94444a8840bdc5496fe8db7e1a8ff68e540cac20df8ba692dc2"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -922,9 +922,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.17.1"
+version = "0.17.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "687eec63d2ff28d1f449da3a49fe70c2a57d1e048ce240d4e34b18642e5fb5c1"
+checksum = "1048388956266b030cd2cf55e762c3320257723b460dc1a072f81dac76cb5cda"
dependencies = [
"compact_str",
"miette",
@@ -932,9 +932,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.17.1"
+version = "0.17.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7d8dc17ca7b5837f1187a241418e9d58fcf3a269b254a0e0965ec8f7421cc84"
+checksum = "451553f491c2db09fa10035fecc29ad4068df4ad086f04f220de7c509a741799"
dependencies = [
"bitflags",
"dashmap 6.0.1",
From 5c17e5d4f30ba984150b4696f859066662538585 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 9 Jul 2024 12:39:48 +0000
Subject: [PATCH 131/385] chore(deps): update rust crate oxc to 0.18.0 (#144)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 37 +++++++++++++++++++------------------
Cargo.toml | 2 +-
2 files changed, 20 insertions(+), 19 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 639f4fa..cad05ec 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -821,9 +821,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]]
name = "oxc"
-version = "0.17.2"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8618f455c8c3cdec49eefa970baa9c1085d55e9738719906ac4d27d4ef81786"
+checksum = "2aa09dd088bd5d09b4ddf71d91edd024129580876481203e1eb716941e1ceafc"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -836,9 +836,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.17.2"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "62ad671ea5ad0dfd67b59a180896db06e6168657cc3dfdbd57753422143e73d8"
+checksum = "55d3af563763d3df63a33bb381674823d7648485e2f3f2ec66e2b0b1522e8040"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -846,9 +846,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.17.2"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ba531f73abf4982d7b5093acc3d966d5b80f7df085ac4faa4bdd0d908065909"
+checksum = "24cf9d9e54ddb201db7b7d381c9dc5a13070fd648450e72d43345fd54ed3bde4"
dependencies = [
"bitflags",
"num-bigint",
@@ -860,15 +860,15 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.17.2"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "90c9015d5c843f49ae1e40276a3011f383a79c36ae32fd7165cc1764a3e50d39"
+checksum = "fc64f65867876c9b10a9d0d55b8fefc5e257fe52f8377d9d5682e172b91fa489"
[[package]]
name = "oxc_diagnostics"
-version = "0.17.2"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "66579f2e4d99eab620ac452c38a5200d8dd1dab183ed8fffb06a3f8c77b176d0"
+checksum = "abd89810c27f599cb819aef8625de7eb809c4f63f0106f29d25f9e71a614df60"
dependencies = [
"miette",
"owo-colors",
@@ -878,15 +878,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.17.2"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7e536a2ac5b951726a1b4ee8dfee0f81f263c874c749f7403fb96224411ac2d"
+checksum = "bf049e4e86701f9797c4c4a9a0510bf6cecb53923b44f97c813f6ff73f68532a"
[[package]]
name = "oxc_parser"
-version = "0.17.2"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6f3fd9988462a94444a8840bdc5496fe8db7e1a8ff68e540cac20df8ba692dc2"
+checksum = "70880fa9a9572217d8d7847296ff88e1656de647b9be51bd30bef1d9958d4195"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -922,19 +922,20 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.17.2"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1048388956266b030cd2cf55e762c3320257723b460dc1a072f81dac76cb5cda"
+checksum = "5b38b18d6e393e005144257ee4243d1786986c6c6584309d436fcb9d81f3232a"
dependencies = [
"compact_str",
"miette",
+ "oxc_allocator",
]
[[package]]
name = "oxc_syntax"
-version = "0.17.2"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "451553f491c2db09fa10035fecc29ad4068df4ad086f04f220de7c509a741799"
+checksum = "a52a89a16149a1b1fa7ed537b9245dff8d0982a448d363dab40606b62bdb9e7f"
dependencies = [
"bitflags",
"dashmap 6.0.1",
diff --git a/Cargo.toml b/Cargo.toml
index f984374..1790ba0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.17.0"
+oxc = "0.18.0"
swc_ecma_parser = { version = "0.146.7", features = ["typescript"] }
swc_ecma_ast = "0.115.1"
From b7ccd47aa988b48e28630c871d476ba2e1d75cf2 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 9 Jul 2024 16:45:02 +0000
Subject: [PATCH 132/385] chore(deps): update rust crate oxc to 0.19.0 (#145)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 36 ++++++++++++++++++------------------
Cargo.toml | 2 +-
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index cad05ec..e8e25a2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -821,9 +821,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]]
name = "oxc"
-version = "0.18.0"
+version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2aa09dd088bd5d09b4ddf71d91edd024129580876481203e1eb716941e1ceafc"
+checksum = "8dbe6023abde56d3e8b338dfa0ebcd4f49777748a762ec318549f2a6e7d31df5"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -836,9 +836,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.18.0"
+version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "55d3af563763d3df63a33bb381674823d7648485e2f3f2ec66e2b0b1522e8040"
+checksum = "b051d79bc185da39639f35ebedebd19b82c55d2e262ff9d385ed31e7b893091b"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -846,9 +846,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.18.0"
+version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "24cf9d9e54ddb201db7b7d381c9dc5a13070fd648450e72d43345fd54ed3bde4"
+checksum = "eaa4addc1989eb9d8a1d8c44fcf5f1a12765cec7e1c7935066892d721853d4d4"
dependencies = [
"bitflags",
"num-bigint",
@@ -860,15 +860,15 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.18.0"
+version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fc64f65867876c9b10a9d0d55b8fefc5e257fe52f8377d9d5682e172b91fa489"
+checksum = "fa863ea9cbfcde9a6bb4329da76f02a50cc3dceb91686af0c5489ce694de5fbd"
[[package]]
name = "oxc_diagnostics"
-version = "0.18.0"
+version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "abd89810c27f599cb819aef8625de7eb809c4f63f0106f29d25f9e71a614df60"
+checksum = "2d7ac97d2d2fb1eee48819a8fa2e61109c247795b429e81b416bc048504467fb"
dependencies = [
"miette",
"owo-colors",
@@ -878,15 +878,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.18.0"
+version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bf049e4e86701f9797c4c4a9a0510bf6cecb53923b44f97c813f6ff73f68532a"
+checksum = "2ba2a46b4cb4386a956725eadb86c59e57f5adf142575594dd7ec0ad61fb43d5"
[[package]]
name = "oxc_parser"
-version = "0.18.0"
+version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "70880fa9a9572217d8d7847296ff88e1656de647b9be51bd30bef1d9958d4195"
+checksum = "43570ec55676b5a452801ee2e573b0e30a08a877d0883b91989533277797bffe"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -922,9 +922,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.18.0"
+version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5b38b18d6e393e005144257ee4243d1786986c6c6584309d436fcb9d81f3232a"
+checksum = "b3a4d000a6647206bbd1e77be621767569b04c9600e1143823298be4e4e4fa1d"
dependencies = [
"compact_str",
"miette",
@@ -933,9 +933,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.18.0"
+version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a52a89a16149a1b1fa7ed537b9245dff8d0982a448d363dab40606b62bdb9e7f"
+checksum = "9264134525364ff6521c17b3f36404e53559a973455206e886cce2d7597ade08"
dependencies = [
"bitflags",
"dashmap 6.0.1",
diff --git a/Cargo.toml b/Cargo.toml
index 1790ba0..c766769 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.18.0"
+oxc = "0.19.0"
swc_ecma_parser = { version = "0.146.7", features = ["typescript"] }
swc_ecma_ast = "0.115.1"
From c94f6050c83329df0a19d9d9bb298d19c2098bc3 Mon Sep 17 00:00:00 2001
From: Boshen
Date: Wed, 10 Jul 2024 09:17:50 +0800
Subject: [PATCH 133/385] chore(renovate): update
---
.github/renovate.json | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/.github/renovate.json b/.github/renovate.json
index 40a2e94..dfb2fc2 100644
--- a/.github/renovate.json
+++ b/.github/renovate.json
@@ -1,25 +1,27 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>Boshen/renovate"],
- "rangeStrategy": "bump",
"packageRules": [
{
"groupName": "oxc",
- "matchPackagePatterns": ["oxc"],
+ "matchPackagePrefixes": ["oxc"],
"schedule": ["at any time"],
- "automergeType": "pr"
+ "automergeType": "pr",
+ "rangeStrategy": "bump"
},
{
"groupName": "swc",
- "matchPackagePatterns": ["swc"],
+ "matchPackagePrefixes": ["swc"],
"schedule": ["at any time"],
- "automergeType": "pr"
+ "automergeType": "pr",
+ "rangeStrategy": "bump"
},
{
"groupName": "biome",
- "matchPackagePatterns": ["biome"],
+ "matchPackagePrefixes": ["biome"],
"schedule": ["at any time"],
- "automergeType": "pr"
+ "automergeType": "pr",
+ "rangeStrategy": "bump"
}
]
}
From a0eb4a9b2ca5f7495c86fe5df08043c2efb81264 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 11 Jul 2024 05:10:35 +0000
Subject: [PATCH 134/385] chore(deps): update rust crate oxc to 0.20.0 (#147)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 36 ++++++++++++++++++------------------
Cargo.toml | 2 +-
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index e8e25a2..3582d05 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -821,9 +821,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]]
name = "oxc"
-version = "0.19.0"
+version = "0.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8dbe6023abde56d3e8b338dfa0ebcd4f49777748a762ec318549f2a6e7d31df5"
+checksum = "b1c97ea05858f4b22e899544eaf3d347463a270750f964aa7396122a5c6a2f17"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -836,9 +836,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.19.0"
+version = "0.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b051d79bc185da39639f35ebedebd19b82c55d2e262ff9d385ed31e7b893091b"
+checksum = "d413f72d3253e9adff573635cfb5aca6f092aaee8b4252ee2d02b36fccc8fd2c"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -846,9 +846,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.19.0"
+version = "0.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eaa4addc1989eb9d8a1d8c44fcf5f1a12765cec7e1c7935066892d721853d4d4"
+checksum = "c90e5316ea1cdc09844cacbd9d11dfdaf80894c84d8917a8021903238dfcb449"
dependencies = [
"bitflags",
"num-bigint",
@@ -860,15 +860,15 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.19.0"
+version = "0.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa863ea9cbfcde9a6bb4329da76f02a50cc3dceb91686af0c5489ce694de5fbd"
+checksum = "e75a62baf313dede70692fe7b0dbb84bfdb8cddb118020067b924ee759b08a4e"
[[package]]
name = "oxc_diagnostics"
-version = "0.19.0"
+version = "0.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2d7ac97d2d2fb1eee48819a8fa2e61109c247795b429e81b416bc048504467fb"
+checksum = "e2963694eba6acab881fe014b843757b57f8bdb755f6014fb7f92790122bd57d"
dependencies = [
"miette",
"owo-colors",
@@ -878,15 +878,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.19.0"
+version = "0.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2ba2a46b4cb4386a956725eadb86c59e57f5adf142575594dd7ec0ad61fb43d5"
+checksum = "fbd279d0188e75bb7268c3d8f54a2b30837ea03135b739b90fb8360dd9f2add8"
[[package]]
name = "oxc_parser"
-version = "0.19.0"
+version = "0.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "43570ec55676b5a452801ee2e573b0e30a08a877d0883b91989533277797bffe"
+checksum = "b7683a18fa64b8d7756b8a5630e84f075b4cd1dcf85adb04044055c33120e5f9"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -922,9 +922,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.19.0"
+version = "0.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b3a4d000a6647206bbd1e77be621767569b04c9600e1143823298be4e4e4fa1d"
+checksum = "efafab0c8cfb6ac6da1b687fef84424d242437f4cfbed51ddfba8ac046ca4a93"
dependencies = [
"compact_str",
"miette",
@@ -933,9 +933,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.19.0"
+version = "0.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9264134525364ff6521c17b3f36404e53559a973455206e886cce2d7597ade08"
+checksum = "0ff2ce5c9adcdaee8dc28834ff7a4d9e33b0ecd9c9ec56a5066703cdd3426bb3"
dependencies = [
"bitflags",
"dashmap 6.0.1",
diff --git a/Cargo.toml b/Cargo.toml
index c766769..a97db7d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.19.0"
+oxc = "0.20.0"
swc_ecma_parser = { version = "0.146.7", features = ["typescript"] }
swc_ecma_ast = "0.115.1"
From e62779c5cf68c3e416cca48e778e7fd6f885e16f Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 12 Jul 2024 07:51:48 +0000
Subject: [PATCH 135/385] chore(deps): update swc (#146)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 16 ++++++++--------
Cargo.toml | 4 ++--
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 3582d05..3b79f9c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1356,9 +1356,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "0.34.0"
+version = "0.35.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f79aace01c21f25090c75f5f7c6e3901498c062e2c1178c46866ed4e62e80aba"
+checksum = "dcad76737c09d8cafdd6cc0bcb5d57a49340fde34cf9357b9bd30e3e25976fbb"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1381,9 +1381,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "0.115.1"
+version = "0.116.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7be1306930c235435a892104c00c2b5e16231043c085d5a10bd3e7537b15659b"
+checksum = "55ea1ec136cc269287c32be8edc06080e8e6cca86f0592a23ba99eed0ecf3ffd"
dependencies = [
"bitflags",
"is-macro",
@@ -1398,9 +1398,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "0.146.12"
+version = "0.147.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0a4e0c2e85f12c63b85c805e923079b04d1fb3e25edd069d638eed5f2098de74"
+checksum = "3f85ae931e009c314f88212bd53d84ee9244902e84afa5ede497cb8a763192de"
dependencies = [
"either",
"new_debug_unreachable",
@@ -1614,9 +1614,9 @@ checksum = "7eec5d1121208364f6793f7d2e222bf75a915c19557537745b195b253dd64217"
[[package]]
name = "unicode-id-start"
-version = "1.0.4"
+version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "02aebfa694eccbbbffdd92922c7de136b9fe764396d2f10e21bce1681477cfc1"
+checksum = "bc3882f69607a2ac8cc4de3ee7993d8f68bb06f2974271195065b3bd07f2edea"
[[package]]
name = "unicode-ident"
diff --git a/Cargo.toml b/Cargo.toml
index a97db7d..455454a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ doctest = false
[dependencies]
oxc = "0.20.0"
-swc_ecma_parser = { version = "0.146.7", features = ["typescript"] }
-swc_ecma_ast = "0.115.1"
+swc_ecma_parser = { version = "0.147.0", features = ["typescript"] }
+swc_ecma_ast = "0.116.0"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From 63e06ed325f3d715ec5a848e9d87eaee110220a9 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 18 Jul 2024 12:15:56 +0000
Subject: [PATCH 136/385] chore(deps): update rust crate oxc to 0.21.0 (#149)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 45 +++++++++++++++++++++++----------------------
Cargo.toml | 2 +-
2 files changed, 24 insertions(+), 23 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 3b79f9c..84aacd5 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -335,9 +335,9 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
[[package]]
name = "castaway"
-version = "0.2.2"
+version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8a17ed5635fc8536268e5d4de1e22e81ac34419e5f052d4d51f4e01dcc263fcc"
+checksum = "0abae9be0aaf9ea96a3b1b8b1b55c602ca751eba1b1500220cea4ecbafe7c0d5"
dependencies = [
"rustversion",
]
@@ -410,13 +410,14 @@ dependencies = [
[[package]]
name = "compact_str"
-version = "0.7.1"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f86b9c4c00838774a6d902ef931eff7470720c51d90c2e32cfe15dc304737b3f"
+checksum = "6050c3a16ddab2e412160b31f2c871015704239bca62f72f6e5f0be631d3f644"
dependencies = [
"castaway",
"cfg-if",
"itoa",
+ "rustversion",
"ryu",
"static_assertions",
]
@@ -821,9 +822,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]]
name = "oxc"
-version = "0.20.0"
+version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b1c97ea05858f4b22e899544eaf3d347463a270750f964aa7396122a5c6a2f17"
+checksum = "48b37a2f96401186cd669de8b90c9e0f026f3b1f0ae8da598d0b59bcc18d635a"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -836,9 +837,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.20.0"
+version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d413f72d3253e9adff573635cfb5aca6f092aaee8b4252ee2d02b36fccc8fd2c"
+checksum = "2969df9624a9ce85a4dcc74b9306da0750245f3edbf5d188966ce9ba21f1df09"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -846,9 +847,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.20.0"
+version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c90e5316ea1cdc09844cacbd9d11dfdaf80894c84d8917a8021903238dfcb449"
+checksum = "f5bd24669af44316b9e9132298779b16d811ca2b2c50e6977119f0c12b74a70b"
dependencies = [
"bitflags",
"num-bigint",
@@ -860,15 +861,15 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.20.0"
+version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e75a62baf313dede70692fe7b0dbb84bfdb8cddb118020067b924ee759b08a4e"
+checksum = "5719d91d173521f09acdb3ae334311721e132e69d7ab165d124d5e54379a63ea"
[[package]]
name = "oxc_diagnostics"
-version = "0.20.0"
+version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e2963694eba6acab881fe014b843757b57f8bdb755f6014fb7f92790122bd57d"
+checksum = "04752949830fd48859db58f0a9be78e426f4645be60889a3b0162eb0852b5269"
dependencies = [
"miette",
"owo-colors",
@@ -878,15 +879,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.20.0"
+version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fbd279d0188e75bb7268c3d8f54a2b30837ea03135b739b90fb8360dd9f2add8"
+checksum = "5d38dcb7b8fe88315624afd7f0e365a7a8b368603eeb831ea6ec09bc6e1aba91"
[[package]]
name = "oxc_parser"
-version = "0.20.0"
+version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b7683a18fa64b8d7756b8a5630e84f075b4cd1dcf85adb04044055c33120e5f9"
+checksum = "aa459e79ce12fb2acaa1fba84d2fd336b53f61e49842861d4ed0f89cd21b27ae"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -922,9 +923,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.20.0"
+version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "efafab0c8cfb6ac6da1b687fef84424d242437f4cfbed51ddfba8ac046ca4a93"
+checksum = "b11fa157032cc8abb0e0cf4e2632e3e16f923c637b21a8486d4b007fb96ea14e"
dependencies = [
"compact_str",
"miette",
@@ -933,9 +934,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.20.0"
+version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ff2ce5c9adcdaee8dc28834ff7a4d9e33b0ecd9c9ec56a5066703cdd3426bb3"
+checksum = "1f4ec18e5df6f721f0cdc04eb616bd02fbbd0afe111e7310cfadd5c2b3905b72"
dependencies = [
"bitflags",
"dashmap 6.0.1",
diff --git a/Cargo.toml b/Cargo.toml
index 455454a..73ea487 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.20.0"
+oxc = "0.21.0"
swc_ecma_parser = { version = "0.147.0", features = ["typescript"] }
swc_ecma_ast = "0.116.0"
From 9a85e197ca8c92cf52cfc0313a1107d9d119be74 Mon Sep 17 00:00:00 2001
From: Boshen
Date: Sat, 20 Jul 2024 22:04:04 +0800
Subject: [PATCH 137/385] enable lockFileMaintenance
---
.github/renovate.json | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.github/renovate.json b/.github/renovate.json
index dfb2fc2..d9e13ab 100644
--- a/.github/renovate.json
+++ b/.github/renovate.json
@@ -1,6 +1,9 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>Boshen/renovate"],
+ "lockFileMaintenance": {
+ "enabled": true
+ },
"packageRules": [
{
"groupName": "oxc",
From e3f66e94d6876a07900dd9611872130535aecc02 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 20 Jul 2024 14:17:20 +0000
Subject: [PATCH 138/385] chore(deps): update swc (#148)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 298 ++++++++++++++++++++++++++---------------------------
Cargo.toml | 4 +-
src/lib.rs | 8 +-
3 files changed, 155 insertions(+), 155 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 84aacd5..562f3ac 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -56,14 +56,14 @@ checksum = "7330592adf847ee2e3513587b4db2db410a0d751378654e7e993d9adcbe5c795"
[[package]]
name = "ast_node"
-version = "0.9.8"
+version = "0.9.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2ab31376d309dd3bfc9cfb3c11c93ce0e0741bbe0354b20e7f8c60b044730b79"
+checksum = "f9184f2b369b3e8625712493c89b785881f27eedc6cde480a81883cef78868b2"
dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.66",
+ "syn 2.0.71",
]
[[package]]
@@ -74,9 +74,9 @@ checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
[[package]]
name = "backtrace"
-version = "0.3.72"
+version = "0.3.73"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "17c6a35df3749d2e8bb1b7b21a976d82b15548788d2735b9d82f329268f71a11"
+checksum = "5cc23269a4f8976d0a4d2e7109211a419fe30e8d88d677cd60b6bc79c5732e0a"
dependencies = [
"addr2line",
"cc",
@@ -283,9 +283,9 @@ checksum = "87e8604d34b02180a58af1dbdaac166f1805f27f5370934142a3246f83870952"
[[package]]
name = "bitflags"
-version = "2.5.0"
+version = "2.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1"
+checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
[[package]]
name = "bpaf"
@@ -304,7 +304,7 @@ checksum = "9a8d5b11f7fa1068e5bbac8ab6c8c2c6940047f69185987446b60c995d4bf89c"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.66",
+ "syn 2.0.71",
]
[[package]]
@@ -344,9 +344,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.0.99"
+version = "1.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "96c51067fd44124faa7f870b4b1c969379ad32b2ba805aa959430ceaa384f695"
+checksum = "2aba8f4e9906c7ce3c73463f62a7f0c65183ada1a2d47e397cc8810827f9694f"
[[package]]
name = "cfg-if"
@@ -381,12 +381,6 @@ dependencies = [
"half",
]
-[[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.6.0"
@@ -478,19 +472,6 @@ version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
-[[package]]
-name = "dashmap"
-version = "5.5.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856"
-dependencies = [
- "cfg-if",
- "hashbrown 0.14.5",
- "lock_api",
- "once_cell",
- "parking_lot_core",
-]
-
[[package]]
name = "dashmap"
version = "6.0.1"
@@ -525,9 +506,9 @@ checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125"
[[package]]
name = "either"
-version = "1.12.0"
+version = "1.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3dca9240753cf90908d7e4aac30f630662b02aebaa1b58a3cadabdb23385b58b"
+checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
[[package]]
name = "equivalent"
@@ -546,13 +527,13 @@ dependencies = [
[[package]]
name = "from_variant"
-version = "0.1.8"
+version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fdc9cc75639b041067353b9bce2450d6847e547276c6fbe4487d7407980e07db"
+checksum = "32016f1242eb82af5474752d00fd8ebcd9004bd69b462b1c91de833972d08ed4"
dependencies = [
"proc-macro2",
"swc_macros_common",
- "syn 2.0.66",
+ "syn 2.0.71",
]
[[package]]
@@ -643,7 +624,7 @@ dependencies = [
"Inflector",
"proc-macro2",
"quote",
- "syn 2.0.66",
+ "syn 2.0.71",
]
[[package]]
@@ -654,15 +635,15 @@ checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
[[package]]
name = "json-strip-comments"
-version = "1.0.2"
+version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c3d129799327c8f80861e467c59b825ba24c277dba6ad0d71a141dc98f9e04ee"
+checksum = "3c554a25d33ecaac85fd8840e90e3ef4e15faac7592b4a9b8953a553d7926c22"
[[package]]
name = "lazy_static"
-version = "1.4.0"
+version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
+checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
[[package]]
name = "libc"
@@ -692,9 +673,9 @@ dependencies = [
[[package]]
name = "memchr"
-version = "2.7.2"
+version = "2.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d"
+checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
[[package]]
name = "memoffset"
@@ -727,7 +708,7 @@ checksum = "dcf09caffaac8068c346b6df2a7fc27a177fd20b39421a39ce0a211bde679a6c"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.66",
+ "syn 2.0.71",
]
[[package]]
@@ -741,9 +722,9 @@ dependencies = [
[[package]]
name = "miniz_oxide"
-version = "0.7.3"
+version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "87dfd01fe195c66b572b37921ad8803d010623c0aca821bea2302239d155cdae"
+checksum = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08"
dependencies = [
"adler",
]
@@ -756,9 +737,9 @@ checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086"
[[package]]
name = "num-bigint"
-version = "0.4.5"
+version = "0.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c165a9ab64cf766f73521c0dd2cfdff64f488b8f0b3e621face3462d3db536d7"
+checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9"
dependencies = [
"num-integer",
"num-traits",
@@ -795,9 +776,9 @@ dependencies = [
[[package]]
name = "object"
-version = "0.35.0"
+version = "0.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8ec7ab813848ba4522158d5517a6093db1ded27575b070f4177b8d12b41db5e"
+checksum = "081b846d1d56ddfc18fdf1a922e4f6e07a11768ea1b92dec44e42b72712ccfce"
dependencies = [
"memchr",
]
@@ -810,9 +791,9 @@ checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
[[package]]
name = "oorandom"
-version = "11.1.3"
+version = "11.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"
+checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9"
[[package]]
name = "owo-colors"
@@ -905,20 +886,20 @@ dependencies = [
[[package]]
name = "oxc_resolver"
-version = "1.8.1"
+version = "1.10.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ebd177c1f521d3c6631fa96abb6d97220ce4bed102e1e0172b11496ed9442fae"
+checksum = "b5f862ee8e1ba728378ac7e007de195ae00fbb21337ef152380c052cc07e2ee2"
dependencies = [
- "dashmap 5.5.3",
+ "dashmap",
"dunce",
+ "indexmap 2.2.6",
"json-strip-comments",
"once_cell",
- "rustc-hash 1.1.0",
+ "rustc-hash 2.0.0",
"serde",
"serde_json",
"thiserror",
"tracing",
- "typescript_tsconfig_json",
]
[[package]]
@@ -939,7 +920,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1f4ec18e5df6f721f0cdc04eb616bd02fbbd0afe111e7310cfadd5c2b3905b72"
dependencies = [
"bitflags",
- "dashmap 6.0.1",
+ "dashmap",
"oxc_index",
"oxc_span",
"phf",
@@ -957,7 +938,7 @@ dependencies = [
"libc",
"redox_syscall",
"smallvec",
- "windows-targets 0.52.5",
+ "windows-targets 0.52.6",
]
[[package]]
@@ -996,7 +977,7 @@ dependencies = [
"phf_shared",
"proc-macro2",
"quote",
- "syn 2.0.66",
+ "syn 2.0.71",
]
[[package]]
@@ -1039,9 +1020,9 @@ dependencies = [
[[package]]
name = "proc-macro2"
-version = "1.0.85"
+version = "1.0.86"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22244ce15aa966053a896d1accb3a6e68469b97c7f33f284b99f0d576879fc23"
+checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
dependencies = [
"unicode-ident",
]
@@ -1055,6 +1036,26 @@ dependencies = [
"cc",
]
+[[package]]
+name = "ptr_meta"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0738ccf7ea06b608c10564b31debd4f5bc5e197fc8bfe088f68ae5ce81e7a4f1"
+dependencies = [
+ "ptr_meta_derive",
+]
+
+[[package]]
+name = "ptr_meta_derive"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "16b845dbfca988fa33db069c0e230574d15a3088f147a87b64c7589eb662c9ac"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 1.0.109",
+]
+
[[package]]
name = "quote"
version = "1.0.36"
@@ -1101,22 +1102,22 @@ dependencies = [
[[package]]
name = "redox_syscall"
-version = "0.5.1"
+version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e"
+checksum = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4"
dependencies = [
"bitflags",
]
[[package]]
name = "regex"
-version = "1.10.4"
+version = "1.10.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c"
+checksum = "b91213439dad192326a0d7c6ee3955910425f441d7038e0d6933b0aec5c4517f"
dependencies = [
"aho-corasick",
"memchr",
- "regex-automata 0.4.6",
+ "regex-automata 0.4.7",
"regex-syntax",
]
@@ -1128,9 +1129,9 @@ checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
[[package]]
name = "regex-automata"
-version = "0.4.6"
+version = "0.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea"
+checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df"
dependencies = [
"aho-corasick",
"memchr",
@@ -1139,9 +1140,9 @@ dependencies = [
[[package]]
name = "regex-syntax"
-version = "0.8.3"
+version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56"
+checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b"
[[package]]
name = "rustc-demangle"
@@ -1203,7 +1204,7 @@ dependencies = [
"proc-macro2",
"quote",
"serde_derive_internals",
- "syn 2.0.66",
+ "syn 2.0.71",
]
[[package]]
@@ -1226,22 +1227,22 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4"
[[package]]
name = "serde"
-version = "1.0.203"
+version = "1.0.204"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7253ab4de971e72fb7be983802300c30b5a7f0c2e56fab8abfc6a214307c0094"
+checksum = "bc76f558e0cbb2a839d37354c575f1dc3fdc6546b5be373ba43d95f231bf7c12"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.203"
+version = "1.0.204"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "500cbc0ebeb6f46627f50f3f5811ccf6bf00643be300b4c3eabc0ef55dc5b5ba"
+checksum = "e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.66",
+ "syn 2.0.71",
]
[[package]]
@@ -1252,14 +1253,14 @@ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.66",
+ "syn 2.0.71",
]
[[package]]
name = "serde_json"
-version = "1.0.117"
+version = "1.0.120"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3"
+checksum = "4e0d21c9a8cae1235ad58a00c11cb40d4b1e5c784f1ef2c537876ed6ffd8b7c5"
dependencies = [
"indexmap 2.2.6",
"itoa",
@@ -1340,7 +1341,18 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.66",
+ "syn 2.0.71",
+]
+
+[[package]]
+name = "swc_allocator"
+version = "0.1.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "89d080e1df9616d0371e154a5ac9640de97f9fa08486e2abf16482d97dc69017"
+dependencies = [
+ "bumpalo",
+ "ptr_meta",
+ "triomphe",
]
[[package]]
@@ -1357,9 +1369,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "0.35.0"
+version = "0.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dcad76737c09d8cafdd6cc0bcb5d57a49340fde34cf9357b9bd30e3e25976fbb"
+checksum = "0df62b0d102ecd81cf9093ef48303289e9a7dae0311f8e64b5345e5fe3e48565"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1372,6 +1384,7 @@ dependencies = [
"rustc-hash 1.1.0",
"serde",
"siphasher",
+ "swc_allocator",
"swc_atoms",
"swc_eq_ignore_macros",
"swc_visit",
@@ -1382,9 +1395,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "0.116.0"
+version = "0.117.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "55ea1ec136cc269287c32be8edc06080e8e6cca86f0592a23ba99eed0ecf3ffd"
+checksum = "e38921b6626345e680ded83479980b74f9cebee0748dd9ffb8078375e637e5b0"
dependencies = [
"bitflags",
"is-macro",
@@ -1399,9 +1412,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "0.147.0"
+version = "0.148.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3f85ae931e009c314f88212bd53d84ee9244902e84afa5ede497cb8a763192de"
+checksum = "59627c3704453c1bcb283c51ee161a5acf9988c80f80ef0250743fede0406602"
dependencies = [
"either",
"new_debug_unreachable",
@@ -1421,31 +1434,31 @@ dependencies = [
[[package]]
name = "swc_eq_ignore_macros"
-version = "0.1.3"
+version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "695a1d8b461033d32429b5befbf0ad4d7a2c4d6ba9cd5ba4e0645c615839e8e4"
+checksum = "63db0adcff29d220c3d151c5b25c0eabe7e32dd936212b84cdaa1392e3130497"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.66",
+ "syn 2.0.71",
]
[[package]]
name = "swc_macros_common"
-version = "0.3.11"
+version = "0.3.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "91745f3561057493d2da768437c427c0e979dff7396507ae02f16c981c4a8466"
+checksum = "378577b6caa62da3a206e8f91ebba501ed03b3f719c493ccc28fca8b3f1f4b6b"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.66",
+ "syn 2.0.71",
]
[[package]]
name = "swc_visit"
-version = "0.5.14"
+version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "043d11fe683dcb934583ead49405c0896a5af5face522e4682c16971ef7871b9"
+checksum = "52e2acde04c355dc8ffd62c56f263ba61a94b5c6d21ce2cdeaf857b5d74451a6"
dependencies = [
"either",
"swc_visit_macros",
@@ -1453,15 +1466,15 @@ dependencies = [
[[package]]
name = "swc_visit_macros"
-version = "0.5.12"
+version = "0.5.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ae9ef18ff8daffa999f729db056d2821cd2f790f3a11e46422d19f46bb193e7"
+checksum = "92807d840959f39c60ce8a774a3f83e8193c658068e6d270dbe0a05e40e90b41"
dependencies = [
"Inflector",
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.66",
+ "syn 2.0.71",
]
[[package]]
@@ -1477,9 +1490,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.66"
+version = "2.0.71"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c42f3f41a2de00b01c0aaad383c5a45241efc8b2d1eda5661812fda5f3cdcff5"
+checksum = "b146dcf730474b4bcd16c311627b31ede9ab149045db4d6088b3becaea046462"
dependencies = [
"proc-macro2",
"quote",
@@ -1508,29 +1521,29 @@ dependencies = [
[[package]]
name = "thiserror"
-version = "1.0.61"
+version = "1.0.63"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c546c80d6be4bc6a00c0f01730c08df82eaa7a7a61f11d656526506112cc1709"
+checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
-version = "1.0.61"
+version = "1.0.63"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533"
+checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.66",
+ "syn 2.0.71",
]
[[package]]
name = "tinyvec"
-version = "1.6.0"
+version = "1.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50"
+checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938"
dependencies = [
"tinyvec_macros",
]
@@ -1560,7 +1573,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.66",
+ "syn 2.0.71",
]
[[package]]
@@ -1574,9 +1587,9 @@ dependencies = [
[[package]]
name = "triomphe"
-version = "0.1.12"
+version = "0.1.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1b2cb4fbb9995eeb36ac86fadf24031ccd58f99d6b4b2d7b911db70bddb80d90"
+checksum = "e6631e42e10b40c0690bf92f404ebcfe6e1fdb480391d15f17cc8e96eeed5369"
dependencies = [
"serde",
"stable_deref_trait",
@@ -1588,19 +1601,6 @@ 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.6",
- "rustc-hash 1.1.0",
- "serde",
- "serde_json",
-]
-
[[package]]
name = "unicode-bidi"
version = "0.3.15"
@@ -1654,9 +1654,9 @@ checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d"
[[package]]
name = "url"
-version = "2.5.0"
+version = "2.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633"
+checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c"
dependencies = [
"form_urlencoded",
"idna",
@@ -1725,7 +1725,7 @@ version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
dependencies = [
- "windows-targets 0.52.5",
+ "windows-targets 0.52.6",
]
[[package]]
@@ -1745,18 +1745,18 @@ dependencies = [
[[package]]
name = "windows-targets"
-version = "0.52.5"
+version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb"
+checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
dependencies = [
- "windows_aarch64_gnullvm 0.52.5",
- "windows_aarch64_msvc 0.52.5",
- "windows_i686_gnu 0.52.5",
+ "windows_aarch64_gnullvm 0.52.6",
+ "windows_aarch64_msvc 0.52.6",
+ "windows_i686_gnu 0.52.6",
"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",
+ "windows_i686_msvc 0.52.6",
+ "windows_x86_64_gnu 0.52.6",
+ "windows_x86_64_gnullvm 0.52.6",
+ "windows_x86_64_msvc 0.52.6",
]
[[package]]
@@ -1767,9 +1767,9 @@ checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
[[package]]
name = "windows_aarch64_gnullvm"
-version = "0.52.5"
+version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263"
+checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
[[package]]
name = "windows_aarch64_msvc"
@@ -1779,9 +1779,9 @@ checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
[[package]]
name = "windows_aarch64_msvc"
-version = "0.52.5"
+version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6"
+checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
[[package]]
name = "windows_i686_gnu"
@@ -1791,15 +1791,15 @@ checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
[[package]]
name = "windows_i686_gnu"
-version = "0.52.5"
+version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670"
+checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
[[package]]
name = "windows_i686_gnullvm"
-version = "0.52.5"
+version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9"
+checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
[[package]]
name = "windows_i686_msvc"
@@ -1809,9 +1809,9 @@ checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
[[package]]
name = "windows_i686_msvc"
-version = "0.52.5"
+version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf"
+checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
[[package]]
name = "windows_x86_64_gnu"
@@ -1821,9 +1821,9 @@ checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
[[package]]
name = "windows_x86_64_gnu"
-version = "0.52.5"
+version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9"
+checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
[[package]]
name = "windows_x86_64_gnullvm"
@@ -1833,9 +1833,9 @@ checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
[[package]]
name = "windows_x86_64_gnullvm"
-version = "0.52.5"
+version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596"
+checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
[[package]]
name = "windows_x86_64_msvc"
@@ -1845,6 +1845,6 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
[[package]]
name = "windows_x86_64_msvc"
-version = "0.52.5"
+version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0"
+checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
diff --git a/Cargo.toml b/Cargo.toml
index 73ea487..2341ef7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ doctest = false
[dependencies]
oxc = "0.21.0"
-swc_ecma_parser = { version = "0.147.0", features = ["typescript"] }
-swc_ecma_ast = "0.116.0"
+swc_ecma_parser = { version = "0.148.0", features = ["typescript"] }
+swc_ecma_ast = "0.117.1"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
diff --git a/src/lib.rs b/src/lib.rs
index 800c9dc..2e74ecb 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -15,14 +15,14 @@ pub mod swc {
use std::path::Path;
use swc_ecma_ast::Module;
- use swc_ecma_parser::{EsConfig, Parser, StringInput, Syntax, TsConfig};
+ use swc_ecma_parser::{EsSyntax, Parser, StringInput, Syntax, TsSyntax};
pub fn parse(path: &Path, source: &str) -> Module {
let syntax = match path.extension().unwrap().to_str().unwrap() {
- "js" => Syntax::Es(EsConfig::default()),
- "tsx" => Syntax::Typescript(TsConfig {
+ "js" => Syntax::Es(EsSyntax::default()),
+ "tsx" => Syntax::Typescript(TsSyntax {
tsx: true,
- ..TsConfig::default()
+ ..TsSyntax::default()
}),
_ => panic!("need to define syntax for swc"),
};
From ef0ccbb0aa4d72b38a08bc28869d3aa8cbd767f3 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 21 Jul 2024 07:21:55 +0000
Subject: [PATCH 139/385] chore(deps): update rust crate swc_ecma_parser to
0.148.1 (#150)
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 562f3ac..d84d29d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1412,9 +1412,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "0.148.0"
+version = "0.148.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "59627c3704453c1bcb283c51ee161a5acf9988c80f80ef0250743fede0406602"
+checksum = "a8204235f635274dba4adc30c47ac896fd126ddfc53b27210676722423cbb2e7"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index 2341ef7..e34ec63 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.21.0"
-swc_ecma_parser = { version = "0.148.0", features = ["typescript"] }
+swc_ecma_parser = { version = "0.148.1", features = ["typescript"] }
swc_ecma_ast = "0.117.1"
biome_js_parser = "0.5.7"
From b1d00b3593920986c1c170d3cc2c927bef4b93bc Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 21 Jul 2024 13:39:23 +0000
Subject: [PATCH 140/385] chore(deps): update rust crate swc_ecma_ast to
0.117.2 (#151)
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 d84d29d..f55163e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1395,9 +1395,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "0.117.1"
+version = "0.117.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e38921b6626345e680ded83479980b74f9cebee0748dd9ffb8078375e637e5b0"
+checksum = "0c6a4bcf9ea2ce03bc5f12e53aa46ef414fa96e60c4d93abee03051f147c8219"
dependencies = [
"bitflags",
"is-macro",
diff --git a/Cargo.toml b/Cargo.toml
index e34ec63..93a43ee 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -30,7 +30,7 @@ doctest = false
oxc = "0.21.0"
swc_ecma_parser = { version = "0.148.1", features = ["typescript"] }
-swc_ecma_ast = "0.117.1"
+swc_ecma_ast = "0.117.2"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From 3a31216dd9cb1021b7ac057add60bd5a4af9d6ec Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 22 Jul 2024 19:37:17 +0000
Subject: [PATCH 141/385] chore(deps): lock file maintenance (#152)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 49 +++++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 45 insertions(+), 4 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index f55163e..1a2a35c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -27,6 +27,18 @@ version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
+[[package]]
+name = "ahash"
+version = "0.8.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011"
+dependencies = [
+ "cfg-if",
+ "once_cell",
+ "version_check",
+ "zerocopy",
+]
+
[[package]]
name = "aho-corasick"
version = "1.1.3"
@@ -563,6 +575,10 @@ name = "hashbrown"
version = "0.14.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
+dependencies = [
+ "ahash",
+ "allocator-api2",
+]
[[package]]
name = "hermit-abi"
@@ -635,9 +651,12 @@ checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
[[package]]
name = "json-strip-comments"
-version = "1.0.3"
+version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3c554a25d33ecaac85fd8840e90e3ef4e15faac7592b4a9b8953a553d7926c22"
+checksum = "b271732a960335e715b6b2ae66a086f115c74eb97360e996d2bd809bfc063bba"
+dependencies = [
+ "memchr",
+]
[[package]]
name = "lazy_static"
@@ -1346,12 +1365,14 @@ dependencies = [
[[package]]
name = "swc_allocator"
-version = "0.1.7"
+version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "89d080e1df9616d0371e154a5ac9640de97f9fa08486e2abf16482d97dc69017"
+checksum = "adc8bd3075d1c6964010333fae9ddcd91ad422a4f8eb8b3206a9b2b6afb4209e"
dependencies = [
"bumpalo",
+ "hashbrown 0.14.5",
"ptr_meta",
+ "rustc-hash 1.1.0",
"triomphe",
]
@@ -1848,3 +1869,23 @@ name = "windows_x86_64_msvc"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
+
+[[package]]
+name = "zerocopy"
+version = "0.7.35"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
+dependencies = [
+ "zerocopy-derive",
+]
+
+[[package]]
+name = "zerocopy-derive"
+version = "0.7.35"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.71",
+]
From c249cfc373573f5059e284dff2138428403f0169 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 24 Jul 2024 04:04:27 +0000
Subject: [PATCH 142/385] chore(deps): update rust crate swc_ecma_ast to
0.117.3 (#153)
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 1a2a35c..87643b5 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1416,9 +1416,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "0.117.2"
+version = "0.117.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c6a4bcf9ea2ce03bc5f12e53aa46ef414fa96e60c4d93abee03051f147c8219"
+checksum = "3e48ecdb3036c7f424623f178c4552286779289f3e09de687ebc0dbe11b122cc"
dependencies = [
"bitflags",
"is-macro",
diff --git a/Cargo.toml b/Cargo.toml
index 93a43ee..948b53f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -30,7 +30,7 @@ doctest = false
oxc = "0.21.0"
swc_ecma_parser = { version = "0.148.1", features = ["typescript"] }
-swc_ecma_ast = "0.117.2"
+swc_ecma_ast = "0.117.3"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From 1243c8bf8433c96d0e3b5c365e36a25b80262038 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 24 Jul 2024 07:21:46 +0000
Subject: [PATCH 143/385] chore(deps): update rust crate oxc to 0.22.0 (#154)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 36 ++++++++++++++++++------------------
Cargo.toml | 2 +-
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 87643b5..5a6154b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -822,9 +822,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]]
name = "oxc"
-version = "0.21.0"
+version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "48b37a2f96401186cd669de8b90c9e0f026f3b1f0ae8da598d0b59bcc18d635a"
+checksum = "754c8fa90df7875f5b4b2a17dcceeb81009f4ec2257ff2baa429804e568ff4cf"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -837,9 +837,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.21.0"
+version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2969df9624a9ce85a4dcc74b9306da0750245f3edbf5d188966ce9ba21f1df09"
+checksum = "c7e7b1858755555fd3a600b453d142cd3fae33b8b6262729fc286a1ae36ade5e"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -847,9 +847,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.21.0"
+version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f5bd24669af44316b9e9132298779b16d811ca2b2c50e6977119f0c12b74a70b"
+checksum = "3a155e8ac7d91e745a529def14456bb339a48afde3c1af37462a93201cef1899"
dependencies = [
"bitflags",
"num-bigint",
@@ -861,15 +861,15 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.21.0"
+version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5719d91d173521f09acdb3ae334311721e132e69d7ab165d124d5e54379a63ea"
+checksum = "4751921819368c33939d442dac82de0b9a3e6dc77f47c3075d34dcd59f5eb661"
[[package]]
name = "oxc_diagnostics"
-version = "0.21.0"
+version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "04752949830fd48859db58f0a9be78e426f4645be60889a3b0162eb0852b5269"
+checksum = "2e3afefc5ea75439dd740b4032a765f86f41c2f2d5765dabfd2a72f4a2c8fcc0"
dependencies = [
"miette",
"owo-colors",
@@ -879,15 +879,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.21.0"
+version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5d38dcb7b8fe88315624afd7f0e365a7a8b368603eeb831ea6ec09bc6e1aba91"
+checksum = "da26f52ef092ca200d009c838eab9c3cb0aa8784e0accc7c909ed232bab52356"
[[package]]
name = "oxc_parser"
-version = "0.21.0"
+version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aa459e79ce12fb2acaa1fba84d2fd336b53f61e49842861d4ed0f89cd21b27ae"
+checksum = "958e0fb7424855f6f1b5b88525a6909a9e7c97540db87707b5ac215caa022852"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -923,9 +923,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.21.0"
+version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b11fa157032cc8abb0e0cf4e2632e3e16f923c637b21a8486d4b007fb96ea14e"
+checksum = "0ab4d5ac5a9950042c0f18ae3833d36a3ab60f1daa07b055d2a18666f228228c"
dependencies = [
"compact_str",
"miette",
@@ -934,9 +934,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.21.0"
+version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1f4ec18e5df6f721f0cdc04eb616bd02fbbd0afe111e7310cfadd5c2b3905b72"
+checksum = "f1a73438a3236ed3074001e24f69277392bc88440787f2c71df17d902d10f282"
dependencies = [
"bitflags",
"dashmap",
diff --git a/Cargo.toml b/Cargo.toml
index 948b53f..691a55a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.21.0"
+oxc = "0.22.0"
swc_ecma_parser = { version = "0.148.1", features = ["typescript"] }
swc_ecma_ast = "0.117.3"
From 6be6042711055e9cb4e30d21bfb1e95aa12838c7 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 25 Jul 2024 11:57:12 +0000
Subject: [PATCH 144/385] chore(deps): update rust crate swc_ecma_ast to
0.117.4 (#155)
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 5a6154b..b675075 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1416,9 +1416,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "0.117.3"
+version = "0.117.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3e48ecdb3036c7f424623f178c4552286779289f3e09de687ebc0dbe11b122cc"
+checksum = "a5da2f0310e8cd84b8c803095e75b2cbca872c71fc7f7404d4c9c8117d894960"
dependencies = [
"bitflags",
"is-macro",
diff --git a/Cargo.toml b/Cargo.toml
index 691a55a..2d7e451 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -30,7 +30,7 @@ doctest = false
oxc = "0.22.0"
swc_ecma_parser = { version = "0.148.1", features = ["typescript"] }
-swc_ecma_ast = "0.117.3"
+swc_ecma_ast = "0.117.4"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From 78fc52656063adc33f3ccd5a2534e92908fc1039 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 25 Jul 2024 20:46:03 +0000
Subject: [PATCH 145/385] chore(deps): update dependency rust to v1.80.0 (#156)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
rust-toolchain.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
index 6e1e26b..9fd5b08 100644
--- a/rust-toolchain.toml
+++ b/rust-toolchain.toml
@@ -1,3 +1,3 @@
[toolchain]
-channel = "1.79.0"
+channel = "1.80.0"
profile = "minimal"
From cd9909f8ccfe8e7fcc6852ce10f6d14b827c75e7 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 28 Jul 2024 04:54:00 +0000
Subject: [PATCH 146/385] chore(deps): update rust crate oxc to 0.22.1 (#157)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 43 +++++++++++++++++++++++++------------------
Cargo.toml | 2 +-
2 files changed, 26 insertions(+), 19 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index b675075..e4fc69a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -754,6 +754,12 @@ version = "1.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086"
+[[package]]
+name = "nonmax"
+version = "0.5.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "610a5acd306ec67f907abe5567859a3c693fb9886eb1f012ab8f2a47bef3db51"
+
[[package]]
name = "num-bigint"
version = "0.4.6"
@@ -822,9 +828,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]]
name = "oxc"
-version = "0.22.0"
+version = "0.22.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "754c8fa90df7875f5b4b2a17dcceeb81009f4ec2257ff2baa429804e568ff4cf"
+checksum = "adc699e7f88ea7d1cca74efcc4220ce820251a4af1df07531d461ad2c28663da"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -837,9 +843,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.22.0"
+version = "0.22.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c7e7b1858755555fd3a600b453d142cd3fae33b8b6262729fc286a1ae36ade5e"
+checksum = "d13ede3c9a61af2e332001f8e67be54b7607df9c373996c94da6976efba49122"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -847,9 +853,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.22.0"
+version = "0.22.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3a155e8ac7d91e745a529def14456bb339a48afde3c1af37462a93201cef1899"
+checksum = "5046087d4fab69a6fc1f15668186b391a1387f207557d38dd6881eb12660c269"
dependencies = [
"bitflags",
"num-bigint",
@@ -861,15 +867,15 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.22.0"
+version = "0.22.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4751921819368c33939d442dac82de0b9a3e6dc77f47c3075d34dcd59f5eb661"
+checksum = "8d7b8dbb7a3c8b5b7900aec7d108fe5d0343466e8329173c93af9321ab84fb9a"
[[package]]
name = "oxc_diagnostics"
-version = "0.22.0"
+version = "0.22.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2e3afefc5ea75439dd740b4032a765f86f41c2f2d5765dabfd2a72f4a2c8fcc0"
+checksum = "48bff61a24cf90580dece1f2d004bd76cfcf37745035950ba0d9a5c7608bb68c"
dependencies = [
"miette",
"owo-colors",
@@ -879,15 +885,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.22.0"
+version = "0.22.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "da26f52ef092ca200d009c838eab9c3cb0aa8784e0accc7c909ed232bab52356"
+checksum = "25d04d5746cd2616b79ea741cc5a695ac1b797bb2e576fcc044f5cda9ba314cd"
[[package]]
name = "oxc_parser"
-version = "0.22.0"
+version = "0.22.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "958e0fb7424855f6f1b5b88525a6909a9e7c97540db87707b5ac215caa022852"
+checksum = "dba92420b066218b244f2856af5af8aa4ba215a5780105915ecf0f5b88bb2ea7"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -923,9 +929,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.22.0"
+version = "0.22.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ab4d5ac5a9950042c0f18ae3833d36a3ab60f1daa07b055d2a18666f228228c"
+checksum = "390f25de067cef1c993dedc5deefaa7f20acd9cac73a50f3744c8f68ad779218"
dependencies = [
"compact_str",
"miette",
@@ -934,12 +940,13 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.22.0"
+version = "0.22.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f1a73438a3236ed3074001e24f69277392bc88440787f2c71df17d902d10f282"
+checksum = "fe2f97996eb9126d75242aeda761640407497925107d09c9872aa92c6c5566de"
dependencies = [
"bitflags",
"dashmap",
+ "nonmax",
"oxc_index",
"oxc_span",
"phf",
diff --git a/Cargo.toml b/Cargo.toml
index 2d7e451..8abdbd7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.22.0"
+oxc = "0.22.1"
swc_ecma_parser = { version = "0.148.1", features = ["typescript"] }
swc_ecma_ast = "0.117.4"
From cc895ca27e247571f23cb357459218d6365864a9 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 29 Jul 2024 20:02:12 +0000
Subject: [PATCH 147/385] chore(deps): lock file maintenance (#159)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 122 +++++++++++++++--------------------------------------
1 file changed, 33 insertions(+), 89 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index e4fc69a..3b47db3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -7,10 +7,6 @@ name = "Inflector"
version = "0.11.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3"
-dependencies = [
- "lazy_static",
- "regex",
-]
[[package]]
name = "addr2line"
@@ -39,15 +35,6 @@ dependencies = [
"zerocopy",
]
-[[package]]
-name = "aho-corasick"
-version = "1.1.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
-dependencies = [
- "memchr",
-]
-
[[package]]
name = "allocator-api2"
version = "0.2.18"
@@ -75,7 +62,7 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.71",
+ "syn 2.0.72",
]
[[package]]
@@ -316,18 +303,18 @@ checksum = "9a8d5b11f7fa1068e5bbac8ab6c8c2c6940047f69185987446b60c995d4bf89c"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.71",
+ "syn 2.0.72",
]
[[package]]
name = "bstr"
-version = "0.2.17"
+version = "1.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223"
+checksum = "40723b8fb387abc38f4f4a37c09073622e41dd12327033091ef8950659e6dc0c"
dependencies = [
- "lazy_static",
"memchr",
- "regex-automata 0.1.10",
+ "regex-automata",
+ "serde",
]
[[package]]
@@ -545,7 +532,7 @@ checksum = "32016f1242eb82af5474752d00fd8ebcd9004bd69b462b1c91de833972d08ed4"
dependencies = [
"proc-macro2",
"swc_macros_common",
- "syn 2.0.71",
+ "syn 2.0.72",
]
[[package]]
@@ -640,7 +627,7 @@ dependencies = [
"Inflector",
"proc-macro2",
"quote",
- "syn 2.0.71",
+ "syn 2.0.72",
]
[[package]]
@@ -727,7 +714,7 @@ checksum = "dcf09caffaac8068c346b6df2a7fc27a177fd20b39421a39ce0a211bde679a6c"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.71",
+ "syn 2.0.72",
]
[[package]]
@@ -801,9 +788,9 @@ dependencies = [
[[package]]
name = "object"
-version = "0.36.1"
+version = "0.36.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "081b846d1d56ddfc18fdf1a922e4f6e07a11768ea1b92dec44e42b72712ccfce"
+checksum = "3f203fa8daa7bb185f760ae12bd8e097f63d17041dcdcaf675ac54cdf863170e"
dependencies = [
"memchr",
]
@@ -1003,7 +990,7 @@ dependencies = [
"phf_shared",
"proc-macro2",
"quote",
- "syn 2.0.71",
+ "syn 2.0.72",
]
[[package]]
@@ -1135,40 +1122,11 @@ dependencies = [
"bitflags",
]
-[[package]]
-name = "regex"
-version = "1.10.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b91213439dad192326a0d7c6ee3955910425f441d7038e0d6933b0aec5c4517f"
-dependencies = [
- "aho-corasick",
- "memchr",
- "regex-automata 0.4.7",
- "regex-syntax",
-]
-
-[[package]]
-name = "regex-automata"
-version = "0.1.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
-
[[package]]
name = "regex-automata"
version = "0.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df"
-dependencies = [
- "aho-corasick",
- "memchr",
- "regex-syntax",
-]
-
-[[package]]
-name = "regex-syntax"
-version = "0.8.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b"
[[package]]
name = "rustc-demangle"
@@ -1230,7 +1188,7 @@ dependencies = [
"proc-macro2",
"quote",
"serde_derive_internals",
- "syn 2.0.71",
+ "syn 2.0.72",
]
[[package]]
@@ -1268,7 +1226,7 @@ checksum = "e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.71",
+ "syn 2.0.72",
]
[[package]]
@@ -1279,7 +1237,7 @@ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.71",
+ "syn 2.0.72",
]
[[package]]
@@ -1296,9 +1254,9 @@ dependencies = [
[[package]]
name = "similar"
-version = "2.5.0"
+version = "2.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa42c91313f1d05da9b26f267f931cf178d4aba455b4c4622dd7355eb80c6640"
+checksum = "1de1d4f81173b03af4c0cbed3c898f6bff5b870e4a7f5d6f4057d62a7a4b686e"
dependencies = [
"bstr",
"unicode-segmentation",
@@ -1367,7 +1325,7 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.71",
+ "syn 2.0.72",
]
[[package]]
@@ -1397,9 +1355,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "0.36.1"
+version = "0.36.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0df62b0d102ecd81cf9093ef48303289e9a7dae0311f8e64b5345e5fe3e48565"
+checksum = "1802b1642488aec58597dc55ea88992c165660d6e44e9838d4d93f7b78ab95f3"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1468,41 +1426,27 @@ checksum = "63db0adcff29d220c3d151c5b25c0eabe7e32dd936212b84cdaa1392e3130497"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.71",
+ "syn 2.0.72",
]
[[package]]
name = "swc_macros_common"
-version = "0.3.12"
+version = "0.3.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "378577b6caa62da3a206e8f91ebba501ed03b3f719c493ccc28fca8b3f1f4b6b"
+checksum = "f486687bfb7b5c560868f69ed2d458b880cebc9babebcb67e49f31b55c5bf847"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.71",
+ "syn 2.0.72",
]
[[package]]
name = "swc_visit"
-version = "0.6.0"
+version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "52e2acde04c355dc8ffd62c56f263ba61a94b5c6d21ce2cdeaf857b5d74451a6"
+checksum = "2e194d14f94121fd08b823d3379eedb3ce455785d9e0c3d2742c59377e283207"
dependencies = [
"either",
- "swc_visit_macros",
-]
-
-[[package]]
-name = "swc_visit_macros"
-version = "0.5.13"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "92807d840959f39c60ce8a774a3f83e8193c658068e6d270dbe0a05e40e90b41"
-dependencies = [
- "Inflector",
- "proc-macro2",
- "quote",
- "swc_macros_common",
- "syn 2.0.71",
]
[[package]]
@@ -1518,9 +1462,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.71"
+version = "2.0.72"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b146dcf730474b4bcd16c311627b31ede9ab149045db4d6088b3becaea046462"
+checksum = "dc4b9b9bf2add8093d3f2c0204471e951b2285580335de42f9d2534f3ae7a8af"
dependencies = [
"proc-macro2",
"quote",
@@ -1564,7 +1508,7 @@ checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.71",
+ "syn 2.0.72",
]
[[package]]
@@ -1601,7 +1545,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.71",
+ "syn 2.0.72",
]
[[package]]
@@ -1693,9 +1637,9 @@ dependencies = [
[[package]]
name = "version_check"
-version = "0.9.4"
+version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
+checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
[[package]]
name = "walkdir"
@@ -1894,5 +1838,5 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.71",
+ "syn 2.0.72",
]
From f73fdb99f336d9d6b6193f8288696be0a2ddbaea Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 30 Jul 2024 18:39:55 +0800
Subject: [PATCH 148/385] chore(deps): update codspeedhq/action action to v3
(#158)
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 7b1131b..6bedf7a 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -36,7 +36,7 @@ jobs:
run: cargo codspeed build --features codspeed
- name: Run benchmark
- uses: CodSpeedHQ/action@v2
+ uses: CodSpeedHQ/action@v3
with:
run: cargo codspeed run
token: ${{ secrets.CODSPEED_TOKEN }}
From 40a21eaa24df5329db5b93b923f2613fc4caa4a1 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 1 Aug 2024 11:01:38 +0000
Subject: [PATCH 149/385] chore(deps): update rust crate oxc to 0.23.0 (#161)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 36 ++++++++++++++++++------------------
Cargo.toml | 2 +-
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 3b47db3..1f0eb15 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -815,9 +815,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]]
name = "oxc"
-version = "0.22.1"
+version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "adc699e7f88ea7d1cca74efcc4220ce820251a4af1df07531d461ad2c28663da"
+checksum = "343ce23f4ee2c0d5909858f7a8cb92d698a5279f2ae5b9b2eaa7df0093972e01"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -830,9 +830,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.22.1"
+version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d13ede3c9a61af2e332001f8e67be54b7607df9c373996c94da6976efba49122"
+checksum = "ce3c5442368a2b966a045e2499fb1075c2470abc91c7f4cc4bd8fb369c144e78"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -840,9 +840,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.22.1"
+version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5046087d4fab69a6fc1f15668186b391a1387f207557d38dd6881eb12660c269"
+checksum = "7344994aaed32a9037445306859060af8f847ad1f7614fe230fd2b2cede706a9"
dependencies = [
"bitflags",
"num-bigint",
@@ -854,15 +854,15 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.22.1"
+version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8d7b8dbb7a3c8b5b7900aec7d108fe5d0343466e8329173c93af9321ab84fb9a"
+checksum = "ddad3c266984a2d4fea57b6ba5c084e8d52272d20aa64c58a43d5a56a25abdd7"
[[package]]
name = "oxc_diagnostics"
-version = "0.22.1"
+version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "48bff61a24cf90580dece1f2d004bd76cfcf37745035950ba0d9a5c7608bb68c"
+checksum = "ad5047e1b455b485c6e5fe8e064367ad59fec544ae25e0941b511463d9f00a02"
dependencies = [
"miette",
"owo-colors",
@@ -872,15 +872,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.22.1"
+version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "25d04d5746cd2616b79ea741cc5a695ac1b797bb2e576fcc044f5cda9ba314cd"
+checksum = "9489194fc5a6a630c57d70c9b8b5f5ced42a027479d498dd39f39e9ffd4d5ff3"
[[package]]
name = "oxc_parser"
-version = "0.22.1"
+version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dba92420b066218b244f2856af5af8aa4ba215a5780105915ecf0f5b88bb2ea7"
+checksum = "f404606ed235f1ef9d3cb18dd4d9e0ab14c646f23f79e9f61ee1fffe004c101f"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -916,9 +916,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.22.1"
+version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "390f25de067cef1c993dedc5deefaa7f20acd9cac73a50f3744c8f68ad779218"
+checksum = "4754789169acb508592992125a9f8aae5144064860aee4df7f5df0dd5bad06f8"
dependencies = [
"compact_str",
"miette",
@@ -927,9 +927,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.22.1"
+version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fe2f97996eb9126d75242aeda761640407497925107d09c9872aa92c6c5566de"
+checksum = "ec22d3faf4556dc3238644e80e91e8307516f64c769df9487afbc8be59af1e83"
dependencies = [
"bitflags",
"dashmap",
diff --git a/Cargo.toml b/Cargo.toml
index 8abdbd7..adfa5bb 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.22.1"
+oxc = "0.23.0"
swc_ecma_parser = { version = "0.148.1", features = ["typescript"] }
swc_ecma_ast = "0.117.4"
From a9b9c3a911ccb421fc441e0c06315143d2861ad0 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 5 Aug 2024 09:53:55 +0000
Subject: [PATCH 150/385] chore(deps): update swc (#160)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 12 ++++++------
Cargo.toml | 4 ++--
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 1f0eb15..060dce9 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1355,9 +1355,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "0.36.2"
+version = "0.37.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1802b1642488aec58597dc55ea88992c165660d6e44e9838d4d93f7b78ab95f3"
+checksum = "7200144c1d0b4b10c5b9057c3924365728da9e224f910ccaeabca6b573a6bd6a"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1381,9 +1381,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "0.117.4"
+version = "0.118.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a5da2f0310e8cd84b8c803095e75b2cbca872c71fc7f7404d4c9c8117d894960"
+checksum = "d28b2b3ac8af922e693ee784881b2a32ca4604e1088072b66116003c225a44d9"
dependencies = [
"bitflags",
"is-macro",
@@ -1398,9 +1398,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "0.148.1"
+version = "0.149.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a8204235f635274dba4adc30c47ac896fd126ddfc53b27210676722423cbb2e7"
+checksum = "7c7a81df222f44212c72fec4879c0d182c6eac66fb0e180afd05e8be6d920663"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index adfa5bb..4954dce 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ doctest = false
[dependencies]
oxc = "0.23.0"
-swc_ecma_parser = { version = "0.148.1", features = ["typescript"] }
-swc_ecma_ast = "0.117.4"
+swc_ecma_parser = { version = "0.149.0", features = ["typescript"] }
+swc_ecma_ast = "0.118.0"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From 7803d7653e341525d60873243bd944aad72afd74 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 6 Aug 2024 11:14:22 +0000
Subject: [PATCH 151/385] chore(deps): update rust crate oxc to 0.23.1 (#162)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 41 +++++++++++++++++++++++------------------
Cargo.toml | 2 +-
2 files changed, 24 insertions(+), 19 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 060dce9..7dbe6e1 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -815,9 +815,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]]
name = "oxc"
-version = "0.23.0"
+version = "0.23.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "343ce23f4ee2c0d5909858f7a8cb92d698a5279f2ae5b9b2eaa7df0093972e01"
+checksum = "5c78369e5fa792c78c1c93f869099b27e7d408d157293a49e23df6a74f642ac6"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -830,9 +830,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.23.0"
+version = "0.23.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ce3c5442368a2b966a045e2499fb1075c2470abc91c7f4cc4bd8fb369c144e78"
+checksum = "0222635617c93d6b8cf04931d33f865af48f092219bd3a5748a0a10aadba3357"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -840,9 +840,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.23.0"
+version = "0.23.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7344994aaed32a9037445306859060af8f847ad1f7614fe230fd2b2cede706a9"
+checksum = "dda87402f7d35680d090063de0b5b092eda60ea2d70aa6d5fae74bc5537e4f22"
dependencies = [
"bitflags",
"num-bigint",
@@ -854,15 +854,20 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.23.0"
+version = "0.23.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ddad3c266984a2d4fea57b6ba5c084e8d52272d20aa64c58a43d5a56a25abdd7"
+checksum = "e864ddc3bc3bcc12b2de8c9b9c1c51dfa1a6dd9a6f35d22e91f58753d42ae342"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.72",
+]
[[package]]
name = "oxc_diagnostics"
-version = "0.23.0"
+version = "0.23.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ad5047e1b455b485c6e5fe8e064367ad59fec544ae25e0941b511463d9f00a02"
+checksum = "ad620eda707d87b229a596b87dc00f6fdde4a63717402be391ffba78265f6490"
dependencies = [
"miette",
"owo-colors",
@@ -872,15 +877,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.23.0"
+version = "0.23.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9489194fc5a6a630c57d70c9b8b5f5ced42a027479d498dd39f39e9ffd4d5ff3"
+checksum = "db5ab95d149e6e24790ee9a37dfb4b9926ce3585e4c7da3ad8be0182081b9d30"
[[package]]
name = "oxc_parser"
-version = "0.23.0"
+version = "0.23.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f404606ed235f1ef9d3cb18dd4d9e0ab14c646f23f79e9f61ee1fffe004c101f"
+checksum = "2af6dc7cfa5fc66fb142a594c5f3f2de4d4abb3a219ecd81e0a1a0f9c10d2d90"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -916,9 +921,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.23.0"
+version = "0.23.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4754789169acb508592992125a9f8aae5144064860aee4df7f5df0dd5bad06f8"
+checksum = "e11728a24c5e0219c0f93b633e8cf472f4963635911de6bece7ec663c762099f"
dependencies = [
"compact_str",
"miette",
@@ -927,9 +932,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.23.0"
+version = "0.23.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec22d3faf4556dc3238644e80e91e8307516f64c769df9487afbc8be59af1e83"
+checksum = "0524ebb94bb558a6d20b2f00b80967162ed0221137c6e6758232145798f9836c"
dependencies = [
"bitflags",
"dashmap",
diff --git a/Cargo.toml b/Cargo.toml
index 4954dce..c40f65f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.23.0"
+oxc = "0.23.1"
swc_ecma_parser = { version = "0.149.0", features = ["typescript"] }
swc_ecma_ast = "0.118.0"
From 820cee4f0888ff07d383a25557586be1a758e5bc Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 7 Aug 2024 18:13:56 +0000
Subject: [PATCH 152/385] chore(deps): lock file maintenance (#163)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 35 ++++++++++++++++++-----------------
1 file changed, 18 insertions(+), 17 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 7dbe6e1..5584a3b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -343,9 +343,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.1.6"
+version = "1.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2aba8f4e9906c7ce3c73463f62a7f0c65183ada1a2d47e397cc8810827f9694f"
+checksum = "26a5c3fd7bfa1ce3897a3a3501d362b2d87b7f2583ebcb4a949ec25911025cbc"
[[package]]
name = "cfg-if"
@@ -493,9 +493,9 @@ checksum = "9bda8e21c04aca2ae33ffc2fd8c23134f3cac46db123ba97bd9d3f3b8a4a85e1"
[[package]]
name = "dunce"
-version = "1.0.4"
+version = "1.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b"
+checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
[[package]]
name = "dyn-clone"
@@ -609,9 +609,9 @@ dependencies = [
[[package]]
name = "indexmap"
-version = "2.2.6"
+version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26"
+checksum = "de3fc2e30ba82dd1b3911c8de1ffc143c74a914a14e99514d7637e3099df5ea0"
dependencies = [
"equivalent",
"hashbrown 0.14.5",
@@ -909,7 +909,7 @@ checksum = "b5f862ee8e1ba728378ac7e007de195ae00fbb21337ef152380c052cc07e2ee2"
dependencies = [
"dashmap",
"dunce",
- "indexmap 2.2.6",
+ "indexmap 2.3.0",
"json-strip-comments",
"once_cell",
"rustc-hash 2.0.0",
@@ -1247,12 +1247,13 @@ dependencies = [
[[package]]
name = "serde_json"
-version = "1.0.120"
+version = "1.0.122"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4e0d21c9a8cae1235ad58a00c11cb40d4b1e5c784f1ef2c537876ed6ffd8b7c5"
+checksum = "784b6203951c57ff748476b126ccb5e8e2959a5c19e5c617ab1956be3dbc68da"
dependencies = [
- "indexmap 2.2.6",
+ "indexmap 2.3.0",
"itoa",
+ "memchr",
"ryu",
"serde",
]
@@ -1360,9 +1361,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "0.37.0"
+version = "0.37.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7200144c1d0b4b10c5b9057c3924365728da9e224f910ccaeabca6b573a6bd6a"
+checksum = "c4d6c716bb706926e22edc992565c98a8f00c0cfa983e97f525f473f9ce2f93f"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1674,11 +1675,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
[[package]]
name = "winapi-util"
-version = "0.1.8"
+version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b"
+checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
dependencies = [
- "windows-sys 0.52.0",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -1698,9 +1699,9 @@ dependencies = [
[[package]]
name = "windows-sys"
-version = "0.52.0"
+version = "0.59.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
+checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
dependencies = [
"windows-targets 0.52.6",
]
From 64812555cc8ea16be5a47d29d4e2030fd194cab6 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 8 Aug 2024 09:22:14 +0000
Subject: [PATCH 153/385] chore(deps): update rust crate oxc to 0.24.0 (#164)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 39 +++++++++++++++++++++------------------
Cargo.toml | 2 +-
2 files changed, 22 insertions(+), 19 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 5584a3b..b8a8cbb 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -815,9 +815,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]]
name = "oxc"
-version = "0.23.1"
+version = "0.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c78369e5fa792c78c1c93f869099b27e7d408d157293a49e23df6a74f642ac6"
+checksum = "921210f69474a65b3a9d26b3520fcff2d056224f784cd2adc70a6d979dd809aa"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -830,9 +830,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.23.1"
+version = "0.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0222635617c93d6b8cf04931d33f865af48f092219bd3a5748a0a10aadba3357"
+checksum = "bf56669b84958d483bbd296b3b2e4fc0d4c4a9c0953dc8ba5834a56d756907c9"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -840,9 +840,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.23.1"
+version = "0.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dda87402f7d35680d090063de0b5b092eda60ea2d70aa6d5fae74bc5537e4f22"
+checksum = "24e81e91ab3bd480b34cf435d4fbbb9278a08ef76a9f99cdf1ce8c4df68333f8"
dependencies = [
"bitflags",
"num-bigint",
@@ -854,9 +854,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.23.1"
+version = "0.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e864ddc3bc3bcc12b2de8c9b9c1c51dfa1a6dd9a6f35d22e91f58753d42ae342"
+checksum = "ca3d3f75136e7c263112bbe781c442cf573e29e00ea8cde3f7b25917e9bf4dff"
dependencies = [
"proc-macro2",
"quote",
@@ -865,9 +865,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.23.1"
+version = "0.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ad620eda707d87b229a596b87dc00f6fdde4a63717402be391ffba78265f6490"
+checksum = "bdb43e4ecfef9c27d7a2899b4fcea86f0c6376c2c0f7de678b929740b3a035c0"
dependencies = [
"miette",
"owo-colors",
@@ -877,15 +877,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.23.1"
+version = "0.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db5ab95d149e6e24790ee9a37dfb4b9926ce3585e4c7da3ad8be0182081b9d30"
+checksum = "529ae8c89ff70c29dabc30dd352892dc99cef4b5c38b4789c30d08f7b6d8f240"
[[package]]
name = "oxc_parser"
-version = "0.23.1"
+version = "0.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2af6dc7cfa5fc66fb142a594c5f3f2de4d4abb3a219ecd81e0a1a0f9c10d2d90"
+checksum = "93c01f9cad727fd01459f3936cd81792962345e26ebc5fcfbbe307f98be8004c"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -921,24 +921,27 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.23.1"
+version = "0.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e11728a24c5e0219c0f93b633e8cf472f4963635911de6bece7ec663c762099f"
+checksum = "c9fead43f4a8429e9cded8996f23360ea72f8fe0f5a7399108ac7f70491e0647"
dependencies = [
"compact_str",
"miette",
"oxc_allocator",
+ "oxc_ast_macros",
]
[[package]]
name = "oxc_syntax"
-version = "0.23.1"
+version = "0.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0524ebb94bb558a6d20b2f00b80967162ed0221137c6e6758232145798f9836c"
+checksum = "1c2a454a9cdad75b7aa3284f36c96313f3567833776f56255a585dbe744165f1"
dependencies = [
"bitflags",
"dashmap",
"nonmax",
+ "oxc_allocator",
+ "oxc_ast_macros",
"oxc_index",
"oxc_span",
"phf",
diff --git a/Cargo.toml b/Cargo.toml
index c40f65f..58fe8cb 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.23.1"
+oxc = "0.24.0"
swc_ecma_parser = { version = "0.149.0", features = ["typescript"] }
swc_ecma_ast = "0.118.0"
From 40b07c69c29e8a861007ca68c8dc6ba330e28299 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 10 Aug 2024 08:12:08 +0000
Subject: [PATCH 154/385] chore(deps): update rust crate oxc to 0.24.1 (#165)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 36 ++++++++++++++++++------------------
Cargo.toml | 2 +-
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index b8a8cbb..f0862a6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -815,9 +815,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]]
name = "oxc"
-version = "0.24.0"
+version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "921210f69474a65b3a9d26b3520fcff2d056224f784cd2adc70a6d979dd809aa"
+checksum = "b76a2a5e8bd888cd49d64318c9bb4ee7cb770eeec7fbbb079d79102f63d84117"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -830,9 +830,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.24.0"
+version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bf56669b84958d483bbd296b3b2e4fc0d4c4a9c0953dc8ba5834a56d756907c9"
+checksum = "048a099a555ade60f39810643ce35cc7837993eb40f6117e559b94b20b530d3b"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -840,9 +840,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.24.0"
+version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "24e81e91ab3bd480b34cf435d4fbbb9278a08ef76a9f99cdf1ce8c4df68333f8"
+checksum = "786337ec2df7d597b4d768aa0db43570e558cc8cd9f60223c8f17c29aa909ba4"
dependencies = [
"bitflags",
"num-bigint",
@@ -854,9 +854,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.24.0"
+version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ca3d3f75136e7c263112bbe781c442cf573e29e00ea8cde3f7b25917e9bf4dff"
+checksum = "486c97ca86af68d99440b031598b23117841e86a301d538ed07efbd626fb2e76"
dependencies = [
"proc-macro2",
"quote",
@@ -865,9 +865,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.24.0"
+version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bdb43e4ecfef9c27d7a2899b4fcea86f0c6376c2c0f7de678b929740b3a035c0"
+checksum = "aadae614318f64601d0e786c4336591357af0361526047fd0276a3a7f2ca2a29"
dependencies = [
"miette",
"owo-colors",
@@ -877,15 +877,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.24.0"
+version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "529ae8c89ff70c29dabc30dd352892dc99cef4b5c38b4789c30d08f7b6d8f240"
+checksum = "b20b68c61999dc80a3060ac0de61fc49a3b4f44c6d5eebcda51cbd103bf4fad8"
[[package]]
name = "oxc_parser"
-version = "0.24.0"
+version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93c01f9cad727fd01459f3936cd81792962345e26ebc5fcfbbe307f98be8004c"
+checksum = "63df195ba59c007cfa9910dd8ed06375fec5dcbac9ac1c3b2283934d66ff3f2d"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -921,9 +921,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.24.0"
+version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c9fead43f4a8429e9cded8996f23360ea72f8fe0f5a7399108ac7f70491e0647"
+checksum = "e40cfb892d596d0dff2ea2ca6f932c79293506a54f71624c28d2e346cb54d294"
dependencies = [
"compact_str",
"miette",
@@ -933,9 +933,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.24.0"
+version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1c2a454a9cdad75b7aa3284f36c96313f3567833776f56255a585dbe744165f1"
+checksum = "501190ab2f9f3ab1ec283c63ef67825b0dd69326590b7fd1b8130dc0fe622ff3"
dependencies = [
"bitflags",
"dashmap",
diff --git a/Cargo.toml b/Cargo.toml
index 58fe8cb..bad3435 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.24.0"
+oxc = "0.24.1"
swc_ecma_parser = { version = "0.149.0", features = ["typescript"] }
swc_ecma_ast = "0.118.0"
From e1fdd929faa58aa577e35cb356cfef06e58d086d Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 12 Aug 2024 07:43:27 +0000
Subject: [PATCH 155/385] chore(deps): update rust crate swc_ecma_ast to
0.118.1 (#166)
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 f0862a6..9232cde 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1390,9 +1390,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "0.118.0"
+version = "0.118.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d28b2b3ac8af922e693ee784881b2a32ca4604e1088072b66116003c225a44d9"
+checksum = "ed6c1b94abbaf080a4e4ae47101a83d4eedef90d733dd98e32b361356d3f5e4b"
dependencies = [
"bitflags",
"is-macro",
diff --git a/Cargo.toml b/Cargo.toml
index bad3435..ab71156 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -30,7 +30,7 @@ doctest = false
oxc = "0.24.1"
swc_ecma_parser = { version = "0.149.0", features = ["typescript"] }
-swc_ecma_ast = "0.118.0"
+swc_ecma_ast = "0.118.1"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From ab1dce0512628f847e44245a2c5b0df2fa9d9fe6 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 12 Aug 2024 11:42:14 +0000
Subject: [PATCH 156/385] chore(deps): update rust crate oxc to 0.24.2 (#167)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 72 +++++++++++++++++++++++++++---------------------------
Cargo.toml | 2 +-
2 files changed, 37 insertions(+), 37 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 9232cde..7e1c41a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -62,7 +62,7 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.72",
+ "syn 2.0.74",
]
[[package]]
@@ -303,7 +303,7 @@ checksum = "9a8d5b11f7fa1068e5bbac8ab6c8c2c6940047f69185987446b60c995d4bf89c"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.72",
+ "syn 2.0.74",
]
[[package]]
@@ -532,7 +532,7 @@ checksum = "32016f1242eb82af5474752d00fd8ebcd9004bd69b462b1c91de833972d08ed4"
dependencies = [
"proc-macro2",
"swc_macros_common",
- "syn 2.0.72",
+ "syn 2.0.74",
]
[[package]]
@@ -627,7 +627,7 @@ dependencies = [
"Inflector",
"proc-macro2",
"quote",
- "syn 2.0.72",
+ "syn 2.0.74",
]
[[package]]
@@ -714,7 +714,7 @@ checksum = "dcf09caffaac8068c346b6df2a7fc27a177fd20b39421a39ce0a211bde679a6c"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.72",
+ "syn 2.0.74",
]
[[package]]
@@ -815,9 +815,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]]
name = "oxc"
-version = "0.24.1"
+version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b76a2a5e8bd888cd49d64318c9bb4ee7cb770eeec7fbbb079d79102f63d84117"
+checksum = "4a925682ca355cce019b87ca10ba18f0cd4572c25f65abf2ccdfb197f8153dc2"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -830,9 +830,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.24.1"
+version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "048a099a555ade60f39810643ce35cc7837993eb40f6117e559b94b20b530d3b"
+checksum = "e05d68ad13b331cb11c7bd272aae9d0ef362a64af757eb4e94b804dc6a0a1733"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -840,9 +840,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.24.1"
+version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "786337ec2df7d597b4d768aa0db43570e558cc8cd9f60223c8f17c29aa909ba4"
+checksum = "9893a73dc2603ef975dc88a1fd2b21b46e2caee3180ef975c90a45ad5494b60c"
dependencies = [
"bitflags",
"num-bigint",
@@ -854,20 +854,20 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.24.1"
+version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "486c97ca86af68d99440b031598b23117841e86a301d538ed07efbd626fb2e76"
+checksum = "933eda966caeb7ba0809c14371be02d343e3ac12d302fbae3294b56fcb0aeb57"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.72",
+ "syn 2.0.74",
]
[[package]]
name = "oxc_diagnostics"
-version = "0.24.1"
+version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aadae614318f64601d0e786c4336591357af0361526047fd0276a3a7f2ca2a29"
+checksum = "d69620353f047e96064ac42baa4663fdde0a0836a27f9bcb3bbf836aa7459d70"
dependencies = [
"miette",
"owo-colors",
@@ -877,15 +877,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.24.1"
+version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b20b68c61999dc80a3060ac0de61fc49a3b4f44c6d5eebcda51cbd103bf4fad8"
+checksum = "b63c14b74e3fe05d75e217de6a152d9d40acc6e8d3a0096bb8bdf34c85cd0fab"
[[package]]
name = "oxc_parser"
-version = "0.24.1"
+version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "63df195ba59c007cfa9910dd8ed06375fec5dcbac9ac1c3b2283934d66ff3f2d"
+checksum = "7ea6fb997841162f4e00feaae0461cdfc7043c72561992a8aa2e7a6162d36cc8"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -921,9 +921,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.24.1"
+version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e40cfb892d596d0dff2ea2ca6f932c79293506a54f71624c28d2e346cb54d294"
+checksum = "f13cc580c6acd555c8828b63ec5a7694123d65c9e402762052cbb604359f74b9"
dependencies = [
"compact_str",
"miette",
@@ -933,9 +933,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.24.1"
+version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "501190ab2f9f3ab1ec283c63ef67825b0dd69326590b7fd1b8130dc0fe622ff3"
+checksum = "d07ce78403ec09c4988b8026c836eac5954517cf8def41dfb9183de080f11a2b"
dependencies = [
"bitflags",
"dashmap",
@@ -998,7 +998,7 @@ dependencies = [
"phf_shared",
"proc-macro2",
"quote",
- "syn 2.0.72",
+ "syn 2.0.74",
]
[[package]]
@@ -1196,7 +1196,7 @@ dependencies = [
"proc-macro2",
"quote",
"serde_derive_internals",
- "syn 2.0.72",
+ "syn 2.0.74",
]
[[package]]
@@ -1234,7 +1234,7 @@ checksum = "e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.72",
+ "syn 2.0.74",
]
[[package]]
@@ -1245,7 +1245,7 @@ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.72",
+ "syn 2.0.74",
]
[[package]]
@@ -1334,7 +1334,7 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.72",
+ "syn 2.0.74",
]
[[package]]
@@ -1435,7 +1435,7 @@ checksum = "63db0adcff29d220c3d151c5b25c0eabe7e32dd936212b84cdaa1392e3130497"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.72",
+ "syn 2.0.74",
]
[[package]]
@@ -1446,7 +1446,7 @@ checksum = "f486687bfb7b5c560868f69ed2d458b880cebc9babebcb67e49f31b55c5bf847"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.72",
+ "syn 2.0.74",
]
[[package]]
@@ -1471,9 +1471,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.72"
+version = "2.0.74"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dc4b9b9bf2add8093d3f2c0204471e951b2285580335de42f9d2534f3ae7a8af"
+checksum = "1fceb41e3d546d0bd83421d3409b1460cc7444cd389341a4c880fe7a042cb3d7"
dependencies = [
"proc-macro2",
"quote",
@@ -1517,7 +1517,7 @@ checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.72",
+ "syn 2.0.74",
]
[[package]]
@@ -1554,7 +1554,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.72",
+ "syn 2.0.74",
]
[[package]]
@@ -1847,5 +1847,5 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.72",
+ "syn 2.0.74",
]
diff --git a/Cargo.toml b/Cargo.toml
index ab71156..2d4ca18 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.24.1"
+oxc = "0.24.2"
swc_ecma_parser = { version = "0.149.0", features = ["typescript"] }
swc_ecma_ast = "0.118.1"
From 735c7226a92e534e15ace576359f71cebb70e374 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 13 Aug 2024 13:40:51 +0000
Subject: [PATCH 157/385] chore(deps): update rust crate criterion2 to v1
(#168)
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 7e1c41a..686f699 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -423,9 +423,9 @@ checksum = "7704b5fdd17b18ae31c4c1da5a2e0305a2bf17b5249300a9ee9ed7b72114c636"
[[package]]
name = "criterion2"
-version = "0.11.0"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7258985df1aa8b33359ee2392cbc3b7802875242cdacdda91a17a602132c24a9"
+checksum = "b8df39381f28ced0ceebfb5611528d99aef14f8d75b43e9d4ceb6aba66e7b04d"
dependencies = [
"anes",
"bpaf",
diff --git a/Cargo.toml b/Cargo.toml
index 2d4ca18..bfd792a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -36,7 +36,7 @@ biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
num_cpus = "1.16.0"
-criterion2 = { version = "0.11.0", default-features = false }
+criterion2 = { version = "1.0.0", default-features = false }
rayon = "1.10.0"
mimalloc = "0.1.43"
From bd8f94bc08714878da995328d0fdb27a6b85c82f Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 13 Aug 2024 17:12:43 +0000
Subject: [PATCH 158/385] chore(deps): lock file maintenance (#169)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 37 +++++++++++++++++++------------------
1 file changed, 19 insertions(+), 18 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 686f699..8d202b9 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -343,9 +343,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.1.7"
+version = "1.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "26a5c3fd7bfa1ce3897a3a3501d362b2d87b7f2583ebcb4a949ec25911025cbc"
+checksum = "e9e8aabfac534be767c909e0690571677d49f41bd8465ae876fe043d52ba5292"
[[package]]
name = "cfg-if"
@@ -575,9 +575,9 @@ checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
[[package]]
name = "hstr"
-version = "0.2.10"
+version = "0.2.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "96274be293b8877e61974a607105d09c84caebe9620b47774aa8a6b942042dd4"
+checksum = "dae404c0c5d4e95d4858876ab02eecd6a196bb8caa42050dfa809938833fc412"
dependencies = [
"hashbrown 0.14.5",
"new_debug_unreachable",
@@ -620,9 +620,9 @@ dependencies = [
[[package]]
name = "is-macro"
-version = "0.3.5"
+version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "59a85abdc13717906baccb5a1e435556ce0df215f242892f721dff62bf25288f"
+checksum = "2069faacbe981460232f880d26bf3c7634e322d49053aa48c27e3ae642f728f1"
dependencies = [
"Inflector",
"proc-macro2",
@@ -788,9 +788,9 @@ dependencies = [
[[package]]
name = "object"
-version = "0.36.2"
+version = "0.36.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3f203fa8daa7bb185f760ae12bd8e097f63d17041dcdcaf675ac54cdf863170e"
+checksum = "27b64972346851a39438c60b341ebc01bba47464ae329e55cf343eb93964efd9"
dependencies = [
"memchr",
]
@@ -1219,18 +1219,18 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4"
[[package]]
name = "serde"
-version = "1.0.204"
+version = "1.0.207"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bc76f558e0cbb2a839d37354c575f1dc3fdc6546b5be373ba43d95f231bf7c12"
+checksum = "5665e14a49a4ea1b91029ba7d3bca9f299e1f7cfa194388ccc20f14743e784f2"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.204"
+version = "1.0.207"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222"
+checksum = "6aea2634c86b0e8ef2cfdc0c340baede54ec27b1e46febd7f80dffb2aa44a00e"
dependencies = [
"proc-macro2",
"quote",
@@ -1250,9 +1250,9 @@ dependencies = [
[[package]]
name = "serde_json"
-version = "1.0.122"
+version = "1.0.124"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "784b6203951c57ff748476b126ccb5e8e2959a5c19e5c617ab1956be3dbc68da"
+checksum = "66ad62847a56b3dba58cc891acd13884b9c61138d330c0d7b6181713d4fce38d"
dependencies = [
"indexmap 2.3.0",
"itoa",
@@ -1364,9 +1364,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "0.37.1"
+version = "0.37.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c4d6c716bb706926e22edc992565c98a8f00c0cfa983e97f525f473f9ce2f93f"
+checksum = "46741b5a4ff3e821f6bb8d6c1289549272e71a5e0d163dbbae9e16e771d8da76"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1451,11 +1451,12 @@ dependencies = [
[[package]]
name = "swc_visit"
-version = "0.6.1"
+version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2e194d14f94121fd08b823d3379eedb3ce455785d9e0c3d2742c59377e283207"
+checksum = "1ceb044142ba2719ef9eb3b6b454fce61ab849eb696c34d190f04651955c613d"
dependencies = [
"either",
+ "new_debug_unreachable",
]
[[package]]
From 5c226a7cd0a2555c4819e1be6136fc05fe04631a Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 18 Aug 2024 10:34:37 +0000
Subject: [PATCH 159/385] chore(deps): update rust crate oxc to 0.24.3 (#170)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 36 ++++++++++++++++++------------------
Cargo.toml | 2 +-
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 8d202b9..4c3f634 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -815,9 +815,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]]
name = "oxc"
-version = "0.24.2"
+version = "0.24.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4a925682ca355cce019b87ca10ba18f0cd4572c25f65abf2ccdfb197f8153dc2"
+checksum = "e661878abdc6fdf85c18a106961fb56884d2e129744285745b26ac2847c6c32d"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -830,9 +830,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.24.2"
+version = "0.24.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e05d68ad13b331cb11c7bd272aae9d0ef362a64af757eb4e94b804dc6a0a1733"
+checksum = "20afc1d4a7b0b878d28f7b7f9f1f7ab670a7c7e8feb29101fb49eac1faa483fa"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -840,9 +840,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.24.2"
+version = "0.24.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9893a73dc2603ef975dc88a1fd2b21b46e2caee3180ef975c90a45ad5494b60c"
+checksum = "1599f878d8ac6fcc229be06426f04134f7663dcd5c71046414d8ddd12a20ad3b"
dependencies = [
"bitflags",
"num-bigint",
@@ -854,9 +854,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.24.2"
+version = "0.24.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "933eda966caeb7ba0809c14371be02d343e3ac12d302fbae3294b56fcb0aeb57"
+checksum = "d0a07c44bbe07756ba25605059fa4a94543f6a75730fd8bd1105795d0b3d668d"
dependencies = [
"proc-macro2",
"quote",
@@ -865,9 +865,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.24.2"
+version = "0.24.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d69620353f047e96064ac42baa4663fdde0a0836a27f9bcb3bbf836aa7459d70"
+checksum = "c53d201660e8accd6e53f1af7efda36967316aa4263d0a6847c631bdd8705e0f"
dependencies = [
"miette",
"owo-colors",
@@ -877,15 +877,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.24.2"
+version = "0.24.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b63c14b74e3fe05d75e217de6a152d9d40acc6e8d3a0096bb8bdf34c85cd0fab"
+checksum = "fa1d58c483b1ec74c7219b1525648b4b6beea7ff4685b02ad74693190df43308"
[[package]]
name = "oxc_parser"
-version = "0.24.2"
+version = "0.24.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7ea6fb997841162f4e00feaae0461cdfc7043c72561992a8aa2e7a6162d36cc8"
+checksum = "77ce38833b8b0d1121779b2ceaa9aa07d4142105ccc6941f73112a8d836b87cd"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -921,9 +921,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.24.2"
+version = "0.24.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f13cc580c6acd555c8828b63ec5a7694123d65c9e402762052cbb604359f74b9"
+checksum = "e7a4f6e525a64e61bcfa256e4707e46be54f3261e0b524670d0a1c6827c28931"
dependencies = [
"compact_str",
"miette",
@@ -933,9 +933,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.24.2"
+version = "0.24.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d07ce78403ec09c4988b8026c836eac5954517cf8def41dfb9183de080f11a2b"
+checksum = "bcb27d1a7e00a63e5d490fa4ee9a008d45e45db3d505ca21f0e63de2097cf743"
dependencies = [
"bitflags",
"dashmap",
diff --git a/Cargo.toml b/Cargo.toml
index bfd792a..0ec06da 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.24.2"
+oxc = "0.24.3"
swc_ecma_parser = { version = "0.149.0", features = ["typescript"] }
swc_ecma_ast = "0.118.1"
From ef1413eaf1a5cc4f9999b9126bf06687cc0d4de1 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 19 Aug 2024 10:58:41 +0000
Subject: [PATCH 160/385] chore(deps): update rust crate swc_ecma_ast to
0.118.2 (#171)
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 4c3f634..827a8fc 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1390,9 +1390,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "0.118.1"
+version = "0.118.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ed6c1b94abbaf080a4e4ae47101a83d4eedef90d733dd98e32b361356d3f5e4b"
+checksum = "a6f866d12e4d519052b92a0a86d1ac7ff17570da1272ca0c89b3d6f802cd79df"
dependencies = [
"bitflags",
"is-macro",
diff --git a/Cargo.toml b/Cargo.toml
index 0ec06da..f7793b5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -30,7 +30,7 @@ doctest = false
oxc = "0.24.3"
swc_ecma_parser = { version = "0.149.0", features = ["typescript"] }
-swc_ecma_ast = "0.118.1"
+swc_ecma_ast = "0.118.2"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From fe83379d5007f1ad8a2216419bc8e17222f2fb80 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 20 Aug 2024 17:25:11 +0000
Subject: [PATCH 161/385] chore(deps): lock file maintenance (#172)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 77 ++++++++++++++++++++++++++++++------------------------
1 file changed, 43 insertions(+), 34 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 827a8fc..e459e6e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -62,7 +62,7 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.74",
+ "syn 2.0.75",
]
[[package]]
@@ -303,7 +303,7 @@ checksum = "9a8d5b11f7fa1068e5bbac8ab6c8c2c6940047f69185987446b60c995d4bf89c"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.74",
+ "syn 2.0.75",
]
[[package]]
@@ -343,9 +343,12 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.1.10"
+version = "1.1.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e9e8aabfac534be767c909e0690571677d49f41bd8465ae876fe043d52ba5292"
+checksum = "72db2f7947ecee9b03b510377e8bb9077afa27176fdbff55c51027e976fdcc48"
+dependencies = [
+ "shlex",
+]
[[package]]
name = "cfg-if"
@@ -532,7 +535,7 @@ checksum = "32016f1242eb82af5474752d00fd8ebcd9004bd69b462b1c91de833972d08ed4"
dependencies = [
"proc-macro2",
"swc_macros_common",
- "syn 2.0.74",
+ "syn 2.0.75",
]
[[package]]
@@ -609,9 +612,9 @@ dependencies = [
[[package]]
name = "indexmap"
-version = "2.3.0"
+version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "de3fc2e30ba82dd1b3911c8de1ffc143c74a914a14e99514d7637e3099df5ea0"
+checksum = "93ead53efc7ea8ed3cfb0c79fc8023fbb782a5432b52830b6518941cebe6505c"
dependencies = [
"equivalent",
"hashbrown 0.14.5",
@@ -627,7 +630,7 @@ dependencies = [
"Inflector",
"proc-macro2",
"quote",
- "syn 2.0.74",
+ "syn 2.0.75",
]
[[package]]
@@ -653,9 +656,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
[[package]]
name = "libc"
-version = "0.2.155"
+version = "0.2.158"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c"
+checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439"
[[package]]
name = "libmimalloc-sys"
@@ -714,7 +717,7 @@ checksum = "dcf09caffaac8068c346b6df2a7fc27a177fd20b39421a39ce0a211bde679a6c"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.74",
+ "syn 2.0.75",
]
[[package]]
@@ -860,7 +863,7 @@ checksum = "d0a07c44bbe07756ba25605059fa4a94543f6a75730fd8bd1105795d0b3d668d"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.74",
+ "syn 2.0.75",
]
[[package]]
@@ -909,7 +912,7 @@ checksum = "b5f862ee8e1ba728378ac7e007de195ae00fbb21337ef152380c052cc07e2ee2"
dependencies = [
"dashmap",
"dunce",
- "indexmap 2.3.0",
+ "indexmap 2.4.0",
"json-strip-comments",
"once_cell",
"rustc-hash 2.0.0",
@@ -998,7 +1001,7 @@ dependencies = [
"phf_shared",
"proc-macro2",
"quote",
- "syn 2.0.74",
+ "syn 2.0.75",
]
[[package]]
@@ -1196,7 +1199,7 @@ dependencies = [
"proc-macro2",
"quote",
"serde_derive_internals",
- "syn 2.0.74",
+ "syn 2.0.75",
]
[[package]]
@@ -1219,22 +1222,22 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4"
[[package]]
name = "serde"
-version = "1.0.207"
+version = "1.0.208"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5665e14a49a4ea1b91029ba7d3bca9f299e1f7cfa194388ccc20f14743e784f2"
+checksum = "cff085d2cb684faa248efb494c39b68e522822ac0de72ccf08109abde717cfb2"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.207"
+version = "1.0.208"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6aea2634c86b0e8ef2cfdc0c340baede54ec27b1e46febd7f80dffb2aa44a00e"
+checksum = "24008e81ff7613ed8e5ba0cfaf24e2c2f1e5b8a0495711e44fcd4882fca62bcf"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.74",
+ "syn 2.0.75",
]
[[package]]
@@ -1245,22 +1248,28 @@ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.74",
+ "syn 2.0.75",
]
[[package]]
name = "serde_json"
-version = "1.0.124"
+version = "1.0.125"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "66ad62847a56b3dba58cc891acd13884b9c61138d330c0d7b6181713d4fce38d"
+checksum = "83c8e735a073ccf5be70aa8066aa984eaf2fa000db6c8d0100ae605b366d31ed"
dependencies = [
- "indexmap 2.3.0",
+ "indexmap 2.4.0",
"itoa",
"memchr",
"ryu",
"serde",
]
+[[package]]
+name = "shlex"
+version = "1.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
+
[[package]]
name = "similar"
version = "2.6.0"
@@ -1334,7 +1343,7 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.74",
+ "syn 2.0.75",
]
[[package]]
@@ -1364,9 +1373,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "0.37.2"
+version = "0.37.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "46741b5a4ff3e821f6bb8d6c1289549272e71a5e0d163dbbae9e16e771d8da76"
+checksum = "70265894dfc70e4f01475d3fd11ddfcd25fae781d7352d1228168072ee6a0a40"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1435,7 +1444,7 @@ checksum = "63db0adcff29d220c3d151c5b25c0eabe7e32dd936212b84cdaa1392e3130497"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.74",
+ "syn 2.0.75",
]
[[package]]
@@ -1446,7 +1455,7 @@ checksum = "f486687bfb7b5c560868f69ed2d458b880cebc9babebcb67e49f31b55c5bf847"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.74",
+ "syn 2.0.75",
]
[[package]]
@@ -1472,9 +1481,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.74"
+version = "2.0.75"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1fceb41e3d546d0bd83421d3409b1460cc7444cd389341a4c880fe7a042cb3d7"
+checksum = "f6af063034fc1935ede7be0122941bafa9bacb949334d090b77ca98b5817c7d9"
dependencies = [
"proc-macro2",
"quote",
@@ -1518,7 +1527,7 @@ checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.74",
+ "syn 2.0.75",
]
[[package]]
@@ -1555,7 +1564,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.74",
+ "syn 2.0.75",
]
[[package]]
@@ -1848,5 +1857,5 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.74",
+ "syn 2.0.75",
]
From c442132f900702762703404dd56d0afd1337dc11 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 23 Aug 2024 04:12:36 +0000
Subject: [PATCH 162/385] chore(deps): update rust crate swc_ecma_parser to
0.149.1 (#173)
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 e459e6e..446e768 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1416,9 +1416,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "0.149.0"
+version = "0.149.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7c7a81df222f44212c72fec4879c0d182c6eac66fb0e180afd05e8be6d920663"
+checksum = "683dada14722714588b56481399c699378b35b2ba4deb5c4db2fb627a97fb54b"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index f7793b5..70159b9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.24.3"
-swc_ecma_parser = { version = "0.149.0", features = ["typescript"] }
+swc_ecma_parser = { version = "0.149.1", features = ["typescript"] }
swc_ecma_ast = "0.118.2"
biome_js_parser = "0.5.7"
From 3732c36ef31f68c89b2a3578fd9cc3b669559f2a Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 23 Aug 2024 10:40:02 +0000
Subject: [PATCH 163/385] chore(deps): update rust crate oxc to 0.25.0 (#174)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 51 +++++++++++++++++++++++++++++++++------------------
Cargo.toml | 2 +-
2 files changed, 34 insertions(+), 19 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 446e768..b7de548 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -818,9 +818,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]]
name = "oxc"
-version = "0.24.3"
+version = "0.25.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e661878abdc6fdf85c18a106961fb56884d2e129744285745b26ac2847c6c32d"
+checksum = "1683cc0b524f3fc47eb18c8fec8c4c9796fa02bffeee3389de17809699967d45"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -833,9 +833,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.24.3"
+version = "0.25.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "20afc1d4a7b0b878d28f7b7f9f1f7ab670a7c7e8feb29101fb49eac1faa483fa"
+checksum = "466379b9ab2e05996bfedfae9c96753a633bb5a53aaf0898eb0e0ab09e169514"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -843,9 +843,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.24.3"
+version = "0.25.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1599f878d8ac6fcc229be06426f04134f7663dcd5c71046414d8ddd12a20ad3b"
+checksum = "34bd4f56fe32adea489153f6d681d9ee01f0336b9b6a89f062611488d8f80797"
dependencies = [
"bitflags",
"num-bigint",
@@ -857,9 +857,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.24.3"
+version = "0.25.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d0a07c44bbe07756ba25605059fa4a94543f6a75730fd8bd1105795d0b3d668d"
+checksum = "197b36739db0e80919e19a90785233eea5664697d4cd829bd49af34838ec43d2"
dependencies = [
"proc-macro2",
"quote",
@@ -868,9 +868,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.24.3"
+version = "0.25.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c53d201660e8accd6e53f1af7efda36967316aa4263d0a6847c631bdd8705e0f"
+checksum = "2cd4bb48b9527f5825c84acb688ec1485df4a5edadc17b3582626bb49736752b"
dependencies = [
"miette",
"owo-colors",
@@ -880,15 +880,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.24.3"
+version = "0.25.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa1d58c483b1ec74c7219b1525648b4b6beea7ff4685b02ad74693190df43308"
+checksum = "bc9aa9446f6d2a64d0baa02fe20dc3d64e3e112083854b84fdacb82261be2b84"
[[package]]
name = "oxc_parser"
-version = "0.24.3"
+version = "0.25.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "77ce38833b8b0d1121779b2ceaa9aa07d4142105ccc6941f73112a8d836b87cd"
+checksum = "8f3432e80a58cfb38f9a138203e64d0f9a621d4c4e9d18e3e3bd870b51ce1f0e"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -898,12 +898,27 @@ dependencies = [
"oxc_allocator",
"oxc_ast",
"oxc_diagnostics",
+ "oxc_regular_expression",
"oxc_span",
"oxc_syntax",
"rustc-hash 2.0.0",
"seq-macro",
]
+[[package]]
+name = "oxc_regular_expression"
+version = "0.25.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8fc6d05fec98ad6cc864ba8cfe7ece2e258106059a9a57e35b02450650b06979"
+dependencies = [
+ "oxc_allocator",
+ "oxc_diagnostics",
+ "oxc_span",
+ "phf",
+ "rustc-hash 2.0.0",
+ "unicode-id-start",
+]
+
[[package]]
name = "oxc_resolver"
version = "1.10.2"
@@ -924,9 +939,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.24.3"
+version = "0.25.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7a4f6e525a64e61bcfa256e4707e46be54f3261e0b524670d0a1c6827c28931"
+checksum = "9a862a896ac3abd269863a19d4f77302b019458d90513705c7a017b138c8449b"
dependencies = [
"compact_str",
"miette",
@@ -936,9 +951,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.24.3"
+version = "0.25.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bcb27d1a7e00a63e5d490fa4ee9a008d45e45db3d505ca21f0e63de2097cf743"
+checksum = "d50c7ea034fb12f65376cfffc8ae4bfde3cda0a1e14407f82ffba1d26431703d"
dependencies = [
"bitflags",
"dashmap",
diff --git a/Cargo.toml b/Cargo.toml
index 70159b9..2dcd899 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.24.3"
+oxc = "0.25.0"
swc_ecma_parser = { version = "0.149.1", features = ["typescript"] }
swc_ecma_ast = "0.118.2"
From da96b3dea63a629889e537310de0bbcc79db7d51 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 26 Aug 2024 19:30:31 +0000
Subject: [PATCH 164/385] chore(deps): lock file maintenance (#175)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 125 +++++++++++++++++++++++++++++++----------------------
1 file changed, 73 insertions(+), 52 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index b7de548..98db60e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -62,7 +62,7 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.75",
+ "syn 2.0.76",
]
[[package]]
@@ -303,7 +303,7 @@ checksum = "9a8d5b11f7fa1068e5bbac8ab6c8c2c6940047f69185987446b60c995d4bf89c"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.75",
+ "syn 2.0.76",
]
[[package]]
@@ -343,9 +343,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.1.13"
+version = "1.1.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "72db2f7947ecee9b03b510377e8bb9077afa27176fdbff55c51027e976fdcc48"
+checksum = "50d2eb3cd3d1bf4529e31c215ee6f93ec5a3d536d9f578f93d9d33ee19562932"
dependencies = [
"shlex",
]
@@ -535,7 +535,7 @@ checksum = "32016f1242eb82af5474752d00fd8ebcd9004bd69b462b1c91de833972d08ed4"
dependencies = [
"proc-macro2",
"swc_macros_common",
- "syn 2.0.75",
+ "syn 2.0.76",
]
[[package]]
@@ -630,7 +630,7 @@ dependencies = [
"Inflector",
"proc-macro2",
"quote",
- "syn 2.0.75",
+ "syn 2.0.76",
]
[[package]]
@@ -717,7 +717,7 @@ checksum = "dcf09caffaac8068c346b6df2a7fc27a177fd20b39421a39ce0a211bde679a6c"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.75",
+ "syn 2.0.76",
]
[[package]]
@@ -863,7 +863,7 @@ checksum = "197b36739db0e80919e19a90785233eea5664697d4cd829bd49af34838ec43d2"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.75",
+ "syn 2.0.76",
]
[[package]]
@@ -1016,7 +1016,7 @@ dependencies = [
"phf_shared",
"proc-macro2",
"quote",
- "syn 2.0.75",
+ "syn 2.0.76",
]
[[package]]
@@ -1097,9 +1097,9 @@ dependencies = [
[[package]]
name = "quote"
-version = "1.0.36"
+version = "1.0.37"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
+checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
dependencies = [
"proc-macro2",
]
@@ -1214,7 +1214,7 @@ dependencies = [
"proc-macro2",
"quote",
"serde_derive_internals",
- "syn 2.0.75",
+ "syn 2.0.76",
]
[[package]]
@@ -1237,22 +1237,22 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4"
[[package]]
name = "serde"
-version = "1.0.208"
+version = "1.0.209"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cff085d2cb684faa248efb494c39b68e522822ac0de72ccf08109abde717cfb2"
+checksum = "99fce0ffe7310761ca6bf9faf5115afbc19688edd00171d81b1bb1b116c63e09"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.208"
+version = "1.0.209"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "24008e81ff7613ed8e5ba0cfaf24e2c2f1e5b8a0495711e44fcd4882fca62bcf"
+checksum = "a5831b979fd7b5439637af1752d535ff49f4860c0f341d1baeb6faf0f4242170"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.75",
+ "syn 2.0.76",
]
[[package]]
@@ -1263,14 +1263,14 @@ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.75",
+ "syn 2.0.76",
]
[[package]]
name = "serde_json"
-version = "1.0.125"
+version = "1.0.127"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "83c8e735a073ccf5be70aa8066aa984eaf2fa000db6c8d0100ae605b366d31ed"
+checksum = "8043c06d9f82bd7271361ed64f415fe5e12a77fdb52e573e7f06a516dea329ad"
dependencies = [
"indexmap 2.4.0",
"itoa",
@@ -1332,15 +1332,15 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
[[package]]
name = "stacker"
-version = "0.1.15"
+version = "0.1.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c886bd4480155fd3ef527d45e9ac8dd7118a898a46530b7b94c3e21866259fce"
+checksum = "95a5daa25ea337c85ed954c0496e3bdd2c7308cc3b24cf7b50d04876654c579f"
dependencies = [
"cc",
"cfg-if",
"libc",
"psm",
- "winapi",
+ "windows-sys 0.36.1",
]
[[package]]
@@ -1358,7 +1358,7 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.75",
+ "syn 2.0.76",
]
[[package]]
@@ -1388,9 +1388,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "0.37.4"
+version = "0.37.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "70265894dfc70e4f01475d3fd11ddfcd25fae781d7352d1228168072ee6a0a40"
+checksum = "12d0a8eaaf1606c9207077d75828008cb2dfb51b095a766bd2b72ef893576e31"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1459,7 +1459,7 @@ checksum = "63db0adcff29d220c3d151c5b25c0eabe7e32dd936212b84cdaa1392e3130497"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.75",
+ "syn 2.0.76",
]
[[package]]
@@ -1470,7 +1470,7 @@ checksum = "f486687bfb7b5c560868f69ed2d458b880cebc9babebcb67e49f31b55c5bf847"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.75",
+ "syn 2.0.76",
]
[[package]]
@@ -1496,9 +1496,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.75"
+version = "2.0.76"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6af063034fc1935ede7be0122941bafa9bacb949334d090b77ca98b5817c7d9"
+checksum = "578e081a14e0cefc3279b0472138c513f37b41a08d5a3cca9b6e4e8ceb6cd525"
dependencies = [
"proc-macro2",
"quote",
@@ -1542,7 +1542,7 @@ checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.75",
+ "syn 2.0.76",
]
[[package]]
@@ -1579,7 +1579,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.75",
+ "syn 2.0.76",
]
[[package]]
@@ -1685,22 +1685,6 @@ dependencies = [
"winapi-util",
]
-[[package]]
-name = "winapi"
-version = "0.3.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
-dependencies = [
- "winapi-i686-pc-windows-gnu",
- "winapi-x86_64-pc-windows-gnu",
-]
-
-[[package]]
-name = "winapi-i686-pc-windows-gnu"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
-
[[package]]
name = "winapi-util"
version = "0.1.9"
@@ -1711,10 +1695,17 @@ dependencies = [
]
[[package]]
-name = "winapi-x86_64-pc-windows-gnu"
-version = "0.4.0"
+name = "windows-sys"
+version = "0.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2"
+dependencies = [
+ "windows_aarch64_msvc 0.36.1",
+ "windows_i686_gnu 0.36.1",
+ "windows_i686_msvc 0.36.1",
+ "windows_x86_64_gnu 0.36.1",
+ "windows_x86_64_msvc 0.36.1",
+]
[[package]]
name = "windows-sys"
@@ -1777,6 +1768,12 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
+[[package]]
+name = "windows_aarch64_msvc"
+version = "0.36.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47"
+
[[package]]
name = "windows_aarch64_msvc"
version = "0.48.5"
@@ -1789,6 +1786,12 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
+[[package]]
+name = "windows_i686_gnu"
+version = "0.36.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6"
+
[[package]]
name = "windows_i686_gnu"
version = "0.48.5"
@@ -1807,6 +1810,12 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
+[[package]]
+name = "windows_i686_msvc"
+version = "0.36.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024"
+
[[package]]
name = "windows_i686_msvc"
version = "0.48.5"
@@ -1819,6 +1828,12 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
+[[package]]
+name = "windows_x86_64_gnu"
+version = "0.36.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1"
+
[[package]]
name = "windows_x86_64_gnu"
version = "0.48.5"
@@ -1843,6 +1858,12 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
+[[package]]
+name = "windows_x86_64_msvc"
+version = "0.36.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680"
+
[[package]]
name = "windows_x86_64_msvc"
version = "0.48.5"
@@ -1872,5 +1893,5 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.75",
+ "syn 2.0.76",
]
From 6f2d57cbd98a71e67576ee30133f871b527e16fb Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 2 Sep 2024 18:18:03 +0000
Subject: [PATCH 165/385] chore(deps): lock file maintenance rust crates (#176)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 121 +++++++++++++++++++----------------------------------
1 file changed, 43 insertions(+), 78 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 98db60e..699d2b6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -62,7 +62,7 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.76",
+ "syn 2.0.77",
]
[[package]]
@@ -303,7 +303,7 @@ checksum = "9a8d5b11f7fa1068e5bbac8ab6c8c2c6940047f69185987446b60c995d4bf89c"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.76",
+ "syn 2.0.77",
]
[[package]]
@@ -343,9 +343,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.1.14"
+version = "1.1.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "50d2eb3cd3d1bf4529e31c215ee6f93ec5a3d536d9f578f93d9d33ee19562932"
+checksum = "57b6a275aa2903740dc87da01c62040406b8812552e97129a63ea8850a17c6e6"
dependencies = [
"shlex",
]
@@ -426,9 +426,9 @@ checksum = "7704b5fdd17b18ae31c4c1da5a2e0305a2bf17b5249300a9ee9ed7b72114c636"
[[package]]
name = "criterion2"
-version = "1.0.0"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8df39381f28ced0ceebfb5611528d99aef14f8d75b43e9d4ceb6aba66e7b04d"
+checksum = "e28d8111cea0da58d7bf5c6192202ff6b44bf6d712e45a376755708db425029f"
dependencies = [
"anes",
"bpaf",
@@ -535,7 +535,7 @@ checksum = "32016f1242eb82af5474752d00fd8ebcd9004bd69b462b1c91de833972d08ed4"
dependencies = [
"proc-macro2",
"swc_macros_common",
- "syn 2.0.76",
+ "syn 2.0.77",
]
[[package]]
@@ -612,9 +612,9 @@ dependencies = [
[[package]]
name = "indexmap"
-version = "2.4.0"
+version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93ead53efc7ea8ed3cfb0c79fc8023fbb782a5432b52830b6518941cebe6505c"
+checksum = "68b900aa2f7301e21c36462b170ee99994de34dff39a4a6a528e80e7376d07e5"
dependencies = [
"equivalent",
"hashbrown 0.14.5",
@@ -630,7 +630,7 @@ dependencies = [
"Inflector",
"proc-macro2",
"quote",
- "syn 2.0.76",
+ "syn 2.0.77",
]
[[package]]
@@ -717,7 +717,7 @@ checksum = "dcf09caffaac8068c346b6df2a7fc27a177fd20b39421a39ce0a211bde679a6c"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.76",
+ "syn 2.0.77",
]
[[package]]
@@ -791,9 +791,9 @@ dependencies = [
[[package]]
name = "object"
-version = "0.36.3"
+version = "0.36.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "27b64972346851a39438c60b341ebc01bba47464ae329e55cf343eb93964efd9"
+checksum = "084f1a5821ac4c651660a94a7153d27ac9d8a53736203f58b31945ded098070a"
dependencies = [
"memchr",
]
@@ -863,7 +863,7 @@ checksum = "197b36739db0e80919e19a90785233eea5664697d4cd829bd49af34838ec43d2"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.76",
+ "syn 2.0.77",
]
[[package]]
@@ -921,18 +921,20 @@ dependencies = [
[[package]]
name = "oxc_resolver"
-version = "1.10.2"
+version = "1.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5f862ee8e1ba728378ac7e007de195ae00fbb21337ef152380c052cc07e2ee2"
+checksum = "e7fe4d07afdfcf6b1d7fb952e6691d82692a54b71964a377cf49f3e47dac283d"
dependencies = [
+ "cfg-if",
"dashmap",
"dunce",
- "indexmap 2.4.0",
+ "indexmap 2.5.0",
"json-strip-comments",
"once_cell",
"rustc-hash 2.0.0",
"serde",
"serde_json",
+ "simdutf8",
"thiserror",
"tracing",
]
@@ -1016,7 +1018,7 @@ dependencies = [
"phf_shared",
"proc-macro2",
"quote",
- "syn 2.0.76",
+ "syn 2.0.77",
]
[[package]]
@@ -1068,9 +1070,9 @@ dependencies = [
[[package]]
name = "psm"
-version = "0.1.21"
+version = "0.1.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874"
+checksum = "3b1f9bf148c15500d44581654fb9260bc9d82970f3ef777a79a40534f6aa784f"
dependencies = [
"cc",
]
@@ -1214,7 +1216,7 @@ dependencies = [
"proc-macro2",
"quote",
"serde_derive_internals",
- "syn 2.0.76",
+ "syn 2.0.77",
]
[[package]]
@@ -1252,7 +1254,7 @@ checksum = "a5831b979fd7b5439637af1752d535ff49f4860c0f341d1baeb6faf0f4242170"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.76",
+ "syn 2.0.77",
]
[[package]]
@@ -1263,7 +1265,7 @@ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.76",
+ "syn 2.0.77",
]
[[package]]
@@ -1272,7 +1274,7 @@ version = "1.0.127"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8043c06d9f82bd7271361ed64f415fe5e12a77fdb52e573e7f06a516dea329ad"
dependencies = [
- "indexmap 2.4.0",
+ "indexmap 2.5.0",
"itoa",
"memchr",
"ryu",
@@ -1285,6 +1287,12 @@ version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
+[[package]]
+name = "simdutf8"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a"
+
[[package]]
name = "similar"
version = "2.6.0"
@@ -1332,15 +1340,15 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
[[package]]
name = "stacker"
-version = "0.1.16"
+version = "0.1.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "95a5daa25ea337c85ed954c0496e3bdd2c7308cc3b24cf7b50d04876654c579f"
+checksum = "799c883d55abdb5e98af1a7b3f23b9b6de8ecada0ecac058672d7635eb48ca7b"
dependencies = [
"cc",
"cfg-if",
"libc",
"psm",
- "windows-sys 0.36.1",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -1358,7 +1366,7 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.76",
+ "syn 2.0.77",
]
[[package]]
@@ -1459,7 +1467,7 @@ checksum = "63db0adcff29d220c3d151c5b25c0eabe7e32dd936212b84cdaa1392e3130497"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.76",
+ "syn 2.0.77",
]
[[package]]
@@ -1470,7 +1478,7 @@ checksum = "f486687bfb7b5c560868f69ed2d458b880cebc9babebcb67e49f31b55c5bf847"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.76",
+ "syn 2.0.77",
]
[[package]]
@@ -1496,9 +1504,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.76"
+version = "2.0.77"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "578e081a14e0cefc3279b0472138c513f37b41a08d5a3cca9b6e4e8ceb6cd525"
+checksum = "9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed"
dependencies = [
"proc-macro2",
"quote",
@@ -1542,7 +1550,7 @@ checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.76",
+ "syn 2.0.77",
]
[[package]]
@@ -1579,7 +1587,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.76",
+ "syn 2.0.77",
]
[[package]]
@@ -1694,19 +1702,6 @@ dependencies = [
"windows-sys 0.59.0",
]
-[[package]]
-name = "windows-sys"
-version = "0.36.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2"
-dependencies = [
- "windows_aarch64_msvc 0.36.1",
- "windows_i686_gnu 0.36.1",
- "windows_i686_msvc 0.36.1",
- "windows_x86_64_gnu 0.36.1",
- "windows_x86_64_msvc 0.36.1",
-]
-
[[package]]
name = "windows-sys"
version = "0.48.0"
@@ -1768,12 +1763,6 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
-[[package]]
-name = "windows_aarch64_msvc"
-version = "0.36.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47"
-
[[package]]
name = "windows_aarch64_msvc"
version = "0.48.5"
@@ -1786,12 +1775,6 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
-[[package]]
-name = "windows_i686_gnu"
-version = "0.36.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6"
-
[[package]]
name = "windows_i686_gnu"
version = "0.48.5"
@@ -1810,12 +1793,6 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
-[[package]]
-name = "windows_i686_msvc"
-version = "0.36.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024"
-
[[package]]
name = "windows_i686_msvc"
version = "0.48.5"
@@ -1828,12 +1805,6 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
-[[package]]
-name = "windows_x86_64_gnu"
-version = "0.36.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1"
-
[[package]]
name = "windows_x86_64_gnu"
version = "0.48.5"
@@ -1858,12 +1829,6 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
-[[package]]
-name = "windows_x86_64_msvc"
-version = "0.36.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680"
-
[[package]]
name = "windows_x86_64_msvc"
version = "0.48.5"
@@ -1893,5 +1858,5 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.76",
+ "syn 2.0.77",
]
From 61ddd18d9fd2a76e8162a491aa1a74920161daae Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 3 Sep 2024 04:50:59 +0000
Subject: [PATCH 166/385] chore(deps): update rust crate oxc to 0.26.0 (#177)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 40 ++++++++++++++++++++--------------------
Cargo.toml | 2 +-
2 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 699d2b6..623b22b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -818,9 +818,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]]
name = "oxc"
-version = "0.25.0"
+version = "0.26.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1683cc0b524f3fc47eb18c8fec8c4c9796fa02bffeee3389de17809699967d45"
+checksum = "e7c26d100bf71bd701756abdef20f6382e38165249646b364490b1a016c74019"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -833,9 +833,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.25.0"
+version = "0.26.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "466379b9ab2e05996bfedfae9c96753a633bb5a53aaf0898eb0e0ab09e169514"
+checksum = "27b70e00e3c62b26ccefc5c5942b365091ebc398b4493625d34d54fabe9106cb"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -843,9 +843,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.25.0"
+version = "0.26.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "34bd4f56fe32adea489153f6d681d9ee01f0336b9b6a89f062611488d8f80797"
+checksum = "65eda6aacccb2922fe506bff183930df82bf7a7217ef76480f82c35813a37a91"
dependencies = [
"bitflags",
"num-bigint",
@@ -857,9 +857,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.25.0"
+version = "0.26.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "197b36739db0e80919e19a90785233eea5664697d4cd829bd49af34838ec43d2"
+checksum = "590d563fddfb8f75bcc2e8c34a6fb6d96bcce30e716b82ccb46c0a8600bc5cd2"
dependencies = [
"proc-macro2",
"quote",
@@ -868,9 +868,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.25.0"
+version = "0.26.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2cd4bb48b9527f5825c84acb688ec1485df4a5edadc17b3582626bb49736752b"
+checksum = "42b23332f6e1781ec5d17c8c76756564331acf45bbed9a80cc07797ab6b29d24"
dependencies = [
"miette",
"owo-colors",
@@ -880,15 +880,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.25.0"
+version = "0.26.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bc9aa9446f6d2a64d0baa02fe20dc3d64e3e112083854b84fdacb82261be2b84"
+checksum = "582f984479fb15e680df6f42499e0c5d1aee8f7e38fd3716851a882357c4fce0"
[[package]]
name = "oxc_parser"
-version = "0.25.0"
+version = "0.26.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f3432e80a58cfb38f9a138203e64d0f9a621d4c4e9d18e3e3bd870b51ce1f0e"
+checksum = "7ecc8a633c442f6f828159e9bb326927ee8b13bbcf871c1bdd45223cea5d901d"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -907,9 +907,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.25.0"
+version = "0.26.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8fc6d05fec98ad6cc864ba8cfe7ece2e258106059a9a57e35b02450650b06979"
+checksum = "d74222e38ec5fa7b4065b899282ece8689fb804ce0daeb0a2e064b3215bebbc4"
dependencies = [
"oxc_allocator",
"oxc_diagnostics",
@@ -941,9 +941,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.25.0"
+version = "0.26.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9a862a896ac3abd269863a19d4f77302b019458d90513705c7a017b138c8449b"
+checksum = "60d6f98552a864d9c68173842bdffbd30e4ca0746778c308ebd839e70a1571f5"
dependencies = [
"compact_str",
"miette",
@@ -953,9 +953,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.25.0"
+version = "0.26.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d50c7ea034fb12f65376cfffc8ae4bfde3cda0a1e14407f82ffba1d26431703d"
+checksum = "3ce885718dd2744dd4e6500e765ea7fe4281d17ac0ec23c499a2ad747dbe1699"
dependencies = [
"bitflags",
"dashmap",
diff --git a/Cargo.toml b/Cargo.toml
index 2dcd899..f0a7800 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.25.0"
+oxc = "0.26.0"
swc_ecma_parser = { version = "0.149.1", features = ["typescript"] }
swc_ecma_ast = "0.118.2"
From 7f46c32ecb667ac32557018c2d8bc216431cde03 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 5 Sep 2024 04:04:47 +0000
Subject: [PATCH 167/385] chore(deps): update dependency rust to v1.80.1 (#178)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
rust-toolchain.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
index 9fd5b08..9ba1489 100644
--- a/rust-toolchain.toml
+++ b/rust-toolchain.toml
@@ -1,3 +1,3 @@
[toolchain]
-channel = "1.80.0"
+channel = "1.80.1"
profile = "minimal"
From 18c5467f8e51982ce9c8092d90e463e7af6a599b Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 5 Sep 2024 19:24:53 +0000
Subject: [PATCH 168/385] chore(deps): update dependency rust to v1.81.0 (#179)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
rust-toolchain.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
index 9ba1489..50668be 100644
--- a/rust-toolchain.toml
+++ b/rust-toolchain.toml
@@ -1,3 +1,3 @@
[toolchain]
-channel = "1.80.1"
+channel = "1.81.0"
profile = "minimal"
From 41181373219f4bf1680a614b84f5bd33b515faef Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 6 Sep 2024 13:34:58 +0000
Subject: [PATCH 169/385] chore(deps): update rust crate oxc to 0.27.0 (#180)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 43 +++++++++++++++++++++++--------------------
Cargo.toml | 2 +-
2 files changed, 24 insertions(+), 21 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 623b22b..6b20a19 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -818,9 +818,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]]
name = "oxc"
-version = "0.26.0"
+version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7c26d100bf71bd701756abdef20f6382e38165249646b364490b1a016c74019"
+checksum = "be9e1d423159a2fea59afa0568a35cadbc34ff9f808bef52ce4780e4d4c1a1cf"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -833,9 +833,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.26.0"
+version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "27b70e00e3c62b26ccefc5c5942b365091ebc398b4493625d34d54fabe9106cb"
+checksum = "8f922944b51ca85c0acf47c37726a1e9475e5dd9f36c2ea89d1057f5c68f91ff"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -843,23 +843,24 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.26.0"
+version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "65eda6aacccb2922fe506bff183930df82bf7a7217ef76480f82c35813a37a91"
+checksum = "4385ef64890edde1135e5431fbe397cdc8f38bf7341d7e23429b5de09dd03897"
dependencies = [
"bitflags",
"num-bigint",
"oxc_allocator",
"oxc_ast_macros",
+ "oxc_regular_expression",
"oxc_span",
"oxc_syntax",
]
[[package]]
name = "oxc_ast_macros"
-version = "0.26.0"
+version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "590d563fddfb8f75bcc2e8c34a6fb6d96bcce30e716b82ccb46c0a8600bc5cd2"
+checksum = "807868208f9a594a88f6714dae60bc8bed4ccb87a5d3fd33ed946f6fc8a216de"
dependencies = [
"proc-macro2",
"quote",
@@ -868,9 +869,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.26.0"
+version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "42b23332f6e1781ec5d17c8c76756564331acf45bbed9a80cc07797ab6b29d24"
+checksum = "bb283f8d9f7926c5ec4db85a65908ad72a3783110cc14771dbdec5ac81ad5d79"
dependencies = [
"miette",
"owo-colors",
@@ -880,15 +881,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.26.0"
+version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "582f984479fb15e680df6f42499e0c5d1aee8f7e38fd3716851a882357c4fce0"
+checksum = "b15c56c7fe9c3d99df968c5d0b3129eb373228c09915e22fc91d24e80c262e0d"
[[package]]
name = "oxc_parser"
-version = "0.26.0"
+version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7ecc8a633c442f6f828159e9bb326927ee8b13bbcf871c1bdd45223cea5d901d"
+checksum = "e1ac96c09e7d0a33f25bfac70632eb3d8196e52b8e276ba5661c71da36f3d1ee"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -907,11 +908,12 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.26.0"
+version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d74222e38ec5fa7b4065b899282ece8689fb804ce0daeb0a2e064b3215bebbc4"
+checksum = "0d98c72fa996ba40322be6bd6c00e427036d9ffacbafad9347f08401e3553266"
dependencies = [
"oxc_allocator",
+ "oxc_ast_macros",
"oxc_diagnostics",
"oxc_span",
"phf",
@@ -941,9 +943,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.26.0"
+version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "60d6f98552a864d9c68173842bdffbd30e4ca0746778c308ebd839e70a1571f5"
+checksum = "984cf0c05a0da6c557d7c7a600120841910d382008b92ac0ff44af400ba79e29"
dependencies = [
"compact_str",
"miette",
@@ -953,10 +955,11 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.26.0"
+version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ce885718dd2744dd4e6500e765ea7fe4281d17ac0ec23c499a2ad747dbe1699"
+checksum = "0343ef487214dbf9f296e155caeaab0d20a5da577ebd54a80f4fa4ce6a462f5a"
dependencies = [
+ "assert-unchecked",
"bitflags",
"dashmap",
"nonmax",
diff --git a/Cargo.toml b/Cargo.toml
index f0a7800..527dd4c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.26.0"
+oxc = "0.27.0"
swc_ecma_parser = { version = "0.149.1", features = ["typescript"] }
swc_ecma_ast = "0.118.2"
From 97766662dcd6bd9f758127306ebb251ac6afb954 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 9 Sep 2024 19:09:46 +0000
Subject: [PATCH 170/385] chore(deps): lock file maintenance (#181)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 6b20a19..aa35a8a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -288,18 +288,18 @@ checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
[[package]]
name = "bpaf"
-version = "0.9.12"
+version = "0.9.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3280efcf6d66bc77c2cf9b67dc8acee47a217d9be67dd590b3230dffe663724d"
+checksum = "0eb12bae07c4142b840ff2a892d3abd94124f30672293f5b466f38624077aadb"
dependencies = [
"bpaf_derive",
]
[[package]]
name = "bpaf_derive"
-version = "0.5.10"
+version = "0.5.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9a8d5b11f7fa1068e5bbac8ab6c8c2c6940047f69185987446b60c995d4bf89c"
+checksum = "cf95d9c7e6aba67f8fc07761091e93254677f4db9e27197adecebc7039a58722"
dependencies = [
"proc-macro2",
"quote",
@@ -343,9 +343,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.1.15"
+version = "1.1.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "57b6a275aa2903740dc87da01c62040406b8812552e97129a63ea8850a17c6e6"
+checksum = "b62ac837cdb5cb22e10a256099b4fc502b1dfe560cb282963a974d7abd80e476"
dependencies = [
"shlex",
]
@@ -385,9 +385,9 @@ dependencies = [
[[package]]
name = "codspeed"
-version = "2.6.0"
+version = "2.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3a104ac948e0188b921eb3fcbdd55dcf62e542df4c7ab7e660623f6288302089"
+checksum = "b0c6f324a032703f286b0fbbdb390971f914b41f3410e1615c59730e4b24ebc2"
dependencies = [
"colored",
"libc",
@@ -476,9 +476,9 @@ checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
[[package]]
name = "dashmap"
-version = "6.0.1"
+version = "6.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "804c8821570c3f8b70230c2ba75ffa5c0f9a4189b9a432b6656c536712acae28"
+checksum = "5041cc499144891f3790297212f32a74fb938e5136a14943f338ef9e0ae276cf"
dependencies = [
"cfg-if",
"crossbeam-utils",
@@ -1073,9 +1073,9 @@ dependencies = [
[[package]]
name = "psm"
-version = "0.1.22"
+version = "0.1.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3b1f9bf148c15500d44581654fb9260bc9d82970f3ef777a79a40534f6aa784f"
+checksum = "aa37f80ca58604976033fae9515a8a2989fc13797d953f7c04fb8fa36a11f205"
dependencies = [
"cc",
]
@@ -1242,18 +1242,18 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4"
[[package]]
name = "serde"
-version = "1.0.209"
+version = "1.0.210"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "99fce0ffe7310761ca6bf9faf5115afbc19688edd00171d81b1bb1b116c63e09"
+checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.209"
+version = "1.0.210"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a5831b979fd7b5439637af1752d535ff49f4860c0f341d1baeb6faf0f4242170"
+checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f"
dependencies = [
"proc-macro2",
"quote",
@@ -1273,9 +1273,9 @@ dependencies = [
[[package]]
name = "serde_json"
-version = "1.0.127"
+version = "1.0.128"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8043c06d9f82bd7271361ed64f415fe5e12a77fdb52e573e7f06a516dea329ad"
+checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8"
dependencies = [
"indexmap 2.5.0",
"itoa",
From 6e7f0aaeeb4f8a8965af7e6dccd9a4904667f335 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 11 Sep 2024 03:17:05 +0000
Subject: [PATCH 171/385] chore(deps): update swc (#182)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 12 ++++++------
Cargo.toml | 4 ++--
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index aa35a8a..afe2606 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1399,9 +1399,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "0.37.5"
+version = "0.38.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "12d0a8eaaf1606c9207077d75828008cb2dfb51b095a766bd2b72ef893576e31"
+checksum = "0a69266c96a6a41bc2de27fdf14fdf5995549b6244f99c9b07604569576657eb"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1425,9 +1425,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "0.118.2"
+version = "0.119.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a6f866d12e4d519052b92a0a86d1ac7ff17570da1272ca0c89b3d6f802cd79df"
+checksum = "69e9696b3d02197c16ba7548c95b31f7ca79532200d269ce3ad03a5b2174cf28"
dependencies = [
"bitflags",
"is-macro",
@@ -1442,9 +1442,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "0.149.1"
+version = "0.150.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "683dada14722714588b56481399c699378b35b2ba4deb5c4db2fb627a97fb54b"
+checksum = "071840b1838add74470d759f69783f41f860c1dc69a1317db3bd2efbed9b8338"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index 527dd4c..6f35b16 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ doctest = false
[dependencies]
oxc = "0.27.0"
-swc_ecma_parser = { version = "0.149.1", features = ["typescript"] }
-swc_ecma_ast = "0.118.2"
+swc_ecma_parser = { version = "0.150.0", features = ["typescript"] }
+swc_ecma_ast = "0.119.0"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From 1577d6a8b93b6948f04dae81faeab62d252a30c4 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 11 Sep 2024 13:12:32 +0000
Subject: [PATCH 172/385] chore(deps): update rust crate oxc to 0.28.0 (#184)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 41 +++++++++++++++++++++--------------------
Cargo.toml | 2 +-
2 files changed, 22 insertions(+), 21 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index afe2606..29f8adc 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -818,24 +818,25 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]]
name = "oxc"
-version = "0.27.0"
+version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "be9e1d423159a2fea59afa0568a35cadbc34ff9f808bef52ce4780e4d4c1a1cf"
+checksum = "30895d079d25ca04442ee5a1ae5f9fc7d4f02b7f5094ecddeeb4ac05d8c1594d"
dependencies = [
"oxc_allocator",
"oxc_ast",
"oxc_diagnostics",
"oxc_index",
"oxc_parser",
+ "oxc_regular_expression",
"oxc_span",
"oxc_syntax",
]
[[package]]
name = "oxc_allocator"
-version = "0.27.0"
+version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f922944b51ca85c0acf47c37726a1e9475e5dd9f36c2ea89d1057f5c68f91ff"
+checksum = "60f7c795ec91f4ddaa96785bddf1b320371120326e363ab423c92f33e260d450"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -843,9 +844,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.27.0"
+version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4385ef64890edde1135e5431fbe397cdc8f38bf7341d7e23429b5de09dd03897"
+checksum = "0611253e633dfca3d68efd66ad7f31eb65557774e761c5a31a00a1642515cf26"
dependencies = [
"bitflags",
"num-bigint",
@@ -858,9 +859,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.27.0"
+version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "807868208f9a594a88f6714dae60bc8bed4ccb87a5d3fd33ed946f6fc8a216de"
+checksum = "3ab8d80213f77352af706641626896713f9fafe0251506521f1656a85a3cff5e"
dependencies = [
"proc-macro2",
"quote",
@@ -869,9 +870,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.27.0"
+version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bb283f8d9f7926c5ec4db85a65908ad72a3783110cc14771dbdec5ac81ad5d79"
+checksum = "bf3a3995bc7b8f0a49cc57a35c35711d65b963e3e42b32f0b935810d7bcf41fd"
dependencies = [
"miette",
"owo-colors",
@@ -881,15 +882,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.27.0"
+version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b15c56c7fe9c3d99df968c5d0b3129eb373228c09915e22fc91d24e80c262e0d"
+checksum = "0656d55ebb7f088d7d160519e97bce3ab9e7bf0a495f4fd78e739dd411e545f1"
[[package]]
name = "oxc_parser"
-version = "0.27.0"
+version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e1ac96c09e7d0a33f25bfac70632eb3d8196e52b8e276ba5661c71da36f3d1ee"
+checksum = "d323e4aa3a063b09e22c3b3e91275b922e23a47b67f073ac5970bd71ba3a00cb"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -908,9 +909,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.27.0"
+version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0d98c72fa996ba40322be6bd6c00e427036d9ffacbafad9347f08401e3553266"
+checksum = "70dd96111a445b61ee7a9f5de5eb6040e473810d9b46efab0e550264f22e1490"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -943,9 +944,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.27.0"
+version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "984cf0c05a0da6c557d7c7a600120841910d382008b92ac0ff44af400ba79e29"
+checksum = "603346c26cc5fc3020449af4d57736bd98641b96440128a7be75206c904f0b7e"
dependencies = [
"compact_str",
"miette",
@@ -955,9 +956,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.27.0"
+version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0343ef487214dbf9f296e155caeaab0d20a5da577ebd54a80f4fa4ce6a462f5a"
+checksum = "d7812d7166158fc0799efea5c507a2d1e7c57c28c5384a7776f6298e290ed1ff"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 6f35b16..0672241 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.27.0"
+oxc = "0.28.0"
swc_ecma_parser = { version = "0.150.0", features = ["typescript"] }
swc_ecma_ast = "0.119.0"
From 99db5db4d67b3d2778f004a611085fda04861126 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 13 Sep 2024 14:21:08 +0000
Subject: [PATCH 173/385] chore(deps): update rust crate oxc to 0.29.0 (#185)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 47 +++++++++++++++++++++++++++--------------------
Cargo.toml | 2 +-
2 files changed, 28 insertions(+), 21 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 29f8adc..93d53fa 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -424,6 +424,12 @@ version = "3.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7704b5fdd17b18ae31c4c1da5a2e0305a2bf17b5249300a9ee9ed7b72114c636"
+[[package]]
+name = "cow-utils"
+version = "0.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "417bef24afe1460300965a25ff4a24b8b45ad011948302ec221e8a0a81eb2c79"
+
[[package]]
name = "criterion2"
version = "1.1.0"
@@ -818,9 +824,9 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]]
name = "oxc"
-version = "0.28.0"
+version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "30895d079d25ca04442ee5a1ae5f9fc7d4f02b7f5094ecddeeb4ac05d8c1594d"
+checksum = "769a805a19845c860d2beb06d45a75c7697d5521a6c69ed20dbeba274001806e"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -834,9 +840,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.28.0"
+version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "60f7c795ec91f4ddaa96785bddf1b320371120326e363ab423c92f33e260d450"
+checksum = "26e2199d2af8190a7b9882a17163c215429492b1b7224266a73cf6bf9f941402"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -844,9 +850,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.28.0"
+version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0611253e633dfca3d68efd66ad7f31eb65557774e761c5a31a00a1642515cf26"
+checksum = "8ecbd3d3952245647faf308411e107cb5ef51a40b454047286be8ac9fe72238a"
dependencies = [
"bitflags",
"num-bigint",
@@ -859,9 +865,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.28.0"
+version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ab8d80213f77352af706641626896713f9fafe0251506521f1656a85a3cff5e"
+checksum = "45160ddd52cf11b64c81bfe0bcee58297e2f5dbd6eaffe184e59ef4be52317c7"
dependencies = [
"proc-macro2",
"quote",
@@ -870,9 +876,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.28.0"
+version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bf3a3995bc7b8f0a49cc57a35c35711d65b963e3e42b32f0b935810d7bcf41fd"
+checksum = "b35899f1b231c8aaeac1a30bf44cfb3763aa850bbe6cb43b21c6add46dec1f86"
dependencies = [
"miette",
"owo-colors",
@@ -882,18 +888,19 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.28.0"
+version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0656d55ebb7f088d7d160519e97bce3ab9e7bf0a495f4fd78e739dd411e545f1"
+checksum = "f81780683e8fbbceabfd750df8773cfdb2e0b801d58449ae01353b31a505cdb3"
[[package]]
name = "oxc_parser"
-version = "0.28.0"
+version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d323e4aa3a063b09e22c3b3e91275b922e23a47b67f073ac5970bd71ba3a00cb"
+checksum = "4693f63ecc4892bdc823f427f7bf23a50cb71342f3b00d519127e6a9b39b3040"
dependencies = [
"assert-unchecked",
"bitflags",
+ "cow-utils",
"memchr",
"num-bigint",
"num-traits",
@@ -909,9 +916,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.28.0"
+version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "70dd96111a445b61ee7a9f5de5eb6040e473810d9b46efab0e550264f22e1490"
+checksum = "9f103d892a989080f0b1b9e3a12ab50263157d49e7c846217eb09d5f3521f2ee"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -944,9 +951,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.28.0"
+version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "603346c26cc5fc3020449af4d57736bd98641b96440128a7be75206c904f0b7e"
+checksum = "49fb7f7bbc22bbfc4bc95f318c6d2bfc5c74a30fca797f2afe12aeb3ff82a287"
dependencies = [
"compact_str",
"miette",
@@ -956,9 +963,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.28.0"
+version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d7812d7166158fc0799efea5c507a2d1e7c57c28c5384a7776f6298e290ed1ff"
+checksum = "e42410ff993c86fc77db38331b7b85cba007bd1388832d3489556ac7446ebefe"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 0672241..8275788 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.28.0"
+oxc = "0.29.0"
swc_ecma_parser = { version = "0.150.0", features = ["typescript"] }
swc_ecma_ast = "0.119.0"
From e454a120a56be68f3f4c725735c0bdccb6398ce2 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 16 Sep 2024 18:36:33 +0000
Subject: [PATCH 174/385] chore(deps): lock file maintenance (#186)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 54 +++++++++++++++++++++++++++---------------------------
1 file changed, 27 insertions(+), 27 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 93d53fa..dd8952b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -10,18 +10,18 @@ checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3"
[[package]]
name = "addr2line"
-version = "0.22.0"
+version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678"
+checksum = "f5fb1d8e4442bd405fdfd1dacb42792696b0cf9cb15882e5d097b742a676d375"
dependencies = [
"gimli",
]
[[package]]
-name = "adler"
-version = "1.0.2"
+name = "adler2"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
+checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"
[[package]]
name = "ahash"
@@ -73,17 +73,17 @@ checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
[[package]]
name = "backtrace"
-version = "0.3.73"
+version = "0.3.74"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5cc23269a4f8976d0a4d2e7109211a419fe30e8d88d677cd60b6bc79c5732e0a"
+checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a"
dependencies = [
"addr2line",
- "cc",
"cfg-if",
"libc",
"miniz_oxide",
"object",
"rustc-demangle",
+ "windows-targets 0.52.6",
]
[[package]]
@@ -343,9 +343,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.1.18"
+version = "1.1.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b62ac837cdb5cb22e10a256099b4fc502b1dfe560cb282963a974d7abd80e476"
+checksum = "2d74707dde2ba56f86ae90effb3b43ddd369504387e718014de010cec7959800"
dependencies = [
"shlex",
]
@@ -385,9 +385,9 @@ dependencies = [
[[package]]
name = "codspeed"
-version = "2.7.1"
+version = "2.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b0c6f324a032703f286b0fbbdb390971f914b41f3410e1615c59730e4b24ebc2"
+checksum = "450a0e9df9df1c154156f4344f99d8f6f6e69d0fc4de96ef6e2e68b2ec3bce97"
dependencies = [
"colored",
"libc",
@@ -546,9 +546,9 @@ dependencies = [
[[package]]
name = "gimli"
-version = "0.29.0"
+version = "0.31.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd"
+checksum = "32085ea23f3234fc7846555e85283ba4de91e21016dc0455a16286d87a292d64"
[[package]]
name = "half"
@@ -737,11 +737,11 @@ dependencies = [
[[package]]
name = "miniz_oxide"
-version = "0.7.4"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08"
+checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1"
dependencies = [
- "adler",
+ "adler2",
]
[[package]]
@@ -806,9 +806,9 @@ dependencies = [
[[package]]
name = "once_cell"
-version = "1.19.0"
+version = "1.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
+checksum = "33ea5043e58958ee56f3e15a90aee535795cd7dfd319846288d93c5b57d85cbe"
[[package]]
name = "oorandom"
@@ -818,9 +818,9 @@ checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9"
[[package]]
name = "owo-colors"
-version = "4.0.0"
+version = "4.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
+checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
@@ -1154,9 +1154,9 @@ dependencies = [
[[package]]
name = "redox_syscall"
-version = "0.5.3"
+version = "0.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4"
+checksum = "0884ad60e090bf1345b93da0a5de8923c93884cd03f40dfcfddd3b4bee661853"
dependencies = [
"bitflags",
]
@@ -1646,9 +1646,9 @@ checksum = "bc3882f69607a2ac8cc4de3ee7993d8f68bb06f2974271195065b3bd07f2edea"
[[package]]
name = "unicode-ident"
-version = "1.0.12"
+version = "1.0.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
+checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe"
[[package]]
name = "unicode-linebreak"
@@ -1667,9 +1667,9 @@ dependencies = [
[[package]]
name = "unicode-segmentation"
-version = "1.11.0"
+version = "1.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202"
+checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493"
[[package]]
name = "unicode-width"
From 950881e1657bf19143b8b9f42675a90680a0dd77 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 19 Sep 2024 06:18:53 +0000
Subject: [PATCH 175/385] chore(deps): update swc (#187)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 20 ++++++++++----------
Cargo.toml | 4 ++--
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index dd8952b..ea8abd2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -55,9 +55,9 @@ checksum = "7330592adf847ee2e3513587b4db2db410a0d751378654e7e993d9adcbe5c795"
[[package]]
name = "ast_node"
-version = "0.9.9"
+version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f9184f2b369b3e8625712493c89b785881f27eedc6cde480a81883cef78868b2"
+checksum = "9f8486443b68ecc17b8b45c6161b0194142f74622ed8dade227480a20291fc91"
dependencies = [
"proc-macro2",
"quote",
@@ -1395,9 +1395,9 @@ dependencies = [
[[package]]
name = "swc_atoms"
-version = "0.6.7"
+version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bb6567e4e67485b3e7662b486f1565bdae54bd5b9d6b16b2ba1a9babb1e42125"
+checksum = "8ff4ad2795eabc349fb7ac1bdccb2625858a8be5545703ef31d5b5dc7a9f37f4"
dependencies = [
"hstr",
"once_cell",
@@ -1407,9 +1407,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "0.38.0"
+version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0a69266c96a6a41bc2de27fdf14fdf5995549b6244f99c9b07604569576657eb"
+checksum = "04012755fd21334086b5ee2467a6236afea869d0aff3bdf8b20dc07ee5f676c6"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1433,9 +1433,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "0.119.0"
+version = "0.120.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "69e9696b3d02197c16ba7548c95b31f7ca79532200d269ce3ad03a5b2174cf28"
+checksum = "bb7f7d4a08f9a413b27506903a5a893a51bd0df6c8b91203fbb76aa217472ed6"
dependencies = [
"bitflags",
"is-macro",
@@ -1450,9 +1450,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "0.150.0"
+version = "0.151.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "071840b1838add74470d759f69783f41f860c1dc69a1317db3bd2efbed9b8338"
+checksum = "3c23f8288f6a38f84a1b82896917eac3adf92e37dee19cbc1c42cebab7b48590"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index 8275788..1cf384f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ doctest = false
[dependencies]
oxc = "0.29.0"
-swc_ecma_parser = { version = "0.150.0", features = ["typescript"] }
-swc_ecma_ast = "0.119.0"
+swc_ecma_parser = { version = "0.151.0", features = ["typescript"] }
+swc_ecma_ast = "0.120.0"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From 33587df27fd1b22010d321dfadade78357ec464f Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 23 Sep 2024 04:34:41 +0000
Subject: [PATCH 176/385] chore(deps): update rust crate oxc to 0.30.0 (#188)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 40 ++++++++++++++++++++--------------------
Cargo.toml | 2 +-
2 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index ea8abd2..43eed55 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -824,9 +824,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.29.0"
+version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "769a805a19845c860d2beb06d45a75c7697d5521a6c69ed20dbeba274001806e"
+checksum = "94a09b88dd8415c04b7977f5ecc45c92f588027cbdc011ec852783e0f243b662"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -840,9 +840,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.29.0"
+version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "26e2199d2af8190a7b9882a17163c215429492b1b7224266a73cf6bf9f941402"
+checksum = "d704df8528297ab3c645f75e5b4a5151daecec68ac992ee6518ddccec8bae884"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -850,9 +850,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.29.0"
+version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ecbd3d3952245647faf308411e107cb5ef51a40b454047286be8ac9fe72238a"
+checksum = "8095bf4d32bdc4e19e6dc95d31a8897b064a159215a012b1afa6cdd47d905cff"
dependencies = [
"bitflags",
"num-bigint",
@@ -865,9 +865,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.29.0"
+version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "45160ddd52cf11b64c81bfe0bcee58297e2f5dbd6eaffe184e59ef4be52317c7"
+checksum = "1a36837003278bb364722d8cf6e243391e7fd8b3660dbe62f9ebcf2d263f506d"
dependencies = [
"proc-macro2",
"quote",
@@ -876,9 +876,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.29.0"
+version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b35899f1b231c8aaeac1a30bf44cfb3763aa850bbe6cb43b21c6add46dec1f86"
+checksum = "808cb7572df65d470dfb866363b4ec37bfa48481cb16e2edd533f9de2c696352"
dependencies = [
"miette",
"owo-colors",
@@ -888,15 +888,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.29.0"
+version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f81780683e8fbbceabfd750df8773cfdb2e0b801d58449ae01353b31a505cdb3"
+checksum = "b56757ce29a4d1bb1ed07f847a54586dbf613de2caace581e52950c6042bd1e4"
[[package]]
name = "oxc_parser"
-version = "0.29.0"
+version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4693f63ecc4892bdc823f427f7bf23a50cb71342f3b00d519127e6a9b39b3040"
+checksum = "55d93fa42f72da41181a63625369b2392308ca2416fd18a1d5bcfa600c7ebafd"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -916,9 +916,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.29.0"
+version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9f103d892a989080f0b1b9e3a12ab50263157d49e7c846217eb09d5f3521f2ee"
+checksum = "545ead5ec4dc9f7e30d2f40ccee462964c1993cfd9ff26d7dd04961d1cf2f0b2"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -951,9 +951,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.29.0"
+version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "49fb7f7bbc22bbfc4bc95f318c6d2bfc5c74a30fca797f2afe12aeb3ff82a287"
+checksum = "a9a7212049fa7c3dca7e16953e9da31f3f7b33c95016343332df9d3029fa73a1"
dependencies = [
"compact_str",
"miette",
@@ -963,9 +963,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.29.0"
+version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e42410ff993c86fc77db38331b7b85cba007bd1388832d3489556ac7446ebefe"
+checksum = "83b81d11cc48aa09f71f7cc7c7fbb592a3092f7586ebdbcd00fac9fc4042f171"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 1cf384f..7ee03d4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.29.0"
+oxc = "0.30.0"
swc_ecma_parser = { version = "0.151.0", features = ["typescript"] }
swc_ecma_ast = "0.120.0"
From 5ed5f3c4208513eb6178a52305e3340aefee3008 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 24 Sep 2024 07:21:58 +0000
Subject: [PATCH 177/385] chore(deps): update rust crate oxc to 0.30.1 (#189)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 41 +++++++++++++++++++++--------------------
Cargo.toml | 2 +-
2 files changed, 22 insertions(+), 21 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 43eed55..e70dede 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -824,9 +824,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.30.0"
+version = "0.30.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "94a09b88dd8415c04b7977f5ecc45c92f588027cbdc011ec852783e0f243b662"
+checksum = "16b71cf40cb78e41e5b0e720763f534a087eac36ecae073536b01617d658ad2c"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -840,9 +840,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.30.0"
+version = "0.30.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d704df8528297ab3c645f75e5b4a5151daecec68ac992ee6518ddccec8bae884"
+checksum = "eb29dfe8933200c2ed2aff14a11889f95fdf2506dd87a3d0dd58f73cbe93abcc"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -850,9 +850,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.30.0"
+version = "0.30.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8095bf4d32bdc4e19e6dc95d31a8897b064a159215a012b1afa6cdd47d905cff"
+checksum = "1e29c42d4b6b16eac9f2ae2ab0031a080cbf24d217df8b65cefe5852785a0e5a"
dependencies = [
"bitflags",
"num-bigint",
@@ -865,9 +865,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.30.0"
+version = "0.30.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1a36837003278bb364722d8cf6e243391e7fd8b3660dbe62f9ebcf2d263f506d"
+checksum = "c91b198610e90b69db5779517e8a01745229a8eebf6bfae08601d3ca4a5fbcb3"
dependencies = [
"proc-macro2",
"quote",
@@ -876,27 +876,28 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.30.0"
+version = "0.30.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "808cb7572df65d470dfb866363b4ec37bfa48481cb16e2edd533f9de2c696352"
+checksum = "a4accda097d689b524b5ded9179c752e9836f13316a84058aa616f8e5b06640c"
dependencies = [
"miette",
"owo-colors",
+ "rustc-hash 2.0.0",
"textwrap",
"unicode-width",
]
[[package]]
name = "oxc_index"
-version = "0.30.0"
+version = "0.30.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b56757ce29a4d1bb1ed07f847a54586dbf613de2caace581e52950c6042bd1e4"
+checksum = "597589a2b06ac33cd4cee0a47878c2a4a3923f5f27955c02ee657ebaa32df6f5"
[[package]]
name = "oxc_parser"
-version = "0.30.0"
+version = "0.30.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "55d93fa42f72da41181a63625369b2392308ca2416fd18a1d5bcfa600c7ebafd"
+checksum = "6c9fe0fc2d3ecf99b5d8f5b8dc874cc0e52402a842de8d6480a151ab056cfa49"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -916,9 +917,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.30.0"
+version = "0.30.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "545ead5ec4dc9f7e30d2f40ccee462964c1993cfd9ff26d7dd04961d1cf2f0b2"
+checksum = "eff953ea7603a0d27b08e8c90d57e4f261f7412cc37afa1ed7b7f16315d1c055"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -951,9 +952,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.30.0"
+version = "0.30.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a9a7212049fa7c3dca7e16953e9da31f3f7b33c95016343332df9d3029fa73a1"
+checksum = "36de6b8a1e2e97bc9954ab46f795899c57096eb0a2d76f590345ff9507c44ed8"
dependencies = [
"compact_str",
"miette",
@@ -963,9 +964,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.30.0"
+version = "0.30.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "83b81d11cc48aa09f71f7cc7c7fbb592a3092f7586ebdbcd00fac9fc4042f171"
+checksum = "758bd2aa4be0704702cb7641070bdb3a6194f01dc3bc6f482c74515850a61415"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 7ee03d4..bfa2e4f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.30.0"
+oxc = "0.30.1"
swc_ecma_parser = { version = "0.151.0", features = ["typescript"] }
swc_ecma_ast = "0.120.0"
From 55e5c88973655311920cb1720ba053d717cda3ab Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 24 Sep 2024 10:15:53 +0000
Subject: [PATCH 178/385] chore(deps): update swc (#190)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 24 ++++++++++++------------
Cargo.toml | 4 ++--
2 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index e70dede..89bf950 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -55,9 +55,9 @@ checksum = "7330592adf847ee2e3513587b4db2db410a0d751378654e7e993d9adcbe5c795"
[[package]]
name = "ast_node"
-version = "0.10.0"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9f8486443b68ecc17b8b45c6161b0194142f74622ed8dade227480a20291fc91"
+checksum = "f4d23a6d1d5f18bdbc06d9aa908880e5f49205156ba804751af731c51f5cf81a"
dependencies = [
"proc-macro2",
"quote",
@@ -535,9 +535,9 @@ dependencies = [
[[package]]
name = "from_variant"
-version = "0.1.9"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32016f1242eb82af5474752d00fd8ebcd9004bd69b462b1c91de833972d08ed4"
+checksum = "e8d8947525c49c73130b5a7187b55b027b6b78fe60268d9f4c283ed690698cb1"
dependencies = [
"proc-macro2",
"swc_macros_common",
@@ -1396,9 +1396,9 @@ dependencies = [
[[package]]
name = "swc_atoms"
-version = "0.7.0"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ff4ad2795eabc349fb7ac1bdccb2625858a8be5545703ef31d5b5dc7a9f37f4"
+checksum = "0963b5f4cb08353dd4a386c7b5ee1c99d5a097722cdbc6a522efb2aeb91aad71"
dependencies = [
"hstr",
"once_cell",
@@ -1408,9 +1408,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "0.39.0"
+version = "0.40.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "04012755fd21334086b5ee2467a6236afea869d0aff3bdf8b20dc07ee5f676c6"
+checksum = "95fca87acdd34580b59a6f6686dfe72bcc7bad4b7abb7e6728e8e3fd4ecb1d7c"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1434,9 +1434,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "0.120.0"
+version = "0.121.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bb7f7d4a08f9a413b27506903a5a893a51bd0df6c8b91203fbb76aa217472ed6"
+checksum = "1628b2c0c6349c1960b007fda04e0c1537480e0d0b1405305ef5846b752aa7a8"
dependencies = [
"bitflags",
"is-macro",
@@ -1451,9 +1451,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "0.151.0"
+version = "0.152.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3c23f8288f6a38f84a1b82896917eac3adf92e37dee19cbc1c42cebab7b48590"
+checksum = "9ef96894fa0fb3fba233ede22a75a7ddd8b7f0727a40aa8d1028b5dd25013d2e"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index bfa2e4f..26bcb61 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ doctest = false
[dependencies]
oxc = "0.30.1"
-swc_ecma_parser = { version = "0.151.0", features = ["typescript"] }
-swc_ecma_ast = "0.120.0"
+swc_ecma_parser = { version = "0.152.0", features = ["typescript"] }
+swc_ecma_ast = "0.121.0"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From f2c6456b355ff6f39297ff02bae397806caba5d5 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 27 Sep 2024 08:01:27 +0000
Subject: [PATCH 179/385] chore(deps): update rust crate oxc to 0.30.3 (#191)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 40 ++++++++++++++++++++--------------------
Cargo.toml | 2 +-
2 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 89bf950..6f7d7df 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -824,9 +824,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.30.1"
+version = "0.30.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "16b71cf40cb78e41e5b0e720763f534a087eac36ecae073536b01617d658ad2c"
+checksum = "9cc078cf960b58428f88746f08df8975df8277aa63fce4a8c05508692155a395"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -840,9 +840,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.30.1"
+version = "0.30.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eb29dfe8933200c2ed2aff14a11889f95fdf2506dd87a3d0dd58f73cbe93abcc"
+checksum = "5856e86222d0929c0541c4ef77f57817a72cec373698ed159b40ee6ecceaec48"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -850,9 +850,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.30.1"
+version = "0.30.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e29c42d4b6b16eac9f2ae2ab0031a080cbf24d217df8b65cefe5852785a0e5a"
+checksum = "42fc7521939bdb481ea018325fdee67d33f068c95d0a1d905983fadbef4d1139"
dependencies = [
"bitflags",
"num-bigint",
@@ -865,9 +865,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.30.1"
+version = "0.30.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c91b198610e90b69db5779517e8a01745229a8eebf6bfae08601d3ca4a5fbcb3"
+checksum = "3fdd270f2adce786b7ace8ece582b8472e219272361caee5f1f5444e01b943ec"
dependencies = [
"proc-macro2",
"quote",
@@ -876,9 +876,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.30.1"
+version = "0.30.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a4accda097d689b524b5ded9179c752e9836f13316a84058aa616f8e5b06640c"
+checksum = "65ddc84c1721fc53330229a91e7df618580f612da883de23b54eba750d400cf0"
dependencies = [
"miette",
"owo-colors",
@@ -889,15 +889,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.30.1"
+version = "0.30.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "597589a2b06ac33cd4cee0a47878c2a4a3923f5f27955c02ee657ebaa32df6f5"
+checksum = "6162fbc11517843670a55c3d6474adbf1ff3d9a83f05fd5c6ec3695ccecdaf2d"
[[package]]
name = "oxc_parser"
-version = "0.30.1"
+version = "0.30.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c9fe0fc2d3ecf99b5d8f5b8dc874cc0e52402a842de8d6480a151ab056cfa49"
+checksum = "7ddb413496714a71112b74469805e55af9f10963fe2bbd94f27a37d336b10f62"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -917,9 +917,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.30.1"
+version = "0.30.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eff953ea7603a0d27b08e8c90d57e4f261f7412cc37afa1ed7b7f16315d1c055"
+checksum = "f0da2dc761af764bc3a35d81613d56fb16655b93385b45144ffb992a72999fb8"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -952,9 +952,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.30.1"
+version = "0.30.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "36de6b8a1e2e97bc9954ab46f795899c57096eb0a2d76f590345ff9507c44ed8"
+checksum = "c3dcf991a98a69c0f1de9b8d674faa1635ae7a66b01f1225daddb3205ea7d619"
dependencies = [
"compact_str",
"miette",
@@ -964,9 +964,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.30.1"
+version = "0.30.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "758bd2aa4be0704702cb7641070bdb3a6194f01dc3bc6f482c74515850a61415"
+checksum = "7ca95787731fa6c09ffc2fbdbb6d1cded482cf6bcfb9c79e85777e30e03f212f"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 26bcb61..6bee7d0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.30.1"
+oxc = "0.30.3"
swc_ecma_parser = { version = "0.152.0", features = ["typescript"] }
swc_ecma_ast = "0.121.0"
From e618c79e7e37be0fc64afec56d5024d48fd44b5d Mon Sep 17 00:00:00 2001
From: Boshen
Date: Fri, 27 Sep 2024 19:33:41 +0800
Subject: [PATCH 180/385] Biome is not an apple to apple comparison.
closes 183
---
README.md | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index d9db9e5..1187b73 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,13 @@
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.
+## Summary
+
+Oxc's parser is at least 3x faster than swc and 5x faster than Biome.
+
+Please note that it is not an apple to apple comparison with Biome.
+Biome's parser [produces a CST](https://biomejs.dev/internals/architecture) instead of an AST,
+which requires a lot more work.
## CPU
From badfc181d34deeb0ac6ff3f24af8d1ec4de0ea17 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 28 Sep 2024 07:53:53 +0000
Subject: [PATCH 181/385] chore(deps): update rust crate oxc to 0.30.4 (#192)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 40 ++++++++++++++++++++--------------------
Cargo.toml | 2 +-
2 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 6f7d7df..bf27517 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -824,9 +824,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.30.3"
+version = "0.30.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9cc078cf960b58428f88746f08df8975df8277aa63fce4a8c05508692155a395"
+checksum = "f0b8c27ced89627527a159ffe379bd6a1651312cbbf96bccebe3fe9e8d4d5d2a"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -840,9 +840,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.30.3"
+version = "0.30.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5856e86222d0929c0541c4ef77f57817a72cec373698ed159b40ee6ecceaec48"
+checksum = "43ad38e3229fa23b70eed831d702c55b180182fdadfae3003db4e00f056cb7a2"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -850,9 +850,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.30.3"
+version = "0.30.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "42fc7521939bdb481ea018325fdee67d33f068c95d0a1d905983fadbef4d1139"
+checksum = "65c046cb508180473b1590b73e1573c2b8f725e3f7458671593287a705b5a5b2"
dependencies = [
"bitflags",
"num-bigint",
@@ -865,9 +865,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.30.3"
+version = "0.30.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3fdd270f2adce786b7ace8ece582b8472e219272361caee5f1f5444e01b943ec"
+checksum = "42fd2d5922c23c06bb47d7f301ce612cb2d25fdf9677c5671124caaf712d71ee"
dependencies = [
"proc-macro2",
"quote",
@@ -876,9 +876,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.30.3"
+version = "0.30.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "65ddc84c1721fc53330229a91e7df618580f612da883de23b54eba750d400cf0"
+checksum = "0c0dd0158a2073b397c7c2d3a6c23a85d1da5c7bef1fbac07ca3e93b37e2ff5a"
dependencies = [
"miette",
"owo-colors",
@@ -889,15 +889,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.30.3"
+version = "0.30.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6162fbc11517843670a55c3d6474adbf1ff3d9a83f05fd5c6ec3695ccecdaf2d"
+checksum = "5f9e3adbdb915909dd6b2635361e730961a44902fb7e694c41e43a8e728e21b3"
[[package]]
name = "oxc_parser"
-version = "0.30.3"
+version = "0.30.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7ddb413496714a71112b74469805e55af9f10963fe2bbd94f27a37d336b10f62"
+checksum = "eb5e20603b8d3f1fa46d328ba4119c63cc55ac492dcd968c0664e6b964b1fff8"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -917,9 +917,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.30.3"
+version = "0.30.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f0da2dc761af764bc3a35d81613d56fb16655b93385b45144ffb992a72999fb8"
+checksum = "90bc19e9b889238801d0d17abf05dd4106bb1b6353fe0668f968d8867b8a4667"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -952,9 +952,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.30.3"
+version = "0.30.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c3dcf991a98a69c0f1de9b8d674faa1635ae7a66b01f1225daddb3205ea7d619"
+checksum = "800dae641059b8ff894004a591ab7f40d481954908e4931b50c6728b7d9918ed"
dependencies = [
"compact_str",
"miette",
@@ -964,9 +964,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.30.3"
+version = "0.30.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7ca95787731fa6c09ffc2fbdbb6d1cded482cf6bcfb9c79e85777e30e03f212f"
+checksum = "ee7cce7af7128f371e5f5c41e0e10a3aa76de3831ced53b19d327e14cd0b0202"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 6bee7d0..be1599d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.30.3"
+oxc = "0.30.4"
swc_ecma_parser = { version = "0.152.0", features = ["typescript"] }
swc_ecma_ast = "0.121.0"
From e2a479c1ec188bef0a5140d579a0aed5847d5438 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 29 Sep 2024 10:19:41 +0000
Subject: [PATCH 182/385] chore(deps): update rust crate oxc to 0.30.5 (#193)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 40 ++++++++++++++++++++--------------------
Cargo.toml | 2 +-
2 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index bf27517..ed736df 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -824,9 +824,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.30.4"
+version = "0.30.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f0b8c27ced89627527a159ffe379bd6a1651312cbbf96bccebe3fe9e8d4d5d2a"
+checksum = "4bafee3fed7d463c3ef771ace3d0692e294e50d946cb13b4175c7615d5629027"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -840,9 +840,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.30.4"
+version = "0.30.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "43ad38e3229fa23b70eed831d702c55b180182fdadfae3003db4e00f056cb7a2"
+checksum = "3ff0bca77a2d50ab7ad00c2e6041fa497e61b74bd8933bfedf1adb7fa23b6d69"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -850,9 +850,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.30.4"
+version = "0.30.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "65c046cb508180473b1590b73e1573c2b8f725e3f7458671593287a705b5a5b2"
+checksum = "8682a40306a94ed0c05165fdfa0ffd0bca275dd368b401765b26eb9d5c2d2ddc"
dependencies = [
"bitflags",
"num-bigint",
@@ -865,9 +865,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.30.4"
+version = "0.30.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "42fd2d5922c23c06bb47d7f301ce612cb2d25fdf9677c5671124caaf712d71ee"
+checksum = "b09d1bd60764db308e540d7e0b2855e63f37ba03074b7baca303a219c4b15147"
dependencies = [
"proc-macro2",
"quote",
@@ -876,9 +876,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.30.4"
+version = "0.30.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c0dd0158a2073b397c7c2d3a6c23a85d1da5c7bef1fbac07ca3e93b37e2ff5a"
+checksum = "d13d2cfe0599ab204044a6a3b7e051f43ada33805ca962241cd093c6dbac6bcb"
dependencies = [
"miette",
"owo-colors",
@@ -889,15 +889,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.30.4"
+version = "0.30.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5f9e3adbdb915909dd6b2635361e730961a44902fb7e694c41e43a8e728e21b3"
+checksum = "7f8f41bef7cee40604b4e15f4439ae79cbb02ad0a3e357c3ecee64f1a2a4135f"
[[package]]
name = "oxc_parser"
-version = "0.30.4"
+version = "0.30.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eb5e20603b8d3f1fa46d328ba4119c63cc55ac492dcd968c0664e6b964b1fff8"
+checksum = "6d9d3ad9f100094890cf87bd2f4c1197f8f2b56115c91e0eaa8da5b5b0aa2f7b"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -917,9 +917,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.30.4"
+version = "0.30.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "90bc19e9b889238801d0d17abf05dd4106bb1b6353fe0668f968d8867b8a4667"
+checksum = "2f021c18692754a2647d862b2ff5bc2a33a3e74f25b4006a83a218ca971012ea"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -952,9 +952,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.30.4"
+version = "0.30.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "800dae641059b8ff894004a591ab7f40d481954908e4931b50c6728b7d9918ed"
+checksum = "872f1d0c9422b43c07ab03de817b0c8cfde70e0b9b31bd9279cf87bfaba78694"
dependencies = [
"compact_str",
"miette",
@@ -964,9 +964,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.30.4"
+version = "0.30.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ee7cce7af7128f371e5f5c41e0e10a3aa76de3831ced53b19d327e14cd0b0202"
+checksum = "2a4cb91daf6f98a036b245d24efc93bda2990c6aab1066d943d5ec6547e0070d"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index be1599d..f1f1c85 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.30.4"
+oxc = "0.30.5"
swc_ecma_parser = { version = "0.152.0", features = ["typescript"] }
swc_ecma_ast = "0.121.0"
From 76d48507ec24c43cf3d55a95b74f4a1c49d1b02f Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 1 Oct 2024 00:12:45 +0000
Subject: [PATCH 183/385] chore(deps): lock file maintenance rust crates (#194)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 105 +++++++++++++++++++++++++++++------------------------
1 file changed, 57 insertions(+), 48 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index ed736df..f31c5a0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -62,14 +62,14 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.77",
+ "syn 2.0.79",
]
[[package]]
name = "autocfg"
-version = "1.3.0"
+version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
+checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
[[package]]
name = "backtrace"
@@ -288,9 +288,9 @@ checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
[[package]]
name = "bpaf"
-version = "0.9.13"
+version = "0.9.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0eb12bae07c4142b840ff2a892d3abd94124f30672293f5b466f38624077aadb"
+checksum = "8d4e5ca9929037866947af4b8b7418124f2ec7c411a8b9ee24e46ad2b8470497"
dependencies = [
"bpaf_derive",
]
@@ -303,7 +303,7 @@ checksum = "cf95d9c7e6aba67f8fc07761091e93254677f4db9e27197adecebc7039a58722"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.77",
+ "syn 2.0.79",
]
[[package]]
@@ -343,9 +343,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.1.19"
+version = "1.1.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2d74707dde2ba56f86ae90effb3b43ddd369504387e718014de010cec7959800"
+checksum = "9540e661f81799159abee814118cc139a2004b3a3aa3ea37724a1b66530b90e0"
dependencies = [
"shlex",
]
@@ -432,9 +432,9 @@ checksum = "417bef24afe1460300965a25ff4a24b8b45ad011948302ec221e8a0a81eb2c79"
[[package]]
name = "criterion2"
-version = "1.1.0"
+version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e28d8111cea0da58d7bf5c6192202ff6b44bf6d712e45a376755708db425029f"
+checksum = "d6c2be2af5816b76f45745ccfb9959a9efd1322ae4c88fc3c9b2d6bcdabe5554"
dependencies = [
"anes",
"bpaf",
@@ -541,7 +541,7 @@ checksum = "e8d8947525c49c73130b5a7187b55b027b6b78fe60268d9f4c283ed690698cb1"
dependencies = [
"proc-macro2",
"swc_macros_common",
- "syn 2.0.77",
+ "syn 2.0.79",
]
[[package]]
@@ -636,7 +636,7 @@ dependencies = [
"Inflector",
"proc-macro2",
"quote",
- "syn 2.0.77",
+ "syn 2.0.79",
]
[[package]]
@@ -662,9 +662,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
[[package]]
name = "libc"
-version = "0.2.158"
+version = "0.2.159"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439"
+checksum = "561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5"
[[package]]
name = "libmimalloc-sys"
@@ -723,7 +723,7 @@ checksum = "dcf09caffaac8068c346b6df2a7fc27a177fd20b39421a39ce0a211bde679a6c"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.77",
+ "syn 2.0.79",
]
[[package]]
@@ -806,9 +806,12 @@ dependencies = [
[[package]]
name = "once_cell"
-version = "1.20.0"
+version = "1.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "33ea5043e58958ee56f3e15a90aee535795cd7dfd319846288d93c5b57d85cbe"
+checksum = "82881c4be219ab5faaf2ad5e5e5ecdff8c66bd7402ca3160975c93b24961afd1"
+dependencies = [
+ "portable-atomic",
+]
[[package]]
name = "oorandom"
@@ -871,7 +874,7 @@ checksum = "b09d1bd60764db308e540d7e0b2855e63f37ba03074b7baca303a219c4b15147"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.77",
+ "syn 2.0.79",
]
[[package]]
@@ -932,9 +935,9 @@ dependencies = [
[[package]]
name = "oxc_resolver"
-version = "1.11.0"
+version = "1.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7fe4d07afdfcf6b1d7fb952e6691d82692a54b71964a377cf49f3e47dac283d"
+checksum = "6c20bb345f290c46058ba650fef7ca2b579612cf2786b927ebad7b8bec0845a7"
dependencies = [
"cfg-if",
"dashmap",
@@ -1030,7 +1033,7 @@ dependencies = [
"phf_shared",
"proc-macro2",
"quote",
- "syn 2.0.77",
+ "syn 2.0.79",
]
[[package]]
@@ -1048,6 +1051,12 @@ version = "0.2.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02"
+[[package]]
+name = "portable-atomic"
+version = "1.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cc9c68a3f6da06753e9335d63e27f6b9754dd1920d941135b7ea8224f141adb2"
+
[[package]]
name = "proc-macro-error"
version = "1.0.4"
@@ -1155,18 +1164,18 @@ dependencies = [
[[package]]
name = "redox_syscall"
-version = "0.5.4"
+version = "0.5.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0884ad60e090bf1345b93da0a5de8923c93884cd03f40dfcfddd3b4bee661853"
+checksum = "355ae415ccd3a04315d3f8246e86d67689ea74d88d915576e1589a351062a13b"
dependencies = [
"bitflags",
]
[[package]]
name = "regex-automata"
-version = "0.4.7"
+version = "0.4.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df"
+checksum = "368758f23274712b504848e9d5a6f010445cc8b87a7cdb4d7cbee666c1288da3"
[[package]]
name = "rustc-demangle"
@@ -1228,7 +1237,7 @@ dependencies = [
"proc-macro2",
"quote",
"serde_derive_internals",
- "syn 2.0.77",
+ "syn 2.0.79",
]
[[package]]
@@ -1266,7 +1275,7 @@ checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.77",
+ "syn 2.0.79",
]
[[package]]
@@ -1277,7 +1286,7 @@ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.77",
+ "syn 2.0.79",
]
[[package]]
@@ -1301,9 +1310,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
[[package]]
name = "simdutf8"
-version = "0.1.4"
+version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a"
+checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e"
[[package]]
name = "similar"
@@ -1378,7 +1387,7 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.77",
+ "syn 2.0.79",
]
[[package]]
@@ -1479,7 +1488,7 @@ checksum = "63db0adcff29d220c3d151c5b25c0eabe7e32dd936212b84cdaa1392e3130497"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.77",
+ "syn 2.0.79",
]
[[package]]
@@ -1490,7 +1499,7 @@ checksum = "f486687bfb7b5c560868f69ed2d458b880cebc9babebcb67e49f31b55c5bf847"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.77",
+ "syn 2.0.79",
]
[[package]]
@@ -1516,9 +1525,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.77"
+version = "2.0.79"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed"
+checksum = "89132cd0bf050864e1d38dc3bbc07a0eb8e7530af26344d3d2bbbef83499f590"
dependencies = [
"proc-macro2",
"quote",
@@ -1547,22 +1556,22 @@ dependencies = [
[[package]]
name = "thiserror"
-version = "1.0.63"
+version = "1.0.64"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724"
+checksum = "d50af8abc119fb8bb6dbabcfa89656f46f84aa0ac7688088608076ad2b459a84"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
-version = "1.0.63"
+version = "1.0.64"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261"
+checksum = "08904e7672f5eb876eaaf87e0ce17857500934f4981c4a0ab2b4aa98baac7fc3"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.77",
+ "syn 2.0.79",
]
[[package]]
@@ -1599,7 +1608,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.77",
+ "syn 2.0.79",
]
[[package]]
@@ -1641,9 +1650,9 @@ checksum = "7eec5d1121208364f6793f7d2e222bf75a915c19557537745b195b253dd64217"
[[package]]
name = "unicode-id-start"
-version = "1.2.0"
+version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bc3882f69607a2ac8cc4de3ee7993d8f68bb06f2974271195065b3bd07f2edea"
+checksum = "97e2a3c5fc9de285c0e805d98eba666adb4b2d9e1049ce44821ff7707cc34e91"
[[package]]
name = "unicode-ident"
@@ -1659,9 +1668,9 @@ checksum = "3b09c83c3c29d37506a3e260c08c03743a6bb66a9cd432c6934ab501a190571f"
[[package]]
name = "unicode-normalization"
-version = "0.1.23"
+version = "0.1.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5"
+checksum = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956"
dependencies = [
"tinyvec",
]
@@ -1674,9 +1683,9 @@ checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493"
[[package]]
name = "unicode-width"
-version = "0.1.13"
+version = "0.1.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d"
+checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af"
[[package]]
name = "url"
@@ -1870,5 +1879,5 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.77",
+ "syn 2.0.79",
]
From fa2e15950eac232c7aa335df07300cafea107e62 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 1 Oct 2024 03:25:47 +0000
Subject: [PATCH 184/385] chore(deps): update rust crate swc_ecma_parser to
0.152.1 (#195)
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 f31c5a0..44d2110 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1460,9 +1460,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "0.152.0"
+version = "0.152.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9ef96894fa0fb3fba233ede22a75a7ddd8b7f0727a40aa8d1028b5dd25013d2e"
+checksum = "a4cfd7930abe18c6829d4adedb5249e1b9fa68e8e786c6636250637992ba0466"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index f1f1c85..052678d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.30.5"
-swc_ecma_parser = { version = "0.152.0", features = ["typescript"] }
+swc_ecma_parser = { version = "0.152.1", features = ["typescript"] }
swc_ecma_ast = "0.121.0"
biome_js_parser = "0.5.7"
From d00d7743f91037c8329f8d2ed18dbc463c160b88 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 1 Oct 2024 10:27:20 +0000
Subject: [PATCH 185/385] chore(deps): update rust crate swc_ecma_ast to
0.121.1 (#196)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 12 ++++++------
Cargo.toml | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 44d2110..6e24f71 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1392,9 +1392,9 @@ dependencies = [
[[package]]
name = "swc_allocator"
-version = "0.1.8"
+version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "adc8bd3075d1c6964010333fae9ddcd91ad422a4f8eb8b3206a9b2b6afb4209e"
+checksum = "7016ee7a5186d6a80e381aa1926e0f3c7b06eaf444745ff7af3632e978eb8dc5"
dependencies = [
"bumpalo",
"hashbrown 0.14.5",
@@ -1417,9 +1417,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "0.40.0"
+version = "0.40.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "95fca87acdd34580b59a6f6686dfe72bcc7bad4b7abb7e6728e8e3fd4ecb1d7c"
+checksum = "f355465eaed1104244ce918b7ffb77ceb109aabeb74b04b98acae85683b0215b"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1443,9 +1443,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "0.121.0"
+version = "0.121.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1628b2c0c6349c1960b007fda04e0c1537480e0d0b1405305ef5846b752aa7a8"
+checksum = "db7e1b73c85ff968404867505646b3c6f26e4661e4fc831593b9e182fa59ddd4"
dependencies = [
"bitflags",
"is-macro",
diff --git a/Cargo.toml b/Cargo.toml
index 052678d..4f71174 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -30,7 +30,7 @@ doctest = false
oxc = "0.30.5"
swc_ecma_parser = { version = "0.152.1", features = ["typescript"] }
-swc_ecma_ast = "0.121.0"
+swc_ecma_ast = "0.121.1"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From e2fcb8b01643ccbf749a419da74bcf8fcd01ba91 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 7 Oct 2024 22:52:22 +0000
Subject: [PATCH 186/385] chore(deps): lock file maintenance (#197)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 57 ++++++++++++++++++++++++++----------------------------
1 file changed, 27 insertions(+), 30 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 6e24f71..9900a08 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -10,9 +10,9 @@ checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3"
[[package]]
name = "addr2line"
-version = "0.24.1"
+version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f5fb1d8e4442bd405fdfd1dacb42792696b0cf9cb15882e5d097b742a676d375"
+checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1"
dependencies = [
"gimli",
]
@@ -343,9 +343,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.1.22"
+version = "1.1.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9540e661f81799159abee814118cc139a2004b3a3aa3ea37724a1b66530b90e0"
+checksum = "2e80e3b6a3ab07840e1cae9b0666a63970dc28e8ed5ffbcdacbfc760c281bfc1"
dependencies = [
"shlex",
]
@@ -546,9 +546,9 @@ dependencies = [
[[package]]
name = "gimli"
-version = "0.31.0"
+version = "0.31.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32085ea23f3234fc7846555e85283ba4de91e21016dc0455a16286d87a292d64"
+checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f"
[[package]]
name = "half"
@@ -576,6 +576,12 @@ dependencies = [
"allocator-api2",
]
+[[package]]
+name = "hashbrown"
+version = "0.15.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e087f84d4f86bf4b218b927129862374b72199ae7d8657835f1e89000eea4fb"
+
[[package]]
name = "hermit-abi"
version = "0.3.9"
@@ -618,12 +624,12 @@ dependencies = [
[[package]]
name = "indexmap"
-version = "2.5.0"
+version = "2.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "68b900aa2f7301e21c36462b170ee99994de34dff39a4a6a528e80e7376d07e5"
+checksum = "707907fe3c25f5424cce2cb7e1cbcafee6bdbe735ca90ef77c29e84591e5b9da"
dependencies = [
"equivalent",
- "hashbrown 0.14.5",
+ "hashbrown 0.15.0",
"serde",
]
@@ -797,21 +803,18 @@ dependencies = [
[[package]]
name = "object"
-version = "0.36.4"
+version = "0.36.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "084f1a5821ac4c651660a94a7153d27ac9d8a53736203f58b31945ded098070a"
+checksum = "aedf0a2d09c573ed1d8d85b30c119153926a2b36dce0ab28322c09a117a4683e"
dependencies = [
"memchr",
]
[[package]]
name = "once_cell"
-version = "1.20.1"
+version = "1.20.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "82881c4be219ab5faaf2ad5e5e5ecdff8c66bd7402ca3160975c93b24961afd1"
-dependencies = [
- "portable-atomic",
-]
+checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
[[package]]
name = "oorandom"
@@ -942,7 +945,7 @@ dependencies = [
"cfg-if",
"dashmap",
"dunce",
- "indexmap 2.5.0",
+ "indexmap 2.6.0",
"json-strip-comments",
"once_cell",
"rustc-hash 2.0.0",
@@ -1051,12 +1054,6 @@ version = "0.2.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02"
-[[package]]
-name = "portable-atomic"
-version = "1.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cc9c68a3f6da06753e9335d63e27f6b9754dd1920d941135b7ea8224f141adb2"
-
[[package]]
name = "proc-macro-error"
version = "1.0.4"
@@ -1164,9 +1161,9 @@ dependencies = [
[[package]]
name = "redox_syscall"
-version = "0.5.6"
+version = "0.5.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "355ae415ccd3a04315d3f8246e86d67689ea74d88d915576e1589a351062a13b"
+checksum = "9b6dfecf2c74bce2466cabf93f6664d6998a69eb21e39f4207930065b27b771f"
dependencies = [
"bitflags",
]
@@ -1295,7 +1292,7 @@ version = "1.0.128"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8"
dependencies = [
- "indexmap 2.5.0",
+ "indexmap 2.6.0",
"itoa",
"memchr",
"ryu",
@@ -1405,9 +1402,9 @@ dependencies = [
[[package]]
name = "swc_atoms"
-version = "1.0.0"
+version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0963b5f4cb08353dd4a386c7b5ee1c99d5a097722cdbc6a522efb2aeb91aad71"
+checksum = "26cbf6019321add3a50377aaa4e06767a97a115084895289e10be000db207faf"
dependencies = [
"hstr",
"once_cell",
@@ -1638,9 +1635,9 @@ checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a"
[[package]]
name = "unicode-bidi"
-version = "0.3.15"
+version = "0.3.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75"
+checksum = "5ab17db44d7388991a428b2ee655ce0c212e862eff1768a455c58f9aad6e7893"
[[package]]
name = "unicode-bom"
From fae354162c0e9f4f35ab597fc5f08b83f0dff87a Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 8 Oct 2024 14:35:31 +0000
Subject: [PATCH 187/385] chore(deps): update rust crate oxc to 0.31.0 (#198)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 51 +++++++++++++++++++++++++++++++--------------------
Cargo.toml | 2 +-
2 files changed, 32 insertions(+), 21 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 9900a08..c8d23be 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -830,9 +830,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.30.5"
+version = "0.31.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4bafee3fed7d463c3ef771ace3d0692e294e50d946cb13b4175c7615d5629027"
+checksum = "e5ab4cb60ae16fd5b9a8e7c7716eed450551e810f9232a9c9cd01d997a99cd57"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -846,9 +846,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.30.5"
+version = "0.31.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ff0bca77a2d50ab7ad00c2e6041fa497e61b74bd8933bfedf1adb7fa23b6d69"
+checksum = "9186b2689dd687b435b54ff13a5f8673f8d7d6cd51211f514f9a9fc7f4ca64b6"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -856,9 +856,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.30.5"
+version = "0.31.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8682a40306a94ed0c05165fdfa0ffd0bca275dd368b401765b26eb9d5c2d2ddc"
+checksum = "d90e2d0a935fa2a9271a37e180e0725a902450474a0f2e8d104fb643f29cce67"
dependencies = [
"bitflags",
"num-bigint",
@@ -871,9 +871,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.30.5"
+version = "0.31.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b09d1bd60764db308e540d7e0b2855e63f37ba03074b7baca303a219c4b15147"
+checksum = "a2b1072cb32335b47745c9ea9d614a6d5d36ba9f528fce1da428d5f7e20c3ed1"
dependencies = [
"proc-macro2",
"quote",
@@ -882,9 +882,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.30.5"
+version = "0.31.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d13d2cfe0599ab204044a6a3b7e051f43ada33805ca962241cd093c6dbac6bcb"
+checksum = "da1421cd82c209a7dfc830fdd09b5c6372e28dfc419e9e67868c6159ab5c127b"
dependencies = [
"miette",
"owo-colors",
@@ -895,15 +895,15 @@ dependencies = [
[[package]]
name = "oxc_index"
-version = "0.30.5"
+version = "0.31.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7f8f41bef7cee40604b4e15f4439ae79cbb02ad0a3e357c3ecee64f1a2a4135f"
+checksum = "cb46cc4ce3d5820ad5e5737f84f5206307b293f9984f9da219ac51ccdc0ea4c8"
[[package]]
name = "oxc_parser"
-version = "0.30.5"
+version = "0.31.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6d9d3ad9f100094890cf87bd2f4c1197f8f2b56115c91e0eaa8da5b5b0aa2f7b"
+checksum = "8afe7b80a710daa7a07eec92bc46ed5a2d08581f15e833ee1eded5d929283893"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -917,15 +917,16 @@ dependencies = [
"oxc_regular_expression",
"oxc_span",
"oxc_syntax",
+ "oxc_syntax_operations",
"rustc-hash 2.0.0",
"seq-macro",
]
[[package]]
name = "oxc_regular_expression"
-version = "0.30.5"
+version = "0.31.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2f021c18692754a2647d862b2ff5bc2a33a3e74f25b4006a83a218ca971012ea"
+checksum = "3bc9d3d0ca89ebc9860b6d458f671d06c887bf1fa08accf504c65b5824ea5d87"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -958,9 +959,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.30.5"
+version = "0.31.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "872f1d0c9422b43c07ab03de817b0c8cfde70e0b9b31bd9279cf87bfaba78694"
+checksum = "5c6a6c56f8482e48b6b7a953e55efe59ea55a0f00451a3f3aaf3c09c955c11c0"
dependencies = [
"compact_str",
"miette",
@@ -970,9 +971,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.30.5"
+version = "0.31.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2a4cb91daf6f98a036b245d24efc93bda2990c6aab1066d943d5ec6547e0070d"
+checksum = "2e1b7860133b880b357bb400e12a791e86dd8165ebcbfda1f3b7f31dd2f645ab"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -987,6 +988,16 @@ dependencies = [
"unicode-id-start",
]
+[[package]]
+name = "oxc_syntax_operations"
+version = "0.31.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "509fc5ab630ee66ce1d6fcb41d07a646cc14d91014bf31b0c731d219d31018cf"
+dependencies = [
+ "oxc_ast",
+ "oxc_span",
+]
+
[[package]]
name = "parking_lot_core"
version = "0.9.10"
diff --git a/Cargo.toml b/Cargo.toml
index 4f71174..91c563b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.30.5"
+oxc = "0.31.0"
swc_ecma_parser = { version = "0.152.1", features = ["typescript"] }
swc_ecma_ast = "0.121.1"
From 8e9dabfce1c081e330ea1544ee6ce1a380c2eb91 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 10 Oct 2024 02:01:56 +0000
Subject: [PATCH 188/385] chore(deps): update swc (#199)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 24 ++++++++++++------------
Cargo.toml | 4 ++--
2 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index c8d23be..4ec7a87 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -103,9 +103,9 @@ dependencies = [
[[package]]
name = "better_scoped_tls"
-version = "0.1.1"
+version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "794edcc9b3fb07bb4aecaa11f093fd45663b4feadb782d68303a2268bc2701de"
+checksum = "297b153aa5e573b5863108a6ddc9d5c968bd0b20e75cc614ee9821d2f45679c7"
dependencies = [
"scoped-tls",
]
@@ -1400,9 +1400,9 @@ dependencies = [
[[package]]
name = "swc_allocator"
-version = "0.1.9"
+version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7016ee7a5186d6a80e381aa1926e0f3c7b06eaf444745ff7af3632e978eb8dc5"
+checksum = "76aa0eb65c0f39f9b6d82a7e5192c30f7ac9a78f084a21f270de1d8c600ca388"
dependencies = [
"bumpalo",
"hashbrown 0.14.5",
@@ -1413,9 +1413,9 @@ dependencies = [
[[package]]
name = "swc_atoms"
-version = "1.0.1"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "26cbf6019321add3a50377aaa4e06767a97a115084895289e10be000db207faf"
+checksum = "b25ff0f3fd48ab1a95d86fd0505fdd1ac904f84d0350dc8222bbc824e9d4fdf6"
dependencies = [
"hstr",
"once_cell",
@@ -1425,9 +1425,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "0.40.1"
+version = "0.40.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f355465eaed1104244ce918b7ffb77ceb109aabeb74b04b98acae85683b0215b"
+checksum = "ca32839a37f3b12213b18623b1bd58d37641cab750c50c3c287876cb98b12ab4"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1451,9 +1451,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "0.121.1"
+version = "0.121.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db7e1b73c85ff968404867505646b3c6f26e4661e4fc831593b9e182fa59ddd4"
+checksum = "84d568834a727fc06c608db119dcea52c2d58e9426e92e72f358e2f7dc847063"
dependencies = [
"bitflags",
"is-macro",
@@ -1468,9 +1468,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "0.152.1"
+version = "0.152.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a4cfd7930abe18c6829d4adedb5249e1b9fa68e8e786c6636250637992ba0466"
+checksum = "b888663998ef49da15d1dd3377e6b62bab4f994588e4f405628cb058d11ce8b3"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index 91c563b..93d576b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ doctest = false
[dependencies]
oxc = "0.31.0"
-swc_ecma_parser = { version = "0.152.1", features = ["typescript"] }
-swc_ecma_ast = "0.121.1"
+swc_ecma_parser = { version = "0.152.2", features = ["typescript"] }
+swc_ecma_ast = "0.121.2"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From d80c6d8396f0ea311b3f88b66388659656868f78 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 12 Oct 2024 09:51:47 +0000
Subject: [PATCH 189/385] chore(deps): update swc to v1 (#200)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 4 ++--
2 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 4ec7a87..f249786 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -55,9 +55,9 @@ checksum = "7330592adf847ee2e3513587b4db2db410a0d751378654e7e993d9adcbe5c795"
[[package]]
name = "ast_node"
-version = "1.0.0"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f4d23a6d1d5f18bdbc06d9aa908880e5f49205156ba804751af731c51f5cf81a"
+checksum = "94741d66bdda032fcbf33e621b4e3a888d7d11bd3ac4446d82c5593a136936ff"
dependencies = [
"proc-macro2",
"quote",
@@ -103,9 +103,9 @@ dependencies = [
[[package]]
name = "better_scoped_tls"
-version = "0.1.2"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "297b153aa5e573b5863108a6ddc9d5c968bd0b20e75cc614ee9821d2f45679c7"
+checksum = "50fd297a11c709be8348aec039c8b91de16075d2b2bdaee1bd562c0875993664"
dependencies = [
"scoped-tls",
]
@@ -535,9 +535,9 @@ dependencies = [
[[package]]
name = "from_variant"
-version = "1.0.0"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e8d8947525c49c73130b5a7187b55b027b6b78fe60268d9f4c283ed690698cb1"
+checksum = "8d7ccf961415e7aa17ef93dcb6c2441faaa8e768abe09e659b908089546f74c5"
dependencies = [
"proc-macro2",
"swc_macros_common",
@@ -1388,9 +1388,9 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
[[package]]
name = "string_enum"
-version = "0.4.4"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "05e383308aebc257e7d7920224fa055c632478d92744eca77f99be8fa1545b90"
+checksum = "c9fe66b8ee349846ce2f9557a26b8f1e74843c4a13fb381f9a3d73617a5f956a"
dependencies = [
"proc-macro2",
"quote",
@@ -1400,9 +1400,9 @@ dependencies = [
[[package]]
name = "swc_allocator"
-version = "0.1.10"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "76aa0eb65c0f39f9b6d82a7e5192c30f7ac9a78f084a21f270de1d8c600ca388"
+checksum = "52cacc28f0ada8e4e31a720dd849ff06864b10e6ab0a1aaa99c06456cfe046af"
dependencies = [
"bumpalo",
"hashbrown 0.14.5",
@@ -1413,9 +1413,9 @@ dependencies = [
[[package]]
name = "swc_atoms"
-version = "1.0.2"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b25ff0f3fd48ab1a95d86fd0505fdd1ac904f84d0350dc8222bbc824e9d4fdf6"
+checksum = "5d7211e5c57ea972f32b8a104d7006c4a68d094ec30c6a73bcd20d4d6c473c7c"
dependencies = [
"hstr",
"once_cell",
@@ -1425,9 +1425,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "0.40.2"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ca32839a37f3b12213b18623b1bd58d37641cab750c50c3c287876cb98b12ab4"
+checksum = "e8505eddfd6488cde74b0e80a4b959b12392a8a15eb62243d45eb82cf568b9b9"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1451,9 +1451,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "0.121.2"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "84d568834a727fc06c608db119dcea52c2d58e9426e92e72f358e2f7dc847063"
+checksum = "6795be2785b968ccff06096bc758b306459f05fc936e6363b4dd39fb27fba22a"
dependencies = [
"bitflags",
"is-macro",
@@ -1468,9 +1468,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "0.152.2"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b888663998ef49da15d1dd3377e6b62bab4f994588e4f405628cb058d11ce8b3"
+checksum = "09b26e37822d421710c4f49eb7f63cc9792a57ad1b6e461d1b3eca84dbe45ae6"
dependencies = [
"either",
"new_debug_unreachable",
@@ -1490,9 +1490,9 @@ dependencies = [
[[package]]
name = "swc_eq_ignore_macros"
-version = "0.1.4"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "63db0adcff29d220c3d151c5b25c0eabe7e32dd936212b84cdaa1392e3130497"
+checksum = "e96e15288bf385ab85eb83cff7f9e2d834348da58d0a31b33bdb572e66ee413e"
dependencies = [
"proc-macro2",
"quote",
@@ -1501,9 +1501,9 @@ dependencies = [
[[package]]
name = "swc_macros_common"
-version = "0.3.13"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f486687bfb7b5c560868f69ed2d458b880cebc9babebcb67e49f31b55c5bf847"
+checksum = "a509f56fca05b39ba6c15f3e58636c3924c78347d63853632ed2ffcb6f5a0ac7"
dependencies = [
"proc-macro2",
"quote",
@@ -1512,9 +1512,9 @@ dependencies = [
[[package]]
name = "swc_visit"
-version = "0.6.2"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ceb044142ba2719ef9eb3b6b454fce61ab849eb696c34d190f04651955c613d"
+checksum = "b40b33e89a4fe7b07b39665f81203a83ffecb3a930522b6ad075716ee6dad637"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index 93d576b..09555be 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ doctest = false
[dependencies]
oxc = "0.31.0"
-swc_ecma_parser = { version = "0.152.2", features = ["typescript"] }
-swc_ecma_ast = "0.121.2"
+swc_ecma_parser = { version = "1.0.0", features = ["typescript"] }
+swc_ecma_ast = "1.0.0"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From 40b6511bda0d3f1559e8e83e903533ce9afdb33d Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 14 Oct 2024 20:46:49 +0000
Subject: [PATCH 190/385] chore(deps): lock file maintenance (#201)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index f249786..5dd62ff 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -288,9 +288,9 @@ checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
[[package]]
name = "bpaf"
-version = "0.9.14"
+version = "0.9.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8d4e5ca9929037866947af4b8b7418124f2ec7c411a8b9ee24e46ad2b8470497"
+checksum = "50fd5174866dc2fa2ddc96e8fb800852d37f064f32a45c7b7c2f8fa2c64c77fa"
dependencies = [
"bpaf_derive",
]
@@ -343,9 +343,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.1.28"
+version = "1.1.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2e80e3b6a3ab07840e1cae9b0666a63970dc28e8ed5ffbcdacbfc760c281bfc1"
+checksum = "b16803a61b81d9eabb7eae2588776c4c1e584b738ede45fdbb4c972cec1e9945"
dependencies = [
"shlex",
]
@@ -1090,9 +1090,9 @@ dependencies = [
[[package]]
name = "proc-macro2"
-version = "1.0.86"
+version = "1.0.87"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
+checksum = "b3e4daa0dcf6feba26f985457cdf104d4b4256fc5a09547140f3631bb076b19a"
dependencies = [
"unicode-ident",
]
@@ -1630,9 +1630,9 @@ dependencies = [
[[package]]
name = "triomphe"
-version = "0.1.13"
+version = "0.1.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e6631e42e10b40c0690bf92f404ebcfe6e1fdb480391d15f17cc8e96eeed5369"
+checksum = "ef8f7726da4807b58ea5c96fdc122f80702030edc33b35aff9190a51148ccc85"
dependencies = [
"serde",
"stable_deref_trait",
From c58d4f0f90fe81ac8384f4bb12494dbc20cf2875 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 17 Oct 2024 03:42:47 +0000
Subject: [PATCH 191/385] chore(deps): update rust crate swc_ecma_parser to
1.0.1 (#202)
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 5dd62ff..fa782fc 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1468,9 +1468,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "1.0.0"
+version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09b26e37822d421710c4f49eb7f63cc9792a57ad1b6e461d1b3eca84dbe45ae6"
+checksum = "af8beb1639d45a3b6b5d0f2e9aa9f99833608b7c9c4596465035bea38264407b"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index 09555be..302c5d6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.31.0"
-swc_ecma_parser = { version = "1.0.0", features = ["typescript"] }
+swc_ecma_parser = { version = "1.0.1", features = ["typescript"] }
swc_ecma_ast = "1.0.0"
biome_js_parser = "0.5.7"
From 23599a93e33c71ac920f1b3aabf394902dfd1a80 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 17 Oct 2024 18:02:28 +0000
Subject: [PATCH 192/385] chore(deps): update dependency rust to v1.82.0 (#203)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
rust-toolchain.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
index 50668be..53ad705 100644
--- a/rust-toolchain.toml
+++ b/rust-toolchain.toml
@@ -1,3 +1,3 @@
[toolchain]
-channel = "1.81.0"
+channel = "1.82.0"
profile = "minimal"
From 1419cc36b4c3df971db6603af64c9eaaf1eb3d68 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 19 Oct 2024 16:19:50 +0000
Subject: [PATCH 193/385] chore(deps): update rust crate oxc to 0.32.0 (#204)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 100 +++++++++++++++++++++++++++++++++--------------------
Cargo.toml | 2 +-
2 files changed, 64 insertions(+), 38 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index fa782fc..28ddee2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -122,7 +122,7 @@ dependencies = [
"serde",
"termcolor",
"unicode-segmentation",
- "unicode-width",
+ "unicode-width 0.1.14",
]
[[package]]
@@ -143,7 +143,7 @@ dependencies = [
"oxc_resolver",
"serde",
"termcolor",
- "unicode-width",
+ "unicode-width 0.1.14",
]
[[package]]
@@ -718,7 +718,7 @@ dependencies = [
"owo-colors",
"textwrap",
"thiserror",
- "unicode-width",
+ "unicode-width 0.1.14",
]
[[package]]
@@ -830,9 +830,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.31.0"
+version = "0.32.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5ab4cb60ae16fd5b9a8e7c7716eed450551e810f9232a9c9cd01d997a99cd57"
+checksum = "23b535384b25da0a0b9f725bd4a16eb2be40c69727458383e1806aae80bce815"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -846,9 +846,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.31.0"
+version = "0.32.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9186b2689dd687b435b54ff13a5f8673f8d7d6cd51211f514f9a9fc7f4ca64b6"
+checksum = "40baa80a3e4ae7cea94c1e04dc8820162b934f5f5cbca8a96e80a0b85a2815f4"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -856,14 +856,15 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.31.0"
+version = "0.32.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d90e2d0a935fa2a9271a37e180e0725a902450474a0f2e8d104fb643f29cce67"
+checksum = "d7eb50a1c3485609b4b2051bd23352c1e6a8743b9e345dd6def70b3470948429"
dependencies = [
"bitflags",
"num-bigint",
"oxc_allocator",
"oxc_ast_macros",
+ "oxc_estree",
"oxc_regular_expression",
"oxc_span",
"oxc_syntax",
@@ -871,9 +872,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.31.0"
+version = "0.32.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a2b1072cb32335b47745c9ea9d614a6d5d36ba9f528fce1da428d5f7e20c3ed1"
+checksum = "0a4b29106d9f2bbcca4f5ee7a9325c99844ff9721d10103625cd5278795507fe"
dependencies = [
"proc-macro2",
"quote",
@@ -882,28 +883,47 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.31.0"
+version = "0.32.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "da1421cd82c209a7dfc830fdd09b5c6372e28dfc419e9e67868c6159ab5c127b"
+checksum = "f2e7c7ff14a1a80cb229593d9fcfae6660c7b2cda8707caa4a89cb489656d156"
dependencies = [
"miette",
"owo-colors",
"rustc-hash 2.0.0",
"textwrap",
- "unicode-width",
+ "unicode-width 0.2.0",
]
+[[package]]
+name = "oxc_ecmascript"
+version = "0.32.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "17d5cf1710748afcda1269998d2003af79df1fef7c5b4183054aeb1b2a803ff6"
+dependencies = [
+ "num-bigint",
+ "num-traits",
+ "oxc_ast",
+ "oxc_span",
+ "oxc_syntax",
+]
+
+[[package]]
+name = "oxc_estree"
+version = "0.32.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "befa5f762524cdd768fee0321c4f19ee24e13e7340ca2a64629183a37875ba71"
+
[[package]]
name = "oxc_index"
-version = "0.31.0"
+version = "0.32.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cb46cc4ce3d5820ad5e5737f84f5206307b293f9984f9da219ac51ccdc0ea4c8"
+checksum = "68a576b0f0a1ef9112504880a3ba82fa895c4cceb52cdc37825180c43b01336f"
[[package]]
name = "oxc_parser"
-version = "0.31.0"
+version = "0.32.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8afe7b80a710daa7a07eec92bc46ed5a2d08581f15e833ee1eded5d929283893"
+checksum = "f43e722cd698a1ac383b645ddf6283757d4977b56f6dc278038b9ea74867a508"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -914,23 +934,24 @@ dependencies = [
"oxc_allocator",
"oxc_ast",
"oxc_diagnostics",
+ "oxc_ecmascript",
"oxc_regular_expression",
"oxc_span",
"oxc_syntax",
- "oxc_syntax_operations",
"rustc-hash 2.0.0",
"seq-macro",
]
[[package]]
name = "oxc_regular_expression"
-version = "0.31.0"
+version = "0.32.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3bc9d3d0ca89ebc9860b6d458f671d06c887bf1fa08accf504c65b5824ea5d87"
+checksum = "231ed7fd6173c41270e019c4d1b2cd4bfa463a8abba32e0107bed6a7e9ceca93"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
"oxc_diagnostics",
+ "oxc_estree",
"oxc_span",
"phf",
"rustc-hash 2.0.0",
@@ -959,21 +980,22 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.31.0"
+version = "0.32.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c6a6c56f8482e48b6b7a953e55efe59ea55a0f00451a3f3aaf3c09c955c11c0"
+checksum = "734602328c49aa8c31840e72662196ca1b0d7bf3585eca1f9ddbef127172112f"
dependencies = [
"compact_str",
"miette",
"oxc_allocator",
"oxc_ast_macros",
+ "oxc_estree",
]
[[package]]
name = "oxc_syntax"
-version = "0.31.0"
+version = "0.32.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2e1b7860133b880b357bb400e12a791e86dd8165ebcbfda1f3b7f31dd2f645ab"
+checksum = "6a56d62a59f4ace25365c1d056d7ce3129ca3fb20e9337b19a0efe62d6bc84cb"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -981,23 +1003,15 @@ dependencies = [
"nonmax",
"oxc_allocator",
"oxc_ast_macros",
+ "oxc_estree",
"oxc_index",
"oxc_span",
"phf",
"rustc-hash 2.0.0",
+ "ryu-js",
"unicode-id-start",
]
-[[package]]
-name = "oxc_syntax_operations"
-version = "0.31.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "509fc5ab630ee66ce1d6fcb41d07a646cc14d91014bf31b0c731d219d31018cf"
-dependencies = [
- "oxc_ast",
- "oxc_span",
-]
-
[[package]]
name = "parking_lot_core"
version = "0.9.10"
@@ -1215,6 +1229,12 @@ version = "1.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
+[[package]]
+name = "ryu-js"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ad97d4ce1560a5e27cec89519dc8300d1aa6035b099821261c651486a19e44d5"
+
[[package]]
name = "same-file"
version = "1.0.6"
@@ -1445,7 +1465,7 @@ dependencies = [
"swc_eq_ignore_macros",
"swc_visit",
"tracing",
- "unicode-width",
+ "unicode-width 0.1.14",
"url",
]
@@ -1559,7 +1579,7 @@ checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9"
dependencies = [
"smawk",
"unicode-linebreak",
- "unicode-width",
+ "unicode-width 0.1.14",
]
[[package]]
@@ -1695,6 +1715,12 @@ version = "0.1.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af"
+[[package]]
+name = "unicode-width"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd"
+
[[package]]
name = "url"
version = "2.5.2"
diff --git a/Cargo.toml b/Cargo.toml
index 302c5d6..d5157e6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.31.0"
+oxc = "0.32.0"
swc_ecma_parser = { version = "1.0.1", features = ["typescript"] }
swc_ecma_ast = "1.0.0"
From 38e5a5b8a3161a733dc26df7e3b820e511db0686 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 21 Oct 2024 23:27:10 +0000
Subject: [PATCH 194/385] chore(deps): lock file maintenance (#205)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 60 +++++++++++++++++++++++++++---------------------------
1 file changed, 30 insertions(+), 30 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 28ddee2..30e41d8 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -62,7 +62,7 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.79",
+ "syn 2.0.82",
]
[[package]]
@@ -303,7 +303,7 @@ checksum = "cf95d9c7e6aba67f8fc07761091e93254677f4db9e27197adecebc7039a58722"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.79",
+ "syn 2.0.82",
]
[[package]]
@@ -343,9 +343,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.1.30"
+version = "1.1.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b16803a61b81d9eabb7eae2588776c4c1e584b738ede45fdbb4c972cec1e9945"
+checksum = "c2e7962b54006dcfcc61cb72735f4d89bb97061dd6a7ed882ec6b8ee53714c6f"
dependencies = [
"shlex",
]
@@ -541,7 +541,7 @@ checksum = "8d7ccf961415e7aa17ef93dcb6c2441faaa8e768abe09e659b908089546f74c5"
dependencies = [
"proc-macro2",
"swc_macros_common",
- "syn 2.0.79",
+ "syn 2.0.82",
]
[[package]]
@@ -642,7 +642,7 @@ dependencies = [
"Inflector",
"proc-macro2",
"quote",
- "syn 2.0.79",
+ "syn 2.0.82",
]
[[package]]
@@ -668,9 +668,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
[[package]]
name = "libc"
-version = "0.2.159"
+version = "0.2.161"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5"
+checksum = "8e9489c2807c139ffd9c1794f4af0ebe86a828db53ecdc7fea2111d0fed085d1"
[[package]]
name = "libmimalloc-sys"
@@ -729,7 +729,7 @@ checksum = "dcf09caffaac8068c346b6df2a7fc27a177fd20b39421a39ce0a211bde679a6c"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.79",
+ "syn 2.0.82",
]
[[package]]
@@ -878,7 +878,7 @@ checksum = "0a4b29106d9f2bbcca4f5ee7a9325c99844ff9721d10103625cd5278795507fe"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.79",
+ "syn 2.0.82",
]
[[package]]
@@ -1061,7 +1061,7 @@ dependencies = [
"phf_shared",
"proc-macro2",
"quote",
- "syn 2.0.79",
+ "syn 2.0.82",
]
[[package]]
@@ -1104,9 +1104,9 @@ dependencies = [
[[package]]
name = "proc-macro2"
-version = "1.0.87"
+version = "1.0.88"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b3e4daa0dcf6feba26f985457cdf104d4b4256fc5a09547140f3631bb076b19a"
+checksum = "7c3a7fc5db1e57d5a779a352c8cdb57b29aa4c40cc69c3a68a7fedc815fbf2f9"
dependencies = [
"unicode-ident",
]
@@ -1219,9 +1219,9 @@ checksum = "583034fd73374156e66797ed8e5b0d5690409c9226b22d87cb7f19821c05d152"
[[package]]
name = "rustversion"
-version = "1.0.17"
+version = "1.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6"
+checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248"
[[package]]
name = "ryu"
@@ -1265,7 +1265,7 @@ dependencies = [
"proc-macro2",
"quote",
"serde_derive_internals",
- "syn 2.0.79",
+ "syn 2.0.82",
]
[[package]]
@@ -1303,7 +1303,7 @@ checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.79",
+ "syn 2.0.82",
]
[[package]]
@@ -1314,14 +1314,14 @@ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.79",
+ "syn 2.0.82",
]
[[package]]
name = "serde_json"
-version = "1.0.128"
+version = "1.0.132"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8"
+checksum = "d726bfaff4b320266d395898905d0eba0345aae23b54aee3a737e260fd46db03"
dependencies = [
"indexmap 2.6.0",
"itoa",
@@ -1415,7 +1415,7 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.79",
+ "syn 2.0.82",
]
[[package]]
@@ -1516,7 +1516,7 @@ checksum = "e96e15288bf385ab85eb83cff7f9e2d834348da58d0a31b33bdb572e66ee413e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.79",
+ "syn 2.0.82",
]
[[package]]
@@ -1527,7 +1527,7 @@ checksum = "a509f56fca05b39ba6c15f3e58636c3924c78347d63853632ed2ffcb6f5a0ac7"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.79",
+ "syn 2.0.82",
]
[[package]]
@@ -1553,9 +1553,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.79"
+version = "2.0.82"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "89132cd0bf050864e1d38dc3bbc07a0eb8e7530af26344d3d2bbbef83499f590"
+checksum = "83540f837a8afc019423a8edb95b52a8effe46957ee402287f4292fae35be021"
dependencies = [
"proc-macro2",
"quote",
@@ -1599,7 +1599,7 @@ checksum = "08904e7672f5eb876eaaf87e0ce17857500934f4981c4a0ab2b4aa98baac7fc3"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.79",
+ "syn 2.0.82",
]
[[package]]
@@ -1636,7 +1636,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.79",
+ "syn 2.0.82",
]
[[package]]
@@ -1678,9 +1678,9 @@ checksum = "7eec5d1121208364f6793f7d2e222bf75a915c19557537745b195b253dd64217"
[[package]]
name = "unicode-id-start"
-version = "1.3.0"
+version = "1.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "97e2a3c5fc9de285c0e805d98eba666adb4b2d9e1049ce44821ff7707cc34e91"
+checksum = "2f322b60f6b9736017344fa0635d64be2f458fbc04eef65f6be22976dd1ffd5b"
[[package]]
name = "unicode-ident"
@@ -1913,5 +1913,5 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.79",
+ "syn 2.0.82",
]
From 508c8adcc74da6b4aecd124f9ea9581e365d74a9 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 24 Oct 2024 03:57:20 +0000
Subject: [PATCH 195/385] chore(deps): update rust crate oxc to 0.33.0 (#206)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 30e41d8..bd64566 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -830,9 +830,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.32.0"
+version = "0.33.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "23b535384b25da0a0b9f725bd4a16eb2be40c69727458383e1806aae80bce815"
+checksum = "88fdfe7b6ae838e94f75a183936c8132edb0fce3301ee2eb1f894371c69ac861"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -846,9 +846,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.32.0"
+version = "0.33.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "40baa80a3e4ae7cea94c1e04dc8820162b934f5f5cbca8a96e80a0b85a2815f4"
+checksum = "b951072744cf013eb767d9f61d29b6605e0ae747b05d3da4778a010f3ffa260d"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -856,9 +856,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.32.0"
+version = "0.33.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d7eb50a1c3485609b4b2051bd23352c1e6a8743b9e345dd6def70b3470948429"
+checksum = "bccf1b681ed1f6babc3a72241823599ba78ac07b60d31d0ec029182b6bf72cde"
dependencies = [
"bitflags",
"num-bigint",
@@ -872,9 +872,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.32.0"
+version = "0.33.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0a4b29106d9f2bbcca4f5ee7a9325c99844ff9721d10103625cd5278795507fe"
+checksum = "830a9d68d1378023bdaca765a636e3f5608751949ed6f6b2d20708a13412cf21"
dependencies = [
"proc-macro2",
"quote",
@@ -883,9 +883,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.32.0"
+version = "0.33.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f2e7c7ff14a1a80cb229593d9fcfae6660c7b2cda8707caa4a89cb489656d156"
+checksum = "b5739c0992540324c4b9f9e7e9c3e3f1263e07e16f26dfaae566a2a9c4492e16"
dependencies = [
"miette",
"owo-colors",
@@ -896,9 +896,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.32.0"
+version = "0.33.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "17d5cf1710748afcda1269998d2003af79df1fef7c5b4183054aeb1b2a803ff6"
+checksum = "45a6cf3633dd508c3f864e7723a2db4087f2467702081aca2095821b5b4648b8"
dependencies = [
"num-bigint",
"num-traits",
@@ -909,21 +909,21 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.32.0"
+version = "0.33.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "befa5f762524cdd768fee0321c4f19ee24e13e7340ca2a64629183a37875ba71"
+checksum = "b5e473cefef347ff5e4774a297d55fd84c405e5a457a6a48cdc0289b50637a0d"
[[package]]
name = "oxc_index"
-version = "0.32.0"
+version = "0.33.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "68a576b0f0a1ef9112504880a3ba82fa895c4cceb52cdc37825180c43b01336f"
+checksum = "74ac390082ad5964110a384e117f8d61bde137d5a1548d9a3f30abbbbfd38700"
[[package]]
name = "oxc_parser"
-version = "0.32.0"
+version = "0.33.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f43e722cd698a1ac383b645ddf6283757d4977b56f6dc278038b9ea74867a508"
+checksum = "09157972bc9a1c13be84a676409b8716b5d4659a54d34e519eae733fd7321529"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -944,9 +944,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.32.0"
+version = "0.33.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "231ed7fd6173c41270e019c4d1b2cd4bfa463a8abba32e0107bed6a7e9ceca93"
+checksum = "9b0e9930f3a3042866b93e69c5718aeba59259cd6bcbae8631a452f417ca14f4"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -980,9 +980,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.32.0"
+version = "0.33.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "734602328c49aa8c31840e72662196ca1b0d7bf3585eca1f9ddbef127172112f"
+checksum = "517f9a331c761341bc9279a3aa83e963c7e340a3790ad1b841b17d356e24580c"
dependencies = [
"compact_str",
"miette",
@@ -993,9 +993,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.32.0"
+version = "0.33.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6a56d62a59f4ace25365c1d056d7ce3129ca3fb20e9337b19a0efe62d6bc84cb"
+checksum = "6f10879bd61d0af333b0dacf9746355e0cd82a6fd579695436c4640e54b6891a"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index d5157e6..2d7dbd9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.32.0"
+oxc = "0.33.0"
swc_ecma_parser = { version = "1.0.1", features = ["typescript"] }
swc_ecma_ast = "1.0.0"
From 276d3e50f25f347c4bdf08a01db574ef6f3071bd Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 26 Oct 2024 03:27:37 +0000
Subject: [PATCH 196/385] chore(deps): update rust crate oxc to 0.34.0 (#207)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index bd64566..60fb31f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -830,9 +830,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.33.0"
+version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "88fdfe7b6ae838e94f75a183936c8132edb0fce3301ee2eb1f894371c69ac861"
+checksum = "7e6f17bb1b7da4e269e7f89153b0ea5b928856bde083b05de34f8a073a5ceb6f"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -846,9 +846,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.33.0"
+version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b951072744cf013eb767d9f61d29b6605e0ae747b05d3da4778a010f3ffa260d"
+checksum = "b5c86018e4c158687698514494cb02b48b0367fd63e463c7b3846e565df53f46"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -856,9 +856,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.33.0"
+version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bccf1b681ed1f6babc3a72241823599ba78ac07b60d31d0ec029182b6bf72cde"
+checksum = "761ab257d19f07de7f91bab40fd7b232e6e0c68164b9086434f416e960f28149"
dependencies = [
"bitflags",
"num-bigint",
@@ -872,9 +872,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.33.0"
+version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "830a9d68d1378023bdaca765a636e3f5608751949ed6f6b2d20708a13412cf21"
+checksum = "a58d52ec144ec10c6c890a5356f7859510aa37e3e2839abd91e419969628302e"
dependencies = [
"proc-macro2",
"quote",
@@ -883,9 +883,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.33.0"
+version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5739c0992540324c4b9f9e7e9c3e3f1263e07e16f26dfaae566a2a9c4492e16"
+checksum = "980c673834c9b2fa15eb2692d418df45c84294771fd364ab53f9abdf4d3e874b"
dependencies = [
"miette",
"owo-colors",
@@ -896,9 +896,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.33.0"
+version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "45a6cf3633dd508c3f864e7723a2db4087f2467702081aca2095821b5b4648b8"
+checksum = "20243d6de6301a5265c85d9d8007bf3044be5311906ba1686570de67743904a3"
dependencies = [
"num-bigint",
"num-traits",
@@ -909,21 +909,21 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.33.0"
+version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5e473cefef347ff5e4774a297d55fd84c405e5a457a6a48cdc0289b50637a0d"
+checksum = "7c30428989d3af8c8d868ec5fdd3e227865bbf7bc875e47785de368968282234"
[[package]]
name = "oxc_index"
-version = "0.33.0"
+version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "74ac390082ad5964110a384e117f8d61bde137d5a1548d9a3f30abbbbfd38700"
+checksum = "2c33b9c780ed9ea47548248450b04da65b1e4e8023157403c37407a3210b675a"
[[package]]
name = "oxc_parser"
-version = "0.33.0"
+version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09157972bc9a1c13be84a676409b8716b5d4659a54d34e519eae733fd7321529"
+checksum = "22251ed2d64a743481450f64e5d279193165b637dc3dce6f5eaa3eeb494d470b"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -944,9 +944,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.33.0"
+version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9b0e9930f3a3042866b93e69c5718aeba59259cd6bcbae8631a452f417ca14f4"
+checksum = "fbd944dbd4a2b479bda4e29472e1489bb3abd9efbf8a84397fbe3259944b39b4"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -980,9 +980,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.33.0"
+version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "517f9a331c761341bc9279a3aa83e963c7e340a3790ad1b841b17d356e24580c"
+checksum = "74ea8734bdf818608fe5b92322ef1ad56c56896d83052b5d477f0197d09e7f15"
dependencies = [
"compact_str",
"miette",
@@ -993,9 +993,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.33.0"
+version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6f10879bd61d0af333b0dacf9746355e0cd82a6fd579695436c4640e54b6891a"
+checksum = "14ecf5a5134b738088f1a56fbae78aa4e478b07f27b5f4db3c07734e0c9e005a"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 2d7dbd9..e5827cc 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.33.0"
+oxc = "0.34.0"
swc_ecma_parser = { version = "1.0.1", features = ["typescript"] }
swc_ecma_ast = "1.0.0"
From f2222e4d669fc7ef1dc35b9009f854bb483602ef Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 28 Oct 2024 23:29:56 +0000
Subject: [PATCH 197/385] chore(deps): lock file maintenance (#208)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 60 +++++++++++++++++++++++++++---------------------------
1 file changed, 30 insertions(+), 30 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 60fb31f..9693c3f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -62,7 +62,7 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -303,7 +303,7 @@ checksum = "cf95d9c7e6aba67f8fc07761091e93254677f4db9e27197adecebc7039a58722"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -541,7 +541,7 @@ checksum = "8d7ccf961415e7aa17ef93dcb6c2441faaa8e768abe09e659b908089546f74c5"
dependencies = [
"proc-macro2",
"swc_macros_common",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -642,7 +642,7 @@ dependencies = [
"Inflector",
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -729,7 +729,7 @@ checksum = "dcf09caffaac8068c346b6df2a7fc27a177fd20b39421a39ce0a211bde679a6c"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -878,7 +878,7 @@ checksum = "a58d52ec144ec10c6c890a5356f7859510aa37e3e2839abd91e419969628302e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -1061,7 +1061,7 @@ dependencies = [
"phf_shared",
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -1075,9 +1075,9 @@ dependencies = [
[[package]]
name = "pin-project-lite"
-version = "0.2.14"
+version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02"
+checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff"
[[package]]
name = "proc-macro-error"
@@ -1104,9 +1104,9 @@ dependencies = [
[[package]]
name = "proc-macro2"
-version = "1.0.88"
+version = "1.0.89"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7c3a7fc5db1e57d5a779a352c8cdb57b29aa4c40cc69c3a68a7fedc815fbf2f9"
+checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e"
dependencies = [
"unicode-ident",
]
@@ -1265,7 +1265,7 @@ dependencies = [
"proc-macro2",
"quote",
"serde_derive_internals",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -1288,22 +1288,22 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4"
[[package]]
name = "serde"
-version = "1.0.210"
+version = "1.0.213"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a"
+checksum = "3ea7893ff5e2466df8d720bb615088341b295f849602c6956047f8f80f0e9bc1"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.210"
+version = "1.0.213"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f"
+checksum = "7e85ad2009c50b58e87caa8cd6dac16bdf511bbfb7af6c33df902396aa480fa5"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -1314,7 +1314,7 @@ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -1415,7 +1415,7 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -1516,7 +1516,7 @@ checksum = "e96e15288bf385ab85eb83cff7f9e2d834348da58d0a31b33bdb572e66ee413e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -1527,7 +1527,7 @@ checksum = "a509f56fca05b39ba6c15f3e58636c3924c78347d63853632ed2ffcb6f5a0ac7"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -1553,9 +1553,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.82"
+version = "2.0.85"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "83540f837a8afc019423a8edb95b52a8effe46957ee402287f4292fae35be021"
+checksum = "5023162dfcd14ef8f32034d8bcd4cc5ddc61ef7a247c024a33e24e1f24d21b56"
dependencies = [
"proc-macro2",
"quote",
@@ -1584,22 +1584,22 @@ dependencies = [
[[package]]
name = "thiserror"
-version = "1.0.64"
+version = "1.0.65"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d50af8abc119fb8bb6dbabcfa89656f46f84aa0ac7688088608076ad2b459a84"
+checksum = "5d11abd9594d9b38965ef50805c5e469ca9cc6f197f883f717e0269a3057b3d5"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
-version = "1.0.64"
+version = "1.0.65"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "08904e7672f5eb876eaaf87e0ce17857500934f4981c4a0ab2b4aa98baac7fc3"
+checksum = "ae71770322cbd277e69d762a16c444af02aa0575ac0d174f0b9562d3b37f8602"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -1636,7 +1636,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -1913,5 +1913,5 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
From c1bf4d3df58425ebf58f745b95110ff442e099d9 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 29 Oct 2024 09:39:37 +0800
Subject: [PATCH 198/385] chore(deps): lock file maintenance npm packages
(#209)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
pnpm-lock.yaml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index f6ab07e..fe3193c 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -10,13 +10,13 @@ importers:
devDependencies:
markdown-table:
specifier: ^3.0.3
- version: 3.0.3
+ version: 3.0.4
packages:
- markdown-table@3.0.3:
- resolution: {integrity: sha512-Z1NL3Tb1M9wH4XESsCDEksWoKTdlUafKc4pt0GRwjUyXaCFZ+dc3g2erqB6zm3szA2IUSi7VnPI+o/9jnxh9hw==}
+ markdown-table@3.0.4:
+ resolution: {integrity: sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==}
snapshots:
- markdown-table@3.0.3: {}
+ markdown-table@3.0.4: {}
From 9b3674afbe245b597021814229f26106b4464450 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 29 Oct 2024 04:44:42 +0000
Subject: [PATCH 199/385] chore(deps): update swc (#210)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 17 +++++++++--------
Cargo.toml | 4 ++--
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 9693c3f..50ddc3c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1445,9 +1445,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "1.0.0"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e8505eddfd6488cde74b0e80a4b959b12392a8a15eb62243d45eb82cf568b9b9"
+checksum = "a961e918c450ca5401cb3678dd8b7d80daec0944b67699cdbd5ddb32e5f95497"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1471,9 +1471,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "1.0.0"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6795be2785b968ccff06096bc758b306459f05fc936e6363b4dd39fb27fba22a"
+checksum = "e4257865f3b7f30a6c6f46035a39f27c08b59a1af093a9400f90bd5e2d510993"
dependencies = [
"bitflags",
"is-macro",
@@ -1483,14 +1483,15 @@ dependencies = [
"string_enum",
"swc_atoms",
"swc_common",
+ "swc_visit",
"unicode-id-start",
]
[[package]]
name = "swc_ecma_parser"
-version = "1.0.1"
+version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "af8beb1639d45a3b6b5d0f2e9aa9f99833608b7c9c4596465035bea38264407b"
+checksum = "2af71660a9c76b542d1e42a9d5bec7ae061c6969fc742f024a53c474a5a57bd3"
dependencies = [
"either",
"new_debug_unreachable",
@@ -1532,9 +1533,9 @@ dependencies = [
[[package]]
name = "swc_visit"
-version = "1.0.0"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b40b33e89a4fe7b07b39665f81203a83ffecb3a930522b6ad075716ee6dad637"
+checksum = "9138b6a36bbe76dd6753c4c0794f7e26480ea757bee499738bedbbb3ae3ec5f3"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index e5827cc..9ba3fbe 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ doctest = false
[dependencies]
oxc = "0.34.0"
-swc_ecma_parser = { version = "1.0.1", features = ["typescript"] }
-swc_ecma_ast = "1.0.0"
+swc_ecma_parser = { version = "3.0.0", features = ["typescript"] }
+swc_ecma_ast = "2.0.0"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From b2a0dcfcc11641340a01d38c1baf713676579940 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 31 Oct 2024 02:36:17 +0000
Subject: [PATCH 200/385] chore(deps): update rust crate swc_ecma_parser to
3.0.1 (#211)
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 50ddc3c..033c6d1 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1445,9 +1445,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "2.0.0"
+version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a961e918c450ca5401cb3678dd8b7d80daec0944b67699cdbd5ddb32e5f95497"
+checksum = "a9c96bb59e6721eb665764d6dc42a8537d61129ade06f8dd87894d51e018c81d"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1489,9 +1489,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "3.0.0"
+version = "3.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2af71660a9c76b542d1e42a9d5bec7ae061c6969fc742f024a53c474a5a57bd3"
+checksum = "257302df45f35f92bc9b337537a568dd7c3e96bb09db135d41f9cd7ab4ae0ecb"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index 9ba3fbe..198c672 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.34.0"
-swc_ecma_parser = { version = "3.0.0", features = ["typescript"] }
+swc_ecma_parser = { version = "3.0.1", features = ["typescript"] }
swc_ecma_ast = "2.0.0"
biome_js_parser = "0.5.7"
From 6c30390956f51ccf9b94dd9206ae5f0194d21809 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 2 Nov 2024 15:07:16 +0000
Subject: [PATCH 201/385] chore(deps): update swc (#212)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 12 ++++++------
Cargo.toml | 4 ++--
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 033c6d1..67ad7e8 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1445,9 +1445,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "2.0.1"
+version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a9c96bb59e6721eb665764d6dc42a8537d61129ade06f8dd87894d51e018c81d"
+checksum = "992b89cdcff8e61c1308a984af5450a60a382b106f3e79fd6aabf9e2e193d076"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1471,9 +1471,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "2.0.0"
+version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e4257865f3b7f30a6c6f46035a39f27c08b59a1af093a9400f90bd5e2d510993"
+checksum = "99e7c0cd9dfe2a49c8f0b4ce699c13c9e270b8487a0176e1d89e5a9a586d0b3b"
dependencies = [
"bitflags",
"is-macro",
@@ -1489,9 +1489,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "3.0.1"
+version = "4.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "257302df45f35f92bc9b337537a568dd7c3e96bb09db135d41f9cd7ab4ae0ecb"
+checksum = "a49f6ab5fa19498d0feb45a4943e1ad962736ee251e8f0f885330f7aeca39c39"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index 198c672..dcd62c3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ doctest = false
[dependencies]
oxc = "0.34.0"
-swc_ecma_parser = { version = "3.0.1", features = ["typescript"] }
-swc_ecma_ast = "2.0.0"
+swc_ecma_parser = { version = "4.0.0", features = ["typescript"] }
+swc_ecma_ast = "3.0.0"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From bf08e6ae1576d1af66afa2b31b06f7410043a23c Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 4 Nov 2024 10:40:07 +0000
Subject: [PATCH 202/385] chore(deps): update rust crate oxc to 0.35.0 (#213)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 122 +++++++++++++++++++++--------------------------------
Cargo.toml | 2 +-
2 files changed, 50 insertions(+), 74 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 67ad7e8..1ce278c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -707,31 +707,6 @@ dependencies = [
"autocfg",
]
-[[package]]
-name = "miette"
-version = "7.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4edc8853320c2a0dab800fbda86253c8938f6ea88510dc92c5f1ed20e794afc1"
-dependencies = [
- "cfg-if",
- "miette-derive",
- "owo-colors",
- "textwrap",
- "thiserror",
- "unicode-width 0.1.14",
-]
-
-[[package]]
-name = "miette-derive"
-version = "7.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dcf09caffaac8068c346b6df2a7fc27a177fd20b39421a39ce0a211bde679a6c"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.85",
-]
-
[[package]]
name = "mimalloc"
version = "0.1.43"
@@ -830,9 +805,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.34.0"
+version = "0.35.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7e6f17bb1b7da4e269e7f89153b0ea5b928856bde083b05de34f8a073a5ceb6f"
+checksum = "f6afccb94df5a07c076469aff782d6c38bacaab224d3d8bf79eed79da48acd2f"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -844,11 +819,36 @@ dependencies = [
"oxc_syntax",
]
+[[package]]
+name = "oxc-miette"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e03e63fd113c068b82d07c9c614b0b146c08a3ac0a4dface3ea1d1a9d14d549e"
+dependencies = [
+ "cfg-if",
+ "owo-colors",
+ "oxc-miette-derive",
+ "textwrap",
+ "thiserror",
+ "unicode-width 0.2.0",
+]
+
+[[package]]
+name = "oxc-miette-derive"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e21f680e8c5f1900297d394627d495351b9e37761f7bbf90116bd5eeb6e80967"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.85",
+]
+
[[package]]
name = "oxc_allocator"
-version = "0.34.0"
+version = "0.35.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5c86018e4c158687698514494cb02b48b0367fd63e463c7b3846e565df53f46"
+checksum = "1f7e0128288409e0baa19061b1f60d4fb04afc0f9f088ca029038c3659b450fd"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -856,9 +856,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.34.0"
+version = "0.35.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "761ab257d19f07de7f91bab40fd7b232e6e0c68164b9086434f416e960f28149"
+checksum = "ba349ebd8cfea7e5a8b1f9a9c2b7871ba6a51faa143bc8c13f45758642d9d380"
dependencies = [
"bitflags",
"num-bigint",
@@ -872,9 +872,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.34.0"
+version = "0.35.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a58d52ec144ec10c6c890a5356f7859510aa37e3e2839abd91e419969628302e"
+checksum = "4e9f31b5dcd33ee7ffe2a6024c587a6782477c38ba295961b758c0c7092d94a4"
dependencies = [
"proc-macro2",
"quote",
@@ -883,47 +883,31 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.34.0"
+version = "0.35.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "980c673834c9b2fa15eb2692d418df45c84294771fd364ab53f9abdf4d3e874b"
+checksum = "b480fe1d6907758cf699ffa86178b72a03568b710bb60f7a5da2364c56818c81"
dependencies = [
- "miette",
- "owo-colors",
+ "oxc-miette",
"rustc-hash 2.0.0",
- "textwrap",
- "unicode-width 0.2.0",
-]
-
-[[package]]
-name = "oxc_ecmascript"
-version = "0.34.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "20243d6de6301a5265c85d9d8007bf3044be5311906ba1686570de67743904a3"
-dependencies = [
- "num-bigint",
- "num-traits",
- "oxc_ast",
- "oxc_span",
- "oxc_syntax",
]
[[package]]
name = "oxc_estree"
-version = "0.34.0"
+version = "0.35.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7c30428989d3af8c8d868ec5fdd3e227865bbf7bc875e47785de368968282234"
+checksum = "9c59e04c9c994165e27bbd855671e5b3121bbe46ed7b8148796a53563c96b286"
[[package]]
name = "oxc_index"
-version = "0.34.0"
+version = "0.35.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2c33b9c780ed9ea47548248450b04da65b1e4e8023157403c37407a3210b675a"
+checksum = "016a890eaebf3546ec77ab16057d9a93dabc929a6d3ecc973d8398b81d98dc30"
[[package]]
name = "oxc_parser"
-version = "0.34.0"
+version = "0.35.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22251ed2d64a743481450f64e5d279193165b637dc3dce6f5eaa3eeb494d470b"
+checksum = "b41c6b8982d7ad2644ececbe7351fc58ea1ba26a97fdd4967aef470f40179e81"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -934,7 +918,6 @@ dependencies = [
"oxc_allocator",
"oxc_ast",
"oxc_diagnostics",
- "oxc_ecmascript",
"oxc_regular_expression",
"oxc_span",
"oxc_syntax",
@@ -944,9 +927,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.34.0"
+version = "0.35.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fbd944dbd4a2b479bda4e29472e1489bb3abd9efbf8a84397fbe3259944b39b4"
+checksum = "460f937ad444b1c3b2ff4a85e53582d89692d7245e4b903415729faada0762f1"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -980,12 +963,12 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.34.0"
+version = "0.35.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "74ea8734bdf818608fe5b92322ef1ad56c56896d83052b5d477f0197d09e7f15"
+checksum = "96ffba81d3f1c167ac1dd7c857f6cfd7d9a23ba0ce64c269efd435e74f85cc0d"
dependencies = [
"compact_str",
- "miette",
+ "oxc-miette",
"oxc_allocator",
"oxc_ast_macros",
"oxc_estree",
@@ -993,9 +976,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.34.0"
+version = "0.35.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "14ecf5a5134b738088f1a56fbae78aa4e478b07f27b5f4db3c07734e0c9e005a"
+checksum = "cc897796fd60679e7515b20456fdcee9e51e782561c50515f9a58f0a26760a51"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1008,7 +991,6 @@ dependencies = [
"oxc_span",
"phf",
"rustc-hash 2.0.0",
- "ryu-js",
"unicode-id-start",
]
@@ -1229,12 +1211,6 @@ version = "1.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
-[[package]]
-name = "ryu-js"
-version = "1.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ad97d4ce1560a5e27cec89519dc8300d1aa6035b099821261c651486a19e44d5"
-
[[package]]
name = "same-file"
version = "1.0.6"
diff --git a/Cargo.toml b/Cargo.toml
index dcd62c3..1624806 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.34.0"
+oxc = "0.35.0"
swc_ecma_parser = { version = "4.0.0", features = ["typescript"] }
swc_ecma_ast = "3.0.0"
From 40eba0819ec8f386decddf00745b20c11b8e4fb6 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 5 Nov 2024 15:51:10 +0000
Subject: [PATCH 203/385] chore(deps): update rust crate criterion2 to v2
(#214)
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 1ce278c..74397b1 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -432,9 +432,9 @@ checksum = "417bef24afe1460300965a25ff4a24b8b45ad011948302ec221e8a0a81eb2c79"
[[package]]
name = "criterion2"
-version = "1.1.1"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d6c2be2af5816b76f45745ccfb9959a9efd1322ae4c88fc3c9b2d6bcdabe5554"
+checksum = "09db22066fd79bd628faf416dac96e44054deb00531601bcc20c6d12506b3701"
dependencies = [
"anes",
"bpaf",
diff --git a/Cargo.toml b/Cargo.toml
index 1624806..836596a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -36,7 +36,7 @@ biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
num_cpus = "1.16.0"
-criterion2 = { version = "1.0.0", default-features = false }
+criterion2 = { version = "2.0.0", default-features = false }
rayon = "1.10.0"
mimalloc = "0.1.43"
From 43ed60d837fee8bec8063c23e3fe17ad1468835e Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 5 Nov 2024 19:47:13 +0000
Subject: [PATCH 204/385] chore(deps): lock file maintenance (#215)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 370 +++++++++++++++++++++++++++++++++++++++++++----------
1 file changed, 299 insertions(+), 71 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 74397b1..7218046 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2,12 +2,6 @@
# It is not intended for manual editing.
version = 3
-[[package]]
-name = "Inflector"
-version = "0.11.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3"
-
[[package]]
name = "addr2line"
version = "0.24.2"
@@ -62,7 +56,7 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.85",
+ "syn 2.0.87",
]
[[package]]
@@ -303,7 +297,7 @@ checksum = "cf95d9c7e6aba67f8fc07761091e93254677f4db9e27197adecebc7039a58722"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.85",
+ "syn 2.0.87",
]
[[package]]
@@ -343,9 +337,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.1.31"
+version = "1.1.35"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c2e7962b54006dcfcc61cb72735f4d89bb97061dd6a7ed882ec6b8ee53714c6f"
+checksum = "0f57c4b4da2a9d619dd035f27316d7a426305b75be93d09e92f2b9229c34feaf"
dependencies = [
"shlex",
]
@@ -494,6 +488,17 @@ dependencies = [
"parking_lot_core",
]
+[[package]]
+name = "displaydoc"
+version = "0.2.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.87",
+]
+
[[package]]
name = "drop_bomb"
version = "0.1.5"
@@ -541,7 +546,7 @@ checksum = "8d7ccf961415e7aa17ef93dcb6c2441faaa8e768abe09e659b908089546f74c5"
dependencies = [
"proc-macro2",
"swc_macros_common",
- "syn 2.0.85",
+ "syn 2.0.87",
]
[[package]]
@@ -578,9 +583,15 @@ dependencies = [
[[package]]
name = "hashbrown"
-version = "0.15.0"
+version = "0.15.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e087f84d4f86bf4b218b927129862374b72199ae7d8657835f1e89000eea4fb"
+checksum = "3a9bfc1af68b1726ea47d3d5109de126281def866b33970e10fbab11b5dafab3"
+
+[[package]]
+name = "heck"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
[[package]]
name = "hermit-abi"
@@ -602,14 +613,143 @@ dependencies = [
"triomphe",
]
+[[package]]
+name = "icu_collections"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526"
+dependencies = [
+ "displaydoc",
+ "yoke",
+ "zerofrom",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_locid"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637"
+dependencies = [
+ "displaydoc",
+ "litemap",
+ "tinystr",
+ "writeable",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_locid_transform"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e"
+dependencies = [
+ "displaydoc",
+ "icu_locid",
+ "icu_locid_transform_data",
+ "icu_provider",
+ "tinystr",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_locid_transform_data"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e"
+
+[[package]]
+name = "icu_normalizer"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f"
+dependencies = [
+ "displaydoc",
+ "icu_collections",
+ "icu_normalizer_data",
+ "icu_properties",
+ "icu_provider",
+ "smallvec",
+ "utf16_iter",
+ "utf8_iter",
+ "write16",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_normalizer_data"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516"
+
+[[package]]
+name = "icu_properties"
+version = "1.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5"
+dependencies = [
+ "displaydoc",
+ "icu_collections",
+ "icu_locid_transform",
+ "icu_properties_data",
+ "icu_provider",
+ "tinystr",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_properties_data"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569"
+
+[[package]]
+name = "icu_provider"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9"
+dependencies = [
+ "displaydoc",
+ "icu_locid",
+ "icu_provider_macros",
+ "stable_deref_trait",
+ "tinystr",
+ "writeable",
+ "yoke",
+ "zerofrom",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_provider_macros"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.87",
+]
+
[[package]]
name = "idna"
-version = "0.5.0"
+version = "1.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e"
+dependencies = [
+ "idna_adapter",
+ "smallvec",
+ "utf8_iter",
+]
+
+[[package]]
+name = "idna_adapter"
+version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6"
+checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71"
dependencies = [
- "unicode-bidi",
- "unicode-normalization",
+ "icu_normalizer",
+ "icu_properties",
]
[[package]]
@@ -629,20 +769,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "707907fe3c25f5424cce2cb7e1cbcafee6bdbe735ca90ef77c29e84591e5b9da"
dependencies = [
"equivalent",
- "hashbrown 0.15.0",
+ "hashbrown 0.15.1",
"serde",
]
[[package]]
name = "is-macro"
-version = "0.3.6"
+version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2069faacbe981460232f880d26bf3c7634e322d49053aa48c27e3ae642f728f1"
+checksum = "1d57a3e447e24c22647738e4607f1df1e0ec6f72e16182c4cd199f647cdfb0e4"
dependencies = [
- "Inflector",
+ "heck",
"proc-macro2",
"quote",
- "syn 2.0.85",
+ "syn 2.0.87",
]
[[package]]
@@ -682,6 +822,12 @@ dependencies = [
"libc",
]
+[[package]]
+name = "litemap"
+version = "0.7.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "643cb0b8d4fcc284004d5fd0d67ccf61dfffadb7f75e1e71bc420f4688a3a704"
+
[[package]]
name = "lock_api"
version = "0.4.12"
@@ -841,7 +987,7 @@ checksum = "e21f680e8c5f1900297d394627d495351b9e37761f7bbf90116bd5eeb6e80967"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.85",
+ "syn 2.0.87",
]
[[package]]
@@ -878,7 +1024,7 @@ checksum = "4e9f31b5dcd33ee7ffe2a6024c587a6782477c38ba295961b758c0c7092d94a4"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.85",
+ "syn 2.0.87",
]
[[package]]
@@ -1043,7 +1189,7 @@ dependencies = [
"phf_shared",
"proc-macro2",
"quote",
- "syn 2.0.85",
+ "syn 2.0.87",
]
[[package]]
@@ -1241,7 +1387,7 @@ dependencies = [
"proc-macro2",
"quote",
"serde_derive_internals",
- "syn 2.0.85",
+ "syn 2.0.87",
]
[[package]]
@@ -1264,22 +1410,22 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4"
[[package]]
name = "serde"
-version = "1.0.213"
+version = "1.0.214"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ea7893ff5e2466df8d720bb615088341b295f849602c6956047f8f80f0e9bc1"
+checksum = "f55c3193aca71c12ad7890f1785d2b73e1b9f63a0bbc353c08ef26fe03fc56b5"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.213"
+version = "1.0.214"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7e85ad2009c50b58e87caa8cd6dac16bdf511bbfb7af6c33df902396aa480fa5"
+checksum = "de523f781f095e28fa605cdce0f8307e451cc0fd14e2eb4cd2e98a355b147766"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.85",
+ "syn 2.0.87",
]
[[package]]
@@ -1290,7 +1436,7 @@ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.85",
+ "syn 2.0.87",
]
[[package]]
@@ -1391,7 +1537,7 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.85",
+ "syn 2.0.87",
]
[[package]]
@@ -1493,7 +1639,7 @@ checksum = "e96e15288bf385ab85eb83cff7f9e2d834348da58d0a31b33bdb572e66ee413e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.85",
+ "syn 2.0.87",
]
[[package]]
@@ -1504,7 +1650,7 @@ checksum = "a509f56fca05b39ba6c15f3e58636c3924c78347d63853632ed2ffcb6f5a0ac7"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.85",
+ "syn 2.0.87",
]
[[package]]
@@ -1530,15 +1676,26 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.85"
+version = "2.0.87"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5023162dfcd14ef8f32034d8bcd4cc5ddc61ef7a247c024a33e24e1f24d21b56"
+checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d"
dependencies = [
"proc-macro2",
"quote",
"unicode-ident",
]
+[[package]]
+name = "synstructure"
+version = "0.13.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.87",
+]
+
[[package]]
name = "termcolor"
version = "1.4.1"
@@ -1561,39 +1718,34 @@ dependencies = [
[[package]]
name = "thiserror"
-version = "1.0.65"
+version = "1.0.68"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5d11abd9594d9b38965ef50805c5e469ca9cc6f197f883f717e0269a3057b3d5"
+checksum = "02dd99dc800bbb97186339685293e1cc5d9df1f8fae2d0aecd9ff1c77efea892"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
-version = "1.0.65"
+version = "1.0.68"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ae71770322cbd277e69d762a16c444af02aa0575ac0d174f0b9562d3b37f8602"
+checksum = "a7c61ec9a6f64d2793d8a45faba21efbe3ced62a886d44c36a009b2b519b4c7e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.85",
+ "syn 2.0.87",
]
[[package]]
-name = "tinyvec"
-version = "1.8.0"
+name = "tinystr"
+version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938"
+checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f"
dependencies = [
- "tinyvec_macros",
+ "displaydoc",
+ "zerovec",
]
-[[package]]
-name = "tinyvec_macros"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
-
[[package]]
name = "tracing"
version = "0.1.40"
@@ -1613,7 +1765,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.85",
+ "syn 2.0.87",
]
[[package]]
@@ -1641,12 +1793,6 @@ version = "2.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a"
-[[package]]
-name = "unicode-bidi"
-version = "0.3.17"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5ab17db44d7388991a428b2ee655ce0c212e862eff1768a455c58f9aad6e7893"
-
[[package]]
name = "unicode-bom"
version = "2.0.3"
@@ -1671,15 +1817,6 @@ version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3b09c83c3c29d37506a3e260c08c03743a6bb66a9cd432c6934ab501a190571f"
-[[package]]
-name = "unicode-normalization"
-version = "0.1.24"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956"
-dependencies = [
- "tinyvec",
-]
-
[[package]]
name = "unicode-segmentation"
version = "1.12.0"
@@ -1700,15 +1837,27 @@ checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd"
[[package]]
name = "url"
-version = "2.5.2"
+version = "2.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c"
+checksum = "8d157f1b96d14500ffdc1f10ba712e780825526c03d9a49b4d0324b0d9113ada"
dependencies = [
"form_urlencoded",
"idna",
"percent-encoding",
]
+[[package]]
+name = "utf16_iter"
+version = "1.0.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246"
+
+[[package]]
+name = "utf8_iter"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
+
[[package]]
name = "version_check"
version = "0.9.5"
@@ -1873,6 +2022,42 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
+[[package]]
+name = "write16"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936"
+
+[[package]]
+name = "writeable"
+version = "0.5.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51"
+
+[[package]]
+name = "yoke"
+version = "0.7.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6c5b1314b079b0930c31e3af543d8ee1757b1951ae1e1565ec704403a7240ca5"
+dependencies = [
+ "serde",
+ "stable_deref_trait",
+ "yoke-derive",
+ "zerofrom",
+]
+
+[[package]]
+name = "yoke-derive"
+version = "0.7.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "28cc31741b18cb6f1d5ff12f5b7523e3d6eb0852bbbad19d73905511d9849b95"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.87",
+ "synstructure",
+]
+
[[package]]
name = "zerocopy"
version = "0.7.35"
@@ -1890,5 +2075,48 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.85",
+ "syn 2.0.87",
+]
+
+[[package]]
+name = "zerofrom"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "91ec111ce797d0e0784a1116d0ddcdbea84322cd79e5d5ad173daeba4f93ab55"
+dependencies = [
+ "zerofrom-derive",
+]
+
+[[package]]
+name = "zerofrom-derive"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0ea7b4a3637ea8669cedf0f1fd5c286a17f3de97b8dd5a70a6c167a1730e63a5"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.87",
+ "synstructure",
+]
+
+[[package]]
+name = "zerovec"
+version = "0.10.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079"
+dependencies = [
+ "yoke",
+ "zerofrom",
+ "zerovec-derive",
+]
+
+[[package]]
+name = "zerovec-derive"
+version = "0.10.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.87",
]
From 8cfaec959ff584690f7d407cf439ae8599adb10b Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 6 Nov 2024 10:38:01 +0000
Subject: [PATCH 205/385] chore(deps): update swc (#216)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 12 ++++++------
Cargo.toml | 4 ++--
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 7218046..c6242d1 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1567,9 +1567,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "3.0.0"
+version = "4.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "992b89cdcff8e61c1308a984af5450a60a382b106f3e79fd6aabf9e2e193d076"
+checksum = "053e784870430ba47043278626e75686e745ac16876a8f5f4d6c9f39354ee7e7"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1593,9 +1593,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "3.0.0"
+version = "4.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "99e7c0cd9dfe2a49c8f0b4ce699c13c9e270b8487a0176e1d89e5a9a586d0b3b"
+checksum = "1bdab7759509c1b37ec77bd9fc231f525b888d9609c2963ce71995da1b27357c"
dependencies = [
"bitflags",
"is-macro",
@@ -1611,9 +1611,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "4.0.0"
+version = "5.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a49f6ab5fa19498d0feb45a4943e1ad962736ee251e8f0f885330f7aeca39c39"
+checksum = "54c5ab8bd4cc4a4956514699c84d1a25cdb5a33f5ec760ec64ce712e973019c9"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index 836596a..45e1017 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ doctest = false
[dependencies]
oxc = "0.35.0"
-swc_ecma_parser = { version = "4.0.0", features = ["typescript"] }
-swc_ecma_ast = "3.0.0"
+swc_ecma_parser = { version = "5.0.0", features = ["typescript"] }
+swc_ecma_ast = "4.0.1"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From 021bbba9ea21ab6f06ee0bcaada5e4ba2c48db02 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 9 Nov 2024 18:46:05 +0000
Subject: [PATCH 206/385] chore(deps): update rust crate oxc to 0.36.0 (#217)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 46 ++++++++++++++++++++++++----------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 23 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index c6242d1..0133545 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -951,9 +951,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.35.0"
+version = "0.36.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6afccb94df5a07c076469aff782d6c38bacaab224d3d8bf79eed79da48acd2f"
+checksum = "24327e7a58d4e28217ba4bce5e582db05c2731d04b908a40b305b5d492f239fa"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -992,9 +992,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.35.0"
+version = "0.36.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1f7e0128288409e0baa19061b1f60d4fb04afc0f9f088ca029038c3659b450fd"
+checksum = "931f734a61f63a0571163b160b764d90d83077c4d2631d15b26fe1b66763dad8"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1002,12 +1002,14 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.35.0"
+version = "0.36.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ba349ebd8cfea7e5a8b1f9a9c2b7871ba6a51faa143bc8c13f45758642d9d380"
+checksum = "b9a771175e84c2324c841fe7ca3ddacb5df8102f043e2fc3e96d0bfee039c13d"
dependencies = [
"bitflags",
+ "cow-utils",
"num-bigint",
+ "num-traits",
"oxc_allocator",
"oxc_ast_macros",
"oxc_estree",
@@ -1018,9 +1020,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.35.0"
+version = "0.36.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4e9f31b5dcd33ee7ffe2a6024c587a6782477c38ba295961b758c0c7092d94a4"
+checksum = "ed71131e79889e226fb6510b90fa1a4a7495c8fdac43a4f505334fb0f1324e3e"
dependencies = [
"proc-macro2",
"quote",
@@ -1029,9 +1031,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.35.0"
+version = "0.36.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b480fe1d6907758cf699ffa86178b72a03568b710bb60f7a5da2364c56818c81"
+checksum = "e37049d46eb02a97e4cc0900672a921666393c642c1ad419a20d483285f5b590"
dependencies = [
"oxc-miette",
"rustc-hash 2.0.0",
@@ -1039,21 +1041,21 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.35.0"
+version = "0.36.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9c59e04c9c994165e27bbd855671e5b3121bbe46ed7b8148796a53563c96b286"
+checksum = "7fa45c638ccfd88b5c26147b0a98e1e8dd49542327dda94445b940ef91920d6a"
[[package]]
name = "oxc_index"
-version = "0.35.0"
+version = "0.36.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "016a890eaebf3546ec77ab16057d9a93dabc929a6d3ecc973d8398b81d98dc30"
+checksum = "ae76739229d0cc5e834e0e3b9e8c4078a86828ff47f5bc71138e4571ce528f83"
[[package]]
name = "oxc_parser"
-version = "0.35.0"
+version = "0.36.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b41c6b8982d7ad2644ececbe7351fc58ea1ba26a97fdd4967aef470f40179e81"
+checksum = "0106e10cd67a59d91a75232d4c40f188b8532efea9b9bbed110bce157e7d3b9a"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1073,9 +1075,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.35.0"
+version = "0.36.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "460f937ad444b1c3b2ff4a85e53582d89692d7245e4b903415729faada0762f1"
+checksum = "f1bd0d5b1b943173378a5f61d6a4c49edc7e8c9157241e9bbba54594d7449b4c"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1109,9 +1111,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.35.0"
+version = "0.36.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "96ffba81d3f1c167ac1dd7c857f6cfd7d9a23ba0ce64c269efd435e74f85cc0d"
+checksum = "c7b5d7caf8a20611f34c5c9ebdf232b6b42498e5424d02ef1e2dffe31553b49f"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1122,9 +1124,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.35.0"
+version = "0.36.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cc897796fd60679e7515b20456fdcee9e51e782561c50515f9a58f0a26760a51"
+checksum = "3135d5ddd0dc8ca535c0ac517a526ace8cac2699bb1345064c9fe046ca761dfa"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 45e1017..3f1ae00 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.35.0"
+oxc = "0.36.0"
swc_ecma_parser = { version = "5.0.0", features = ["typescript"] }
swc_ecma_ast = "4.0.1"
From 85e8252b66c67d5f7446a38e70f9801875df3243 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 11 Nov 2024 18:07:33 +0000
Subject: [PATCH 207/385] chore(deps): lock file maintenance (#218)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 0133545..f9b2686 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -31,9 +31,9 @@ dependencies = [
[[package]]
name = "allocator-api2"
-version = "0.2.18"
+version = "0.2.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f"
+checksum = "611cc2ae7d2e242c457e4be7f97036b8ad9ca152b499f53faf99b1ed8fc2553f"
[[package]]
name = "anes"
@@ -337,9 +337,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.1.35"
+version = "1.1.37"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0f57c4b4da2a9d619dd035f27316d7a426305b75be93d09e92f2b9229c34feaf"
+checksum = "40545c26d092346d8a8dab71ee48e7685a7a9cba76e634790c215b41a4a7b4cf"
dependencies = [
"shlex",
]
@@ -808,9 +808,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
[[package]]
name = "libc"
-version = "0.2.161"
+version = "0.2.162"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8e9489c2807c139ffd9c1794f4af0ebe86a828db53ecdc7fea2111d0fed085d1"
+checksum = "18d287de67fe55fd7e1581fe933d965a5a9477b38e949cfa9f8574ef01506398"
[[package]]
name = "libmimalloc-sys"
@@ -1720,18 +1720,18 @@ dependencies = [
[[package]]
name = "thiserror"
-version = "1.0.68"
+version = "1.0.69"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "02dd99dc800bbb97186339685293e1cc5d9df1f8fae2d0aecd9ff1c77efea892"
+checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
-version = "1.0.68"
+version = "1.0.69"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a7c61ec9a6f64d2793d8a45faba21efbe3ced62a886d44c36a009b2b519b4c7e"
+checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
dependencies = [
"proc-macro2",
"quote",
From ae61901664a95a61f7d0765caddef3031c902be3 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 18 Nov 2024 21:15:18 +0000
Subject: [PATCH 208/385] chore(deps): lock file maintenance (#219)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 40 ++++++++++++++++++++--------------------
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index f9b2686..cf2d23a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -31,9 +31,9 @@ dependencies = [
[[package]]
name = "allocator-api2"
-version = "0.2.19"
+version = "0.2.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "611cc2ae7d2e242c457e4be7f97036b8ad9ca152b499f53faf99b1ed8fc2553f"
+checksum = "45862d1c77f2228b9e10bc609d5bc203d86ebc9b87ad8d5d5167a6c9abf739d9"
[[package]]
name = "anes"
@@ -302,9 +302,9 @@ dependencies = [
[[package]]
name = "bstr"
-version = "1.10.0"
+version = "1.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "40723b8fb387abc38f4f4a37c09073622e41dd12327033091ef8950659e6dc0c"
+checksum = "1a68f1f47cdf0ec8ee4b941b2eee2a80cb796db73118c0dd09ac63fbe405be22"
dependencies = [
"memchr",
"regex-automata",
@@ -337,9 +337,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.1.37"
+version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "40545c26d092346d8a8dab71ee48e7685a7a9cba76e634790c215b41a4a7b4cf"
+checksum = "fd9de9f2205d5ef3fd67e685b0df337994ddd4495e2a28d185500d0e1edfea47"
dependencies = [
"shlex",
]
@@ -808,9 +808,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
[[package]]
name = "libc"
-version = "0.2.162"
+version = "0.2.164"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "18d287de67fe55fd7e1581fe933d965a5a9477b38e949cfa9f8574ef01506398"
+checksum = "433bfe06b8c75da9b2e3fbea6e5329ff87748f0b144ef75306e674c3f6f7c13f"
[[package]]
name = "libmimalloc-sys"
@@ -1243,9 +1243,9 @@ dependencies = [
[[package]]
name = "psm"
-version = "0.1.23"
+version = "0.1.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aa37f80ca58604976033fae9515a8a2989fc13797d953f7c04fb8fa36a11f205"
+checksum = "200b9ff220857e53e184257720a14553b2f4aa02577d2ed9842d45d4b9654810"
dependencies = [
"cc",
]
@@ -1325,9 +1325,9 @@ dependencies = [
[[package]]
name = "regex-automata"
-version = "0.4.8"
+version = "0.4.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "368758f23274712b504848e9d5a6f010445cc8b87a7cdb4d7cbee666c1288da3"
+checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
[[package]]
name = "rustc-demangle"
@@ -1412,18 +1412,18 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4"
[[package]]
name = "serde"
-version = "1.0.214"
+version = "1.0.215"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f55c3193aca71c12ad7890f1785d2b73e1b9f63a0bbc353c08ef26fe03fc56b5"
+checksum = "6513c1ad0b11a9376da888e3e0baa0077f1aed55c17f50e7b2397136129fb88f"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.214"
+version = "1.0.215"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "de523f781f095e28fa605cdce0f8307e451cc0fd14e2eb4cd2e98a355b147766"
+checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0"
dependencies = [
"proc-macro2",
"quote",
@@ -1443,9 +1443,9 @@ dependencies = [
[[package]]
name = "serde_json"
-version = "1.0.132"
+version = "1.0.133"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d726bfaff4b320266d395898905d0eba0345aae23b54aee3a737e260fd46db03"
+checksum = "c7fceb2473b9166b2294ef05efcb65a3db80803f0b03ef86a5fc88a2b85ee377"
dependencies = [
"indexmap 2.6.0",
"itoa",
@@ -1569,9 +1569,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "4.0.0"
+version = "4.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "053e784870430ba47043278626e75686e745ac16876a8f5f4d6c9f39354ee7e7"
+checksum = "4f87a21612a324493fd065e9c6fea960b4031088a213db782e2ca71d2fabb3ec"
dependencies = [
"ast_node",
"better_scoped_tls",
From 02af977b0c2aa0f9fb8e038fe5cfbf929a9a8fd1 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 21 Nov 2024 14:53:59 +0000
Subject: [PATCH 209/385] chore(deps): update rust crate oxc to 0.37.0 (#220)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 44 ++++++++++++++++++++++----------------------
Cargo.toml | 2 +-
2 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index cf2d23a..fe3a1bd 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -951,9 +951,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.36.0"
+version = "0.37.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "24327e7a58d4e28217ba4bce5e582db05c2731d04b908a40b305b5d492f239fa"
+checksum = "3fc2b8d593792ca631b252b043dcaa6e65195432922fde0c4d2397cfba25d02d"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -992,9 +992,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.36.0"
+version = "0.37.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "931f734a61f63a0571163b160b764d90d83077c4d2631d15b26fe1b66763dad8"
+checksum = "3137194d5acbead2fd78db27c03b27faa2dfa53628514b1843ae31b2ba304d28"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1002,9 +1002,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.36.0"
+version = "0.37.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b9a771175e84c2324c841fe7ca3ddacb5df8102f043e2fc3e96d0bfee039c13d"
+checksum = "0a142fb8a722e9eb9bf4c9ef37bc7f37e9cc7fc38acba1889d8fb9f2df8ca85a"
dependencies = [
"bitflags",
"cow-utils",
@@ -1020,9 +1020,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.36.0"
+version = "0.37.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ed71131e79889e226fb6510b90fa1a4a7495c8fdac43a4f505334fb0f1324e3e"
+checksum = "8ba3432be9886577f6ea36a3ecba6a9b7f2f0bc16aae8a759a0d43f91e0cb4d5"
dependencies = [
"proc-macro2",
"quote",
@@ -1031,9 +1031,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.36.0"
+version = "0.37.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e37049d46eb02a97e4cc0900672a921666393c642c1ad419a20d483285f5b590"
+checksum = "d2bc8acd3740a2b2b32e1826d966b65f11b9ef5bebb460ebc7cbadf898d7efec"
dependencies = [
"oxc-miette",
"rustc-hash 2.0.0",
@@ -1041,21 +1041,21 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.36.0"
+version = "0.37.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7fa45c638ccfd88b5c26147b0a98e1e8dd49542327dda94445b940ef91920d6a"
+checksum = "b00fbdfd3e49faee78dada84e8cd79fdcf0bbb9a4c3f77a312b823d867e1894b"
[[package]]
name = "oxc_index"
-version = "0.36.0"
+version = "0.37.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ae76739229d0cc5e834e0e3b9e8c4078a86828ff47f5bc71138e4571ce528f83"
+checksum = "4852baa0de945b11def319a618cb31546f71b0a782f22c2e80f32f0ed356804d"
[[package]]
name = "oxc_parser"
-version = "0.36.0"
+version = "0.37.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0106e10cd67a59d91a75232d4c40f188b8532efea9b9bbed110bce157e7d3b9a"
+checksum = "4bf3395e8cad18ec9cda1bd530720d8e2747c5e4767573ba9bb3f0c798d944a4"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1075,9 +1075,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.36.0"
+version = "0.37.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f1bd0d5b1b943173378a5f61d6a4c49edc7e8c9157241e9bbba54594d7449b4c"
+checksum = "ab44622a5b4cb09e12eda5f70d9c033c3a820b26f92a1bc86e596e137dc42089"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1111,9 +1111,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.36.0"
+version = "0.37.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c7b5d7caf8a20611f34c5c9ebdf232b6b42498e5424d02ef1e2dffe31553b49f"
+checksum = "363c6c4329272836347089768df8c87c298f3bd329668306e1f50fc1f8804b7c"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1124,9 +1124,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.36.0"
+version = "0.37.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3135d5ddd0dc8ca535c0ac517a526ace8cac2699bb1345064c9fe046ca761dfa"
+checksum = "8697e0c9c99df9f5863196f82cb705685d747b1732733b80f5203cf70d46335a"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 3f1ae00..47b9ad5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.36.0"
+oxc = "0.37.0"
swc_ecma_parser = { version = "5.0.0", features = ["typescript"] }
swc_ecma_ast = "4.0.1"
From 9682bc4eecb8c15a13f64b23ffbcabab59eb7a81 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 25 Nov 2024 21:37:18 +0000
Subject: [PATCH 210/385] chore(deps): lock file maintenance (#221)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 84 +++++++++++++++++++++++++++---------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index fe3a1bd..8ac233b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -56,7 +56,7 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.87",
+ "syn 2.0.89",
]
[[package]]
@@ -297,7 +297,7 @@ checksum = "cf95d9c7e6aba67f8fc07761091e93254677f4db9e27197adecebc7039a58722"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.87",
+ "syn 2.0.89",
]
[[package]]
@@ -496,7 +496,7 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.87",
+ "syn 2.0.89",
]
[[package]]
@@ -546,7 +546,7 @@ checksum = "8d7ccf961415e7aa17ef93dcb6c2441faaa8e768abe09e659b908089546f74c5"
dependencies = [
"proc-macro2",
"swc_macros_common",
- "syn 2.0.87",
+ "syn 2.0.89",
]
[[package]]
@@ -728,7 +728,7 @@ checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.87",
+ "syn 2.0.89",
]
[[package]]
@@ -782,14 +782,14 @@ dependencies = [
"heck",
"proc-macro2",
"quote",
- "syn 2.0.87",
+ "syn 2.0.89",
]
[[package]]
name = "itoa"
-version = "1.0.11"
+version = "1.0.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
+checksum = "540654e97a3f4470a492cd30ff187bc95d89557a903a2bbf112e2fae98104ef2"
[[package]]
name = "json-strip-comments"
@@ -824,9 +824,9 @@ dependencies = [
[[package]]
name = "litemap"
-version = "0.7.3"
+version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "643cb0b8d4fcc284004d5fd0d67ccf61dfffadb7f75e1e71bc420f4688a3a704"
+checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104"
[[package]]
name = "lock_api"
@@ -987,7 +987,7 @@ checksum = "e21f680e8c5f1900297d394627d495351b9e37761f7bbf90116bd5eeb6e80967"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.87",
+ "syn 2.0.89",
]
[[package]]
@@ -1026,7 +1026,7 @@ checksum = "8ba3432be9886577f6ea36a3ecba6a9b7f2f0bc16aae8a759a0d43f91e0cb4d5"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.87",
+ "syn 2.0.89",
]
[[package]]
@@ -1191,7 +1191,7 @@ dependencies = [
"phf_shared",
"proc-macro2",
"quote",
- "syn 2.0.87",
+ "syn 2.0.89",
]
[[package]]
@@ -1234,9 +1234,9 @@ dependencies = [
[[package]]
name = "proc-macro2"
-version = "1.0.89"
+version = "1.0.92"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e"
+checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0"
dependencies = [
"unicode-ident",
]
@@ -1389,7 +1389,7 @@ dependencies = [
"proc-macro2",
"quote",
"serde_derive_internals",
- "syn 2.0.87",
+ "syn 2.0.89",
]
[[package]]
@@ -1427,7 +1427,7 @@ checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.87",
+ "syn 2.0.89",
]
[[package]]
@@ -1438,7 +1438,7 @@ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.87",
+ "syn 2.0.89",
]
[[package]]
@@ -1539,7 +1539,7 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.87",
+ "syn 2.0.89",
]
[[package]]
@@ -1641,7 +1641,7 @@ checksum = "e96e15288bf385ab85eb83cff7f9e2d834348da58d0a31b33bdb572e66ee413e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.87",
+ "syn 2.0.89",
]
[[package]]
@@ -1652,7 +1652,7 @@ checksum = "a509f56fca05b39ba6c15f3e58636c3924c78347d63853632ed2ffcb6f5a0ac7"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.87",
+ "syn 2.0.89",
]
[[package]]
@@ -1678,9 +1678,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.87"
+version = "2.0.89"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d"
+checksum = "44d46482f1c1c87acd84dea20c1bf5ebff4c757009ed6bf19cfd36fb10e92c4e"
dependencies = [
"proc-macro2",
"quote",
@@ -1695,7 +1695,7 @@ checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.87",
+ "syn 2.0.89",
]
[[package]]
@@ -1735,7 +1735,7 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.87",
+ "syn 2.0.89",
]
[[package]]
@@ -1767,7 +1767,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.87",
+ "syn 2.0.89",
]
[[package]]
@@ -1809,9 +1809,9 @@ checksum = "2f322b60f6b9736017344fa0635d64be2f458fbc04eef65f6be22976dd1ffd5b"
[[package]]
name = "unicode-ident"
-version = "1.0.13"
+version = "1.0.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe"
+checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83"
[[package]]
name = "unicode-linebreak"
@@ -1839,9 +1839,9 @@ checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd"
[[package]]
name = "url"
-version = "2.5.3"
+version = "2.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8d157f1b96d14500ffdc1f10ba712e780825526c03d9a49b4d0324b0d9113ada"
+checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60"
dependencies = [
"form_urlencoded",
"idna",
@@ -2038,9 +2038,9 @@ checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51"
[[package]]
name = "yoke"
-version = "0.7.4"
+version = "0.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c5b1314b079b0930c31e3af543d8ee1757b1951ae1e1565ec704403a7240ca5"
+checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40"
dependencies = [
"serde",
"stable_deref_trait",
@@ -2050,13 +2050,13 @@ dependencies = [
[[package]]
name = "yoke-derive"
-version = "0.7.4"
+version = "0.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "28cc31741b18cb6f1d5ff12f5b7523e3d6eb0852bbbad19d73905511d9849b95"
+checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.87",
+ "syn 2.0.89",
"synstructure",
]
@@ -2077,27 +2077,27 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.87",
+ "syn 2.0.89",
]
[[package]]
name = "zerofrom"
-version = "0.1.4"
+version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "91ec111ce797d0e0784a1116d0ddcdbea84322cd79e5d5ad173daeba4f93ab55"
+checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e"
dependencies = [
"zerofrom-derive",
]
[[package]]
name = "zerofrom-derive"
-version = "0.1.4"
+version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ea7b4a3637ea8669cedf0f1fd5c286a17f3de97b8dd5a70a6c167a1730e63a5"
+checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.87",
+ "syn 2.0.89",
"synstructure",
]
@@ -2120,5 +2120,5 @@ checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.87",
+ "syn 2.0.89",
]
From 35ce73f17ec3fc27415d2a610d4d0def1807eb54 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 26 Nov 2024 11:47:10 +0000
Subject: [PATCH 211/385] chore(deps): update rust crate oxc to 0.38.0 (#222)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 45 ++++++++++++++++++++++-----------------------
Cargo.toml | 2 +-
2 files changed, 23 insertions(+), 24 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 8ac233b..31ff5a3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -951,14 +951,13 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.37.0"
+version = "0.38.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3fc2b8d593792ca631b252b043dcaa6e65195432922fde0c4d2397cfba25d02d"
+checksum = "db178a76b4ad1f6126cdd1f68531f706bcb291eb54ff091e5ed73b0fa82f7a0f"
dependencies = [
"oxc_allocator",
"oxc_ast",
"oxc_diagnostics",
- "oxc_index",
"oxc_parser",
"oxc_regular_expression",
"oxc_span",
@@ -992,9 +991,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.37.0"
+version = "0.38.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3137194d5acbead2fd78db27c03b27faa2dfa53628514b1843ae31b2ba304d28"
+checksum = "2a1afabad345ed80523cadfc68b8c55c2279f4ab543a8d735d9557d8c45caf7e"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1002,9 +1001,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.37.0"
+version = "0.38.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0a142fb8a722e9eb9bf4c9ef37bc7f37e9cc7fc38acba1889d8fb9f2df8ca85a"
+checksum = "77dbccabf2209cf7f8e27c94fae9f0d16b0f7605dd68e1833fed52679c9a2264"
dependencies = [
"bitflags",
"cow-utils",
@@ -1020,9 +1019,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.37.0"
+version = "0.38.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ba3432be9886577f6ea36a3ecba6a9b7f2f0bc16aae8a759a0d43f91e0cb4d5"
+checksum = "2ef533198801374faad66d3ffa6f9f7b333f4e05d8f1c6a6c11211974655cfd6"
dependencies = [
"proc-macro2",
"quote",
@@ -1031,9 +1030,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.37.0"
+version = "0.38.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2bc8acd3740a2b2b32e1826d966b65f11b9ef5bebb460ebc7cbadf898d7efec"
+checksum = "4c94f8b67b5ea708e10498cf7c4e4ee8ec724982851edca2dd0d20d2ad99d47b"
dependencies = [
"oxc-miette",
"rustc-hash 2.0.0",
@@ -1041,21 +1040,21 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.37.0"
+version = "0.38.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b00fbdfd3e49faee78dada84e8cd79fdcf0bbb9a4c3f77a312b823d867e1894b"
+checksum = "f58834a7016eae5f5f8491d094fdb6410275df1574be1cc8f9ef6bc7d58f328b"
[[package]]
name = "oxc_index"
-version = "0.37.0"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4852baa0de945b11def319a618cb31546f71b0a782f22c2e80f32f0ed356804d"
+checksum = "8fe15d5f5b96fa820c5ba2709eceabf395c4a93a578c792bdd65da6e88a77e14"
[[package]]
name = "oxc_parser"
-version = "0.37.0"
+version = "0.38.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4bf3395e8cad18ec9cda1bd530720d8e2747c5e4767573ba9bb3f0c798d944a4"
+checksum = "bef1057d0a2c32b146ea26913027b483eab4753b68d327f38fe58ce3a09fa2f6"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1075,9 +1074,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.37.0"
+version = "0.38.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ab44622a5b4cb09e12eda5f70d9c033c3a820b26f92a1bc86e596e137dc42089"
+checksum = "068b0588d755c111916a6d73679497bffc5c2eb870b560806ba2273399ba31ca"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1111,9 +1110,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.37.0"
+version = "0.38.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "363c6c4329272836347089768df8c87c298f3bd329668306e1f50fc1f8804b7c"
+checksum = "d72caf27921cc5eabe03b4b67f5e2c11ee68d633e94cde1f5007fb703d12b656"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1124,9 +1123,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.37.0"
+version = "0.38.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8697e0c9c99df9f5863196f82cb705685d747b1732733b80f5203cf70d46335a"
+checksum = "56cac23361174e1a7863e03aef81c9ce2221ee181f14e6c0283755882f24c31b"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 47b9ad5..24ac690 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.37.0"
+oxc = "0.38.0"
swc_ecma_parser = { version = "5.0.0", features = ["typescript"] }
swc_ecma_ast = "4.0.1"
From 6142297d1a5395fa9fe8e299891f0475caac47c1 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 28 Nov 2024 17:31:10 +0000
Subject: [PATCH 212/385] chore(deps): update dependency rust to v1.83.0 (#223)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
rust-toolchain.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
index 53ad705..f1b0aac 100644
--- a/rust-toolchain.toml
+++ b/rust-toolchain.toml
@@ -1,3 +1,3 @@
[toolchain]
-channel = "1.82.0"
+channel = "1.83.0"
profile = "minimal"
From a7f93dab09fdaf81e79f73212d2bdab068154bb0 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 2 Dec 2024 03:37:39 +0000
Subject: [PATCH 213/385] chore(deps): update swc (#224)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 34 +++++++++++++++++-----------------
Cargo.toml | 4 ++--
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 31ff5a3..e15c5b6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -49,9 +49,9 @@ checksum = "7330592adf847ee2e3513587b4db2db410a0d751378654e7e993d9adcbe5c795"
[[package]]
name = "ast_node"
-version = "2.0.0"
+version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "94741d66bdda032fcbf33e621b4e3a888d7d11bd3ac4446d82c5593a136936ff"
+checksum = "91fb5864e2f5bf9fd9797b94b2dfd1554d4c3092b535008b27d7e15c86675a2f"
dependencies = [
"proc-macro2",
"quote",
@@ -1251,22 +1251,22 @@ dependencies = [
[[package]]
name = "ptr_meta"
-version = "0.1.4"
+version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0738ccf7ea06b608c10564b31debd4f5bc5e197fc8bfe088f68ae5ce81e7a4f1"
+checksum = "fe9e76f66d3f9606f44e45598d155cb13ecf09f4a28199e48daf8c8fc937ea90"
dependencies = [
"ptr_meta_derive",
]
[[package]]
name = "ptr_meta_derive"
-version = "0.1.4"
+version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "16b845dbfca988fa33db069c0e230574d15a3088f147a87b64c7589eb662c9ac"
+checksum = "ca414edb151b4c8d125c12566ab0d74dc9cdba36fb80eb7b848c15f495fd32d1"
dependencies = [
"proc-macro2",
"quote",
- "syn 1.0.109",
+ "syn 2.0.89",
]
[[package]]
@@ -1543,9 +1543,9 @@ dependencies = [
[[package]]
name = "swc_allocator"
-version = "1.0.0"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "52cacc28f0ada8e4e31a720dd849ff06864b10e6ab0a1aaa99c06456cfe046af"
+checksum = "117d5d3289663f53022ebf157df8a42b3872d7ac759e63abf96b5987b85d4af3"
dependencies = [
"bumpalo",
"hashbrown 0.14.5",
@@ -1556,9 +1556,9 @@ dependencies = [
[[package]]
name = "swc_atoms"
-version = "2.0.0"
+version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5d7211e5c57ea972f32b8a104d7006c4a68d094ec30c6a73bcd20d4d6c473c7c"
+checksum = "151a6feb82b989a087433baca7f6a6eb4fcf83f828c479eecd039c9312d60e10"
dependencies = [
"hstr",
"once_cell",
@@ -1568,9 +1568,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "4.0.1"
+version = "5.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4f87a21612a324493fd065e9c6fea960b4031088a213db782e2ca71d2fabb3ec"
+checksum = "a521e8120dc0401580864a643b5bffa035c29fc3fc41697c972743d4f008ed22"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1594,9 +1594,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "4.0.1"
+version = "5.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1bdab7759509c1b37ec77bd9fc231f525b888d9609c2963ce71995da1b27357c"
+checksum = "94cf86f17358b93fcfe2876a9f0f7a7ebbff94cd6eaab4c809c7a0da1f4b892e"
dependencies = [
"bitflags",
"is-macro",
@@ -1612,9 +1612,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "5.0.0"
+version = "6.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "54c5ab8bd4cc4a4956514699c84d1a25cdb5a33f5ec760ec64ce712e973019c9"
+checksum = "c2c361b4153905dc088a6bacfaa944b582305cf94fbfcaa9b3aa61a7dd3adbf9"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index 24ac690..4eb8133 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ doctest = false
[dependencies]
oxc = "0.38.0"
-swc_ecma_parser = { version = "5.0.0", features = ["typescript"] }
-swc_ecma_ast = "4.0.1"
+swc_ecma_parser = { version = "6.0.0", features = ["typescript"] }
+swc_ecma_ast = "5.0.0"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From 90aa4bade429cfbf80b786b6e867633b1f0bdc5b Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 3 Dec 2024 09:42:19 +0000
Subject: [PATCH 214/385] chore(deps): lock file maintenance (#225)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 110 ++++++++++++++++++++++++++---------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index e15c5b6..c512061 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -31,9 +31,9 @@ dependencies = [
[[package]]
name = "allocator-api2"
-version = "0.2.20"
+version = "0.2.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "45862d1c77f2228b9e10bc609d5bc203d86ebc9b87ad8d5d5167a6c9abf739d9"
+checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923"
[[package]]
name = "anes"
@@ -56,7 +56,7 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.89",
+ "syn 2.0.90",
]
[[package]]
@@ -297,7 +297,7 @@ checksum = "cf95d9c7e6aba67f8fc07761091e93254677f4db9e27197adecebc7039a58722"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.89",
+ "syn 2.0.90",
]
[[package]]
@@ -337,9 +337,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.2.1"
+version = "1.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fd9de9f2205d5ef3fd67e685b0df337994ddd4495e2a28d185500d0e1edfea47"
+checksum = "f34d93e62b03caf570cccc334cbc6c2fceca82f39211051345108adcba3eebdc"
dependencies = [
"shlex",
]
@@ -496,7 +496,7 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.89",
+ "syn 2.0.90",
]
[[package]]
@@ -546,7 +546,7 @@ checksum = "8d7ccf961415e7aa17ef93dcb6c2441faaa8e768abe09e659b908089546f74c5"
dependencies = [
"proc-macro2",
"swc_macros_common",
- "syn 2.0.89",
+ "syn 2.0.90",
]
[[package]]
@@ -583,9 +583,9 @@ dependencies = [
[[package]]
name = "hashbrown"
-version = "0.15.1"
+version = "0.15.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3a9bfc1af68b1726ea47d3d5109de126281def866b33970e10fbab11b5dafab3"
+checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289"
[[package]]
name = "heck"
@@ -728,7 +728,7 @@ checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.89",
+ "syn 2.0.90",
]
[[package]]
@@ -764,12 +764,12 @@ dependencies = [
[[package]]
name = "indexmap"
-version = "2.6.0"
+version = "2.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "707907fe3c25f5424cce2cb7e1cbcafee6bdbe735ca90ef77c29e84591e5b9da"
+checksum = "62f822373a4fe84d4bb149bf54e584a7f4abec90e072ed49cda0edea5b95471f"
dependencies = [
"equivalent",
- "hashbrown 0.15.1",
+ "hashbrown 0.15.2",
"serde",
]
@@ -782,14 +782,14 @@ dependencies = [
"heck",
"proc-macro2",
"quote",
- "syn 2.0.89",
+ "syn 2.0.90",
]
[[package]]
name = "itoa"
-version = "1.0.13"
+version = "1.0.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "540654e97a3f4470a492cd30ff187bc95d89557a903a2bbf112e2fae98104ef2"
+checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674"
[[package]]
name = "json-strip-comments"
@@ -808,9 +808,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
[[package]]
name = "libc"
-version = "0.2.164"
+version = "0.2.167"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "433bfe06b8c75da9b2e3fbea6e5329ff87748f0b144ef75306e674c3f6f7c13f"
+checksum = "09d6582e104315a817dff97f75133544b2e094ee22447d2acf4a74e189ba06fc"
[[package]]
name = "libmimalloc-sys"
@@ -986,7 +986,7 @@ checksum = "e21f680e8c5f1900297d394627d495351b9e37761f7bbf90116bd5eeb6e80967"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.89",
+ "syn 2.0.90",
]
[[package]]
@@ -1025,7 +1025,7 @@ checksum = "2ef533198801374faad66d3ffa6f9f7b333f4e05d8f1c6a6c11211974655cfd6"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.89",
+ "syn 2.0.90",
]
[[package]]
@@ -1035,7 +1035,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c94f8b67b5ea708e10498cf7c4e4ee8ec724982851edca2dd0d20d2ad99d47b"
dependencies = [
"oxc-miette",
- "rustc-hash 2.0.0",
+ "rustc-hash 2.1.0",
]
[[package]]
@@ -1046,9 +1046,9 @@ checksum = "f58834a7016eae5f5f8491d094fdb6410275df1574be1cc8f9ef6bc7d58f328b"
[[package]]
name = "oxc_index"
-version = "1.0.0"
+version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8fe15d5f5b96fa820c5ba2709eceabf395c4a93a578c792bdd65da6e88a77e14"
+checksum = "f004e73d346bec03a428ca26cf2df245d08563f1d3268b7bcbd5554fc1db05c5"
[[package]]
name = "oxc_parser"
@@ -1068,7 +1068,7 @@ dependencies = [
"oxc_regular_expression",
"oxc_span",
"oxc_syntax",
- "rustc-hash 2.0.0",
+ "rustc-hash 2.1.0",
"seq-macro",
]
@@ -1084,7 +1084,7 @@ dependencies = [
"oxc_estree",
"oxc_span",
"phf",
- "rustc-hash 2.0.0",
+ "rustc-hash 2.1.0",
"unicode-id-start",
]
@@ -1097,10 +1097,10 @@ dependencies = [
"cfg-if",
"dashmap",
"dunce",
- "indexmap 2.6.0",
+ "indexmap 2.7.0",
"json-strip-comments",
"once_cell",
- "rustc-hash 2.0.0",
+ "rustc-hash 2.1.0",
"serde",
"serde_json",
"simdutf8",
@@ -1137,7 +1137,7 @@ dependencies = [
"oxc_index",
"oxc_span",
"phf",
- "rustc-hash 2.0.0",
+ "rustc-hash 2.1.0",
"unicode-id-start",
]
@@ -1190,7 +1190,7 @@ dependencies = [
"phf_shared",
"proc-macro2",
"quote",
- "syn 2.0.89",
+ "syn 2.0.90",
]
[[package]]
@@ -1266,7 +1266,7 @@ checksum = "ca414edb151b4c8d125c12566ab0d74dc9cdba36fb80eb7b848c15f495fd32d1"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.89",
+ "syn 2.0.90",
]
[[package]]
@@ -1342,9 +1342,9 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
[[package]]
name = "rustc-hash"
-version = "2.0.0"
+version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "583034fd73374156e66797ed8e5b0d5690409c9226b22d87cb7f19821c05d152"
+checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497"
[[package]]
name = "rustversion"
@@ -1388,7 +1388,7 @@ dependencies = [
"proc-macro2",
"quote",
"serde_derive_internals",
- "syn 2.0.89",
+ "syn 2.0.90",
]
[[package]]
@@ -1426,7 +1426,7 @@ checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.89",
+ "syn 2.0.90",
]
[[package]]
@@ -1437,7 +1437,7 @@ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.89",
+ "syn 2.0.90",
]
[[package]]
@@ -1446,7 +1446,7 @@ version = "1.0.133"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c7fceb2473b9166b2294ef05efcb65a3db80803f0b03ef86a5fc88a2b85ee377"
dependencies = [
- "indexmap 2.6.0",
+ "indexmap 2.7.0",
"itoa",
"memchr",
"ryu",
@@ -1538,7 +1538,7 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.89",
+ "syn 2.0.90",
]
[[package]]
@@ -1640,7 +1640,7 @@ checksum = "e96e15288bf385ab85eb83cff7f9e2d834348da58d0a31b33bdb572e66ee413e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.89",
+ "syn 2.0.90",
]
[[package]]
@@ -1651,7 +1651,7 @@ checksum = "a509f56fca05b39ba6c15f3e58636c3924c78347d63853632ed2ffcb6f5a0ac7"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.89",
+ "syn 2.0.90",
]
[[package]]
@@ -1677,9 +1677,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.89"
+version = "2.0.90"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "44d46482f1c1c87acd84dea20c1bf5ebff4c757009ed6bf19cfd36fb10e92c4e"
+checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31"
dependencies = [
"proc-macro2",
"quote",
@@ -1694,7 +1694,7 @@ checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.89",
+ "syn 2.0.90",
]
[[package]]
@@ -1734,7 +1734,7 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.89",
+ "syn 2.0.90",
]
[[package]]
@@ -1749,9 +1749,9 @@ dependencies = [
[[package]]
name = "tracing"
-version = "0.1.40"
+version = "0.1.41"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef"
+checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0"
dependencies = [
"pin-project-lite",
"tracing-attributes",
@@ -1760,20 +1760,20 @@ dependencies = [
[[package]]
name = "tracing-attributes"
-version = "0.1.27"
+version = "0.1.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
+checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.89",
+ "syn 2.0.90",
]
[[package]]
name = "tracing-core"
-version = "0.1.32"
+version = "0.1.33"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54"
+checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c"
dependencies = [
"once_cell",
]
@@ -2055,7 +2055,7 @@ checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.89",
+ "syn 2.0.90",
"synstructure",
]
@@ -2076,7 +2076,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.89",
+ "syn 2.0.90",
]
[[package]]
@@ -2096,7 +2096,7 @@ checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.89",
+ "syn 2.0.90",
"synstructure",
]
@@ -2119,5 +2119,5 @@ checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.89",
+ "syn 2.0.90",
]
From e5cb73854cffeca58788db7314ad502c569112f1 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 4 Dec 2024 13:51:26 +0000
Subject: [PATCH 215/385] chore(deps): update rust crate oxc to 0.39.0 (#226)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 64 +++++++++++++++++++++++++++++++++++-------------------
Cargo.toml | 2 +-
2 files changed, 43 insertions(+), 23 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index c512061..81878b0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1,6 +1,6 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
-version = 3
+version = 4
[[package]]
name = "addr2line"
@@ -951,9 +951,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.38.0"
+version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db178a76b4ad1f6126cdd1f68531f706bcb291eb54ff091e5ed73b0fa82f7a0f"
+checksum = "e36a22dbfb48d3086e9672b0ba633dc27efc3715476207ebf544537fa3efbb4f"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -991,9 +991,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.38.0"
+version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2a1afabad345ed80523cadfc68b8c55c2279f4ab543a8d735d9557d8c45caf7e"
+checksum = "da7a58bc4ca95fb3877d63270c91e7a7a4d7776b3b9ebf817f98d13675058382"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1001,9 +1001,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.38.0"
+version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "77dbccabf2209cf7f8e27c94fae9f0d16b0f7605dd68e1833fed52679c9a2264"
+checksum = "81072d97eb6b649cfd866547e444ff4f8a8b4fdef031785ba93959e1c9af2436"
dependencies = [
"bitflags",
"cow-utils",
@@ -1019,9 +1019,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.38.0"
+version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2ef533198801374faad66d3ffa6f9f7b333f4e05d8f1c6a6c11211974655cfd6"
+checksum = "a7a86fab5165efca6c1480ebc5ade00ba4c4a09725b6c4b1ec62b356c0654f5d"
dependencies = [
"proc-macro2",
"quote",
@@ -1030,19 +1030,32 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.38.0"
+version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c94f8b67b5ea708e10498cf7c4e4ee8ec724982851edca2dd0d20d2ad99d47b"
+checksum = "de0e5654ed504ca330bb5622c9c20d42ad80d8e4f650f08cfe0eac2ed6f2cfb1"
dependencies = [
"oxc-miette",
"rustc-hash 2.1.0",
]
+[[package]]
+name = "oxc_ecmascript"
+version = "0.39.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f55632e6e82aaa6d3ad8bc6f4b30ab1a02611907543d87c749e9be7a7a9b253e"
+dependencies = [
+ "num-bigint",
+ "num-traits",
+ "oxc_ast",
+ "oxc_span",
+ "oxc_syntax",
+]
+
[[package]]
name = "oxc_estree"
-version = "0.38.0"
+version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f58834a7016eae5f5f8491d094fdb6410275df1574be1cc8f9ef6bc7d58f328b"
+checksum = "432e3c69e43c02afdc1976917fdc72419609138cd7bfc34a8c1660c9dabfd649"
[[package]]
name = "oxc_index"
@@ -1052,9 +1065,9 @@ checksum = "f004e73d346bec03a428ca26cf2df245d08563f1d3268b7bcbd5554fc1db05c5"
[[package]]
name = "oxc_parser"
-version = "0.38.0"
+version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bef1057d0a2c32b146ea26913027b483eab4753b68d327f38fe58ce3a09fa2f6"
+checksum = "f5568fc25a15d1c498f49e026222b2881b79031888242e00cbfe14b46aaa12c0"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1065,6 +1078,7 @@ dependencies = [
"oxc_allocator",
"oxc_ast",
"oxc_diagnostics",
+ "oxc_ecmascript",
"oxc_regular_expression",
"oxc_span",
"oxc_syntax",
@@ -1074,9 +1088,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.38.0"
+version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "068b0588d755c111916a6d73679497bffc5c2eb870b560806ba2273399ba31ca"
+checksum = "7b429b09e2099864ba8ba387477e92e6fac53b7d4b652d26b775c48a84a3918e"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1110,9 +1124,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.38.0"
+version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d72caf27921cc5eabe03b4b67f5e2c11ee68d633e94cde1f5007fb703d12b656"
+checksum = "6c95a23826bc608f9c0f96ba685c0585537bcc217c76c10628327b7e8f30d12b"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1123,13 +1137,12 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.38.0"
+version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "56cac23361174e1a7863e03aef81c9ce2221ee181f14e6c0283755882f24c31b"
+checksum = "932baf733792d780f6495af5038a971dd8cc43533cab4842199709bcd84ce552"
dependencies = [
"assert-unchecked",
"bitflags",
- "dashmap",
"nonmax",
"oxc_allocator",
"oxc_ast_macros",
@@ -1138,6 +1151,7 @@ dependencies = [
"oxc_span",
"phf",
"rustc-hash 2.1.0",
+ "ryu-js",
"unicode-id-start",
]
@@ -1358,6 +1372,12 @@ version = "1.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
+[[package]]
+name = "ryu-js"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ad97d4ce1560a5e27cec89519dc8300d1aa6035b099821261c651486a19e44d5"
+
[[package]]
name = "same-file"
version = "1.0.6"
diff --git a/Cargo.toml b/Cargo.toml
index 4eb8133..cfd2876 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.38.0"
+oxc = "0.39.0"
swc_ecma_parser = { version = "6.0.0", features = ["typescript"] }
swc_ecma_ast = "5.0.0"
From fe34a9632bd6664c4019a9303b1c196e39511935 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 9 Dec 2024 20:18:15 +0000
Subject: [PATCH 216/385] chore(deps): lock file maintenance (#227)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 81878b0..4cc397d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -337,9 +337,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.2.2"
+version = "1.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f34d93e62b03caf570cccc334cbc6c2fceca82f39211051345108adcba3eebdc"
+checksum = "27f657647bcff5394bf56c7317665bbf790a137a50eaaa5c6bfbb9e27a518f2d"
dependencies = [
"shlex",
]
From 7444541d2e1378e734537f7f26ee2d4d4b066985 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 10 Dec 2024 18:32:41 +0000
Subject: [PATCH 217/385] chore(deps): update rust crate oxc to 0.40.1 (#228)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 4cc397d..2dceeb4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -951,9 +951,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.39.0"
+version = "0.40.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e36a22dbfb48d3086e9672b0ba633dc27efc3715476207ebf544537fa3efbb4f"
+checksum = "49d6a3adf0b9cb2baa889d6e978d792c695a83886bb8e623d27ef0996be8f52b"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -991,9 +991,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.39.0"
+version = "0.40.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "da7a58bc4ca95fb3877d63270c91e7a7a4d7776b3b9ebf817f98d13675058382"
+checksum = "6b1409be2036cb370daee57ec0942c3aa22949da7e269d583767327b9286493e"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1001,9 +1001,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.39.0"
+version = "0.40.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "81072d97eb6b649cfd866547e444ff4f8a8b4fdef031785ba93959e1c9af2436"
+checksum = "9353f8fc2507736ce314763ea7e365e25845f431800f8cba196b8365565a6139"
dependencies = [
"bitflags",
"cow-utils",
@@ -1019,9 +1019,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.39.0"
+version = "0.40.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a7a86fab5165efca6c1480ebc5ade00ba4c4a09725b6c4b1ec62b356c0654f5d"
+checksum = "ffc4de384e05599bb89541ebbff124947e326a02783d66d2c2c534ecf58a66b4"
dependencies = [
"proc-macro2",
"quote",
@@ -1030,9 +1030,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.39.0"
+version = "0.40.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "de0e5654ed504ca330bb5622c9c20d42ad80d8e4f650f08cfe0eac2ed6f2cfb1"
+checksum = "425d8c272e885c3318878acf0a1e985b7bdb8b8e57d695f4ab72e444ba781432"
dependencies = [
"oxc-miette",
"rustc-hash 2.1.0",
@@ -1040,9 +1040,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.39.0"
+version = "0.40.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f55632e6e82aaa6d3ad8bc6f4b30ab1a02611907543d87c749e9be7a7a9b253e"
+checksum = "754e92029d7deb771b5ae9fb628903d0a8da64ca9e61b2e05eb6e01e7613976c"
dependencies = [
"num-bigint",
"num-traits",
@@ -1053,21 +1053,21 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.39.0"
+version = "0.40.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "432e3c69e43c02afdc1976917fdc72419609138cd7bfc34a8c1660c9dabfd649"
+checksum = "89eb8a7cf00b2fd6a8e63f38548ae0f9b4f8e21734ef0ae71424104e8503d667"
[[package]]
name = "oxc_index"
-version = "1.0.1"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f004e73d346bec03a428ca26cf2df245d08563f1d3268b7bcbd5554fc1db05c5"
+checksum = "5eca5d9726cd0a6e433debe003b7bc88b2ecad0bb6109f0cef7c55e692139a34"
[[package]]
name = "oxc_parser"
-version = "0.39.0"
+version = "0.40.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f5568fc25a15d1c498f49e026222b2881b79031888242e00cbfe14b46aaa12c0"
+checksum = "56fff5de3a699593b5b7e8fd4b30ffedd6d0a9188580afd28745aaab83961e23"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1088,9 +1088,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.39.0"
+version = "0.40.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7b429b09e2099864ba8ba387477e92e6fac53b7d4b652d26b775c48a84a3918e"
+checksum = "e420360e2c8e83a3eef7c74bbf3a11b375370fa3656c8cee65e4dfe96e26bb93"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1124,9 +1124,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.39.0"
+version = "0.40.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c95a23826bc608f9c0f96ba685c0585537bcc217c76c10628327b7e8f30d12b"
+checksum = "e940a7230413a1a138e04c1cf45fea6014d2e995b9c95857252259f5cec9f844"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1137,9 +1137,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.39.0"
+version = "0.40.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "932baf733792d780f6495af5038a971dd8cc43533cab4842199709bcd84ce552"
+checksum = "ef274df7ce9d14a3d4f0b9d8453920b7a4f22bfcc1a4ec394233280cca07ed97"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index cfd2876..9d5122f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.39.0"
+oxc = "0.40.1"
swc_ecma_parser = { version = "6.0.0", features = ["typescript"] }
swc_ecma_ast = "5.0.0"
From 681b55d938ae636ed2e24447a36517d4bc166bec Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 13 Dec 2024 14:15:55 +0000
Subject: [PATCH 218/385] chore(deps): update rust crate oxc to 0.41.0 (#229)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 44 ++++++++++++++++++++++----------------------
Cargo.toml | 2 +-
2 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 2dceeb4..7bdcc7f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -951,9 +951,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.40.1"
+version = "0.41.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "49d6a3adf0b9cb2baa889d6e978d792c695a83886bb8e623d27ef0996be8f52b"
+checksum = "22ddbf4e4c38cb6ed06bf7abec4832539edc264808d5879949e256fffd6c878e"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -991,9 +991,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.40.1"
+version = "0.41.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6b1409be2036cb370daee57ec0942c3aa22949da7e269d583767327b9286493e"
+checksum = "129dbe2e90c53fc6bba5d8fed442afaba6ae82efa158b194834a34068cd7f2c9"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1001,9 +1001,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.40.1"
+version = "0.41.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9353f8fc2507736ce314763ea7e365e25845f431800f8cba196b8365565a6139"
+checksum = "621f3fa2668c640c96cde64c51f5de7f583137c9e7dafcafc699d510975403d7"
dependencies = [
"bitflags",
"cow-utils",
@@ -1019,9 +1019,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.40.1"
+version = "0.41.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ffc4de384e05599bb89541ebbff124947e326a02783d66d2c2c534ecf58a66b4"
+checksum = "033622153c0d50ee87c9bdbb8010416cb0ecbc8c673bd2bfda31de8fa2d8a1e3"
dependencies = [
"proc-macro2",
"quote",
@@ -1030,9 +1030,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.40.1"
+version = "0.41.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "425d8c272e885c3318878acf0a1e985b7bdb8b8e57d695f4ab72e444ba781432"
+checksum = "bab5a0abb4d0fcd900f125f13890d5c4ddb5b4a99a5b4d9fb419385c9448453d"
dependencies = [
"oxc-miette",
"rustc-hash 2.1.0",
@@ -1040,9 +1040,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.40.1"
+version = "0.41.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "754e92029d7deb771b5ae9fb628903d0a8da64ca9e61b2e05eb6e01e7613976c"
+checksum = "e07b49fdd327cc3da2b80b60ea399aec2232b170d8b9ed6cb048c4eb27ea8e71"
dependencies = [
"num-bigint",
"num-traits",
@@ -1053,9 +1053,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.40.1"
+version = "0.41.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "89eb8a7cf00b2fd6a8e63f38548ae0f9b4f8e21734ef0ae71424104e8503d667"
+checksum = "c333d3664b489ff8016b34ca3e99f09ed61b0af7dce1970906d2102452c40ccb"
[[package]]
name = "oxc_index"
@@ -1065,9 +1065,9 @@ checksum = "5eca5d9726cd0a6e433debe003b7bc88b2ecad0bb6109f0cef7c55e692139a34"
[[package]]
name = "oxc_parser"
-version = "0.40.1"
+version = "0.41.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "56fff5de3a699593b5b7e8fd4b30ffedd6d0a9188580afd28745aaab83961e23"
+checksum = "cd7f5468e1af367f51119631d934ab425901ab6edaedf9907dd7d929f9739431"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1088,9 +1088,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.40.1"
+version = "0.41.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e420360e2c8e83a3eef7c74bbf3a11b375370fa3656c8cee65e4dfe96e26bb93"
+checksum = "560153d371d20b23a6e97bee0766f77d5d8ae2f66a280cf273dfe3031925a7c5"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1124,9 +1124,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.40.1"
+version = "0.41.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e940a7230413a1a138e04c1cf45fea6014d2e995b9c95857252259f5cec9f844"
+checksum = "3ff5ad82ecf54bd33c27b2ad7279f6e5ffaf2f86544e31394b3a56ce0eb14179"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1137,9 +1137,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.40.1"
+version = "0.41.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ef274df7ce9d14a3d4f0b9d8453920b7a4f22bfcc1a4ec394233280cca07ed97"
+checksum = "c2f32b5c30e2637c2533f133e0c0500e1531a3b991b9876d0bcc7ae1d31f0898"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 9d5122f..eee6831 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.40.1"
+oxc = "0.41.0"
swc_ecma_parser = { version = "6.0.0", features = ["typescript"] }
swc_ecma_ast = "5.0.0"
From 113b0ac385e69d710b64492a1ca06401e63e9aa1 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 16 Dec 2024 09:56:30 +0000
Subject: [PATCH 219/385] chore(deps): update rust crate swc_ecma_parser to
6.0.1 (#230)
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 7bdcc7f..66a06da 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1632,9 +1632,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "6.0.0"
+version = "6.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c2c361b4153905dc088a6bacfaa944b582305cf94fbfcaa9b3aa61a7dd3adbf9"
+checksum = "f92ea41c3c3f0fe77991fee96b91bc4c7af43b55fdb6564fdc31b8c2d0b1e220"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index eee6831..6e40674 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.41.0"
-swc_ecma_parser = { version = "6.0.0", features = ["typescript"] }
+swc_ecma_parser = { version = "6.0.1", features = ["typescript"] }
swc_ecma_ast = "5.0.0"
biome_js_parser = "0.5.7"
From 0268fef2c08f971e0b4ceac4bdef0f8d61aca2ca Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 18 Dec 2024 08:23:09 +0000
Subject: [PATCH 220/385] chore(deps): update rust crate oxc to 0.42.0 (#231)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 44 ++++++++++++++++++++++----------------------
Cargo.toml | 2 +-
2 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 66a06da..3f23266 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -951,9 +951,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.41.0"
+version = "0.42.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22ddbf4e4c38cb6ed06bf7abec4832539edc264808d5879949e256fffd6c878e"
+checksum = "6bf8f5dfcc7c7b252121efd0c0009ccc8fe15c7c0ed78bbaa3da7c1b9f38283b"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -991,9 +991,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.41.0"
+version = "0.42.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "129dbe2e90c53fc6bba5d8fed442afaba6ae82efa158b194834a34068cd7f2c9"
+checksum = "38c19205a570ffe6b797638180713bfb7c87e5fb0e3764c82632b6bed63e10a9"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1001,9 +1001,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.41.0"
+version = "0.42.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "621f3fa2668c640c96cde64c51f5de7f583137c9e7dafcafc699d510975403d7"
+checksum = "2f09e7b4d18228b53adff6bdb94ff287ffe557d00f401e06c7c5f66238682062"
dependencies = [
"bitflags",
"cow-utils",
@@ -1019,9 +1019,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.41.0"
+version = "0.42.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "033622153c0d50ee87c9bdbb8010416cb0ecbc8c673bd2bfda31de8fa2d8a1e3"
+checksum = "82148b5e788cf9ea20492c7be3579a0372a156535c2ac0b8b0aa67651a2474da"
dependencies = [
"proc-macro2",
"quote",
@@ -1030,9 +1030,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.41.0"
+version = "0.42.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bab5a0abb4d0fcd900f125f13890d5c4ddb5b4a99a5b4d9fb419385c9448453d"
+checksum = "d69607b06cc5d4e54eabe5f72e924dab326943d920b8f25870c324325305f984"
dependencies = [
"oxc-miette",
"rustc-hash 2.1.0",
@@ -1040,9 +1040,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.41.0"
+version = "0.42.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e07b49fdd327cc3da2b80b60ea399aec2232b170d8b9ed6cb048c4eb27ea8e71"
+checksum = "3fc78c3cad8742f9db34be10997306a67b719ef809cd151245db5d5493d36a31"
dependencies = [
"num-bigint",
"num-traits",
@@ -1053,9 +1053,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.41.0"
+version = "0.42.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c333d3664b489ff8016b34ca3e99f09ed61b0af7dce1970906d2102452c40ccb"
+checksum = "57dfaf4522aed562130ad29789149f8844008dce53f7a754031d631a3c7a9d5b"
[[package]]
name = "oxc_index"
@@ -1065,9 +1065,9 @@ checksum = "5eca5d9726cd0a6e433debe003b7bc88b2ecad0bb6109f0cef7c55e692139a34"
[[package]]
name = "oxc_parser"
-version = "0.41.0"
+version = "0.42.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cd7f5468e1af367f51119631d934ab425901ab6edaedf9907dd7d929f9739431"
+checksum = "b9ac7ddf81599e98604c51176934549e5bef3944dbd4138c78e2c57cc679300d"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1088,9 +1088,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.41.0"
+version = "0.42.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "560153d371d20b23a6e97bee0766f77d5d8ae2f66a280cf273dfe3031925a7c5"
+checksum = "f5657b1e93c1d568852c07293833acfde0ca7adb298296229280f873e2fb82fe"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1124,9 +1124,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.41.0"
+version = "0.42.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ff5ad82ecf54bd33c27b2ad7279f6e5ffaf2f86544e31394b3a56ce0eb14179"
+checksum = "91f30db7710245b69ea6ac977b4a846144369bc5621a8c8376faa6172dc87eaf"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1137,9 +1137,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.41.0"
+version = "0.42.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c2f32b5c30e2637c2533f133e0c0500e1531a3b991b9876d0bcc7ae1d31f0898"
+checksum = "4bfc39f2110677d0dc40452037eb4349820a6d265ca323a6dfb89595db2490e8"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 6e40674..8d1a6dd 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.41.0"
+oxc = "0.42.0"
swc_ecma_parser = { version = "6.0.1", features = ["typescript"] }
swc_ecma_ast = "5.0.0"
From d707b78237feae565ec688f942531268c52ba9a3 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 21 Dec 2024 10:26:17 +0000
Subject: [PATCH 221/385] chore(deps): update rust crate oxc to 0.43.0 (#232)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 45 +++++++++++++++++++++++----------------------
Cargo.toml | 2 +-
2 files changed, 24 insertions(+), 23 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 3f23266..a89842f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -951,9 +951,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.42.0"
+version = "0.43.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6bf8f5dfcc7c7b252121efd0c0009ccc8fe15c7c0ed78bbaa3da7c1b9f38283b"
+checksum = "ffa5054ed33c5e29d18a86245db0290fb4f610b2101014a979b5aad4a7b4a609"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -991,19 +991,20 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.42.0"
+version = "0.43.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38c19205a570ffe6b797638180713bfb7c87e5fb0e3764c82632b6bed63e10a9"
+checksum = "976149f05de0a4b51ac5b10a408db597e6c95268e29ef0f09204475ca0c42830"
dependencies = [
"allocator-api2",
"bumpalo",
+ "simdutf8",
]
[[package]]
name = "oxc_ast"
-version = "0.42.0"
+version = "0.43.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2f09e7b4d18228b53adff6bdb94ff287ffe557d00f401e06c7c5f66238682062"
+checksum = "ecee7578bc2eba24c1f30ca3e2eaa496e5448e0c08f4b53d84148040e48cf037"
dependencies = [
"bitflags",
"cow-utils",
@@ -1019,9 +1020,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.42.0"
+version = "0.43.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "82148b5e788cf9ea20492c7be3579a0372a156535c2ac0b8b0aa67651a2474da"
+checksum = "a67bbb9e762397c69e1b21bea50225145fd5dc391f05c65fb8f57c227b5fd799"
dependencies = [
"proc-macro2",
"quote",
@@ -1030,9 +1031,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.42.0"
+version = "0.43.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d69607b06cc5d4e54eabe5f72e924dab326943d920b8f25870c324325305f984"
+checksum = "72057eef849a7ef203f8d06c434b46758c3eb68f0e7687bade236370c4b6aacf"
dependencies = [
"oxc-miette",
"rustc-hash 2.1.0",
@@ -1040,9 +1041,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.42.0"
+version = "0.43.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3fc78c3cad8742f9db34be10997306a67b719ef809cd151245db5d5493d36a31"
+checksum = "859aa965b338b4758d609e524b53a29bed3071a252994fc8d41b08c17a1a32bc"
dependencies = [
"num-bigint",
"num-traits",
@@ -1053,9 +1054,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.42.0"
+version = "0.43.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "57dfaf4522aed562130ad29789149f8844008dce53f7a754031d631a3c7a9d5b"
+checksum = "57fc3b874dd6c2bf1399bee70464023d482c4d9b92d9b6596fbf5401f1aae6a6"
[[package]]
name = "oxc_index"
@@ -1065,9 +1066,9 @@ checksum = "5eca5d9726cd0a6e433debe003b7bc88b2ecad0bb6109f0cef7c55e692139a34"
[[package]]
name = "oxc_parser"
-version = "0.42.0"
+version = "0.43.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b9ac7ddf81599e98604c51176934549e5bef3944dbd4138c78e2c57cc679300d"
+checksum = "42b9ffdf1fd1fac4e96315b3d200093223507038fcd22ff4ef6d21f3674640a7"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1088,9 +1089,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.42.0"
+version = "0.43.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f5657b1e93c1d568852c07293833acfde0ca7adb298296229280f873e2fb82fe"
+checksum = "63084df3c8432e87f5e241f3dd4a45e2f009dcfd08db4131c89ca88280fa5aeb"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1124,9 +1125,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.42.0"
+version = "0.43.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "91f30db7710245b69ea6ac977b4a846144369bc5621a8c8376faa6172dc87eaf"
+checksum = "ad2094100a1f1d4cac1d7ac22e95b13f18643e1381447fd354df45c3dbc62ccb"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1137,9 +1138,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.42.0"
+version = "0.43.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4bfc39f2110677d0dc40452037eb4349820a6d265ca323a6dfb89595db2490e8"
+checksum = "6c293839b37b16105210bc76b13417e4239f49670de91d41d70a3e69f41f6f7b"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 8d1a6dd..fd4e072 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.42.0"
+oxc = "0.43.0"
swc_ecma_parser = { version = "6.0.1", features = ["typescript"] }
swc_ecma_ast = "5.0.0"
From 165eb3f4230673d10062f7ef3cde849cd99f0a5c Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 25 Dec 2024 15:21:00 +0000
Subject: [PATCH 222/385] chore(deps): update rust crate oxc to 0.44.0 (#233)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 44 ++++++++++++++++++++++----------------------
Cargo.toml | 2 +-
2 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index a89842f..3dfa592 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -951,9 +951,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.43.0"
+version = "0.44.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ffa5054ed33c5e29d18a86245db0290fb4f610b2101014a979b5aad4a7b4a609"
+checksum = "07041e6a6e828b7e1a8f037afe3a8ea2637ea36478283e2f4d1b5997ccb70a89"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -991,9 +991,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.43.0"
+version = "0.44.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "976149f05de0a4b51ac5b10a408db597e6c95268e29ef0f09204475ca0c42830"
+checksum = "82c6c7387edb41be3d764a115672e7be89922ce6df9756cdedfdd9b152ce788c"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1002,9 +1002,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.43.0"
+version = "0.44.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ecee7578bc2eba24c1f30ca3e2eaa496e5448e0c08f4b53d84148040e48cf037"
+checksum = "6b9fee36a81c3ee36c4f2b3acdb9c455971e9804ea399428e773a094025f92b1"
dependencies = [
"bitflags",
"cow-utils",
@@ -1020,9 +1020,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.43.0"
+version = "0.44.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a67bbb9e762397c69e1b21bea50225145fd5dc391f05c65fb8f57c227b5fd799"
+checksum = "453922e0b0c402ff4f94d277d9c99c8f60757ed5a84458133758f8142b8707cf"
dependencies = [
"proc-macro2",
"quote",
@@ -1031,9 +1031,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.43.0"
+version = "0.44.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "72057eef849a7ef203f8d06c434b46758c3eb68f0e7687bade236370c4b6aacf"
+checksum = "da579fda6c94527afb13b9cb1fb933ba84ec61c77b74296e71c1b60a21b60447"
dependencies = [
"oxc-miette",
"rustc-hash 2.1.0",
@@ -1041,9 +1041,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.43.0"
+version = "0.44.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "859aa965b338b4758d609e524b53a29bed3071a252994fc8d41b08c17a1a32bc"
+checksum = "e4de4aac4c0bd05848c4523c145a656aeded13d35fd07557dbafad2c34753837"
dependencies = [
"num-bigint",
"num-traits",
@@ -1054,9 +1054,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.43.0"
+version = "0.44.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "57fc3b874dd6c2bf1399bee70464023d482c4d9b92d9b6596fbf5401f1aae6a6"
+checksum = "5567979b29f2c6af66d912bdf68b18244e4716b1bce77da4cb5b54e036a5d7b9"
[[package]]
name = "oxc_index"
@@ -1066,9 +1066,9 @@ checksum = "5eca5d9726cd0a6e433debe003b7bc88b2ecad0bb6109f0cef7c55e692139a34"
[[package]]
name = "oxc_parser"
-version = "0.43.0"
+version = "0.44.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "42b9ffdf1fd1fac4e96315b3d200093223507038fcd22ff4ef6d21f3674640a7"
+checksum = "c9f3b136bd0b203164e03aba7f7ce836df62a7070f847762058439f18296d582"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1089,9 +1089,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.43.0"
+version = "0.44.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "63084df3c8432e87f5e241f3dd4a45e2f009dcfd08db4131c89ca88280fa5aeb"
+checksum = "ecf141ba4acfed1b65b6393737dc7f15407a4bd0fff16677ca6dedac45a08468"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1125,9 +1125,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.43.0"
+version = "0.44.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ad2094100a1f1d4cac1d7ac22e95b13f18643e1381447fd354df45c3dbc62ccb"
+checksum = "afcf2e6f8c8f9c0019b7d82412ffe9171bdda72f8b3beba961abdfef4065f0bb"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1138,9 +1138,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.43.0"
+version = "0.44.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c293839b37b16105210bc76b13417e4239f49670de91d41d70a3e69f41f6f7b"
+checksum = "754c63ade3a31289e4605845e1e9ca40c34b40bf10e0e6b91634ec7ad97ade97"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index fd4e072..2f44629 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.43.0"
+oxc = "0.44.0"
swc_ecma_parser = { version = "6.0.1", features = ["typescript"] }
swc_ecma_ast = "5.0.0"
From 124f52f70529b9108413be7d7332b98f0667ef7b Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 6 Jan 2025 07:13:43 +0000
Subject: [PATCH 223/385] chore(deps): update rust crate swc_ecma_ast to 5.0.1
(#235)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 12 ++++++------
Cargo.toml | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 3dfa592..e5d6efa 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -601,9 +601,9 @@ checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
[[package]]
name = "hstr"
-version = "0.2.12"
+version = "0.2.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dae404c0c5d4e95d4858876ab02eecd6a196bb8caa42050dfa809938833fc412"
+checksum = "ec9b008b27d11024a71664660c82f62bc9ae9fc68b477279598a69bd9e5f7b7c"
dependencies = [
"hashbrown 0.14.5",
"new_debug_unreachable",
@@ -1577,9 +1577,9 @@ dependencies = [
[[package]]
name = "swc_atoms"
-version = "3.0.0"
+version = "3.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "151a6feb82b989a087433baca7f6a6eb4fcf83f828c479eecd039c9312d60e10"
+checksum = "ba452d6867b57b0c3d210405bf01d3a77388451f3d02aa8f463e917fd213c7e0"
dependencies = [
"hstr",
"once_cell",
@@ -1615,9 +1615,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "5.0.0"
+version = "5.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "94cf86f17358b93fcfe2876a9f0f7a7ebbff94cd6eaab4c809c7a0da1f4b892e"
+checksum = "82f448db2d1c52ffd2bd3788d89cafd8b5a75b97f0dc8aae00874dda2647f6b6"
dependencies = [
"bitflags",
"is-macro",
diff --git a/Cargo.toml b/Cargo.toml
index 2f44629..83c990e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -30,7 +30,7 @@ doctest = false
oxc = "0.44.0"
swc_ecma_parser = { version = "6.0.1", features = ["typescript"] }
-swc_ecma_ast = "5.0.0"
+swc_ecma_ast = "5.0.1"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From 9b78c1c03120b83b2d6e678832d60aef945b8098 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 9 Jan 2025 06:09:19 +0000
Subject: [PATCH 224/385] chore(deps): update rust crate swc_ecma_parser to
6.0.2 (#236)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 12 ++++++------
Cargo.toml | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index e5d6efa..57184e0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -601,9 +601,9 @@ checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
[[package]]
name = "hstr"
-version = "0.2.14"
+version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec9b008b27d11024a71664660c82f62bc9ae9fc68b477279598a69bd9e5f7b7c"
+checksum = "63d6824358c0fd9a68bb23999ed2ef76c84f79408a26ef7ae53d5f370c94ad36"
dependencies = [
"hashbrown 0.14.5",
"new_debug_unreachable",
@@ -1577,9 +1577,9 @@ dependencies = [
[[package]]
name = "swc_atoms"
-version = "3.0.1"
+version = "3.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ba452d6867b57b0c3d210405bf01d3a77388451f3d02aa8f463e917fd213c7e0"
+checksum = "a640bf2e4430a149c87b5eaf377477ce8615ca7cb808054dd20e79e42da5d6ba"
dependencies = [
"hstr",
"once_cell",
@@ -1633,9 +1633,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "6.0.1"
+version = "6.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f92ea41c3c3f0fe77991fee96b91bc4c7af43b55fdb6564fdc31b8c2d0b1e220"
+checksum = "b92d3a25349d7f612c38d940f09f9c19c7b7aa3bf4d22fbe31ea44fd5354de02"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index 83c990e..922be26 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.44.0"
-swc_ecma_parser = { version = "6.0.1", features = ["typescript"] }
+swc_ecma_parser = { version = "6.0.2", features = ["typescript"] }
swc_ecma_ast = "5.0.1"
biome_js_parser = "0.5.7"
From 19bf3abbe7f400afe1c76a45c2d8ae6c603467f0 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 9 Jan 2025 15:58:27 +0000
Subject: [PATCH 225/385] chore(deps): update dependency rust to v1.84.0 (#237)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
rust-toolchain.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
index f1b0aac..76d8947 100644
--- a/rust-toolchain.toml
+++ b/rust-toolchain.toml
@@ -1,3 +1,3 @@
[toolchain]
-channel = "1.83.0"
+channel = "1.84.0"
profile = "minimal"
From 362494d3d458cc479f3ee2df04a67528e8eccbc7 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 11 Jan 2025 17:40:15 +0000
Subject: [PATCH 226/385] chore(deps): update rust crate oxc to 0.45.0 (#238)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 45 +++++++++++++++++++++++----------------------
Cargo.toml | 2 +-
2 files changed, 24 insertions(+), 23 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 57184e0..9e17c90 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -951,9 +951,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.44.0"
+version = "0.45.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "07041e6a6e828b7e1a8f037afe3a8ea2637ea36478283e2f4d1b5997ccb70a89"
+checksum = "735629bd6647b01711e32eefd053a1b767867e48ab31e91231f3d324b58801bc"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -991,9 +991,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.44.0"
+version = "0.45.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "82c6c7387edb41be3d764a115672e7be89922ce6df9756cdedfdd9b152ce788c"
+checksum = "cec658f00dfc309515494dc7343b9df9a4f9460f6305c5f7fbfb04b94be8c480"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1002,9 +1002,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.44.0"
+version = "0.45.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6b9fee36a81c3ee36c4f2b3acdb9c455971e9804ea399428e773a094025f92b1"
+checksum = "1fed1ebd4ee4d4f3c8cf232b70a720ad71431c5ee2b06daf602350cacd071e85"
dependencies = [
"bitflags",
"cow-utils",
@@ -1020,9 +1020,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.44.0"
+version = "0.45.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "453922e0b0c402ff4f94d277d9c99c8f60757ed5a84458133758f8142b8707cf"
+checksum = "5989b2baa6b8c9bc49f036dbf9b33968d6c6b6fd4ac43c217b1518db62f11cfd"
dependencies = [
"proc-macro2",
"quote",
@@ -1031,9 +1031,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.44.0"
+version = "0.45.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "da579fda6c94527afb13b9cb1fb933ba84ec61c77b74296e71c1b60a21b60447"
+checksum = "ff9bb806a4c7dde586b1be85546064c5b4029e11e5ff77388bf3a5c2ab1a2ad4"
dependencies = [
"oxc-miette",
"rustc-hash 2.1.0",
@@ -1041,9 +1041,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.44.0"
+version = "0.45.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e4de4aac4c0bd05848c4523c145a656aeded13d35fd07557dbafad2c34753837"
+checksum = "c9ea6041fc0c62e346a68b99271935a8185f68f187a5ed181de5aba707101b32"
dependencies = [
"num-bigint",
"num-traits",
@@ -1054,9 +1054,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.44.0"
+version = "0.45.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5567979b29f2c6af66d912bdf68b18244e4716b1bce77da4cb5b54e036a5d7b9"
+checksum = "0ee870cab03de94f4482767d083cff5cb2daf129b043c8cdc542670300d319cb"
[[package]]
name = "oxc_index"
@@ -1066,9 +1066,9 @@ checksum = "5eca5d9726cd0a6e433debe003b7bc88b2ecad0bb6109f0cef7c55e692139a34"
[[package]]
name = "oxc_parser"
-version = "0.44.0"
+version = "0.45.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c9f3b136bd0b203164e03aba7f7ce836df62a7070f847762058439f18296d582"
+checksum = "e24297813f1ba047eef43d3abaf46f3043a107ad920a642c4a65e8cfa801d217"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1089,9 +1089,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.44.0"
+version = "0.45.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ecf141ba4acfed1b65b6393737dc7f15407a4bd0fff16677ca6dedac45a08468"
+checksum = "ad7a7438f0364605663946aa4b7477fd2b1745f04161627963726a771a37554b"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1125,9 +1125,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.44.0"
+version = "0.45.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "afcf2e6f8c8f9c0019b7d82412ffe9171bdda72f8b3beba961abdfef4065f0bb"
+checksum = "3b64c2385e264090d5890def96c7bebb9b1c3b51007a34df6ff8e529d2fa55ab"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1138,12 +1138,13 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.44.0"
+version = "0.45.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "754c63ade3a31289e4605845e1e9ca40c34b40bf10e0e6b91634ec7ad97ade97"
+checksum = "efb91646aa64e5d3470dcf4196f661192ac6b4f6c256f0f238f3cd90df3bdb16"
dependencies = [
"assert-unchecked",
"bitflags",
+ "cow-utils",
"nonmax",
"oxc_allocator",
"oxc_ast_macros",
diff --git a/Cargo.toml b/Cargo.toml
index 922be26..a148f96 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.44.0"
+oxc = "0.45.0"
swc_ecma_parser = { version = "6.0.2", features = ["typescript"] }
swc_ecma_ast = "5.0.1"
From 816fec72eaab1e3ef60d3e8112c6eed1d4d2bf72 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 14 Jan 2025 17:29:26 +0000
Subject: [PATCH 227/385] chore(deps): update rust crate oxc to 0.46.0 (#239)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 44 ++++++++++++++++++++++----------------------
Cargo.toml | 2 +-
2 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 9e17c90..f5cbe10 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -951,9 +951,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.45.0"
+version = "0.46.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "735629bd6647b01711e32eefd053a1b767867e48ab31e91231f3d324b58801bc"
+checksum = "dd3e3fef7c8454e74017bda0cf5ddb0328b4dbecd67a0f5c72b00be2799d0e12"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -991,9 +991,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.45.0"
+version = "0.46.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cec658f00dfc309515494dc7343b9df9a4f9460f6305c5f7fbfb04b94be8c480"
+checksum = "dd735ac4f5202cd854cc1f23b334de42e034ed89b07ea5acc183c629ac961922"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1002,9 +1002,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.45.0"
+version = "0.46.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1fed1ebd4ee4d4f3c8cf232b70a720ad71431c5ee2b06daf602350cacd071e85"
+checksum = "c509311d40c5364ecd88b4dbc5f69634eb7e760bd1d549863c6d74bc4be26c33"
dependencies = [
"bitflags",
"cow-utils",
@@ -1020,9 +1020,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.45.0"
+version = "0.46.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5989b2baa6b8c9bc49f036dbf9b33968d6c6b6fd4ac43c217b1518db62f11cfd"
+checksum = "920d141997d08c4d3110c5461418e23270e484f608b4e5c4d186ad794cef5c51"
dependencies = [
"proc-macro2",
"quote",
@@ -1031,9 +1031,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.45.0"
+version = "0.46.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ff9bb806a4c7dde586b1be85546064c5b4029e11e5ff77388bf3a5c2ab1a2ad4"
+checksum = "7987595069022940d1100d0206b3ccbbb6f7f35a0cc61a12031d3a4079abba84"
dependencies = [
"oxc-miette",
"rustc-hash 2.1.0",
@@ -1041,9 +1041,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.45.0"
+version = "0.46.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c9ea6041fc0c62e346a68b99271935a8185f68f187a5ed181de5aba707101b32"
+checksum = "e6d95c9815396146b129c43deaab2d9f136c14ed2883663133edf81a0f77d7d6"
dependencies = [
"num-bigint",
"num-traits",
@@ -1054,9 +1054,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.45.0"
+version = "0.46.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ee870cab03de94f4482767d083cff5cb2daf129b043c8cdc542670300d319cb"
+checksum = "987b6d27d27d361009a61167c6a925053e840eadddf62136060772af0f5e9692"
[[package]]
name = "oxc_index"
@@ -1066,9 +1066,9 @@ checksum = "5eca5d9726cd0a6e433debe003b7bc88b2ecad0bb6109f0cef7c55e692139a34"
[[package]]
name = "oxc_parser"
-version = "0.45.0"
+version = "0.46.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e24297813f1ba047eef43d3abaf46f3043a107ad920a642c4a65e8cfa801d217"
+checksum = "07e9f2e3a80279537b52ffab68282e09062a8794c421bc7e57c6b9b5060a8447"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1089,9 +1089,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.45.0"
+version = "0.46.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ad7a7438f0364605663946aa4b7477fd2b1745f04161627963726a771a37554b"
+checksum = "22065fe1523c70162b00cd6ac6e5b9ddd521cedf4f691801f0d024ee1f619a40"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1125,9 +1125,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.45.0"
+version = "0.46.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3b64c2385e264090d5890def96c7bebb9b1c3b51007a34df6ff8e529d2fa55ab"
+checksum = "394f0317461a29c55a50a05c70e3ea23694cdb3748ff7adab979a6a60c2cb709"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1138,9 +1138,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.45.0"
+version = "0.46.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "efb91646aa64e5d3470dcf4196f661192ac6b4f6c256f0f238f3cd90df3bdb16"
+checksum = "7dc1cad48f366df99384009928eae2b5dab39b629123b704ccb03221d41eddf4"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index a148f96..2f5fe5e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.45.0"
+oxc = "0.46.0"
swc_ecma_parser = { version = "6.0.2", features = ["typescript"] }
swc_ecma_ast = "5.0.1"
From ecddde25b349037e8a08b110fd3696a20f196fb5 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 17 Jan 2025 00:56:58 +0000
Subject: [PATCH 228/385] chore(deps): update rust crate swc_ecma_ast to 5.0.2
(#240)
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 f5cbe10..c2ed36d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1578,9 +1578,9 @@ dependencies = [
[[package]]
name = "swc_atoms"
-version = "3.0.2"
+version = "3.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a640bf2e4430a149c87b5eaf377477ce8615ca7cb808054dd20e79e42da5d6ba"
+checksum = "ec403702d532412d862e4a4ec0619022f05996a64876febe8ae5519146bdf0ce"
dependencies = [
"hstr",
"once_cell",
@@ -1616,9 +1616,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "5.0.1"
+version = "5.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "82f448db2d1c52ffd2bd3788d89cafd8b5a75b97f0dc8aae00874dda2647f6b6"
+checksum = "b0f8476c5338a588dec42c3dc5eecb3192a517e88a74e1673c235ba4214167ba"
dependencies = [
"bitflags",
"is-macro",
diff --git a/Cargo.toml b/Cargo.toml
index 2f5fe5e..57ce7f0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -30,7 +30,7 @@ doctest = false
oxc = "0.46.0"
swc_ecma_parser = { version = "6.0.2", features = ["typescript"] }
-swc_ecma_ast = "5.0.1"
+swc_ecma_ast = "5.0.2"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From da2138e1bbc2e252bd1dd8e95cec92bc057cf0c5 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 18 Jan 2025 08:25:12 +0000
Subject: [PATCH 229/385] chore(deps): update rust crate oxc to 0.47.0 (#241)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 58 ++++++++++++++++++++++++++++++++----------------------
Cargo.toml | 2 +-
2 files changed, 36 insertions(+), 24 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index c2ed36d..3bd1046 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -529,6 +529,12 @@ version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
+[[package]]
+name = "foldhash"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a0d2fde1f7b3d48b8395d5f2de76c18a528bd6a9cdde438df747bfcba3e05d6f"
+
[[package]]
name = "form_urlencoded"
version = "1.2.1"
@@ -586,6 +592,11 @@ name = "hashbrown"
version = "0.15.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289"
+dependencies = [
+ "allocator-api2",
+ "equivalent",
+ "foldhash",
+]
[[package]]
name = "heck"
@@ -951,9 +962,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.46.0"
+version = "0.47.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dd3e3fef7c8454e74017bda0cf5ddb0328b4dbecd67a0f5c72b00be2799d0e12"
+checksum = "bb7ad8e45d1e9f6baacb18078f35e7b62f9f9e68d0282a2078f305bc8cbd2860"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -991,20 +1002,22 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.46.0"
+version = "0.47.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dd735ac4f5202cd854cc1f23b334de42e034ed89b07ea5acc183c629ac961922"
+checksum = "0d05b5dab38653bc6b318a874704a6f9ccb0094e46c3ffa6d5f4c50753b5ca54"
dependencies = [
"allocator-api2",
"bumpalo",
+ "hashbrown 0.15.2",
+ "rustc-hash 2.1.0",
"simdutf8",
]
[[package]]
name = "oxc_ast"
-version = "0.46.0"
+version = "0.47.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c509311d40c5364ecd88b4dbc5f69634eb7e760bd1d549863c6d74bc4be26c33"
+checksum = "8d47a4467566258e32d7afe43734a43a5ee54462d9e84932da97eb8e7e4af66a"
dependencies = [
"bitflags",
"cow-utils",
@@ -1020,9 +1033,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.46.0"
+version = "0.47.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "920d141997d08c4d3110c5461418e23270e484f608b4e5c4d186ad794cef5c51"
+checksum = "9737584ace123fb3f072367d075d0a2cef665fdf2cd1beed9bbf191c64250532"
dependencies = [
"proc-macro2",
"quote",
@@ -1031,19 +1044,18 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.46.0"
+version = "0.47.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7987595069022940d1100d0206b3ccbbb6f7f35a0cc61a12031d3a4079abba84"
+checksum = "df86030a42c692d37098c129470f91a3f63134ea2c2083c58767d9912faf23d3"
dependencies = [
"oxc-miette",
- "rustc-hash 2.1.0",
]
[[package]]
name = "oxc_ecmascript"
-version = "0.46.0"
+version = "0.47.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e6d95c9815396146b129c43deaab2d9f136c14ed2883663133edf81a0f77d7d6"
+checksum = "4e2d5399aa95d6c36fe0350bbeefeaa729cced7ac3bc28e1b96b911d10a900c9"
dependencies = [
"num-bigint",
"num-traits",
@@ -1054,9 +1066,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.46.0"
+version = "0.47.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "987b6d27d27d361009a61167c6a925053e840eadddf62136060772af0f5e9692"
+checksum = "55058d4e27dcb327b9ff27e6e04c5c0f5294822073ec155fbc7dbbc336f0a7f6"
[[package]]
name = "oxc_index"
@@ -1066,9 +1078,9 @@ checksum = "5eca5d9726cd0a6e433debe003b7bc88b2ecad0bb6109f0cef7c55e692139a34"
[[package]]
name = "oxc_parser"
-version = "0.46.0"
+version = "0.47.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "07e9f2e3a80279537b52ffab68282e09062a8794c421bc7e57c6b9b5060a8447"
+checksum = "4d9e51d9438053898cf2fa7cb30599806b72cb7ae2ee0ba80fefbc83b82a0e49"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1089,9 +1101,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.46.0"
+version = "0.47.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22065fe1523c70162b00cd6ac6e5b9ddd521cedf4f691801f0d024ee1f619a40"
+checksum = "44a0d03207e8e7e928ecfa6a07e6478905b89d90af0fde43d8ed358d1fd58630"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1125,9 +1137,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.46.0"
+version = "0.47.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "394f0317461a29c55a50a05c70e3ea23694cdb3748ff7adab979a6a60c2cb709"
+checksum = "0deb4dbb85277bd072a6746858d131ce3d41847230caa8d34fb094f7bde419c4"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1138,9 +1150,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.46.0"
+version = "0.47.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7dc1cad48f366df99384009928eae2b5dab39b629123b704ccb03221d41eddf4"
+checksum = "85df088dfb4f5fb084b6dc1898cb3fa7d5f606bee562bfc544e4a23662d73f78"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 57ce7f0..ed062ff 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.46.0"
+oxc = "0.47.0"
swc_ecma_parser = { version = "6.0.2", features = ["typescript"] }
swc_ecma_ast = "5.0.2"
From 7348bdb6511cedef1c508b1eb92dae43d9ab7c4a Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 19 Jan 2025 04:50:28 +0000
Subject: [PATCH 230/385] chore(deps): update rust crate oxc to 0.47.1 (#242)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 44 ++++++++++++++++++++++----------------------
Cargo.toml | 2 +-
2 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 3bd1046..5f4c590 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -962,9 +962,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.47.0"
+version = "0.47.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bb7ad8e45d1e9f6baacb18078f35e7b62f9f9e68d0282a2078f305bc8cbd2860"
+checksum = "0c55f10be3ea6bbd394a6e09bfac6038e23d2746962a08da66abece4d505673c"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -1002,9 +1002,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.47.0"
+version = "0.47.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0d05b5dab38653bc6b318a874704a6f9ccb0094e46c3ffa6d5f4c50753b5ca54"
+checksum = "5f5b38027b943889e914774968782a2b67df6ba50f6d4e265eaa7a933a8e3075"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1015,9 +1015,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.47.0"
+version = "0.47.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8d47a4467566258e32d7afe43734a43a5ee54462d9e84932da97eb8e7e4af66a"
+checksum = "eb78951e98af99dfdac1e530f5a36af114d9d8a03e967b5ea68be271509183da"
dependencies = [
"bitflags",
"cow-utils",
@@ -1033,9 +1033,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.47.0"
+version = "0.47.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9737584ace123fb3f072367d075d0a2cef665fdf2cd1beed9bbf191c64250532"
+checksum = "f17b1dc89732a6969c6dcb274035c737db46fe1f378ce86fb6c4674db201f5ca"
dependencies = [
"proc-macro2",
"quote",
@@ -1044,18 +1044,18 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.47.0"
+version = "0.47.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "df86030a42c692d37098c129470f91a3f63134ea2c2083c58767d9912faf23d3"
+checksum = "0b5f7392025441f29ae145b21bc0e656530f2443fb197195b6ba39ac0d613b8b"
dependencies = [
"oxc-miette",
]
[[package]]
name = "oxc_ecmascript"
-version = "0.47.0"
+version = "0.47.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4e2d5399aa95d6c36fe0350bbeefeaa729cced7ac3bc28e1b96b911d10a900c9"
+checksum = "5993579c5c04491bfcfc9a675c9939caa9f8f5faceecc5e4d281c432bbfd4c6e"
dependencies = [
"num-bigint",
"num-traits",
@@ -1066,9 +1066,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.47.0"
+version = "0.47.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "55058d4e27dcb327b9ff27e6e04c5c0f5294822073ec155fbc7dbbc336f0a7f6"
+checksum = "0b216e48759b14e08652c925aa024f6b2d318a795793bbe51482718829ac9bc4"
[[package]]
name = "oxc_index"
@@ -1078,9 +1078,9 @@ checksum = "5eca5d9726cd0a6e433debe003b7bc88b2ecad0bb6109f0cef7c55e692139a34"
[[package]]
name = "oxc_parser"
-version = "0.47.0"
+version = "0.47.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4d9e51d9438053898cf2fa7cb30599806b72cb7ae2ee0ba80fefbc83b82a0e49"
+checksum = "08e83d2a08991efc1a79c3b42fcc77344f3de58d27c53cd9b184d17b1ed4ace3"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1101,9 +1101,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.47.0"
+version = "0.47.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "44a0d03207e8e7e928ecfa6a07e6478905b89d90af0fde43d8ed358d1fd58630"
+checksum = "d495804e1bf588e5e1a2d6fe760ff1ba53ece5cbf04e4dce531da64014869fea"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1137,9 +1137,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.47.0"
+version = "0.47.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0deb4dbb85277bd072a6746858d131ce3d41847230caa8d34fb094f7bde419c4"
+checksum = "9a50160bfd66b0ef0acff1181c6860c61cf59d6c0d5bf05b589f1fc6dcdbafc2"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1150,9 +1150,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.47.0"
+version = "0.47.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "85df088dfb4f5fb084b6dc1898cb3fa7d5f606bee562bfc544e4a23662d73f78"
+checksum = "7aa0a2543f375feb387b0b94a6d72ec5b0cc6a2349518d48704189b23d6c4070"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index ed062ff..fc13d69 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.47.0"
+oxc = "0.47.1"
swc_ecma_parser = { version = "6.0.2", features = ["typescript"] }
swc_ecma_ast = "5.0.2"
From bf402f166d7b0ac42571ee75ef0e1ea2b9f08cdc Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 20 Jan 2025 18:15:52 +0000
Subject: [PATCH 231/385] chore(deps): update rust crate swc_ecma_ast to 5.0.3
(#243)
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 5f4c590..6b1f59c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1628,9 +1628,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "5.0.2"
+version = "5.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b0f8476c5338a588dec42c3dc5eecb3192a517e88a74e1673c235ba4214167ba"
+checksum = "a05e7518b3052102506969009cabb027a88259ccde64ed675aa4ea8703b651f5"
dependencies = [
"bitflags",
"is-macro",
diff --git a/Cargo.toml b/Cargo.toml
index fc13d69..0182fdc 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -30,7 +30,7 @@ doctest = false
oxc = "0.47.1"
swc_ecma_parser = { version = "6.0.2", features = ["typescript"] }
-swc_ecma_ast = "5.0.2"
+swc_ecma_ast = "5.0.3"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From 454d9c10f435b83f802b3629cf1a40edea3325ad Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 24 Jan 2025 04:30:38 +0000
Subject: [PATCH 232/385] chore(deps): update rust crate oxc to 0.48.0 (#244)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 52 ++++++++++++++++++++++------------------------------
Cargo.toml | 2 +-
2 files changed, 23 insertions(+), 31 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 6b1f59c..e09c6ae 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -529,12 +529,6 @@ version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
-[[package]]
-name = "foldhash"
-version = "0.1.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a0d2fde1f7b3d48b8395d5f2de76c18a528bd6a9cdde438df747bfcba3e05d6f"
-
[[package]]
name = "form_urlencoded"
version = "1.2.1"
@@ -594,8 +588,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289"
dependencies = [
"allocator-api2",
- "equivalent",
- "foldhash",
]
[[package]]
@@ -962,9 +954,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.47.1"
+version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c55f10be3ea6bbd394a6e09bfac6038e23d2746962a08da66abece4d505673c"
+checksum = "43c82ed0af5cc58de014402a9703f3c1f173f5595c71736490a424fecf425fd9"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -1002,9 +994,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.47.1"
+version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5f5b38027b943889e914774968782a2b67df6ba50f6d4e265eaa7a933a8e3075"
+checksum = "41fdbb3186e88af51e863d150f8f3b96c96b9d9e5bc02030f14b66be2814f32f"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1015,9 +1007,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.47.1"
+version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eb78951e98af99dfdac1e530f5a36af114d9d8a03e967b5ea68be271509183da"
+checksum = "a5297b74b56d814f7bd92bb06b77b9e7022790b14e943553e53867bd735b917d"
dependencies = [
"bitflags",
"cow-utils",
@@ -1033,9 +1025,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.47.1"
+version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f17b1dc89732a6969c6dcb274035c737db46fe1f378ce86fb6c4674db201f5ca"
+checksum = "ebd4278ab760c1c3341914f18bef52e03e6ccc1decb26162f096d2eb5cfb82ec"
dependencies = [
"proc-macro2",
"quote",
@@ -1044,18 +1036,18 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.47.1"
+version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b5f7392025441f29ae145b21bc0e656530f2443fb197195b6ba39ac0d613b8b"
+checksum = "11eed5a9db1823b1b0e30a03e11f614271a191fb440298e6fb39ed206927109e"
dependencies = [
"oxc-miette",
]
[[package]]
name = "oxc_ecmascript"
-version = "0.47.1"
+version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5993579c5c04491bfcfc9a675c9939caa9f8f5faceecc5e4d281c432bbfd4c6e"
+checksum = "47529b18e85f7daea78fcba566e0e29ab172d95134f1f992980e2f82ec781a45"
dependencies = [
"num-bigint",
"num-traits",
@@ -1066,9 +1058,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.47.1"
+version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b216e48759b14e08652c925aa024f6b2d318a795793bbe51482718829ac9bc4"
+checksum = "96c551c306b1cd5bf0dfa5fc317c8fe446c0f9483be83c925d7549545cdb64cf"
[[package]]
name = "oxc_index"
@@ -1078,9 +1070,9 @@ checksum = "5eca5d9726cd0a6e433debe003b7bc88b2ecad0bb6109f0cef7c55e692139a34"
[[package]]
name = "oxc_parser"
-version = "0.47.1"
+version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "08e83d2a08991efc1a79c3b42fcc77344f3de58d27c53cd9b184d17b1ed4ace3"
+checksum = "1460e8763b17ae35534ff791a56a6c3410601ae9e23dd3495b0ea7053787d2d0"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1101,9 +1093,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.47.1"
+version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d495804e1bf588e5e1a2d6fe760ff1ba53ece5cbf04e4dce531da64014869fea"
+checksum = "7c98aff8db7094d7f5e30e0dcbd5b57d031470c13e0526768feb2380a4877e84"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1137,9 +1129,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.47.1"
+version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9a50160bfd66b0ef0acff1181c6860c61cf59d6c0d5bf05b589f1fc6dcdbafc2"
+checksum = "19ac361139f6df3b4ce7ca0a6876a2a898d5744f5b5c92f3232d78e2f9cd9364"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1150,9 +1142,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.47.1"
+version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7aa0a2543f375feb387b0b94a6d72ec5b0cc6a2349518d48704189b23d6c4070"
+checksum = "00abdcf60bd01719cb94832ca3de3247962472676141def7bffaafaa4736e9af"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 0182fdc..792fab6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.47.1"
+oxc = "0.48.0"
swc_ecma_parser = { version = "6.0.2", features = ["typescript"] }
swc_ecma_ast = "5.0.3"
From d59a7c881b8b163649df86c880e4f3ae2c5a5d9a Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 26 Jan 2025 17:25:52 +0000
Subject: [PATCH 233/385] chore(deps): update rust crate oxc to 0.48.1 (#245)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 44 ++++++++++++++++++++++----------------------
Cargo.toml | 2 +-
2 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index e09c6ae..2dd3a51 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -954,9 +954,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.48.0"
+version = "0.48.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "43c82ed0af5cc58de014402a9703f3c1f173f5595c71736490a424fecf425fd9"
+checksum = "b52bc3b8e870d20503b90ce03a99a6372da3cbbb7b4b3bdcf812e316e692fe4e"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -994,9 +994,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.48.0"
+version = "0.48.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "41fdbb3186e88af51e863d150f8f3b96c96b9d9e5bc02030f14b66be2814f32f"
+checksum = "dd69a857285f6519c595cfba74b91649b22b715169f11e2b4355f32b36c780c2"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1007,9 +1007,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.48.0"
+version = "0.48.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a5297b74b56d814f7bd92bb06b77b9e7022790b14e943553e53867bd735b917d"
+checksum = "aeac0e9cfa9b40f04feb51d723a71279a985088c3df18d04e92e8a2d96385017"
dependencies = [
"bitflags",
"cow-utils",
@@ -1025,9 +1025,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.48.0"
+version = "0.48.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ebd4278ab760c1c3341914f18bef52e03e6ccc1decb26162f096d2eb5cfb82ec"
+checksum = "4f3dfdfd34a28dd0258717a0a6e40c1f33bcf096c11f0b29a0930aca48b34b81"
dependencies = [
"proc-macro2",
"quote",
@@ -1036,18 +1036,18 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.48.0"
+version = "0.48.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "11eed5a9db1823b1b0e30a03e11f614271a191fb440298e6fb39ed206927109e"
+checksum = "cc6d24b258ff0a030abaf64b0dcf66b7e0edd7a7a250982bee221a00518517b0"
dependencies = [
"oxc-miette",
]
[[package]]
name = "oxc_ecmascript"
-version = "0.48.0"
+version = "0.48.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "47529b18e85f7daea78fcba566e0e29ab172d95134f1f992980e2f82ec781a45"
+checksum = "2436fe122e749f834e8a8d9efe68f5d3b64e3c757424db0a897a289e173dfea1"
dependencies = [
"num-bigint",
"num-traits",
@@ -1058,9 +1058,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.48.0"
+version = "0.48.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "96c551c306b1cd5bf0dfa5fc317c8fe446c0f9483be83c925d7549545cdb64cf"
+checksum = "ae587120a6203d483ff0e3f36aa7b062cdffba829e9ebbfecc9e434f83a7db19"
[[package]]
name = "oxc_index"
@@ -1070,9 +1070,9 @@ checksum = "5eca5d9726cd0a6e433debe003b7bc88b2ecad0bb6109f0cef7c55e692139a34"
[[package]]
name = "oxc_parser"
-version = "0.48.0"
+version = "0.48.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1460e8763b17ae35534ff791a56a6c3410601ae9e23dd3495b0ea7053787d2d0"
+checksum = "3012efb4a88efc6b24977a45254ef5f4e18490d47421bbefa11503198399bfa2"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1093,9 +1093,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.48.0"
+version = "0.48.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7c98aff8db7094d7f5e30e0dcbd5b57d031470c13e0526768feb2380a4877e84"
+checksum = "f207437d0911f8f9e77efb680b7fc5a7000073fcf72072139cf95cac18e89f6c"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1129,9 +1129,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.48.0"
+version = "0.48.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "19ac361139f6df3b4ce7ca0a6876a2a898d5744f5b5c92f3232d78e2f9cd9364"
+checksum = "8457acf582fa6139d91b6e28d839baf67fe8f0f1f427a3da15cb50e71b82e1f8"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1142,9 +1142,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.48.0"
+version = "0.48.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "00abdcf60bd01719cb94832ca3de3247962472676141def7bffaafaa4736e9af"
+checksum = "56135335adaf1c90d23851da0afb9960f191ef2f3fcd6f16cf16da2e6cfc339e"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 792fab6..0fcd08a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.48.0"
+oxc = "0.48.1"
swc_ecma_parser = { version = "6.0.2", features = ["typescript"] }
swc_ecma_ast = "5.0.3"
From bbeb882726ddd0286d47d40dc306ecbadab3a962 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 27 Jan 2025 08:36:13 +0000
Subject: [PATCH 234/385] chore(deps): update rust crate swc_ecma_parser to v7
(#247)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 20 ++++++++++----------
Cargo.toml | 2 +-
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 2dd3a51..79e8c72 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -604,9 +604,9 @@ checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
[[package]]
name = "hstr"
-version = "0.2.15"
+version = "0.2.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "63d6824358c0fd9a68bb23999ed2ef76c84f79408a26ef7ae53d5f370c94ad36"
+checksum = "a1a26def229ea95a8709dad32868d975d0dd40235bd2ce82920e4a8fe692b5e0"
dependencies = [
"hashbrown 0.14.5",
"new_debug_unreachable",
@@ -1582,9 +1582,9 @@ dependencies = [
[[package]]
name = "swc_atoms"
-version = "3.0.3"
+version = "3.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec403702d532412d862e4a4ec0619022f05996a64876febe8ae5519146bdf0ce"
+checksum = "31cf812d2f10fd40a9c11227fe0e2e09779113f6ae6f04bd396ac5da92b69c91"
dependencies = [
"hstr",
"once_cell",
@@ -1594,9 +1594,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "5.0.0"
+version = "5.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a521e8120dc0401580864a643b5bffa035c29fc3fc41697c972743d4f008ed22"
+checksum = "29e67f0a373efdcbc1faebbb9ed7eaf7bcd7bc407cdd8b0fdd9475337c4364ce"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1620,9 +1620,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "5.0.3"
+version = "5.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a05e7518b3052102506969009cabb027a88259ccde64ed675aa4ea8703b651f5"
+checksum = "f04d44a7edb591a66b9abc276ef306ab6d73d4ef189c1cb54423625ad236348f"
dependencies = [
"bitflags",
"is-macro",
@@ -1638,9 +1638,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "6.0.2"
+version = "7.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b92d3a25349d7f612c38d940f09f9c19c7b7aa3bf4d22fbe31ea44fd5354de02"
+checksum = "6d30d063070d3efceb1e3cb62721785a99ffd7444722b89c53327be113836266"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index 0fcd08a..38e82ec 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.48.1"
-swc_ecma_parser = { version = "6.0.2", features = ["typescript"] }
+swc_ecma_parser = { version = "7.0.0", features = ["typescript"] }
swc_ecma_ast = "5.0.3"
biome_js_parser = "0.5.7"
From d617f4998dacb4fa5b33078f3fa5a28d173d0abc Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 27 Jan 2025 17:43:24 +0800
Subject: [PATCH 235/385] chore(deps): update rust crate swc_ecma_ast to 5.1.0
(#246)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Cargo.toml b/Cargo.toml
index 38e82ec..7342fbc 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -30,7 +30,7 @@ doctest = false
oxc = "0.48.1"
swc_ecma_parser = { version = "7.0.0", features = ["typescript"] }
-swc_ecma_ast = "5.0.3"
+swc_ecma_ast = "5.1.0"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From 1f736c1ef5aa8d6bedd8cc28ad32a7429f2dcbc5 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 30 Jan 2025 22:57:26 +0800
Subject: [PATCH 236/385] chore(deps): update rust crate swc_ecma_parser to
7.0.1 (#248)
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 79e8c72..f5b8fc3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1638,9 +1638,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "7.0.0"
+version = "7.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6d30d063070d3efceb1e3cb62721785a99ffd7444722b89c53327be113836266"
+checksum = "8cf8a7677aa667eb2a629625cc4a5947eefcab717ee0feee5aadb1a4bf9d5888"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index 7342fbc..4c74705 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.48.1"
-swc_ecma_parser = { version = "7.0.0", features = ["typescript"] }
+swc_ecma_parser = { version = "7.0.1", features = ["typescript"] }
swc_ecma_ast = "5.1.0"
biome_js_parser = "0.5.7"
From bd131f34c521bd554d09610ae42cfcc9e615c1e4 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 31 Jan 2025 04:31:22 +0000
Subject: [PATCH 237/385] chore(deps): update dependency rust to v1.84.1 (#249)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
rust-toolchain.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
index 76d8947..68be7f6 100644
--- a/rust-toolchain.toml
+++ b/rust-toolchain.toml
@@ -1,3 +1,3 @@
[toolchain]
-channel = "1.84.0"
+channel = "1.84.1"
profile = "minimal"
From 5ffb44d6850745d6ee3e27d12b768d0c45d3fa1a Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 2 Feb 2025 13:12:08 +0000
Subject: [PATCH 238/385] chore(deps): update rust crate oxc to 0.48.2 (#250)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 45 +++++++++++++++++++++++----------------------
Cargo.toml | 2 +-
2 files changed, 24 insertions(+), 23 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index f5b8fc3..d203c6d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -954,9 +954,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.48.1"
+version = "0.48.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b52bc3b8e870d20503b90ce03a99a6372da3cbbb7b4b3bdcf812e316e692fe4e"
+checksum = "fa88d4faa0cf3e4bcdebb0d10b8627776a8d3b036d76d85787e076198886f04e"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -994,9 +994,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.48.1"
+version = "0.48.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dd69a857285f6519c595cfba74b91649b22b715169f11e2b4355f32b36c780c2"
+checksum = "17374a91329f2e362bc8be31cb3e171ef226777d0ea668e17a39620443693027"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1007,9 +1007,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.48.1"
+version = "0.48.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aeac0e9cfa9b40f04feb51d723a71279a985088c3df18d04e92e8a2d96385017"
+checksum = "21b38cfe954ee987354af015020f5cb2723df6fed6cd688eff24388437c7eb7e"
dependencies = [
"bitflags",
"cow-utils",
@@ -1025,9 +1025,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.48.1"
+version = "0.48.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4f3dfdfd34a28dd0258717a0a6e40c1f33bcf096c11f0b29a0930aca48b34b81"
+checksum = "85f9e03eff90b041078edcc8aff09457eb4126fa5d62a383fdb082d3ae286274"
dependencies = [
"proc-macro2",
"quote",
@@ -1036,18 +1036,19 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.48.1"
+version = "0.48.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cc6d24b258ff0a030abaf64b0dcf66b7e0edd7a7a250982bee221a00518517b0"
+checksum = "a24c41929c1910d83fb6f4c508190a8b2d1bad02e81c8cb3a9d3f474ca0ad2c1"
dependencies = [
+ "cow-utils",
"oxc-miette",
]
[[package]]
name = "oxc_ecmascript"
-version = "0.48.1"
+version = "0.48.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2436fe122e749f834e8a8d9efe68f5d3b64e3c757424db0a897a289e173dfea1"
+checksum = "30fba86c97b571671f941b818e6831ba821aac398b9f6f3b4e3367ca264b8324"
dependencies = [
"num-bigint",
"num-traits",
@@ -1058,9 +1059,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.48.1"
+version = "0.48.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ae587120a6203d483ff0e3f36aa7b062cdffba829e9ebbfecc9e434f83a7db19"
+checksum = "e587034bb5f108dd987e5419a4ad35a173550bd9439fc2b610d34e4ce41e8b23"
[[package]]
name = "oxc_index"
@@ -1070,9 +1071,9 @@ checksum = "5eca5d9726cd0a6e433debe003b7bc88b2ecad0bb6109f0cef7c55e692139a34"
[[package]]
name = "oxc_parser"
-version = "0.48.1"
+version = "0.48.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3012efb4a88efc6b24977a45254ef5f4e18490d47421bbefa11503198399bfa2"
+checksum = "8dc385aca3586877f8c918aed1141b885dedcfc1019d6ea5be4105f8e2a7965e"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1093,9 +1094,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.48.1"
+version = "0.48.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f207437d0911f8f9e77efb680b7fc5a7000073fcf72072139cf95cac18e89f6c"
+checksum = "f8d172402f6d542ab2837d35126cc42ad6989b9c2289b06bc5c8c89dceb60c48"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1129,9 +1130,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.48.1"
+version = "0.48.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8457acf582fa6139d91b6e28d839baf67fe8f0f1f427a3da15cb50e71b82e1f8"
+checksum = "75881376dfdbb6a23f12a66794904f0d215629f208edcf7e156c0770e89e2101"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1142,9 +1143,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.48.1"
+version = "0.48.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "56135335adaf1c90d23851da0afb9960f191ef2f3fcd6f16cf16da2e6cfc339e"
+checksum = "c6d88037a5de07f66299ab523a65545cc48d550658cea8cadcea09b60596dd49"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 4c74705..4ee72c0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.48.1"
+oxc = "0.48.2"
swc_ecma_parser = { version = "7.0.1", features = ["typescript"] }
swc_ecma_ast = "5.1.0"
From a496217077f91e84a3ee28661bbbb305245e7173 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 3 Feb 2025 13:18:48 +0000
Subject: [PATCH 239/385] chore(deps): update swc (#251)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 21 +++++++++++----------
Cargo.toml | 4 ++--
2 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index d203c6d..a374265 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1570,14 +1570,14 @@ dependencies = [
[[package]]
name = "swc_allocator"
-version = "2.0.0"
+version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "117d5d3289663f53022ebf157df8a42b3872d7ac759e63abf96b5987b85d4af3"
+checksum = "1a1f988452cab8c4e25776e5a855ba088cdb38fbe9714f9b9d2a6ff345824858"
dependencies = [
"bumpalo",
"hashbrown 0.14.5",
"ptr_meta",
- "rustc-hash 1.1.0",
+ "rustc-hash 2.1.0",
"triomphe",
]
@@ -1595,9 +1595,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "5.0.1"
+version = "6.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "29e67f0a373efdcbc1faebbb9ed7eaf7bcd7bc407cdd8b0fdd9475337c4364ce"
+checksum = "fa92d673f12585e950300d3d397eefd2da9effe3373d7882f46b35b0f9ef9cec"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1607,7 +1607,7 @@ dependencies = [
"new_debug_unreachable",
"num-bigint",
"once_cell",
- "rustc-hash 1.1.0",
+ "rustc-hash 2.1.0",
"serde",
"siphasher",
"swc_allocator",
@@ -1621,9 +1621,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "5.1.0"
+version = "6.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f04d44a7edb591a66b9abc276ef306ab6d73d4ef189c1cb54423625ad236348f"
+checksum = "2d16cd007587c1cccaabe76ad640a59a05e51fed0ec4c0600b8ed6f26c9be2ec"
dependencies = [
"bitflags",
"is-macro",
@@ -1639,15 +1639,16 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "7.0.1"
+version = "8.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8cf8a7677aa667eb2a629625cc4a5947eefcab717ee0feee5aadb1a4bf9d5888"
+checksum = "d99556f20b91452fa4c6da1891f90e58998e89842d6321bb7326ebfe81c37dca"
dependencies = [
"either",
"new_debug_unreachable",
"num-bigint",
"num-traits",
"phf",
+ "rustc-hash 2.1.0",
"serde",
"smallvec",
"smartstring",
diff --git a/Cargo.toml b/Cargo.toml
index 4ee72c0..90742e3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ doctest = false
[dependencies]
oxc = "0.48.2"
-swc_ecma_parser = { version = "7.0.1", features = ["typescript"] }
-swc_ecma_ast = "5.1.0"
+swc_ecma_parser = { version = "8.0.0", features = ["typescript"] }
+swc_ecma_ast = "6.0.0"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From a9fa6e7baa2e0b5ce7a7be5f9ea0ffb58039253d Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 7 Feb 2025 01:43:52 +0000
Subject: [PATCH 240/385] chore(deps): update swc (#252)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 18 +++++++++---------
Cargo.toml | 4 ++--
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index a374265..05b96c4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1583,21 +1583,21 @@ dependencies = [
[[package]]
name = "swc_atoms"
-version = "3.0.4"
+version = "3.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "31cf812d2f10fd40a9c11227fe0e2e09779113f6ae6f04bd396ac5da92b69c91"
+checksum = "c24077f986f0bc1c07823f850f688dd9be91b186efdb03fe1d52f7c2f2a4a346"
dependencies = [
"hstr",
"once_cell",
- "rustc-hash 1.1.0",
+ "rustc-hash 2.1.0",
"serde",
]
[[package]]
name = "swc_common"
-version = "6.0.0"
+version = "6.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa92d673f12585e950300d3d397eefd2da9effe3373d7882f46b35b0f9ef9cec"
+checksum = "4247defb6017aa8799c43e03da35a5ef7ce737189001392083619711c6d4811e"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1621,9 +1621,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "6.0.0"
+version = "6.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2d16cd007587c1cccaabe76ad640a59a05e51fed0ec4c0600b8ed6f26c9be2ec"
+checksum = "dbd513dab5fb1181e66ac34c4c959e9e8824d8d2c8bd50f698f5f2943794c0cc"
dependencies = [
"bitflags",
"is-macro",
@@ -1639,9 +1639,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "8.0.0"
+version = "8.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d99556f20b91452fa4c6da1891f90e58998e89842d6321bb7326ebfe81c37dca"
+checksum = "7a3e9d2f5091bb851423ca66c239802212e2c80451242ff29941bc21058376ef"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index 90742e3..42daf15 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ doctest = false
[dependencies]
oxc = "0.48.2"
-swc_ecma_parser = { version = "8.0.0", features = ["typescript"] }
-swc_ecma_ast = "6.0.0"
+swc_ecma_parser = { version = "8.0.1", features = ["typescript"] }
+swc_ecma_ast = "6.1.0"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From a8b11c78f25f9a16602d6215e6ae2ab18512d9ff Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 11 Feb 2025 12:37:11 +0000
Subject: [PATCH 241/385] chore(deps): update rust crate oxc to 0.49.0 (#253)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 79 +++++++++++++++++++++++++++++-------------------------
Cargo.toml | 2 +-
2 files changed, 44 insertions(+), 37 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 05b96c4..ec3a286 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -276,9 +276,9 @@ checksum = "87e8604d34b02180a58af1dbdaac166f1805f27f5370934142a3246f83870952"
[[package]]
name = "bitflags"
-version = "2.6.0"
+version = "2.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
+checksum = "8f68f53c83ab957f72c32642f3868eec03eb974d1fb82e453128456482613d36"
[[package]]
name = "bpaf"
@@ -313,9 +313,9 @@ dependencies = [
[[package]]
name = "bumpalo"
-version = "3.16.0"
+version = "3.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
+checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf"
dependencies = [
"allocator-api2",
]
@@ -400,9 +400,9 @@ dependencies = [
[[package]]
name = "compact_str"
-version = "0.8.0"
+version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6050c3a16ddab2e412160b31f2c871015704239bca62f72f6e5f0be631d3f644"
+checksum = "3b79c4069c6cad78e2e0cdfcbd26275770669fb39fd308a752dc110e83b9af32"
dependencies = [
"castaway",
"cfg-if",
@@ -954,9 +954,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.48.2"
+version = "0.49.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa88d4faa0cf3e4bcdebb0d10b8627776a8d3b036d76d85787e076198886f04e"
+checksum = "8f346cc73c834df63403e8baa7b4e7efc9c6c4dbf45eb8fc6014bdb7b2d83b12"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -994,9 +994,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.48.2"
+version = "0.49.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "17374a91329f2e362bc8be31cb3e171ef226777d0ea668e17a39620443693027"
+checksum = "ba82e27c94fd90c94cba7f3ec9079c6eea4d2000b57c29c7d34d100bf8c80de7"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1007,12 +1007,13 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.48.2"
+version = "0.49.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "21b38cfe954ee987354af015020f5cb2723df6fed6cd688eff24388437c7eb7e"
+checksum = "96cc90207e2212fa7b3511014cfa193ef2807bb504424e16ae8aa3e5a6715a3f"
dependencies = [
"bitflags",
"cow-utils",
+ "nonmax",
"num-bigint",
"num-traits",
"oxc_allocator",
@@ -1025,9 +1026,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.48.2"
+version = "0.49.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "85f9e03eff90b041078edcc8aff09457eb4126fa5d62a383fdb082d3ae286274"
+checksum = "315ff1ec55898f4d132d7f5ac3a8777d6c05e02d25bae7195e1eb0326146b299"
dependencies = [
"proc-macro2",
"quote",
@@ -1036,9 +1037,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.48.2"
+version = "0.49.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a24c41929c1910d83fb6f4c508190a8b2d1bad02e81c8cb3a9d3f474ca0ad2c1"
+checksum = "e96ced1ce8a7a2c5972a9ac69a1df801966157cdb40c09e9c39b13efecdf63c9"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -1046,9 +1047,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.48.2"
+version = "0.49.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "30fba86c97b571671f941b818e6831ba821aac398b9f6f3b4e3367ca264b8324"
+checksum = "05f3d220214466200c5a5c6475b681cad6aa9e076aa0e9a290c920375993cc75"
dependencies = [
"num-bigint",
"num-traits",
@@ -1059,9 +1060,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.48.2"
+version = "0.49.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e587034bb5f108dd987e5419a4ad35a173550bd9439fc2b610d34e4ce41e8b23"
+checksum = "dd0ba1ad13334dd7d203273c4d99b0f508c0d069888b5d2c36261c70630a0317"
[[package]]
name = "oxc_index"
@@ -1071,9 +1072,9 @@ checksum = "5eca5d9726cd0a6e433debe003b7bc88b2ecad0bb6109f0cef7c55e692139a34"
[[package]]
name = "oxc_parser"
-version = "0.48.2"
+version = "0.49.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8dc385aca3586877f8c918aed1141b885dedcfc1019d6ea5be4105f8e2a7965e"
+checksum = "cd86fb907a291acf174889b545424abf2c11b3875203d363637c1835d9692176"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1094,9 +1095,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.48.2"
+version = "0.49.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8d172402f6d542ab2837d35126cc42ad6989b9c2289b06bc5c8c89dceb60c48"
+checksum = "d77b2ad85545ca2f6a2d319230d35e6cbacc2734029079bc820b2176cea37dc4"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1130,9 +1131,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.48.2"
+version = "0.49.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "75881376dfdbb6a23f12a66794904f0d215629f208edcf7e156c0770e89e2101"
+checksum = "3492e9db0c166a6072f4da2003966f3c3dad5f6c39ba86589dc0ab85de94dbb6"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1143,9 +1144,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.48.2"
+version = "0.49.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c6d88037a5de07f66299ab523a65545cc48d550658cea8cadcea09b60596dd49"
+checksum = "d2945b8d56e1cf569c933812bc37277de784bba3fd92a565a640f2650801b2d5"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1183,9 +1184,9 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
[[package]]
name = "phf"
-version = "0.11.2"
+version = "0.11.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ade2d8b8f33c7333b51bcf0428d37e217e9f32192ae4772156f65063b8ce03dc"
+checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078"
dependencies = [
"phf_macros",
"phf_shared",
@@ -1203,9 +1204,9 @@ dependencies = [
[[package]]
name = "phf_macros"
-version = "0.11.2"
+version = "0.11.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3444646e286606587e49f3bcf1679b8cef1dc2c5ecc29ddacaffc305180d464b"
+checksum = "f84ac04429c13a7ff43785d75ad27569f2951ce0ffd30a3321230db2fc727216"
dependencies = [
"phf_generator",
"phf_shared",
@@ -1216,11 +1217,11 @@ dependencies = [
[[package]]
name = "phf_shared"
-version = "0.11.2"
+version = "0.11.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "90fcb95eef784c2ac79119d1dd819e162b5da872ce6f3c3abe1e8ca1c082f72b"
+checksum = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5"
dependencies = [
- "siphasher",
+ "siphasher 1.0.1",
]
[[package]]
@@ -1508,6 +1509,12 @@ version = "0.3.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d"
+[[package]]
+name = "siphasher"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d"
+
[[package]]
name = "smallvec"
version = "1.13.2"
@@ -1609,7 +1616,7 @@ dependencies = [
"once_cell",
"rustc-hash 2.1.0",
"serde",
- "siphasher",
+ "siphasher 0.3.11",
"swc_allocator",
"swc_atoms",
"swc_eq_ignore_macros",
diff --git a/Cargo.toml b/Cargo.toml
index 42daf15..4e307b5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.48.2"
+oxc = "0.49.0"
swc_ecma_parser = { version = "8.0.1", features = ["typescript"] }
swc_ecma_ast = "6.1.0"
From a69e763211d59f22e7afd6795af43ca23ec25b4f Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 12 Feb 2025 03:58:24 +0000
Subject: [PATCH 242/385] chore(deps): update rust crate oxc to 0.50.0 (#254)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 46 ++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 23 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index ec3a286..ca94ecc 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -954,9 +954,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.49.0"
+version = "0.50.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f346cc73c834df63403e8baa7b4e7efc9c6c4dbf45eb8fc6014bdb7b2d83b12"
+checksum = "1d064edaa54040423cb94b283026dfcd679b29c26c2f070021dc268cc96fb155"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -994,9 +994,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.49.0"
+version = "0.50.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ba82e27c94fd90c94cba7f3ec9079c6eea4d2000b57c29c7d34d100bf8c80de7"
+checksum = "417522e84d8fdc87cab7bfc95b6419757c3d2f2013b78491c0295135d3516945"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1007,15 +1007,13 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.49.0"
+version = "0.50.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "96cc90207e2212fa7b3511014cfa193ef2807bb504424e16ae8aa3e5a6715a3f"
+checksum = "e2e0b6014198425ee79e1e0c71c79fc874f3a7c7007043d9ce1b353f740de488"
dependencies = [
"bitflags",
"cow-utils",
"nonmax",
- "num-bigint",
- "num-traits",
"oxc_allocator",
"oxc_ast_macros",
"oxc_estree",
@@ -1026,9 +1024,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.49.0"
+version = "0.50.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "315ff1ec55898f4d132d7f5ac3a8777d6c05e02d25bae7195e1eb0326146b299"
+checksum = "a58764050b69c30bdf45a6f803bff212306ba9ac50277f21a231ff6e110da682"
dependencies = [
"proc-macro2",
"quote",
@@ -1037,9 +1035,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.49.0"
+version = "0.50.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e96ced1ce8a7a2c5972a9ac69a1df801966157cdb40c09e9c39b13efecdf63c9"
+checksum = "ae69c956abfbadf5c31f08dc2b901bcefadb87a472106e13ae2b6a01135c66c2"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -1047,9 +1045,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.49.0"
+version = "0.50.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "05f3d220214466200c5a5c6475b681cad6aa9e076aa0e9a290c920375993cc75"
+checksum = "b2f773d18674b21240b42a7c8bcb3522de09b8841993620286e87812d7e7866a"
dependencies = [
"num-bigint",
"num-traits",
@@ -1060,9 +1058,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.49.0"
+version = "0.50.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dd0ba1ad13334dd7d203273c4d99b0f508c0d069888b5d2c36261c70630a0317"
+checksum = "244fd8ba7157c8f12910024373d4e3665b6a35fb5947edae1d4a6c084ac8e0c3"
[[package]]
name = "oxc_index"
@@ -1072,9 +1070,9 @@ checksum = "5eca5d9726cd0a6e433debe003b7bc88b2ecad0bb6109f0cef7c55e692139a34"
[[package]]
name = "oxc_parser"
-version = "0.49.0"
+version = "0.50.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cd86fb907a291acf174889b545424abf2c11b3875203d363637c1835d9692176"
+checksum = "8b9d2ce3556a0ec6ee45da6936c5f04d97e6f00ef7ddca08dcc473094a21cfed"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1095,9 +1093,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.49.0"
+version = "0.50.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d77b2ad85545ca2f6a2d319230d35e6cbacc2734029079bc820b2176cea37dc4"
+checksum = "e0e6d43914ff6758f62cf150f12d068a737fd464735d6b83ecefc7136f65e685"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1131,9 +1129,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.49.0"
+version = "0.50.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3492e9db0c166a6072f4da2003966f3c3dad5f6c39ba86589dc0ab85de94dbb6"
+checksum = "0ae8953d32ade84e814d154ee046f0f08b2b236e12f550545a690454ab2a102c"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1144,9 +1142,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.49.0"
+version = "0.50.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2945b8d56e1cf569c933812bc37277de784bba3fd92a565a640f2650801b2d5"
+checksum = "9f375deb505b7fad6ed2125fdb92ffa8d550d866ca2ab0dfd24e681b125883c1"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 4e307b5..a1f0ed5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.49.0"
+oxc = "0.50.0"
swc_ecma_parser = { version = "8.0.1", features = ["typescript"] }
swc_ecma_ast = "6.1.0"
From 5f4a722b86a1a74f55f4a1045e9241b571c88678 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 13 Feb 2025 02:46:15 +0000
Subject: [PATCH 243/385] chore(deps): update rust crate swc_ecma_parser to
8.0.2 (#255)
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 ca94ecc..009e956 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1600,9 +1600,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "6.1.0"
+version = "6.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4247defb6017aa8799c43e03da35a5ef7ce737189001392083619711c6d4811e"
+checksum = "7327d132e85f8a50e0a9e2458a7b44726b2db2f7f9c8b8a556f07f359c42a461"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1644,9 +1644,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "8.0.1"
+version = "8.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7a3e9d2f5091bb851423ca66c239802212e2c80451242ff29941bc21058376ef"
+checksum = "1a359eaebed82e5e13e1004d1e4003931b66d8b8edab8884f3d02ed827df7530"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index a1f0ed5..55a3ae1 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.50.0"
-swc_ecma_parser = { version = "8.0.1", features = ["typescript"] }
+swc_ecma_parser = { version = "8.0.2", features = ["typescript"] }
swc_ecma_ast = "6.1.0"
biome_js_parser = "0.5.7"
From 4c00a0bf2baf96669f3a6177c2859ec4d35fed8f Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 15 Feb 2025 17:26:27 +0000
Subject: [PATCH 244/385] chore(deps): update rust crate oxc to 0.51.0 (#256)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 45 +++++++++++++++++++++++----------------------
Cargo.toml | 2 +-
2 files changed, 24 insertions(+), 23 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 009e956..e5299eb 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -954,9 +954,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.50.0"
+version = "0.51.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d064edaa54040423cb94b283026dfcd679b29c26c2f070021dc268cc96fb155"
+checksum = "c9f57beb511c2a1848baf900782d3975f89dbf75fc47ad2207147acf95523ab0"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -994,9 +994,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.50.0"
+version = "0.51.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "417522e84d8fdc87cab7bfc95b6419757c3d2f2013b78491c0295135d3516945"
+checksum = "5a6d450673da14c60c6946deb0c06d68377d2d6f2ee41ad5b462fa9894001560"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1007,9 +1007,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.50.0"
+version = "0.51.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e2e0b6014198425ee79e1e0c71c79fc874f3a7c7007043d9ce1b353f740de488"
+checksum = "692c74b135e66d3fa13312d886f4a307131a5bd2fd76e5a4137825c6161b56a5"
dependencies = [
"bitflags",
"cow-utils",
@@ -1024,9 +1024,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.50.0"
+version = "0.51.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a58764050b69c30bdf45a6f803bff212306ba9ac50277f21a231ff6e110da682"
+checksum = "d4759d0523a72576036df640954ac9c4ce995f39f290cfc723221cc45ac7b11a"
dependencies = [
"proc-macro2",
"quote",
@@ -1035,9 +1035,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.50.0"
+version = "0.51.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ae69c956abfbadf5c31f08dc2b901bcefadb87a472106e13ae2b6a01135c66c2"
+checksum = "e27133a883a4f5d9796259a3ca6ab28ba8c097ee32cd58fc794688e205f66727"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -1045,10 +1045,11 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.50.0"
+version = "0.51.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b2f773d18674b21240b42a7c8bcb3522de09b8841993620286e87812d7e7866a"
+checksum = "16a7535550ce59cc7373d60d13e5fb32eee1817ba9dcfa3df7a1ae96bdb0945e"
dependencies = [
+ "cow-utils",
"num-bigint",
"num-traits",
"oxc_ast",
@@ -1058,9 +1059,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.50.0"
+version = "0.51.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "244fd8ba7157c8f12910024373d4e3665b6a35fb5947edae1d4a6c084ac8e0c3"
+checksum = "a817a58818b63a5b26a15527e9c7f09c93ba1a95f570ae75e5e84bd3dee047de"
[[package]]
name = "oxc_index"
@@ -1070,9 +1071,9 @@ checksum = "5eca5d9726cd0a6e433debe003b7bc88b2ecad0bb6109f0cef7c55e692139a34"
[[package]]
name = "oxc_parser"
-version = "0.50.0"
+version = "0.51.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b9d2ce3556a0ec6ee45da6936c5f04d97e6f00ef7ddca08dcc473094a21cfed"
+checksum = "6410afa5ad3cde657f26803f828726b8d3b475131299faf5c7948299892a560c"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1093,9 +1094,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.50.0"
+version = "0.51.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e0e6d43914ff6758f62cf150f12d068a737fd464735d6b83ecefc7136f65e685"
+checksum = "9711b8c74f28de9a295bc03baf7d61abf47af35556156e49f3a44fa572194325"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1129,9 +1130,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.50.0"
+version = "0.51.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ae8953d32ade84e814d154ee046f0f08b2b236e12f550545a690454ab2a102c"
+checksum = "f8c7d6b92b30eea1fdc8907c6dfe8525b75a815024d6567628697789076fb7e1"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1142,9 +1143,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.50.0"
+version = "0.51.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9f375deb505b7fad6ed2125fdb92ffa8d550d866ca2ab0dfd24e681b125883c1"
+checksum = "9540bf5b53cb0cd81dbdf07b25834a5064b762e6a330ca35d0d424a581a442b8"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 55a3ae1..8bacb64 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.50.0"
+oxc = "0.51.0"
swc_ecma_parser = { version = "8.0.2", features = ["typescript"] }
swc_ecma_ast = "6.1.0"
From 20710698100ed0bb547bb134a73d0b5f014241a2 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 17 Feb 2025 03:23:22 +0000
Subject: [PATCH 245/385] chore(deps): update swc (#257)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 22 +++++++++++-----------
Cargo.toml | 4 ++--
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index e5299eb..c104c81 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -604,15 +604,15 @@ checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
[[package]]
name = "hstr"
-version = "0.2.17"
+version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a1a26def229ea95a8709dad32868d975d0dd40235bd2ce82920e4a8fe692b5e0"
+checksum = "e963d8fe690aa5ecd16d270b18362b28643862474f7fceabf105fd4c9b3a6a42"
dependencies = [
"hashbrown 0.14.5",
"new_debug_unreachable",
"once_cell",
"phf",
- "rustc-hash 1.1.0",
+ "rustc-hash 2.1.0",
"triomphe",
]
@@ -1589,9 +1589,9 @@ dependencies = [
[[package]]
name = "swc_atoms"
-version = "3.1.0"
+version = "4.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c24077f986f0bc1c07823f850f688dd9be91b186efdb03fe1d52f7c2f2a4a346"
+checksum = "26769479f9cb4248b9c4a9ebde709e2657bb38d612576786680a2eed35c22549"
dependencies = [
"hstr",
"once_cell",
@@ -1601,9 +1601,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "6.1.1"
+version = "7.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7327d132e85f8a50e0a9e2458a7b44726b2db2f7f9c8b8a556f07f359c42a461"
+checksum = "601632c554875758657246e4971735d82ab59cfe13dcf496f70e5d9270f4c6f4"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1627,9 +1627,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "6.1.0"
+version = "7.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dbd513dab5fb1181e66ac34c4c959e9e8824d8d2c8bd50f698f5f2943794c0cc"
+checksum = "d856e3b85126e83d806b8d327ff6dc3708a4f512137510a210b8b0aaa2b1588b"
dependencies = [
"bitflags",
"is-macro",
@@ -1645,9 +1645,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "8.0.2"
+version = "9.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1a359eaebed82e5e13e1004d1e4003931b66d8b8edab8884f3d02ed827df7530"
+checksum = "0ee398e6093d6816e060d44013f1b8111e2043367899bc05d01cac3fdce12301"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index 8bacb64..2cda9e9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ doctest = false
[dependencies]
oxc = "0.51.0"
-swc_ecma_parser = { version = "8.0.2", features = ["typescript"] }
-swc_ecma_ast = "6.1.0"
+swc_ecma_parser = { version = "9.0.0", features = ["typescript"] }
+swc_ecma_ast = "7.0.0"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From f1c52d0faaebdeee342e2fb12130471c129bac0d Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 20 Feb 2025 18:40:27 +0000
Subject: [PATCH 246/385] chore(deps): update dependency rust to v1.85.0 (#258)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
rust-toolchain.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
index 68be7f6..3a44591 100644
--- a/rust-toolchain.toml
+++ b/rust-toolchain.toml
@@ -1,3 +1,3 @@
[toolchain]
-channel = "1.84.1"
+channel = "1.85.0"
profile = "minimal"
From a879ce8b776249ae5225ad721ac3db9971a94c57 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 21 Feb 2025 16:12:47 +0000
Subject: [PATCH 247/385] chore(deps): update rust crate oxc to 0.52.0 (#259)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 47 +++++++++++++++++++++++++----------------------
Cargo.toml | 2 +-
2 files changed, 26 insertions(+), 23 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index c104c81..688ab22 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -954,9 +954,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.51.0"
+version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c9f57beb511c2a1848baf900782d3975f89dbf75fc47ad2207147acf95523ab0"
+checksum = "fd6be05b94a99c886e3c8f79c0330e746df6fe27f8440b498ea7a5eb2fee2f67"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -994,9 +994,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.51.0"
+version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a6d450673da14c60c6946deb0c06d68377d2d6f2ee41ad5b462fa9894001560"
+checksum = "bf460405a383f3f7ac134a0e06afdb3525c8fa8f119453167f179ea6b12faaf6"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1007,9 +1007,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.51.0"
+version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "692c74b135e66d3fa13312d886f4a307131a5bd2fd76e5a4137825c6161b56a5"
+checksum = "b273094a3e96e84d3d8ce82190fd7113f70bb2a8dcb652c78b46df79fdd156cc"
dependencies = [
"bitflags",
"cow-utils",
@@ -1024,9 +1024,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.51.0"
+version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d4759d0523a72576036df640954ac9c4ce995f39f290cfc723221cc45ac7b11a"
+checksum = "ab1dff20655433e64452ee12a9c87dba5d307a47fc8e155b4e37d746d66b37dd"
dependencies = [
"proc-macro2",
"quote",
@@ -1035,9 +1035,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.51.0"
+version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e27133a883a4f5d9796259a3ca6ab28ba8c097ee32cd58fc794688e205f66727"
+checksum = "640a5f40eb0e09725a5e9c90e88727272c999d9805403747e2140cab2a742b6e"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -1045,9 +1045,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.51.0"
+version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "16a7535550ce59cc7373d60d13e5fb32eee1817ba9dcfa3df7a1ae96bdb0945e"
+checksum = "87543a59fd0d2d27102ccd8eee9f954564f7e82124992cc21975bbbe75851ce4"
dependencies = [
"cow-utils",
"num-bigint",
@@ -1059,9 +1059,12 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.51.0"
+version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a817a58818b63a5b26a15527e9c7f09c93ba1a95f570ae75e5e84bd3dee047de"
+checksum = "c1efeb3bb8ce6bced1e382e49d3978a2e5067cdc3881584f1cdef5aaf52d28b4"
+dependencies = [
+ "itoa",
+]
[[package]]
name = "oxc_index"
@@ -1071,9 +1074,9 @@ checksum = "5eca5d9726cd0a6e433debe003b7bc88b2ecad0bb6109f0cef7c55e692139a34"
[[package]]
name = "oxc_parser"
-version = "0.51.0"
+version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6410afa5ad3cde657f26803f828726b8d3b475131299faf5c7948299892a560c"
+checksum = "d0f5195b60a980baf22e34c801c8a37901ee21149e523d2a2fc68111991dd0b6"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1094,9 +1097,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.51.0"
+version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9711b8c74f28de9a295bc03baf7d61abf47af35556156e49f3a44fa572194325"
+checksum = "c6b7199022f1e8a071a118737884cdf75bd3ba869471fd500f00dd4612a4faeb"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1130,9 +1133,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.51.0"
+version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8c7d6b92b30eea1fdc8907c6dfe8525b75a815024d6567628697789076fb7e1"
+checksum = "b3cbaec227f5bb91e52a04f9028915973cbb7522b123b41af2d3189eb1ce41d8"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1143,9 +1146,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.51.0"
+version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9540bf5b53cb0cd81dbdf07b25834a5064b762e6a330ca35d0d424a581a442b8"
+checksum = "91bd42fae0c0e6212ea704ed533df47748002abc0af5496911fdb09735028a77"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 2cda9e9..449411d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.51.0"
+oxc = "0.52.0"
swc_ecma_parser = { version = "9.0.0", features = ["typescript"] }
swc_ecma_ast = "7.0.0"
From fdf2443bbeeabbfe03906a461c210b072f7176ed Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 23 Feb 2025 18:04:59 +0000
Subject: [PATCH 248/385] chore(deps): update rust crate criterion2 to v3
(#260)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 82 +++++++++++++++++++++++++++++++++++++++++++-----------
Cargo.toml | 2 +-
2 files changed, 67 insertions(+), 17 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 688ab22..200f192 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -282,18 +282,18 @@ checksum = "8f68f53c83ab957f72c32642f3868eec03eb974d1fb82e453128456482613d36"
[[package]]
name = "bpaf"
-version = "0.9.15"
+version = "0.9.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "50fd5174866dc2fa2ddc96e8fb800852d37f064f32a45c7b7c2f8fa2c64c77fa"
+checksum = "913d667d4716acd286a0dc58824a4c0ec8ce58eeca95cfb58172d17a9ec01035"
dependencies = [
"bpaf_derive",
]
[[package]]
name = "bpaf_derive"
-version = "0.5.13"
+version = "0.5.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf95d9c7e6aba67f8fc07761091e93254677f4db9e27197adecebc7039a58722"
+checksum = "34d8a24f809c4cda0832689019daa067d0ae927d801429196b238a3e8cb0cd3e"
dependencies = [
"proc-macro2",
"quote",
@@ -379,13 +379,15 @@ dependencies = [
[[package]]
name = "codspeed"
-version = "2.7.2"
+version = "2.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "450a0e9df9df1c154156f4344f99d8f6f6e69d0fc4de96ef6e2e68b2ec3bce97"
+checksum = "25d2f5a6570db487f5258e0bded6352fa2034c2aeb46bb5cc3ff060a0fcfba2f"
dependencies = [
- "colored",
+ "colored 2.1.0",
"libc",
+ "serde",
"serde_json",
+ "uuid",
]
[[package]]
@@ -398,6 +400,15 @@ dependencies = [
"windows-sys 0.48.0",
]
+[[package]]
+name = "colored"
+version = "3.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fde0e0ec90c9dfb3b4b1a0891a7dcd0e2bffde2f7efed5fe7c9bb00e5bfb915e"
+dependencies = [
+ "windows-sys 0.59.0",
+]
+
[[package]]
name = "compact_str"
version = "0.8.1"
@@ -426,16 +437,16 @@ checksum = "417bef24afe1460300965a25ff4a24b8b45ad011948302ec221e8a0a81eb2c79"
[[package]]
name = "criterion2"
-version = "2.0.0"
+version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09db22066fd79bd628faf416dac96e44054deb00531601bcc20c6d12506b3701"
+checksum = "7b43b9cdbf592c78d882f2a3b9e6ebe8aedc749ef84915103a0248802ce2f6b3"
dependencies = [
"anes",
"bpaf",
"cast",
"ciborium",
"codspeed",
- "colored",
+ "colored 3.0.0",
"num-traits",
"oorandom",
"serde",
@@ -549,6 +560,18 @@ dependencies = [
"syn 2.0.90",
]
+[[package]]
+name = "getrandom"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "43a49c392881ce6d5c3b8cb70f98717b7c07aabbdff06687b9030dbfbe2725f8"
+dependencies = [
+ "cfg-if",
+ "libc",
+ "wasi",
+ "windows-targets 0.52.6",
+]
+
[[package]]
name = "gimli"
version = "0.31.1"
@@ -1441,18 +1464,18 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4"
[[package]]
name = "serde"
-version = "1.0.215"
+version = "1.0.218"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6513c1ad0b11a9376da888e3e0baa0077f1aed55c17f50e7b2397136129fb88f"
+checksum = "e8dfc9d19bdbf6d17e22319da49161d5d0108e4188e8b680aef6299eed22df60"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.215"
+version = "1.0.218"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0"
+checksum = "f09503e191f4e797cb8aac08e9a4a4695c5edf6a2e70e376d961ddd5c969f82b"
dependencies = [
"proc-macro2",
"quote",
@@ -1472,9 +1495,9 @@ dependencies = [
[[package]]
name = "serde_json"
-version = "1.0.133"
+version = "1.0.139"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c7fceb2473b9166b2294ef05efcb65a3db80803f0b03ef86a5fc88a2b85ee377"
+checksum = "44f86c3acccc9c65b153fe1b85a3be07fe5515274ec9f0653b4a0875731c72a6"
dependencies = [
"indexmap 2.7.0",
"itoa",
@@ -1896,6 +1919,15 @@ version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
+[[package]]
+name = "uuid"
+version = "1.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93d59ca99a559661b96bf898d8fce28ed87935fd2bea9f05983c1464dd6c71b1"
+dependencies = [
+ "getrandom",
+]
+
[[package]]
name = "version_check"
version = "0.9.5"
@@ -1912,6 +1944,15 @@ dependencies = [
"winapi-util",
]
+[[package]]
+name = "wasi"
+version = "0.13.3+wasi-0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "26816d2e1a4a36a2940b96c5296ce403917633dff8f3440e9b236ed6f6bacad2"
+dependencies = [
+ "wit-bindgen-rt",
+]
+
[[package]]
name = "winapi-util"
version = "0.1.9"
@@ -2060,6 +2101,15 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
+[[package]]
+name = "wit-bindgen-rt"
+version = "0.33.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3268f3d866458b787f390cf61f4bbb563b922d091359f9608842999eaee3943c"
+dependencies = [
+ "bitflags",
+]
+
[[package]]
name = "write16"
version = "1.0.0"
diff --git a/Cargo.toml b/Cargo.toml
index 449411d..ba3b350 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -36,7 +36,7 @@ biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
num_cpus = "1.16.0"
-criterion2 = { version = "2.0.0", default-features = false }
+criterion2 = { version = "3.0.0", default-features = false }
rayon = "1.10.0"
mimalloc = "0.1.43"
From 1ffeb80e99f9e52df2a9fbe4fc3184cc08a4ed88 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 27 Feb 2025 03:56:28 +0000
Subject: [PATCH 249/385] chore(deps): update rust crate oxc to 0.53.0 (#262)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 51 ++++++++++++++++++++++++---------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 28 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 200f192..7e81f77 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -977,9 +977,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.52.0"
+version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fd6be05b94a99c886e3c8f79c0330e746df6fe27f8440b498ea7a5eb2fee2f67"
+checksum = "691141bf0b572018b65456ca183507ff06cc50d9d90a4d48132b764d32c95527"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -1017,9 +1017,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.52.0"
+version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bf460405a383f3f7ac134a0e06afdb3525c8fa8f119453167f179ea6b12faaf6"
+checksum = "eaf9c94c4b7eca262bed12a600ae43fdc7546081755af321de79821acd3c5e45"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1030,9 +1030,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.52.0"
+version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b273094a3e96e84d3d8ce82190fd7113f70bb2a8dcb652c78b46df79fdd156cc"
+checksum = "e9e5af333869e3c080f8c9b15aa78d27071c8ca7eee8a86ad0a32eefd9a1ba1e"
dependencies = [
"bitflags",
"cow-utils",
@@ -1047,9 +1047,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.52.0"
+version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ab1dff20655433e64452ee12a9c87dba5d307a47fc8e155b4e37d746d66b37dd"
+checksum = "6eca883d41a92aa68620385a28bbc6d016221982e7d22c4120fd1a7ffcb9be8b"
dependencies = [
"proc-macro2",
"quote",
@@ -1058,9 +1058,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.52.0"
+version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "640a5f40eb0e09725a5e9c90e88727272c999d9805403747e2140cab2a742b6e"
+checksum = "fd9549fb1a8f37c4e5fa61fadcaf439402e9c1541d3442987594e9d173389443"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -1068,9 +1068,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.52.0"
+version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "87543a59fd0d2d27102ccd8eee9f954564f7e82124992cc21975bbbe75851ce4"
+checksum = "833da37fb0dcf12e58f2380dadade222c5b5caf2494f6ed0b4355f74af46d453"
dependencies = [
"cow-utils",
"num-bigint",
@@ -1082,24 +1082,21 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.52.0"
+version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c1efeb3bb8ce6bced1e382e49d3978a2e5067cdc3881584f1cdef5aaf52d28b4"
-dependencies = [
- "itoa",
-]
+checksum = "cb42f17f05b19f20edfef46916e62bdd03ecde89dc06e131b27adc715c19e1dc"
[[package]]
name = "oxc_index"
-version = "2.0.0"
+version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5eca5d9726cd0a6e433debe003b7bc88b2ecad0bb6109f0cef7c55e692139a34"
+checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.52.0"
+version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d0f5195b60a980baf22e34c801c8a37901ee21149e523d2a2fc68111991dd0b6"
+checksum = "416b26d59eb0c273239620de864c21f2bbfd098510dff92af554e2a0a464b70d"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1120,9 +1117,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.52.0"
+version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c6b7199022f1e8a071a118737884cdf75bd3ba869471fd500f00dd4612a4faeb"
+checksum = "691d451203f63304fd68cacac3bbbcea6578a545e2681d761eee53b47cc2a8ce"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1156,9 +1153,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.52.0"
+version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b3cbaec227f5bb91e52a04f9028915973cbb7522b123b41af2d3189eb1ce41d8"
+checksum = "bf5c92fba70b2fe8e1a34f249447915338b5165c6a0f563ff9b14a99204d0ba3"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1169,9 +1166,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.52.0"
+version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "91bd42fae0c0e6212ea704ed533df47748002abc0af5496911fdb09735028a77"
+checksum = "1339878529f3a78b8b365d23e62a326dfc3dd21b4c128619105b83d2bc0cfbfb"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index ba3b350..afaf41a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.52.0"
+oxc = "0.53.0"
swc_ecma_parser = { version = "9.0.0", features = ["typescript"] }
swc_ecma_ast = "7.0.0"
From 68afbd183160afdc353b9cdb20b133a2db335559 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 27 Feb 2025 06:48:12 +0000
Subject: [PATCH 250/385] chore(deps): update swc (#263)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 26 +++++++++++++-------------
Cargo.toml | 4 ++--
2 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 7e81f77..37c3660 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -627,9 +627,9 @@ checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
[[package]]
name = "hstr"
-version = "0.3.0"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e963d8fe690aa5ecd16d270b18362b28643862474f7fceabf105fd4c9b3a6a42"
+checksum = "71399f53a92ef72ee336a4b30201c6e944827e14e0af23204c291aad9c24cc85"
dependencies = [
"hashbrown 0.14.5",
"new_debug_unreachable",
@@ -1599,12 +1599,12 @@ dependencies = [
[[package]]
name = "swc_allocator"
-version = "3.0.0"
+version = "4.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1a1f988452cab8c4e25776e5a855ba088cdb38fbe9714f9b9d2a6ff345824858"
+checksum = "cc6b926f0d94bbb34031fe5449428cfa1268cdc0b31158d6ad9c97e0fc1e79dd"
dependencies = [
+ "allocator-api2",
"bumpalo",
- "hashbrown 0.14.5",
"ptr_meta",
"rustc-hash 2.1.0",
"triomphe",
@@ -1612,9 +1612,9 @@ dependencies = [
[[package]]
name = "swc_atoms"
-version = "4.0.0"
+version = "5.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "26769479f9cb4248b9c4a9ebde709e2657bb38d612576786680a2eed35c22549"
+checksum = "9d7077ba879f95406459bc0c81f3141c529b34580bc64d7ab7bd15e7118a0391"
dependencies = [
"hstr",
"once_cell",
@@ -1624,9 +1624,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "7.0.0"
+version = "8.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "601632c554875758657246e4971735d82ab59cfe13dcf496f70e5d9270f4c6f4"
+checksum = "26fbd21a1179166b5635d4b7a6b5930cf34b803a7361e0297b04f84dc820db04"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1650,9 +1650,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "7.0.0"
+version = "8.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d856e3b85126e83d806b8d327ff6dc3708a4f512137510a210b8b0aaa2b1588b"
+checksum = "c66db1e9b31f0f91ee0964aba014b4d2dfdc6c558732d106d762b43bedad2c4a"
dependencies = [
"bitflags",
"is-macro",
@@ -1668,9 +1668,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "9.0.0"
+version = "10.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ee398e6093d6816e060d44013f1b8111e2043367899bc05d01cac3fdce12301"
+checksum = "f9e336f2b460882df2c132328b3c29ab3e680e1db681a05ec3e406940d98320a"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index afaf41a..d9af652 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ doctest = false
[dependencies]
oxc = "0.53.0"
-swc_ecma_parser = { version = "9.0.0", features = ["typescript"] }
-swc_ecma_ast = "7.0.0"
+swc_ecma_parser = { version = "10.0.0", features = ["typescript"] }
+swc_ecma_ast = "8.0.0"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From c2ee2f3675712b073e3772c26eea477d09bfa5bd Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 4 Mar 2025 02:50:01 +0000
Subject: [PATCH 251/385] chore(deps): update rust crate oxc to 0.54.0 (#264)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 45 ++++++++++++++++++++++-----------------------
Cargo.toml | 2 +-
2 files changed, 23 insertions(+), 24 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 37c3660..9ac9efd 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -977,9 +977,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.53.0"
+version = "0.54.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "691141bf0b572018b65456ca183507ff06cc50d9d90a4d48132b764d32c95527"
+checksum = "24855da39b565013176401474f89408479b6086f81bc0d670e3a318bc985b158"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -1017,9 +1017,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.53.0"
+version = "0.54.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eaf9c94c4b7eca262bed12a600ae43fdc7546081755af321de79821acd3c5e45"
+checksum = "b18e24923867bc335264d0ee98b60263dabd50ff19983d781f6a5ce0ca964429"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1030,13 +1030,12 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.53.0"
+version = "0.54.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e9e5af333869e3c080f8c9b15aa78d27071c8ca7eee8a86ad0a32eefd9a1ba1e"
+checksum = "ded17501d4e1535e765d2e5cadf28cad03ec87d39931d1481b9e34f733b98474"
dependencies = [
"bitflags",
"cow-utils",
- "nonmax",
"oxc_allocator",
"oxc_ast_macros",
"oxc_estree",
@@ -1047,9 +1046,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.53.0"
+version = "0.54.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6eca883d41a92aa68620385a28bbc6d016221982e7d22c4120fd1a7ffcb9be8b"
+checksum = "ade1cdc274922b8246436c8722afb70d07bf18d4b126354a21cbca1796dab041"
dependencies = [
"proc-macro2",
"quote",
@@ -1058,9 +1057,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.53.0"
+version = "0.54.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fd9549fb1a8f37c4e5fa61fadcaf439402e9c1541d3442987594e9d173389443"
+checksum = "aa9d41fe75156b30adcfbce4cba8b7e3316c1e650da0c90f90cd1923980d4de5"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -1068,9 +1067,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.53.0"
+version = "0.54.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "833da37fb0dcf12e58f2380dadade222c5b5caf2494f6ed0b4355f74af46d453"
+checksum = "ea8a969324e2fb6ba5c48f1f48125ef283df9aa66c69a6a9f88ce66c2017d0fb"
dependencies = [
"cow-utils",
"num-bigint",
@@ -1082,9 +1081,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.53.0"
+version = "0.54.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cb42f17f05b19f20edfef46916e62bdd03ecde89dc06e131b27adc715c19e1dc"
+checksum = "4dbd7bb1b12e006fd02c7d61a1aece96e4c6336c9b9e8d568ad5f6dfd4c315c2"
[[package]]
name = "oxc_index"
@@ -1094,9 +1093,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.53.0"
+version = "0.54.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "416b26d59eb0c273239620de864c21f2bbfd098510dff92af554e2a0a464b70d"
+checksum = "1bc8294a24383bcb7f518604769b07915a14c21b53077725a272736ef90b3c99"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1117,9 +1116,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.53.0"
+version = "0.54.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "691d451203f63304fd68cacac3bbbcea6578a545e2681d761eee53b47cc2a8ce"
+checksum = "e84b8e555281da67deac9b6a88d6f95e390f9fe692fa8f8a6868011076a2ee33"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1153,9 +1152,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.53.0"
+version = "0.54.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bf5c92fba70b2fe8e1a34f249447915338b5165c6a0f563ff9b14a99204d0ba3"
+checksum = "704d1f7229aafcd1291dacd1d39927cd9fd77ac3c05e6edca32e25f52329dcd5"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1166,9 +1165,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.53.0"
+version = "0.54.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1339878529f3a78b8b365d23e62a326dfc3dd21b4c128619105b83d2bc0cfbfb"
+checksum = "2697e97541b2b8f8b95152ea00931d73b254bbcb2eb590192ebc4e76a7748d3f"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index d9af652..4d13d58 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.53.0"
+oxc = "0.54.0"
swc_ecma_parser = { version = "10.0.0", features = ["typescript"] }
swc_ecma_ast = "8.0.0"
From 8a3ce01dca9e6e54dcdb1e48cb07bb0584a48713 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 5 Mar 2025 12:10:55 +0000
Subject: [PATCH 252/385] chore(deps): update rust crate oxc to 0.55.0 (#265)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 71 +++++++++++++++++++++++++++++++++++++-----------------
Cargo.toml | 2 +-
2 files changed, 50 insertions(+), 23 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 9ac9efd..22712cb 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -977,9 +977,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.54.0"
+version = "0.55.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "24855da39b565013176401474f89408479b6086f81bc0d670e3a318bc985b158"
+checksum = "ea36ba3258ba8c21e44927caf3af5c6ac6b4c3ac4b38c3c0660564b796ffa08e"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -1017,9 +1017,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.54.0"
+version = "0.55.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b18e24923867bc335264d0ee98b60263dabd50ff19983d781f6a5ce0ca964429"
+checksum = "eef1633a33a1a8ec5e88c877aa50c8db61e2e341dfe8e3ffeda87ab4b493afa9"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1030,14 +1030,15 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.54.0"
+version = "0.55.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ded17501d4e1535e765d2e5cadf28cad03ec87d39931d1481b9e34f733b98474"
+checksum = "87589abc25ec0975b4f22c05f55ee8546e08743950adc262e94e90db9ebc8262"
dependencies = [
"bitflags",
"cow-utils",
"oxc_allocator",
"oxc_ast_macros",
+ "oxc_data_structures",
"oxc_estree",
"oxc_regular_expression",
"oxc_span",
@@ -1046,20 +1047,30 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.54.0"
+version = "0.55.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ade1cdc274922b8246436c8722afb70d07bf18d4b126354a21cbca1796dab041"
+checksum = "631d65bd4d6b16d3e56ff19754282ef094cb5427648495d23f39c96d6cdc523e"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.90",
]
+[[package]]
+name = "oxc_data_structures"
+version = "0.55.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "53b4292a782b93493456f56ec35ba09f41680b2cb7d0294dd7b39f664fb6dd4d"
+dependencies = [
+ "assert-unchecked",
+ "ropey",
+]
+
[[package]]
name = "oxc_diagnostics"
-version = "0.54.0"
+version = "0.55.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aa9d41fe75156b30adcfbce4cba8b7e3316c1e650da0c90f90cd1923980d4de5"
+checksum = "4c00829ead1c6ac5344a575207214a53003fab41dd0ac8a5e35bfb57aedfde2f"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -1067,9 +1078,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.54.0"
+version = "0.55.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ea8a969324e2fb6ba5c48f1f48125ef283df9aa66c69a6a9f88ce66c2017d0fb"
+checksum = "488a6e543ab952ca3efb72bcefe9250d34777d7010955bfac3978c7e03bf4613"
dependencies = [
"cow-utils",
"num-bigint",
@@ -1081,9 +1092,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.54.0"
+version = "0.55.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4dbd7bb1b12e006fd02c7d61a1aece96e4c6336c9b9e8d568ad5f6dfd4c315c2"
+checksum = "78290e1c47759f1b7a6eb871e99adbb12054e817a052cacc898dfc89183f444b"
[[package]]
name = "oxc_index"
@@ -1093,9 +1104,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.54.0"
+version = "0.55.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1bc8294a24383bcb7f518604769b07915a14c21b53077725a272736ef90b3c99"
+checksum = "1227c203986a3b000cab2f9ef4adc613cf61a39e2f3902bbef6f9072f41c833d"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1116,9 +1127,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.54.0"
+version = "0.55.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e84b8e555281da67deac9b6a88d6f95e390f9fe692fa8f8a6868011076a2ee33"
+checksum = "64f053a6df456bf575cbf3c38ffea3013799748012d4a7c9ecd70d3f47a214d4"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1152,9 +1163,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.54.0"
+version = "0.55.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "704d1f7229aafcd1291dacd1d39927cd9fd77ac3c05e6edca32e25f52329dcd5"
+checksum = "680170488923ec30f75228b93c3b08d42754e983bca138063c973ca5ba0e71ff"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1165,9 +1176,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.54.0"
+version = "0.55.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2697e97541b2b8f8b95152ea00931d73b254bbcb2eb590192ebc4e76a7748d3f"
+checksum = "abe1784332acdab786ae3904930a7274a84eda184144202490e65f7a0e2db436"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1371,6 +1382,16 @@ version = "0.4.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
+[[package]]
+name = "ropey"
+version = "1.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93411e420bcd1a75ddd1dc3caf18c23155eda2c090631a85af21ba19e97093b5"
+dependencies = [
+ "smallvec",
+ "str_indices",
+]
+
[[package]]
name = "rustc-demangle"
version = "0.1.24"
@@ -1584,6 +1605,12 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
+[[package]]
+name = "str_indices"
+version = "0.4.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d08889ec5408683408db66ad89e0e1f93dff55c73a4ccc71c427d5b277ee47e6"
+
[[package]]
name = "string_enum"
version = "1.0.0"
diff --git a/Cargo.toml b/Cargo.toml
index 4d13d58..1309349 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.54.0"
+oxc = "0.55.0"
swc_ecma_parser = { version = "10.0.0", features = ["typescript"] }
swc_ecma_ast = "8.0.0"
From b0a2bd07ffdc3ffb25d46c42249bbd5f8bed381d Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 6 Mar 2025 03:37:02 +0000
Subject: [PATCH 253/385] chore(deps): update rust crate oxc to 0.56.0 (#266)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 22712cb..017ea1f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -977,9 +977,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.55.0"
+version = "0.56.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ea36ba3258ba8c21e44927caf3af5c6ac6b4c3ac4b38c3c0660564b796ffa08e"
+checksum = "5b4a5aba9c3f445db5401f9975266b23a5c5b49a8b4ccb1efa049132e96069dc"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -1017,9 +1017,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.55.0"
+version = "0.56.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eef1633a33a1a8ec5e88c877aa50c8db61e2e341dfe8e3ffeda87ab4b493afa9"
+checksum = "7844c292ad3f79021bf3066538129c662a65bb4235a3450d124edd81bc9094df"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1030,9 +1030,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.55.0"
+version = "0.56.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "87589abc25ec0975b4f22c05f55ee8546e08743950adc262e94e90db9ebc8262"
+checksum = "c4005b2e219aa87cb0cbde495bcd6543748a4d77c8583ec573c6db2984bb249f"
dependencies = [
"bitflags",
"cow-utils",
@@ -1047,9 +1047,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.55.0"
+version = "0.56.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "631d65bd4d6b16d3e56ff19754282ef094cb5427648495d23f39c96d6cdc523e"
+checksum = "93405fb1ad62247fa9296ad73265671b9c4aaa39dbbe142af00a6de415e61606"
dependencies = [
"proc-macro2",
"quote",
@@ -1058,9 +1058,9 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.55.0"
+version = "0.56.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "53b4292a782b93493456f56ec35ba09f41680b2cb7d0294dd7b39f664fb6dd4d"
+checksum = "dfc814bebc24ca429f257fba498dee171a98fa2ef1ea0f9c9eb3d69f0993baa6"
dependencies = [
"assert-unchecked",
"ropey",
@@ -1068,9 +1068,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.55.0"
+version = "0.56.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c00829ead1c6ac5344a575207214a53003fab41dd0ac8a5e35bfb57aedfde2f"
+checksum = "0fd1f43ffbdabf86a563b48970c2abdbc0ac860e49558c83ab23a010b1a774f8"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -1078,9 +1078,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.55.0"
+version = "0.56.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "488a6e543ab952ca3efb72bcefe9250d34777d7010955bfac3978c7e03bf4613"
+checksum = "1a23d0e112ff9ea0f39dd2c9c921f0938e313e26ee9e4022f60c8d81c561e518"
dependencies = [
"cow-utils",
"num-bigint",
@@ -1092,9 +1092,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.55.0"
+version = "0.56.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "78290e1c47759f1b7a6eb871e99adbb12054e817a052cacc898dfc89183f444b"
+checksum = "dd9818707125125e32d25fd18c5331a4418fbde084e33c69dee123df5b2531d2"
[[package]]
name = "oxc_index"
@@ -1104,9 +1104,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.55.0"
+version = "0.56.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1227c203986a3b000cab2f9ef4adc613cf61a39e2f3902bbef6f9072f41c833d"
+checksum = "cce20364085569f8caebeb879aec455c5c8f6e5dcb5d0ecfb88208ae5e709331"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1127,9 +1127,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.55.0"
+version = "0.56.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "64f053a6df456bf575cbf3c38ffea3013799748012d4a7c9ecd70d3f47a214d4"
+checksum = "89e1f1e21ed9b3e4d1c6eb10dffc1c71202e8fe111968cf6636f5484ad443b0b"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1163,9 +1163,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.55.0"
+version = "0.56.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "680170488923ec30f75228b93c3b08d42754e983bca138063c973ca5ba0e71ff"
+checksum = "e59da8e765f44892357f6b75bdb16f486d61956c5bd92a345429ad704d4853fd"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1176,9 +1176,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.55.0"
+version = "0.56.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "abe1784332acdab786ae3904930a7274a84eda184144202490e65f7a0e2db436"
+checksum = "47b8bd67fdd8df27cfddbec577b282f1a6601509ecd750697f590d7cdc2d88b7"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 1309349..bcd8a35 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.55.0"
+oxc = "0.56.0"
swc_ecma_parser = { version = "10.0.0", features = ["typescript"] }
swc_ecma_ast = "8.0.0"
From 6194cbd282c62fcaf07556555a2f5f66e4dd5b5c Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 7 Mar 2025 07:35:24 +0000
Subject: [PATCH 254/385] chore(deps): update rust crate oxc to 0.56.1 (#267)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 017ea1f..fb65122 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -977,9 +977,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.56.0"
+version = "0.56.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5b4a5aba9c3f445db5401f9975266b23a5c5b49a8b4ccb1efa049132e96069dc"
+checksum = "12f13129df8aa579df16f31e51d9419c192d93d424ed8d764acccaf54b0c6fee"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -1017,9 +1017,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.56.0"
+version = "0.56.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7844c292ad3f79021bf3066538129c662a65bb4235a3450d124edd81bc9094df"
+checksum = "b4e2f14c0b7f422a7a9d15cc06b375cd2b1323d1ae0b66ae736b1cb1cc6b43e1"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1030,9 +1030,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.56.0"
+version = "0.56.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c4005b2e219aa87cb0cbde495bcd6543748a4d77c8583ec573c6db2984bb249f"
+checksum = "0b1f8817d6026dc3e7cf55d2309b6d9b8d4458ad9b6a8be6b8d5f622782c37ae"
dependencies = [
"bitflags",
"cow-utils",
@@ -1047,9 +1047,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.56.0"
+version = "0.56.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93405fb1ad62247fa9296ad73265671b9c4aaa39dbbe142af00a6de415e61606"
+checksum = "27dac606f588792c19af4dd4cdc5e53bc9a243876e77a00e0fec42239c632d9e"
dependencies = [
"proc-macro2",
"quote",
@@ -1058,9 +1058,9 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.56.0"
+version = "0.56.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dfc814bebc24ca429f257fba498dee171a98fa2ef1ea0f9c9eb3d69f0993baa6"
+checksum = "b828aaca1f044ed73896876f5749d28cea4c23e08312e976dc90830d1e2e2735"
dependencies = [
"assert-unchecked",
"ropey",
@@ -1068,9 +1068,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.56.0"
+version = "0.56.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0fd1f43ffbdabf86a563b48970c2abdbc0ac860e49558c83ab23a010b1a774f8"
+checksum = "24062f2d45833cee4af5d44fe582aed979641a382726e950d1569fb417877b51"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -1078,9 +1078,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.56.0"
+version = "0.56.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1a23d0e112ff9ea0f39dd2c9c921f0938e313e26ee9e4022f60c8d81c561e518"
+checksum = "745bf0e02838adb2a7d6172ef0a8148be781d8ba3e7ae28bde7a2e4ba85d099d"
dependencies = [
"cow-utils",
"num-bigint",
@@ -1092,9 +1092,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.56.0"
+version = "0.56.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dd9818707125125e32d25fd18c5331a4418fbde084e33c69dee123df5b2531d2"
+checksum = "7b87865f5c95e90e9d7ff7cfddbf4bf76a1391aafa5e97efb42af5e8594f15a6"
[[package]]
name = "oxc_index"
@@ -1104,9 +1104,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.56.0"
+version = "0.56.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cce20364085569f8caebeb879aec455c5c8f6e5dcb5d0ecfb88208ae5e709331"
+checksum = "7d5c04b67a802b25b0ba0ac20aff6bc3fa2033d97c1ca81cff0241735105253e"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1127,9 +1127,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.56.0"
+version = "0.56.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "89e1f1e21ed9b3e4d1c6eb10dffc1c71202e8fe111968cf6636f5484ad443b0b"
+checksum = "a58b9cebcf52bc66e92d9ac7f4d7a6af992ad29b56d6c7c9473ccc9afc19c1d5"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1163,9 +1163,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.56.0"
+version = "0.56.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e59da8e765f44892357f6b75bdb16f486d61956c5bd92a345429ad704d4853fd"
+checksum = "19d31f435608005d41d38723d3f6269b5bed6e25e554c2fec5cb0d954e5851ac"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1176,9 +1176,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.56.0"
+version = "0.56.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "47b8bd67fdd8df27cfddbec577b282f1a6601509ecd750697f590d7cdc2d88b7"
+checksum = "3e9cbeb2f494be41c0a62fa16678cd6f38ae8b8bc70350155e0debd87a8ce0b9"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index bcd8a35..7a8df5e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.56.0"
+oxc = "0.56.1"
swc_ecma_parser = { version = "10.0.0", features = ["typescript"] }
swc_ecma_ast = "8.0.0"
From fc5d6f4975003e7f43f18be7da84bd72ba8490e1 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 7 Mar 2025 10:22:10 +0000
Subject: [PATCH 255/385] chore(deps): update rust crate oxc to 0.56.3 (#268)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index fb65122..99c4bd0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -977,9 +977,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.56.1"
+version = "0.56.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "12f13129df8aa579df16f31e51d9419c192d93d424ed8d764acccaf54b0c6fee"
+checksum = "bb78d5c3fe56b32ed69b99c0e446110b1f028c61a761cafa640d0680c8f05559"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -1017,9 +1017,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.56.1"
+version = "0.56.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b4e2f14c0b7f422a7a9d15cc06b375cd2b1323d1ae0b66ae736b1cb1cc6b43e1"
+checksum = "a61bd6de2588fbc16832da9099e708bb7250616c2f48c34ba9762670ecd11405"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1030,9 +1030,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.56.1"
+version = "0.56.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b1f8817d6026dc3e7cf55d2309b6d9b8d4458ad9b6a8be6b8d5f622782c37ae"
+checksum = "0cd7f2bda52ae1702b88716d004739a2a9ba3520a2009f093b8ccfdeca9e59b2"
dependencies = [
"bitflags",
"cow-utils",
@@ -1047,9 +1047,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.56.1"
+version = "0.56.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "27dac606f588792c19af4dd4cdc5e53bc9a243876e77a00e0fec42239c632d9e"
+checksum = "33a2e445a15ae751fd69e75c801bb056fd5abeeebd2d0359fcc5c78ded5f6b54"
dependencies = [
"proc-macro2",
"quote",
@@ -1058,9 +1058,9 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.56.1"
+version = "0.56.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b828aaca1f044ed73896876f5749d28cea4c23e08312e976dc90830d1e2e2735"
+checksum = "49887f744ec3ce3a7934b4dbd98dad7eec3bd79652e2497b34508c3509f96783"
dependencies = [
"assert-unchecked",
"ropey",
@@ -1068,9 +1068,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.56.1"
+version = "0.56.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "24062f2d45833cee4af5d44fe582aed979641a382726e950d1569fb417877b51"
+checksum = "6a98bb055fdd74c6058c5d70fb5c3dd3598c0616443383edd14ba874ffe3f484"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -1078,9 +1078,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.56.1"
+version = "0.56.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "745bf0e02838adb2a7d6172ef0a8148be781d8ba3e7ae28bde7a2e4ba85d099d"
+checksum = "1ee8ae1108dac0f5662145ee7411355397cd24aa8c8c1a0fc11ee807363e6e86"
dependencies = [
"cow-utils",
"num-bigint",
@@ -1092,9 +1092,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.56.1"
+version = "0.56.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7b87865f5c95e90e9d7ff7cfddbf4bf76a1391aafa5e97efb42af5e8594f15a6"
+checksum = "266ec3ef66911769af622536ae148a15d5cfbc8d4b3df7f58638da661aa8a304"
[[package]]
name = "oxc_index"
@@ -1104,9 +1104,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.56.1"
+version = "0.56.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7d5c04b67a802b25b0ba0ac20aff6bc3fa2033d97c1ca81cff0241735105253e"
+checksum = "c8eea59e89e085bb3e7efd597f8b1b4d281f9788f7418ef8739dec0930569db7"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1127,9 +1127,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.56.1"
+version = "0.56.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a58b9cebcf52bc66e92d9ac7f4d7a6af992ad29b56d6c7c9473ccc9afc19c1d5"
+checksum = "728ac8e9f5622aaa188d4b932c39346b6269a62b131947c33da268d10e3fbd04"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1163,9 +1163,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.56.1"
+version = "0.56.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "19d31f435608005d41d38723d3f6269b5bed6e25e554c2fec5cb0d954e5851ac"
+checksum = "36557c9de82ba803b14056ce4cea803c0d9c562bbb03786cf5ea2581bb33f7ce"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1176,9 +1176,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.56.1"
+version = "0.56.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3e9cbeb2f494be41c0a62fa16678cd6f38ae8b8bc70350155e0debd87a8ce0b9"
+checksum = "5f8a26268337e9af1b157590259e7e788367f084581ad17477e414c1a7df2b8d"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 7a8df5e..1284eb1 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.56.1"
+oxc = "0.56.3"
swc_ecma_parser = { version = "10.0.0", features = ["typescript"] }
swc_ecma_ast = "8.0.0"
From 810ef08a36685a0d537c431b414a168206a677c7 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 7 Mar 2025 19:28:09 +0000
Subject: [PATCH 256/385] chore(deps): update rust crate oxc to 0.56.5 (#269)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 99c4bd0..c73bf8c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -977,9 +977,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.56.3"
+version = "0.56.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bb78d5c3fe56b32ed69b99c0e446110b1f028c61a761cafa640d0680c8f05559"
+checksum = "cae6276febbc5abc1f1e4cf49167d54ab341818656ae4f622d5992b65fcdd371"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -1017,9 +1017,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.56.3"
+version = "0.56.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a61bd6de2588fbc16832da9099e708bb7250616c2f48c34ba9762670ecd11405"
+checksum = "22cc5cd078806a1b7061fa146dc4228a57d0765da6c85e99500d069b86f57e94"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1030,9 +1030,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.56.3"
+version = "0.56.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0cd7f2bda52ae1702b88716d004739a2a9ba3520a2009f093b8ccfdeca9e59b2"
+checksum = "e4722414ac21a2e28a16b76de8390672c01a39adcb703d405b848149cfaeeaf7"
dependencies = [
"bitflags",
"cow-utils",
@@ -1047,9 +1047,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.56.3"
+version = "0.56.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "33a2e445a15ae751fd69e75c801bb056fd5abeeebd2d0359fcc5c78ded5f6b54"
+checksum = "8f1505d8622b2ea6ed0274f355bd5e4ee3f09df5d9b39c8a3a673f344d87b82a"
dependencies = [
"proc-macro2",
"quote",
@@ -1058,9 +1058,9 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.56.3"
+version = "0.56.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "49887f744ec3ce3a7934b4dbd98dad7eec3bd79652e2497b34508c3509f96783"
+checksum = "cb49a2ee880952c2079b61851ecc35d7671d9d3509e306f5e704ccacd2783984"
dependencies = [
"assert-unchecked",
"ropey",
@@ -1068,9 +1068,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.56.3"
+version = "0.56.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6a98bb055fdd74c6058c5d70fb5c3dd3598c0616443383edd14ba874ffe3f484"
+checksum = "ea83fe2415b0580980ac83364c1ae943f8ee9c00becf5395a89e800a9526a080"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -1078,9 +1078,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.56.3"
+version = "0.56.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ee8ae1108dac0f5662145ee7411355397cd24aa8c8c1a0fc11ee807363e6e86"
+checksum = "6c7e7bcc382cf901e93a16f86e70f2737c507aaa833656b0d8484d64f8ae358a"
dependencies = [
"cow-utils",
"num-bigint",
@@ -1092,9 +1092,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.56.3"
+version = "0.56.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "266ec3ef66911769af622536ae148a15d5cfbc8d4b3df7f58638da661aa8a304"
+checksum = "1cb66484735d21f096b07c894badc96d89a0c6d31b4bdd46b33b3e44da9b97ac"
[[package]]
name = "oxc_index"
@@ -1104,9 +1104,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.56.3"
+version = "0.56.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8eea59e89e085bb3e7efd597f8b1b4d281f9788f7418ef8739dec0930569db7"
+checksum = "7a7414e779b9723b0bd2880fe69b0ee517e583f88c5118a7c9053cf3317b95b1"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1127,9 +1127,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.56.3"
+version = "0.56.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "728ac8e9f5622aaa188d4b932c39346b6269a62b131947c33da268d10e3fbd04"
+checksum = "d18196c212eac24a7faf613e373e5f9317d3542578a088d01dc1a548fa1e1cb3"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1163,9 +1163,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.56.3"
+version = "0.56.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "36557c9de82ba803b14056ce4cea803c0d9c562bbb03786cf5ea2581bb33f7ce"
+checksum = "318f925e26bd118adc082d290538d07611fe2434987a5c60cf5084381ecb42e6"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1176,9 +1176,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.56.3"
+version = "0.56.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5f8a26268337e9af1b157590259e7e788367f084581ad17477e414c1a7df2b8d"
+checksum = "8cb68ceb7c6902f3043fe8fe49bb886826b1d7741dc2904337297d53692b1b9c"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 1284eb1..dc89072 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.56.3"
+oxc = "0.56.5"
swc_ecma_parser = { version = "10.0.0", features = ["typescript"] }
swc_ecma_ast = "8.0.0"
From b0ba2e5b15f08b8dbac550142f66d96b1efd09d9 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 7 Mar 2025 22:57:34 +0000
Subject: [PATCH 257/385] chore(deps): update rust crate swc_ecma_parser to
10.0.1 (#270)
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 c73bf8c..039bd74 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1694,9 +1694,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "10.0.0"
+version = "10.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f9e336f2b460882df2c132328b3c29ab3e680e1db681a05ec3e406940d98320a"
+checksum = "9576fd56e613f83990190778878139ab1a8d5ff0b316318ba34204407a0142a2"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index dc89072..5c3c7b8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.56.5"
-swc_ecma_parser = { version = "10.0.0", features = ["typescript"] }
+swc_ecma_parser = { version = "10.0.1", features = ["typescript"] }
swc_ecma_ast = "8.0.0"
biome_js_parser = "0.5.7"
From befb495fc6e3d90c719832d600b0c2920b5cf7f3 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 11 Mar 2025 06:17:20 +0000
Subject: [PATCH 258/385] chore(deps): update rust crate oxc to 0.57.0 (#271)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 039bd74..e7348b3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -977,9 +977,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.56.5"
+version = "0.57.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cae6276febbc5abc1f1e4cf49167d54ab341818656ae4f622d5992b65fcdd371"
+checksum = "918d8f6deffeb380427e17bfc2d63c38f30e485af3a285faa6ca87d8c8a37a0d"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -1017,9 +1017,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.56.5"
+version = "0.57.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22cc5cd078806a1b7061fa146dc4228a57d0765da6c85e99500d069b86f57e94"
+checksum = "d92b3f2a5e042d3e7d21aab5896d3f02d657c4b3cae42aa2a5842ebd018ec194"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1030,9 +1030,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.56.5"
+version = "0.57.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e4722414ac21a2e28a16b76de8390672c01a39adcb703d405b848149cfaeeaf7"
+checksum = "864754f59a7965a83bf47c376f97ac1937dedd415c367f7e6b7d6499453aaad4"
dependencies = [
"bitflags",
"cow-utils",
@@ -1047,9 +1047,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.56.5"
+version = "0.57.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f1505d8622b2ea6ed0274f355bd5e4ee3f09df5d9b39c8a3a673f344d87b82a"
+checksum = "0f1b369ef5a746cfd3400047f0ec972d66fe75ee5ab5fbfa8f1699e7a3b86724"
dependencies = [
"proc-macro2",
"quote",
@@ -1058,9 +1058,9 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.56.5"
+version = "0.57.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cb49a2ee880952c2079b61851ecc35d7671d9d3509e306f5e704ccacd2783984"
+checksum = "3454bded31b396d75d4ebad5fbdc547ad544b47556b540925be24a874e1d87d8"
dependencies = [
"assert-unchecked",
"ropey",
@@ -1068,9 +1068,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.56.5"
+version = "0.57.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ea83fe2415b0580980ac83364c1ae943f8ee9c00becf5395a89e800a9526a080"
+checksum = "27cd28f66608e282c1384a877505d3678e099bc3cef6856bc55e2ef60f5344b2"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -1078,9 +1078,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.56.5"
+version = "0.57.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c7e7bcc382cf901e93a16f86e70f2737c507aaa833656b0d8484d64f8ae358a"
+checksum = "43b9a66f69c6dcc78bf1c164e1e98b4494ba71fbf1b17ebd8940b936902e68ec"
dependencies = [
"cow-utils",
"num-bigint",
@@ -1092,9 +1092,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.56.5"
+version = "0.57.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1cb66484735d21f096b07c894badc96d89a0c6d31b4bdd46b33b3e44da9b97ac"
+checksum = "5aa7a068d758764707466b733f92ad66bbe91d5c66ce562d868dff8a7ae72b09"
[[package]]
name = "oxc_index"
@@ -1104,9 +1104,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.56.5"
+version = "0.57.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7a7414e779b9723b0bd2880fe69b0ee517e583f88c5118a7c9053cf3317b95b1"
+checksum = "71d48cff62f816c27be1912d1d173140602214c8eec38f1e98e77270f39e0ce6"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1127,9 +1127,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.56.5"
+version = "0.57.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d18196c212eac24a7faf613e373e5f9317d3542578a088d01dc1a548fa1e1cb3"
+checksum = "3a49d5d6ede8d8740b25743a78c2fb45859099ba89d88425b1b3d6a433dda352"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1163,9 +1163,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.56.5"
+version = "0.57.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "318f925e26bd118adc082d290538d07611fe2434987a5c60cf5084381ecb42e6"
+checksum = "cf5d0e27b520397a9d0a99dfa21d9c29fa389f34719aff30f6c5468498d603d9"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1176,9 +1176,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.56.5"
+version = "0.57.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8cb68ceb7c6902f3043fe8fe49bb886826b1d7741dc2904337297d53692b1b9c"
+checksum = "e91fdded3cdce1641b8ee44a223be03dca3def248120cbe3fe0492a14bd8a744"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 5c3c7b8..938e69d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.56.5"
+oxc = "0.57.0"
swc_ecma_parser = { version = "10.0.1", features = ["typescript"] }
swc_ecma_ast = "8.0.0"
From 6d6b9c0ccc3e47daa61dab3694619851cb721dfb Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 13 Mar 2025 10:38:52 +0000
Subject: [PATCH 259/385] chore(deps): update rust crate oxc to 0.58.0 (#272)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 49 +++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 26 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index e7348b3..e914af3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -977,9 +977,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.57.0"
+version = "0.58.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "918d8f6deffeb380427e17bfc2d63c38f30e485af3a285faa6ca87d8c8a37a0d"
+checksum = "68df167eecf9d9d0c8f5e0a7daa7cc5fb1627df45f6e285b3e6726a7325dd458"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -1017,11 +1017,12 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.57.0"
+version = "0.58.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d92b3f2a5e042d3e7d21aab5896d3f02d657c4b3cae42aa2a5842ebd018ec194"
+checksum = "80925d1f320efc034e1af4b88057c7a115d5163c73c5543000cb1d9d40097457"
dependencies = [
"allocator-api2",
+ "assert-unchecked",
"bumpalo",
"hashbrown 0.15.2",
"rustc-hash 2.1.0",
@@ -1030,9 +1031,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.57.0"
+version = "0.58.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "864754f59a7965a83bf47c376f97ac1937dedd415c367f7e6b7d6499453aaad4"
+checksum = "c7d38367501a804dee978311c96d6740c65369347fbab4bb9def75c98faab640"
dependencies = [
"bitflags",
"cow-utils",
@@ -1047,9 +1048,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.57.0"
+version = "0.58.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0f1b369ef5a746cfd3400047f0ec972d66fe75ee5ab5fbfa8f1699e7a3b86724"
+checksum = "ab500f253c07b126d10b5b707ee6f40abdb1676f31a7e896684419ce1214f333"
dependencies = [
"proc-macro2",
"quote",
@@ -1058,9 +1059,9 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.57.0"
+version = "0.58.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3454bded31b396d75d4ebad5fbdc547ad544b47556b540925be24a874e1d87d8"
+checksum = "0863880597e1723b2c51d4212294010d3e5f600d82c6c2cb8aaf7e6bd9400732"
dependencies = [
"assert-unchecked",
"ropey",
@@ -1068,9 +1069,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.57.0"
+version = "0.58.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "27cd28f66608e282c1384a877505d3678e099bc3cef6856bc55e2ef60f5344b2"
+checksum = "c180f07354c135fc434766b905135443d88f2d8b392c0ec22c468df19db889ce"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -1078,9 +1079,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.57.0"
+version = "0.58.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "43b9a66f69c6dcc78bf1c164e1e98b4494ba71fbf1b17ebd8940b936902e68ec"
+checksum = "1539cce5d32af3b1bb496e219272c3c85ac1719b7c2ba08b98c4688c71f2067e"
dependencies = [
"cow-utils",
"num-bigint",
@@ -1092,9 +1093,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.57.0"
+version = "0.58.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5aa7a068d758764707466b733f92ad66bbe91d5c66ce562d868dff8a7ae72b09"
+checksum = "58fda7b4e0bc5b16cc64eb19c519f13982968211bb35a7cd7ec50188f9e020cb"
[[package]]
name = "oxc_index"
@@ -1104,9 +1105,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.57.0"
+version = "0.58.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "71d48cff62f816c27be1912d1d173140602214c8eec38f1e98e77270f39e0ce6"
+checksum = "eb503b32077fb3ee4466eae1d38e5360bc7bbe5d3e0d48b23bb7d26e556386de"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1127,9 +1128,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.57.0"
+version = "0.58.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3a49d5d6ede8d8740b25743a78c2fb45859099ba89d88425b1b3d6a433dda352"
+checksum = "6578e43fd0f44b6c1f00b9dc7aac0d65b8e85abb5b576aedd2f56ec37430837b"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1163,9 +1164,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.57.0"
+version = "0.58.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf5d0e27b520397a9d0a99dfa21d9c29fa389f34719aff30f6c5468498d603d9"
+checksum = "a7492a8a4c6e018a6156b6b8a69ff5ab48cc034f895563b40902d1a0e78bef04"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1176,9 +1177,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.57.0"
+version = "0.58.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e91fdded3cdce1641b8ee44a223be03dca3def248120cbe3fe0492a14bd8a744"
+checksum = "35c96f9478b96246f760b5cc54abf4044233fb6a52781e9cdc635b6dc5734752"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 938e69d..552595a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.57.0"
+oxc = "0.58.0"
swc_ecma_parser = { version = "10.0.1", features = ["typescript"] }
swc_ecma_ast = "8.0.0"
From 254171ef9560e561d1dadef54c22560fb8264e4b Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 13 Mar 2025 13:56:11 +0000
Subject: [PATCH 260/385] chore(deps): update rust crate oxc to 0.58.1 (#273)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index e914af3..ced3886 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -977,9 +977,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.58.0"
+version = "0.58.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "68df167eecf9d9d0c8f5e0a7daa7cc5fb1627df45f6e285b3e6726a7325dd458"
+checksum = "45dac9dff4aa3da5b483ec7f7180b0af4a82882c3b35e67c8f9221e117bf0c93"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -1017,9 +1017,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.58.0"
+version = "0.58.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "80925d1f320efc034e1af4b88057c7a115d5163c73c5543000cb1d9d40097457"
+checksum = "d9e49310ddfd3bc659d60b9f72bb0fbdb7b23f9bca5b4906056bf1d7d1a502d2"
dependencies = [
"allocator-api2",
"assert-unchecked",
@@ -1031,9 +1031,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.58.0"
+version = "0.58.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c7d38367501a804dee978311c96d6740c65369347fbab4bb9def75c98faab640"
+checksum = "54af74d151e1a61d57ec8699f1e8b6729d3817fe763c2ecbacb945822998ea3e"
dependencies = [
"bitflags",
"cow-utils",
@@ -1048,9 +1048,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.58.0"
+version = "0.58.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ab500f253c07b126d10b5b707ee6f40abdb1676f31a7e896684419ce1214f333"
+checksum = "d85874efff8c6b1f8b3adf8f3d8624e52ffab8a44da1e2e792de6a0303a9abb8"
dependencies = [
"proc-macro2",
"quote",
@@ -1059,9 +1059,9 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.58.0"
+version = "0.58.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0863880597e1723b2c51d4212294010d3e5f600d82c6c2cb8aaf7e6bd9400732"
+checksum = "f92e1c4325cef51dda4296fd92302a6c3117325609efb81ac3f0996e7e44977b"
dependencies = [
"assert-unchecked",
"ropey",
@@ -1069,9 +1069,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.58.0"
+version = "0.58.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c180f07354c135fc434766b905135443d88f2d8b392c0ec22c468df19db889ce"
+checksum = "4866163037145687f7197fb70bad1fd0c109e9e2f70659f3eb7f038cd3168bd6"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -1079,9 +1079,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.58.0"
+version = "0.58.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1539cce5d32af3b1bb496e219272c3c85ac1719b7c2ba08b98c4688c71f2067e"
+checksum = "d0fbfb5f543a10fb1264a5c24731ab700b5e6f7bedcc2c39792267039824216c"
dependencies = [
"cow-utils",
"num-bigint",
@@ -1093,9 +1093,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.58.0"
+version = "0.58.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "58fda7b4e0bc5b16cc64eb19c519f13982968211bb35a7cd7ec50188f9e020cb"
+checksum = "84fade441037d1c4f5929f278f7ed74bc5b5928f35f5bc27ffb569512762622d"
[[package]]
name = "oxc_index"
@@ -1105,9 +1105,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.58.0"
+version = "0.58.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eb503b32077fb3ee4466eae1d38e5360bc7bbe5d3e0d48b23bb7d26e556386de"
+checksum = "6b702c0462e5a67c845d7fafe236d8bb253ae0f4c8ff44a980b916a154862534"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1128,9 +1128,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.58.0"
+version = "0.58.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6578e43fd0f44b6c1f00b9dc7aac0d65b8e85abb5b576aedd2f56ec37430837b"
+checksum = "b672d8601f80b9828342e0a38f6cc6735a04e2e4251c0c46476df55842df711a"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1164,9 +1164,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.58.0"
+version = "0.58.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a7492a8a4c6e018a6156b6b8a69ff5ab48cc034f895563b40902d1a0e78bef04"
+checksum = "c059e07f57c3299f54dfed3ba2f58dcc183ad68102d1186f8a4c5f546a2b9c5e"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1177,9 +1177,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.58.0"
+version = "0.58.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "35c96f9478b96246f760b5cc54abf4044233fb6a52781e9cdc635b6dc5734752"
+checksum = "2888043d4a47ee54903a229f3cfbab1126223c9b819505e900485993467a04d1"
dependencies = [
"assert-unchecked",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 552595a..0830337 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.58.0"
+oxc = "0.58.1"
swc_ecma_parser = { version = "10.0.1", features = ["typescript"] }
swc_ecma_ast = "8.0.0"
From 0d146c854ab215d111284d161eb491037dcc1382 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 17 Mar 2025 20:21:07 +0000
Subject: [PATCH 261/385] chore(deps): update rust crate swc_ecma_ast to 8.0.1
(#275)
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 ced3886..b57274e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1677,9 +1677,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "8.0.0"
+version = "8.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c66db1e9b31f0f91ee0964aba014b4d2dfdc6c558732d106d762b43bedad2c4a"
+checksum = "22b5c514e22bcd65176a356c0bd2de295881b97079a45b991b98c4dca666ac78"
dependencies = [
"bitflags",
"is-macro",
diff --git a/Cargo.toml b/Cargo.toml
index 0830337..be6f73f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -30,7 +30,7 @@ doctest = false
oxc = "0.58.1"
swc_ecma_parser = { version = "10.0.1", features = ["typescript"] }
-swc_ecma_ast = "8.0.0"
+swc_ecma_ast = "8.0.1"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From 49efaa8b620e165ab7a7215a0b05c85fc798d622 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 18 Mar 2025 07:15:59 +0000
Subject: [PATCH 262/385] chore(deps): update rust crate oxc to 0.59.0 (#276)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 92 +++++++++++++++++++++++++++++++++---------------------
Cargo.toml | 2 +-
2 files changed, 57 insertions(+), 37 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index b57274e..efec925 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -411,9 +411,9 @@ dependencies = [
[[package]]
name = "compact_str"
-version = "0.8.1"
+version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3b79c4069c6cad78e2e0cdfcbd26275770669fb39fd308a752dc110e83b9af32"
+checksum = "3fdb1325a1cece981e8a296ab8f0f9b63ae357bd0784a9faaf548cc7b480707a"
dependencies = [
"castaway",
"cfg-if",
@@ -977,9 +977,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.58.1"
+version = "0.59.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "45dac9dff4aa3da5b483ec7f7180b0af4a82882c3b35e67c8f9221e117bf0c93"
+checksum = "3450d83230a947ad5f113218c99a07547092cf55832f1c274cedf9f6c3c439cc"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -992,23 +992,23 @@ dependencies = [
[[package]]
name = "oxc-miette"
-version = "1.0.2"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e03e63fd113c068b82d07c9c614b0b146c08a3ac0a4dface3ea1d1a9d14d549e"
+checksum = "112f8458565c773a1f6555c14d6cd0255f56c85dd372932029e4baeb15308bbe"
dependencies = [
"cfg-if",
"owo-colors",
"oxc-miette-derive",
"textwrap",
- "thiserror",
+ "thiserror 2.0.12",
"unicode-width 0.2.0",
]
[[package]]
name = "oxc-miette-derive"
-version = "1.0.2"
+version = "2.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e21f680e8c5f1900297d394627d495351b9e37761f7bbf90116bd5eeb6e80967"
+checksum = "4c0c893f53900e3fe01eca3d6d3b54085573c3e48fe25af9d57dd94ef600dcd3"
dependencies = [
"proc-macro2",
"quote",
@@ -1017,9 +1017,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.58.1"
+version = "0.59.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d9e49310ddfd3bc659d60b9f72bb0fbdb7b23f9bca5b4906056bf1d7d1a502d2"
+checksum = "32b0d909c1a67e51287827be1ad994685979ae0cf33f4670abb8b049fee99d4d"
dependencies = [
"allocator-api2",
"assert-unchecked",
@@ -1031,9 +1031,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.58.1"
+version = "0.59.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "54af74d151e1a61d57ec8699f1e8b6729d3817fe763c2ecbacb945822998ea3e"
+checksum = "722e4a2eab97c1601d7243739fdff21a2faf121ad122c1bc906ed1b4ac1320d6"
dependencies = [
"bitflags",
"cow-utils",
@@ -1048,9 +1048,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.58.1"
+version = "0.59.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d85874efff8c6b1f8b3adf8f3d8624e52ffab8a44da1e2e792de6a0303a9abb8"
+checksum = "49f626209f8d2180b3a380e3137fa8eedfbb459259c220ed494b8309036cdf04"
dependencies = [
"proc-macro2",
"quote",
@@ -1059,9 +1059,9 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.58.1"
+version = "0.59.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f92e1c4325cef51dda4296fd92302a6c3117325609efb81ac3f0996e7e44977b"
+checksum = "a099529d6404a3b640e3799373c6afa8d24d8180e0ddb973cc4a6688a0bf12ed"
dependencies = [
"assert-unchecked",
"ropey",
@@ -1069,9 +1069,9 @@ dependencies = [
[[package]]
name = "oxc_diagnostics"
-version = "0.58.1"
+version = "0.59.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4866163037145687f7197fb70bad1fd0c109e9e2f70659f3eb7f038cd3168bd6"
+checksum = "74c7b05b5239a3be5d2fa27c22bc5ce461e710bc3a4c1c2c6da12202476280d9"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -1079,9 +1079,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.58.1"
+version = "0.59.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d0fbfb5f543a10fb1264a5c24731ab700b5e6f7bedcc2c39792267039824216c"
+checksum = "12cc8a0f5b846fe5899e10aca532ef14c93be3c6e9b65d7ea93cfb7f70eccf42"
dependencies = [
"cow-utils",
"num-bigint",
@@ -1093,9 +1093,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.58.1"
+version = "0.59.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "84fade441037d1c4f5929f278f7ed74bc5b5928f35f5bc27ffb569512762622d"
+checksum = "bc725c40cdb1f167866c8afbcb6d64adf50424560b66ea304ecd7b64e2a850a4"
[[package]]
name = "oxc_index"
@@ -1105,9 +1105,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.58.1"
+version = "0.59.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6b702c0462e5a67c845d7fafe236d8bb253ae0f4c8ff44a980b916a154862534"
+checksum = "5ba3ad449b46bffd0cf6f7d8d26ad9613d805afe4451fce01b9610ea60a5456d"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1128,9 +1128,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.58.1"
+version = "0.59.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b672d8601f80b9828342e0a38f6cc6735a04e2e4251c0c46476df55842df711a"
+checksum = "b3f567257c9421b28b3b8980a01634059344413409f1544cfd03cfb6b1088800"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1158,15 +1158,15 @@ dependencies = [
"serde",
"serde_json",
"simdutf8",
- "thiserror",
+ "thiserror 1.0.69",
"tracing",
]
[[package]]
name = "oxc_span"
-version = "0.58.1"
+version = "0.59.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c059e07f57c3299f54dfed3ba2f58dcc183ad68102d1186f8a4c5f546a2b9c5e"
+checksum = "062af58ed6268207078a1ea7ddb058841e28cfb321026677d041bb616af5cc06"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1177,9 +1177,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.58.1"
+version = "0.59.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2888043d4a47ee54903a229f3cfbab1126223c9b819505e900485993467a04d1"
+checksum = "adc38de0912fc0b71e561e2e09fd7bdaeba91f8247b35322e5b9d27dd4b67823"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1792,13 +1792,13 @@ dependencies = [
[[package]]
name = "textwrap"
-version = "0.16.1"
+version = "0.16.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9"
+checksum = "c13547615a44dc9c452a8a534638acdf07120d4b6847c8178705da06306a3057"
dependencies = [
"smawk",
"unicode-linebreak",
- "unicode-width 0.1.14",
+ "unicode-width 0.2.0",
]
[[package]]
@@ -1807,7 +1807,16 @@ version = "1.0.69"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
dependencies = [
- "thiserror-impl",
+ "thiserror-impl 1.0.69",
+]
+
+[[package]]
+name = "thiserror"
+version = "2.0.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708"
+dependencies = [
+ "thiserror-impl 2.0.12",
]
[[package]]
@@ -1821,6 +1830,17 @@ dependencies = [
"syn 2.0.90",
]
+[[package]]
+name = "thiserror-impl"
+version = "2.0.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.90",
+]
+
[[package]]
name = "tinystr"
version = "0.7.6"
diff --git a/Cargo.toml b/Cargo.toml
index be6f73f..71107d3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.58.1"
+oxc = "0.59.0"
swc_ecma_parser = { version = "10.0.1", features = ["typescript"] }
swc_ecma_ast = "8.0.1"
From 3f338963aefa51c5e75d0a17a56ed1d11060b818 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 18 Mar 2025 20:51:47 +0800
Subject: [PATCH 263/385] chore(deps): update github-actions (#274)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.github/workflows/benchmark.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml
index 6bedf7a..4d0c04a 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -25,7 +25,7 @@ jobs:
name: Benchmark
runs-on: ubuntu-latest
steps:
- - uses: taiki-e/checkout-action@v1
+ - uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1
- uses: Boshen/setup-rust@main
with:
@@ -36,7 +36,7 @@ jobs:
run: cargo codspeed build --features codspeed
- name: Run benchmark
- uses: CodSpeedHQ/action@v3
+ uses: CodSpeedHQ/action@0010eb0ca6e89b80c88e8edaaa07cfe5f3e6664d # v3.5.0
with:
run: cargo codspeed run
token: ${{ secrets.CODSPEED_TOKEN }}
From 70ed96beb22fcb26d1bd30f7b6d7a745b7a201e1 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 18 Mar 2025 13:02:35 +0000
Subject: [PATCH 264/385] chore(deps): update rust crate oxc to 0.60.0 (#277)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 68 +++++++++++++++++++-----------------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 45 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index efec925..c6bb38a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -977,9 +977,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.59.0"
+version = "0.60.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3450d83230a947ad5f113218c99a07547092cf55832f1c274cedf9f6c3c439cc"
+checksum = "3ceb3e662702022eb9714815de93b138d63e165c6773c1fcaf39e086ef9932ed"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -1017,9 +1017,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.59.0"
+version = "0.60.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32b0d909c1a67e51287827be1ad994685979ae0cf33f4670abb8b049fee99d4d"
+checksum = "0fb8b78d9f70b5123bb01212458971da4cf0f796ad131602864df51d779290df"
dependencies = [
"allocator-api2",
"assert-unchecked",
@@ -1031,9 +1031,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.59.0"
+version = "0.60.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "722e4a2eab97c1601d7243739fdff21a2faf121ad122c1bc906ed1b4ac1320d6"
+checksum = "d5cae7318a452457a303b688a1d12735e72e122114ac76bffa029ee34a5d0292"
dependencies = [
"bitflags",
"cow-utils",
@@ -1048,9 +1048,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.59.0"
+version = "0.60.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "49f626209f8d2180b3a380e3137fa8eedfbb459259c220ed494b8309036cdf04"
+checksum = "9ef30e196e021dcf6afd96417b9cd0fe223f0e517107aafdac9648022b280c1f"
dependencies = [
"proc-macro2",
"quote",
@@ -1059,19 +1059,15 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.59.0"
+version = "0.60.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a099529d6404a3b640e3799373c6afa8d24d8180e0ddb973cc4a6688a0bf12ed"
-dependencies = [
- "assert-unchecked",
- "ropey",
-]
+checksum = "1c5ff1571a7cbbaa30abd7dd624274b2fa67bf896d3121e8a0fff2ae50fa889a"
[[package]]
name = "oxc_diagnostics"
-version = "0.59.0"
+version = "0.60.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "74c7b05b5239a3be5d2fa27c22bc5ce461e710bc3a4c1c2c6da12202476280d9"
+checksum = "8c44fd92c6601ec6c5d02b210a8196027a0e49eebcc5ea7bcef2efe3c697ad64"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -1079,9 +1075,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.59.0"
+version = "0.60.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "12cc8a0f5b846fe5899e10aca532ef14c93be3c6e9b65d7ea93cfb7f70eccf42"
+checksum = "008ecf89e067b5ab8f5e1ac5890059f7c3cd5c9a8ae2db8ef4560dc93f53f01c"
dependencies = [
"cow-utils",
"num-bigint",
@@ -1093,9 +1089,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.59.0"
+version = "0.60.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bc725c40cdb1f167866c8afbcb6d64adf50424560b66ea304ecd7b64e2a850a4"
+checksum = "0e3ec988abe93acf6e99a5ddc3d08116977426fe64c78ed4d5d55852cdf13e14"
[[package]]
name = "oxc_index"
@@ -1105,9 +1101,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.59.0"
+version = "0.60.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5ba3ad449b46bffd0cf6f7d8d26ad9613d805afe4451fce01b9610ea60a5456d"
+checksum = "b70aae5a851f227bde01ffe9d6ad7b00cf1b836f62c9ea089da8372f4a30c78c"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1128,9 +1124,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.59.0"
+version = "0.60.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b3f567257c9421b28b3b8980a01634059344413409f1544cfd03cfb6b1088800"
+checksum = "7ed30ec210725f78e8f8c8d1cf597af11b40f18a62d4be5b97d3366ef0baee01"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1164,9 +1160,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.59.0"
+version = "0.60.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "062af58ed6268207078a1ea7ddb058841e28cfb321026677d041bb616af5cc06"
+checksum = "d1d4588fc61610c944557dc5b40a93ddbf497a98717f660f2258253ead7978a9"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1177,9 +1173,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.59.0"
+version = "0.60.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "adc38de0912fc0b71e561e2e09fd7bdaeba91f8247b35322e5b9d27dd4b67823"
+checksum = "c8584c190328b5841abeeeba41342f4a187979eb75098fd506e522927c725211"
dependencies = [
"assert-unchecked",
"bitflags",
@@ -1383,16 +1379,6 @@ version = "0.4.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
-[[package]]
-name = "ropey"
-version = "1.6.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93411e420bcd1a75ddd1dc3caf18c23155eda2c090631a85af21ba19e97093b5"
-dependencies = [
- "smallvec",
- "str_indices",
-]
-
[[package]]
name = "rustc-demangle"
version = "0.1.24"
@@ -1606,12 +1592,6 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
-[[package]]
-name = "str_indices"
-version = "0.4.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d08889ec5408683408db66ad89e0e1f93dff55c73a4ccc71c427d5b277ee47e6"
-
[[package]]
name = "string_enum"
version = "1.0.0"
diff --git a/Cargo.toml b/Cargo.toml
index 71107d3..076cc50 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.59.0"
+oxc = "0.60.0"
swc_ecma_parser = { version = "10.0.1", features = ["typescript"] }
swc_ecma_ast = "8.0.1"
From 51ea7cd2e23ca4d7dab53df4ee70c9ea26d500ff Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 20 Mar 2025 16:57:18 +0000
Subject: [PATCH 265/385] chore(deps): update rust crate oxc to 0.61.0 (#278)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 64 +++++++++++++++++++++++++-----------------------------
Cargo.toml | 2 +-
2 files changed, 30 insertions(+), 36 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index c6bb38a..4cdca9d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -41,12 +41,6 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "735d4f398ca57cfa2880225c2bf81c3b9af3be5bb22e44ae70118dad38713e84"
-[[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 = "3.0.0"
@@ -977,9 +971,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.60.0"
+version = "0.61.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ceb3e662702022eb9714815de93b138d63e165c6773c1fcaf39e086ef9932ed"
+checksum = "e398ac9650c77d6a43e7f5ed5315c3cae33fd1f84666acd0a55719c8da1555b3"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -992,9 +986,9 @@ dependencies = [
[[package]]
name = "oxc-miette"
-version = "2.2.0"
+version = "2.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "112f8458565c773a1f6555c14d6cd0255f56c85dd372932029e4baeb15308bbe"
+checksum = "b8c278d00ecc50ee84aba4768a7ab74eb325dff4dca8c0581495b850d53480ba"
dependencies = [
"cfg-if",
"owo-colors",
@@ -1017,23 +1011,23 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.60.0"
+version = "0.61.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0fb8b78d9f70b5123bb01212458971da4cf0f796ad131602864df51d779290df"
+checksum = "36dd2ba553043fd1cf1f92fb4d685a9a58afcc4f2692e85ebf84e242e6492909"
dependencies = [
"allocator-api2",
- "assert-unchecked",
"bumpalo",
"hashbrown 0.15.2",
+ "oxc_data_structures",
"rustc-hash 2.1.0",
"simdutf8",
]
[[package]]
name = "oxc_ast"
-version = "0.60.0"
+version = "0.61.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d5cae7318a452457a303b688a1d12735e72e122114ac76bffa029ee34a5d0292"
+checksum = "fd0607fb00e5f2413b5a99b36eff638b7db57e69149e98ac693d2aaa500d1d26"
dependencies = [
"bitflags",
"cow-utils",
@@ -1048,9 +1042,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.60.0"
+version = "0.61.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9ef30e196e021dcf6afd96417b9cd0fe223f0e517107aafdac9648022b280c1f"
+checksum = "cf0d4b6faf22509c64f78d4a0a0bb760f6ba34fe7acdcb421b57fdc32482867e"
dependencies = [
"proc-macro2",
"quote",
@@ -1059,15 +1053,15 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.60.0"
+version = "0.61.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1c5ff1571a7cbbaa30abd7dd624274b2fa67bf896d3121e8a0fff2ae50fa889a"
+checksum = "a47c43341de573281bc1883b4cdb36dd9c8c11e56a7d6fda0b8335471add52d2"
[[package]]
name = "oxc_diagnostics"
-version = "0.60.0"
+version = "0.61.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8c44fd92c6601ec6c5d02b210a8196027a0e49eebcc5ea7bcef2efe3c697ad64"
+checksum = "0f5ce8bc7ebc0fa2c2bd94d526a92636e8622f879a9dd9a41b6c77c12a2b2408"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -1075,9 +1069,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.60.0"
+version = "0.61.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "008ecf89e067b5ab8f5e1ac5890059f7c3cd5c9a8ae2db8ef4560dc93f53f01c"
+checksum = "8ce89c6c2764fa6ad1f929a91e09614943fe7a25df1d288d38acae0302581b8f"
dependencies = [
"cow-utils",
"num-bigint",
@@ -1089,9 +1083,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.60.0"
+version = "0.61.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0e3ec988abe93acf6e99a5ddc3d08116977426fe64c78ed4d5d55852cdf13e14"
+checksum = "a7a4f605c6f6460d2cb659bb1c2273244ebf8c07bae4155274fa2461d7e0ec35"
[[package]]
name = "oxc_index"
@@ -1101,11 +1095,10 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.60.0"
+version = "0.61.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b70aae5a851f227bde01ffe9d6ad7b00cf1b836f62c9ea089da8372f4a30c78c"
+checksum = "6b633fe51f19c4da6f3cd6fd0885e3a9e12f19317487a477fea0f73892713083"
dependencies = [
- "assert-unchecked",
"bitflags",
"cow-utils",
"memchr",
@@ -1113,6 +1106,7 @@ dependencies = [
"num-traits",
"oxc_allocator",
"oxc_ast",
+ "oxc_data_structures",
"oxc_diagnostics",
"oxc_ecmascript",
"oxc_regular_expression",
@@ -1124,9 +1118,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.60.0"
+version = "0.61.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7ed30ec210725f78e8f8c8d1cf597af11b40f18a62d4be5b97d3366ef0baee01"
+checksum = "b35b1a9babb738e4d99cfc0ef8ad242806d261de028b400a3205afdf7a9a1c03"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1160,9 +1154,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.60.0"
+version = "0.61.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d1d4588fc61610c944557dc5b40a93ddbf497a98717f660f2258253ead7978a9"
+checksum = "7c2940d9a7446ddbe554bf0aa3cd111e6bf7c2dd29460da6673cde9b1c7be77f"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1173,16 +1167,16 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.60.0"
+version = "0.61.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8584c190328b5841abeeeba41342f4a187979eb75098fd506e522927c725211"
+checksum = "fd9d42c1d620a1da919ec6b56c4476054d4d2c71423c08effbc3a0519c516b61"
dependencies = [
- "assert-unchecked",
"bitflags",
"cow-utils",
"nonmax",
"oxc_allocator",
"oxc_ast_macros",
+ "oxc_data_structures",
"oxc_estree",
"oxc_index",
"oxc_span",
diff --git a/Cargo.toml b/Cargo.toml
index 076cc50..f730a31 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.60.0"
+oxc = "0.61.0"
swc_ecma_parser = { version = "10.0.1", features = ["typescript"] }
swc_ecma_ast = "8.0.1"
From 63084a2dbab4b19d8f0fa912143885cb7c9e72b9 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 21 Mar 2025 06:17:32 +0000
Subject: [PATCH 266/385] chore(deps): update rust crate oxc to 0.61.1 (#279)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 4cdca9d..10c036f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -971,9 +971,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.61.0"
+version = "0.61.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e398ac9650c77d6a43e7f5ed5315c3cae33fd1f84666acd0a55719c8da1555b3"
+checksum = "d6f2d8bbd880aaaf838456ce101c59d926a762b6a891ef91402794e9dc8d2c2c"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -1011,9 +1011,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.61.0"
+version = "0.61.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "36dd2ba553043fd1cf1f92fb4d685a9a58afcc4f2692e85ebf84e242e6492909"
+checksum = "fe07aea78e1e1a860d92cfe1b712f81ba10960dee847c6231fa4e9b0665ec5ff"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1025,9 +1025,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.61.0"
+version = "0.61.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fd0607fb00e5f2413b5a99b36eff638b7db57e69149e98ac693d2aaa500d1d26"
+checksum = "062ec80f1ed9471bc05f57bd481bd4921285373b57018f3028aed49cb3ac353f"
dependencies = [
"bitflags",
"cow-utils",
@@ -1042,9 +1042,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.61.0"
+version = "0.61.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf0d4b6faf22509c64f78d4a0a0bb760f6ba34fe7acdcb421b57fdc32482867e"
+checksum = "41e79130c01eaddff0274d504404f80d88835ed70fcc1e91f9c9fd42fd718202"
dependencies = [
"proc-macro2",
"quote",
@@ -1053,15 +1053,15 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.61.0"
+version = "0.61.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a47c43341de573281bc1883b4cdb36dd9c8c11e56a7d6fda0b8335471add52d2"
+checksum = "e4c79e0d91ca11d4add13d94f802096564babb2c609956a8e19eb6f83b7f0fb1"
[[package]]
name = "oxc_diagnostics"
-version = "0.61.0"
+version = "0.61.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0f5ce8bc7ebc0fa2c2bd94d526a92636e8622f879a9dd9a41b6c77c12a2b2408"
+checksum = "b127d339db14984b22bf4255a2583c1be2cd709b1b14f64e3ce4cb5fe87c699d"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -1069,9 +1069,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.61.0"
+version = "0.61.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ce89c6c2764fa6ad1f929a91e09614943fe7a25df1d288d38acae0302581b8f"
+checksum = "522b7c4d6db500536be627e1d3952cf26705328e77a4d819a2543c2392b702eb"
dependencies = [
"cow-utils",
"num-bigint",
@@ -1083,9 +1083,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.61.0"
+version = "0.61.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a7a4f605c6f6460d2cb659bb1c2273244ebf8c07bae4155274fa2461d7e0ec35"
+checksum = "7190d1db8c149324345b14588f24a318712498fde1741513c3a129731ef6b4f9"
[[package]]
name = "oxc_index"
@@ -1095,9 +1095,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.61.0"
+version = "0.61.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6b633fe51f19c4da6f3cd6fd0885e3a9e12f19317487a477fea0f73892713083"
+checksum = "afda2c4a47704ff4c68990248be9f693f606626cff1c6d1760034638b54c5413"
dependencies = [
"bitflags",
"cow-utils",
@@ -1118,9 +1118,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.61.0"
+version = "0.61.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b35b1a9babb738e4d99cfc0ef8ad242806d261de028b400a3205afdf7a9a1c03"
+checksum = "a4354d5b5f48d53cc0d4d000425ec062b12e9b3fbcf395e765064c8eab113921"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1154,9 +1154,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.61.0"
+version = "0.61.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7c2940d9a7446ddbe554bf0aa3cd111e6bf7c2dd29460da6673cde9b1c7be77f"
+checksum = "77b073cb1349f33e04d821e4fd1e51c860a010d74fea0b4660504cb05a87968a"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1167,9 +1167,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.61.0"
+version = "0.61.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fd9d42c1d620a1da919ec6b56c4476054d4d2c71423c08effbc3a0519c516b61"
+checksum = "488a2404fca5b741255b8b875e8f6515f5b08df6046a0767b2368d6182e055cb"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index f730a31..12fda1d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.61.0"
+oxc = "0.61.1"
swc_ecma_parser = { version = "10.0.1", features = ["typescript"] }
swc_ecma_ast = "8.0.1"
From 4582eccf8b531160e83612179ace4a333385a546 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 23 Mar 2025 05:27:03 +0000
Subject: [PATCH 267/385] chore(deps): update dependency rust to v1.85.1 (#280)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
rust-toolchain.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
index 3a44591..54b75dd 100644
--- a/rust-toolchain.toml
+++ b/rust-toolchain.toml
@@ -1,3 +1,3 @@
[toolchain]
-channel = "1.85.0"
+channel = "1.85.1"
profile = "minimal"
From 0019d94b5bb05d59e4b0a45f5c9f3c4d0d1598ab Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 23 Mar 2025 15:05:33 +0000
Subject: [PATCH 268/385] chore(deps): update rust crate oxc to 0.61.2 (#281)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 10c036f..7e817d0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -971,9 +971,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
-version = "0.61.1"
+version = "0.61.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d6f2d8bbd880aaaf838456ce101c59d926a762b6a891ef91402794e9dc8d2c2c"
+checksum = "168b1a326fbaa84d2676e7a4a2caa38159dc73a1a79fc2c941d6c927017f9988"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -1011,9 +1011,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.61.1"
+version = "0.61.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fe07aea78e1e1a860d92cfe1b712f81ba10960dee847c6231fa4e9b0665ec5ff"
+checksum = "d8c1b219017c1a795eb9e66fdc53a333250ddcc9313bdaf5c61763b158d9fa01"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1025,9 +1025,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.61.1"
+version = "0.61.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "062ec80f1ed9471bc05f57bd481bd4921285373b57018f3028aed49cb3ac353f"
+checksum = "12e8a9ca9803ee5ef305cefece112310134314efd3ac34c163f6f402a6507b77"
dependencies = [
"bitflags",
"cow-utils",
@@ -1042,9 +1042,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.61.1"
+version = "0.61.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "41e79130c01eaddff0274d504404f80d88835ed70fcc1e91f9c9fd42fd718202"
+checksum = "a195ff8ee822a4b379b72cf286daa4c5d0f6f8019f5e684aa72d6e22e6fa76c0"
dependencies = [
"proc-macro2",
"quote",
@@ -1053,15 +1053,15 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.61.1"
+version = "0.61.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e4c79e0d91ca11d4add13d94f802096564babb2c609956a8e19eb6f83b7f0fb1"
+checksum = "1f900d7dd5b949a9f932fc879a502872bdd0f97fd64687b043ce666aed791a52"
[[package]]
name = "oxc_diagnostics"
-version = "0.61.1"
+version = "0.61.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b127d339db14984b22bf4255a2583c1be2cd709b1b14f64e3ce4cb5fe87c699d"
+checksum = "c10347b7697378df6511a69d741e43cb7f44e7b3905968192155fb00f70f9798"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -1069,9 +1069,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.61.1"
+version = "0.61.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "522b7c4d6db500536be627e1d3952cf26705328e77a4d819a2543c2392b702eb"
+checksum = "4fa3e9658c86472c3b4f9f7224e86d19f46f5d2563c0095fe33d16912e411c1d"
dependencies = [
"cow-utils",
"num-bigint",
@@ -1083,9 +1083,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.61.1"
+version = "0.61.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7190d1db8c149324345b14588f24a318712498fde1741513c3a129731ef6b4f9"
+checksum = "9e75c3e574a80f5a9e8bded32106de9dac8a365894fd9041bbe93dd637d4b6ba"
[[package]]
name = "oxc_index"
@@ -1095,9 +1095,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.61.1"
+version = "0.61.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "afda2c4a47704ff4c68990248be9f693f606626cff1c6d1760034638b54c5413"
+checksum = "0c22ed71e7949ecebfc6ff4b3ab3766832272820f7cdc84c7a63cbc9baa9b1f0"
dependencies = [
"bitflags",
"cow-utils",
@@ -1118,9 +1118,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.61.1"
+version = "0.61.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a4354d5b5f48d53cc0d4d000425ec062b12e9b3fbcf395e765064c8eab113921"
+checksum = "3598388c5f829b09433c373b348346b96705cd1bff390b45008721cce9d41091"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1154,9 +1154,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.61.1"
+version = "0.61.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "77b073cb1349f33e04d821e4fd1e51c860a010d74fea0b4660504cb05a87968a"
+checksum = "1c6c44a4a4c5d0877d117e268fa88e1242c921fa800b33d6f5aae04fcfe13dd4"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1167,9 +1167,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.61.1"
+version = "0.61.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "488a2404fca5b741255b8b875e8f6515f5b08df6046a0767b2368d6182e055cb"
+checksum = "67c42d761b4233ce1d162d5c76929486794062cc04453ad047826f4ae986640d"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index 12fda1d..8c3f0ce 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.61.1"
+oxc = "0.61.2"
swc_ecma_parser = { version = "10.0.1", features = ["typescript"] }
swc_ecma_ast = "8.0.1"
From 0b0c0dfe47ff6627617f3db001d5fb7e9b28f6b1 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 23 Mar 2025 18:51:43 +0000
Subject: [PATCH 269/385] chore(deps): update swc (#282)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 12 ++++++------
Cargo.toml | 4 ++--
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 7e817d0..a2d4e25 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1625,9 +1625,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "8.0.0"
+version = "8.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "26fbd21a1179166b5635d4b7a6b5930cf34b803a7361e0297b04f84dc820db04"
+checksum = "9e4a932c152e7142de2d5dba1c393e5523c47cd8fe656e5b0d411954bbaf1810"
dependencies = [
"ast_node",
"better_scoped_tls",
@@ -1651,9 +1651,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "8.0.1"
+version = "8.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22b5c514e22bcd65176a356c0bd2de295881b97079a45b991b98c4dca666ac78"
+checksum = "ebcf9d10c29e289e459e414e21ed8443d8a58625d98b7e716fe295f457f103b5"
dependencies = [
"bitflags",
"is-macro",
@@ -1669,9 +1669,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "10.0.1"
+version = "10.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9576fd56e613f83990190778878139ab1a8d5ff0b316318ba34204407a0142a2"
+checksum = "edfbfa5baabd14901a310f9d55d991625787d27d94de5c38a1a2ef85ebc19c97"
dependencies = [
"either",
"new_debug_unreachable",
diff --git a/Cargo.toml b/Cargo.toml
index 8c3f0ce..2e005e4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ doctest = false
[dependencies]
oxc = "0.61.2"
-swc_ecma_parser = { version = "10.0.1", features = ["typescript"] }
-swc_ecma_ast = "8.0.1"
+swc_ecma_parser = { version = "10.0.2", features = ["typescript"] }
+swc_ecma_ast = "8.0.2"
biome_js_parser = "0.5.7"
biome_js_syntax = "0.5.7"
From 384f1997de5c2d16e732e98b36624d17b80ea126 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 24 Mar 2025 09:08:12 +0800
Subject: [PATCH 270/385] chore(deps): lock file maintenance rust crates (#283)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 479 +++++++++++++++++++++++++----------------------------
1 file changed, 229 insertions(+), 250 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index a2d4e25..0ab0a17 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -50,7 +50,7 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.90",
+ "syn 2.0.100",
]
[[package]]
@@ -71,7 +71,7 @@ dependencies = [
"miniz_oxide",
"object",
"rustc-demangle",
- "windows-targets 0.52.6",
+ "windows-targets",
]
[[package]]
@@ -100,9 +100,9 @@ dependencies = [
[[package]]
name = "biome_console"
-version = "0.5.7"
+version = "0.5.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c672a9e31e47f8df74549a570ea3245a93ce3404115c724bb16762fcbbfe17e1"
+checksum = "678dfa9a976d1978c136ecddcdf9e9f4947aee7ef2003b4b988dfc78606bfd79"
dependencies = [
"biome_markup",
"biome_text_size",
@@ -115,9 +115,9 @@ dependencies = [
[[package]]
name = "biome_diagnostics"
-version = "0.5.7"
+version = "0.5.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fe1317b6d610541c4e6a0e1f803a946f153ace3468bbc77a8f273dcb04ee526f"
+checksum = "ef09f4f5e519a73f1a36c0ffbf0a68ac844bf1a6eb3e9ced215a3d0c5b1319e7"
dependencies = [
"backtrace",
"biome_console",
@@ -126,10 +126,12 @@ dependencies = [
"biome_rowan",
"biome_text_edit",
"biome_text_size",
- "bitflags",
"bpaf",
+ "enumflags2",
"oxc_resolver",
"serde",
+ "serde_ini",
+ "serde_json",
"termcolor",
"unicode-width 0.1.14",
]
@@ -216,37 +218,38 @@ dependencies = [
[[package]]
name = "biome_parser"
-version = "0.5.7"
+version = "0.5.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "955dd999f32c086371d5c0e64b4ea1a50f50c98f1f31a3b9fe17ef47198de19b"
+checksum = "811bb6840896a74483426ec61b9727731d6222caa3c09a0440c20d662cd1367e"
dependencies = [
"biome_console",
"biome_diagnostics",
"biome_rowan",
- "bitflags",
+ "biome_unicode_table",
"drop_bomb",
+ "enumflags2",
+ "unicode-bom",
]
[[package]]
name = "biome_rowan"
-version = "0.5.7"
+version = "0.5.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d3c2dc25a7ba6ae89526340034abed6c89fac35b79060786771e32ed4aac77e7"
+checksum = "5ee4442bc598e3baead7453c4070b8b326f3b54287a583105d6ffd13c28b3ef0"
dependencies = [
"biome_text_edit",
"biome_text_size",
"countme",
- "hashbrown 0.12.3",
- "memoffset",
- "rustc-hash 1.1.0",
+ "hashbrown 0.14.5",
+ "rustc-hash 2.1.1",
"tracing",
]
[[package]]
name = "biome_text_edit"
-version = "0.5.7"
+version = "0.5.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d486fdd96d5dad6428213ce64e6b9eb5bfb2fce6387fe901e844d386283de509"
+checksum = "a5b42189daa66f0dd20af2a4dd405c28ccf4f5a687c08a5fa4d8e1b31ce2295b"
dependencies = [
"biome_text_size",
"serde",
@@ -255,50 +258,50 @@ dependencies = [
[[package]]
name = "biome_text_size"
-version = "0.5.7"
+version = "0.5.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5ec604d15cefdced636255400359aeacfdea5d1e79445efc7aa32a0de7f0319b"
+checksum = "672627531edd258f1a9ecdd9bd5ff3ea6c36768622ce2cedc12dc03cb51605c9"
dependencies = [
"serde",
]
[[package]]
name = "biome_unicode_table"
-version = "0.5.7"
+version = "0.5.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "87e8604d34b02180a58af1dbdaac166f1805f27f5370934142a3246f83870952"
+checksum = "cb9696fda489e25051248bad5a73bdd53f8d063dc3a7f4a71d4c6aadf6fbcb18"
[[package]]
name = "bitflags"
-version = "2.8.0"
+version = "2.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f68f53c83ab957f72c32642f3868eec03eb974d1fb82e453128456482613d36"
+checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd"
[[package]]
name = "bpaf"
-version = "0.9.16"
+version = "0.9.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "913d667d4716acd286a0dc58824a4c0ec8ce58eeca95cfb58172d17a9ec01035"
+checksum = "4848ed5727d39a7573551c205bcb1ccd88c8cad4ed2c80f62e2316f208196b8d"
dependencies = [
"bpaf_derive",
]
[[package]]
name = "bpaf_derive"
-version = "0.5.16"
+version = "0.5.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "34d8a24f809c4cda0832689019daa067d0ae927d801429196b238a3e8cb0cd3e"
+checksum = "fefb4feeec9a091705938922f26081aad77c64cd2e76cd1c4a9ece8e42e1618a"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.100",
]
[[package]]
name = "bstr"
-version = "1.11.0"
+version = "1.11.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1a68f1f47cdf0ec8ee4b941b2eee2a80cb796db73118c0dd09ac63fbe405be22"
+checksum = "531a9155a481e2ee699d4f98f43c0ca4ff8ee1bfd55c31e9e98fb29d2b176fe0"
dependencies = [
"memchr",
"regex-automata",
@@ -331,9 +334,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.2.3"
+version = "1.2.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "27f657647bcff5394bf56c7317665bbf790a137a50eaaa5c6bfbb9e27a518f2d"
+checksum = "1fcb57c740ae1daf453ae85f16e37396f672b039e00d9d866e07ddb24e328e3a"
dependencies = [
"shlex",
]
@@ -373,11 +376,11 @@ dependencies = [
[[package]]
name = "codspeed"
-version = "2.8.0"
+version = "2.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "25d2f5a6570db487f5258e0bded6352fa2034c2aeb46bb5cc3ff060a0fcfba2f"
+checksum = "60e744216bfa9add3b1f2505587cbbb837923232ed10963609f4a6e3cbd99c3e"
dependencies = [
- "colored 2.1.0",
+ "colored 2.2.0",
"libc",
"serde",
"serde_json",
@@ -386,12 +389,12 @@ dependencies = [
[[package]]
name = "colored"
-version = "2.1.0"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cbf2150cce219b664a8a70df7a1f933836724b503f8a413af9365b4dcc4d90b8"
+checksum = "117725a109d387c937a1533ce01b450cbde6b88abceea8473c4d7a85853cda3c"
dependencies = [
"lazy_static",
- "windows-sys 0.48.0",
+ "windows-sys",
]
[[package]]
@@ -400,7 +403,7 @@ version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fde0e0ec90c9dfb3b4b1a0891a7dcd0e2bffde2f7efed5fe7c9bb00e5bfb915e"
dependencies = [
- "windows-sys 0.59.0",
+ "windows-sys",
]
[[package]]
@@ -450,9 +453,9 @@ dependencies = [
[[package]]
name = "crossbeam-deque"
-version = "0.8.5"
+version = "0.8.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d"
+checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51"
dependencies = [
"crossbeam-epoch",
"crossbeam-utils",
@@ -469,15 +472,15 @@ dependencies = [
[[package]]
name = "crossbeam-utils"
-version = "0.8.20"
+version = "0.8.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80"
+checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
[[package]]
name = "crunchy"
-version = "0.2.2"
+version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
+checksum = "43da5946c66ffcc7745f48db692ffbb10a83bfe0afd96235c5c2a4fb23994929"
[[package]]
name = "dashmap"
@@ -501,7 +504,7 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.100",
]
[[package]]
@@ -518,21 +521,41 @@ checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
[[package]]
name = "dyn-clone"
-version = "1.0.17"
+version = "1.0.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125"
+checksum = "1c7a8fb8a9fbf66c1f703fe16184d10ca0ee9d23be5b4436400408ba54a95005"
[[package]]
name = "either"
-version = "1.13.0"
+version = "1.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
+checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
+
+[[package]]
+name = "enumflags2"
+version = "0.7.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ba2f4b465f5318854c6f8dd686ede6c0a9dc67d4b1ac241cf0eb51521a309147"
+dependencies = [
+ "enumflags2_derive",
+]
+
+[[package]]
+name = "enumflags2_derive"
+version = "0.7.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc4caf64a58d7a6d65ab00639b046ff54399a39f5f2554728895ace4b297cd79"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.100",
+]
[[package]]
name = "equivalent"
-version = "1.0.1"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
+checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
[[package]]
name = "form_urlencoded"
@@ -551,19 +574,19 @@ checksum = "8d7ccf961415e7aa17ef93dcb6c2441faaa8e768abe09e659b908089546f74c5"
dependencies = [
"proc-macro2",
"swc_macros_common",
- "syn 2.0.90",
+ "syn 2.0.100",
]
[[package]]
name = "getrandom"
-version = "0.3.1"
+version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "43a49c392881ce6d5c3b8cb70f98717b7c07aabbdff06687b9030dbfbe2725f8"
+checksum = "73fea8450eea4bac3940448fb7ae50d91f034f941199fcd9d909a5a07aa455f0"
dependencies = [
"cfg-if",
"libc",
+ "r-efi",
"wasi",
- "windows-targets 0.52.6",
]
[[package]]
@@ -574,9 +597,9 @@ checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f"
[[package]]
name = "half"
-version = "2.4.1"
+version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6dd08c532ae367adf81c312a4580bc67f1d0fe8bc9c460520283f4c0ff277888"
+checksum = "7db2ff139bba50379da6aa0766b52fdcb62cb5b263009b09ed58ba604e14bbd1"
dependencies = [
"cfg-if",
"crunchy",
@@ -629,7 +652,7 @@ dependencies = [
"new_debug_unreachable",
"once_cell",
"phf",
- "rustc-hash 2.1.0",
+ "rustc-hash 2.1.1",
"triomphe",
]
@@ -748,7 +771,7 @@ checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.100",
]
[[package]]
@@ -784,9 +807,9 @@ dependencies = [
[[package]]
name = "indexmap"
-version = "2.7.0"
+version = "2.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "62f822373a4fe84d4bb149bf54e584a7f4abec90e072ed49cda0edea5b95471f"
+checksum = "3954d50fe15b02142bf25d3b8bdadb634ec3948f103d04ffe3031bc8fe9d7058"
dependencies = [
"equivalent",
"hashbrown 0.15.2",
@@ -802,14 +825,14 @@ dependencies = [
"heck",
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.100",
]
[[package]]
name = "itoa"
-version = "1.0.14"
+version = "1.0.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674"
+checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
[[package]]
name = "json-strip-comments"
@@ -828,15 +851,15 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
[[package]]
name = "libc"
-version = "0.2.167"
+version = "0.2.171"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09d6582e104315a817dff97f75133544b2e094ee22447d2acf4a74e189ba06fc"
+checksum = "c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6"
[[package]]
name = "libmimalloc-sys"
-version = "0.1.39"
+version = "0.1.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "23aa6811d3bd4deb8a84dde645f943476d13b248d818edcf8ce0b2f37f036b44"
+checksum = "07d0e07885d6a754b9c7993f2625187ad694ee985d60f23355ff0e7077261502"
dependencies = [
"cc",
"libc",
@@ -844,9 +867,9 @@ dependencies = [
[[package]]
name = "litemap"
-version = "0.7.4"
+version = "0.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104"
+checksum = "23fb14cb19457329c82206317a5663005a4d404783dc74f4252769b0d5f42856"
[[package]]
name = "lock_api"
@@ -864,29 +887,20 @@ version = "2.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
-[[package]]
-name = "memoffset"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1"
-dependencies = [
- "autocfg",
-]
-
[[package]]
name = "mimalloc"
-version = "0.1.43"
+version = "0.1.44"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "68914350ae34959d83f732418d51e2427a794055d0b9529f48259ac07af65633"
+checksum = "99585191385958383e13f6b822e6b6d8d9cf928e7d286ceb092da92b43c87bc1"
dependencies = [
"libmimalloc-sys",
]
[[package]]
name = "miniz_oxide"
-version = "0.8.0"
+version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1"
+checksum = "8e3e04debbb59698c15bacbb6d93584a8c0ca9cc3213cb423d31f760d8843ce5"
dependencies = [
"adler2",
]
@@ -944,30 +958,30 @@ dependencies = [
[[package]]
name = "object"
-version = "0.36.5"
+version = "0.36.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aedf0a2d09c573ed1d8d85b30c119153926a2b36dce0ab28322c09a117a4683e"
+checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87"
dependencies = [
"memchr",
]
[[package]]
name = "once_cell"
-version = "1.20.2"
+version = "1.21.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
+checksum = "d75b0bedcc4fe52caa0e03d9f1151a323e4aa5e2d78ba3580400cd3c9e2bc4bc"
[[package]]
name = "oorandom"
-version = "11.1.4"
+version = "11.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9"
+checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e"
[[package]]
name = "owo-colors"
-version = "4.1.0"
+version = "4.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
+checksum = "1036865bb9422d3300cf723f657c2851d0e9ab12567854b1f4eba3d77decf564"
[[package]]
name = "oxc"
@@ -1006,7 +1020,7 @@ checksum = "4c0c893f53900e3fe01eca3d6d3b54085573c3e48fe25af9d57dd94ef600dcd3"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.100",
]
[[package]]
@@ -1019,7 +1033,7 @@ dependencies = [
"bumpalo",
"hashbrown 0.15.2",
"oxc_data_structures",
- "rustc-hash 2.1.0",
+ "rustc-hash 2.1.1",
"simdutf8",
]
@@ -1048,7 +1062,7 @@ checksum = "a195ff8ee822a4b379b72cf286daa4c5d0f6f8019f5e684aa72d6e22e6fa76c0"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.100",
]
[[package]]
@@ -1112,7 +1126,7 @@ dependencies = [
"oxc_regular_expression",
"oxc_span",
"oxc_syntax",
- "rustc-hash 2.1.0",
+ "rustc-hash 2.1.1",
"seq-macro",
]
@@ -1128,7 +1142,7 @@ dependencies = [
"oxc_estree",
"oxc_span",
"phf",
- "rustc-hash 2.1.0",
+ "rustc-hash 2.1.1",
"unicode-id-start",
]
@@ -1141,10 +1155,10 @@ dependencies = [
"cfg-if",
"dashmap",
"dunce",
- "indexmap 2.7.0",
+ "indexmap 2.8.0",
"json-strip-comments",
"once_cell",
- "rustc-hash 2.1.0",
+ "rustc-hash 2.1.1",
"serde",
"serde_json",
"simdutf8",
@@ -1181,7 +1195,7 @@ dependencies = [
"oxc_index",
"oxc_span",
"phf",
- "rustc-hash 2.1.0",
+ "rustc-hash 2.1.1",
"ryu-js",
"unicode-id-start",
]
@@ -1196,7 +1210,7 @@ dependencies = [
"libc",
"redox_syscall",
"smallvec",
- "windows-targets 0.52.6",
+ "windows-targets",
]
[[package]]
@@ -1217,9 +1231,9 @@ dependencies = [
[[package]]
name = "phf_generator"
-version = "0.11.2"
+version = "0.11.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "48e4cc64c2ad9ebe670cb8fd69dd50ae301650392e81c05f9bfcb2d5bdbc24b0"
+checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d"
dependencies = [
"phf_shared",
"rand",
@@ -1235,7 +1249,7 @@ dependencies = [
"phf_shared",
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.100",
]
[[package]]
@@ -1249,9 +1263,9 @@ dependencies = [
[[package]]
name = "pin-project-lite"
-version = "0.2.15"
+version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff"
+checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
[[package]]
name = "proc-macro-error"
@@ -1278,18 +1292,18 @@ dependencies = [
[[package]]
name = "proc-macro2"
-version = "1.0.92"
+version = "1.0.94"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0"
+checksum = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84"
dependencies = [
"unicode-ident",
]
[[package]]
name = "psm"
-version = "0.1.24"
+version = "0.1.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "200b9ff220857e53e184257720a14553b2f4aa02577d2ed9842d45d4b9654810"
+checksum = "f58e5423e24c18cc840e1c98370b3993c6649cd1678b4d24318bcf0a083cbe88"
dependencies = [
"cc",
]
@@ -1311,18 +1325,24 @@ checksum = "ca414edb151b4c8d125c12566ab0d74dc9cdba36fb80eb7b848c15f495fd32d1"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.100",
]
[[package]]
name = "quote"
-version = "1.0.37"
+version = "1.0.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
+checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
dependencies = [
"proc-macro2",
]
+[[package]]
+name = "r-efi"
+version = "5.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5"
+
[[package]]
name = "rand"
version = "0.8.5"
@@ -1360,9 +1380,9 @@ dependencies = [
[[package]]
name = "redox_syscall"
-version = "0.5.7"
+version = "0.5.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9b6dfecf2c74bce2466cabf93f6664d6998a69eb21e39f4207930065b27b771f"
+checksum = "0b8c0c260b63a8219631167be35e6a988e9554dbd323f8bd08439c8ed1302bd1"
dependencies = [
"bitflags",
]
@@ -1373,6 +1393,12 @@ version = "0.4.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
+[[package]]
+name = "result"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "194d8e591e405d1eecf28819740abed6d719d1a2db87fc0bcdedee9a26d55560"
+
[[package]]
name = "rustc-demangle"
version = "0.1.24"
@@ -1387,27 +1413,27 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
[[package]]
name = "rustc-hash"
-version = "2.1.0"
+version = "2.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497"
+checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d"
[[package]]
name = "rustversion"
-version = "1.0.18"
+version = "1.0.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248"
+checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2"
[[package]]
name = "ryu"
-version = "1.0.18"
+version = "1.0.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
+checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
[[package]]
name = "ryu-js"
-version = "1.0.1"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ad97d4ce1560a5e27cec89519dc8300d1aa6035b099821261c651486a19e44d5"
+checksum = "dd29631678d6fb0903b69223673e122c32e9ae559d0960a38d574695ebc0ea15"
[[package]]
name = "same-file"
@@ -1420,26 +1446,28 @@ dependencies = [
[[package]]
name = "schemars"
-version = "0.8.21"
+version = "0.8.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09c024468a378b7e36765cd36702b7a90cc3cba11654f6685c8f233408e89e92"
+checksum = "3fbf2ae1b8bc8e02df939598064d22402220cd5bbcca1c76f7d6a310974d5615"
dependencies = [
"dyn-clone",
+ "indexmap 2.8.0",
"schemars_derive",
"serde",
"serde_json",
+ "smallvec",
]
[[package]]
name = "schemars_derive"
-version = "0.8.21"
+version = "0.8.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b1eee588578aff73f856ab961cd2f79e36bc45d7ded33a7562adba4667aecc0e"
+checksum = "32e265784ad618884abaea0600a9adf15393368d840e0222d101a072f3f7534d"
dependencies = [
"proc-macro2",
"quote",
"serde_derive_internals",
- "syn 2.0.90",
+ "syn 2.0.100",
]
[[package]]
@@ -1456,28 +1484,28 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]]
name = "seq-macro"
-version = "0.3.5"
+version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4"
+checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc"
[[package]]
name = "serde"
-version = "1.0.218"
+version = "1.0.219"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e8dfc9d19bdbf6d17e22319da49161d5d0108e4188e8b680aef6299eed22df60"
+checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.218"
+version = "1.0.219"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f09503e191f4e797cb8aac08e9a4a4695c5edf6a2e70e376d961ddd5c969f82b"
+checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.100",
]
[[package]]
@@ -1488,16 +1516,27 @@ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.100",
+]
+
+[[package]]
+name = "serde_ini"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "eb236687e2bb073a7521c021949be944641e671b8505a94069ca37b656c81139"
+dependencies = [
+ "result",
+ "serde",
+ "void",
]
[[package]]
name = "serde_json"
-version = "1.0.139"
+version = "1.0.140"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "44f86c3acccc9c65b153fe1b85a3be07fe5515274ec9f0653b4a0875731c72a6"
+checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373"
dependencies = [
- "indexmap 2.7.0",
+ "indexmap 2.8.0",
"itoa",
"memchr",
"ryu",
@@ -1518,9 +1557,9 @@ checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e"
[[package]]
name = "similar"
-version = "2.6.0"
+version = "2.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1de1d4f81173b03af4c0cbed3c898f6bff5b870e4a7f5d6f4057d62a7a4b686e"
+checksum = "bbbb5d9659141646ae647b42fe094daf6c6192d1620870b449d9557f748b2daa"
dependencies = [
"bstr",
"unicode-segmentation",
@@ -1540,9 +1579,9 @@ checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d"
[[package]]
name = "smallvec"
-version = "1.13.2"
+version = "1.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
+checksum = "7fcf8323ef1faaee30a44a340193b1ac6814fd9b7b4e88e9d4519a3e4abe1cfd"
[[package]]
name = "smartstring"
@@ -1569,15 +1608,15 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
[[package]]
name = "stacker"
-version = "0.1.17"
+version = "0.1.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "799c883d55abdb5e98af1a7b3f23b9b6de8ecada0ecac058672d7635eb48ca7b"
+checksum = "601f9201feb9b09c00266478bf459952b9ef9a6b94edb2f21eba14ab681a60a9"
dependencies = [
"cc",
"cfg-if",
"libc",
"psm",
- "windows-sys 0.59.0",
+ "windows-sys",
]
[[package]]
@@ -1595,7 +1634,7 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.90",
+ "syn 2.0.100",
]
[[package]]
@@ -1607,7 +1646,7 @@ dependencies = [
"allocator-api2",
"bumpalo",
"ptr_meta",
- "rustc-hash 2.1.0",
+ "rustc-hash 2.1.1",
"triomphe",
]
@@ -1619,7 +1658,7 @@ checksum = "9d7077ba879f95406459bc0c81f3141c529b34580bc64d7ab7bd15e7118a0391"
dependencies = [
"hstr",
"once_cell",
- "rustc-hash 2.1.0",
+ "rustc-hash 2.1.1",
"serde",
]
@@ -1637,7 +1676,7 @@ dependencies = [
"new_debug_unreachable",
"num-bigint",
"once_cell",
- "rustc-hash 2.1.0",
+ "rustc-hash 2.1.1",
"serde",
"siphasher 0.3.11",
"swc_allocator",
@@ -1678,7 +1717,7 @@ dependencies = [
"num-bigint",
"num-traits",
"phf",
- "rustc-hash 2.1.0",
+ "rustc-hash 2.1.1",
"serde",
"smallvec",
"smartstring",
@@ -1698,7 +1737,7 @@ checksum = "e96e15288bf385ab85eb83cff7f9e2d834348da58d0a31b33bdb572e66ee413e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.100",
]
[[package]]
@@ -1709,7 +1748,7 @@ checksum = "a509f56fca05b39ba6c15f3e58636c3924c78347d63853632ed2ffcb6f5a0ac7"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.100",
]
[[package]]
@@ -1735,9 +1774,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.90"
+version = "2.0.100"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31"
+checksum = "b09a44accad81e1ba1cd74a32461ba89dee89095ba17b32f5d03683b1b1fc2a0"
dependencies = [
"proc-macro2",
"quote",
@@ -1752,7 +1791,7 @@ checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.100",
]
[[package]]
@@ -1801,7 +1840,7 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.100",
]
[[package]]
@@ -1812,7 +1851,7 @@ checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.100",
]
[[package]]
@@ -1844,7 +1883,7 @@ checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.100",
]
[[package]]
@@ -1886,9 +1925,9 @@ checksum = "2f322b60f6b9736017344fa0635d64be2f458fbc04eef65f6be22976dd1ffd5b"
[[package]]
name = "unicode-ident"
-version = "1.0.14"
+version = "1.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83"
+checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
[[package]]
name = "unicode-linebreak"
@@ -1939,9 +1978,9 @@ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
[[package]]
name = "uuid"
-version = "1.14.0"
+version = "1.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93d59ca99a559661b96bf898d8fce28ed87935fd2bea9f05983c1464dd6c71b1"
+checksum = "458f7a779bf54acc9f347480ac654f68407d3aab21269a6e3c9f922acd9e2da9"
dependencies = [
"getrandom",
]
@@ -1952,6 +1991,12 @@ version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
+[[package]]
+name = "void"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d"
+
[[package]]
name = "walkdir"
version = "2.5.0"
@@ -1964,9 +2009,9 @@ dependencies = [
[[package]]
name = "wasi"
-version = "0.13.3+wasi-0.2.2"
+version = "0.14.2+wasi-0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "26816d2e1a4a36a2940b96c5296ce403917633dff8f3440e9b236ed6f6bacad2"
+checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3"
dependencies = [
"wit-bindgen-rt",
]
@@ -1977,16 +2022,7 @@ version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
dependencies = [
- "windows-sys 0.59.0",
-]
-
-[[package]]
-name = "windows-sys"
-version = "0.48.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
-dependencies = [
- "windows-targets 0.48.5",
+ "windows-sys",
]
[[package]]
@@ -1995,22 +2031,7 @@ version = "0.59.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
dependencies = [
- "windows-targets 0.52.6",
-]
-
-[[package]]
-name = "windows-targets"
-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",
+ "windows-targets",
]
[[package]]
@@ -2019,46 +2040,28 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
dependencies = [
- "windows_aarch64_gnullvm 0.52.6",
- "windows_aarch64_msvc 0.52.6",
- "windows_i686_gnu 0.52.6",
+ "windows_aarch64_gnullvm",
+ "windows_aarch64_msvc",
+ "windows_i686_gnu",
"windows_i686_gnullvm",
- "windows_i686_msvc 0.52.6",
- "windows_x86_64_gnu 0.52.6",
- "windows_x86_64_gnullvm 0.52.6",
- "windows_x86_64_msvc 0.52.6",
+ "windows_i686_msvc",
+ "windows_x86_64_gnu",
+ "windows_x86_64_gnullvm",
+ "windows_x86_64_msvc",
]
-[[package]]
-name = "windows_aarch64_gnullvm"
-version = "0.48.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
-
[[package]]
name = "windows_aarch64_gnullvm"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
-[[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.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
-[[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.6"
@@ -2071,48 +2074,24 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
-[[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.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
-[[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.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
-[[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.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
-[[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.6"
@@ -2121,9 +2100,9 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
[[package]]
name = "wit-bindgen-rt"
-version = "0.33.0"
+version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3268f3d866458b787f390cf61f4bbb563b922d091359f9608842999eaee3943c"
+checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1"
dependencies = [
"bitflags",
]
@@ -2160,7 +2139,7 @@ checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.100",
"synstructure",
]
@@ -2181,27 +2160,27 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.100",
]
[[package]]
name = "zerofrom"
-version = "0.1.5"
+version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e"
+checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5"
dependencies = [
"zerofrom-derive",
]
[[package]]
name = "zerofrom-derive"
-version = "0.1.5"
+version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808"
+checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.100",
"synstructure",
]
@@ -2224,5 +2203,5 @@ checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.90",
+ "syn 2.0.100",
]
From bd79d4817ecd0d5d4767a7f1b0c5c05e50e6ac1c Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 4 Apr 2025 15:18:30 +0800
Subject: [PATCH 271/385] chore(deps): update dependency rust to v1.86.0 (#288)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
rust-toolchain.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
index 54b75dd..f7b2b43 100644
--- a/rust-toolchain.toml
+++ b/rust-toolchain.toml
@@ -1,3 +1,3 @@
[toolchain]
-channel = "1.85.1"
+channel = "1.86.0"
profile = "minimal"
From d64452029b6d3fc4c9ef0f81296fd854a194fa3b Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 5 May 2025 09:52:24 +0800
Subject: [PATCH 272/385] chore(deps): update rust crate oxc to 0.68.1 (#287)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 0ab0a17..7afc838 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -985,9 +985,9 @@ checksum = "1036865bb9422d3300cf723f657c2851d0e9ab12567854b1f4eba3d77decf564"
[[package]]
name = "oxc"
-version = "0.61.2"
+version = "0.68.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "168b1a326fbaa84d2676e7a4a2caa38159dc73a1a79fc2c941d6c927017f9988"
+checksum = "f907527226ea09664a17963b36d3057ddcab280c1dcc19b3a287f40de30c3965"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -1025,9 +1025,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.61.2"
+version = "0.68.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d8c1b219017c1a795eb9e66fdc53a333250ddcc9313bdaf5c61763b158d9fa01"
+checksum = "d3da7bc2d06c0fd029c7817889b1e4d418f4955c25c003d5a9ea4a525db8fce9"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -1039,9 +1039,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.61.2"
+version = "0.68.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "12e8a9ca9803ee5ef305cefece112310134314efd3ac34c163f6f402a6507b77"
+checksum = "9a83d102ba84b604cf24be6b943c3347f13740afa97304461d798f2598d4a92e"
dependencies = [
"bitflags",
"cow-utils",
@@ -1056,9 +1056,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.61.2"
+version = "0.68.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a195ff8ee822a4b379b72cf286daa4c5d0f6f8019f5e684aa72d6e22e6fa76c0"
+checksum = "6e03da9a237d05fa378e3398a5a2c28124a387ff666218c1ca4ebfe5f0544d3d"
dependencies = [
"proc-macro2",
"quote",
@@ -1067,15 +1067,15 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.61.2"
+version = "0.68.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1f900d7dd5b949a9f932fc879a502872bdd0f97fd64687b043ce666aed791a52"
+checksum = "a9603941570dc1dbc111e6312d622d60722395b502aa68e703646beacc45d0d2"
[[package]]
name = "oxc_diagnostics"
-version = "0.61.2"
+version = "0.68.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c10347b7697378df6511a69d741e43cb7f44e7b3905968192155fb00f70f9798"
+checksum = "a01184ff8ddf40a39c5ec4b0979b53e6e3f8e5701e4a0aed8edefd208ae310eb"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -1083,9 +1083,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.61.2"
+version = "0.68.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4fa3e9658c86472c3b4f9f7224e86d19f46f5d2563c0095fe33d16912e411c1d"
+checksum = "d549b884069d155eae98207c404b71113dc8fce2bea84dc53e8476a221405a83"
dependencies = [
"cow-utils",
"num-bigint",
@@ -1097,9 +1097,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.61.2"
+version = "0.68.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9e75c3e574a80f5a9e8bded32106de9dac8a365894fd9041bbe93dd637d4b6ba"
+checksum = "66904246cb3ceef3c7f9dd4b3a79bb104b242d8e442eb94f6097cec241a0eec4"
[[package]]
name = "oxc_index"
@@ -1109,9 +1109,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.61.2"
+version = "0.68.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c22ed71e7949ecebfc6ff4b3ab3766832272820f7cdc84c7a63cbc9baa9b1f0"
+checksum = "a662d53b21550ca1a5600f70d033fcec40b2a25ba2b5281ecaf2ecd01cb16559"
dependencies = [
"bitflags",
"cow-utils",
@@ -1132,9 +1132,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.61.2"
+version = "0.68.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3598388c5f829b09433c373b348346b96705cd1bff390b45008721cce9d41091"
+checksum = "c53f760363c78764bb28b8e0f8316d9c28adf89a0ddfba625c8a9f465f4e2199"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -1168,9 +1168,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.61.2"
+version = "0.68.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1c6c44a4a4c5d0877d117e268fa88e1242c921fa800b33d6f5aae04fcfe13dd4"
+checksum = "8f8e3cd484054ea0ce496e16437d802d4d9126e238deb267796db140a80d91dc"
dependencies = [
"compact_str",
"oxc-miette",
@@ -1181,9 +1181,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.61.2"
+version = "0.68.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "67c42d761b4233ce1d162d5c76929486794062cc04453ad047826f4ae986640d"
+checksum = "8933bda357ccc13260bb2fe3a08f02d98ceeb695c9af04d8ec5913edd9bec6d6"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index 2e005e4..af0ae86 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ test = false
doctest = false
[dependencies]
-oxc = "0.61.2"
+oxc = "0.68.1"
swc_ecma_parser = { version = "10.0.2", features = ["typescript"] }
swc_ecma_ast = "8.0.2"
From 9711daea147f3efa35570ea7111fea9390b1cbb9 Mon Sep 17 00:00:00 2001
From: Boshen
Date: Mon, 5 May 2025 09:58:11 +0800
Subject: [PATCH 273/385] cannot compile biome
---
Cargo.lock | 638 +++--------------------------------------------------
Cargo.toml | 14 +-
src/lib.rs | 24 +-
3 files changed, 50 insertions(+), 626 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 7afc838..0c9fcca 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2,21 +2,6 @@
# It is not intended for manual editing.
version = 4
-[[package]]
-name = "addr2line"
-version = "0.24.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1"
-dependencies = [
- "gimli",
-]
-
-[[package]]
-name = "adler2"
-version = "2.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"
-
[[package]]
name = "ahash"
version = "0.8.11"
@@ -50,7 +35,7 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.100",
+ "syn",
]
[[package]]
@@ -59,27 +44,10 @@ version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
-[[package]]
-name = "backtrace"
-version = "0.3.74"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a"
-dependencies = [
- "addr2line",
- "cfg-if",
- "libc",
- "miniz_oxide",
- "object",
- "rustc-demangle",
- "windows-targets",
-]
-
[[package]]
name = "bench-parser"
version = "0.1.0"
dependencies = [
- "biome_js_parser",
- "biome_js_syntax",
"criterion2",
"mimalloc",
"num_cpus",
@@ -98,179 +66,6 @@ dependencies = [
"scoped-tls",
]
-[[package]]
-name = "biome_console"
-version = "0.5.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "678dfa9a976d1978c136ecddcdf9e9f4947aee7ef2003b4b988dfc78606bfd79"
-dependencies = [
- "biome_markup",
- "biome_text_size",
- "schemars",
- "serde",
- "termcolor",
- "unicode-segmentation",
- "unicode-width 0.1.14",
-]
-
-[[package]]
-name = "biome_diagnostics"
-version = "0.5.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ef09f4f5e519a73f1a36c0ffbf0a68ac844bf1a6eb3e9ced215a3d0c5b1319e7"
-dependencies = [
- "backtrace",
- "biome_console",
- "biome_diagnostics_categories",
- "biome_diagnostics_macros",
- "biome_rowan",
- "biome_text_edit",
- "biome_text_size",
- "bpaf",
- "enumflags2",
- "oxc_resolver",
- "serde",
- "serde_ini",
- "serde_json",
- "termcolor",
- "unicode-width 0.1.14",
-]
-
-[[package]]
-name = "biome_diagnostics_categories"
-version = "0.5.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "832080d68a2ee2f198d98ff5d26fc0f5c2566907f773d105a4a049ee07664d19"
-dependencies = [
- "quote",
- "serde",
-]
-
-[[package]]
-name = "biome_diagnostics_macros"
-version = "0.5.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "540fec04d2e789fb992128c63d111b650733274afffff1cb3f26c8dff5167d3b"
-dependencies = [
- "proc-macro-error",
- "proc-macro2",
- "quote",
- "syn 1.0.109",
-]
-
-[[package]]
-name = "biome_js_factory"
-version = "0.5.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3c9847f4dfd16ee242d12b90f96f6b2eb33238dfc4eac7b5c045e14eebe717b7"
-dependencies = [
- "biome_js_syntax",
- "biome_rowan",
-]
-
-[[package]]
-name = "biome_js_parser"
-version = "0.5.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "72eabd0387646248dd76d18f7ac20a93158939484fa688492defd76b15673f2e"
-dependencies = [
- "biome_console",
- "biome_diagnostics",
- "biome_js_factory",
- "biome_js_syntax",
- "biome_parser",
- "biome_rowan",
- "biome_unicode_table",
- "bitflags",
- "cfg-if",
- "drop_bomb",
- "indexmap 1.9.3",
- "rustc-hash 1.1.0",
- "serde",
- "serde_json",
- "smallvec",
- "tracing",
- "unicode-bom",
-]
-
-[[package]]
-name = "biome_js_syntax"
-version = "0.5.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38a524bd8b1f5f7b3355dfe2744196227ee15e9aa3446d562deb9ed511cf2015"
-dependencies = [
- "biome_console",
- "biome_diagnostics",
- "biome_rowan",
- "serde",
-]
-
-[[package]]
-name = "biome_markup"
-version = "0.5.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4a7f11cf91599594528e97d216044ef4e410a103327212d909f215cbafe2fd9c"
-dependencies = [
- "proc-macro-error",
- "proc-macro2",
- "quote",
-]
-
-[[package]]
-name = "biome_parser"
-version = "0.5.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "811bb6840896a74483426ec61b9727731d6222caa3c09a0440c20d662cd1367e"
-dependencies = [
- "biome_console",
- "biome_diagnostics",
- "biome_rowan",
- "biome_unicode_table",
- "drop_bomb",
- "enumflags2",
- "unicode-bom",
-]
-
-[[package]]
-name = "biome_rowan"
-version = "0.5.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5ee4442bc598e3baead7453c4070b8b326f3b54287a583105d6ffd13c28b3ef0"
-dependencies = [
- "biome_text_edit",
- "biome_text_size",
- "countme",
- "hashbrown 0.14.5",
- "rustc-hash 2.1.1",
- "tracing",
-]
-
-[[package]]
-name = "biome_text_edit"
-version = "0.5.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a5b42189daa66f0dd20af2a4dd405c28ccf4f5a687c08a5fa4d8e1b31ce2295b"
-dependencies = [
- "biome_text_size",
- "serde",
- "similar",
-]
-
-[[package]]
-name = "biome_text_size"
-version = "0.5.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "672627531edd258f1a9ecdd9bd5ff3ea6c36768622ce2cedc12dc03cb51605c9"
-dependencies = [
- "serde",
-]
-
-[[package]]
-name = "biome_unicode_table"
-version = "0.5.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cb9696fda489e25051248bad5a73bdd53f8d063dc3a7f4a71d4c6aadf6fbcb18"
-
[[package]]
name = "bitflags"
version = "2.9.0"
@@ -282,31 +77,6 @@ name = "bpaf"
version = "0.9.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4848ed5727d39a7573551c205bcb1ccd88c8cad4ed2c80f62e2316f208196b8d"
-dependencies = [
- "bpaf_derive",
-]
-
-[[package]]
-name = "bpaf_derive"
-version = "0.5.17"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fefb4feeec9a091705938922f26081aad77c64cd2e76cd1c4a9ece8e42e1618a"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.100",
-]
-
-[[package]]
-name = "bstr"
-version = "1.11.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "531a9155a481e2ee699d4f98f43c0ca4ff8ee1bfd55c31e9e98fb29d2b176fe0"
-dependencies = [
- "memchr",
- "regex-automata",
- "serde",
-]
[[package]]
name = "bumpalo"
@@ -420,12 +190,6 @@ dependencies = [
"static_assertions",
]
-[[package]]
-name = "countme"
-version = "3.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7704b5fdd17b18ae31c4c1da5a2e0305a2bf17b5249300a9ee9ed7b72114c636"
-
[[package]]
name = "cow-utils"
version = "0.1.3"
@@ -482,20 +246,6 @@ version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "43da5946c66ffcc7745f48db692ffbb10a83bfe0afd96235c5c2a4fb23994929"
-[[package]]
-name = "dashmap"
-version = "6.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5041cc499144891f3790297212f32a74fb938e5136a14943f338ef9e0ae276cf"
-dependencies = [
- "cfg-if",
- "crossbeam-utils",
- "hashbrown 0.14.5",
- "lock_api",
- "once_cell",
- "parking_lot_core",
-]
-
[[package]]
name = "displaydoc"
version = "0.2.5"
@@ -504,59 +254,15 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.100",
+ "syn",
]
-[[package]]
-name = "drop_bomb"
-version = "0.1.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9bda8e21c04aca2ae33ffc2fd8c23134f3cac46db123ba97bd9d3f3b8a4a85e1"
-
-[[package]]
-name = "dunce"
-version = "1.0.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
-
-[[package]]
-name = "dyn-clone"
-version = "1.0.19"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1c7a8fb8a9fbf66c1f703fe16184d10ca0ee9d23be5b4436400408ba54a95005"
-
[[package]]
name = "either"
version = "1.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
-[[package]]
-name = "enumflags2"
-version = "0.7.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ba2f4b465f5318854c6f8dd686ede6c0a9dc67d4b1ac241cf0eb51521a309147"
-dependencies = [
- "enumflags2_derive",
-]
-
-[[package]]
-name = "enumflags2_derive"
-version = "0.7.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fc4caf64a58d7a6d65ab00639b046ff54399a39f5f2554728895ace4b297cd79"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.100",
-]
-
-[[package]]
-name = "equivalent"
-version = "1.0.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
-
[[package]]
name = "form_urlencoded"
version = "1.2.1"
@@ -574,7 +280,7 @@ checksum = "8d7ccf961415e7aa17ef93dcb6c2441faaa8e768abe09e659b908089546f74c5"
dependencies = [
"proc-macro2",
"swc_macros_common",
- "syn 2.0.100",
+ "syn",
]
[[package]]
@@ -589,12 +295,6 @@ dependencies = [
"wasi",
]
-[[package]]
-name = "gimli"
-version = "0.31.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f"
-
[[package]]
name = "half"
version = "2.5.0"
@@ -605,12 +305,6 @@ dependencies = [
"crunchy",
]
-[[package]]
-name = "hashbrown"
-version = "0.12.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
-
[[package]]
name = "hashbrown"
version = "0.14.5"
@@ -652,7 +346,7 @@ dependencies = [
"new_debug_unreachable",
"once_cell",
"phf",
- "rustc-hash 2.1.1",
+ "rustc-hash",
"triomphe",
]
@@ -771,7 +465,7 @@ checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.100",
+ "syn",
]
[[package]]
@@ -795,27 +489,6 @@ dependencies = [
"icu_properties",
]
-[[package]]
-name = "indexmap"
-version = "1.9.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
-dependencies = [
- "autocfg",
- "hashbrown 0.12.3",
-]
-
-[[package]]
-name = "indexmap"
-version = "2.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3954d50fe15b02142bf25d3b8bdadb634ec3948f103d04ffe3031bc8fe9d7058"
-dependencies = [
- "equivalent",
- "hashbrown 0.15.2",
- "serde",
-]
-
[[package]]
name = "is-macro"
version = "0.3.7"
@@ -825,7 +498,7 @@ dependencies = [
"heck",
"proc-macro2",
"quote",
- "syn 2.0.100",
+ "syn",
]
[[package]]
@@ -834,15 +507,6 @@ version = "1.0.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
-[[package]]
-name = "json-strip-comments"
-version = "1.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b271732a960335e715b6b2ae66a086f115c74eb97360e996d2bd809bfc063bba"
-dependencies = [
- "memchr",
-]
-
[[package]]
name = "lazy_static"
version = "1.5.0"
@@ -871,16 +535,6 @@ version = "0.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "23fb14cb19457329c82206317a5663005a4d404783dc74f4252769b0d5f42856"
-[[package]]
-name = "lock_api"
-version = "0.4.12"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
-dependencies = [
- "autocfg",
- "scopeguard",
-]
-
[[package]]
name = "memchr"
version = "2.7.4"
@@ -896,15 +550,6 @@ dependencies = [
"libmimalloc-sys",
]
-[[package]]
-name = "miniz_oxide"
-version = "0.8.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8e3e04debbb59698c15bacbb6d93584a8c0ca9cc3213cb423d31f760d8843ce5"
-dependencies = [
- "adler2",
-]
-
[[package]]
name = "new_debug_unreachable"
version = "1.0.6"
@@ -956,15 +601,6 @@ dependencies = [
"libc",
]
-[[package]]
-name = "object"
-version = "0.36.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87"
-dependencies = [
- "memchr",
-]
-
[[package]]
name = "once_cell"
version = "1.21.1"
@@ -1008,7 +644,7 @@ dependencies = [
"owo-colors",
"oxc-miette-derive",
"textwrap",
- "thiserror 2.0.12",
+ "thiserror",
"unicode-width 0.2.0",
]
@@ -1020,7 +656,7 @@ checksum = "4c0c893f53900e3fe01eca3d6d3b54085573c3e48fe25af9d57dd94ef600dcd3"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.100",
+ "syn",
]
[[package]]
@@ -1033,7 +669,7 @@ dependencies = [
"bumpalo",
"hashbrown 0.15.2",
"oxc_data_structures",
- "rustc-hash 2.1.1",
+ "rustc-hash",
"simdutf8",
]
@@ -1062,7 +698,7 @@ checksum = "6e03da9a237d05fa378e3398a5a2c28124a387ff666218c1ca4ebfe5f0544d3d"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.100",
+ "syn",
]
[[package]]
@@ -1126,7 +762,7 @@ dependencies = [
"oxc_regular_expression",
"oxc_span",
"oxc_syntax",
- "rustc-hash 2.1.1",
+ "rustc-hash",
"seq-macro",
]
@@ -1142,30 +778,10 @@ dependencies = [
"oxc_estree",
"oxc_span",
"phf",
- "rustc-hash 2.1.1",
+ "rustc-hash",
"unicode-id-start",
]
-[[package]]
-name = "oxc_resolver"
-version = "1.12.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c20bb345f290c46058ba650fef7ca2b579612cf2786b927ebad7b8bec0845a7"
-dependencies = [
- "cfg-if",
- "dashmap",
- "dunce",
- "indexmap 2.8.0",
- "json-strip-comments",
- "once_cell",
- "rustc-hash 2.1.1",
- "serde",
- "serde_json",
- "simdutf8",
- "thiserror 1.0.69",
- "tracing",
-]
-
[[package]]
name = "oxc_span"
version = "0.68.1"
@@ -1195,24 +811,11 @@ dependencies = [
"oxc_index",
"oxc_span",
"phf",
- "rustc-hash 2.1.1",
+ "rustc-hash",
"ryu-js",
"unicode-id-start",
]
-[[package]]
-name = "parking_lot_core"
-version = "0.9.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
-dependencies = [
- "cfg-if",
- "libc",
- "redox_syscall",
- "smallvec",
- "windows-targets",
-]
-
[[package]]
name = "percent-encoding"
version = "2.3.1"
@@ -1249,7 +852,7 @@ dependencies = [
"phf_shared",
"proc-macro2",
"quote",
- "syn 2.0.100",
+ "syn",
]
[[package]]
@@ -1267,29 +870,6 @@ version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
-[[package]]
-name = "proc-macro-error"
-version = "1.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
-dependencies = [
- "proc-macro-error-attr",
- "proc-macro2",
- "quote",
- "version_check",
-]
-
-[[package]]
-name = "proc-macro-error-attr"
-version = "1.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
-dependencies = [
- "proc-macro2",
- "quote",
- "version_check",
-]
-
[[package]]
name = "proc-macro2"
version = "1.0.94"
@@ -1325,7 +905,7 @@ checksum = "ca414edb151b4c8d125c12566ab0d74dc9cdba36fb80eb7b848c15f495fd32d1"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.100",
+ "syn",
]
[[package]]
@@ -1378,39 +958,6 @@ dependencies = [
"crossbeam-utils",
]
-[[package]]
-name = "redox_syscall"
-version = "0.5.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b8c0c260b63a8219631167be35e6a988e9554dbd323f8bd08439c8ed1302bd1"
-dependencies = [
- "bitflags",
-]
-
-[[package]]
-name = "regex-automata"
-version = "0.4.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
-
-[[package]]
-name = "result"
-version = "1.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "194d8e591e405d1eecf28819740abed6d719d1a2db87fc0bcdedee9a26d55560"
-
-[[package]]
-name = "rustc-demangle"
-version = "0.1.24"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f"
-
-[[package]]
-name = "rustc-hash"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
-
[[package]]
name = "rustc-hash"
version = "2.1.1"
@@ -1444,44 +991,12 @@ dependencies = [
"winapi-util",
]
-[[package]]
-name = "schemars"
-version = "0.8.22"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3fbf2ae1b8bc8e02df939598064d22402220cd5bbcca1c76f7d6a310974d5615"
-dependencies = [
- "dyn-clone",
- "indexmap 2.8.0",
- "schemars_derive",
- "serde",
- "serde_json",
- "smallvec",
-]
-
-[[package]]
-name = "schemars_derive"
-version = "0.8.22"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32e265784ad618884abaea0600a9adf15393368d840e0222d101a072f3f7534d"
-dependencies = [
- "proc-macro2",
- "quote",
- "serde_derive_internals",
- "syn 2.0.100",
-]
-
[[package]]
name = "scoped-tls"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294"
-[[package]]
-name = "scopeguard"
-version = "1.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
-
[[package]]
name = "seq-macro"
version = "0.3.6"
@@ -1505,29 +1020,7 @@ checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.100",
-]
-
-[[package]]
-name = "serde_derive_internals"
-version = "0.29.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.100",
-]
-
-[[package]]
-name = "serde_ini"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eb236687e2bb073a7521c021949be944641e671b8505a94069ca37b656c81139"
-dependencies = [
- "result",
- "serde",
- "void",
+ "syn",
]
[[package]]
@@ -1536,7 +1029,6 @@ version = "1.0.140"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373"
dependencies = [
- "indexmap 2.8.0",
"itoa",
"memchr",
"ryu",
@@ -1555,16 +1047,6 @@ version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e"
-[[package]]
-name = "similar"
-version = "2.7.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bbbb5d9659141646ae647b42fe094daf6c6192d1620870b449d9557f748b2daa"
-dependencies = [
- "bstr",
- "unicode-segmentation",
-]
-
[[package]]
name = "siphasher"
version = "0.3.11"
@@ -1634,7 +1116,7 @@ dependencies = [
"proc-macro2",
"quote",
"swc_macros_common",
- "syn 2.0.100",
+ "syn",
]
[[package]]
@@ -1646,7 +1128,7 @@ dependencies = [
"allocator-api2",
"bumpalo",
"ptr_meta",
- "rustc-hash 2.1.1",
+ "rustc-hash",
"triomphe",
]
@@ -1658,7 +1140,7 @@ checksum = "9d7077ba879f95406459bc0c81f3141c529b34580bc64d7ab7bd15e7118a0391"
dependencies = [
"hstr",
"once_cell",
- "rustc-hash 2.1.1",
+ "rustc-hash",
"serde",
]
@@ -1676,7 +1158,7 @@ dependencies = [
"new_debug_unreachable",
"num-bigint",
"once_cell",
- "rustc-hash 2.1.1",
+ "rustc-hash",
"serde",
"siphasher 0.3.11",
"swc_allocator",
@@ -1717,7 +1199,7 @@ dependencies = [
"num-bigint",
"num-traits",
"phf",
- "rustc-hash 2.1.1",
+ "rustc-hash",
"serde",
"smallvec",
"smartstring",
@@ -1737,7 +1219,7 @@ checksum = "e96e15288bf385ab85eb83cff7f9e2d834348da58d0a31b33bdb572e66ee413e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.100",
+ "syn",
]
[[package]]
@@ -1748,7 +1230,7 @@ checksum = "a509f56fca05b39ba6c15f3e58636c3924c78347d63853632ed2ffcb6f5a0ac7"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.100",
+ "syn",
]
[[package]]
@@ -1761,17 +1243,6 @@ dependencies = [
"new_debug_unreachable",
]
-[[package]]
-name = "syn"
-version = "1.0.109"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
-dependencies = [
- "proc-macro2",
- "quote",
- "unicode-ident",
-]
-
[[package]]
name = "syn"
version = "2.0.100"
@@ -1791,16 +1262,7 @@ checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.100",
-]
-
-[[package]]
-name = "termcolor"
-version = "1.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755"
-dependencies = [
- "winapi-util",
+ "syn",
]
[[package]]
@@ -1814,33 +1276,13 @@ dependencies = [
"unicode-width 0.2.0",
]
-[[package]]
-name = "thiserror"
-version = "1.0.69"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
-dependencies = [
- "thiserror-impl 1.0.69",
-]
-
[[package]]
name = "thiserror"
version = "2.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708"
dependencies = [
- "thiserror-impl 2.0.12",
-]
-
-[[package]]
-name = "thiserror-impl"
-version = "1.0.69"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.100",
+ "thiserror-impl",
]
[[package]]
@@ -1851,7 +1293,7 @@ checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.100",
+ "syn",
]
[[package]]
@@ -1883,7 +1325,7 @@ checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.100",
+ "syn",
]
[[package]]
@@ -1911,12 +1353,6 @@ version = "2.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a"
-[[package]]
-name = "unicode-bom"
-version = "2.0.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7eec5d1121208364f6793f7d2e222bf75a915c19557537745b195b253dd64217"
-
[[package]]
name = "unicode-id-start"
version = "1.3.1"
@@ -1935,12 +1371,6 @@ version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3b09c83c3c29d37506a3e260c08c03743a6bb66a9cd432c6934ab501a190571f"
-[[package]]
-name = "unicode-segmentation"
-version = "1.12.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493"
-
[[package]]
name = "unicode-width"
version = "0.1.14"
@@ -1991,12 +1421,6 @@ version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
-[[package]]
-name = "void"
-version = "1.0.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d"
-
[[package]]
name = "walkdir"
version = "2.5.0"
@@ -2139,7 +1563,7 @@ checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.100",
+ "syn",
"synstructure",
]
@@ -2160,7 +1584,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.100",
+ "syn",
]
[[package]]
@@ -2180,7 +1604,7 @@ checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.100",
+ "syn",
"synstructure",
]
@@ -2203,5 +1627,5 @@ checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.100",
+ "syn",
]
diff --git a/Cargo.toml b/Cargo.toml
index af0ae86..c065e4a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -20,11 +20,11 @@ path = "src/swc.rs"
test = false
doctest = false
-[[bin]]
-name = "biome"
-path = "src/biome.rs"
-test = false
-doctest = false
+# [[bin]]
+# name = "biome"
+# path = "src/biome.rs"
+# test = false
+# doctest = false
[dependencies]
oxc = "0.68.1"
@@ -32,8 +32,8 @@ oxc = "0.68.1"
swc_ecma_parser = { version = "10.0.2", features = ["typescript"] }
swc_ecma_ast = "8.0.2"
-biome_js_parser = "0.5.7"
-biome_js_syntax = "0.5.7"
+# biome_js_parser = "0.5.6"
+# biome_js_syntax = "0.5.6"
num_cpus = "1.16.0"
criterion2 = { version = "3.0.0", default-features = false }
diff --git a/src/lib.rs b/src/lib.rs
index 2e74ecb..591c23b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -31,15 +31,15 @@ pub mod swc {
}
}
-pub mod biome {
- use std::path::Path;
-
- use biome_js_parser::{JsParserOptions, Parse};
- use biome_js_syntax::{AnyJsRoot, JsFileSource};
-
- pub fn parse(path: &Path, source: &str) -> Parse {
- let options = JsParserOptions::default();
- let source_type = JsFileSource::try_from(path).unwrap();
- biome_js_parser::parse(source, source_type, options)
- }
-}
+// pub mod biome {
+// use std::path::Path;
+
+// use biome_js_parser::{JsParserOptions, Parse};
+// use biome_js_syntax::{AnyJsRoot, JsFileSource};
+
+// pub fn parse(path: &Path, source: &str) -> Parse {
+// let options = JsParserOptions::default();
+// let source_type = JsFileSource::try_from(path).unwrap();
+// biome_js_parser::parse(source, source_type, options)
+// }
+// }
From 4833a757012c7fc33e259816c096e92a43f2f221 Mon Sep 17 00:00:00 2001
From: Boshen
Date: Mon, 5 May 2025 10:54:30 +0800
Subject: [PATCH 274/385] bump deps
---
Cargo.lock | 107 +++++++++++++++++++++++++++++++++++++----------------
Cargo.toml | 6 +--
2 files changed, 78 insertions(+), 35 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 0c9fcca..339c956 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -26,6 +26,18 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "735d4f398ca57cfa2880225c2bf81c3b9af3be5bb22e44ae70118dad38713e84"
+[[package]]
+name = "anyhow"
+version = "1.0.98"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487"
+
+[[package]]
+name = "arrayvec"
+version = "0.7.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
+
[[package]]
name = "ast_node"
version = "3.0.0"
@@ -104,9 +116,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.2.17"
+version = "1.2.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1fcb57c740ae1daf453ae85f16e37396f672b039e00d9d866e07ddb24e328e3a"
+checksum = "04da6a0d40b948dfc4fa8f5bbf402b0fc1a64a28dbf7d12ffd683550f2c1b63a"
dependencies = [
"shlex",
]
@@ -391,9 +403,9 @@ dependencies = [
[[package]]
name = "icu_locid_transform_data"
-version = "1.5.0"
+version = "1.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e"
+checksum = "7515e6d781098bf9f7205ab3fc7e9709d34554ae0b21ddbcb5febfa4bc7df11d"
[[package]]
name = "icu_normalizer"
@@ -415,9 +427,9 @@ dependencies = [
[[package]]
name = "icu_normalizer_data"
-version = "1.5.0"
+version = "1.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516"
+checksum = "c5e8338228bdc8ab83303f16b797e177953730f601a96c25d10cb3ab0daa0cb7"
[[package]]
name = "icu_properties"
@@ -436,9 +448,9 @@ dependencies = [
[[package]]
name = "icu_properties_data"
-version = "1.5.0"
+version = "1.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569"
+checksum = "85fb8799753b75aee8d2a21d7c14d9f38921b54b3dbda10f5a3c7a7b82dba5e2"
[[package]]
name = "icu_provider"
@@ -515,15 +527,15 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
[[package]]
name = "libc"
-version = "0.2.171"
+version = "0.2.172"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6"
+checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa"
[[package]]
name = "libmimalloc-sys"
-version = "0.1.40"
+version = "0.1.42"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "07d0e07885d6a754b9c7993f2625187ad694ee985d60f23355ff0e7077261502"
+checksum = "ec9d6fac27761dabcd4ee73571cdb06b7022dc99089acbe5435691edffaac0f4"
dependencies = [
"cc",
"libc",
@@ -543,9 +555,9 @@ checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
[[package]]
name = "mimalloc"
-version = "0.1.44"
+version = "0.1.46"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "99585191385958383e13f6b822e6b6d8d9cf928e7d286ceb092da92b43c87bc1"
+checksum = "995942f432bbb4822a7e9c3faa87a695185b0d09273ba85f097b54f4e458f2af"
dependencies = [
"libmimalloc-sys",
]
@@ -603,9 +615,9 @@ dependencies = [
[[package]]
name = "once_cell"
-version = "1.21.1"
+version = "1.21.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d75b0bedcc4fe52caa0e03d9f1151a323e4aa5e2d78ba3580400cd3c9e2bc4bc"
+checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
[[package]]
name = "oorandom"
@@ -872,18 +884,18 @@ checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
[[package]]
name = "proc-macro2"
-version = "1.0.94"
+version = "1.0.95"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84"
+checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778"
dependencies = [
"unicode-ident",
]
[[package]]
name = "psm"
-version = "0.1.25"
+version = "0.1.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f58e5423e24c18cc840e1c98370b3993c6649cd1678b4d24318bcf0a083cbe88"
+checksum = "6e944464ec8536cd1beb0bbfd96987eb5e3b72f2ecdafdc5c769a37f1fa2ae1f"
dependencies = [
"cc",
]
@@ -1061,9 +1073,9 @@ checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d"
[[package]]
name = "smallvec"
-version = "1.14.0"
+version = "1.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7fcf8323ef1faaee30a44a340193b1ac6814fd9b7b4e88e9d4519a3e4abe1cfd"
+checksum = "8917285742e9f3e1683f0a9c4e6b57960b7314d0b08d30d1ecd426713ee2eee9"
[[package]]
name = "smartstring"
@@ -1090,9 +1102,9 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
[[package]]
name = "stacker"
-version = "0.1.20"
+version = "0.1.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "601f9201feb9b09c00266478bf459952b9ef9a6b94edb2f21eba14ab681a60a9"
+checksum = "cddb07e32ddb770749da91081d8d0ac3a16f1a569a18b20348cd371f5dead06b"
dependencies = [
"cc",
"cfg-if",
@@ -1146,10 +1158,11 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "8.0.1"
+version = "9.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9e4a932c152e7142de2d5dba1c393e5523c47cd8fe656e5b0d411954bbaf1810"
+checksum = "5e36654ec9a8b089c329ab7522aa70eb39cc3e4e3dfd70f9176a74414bdec00e"
dependencies = [
+ "anyhow",
"ast_node",
"better_scoped_tls",
"cfg-if",
@@ -1172,14 +1185,16 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "8.0.2"
+version = "9.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ebcf9d10c29e289e459e414e21ed8443d8a58625d98b7e716fe295f457f103b5"
+checksum = "0613d84468a6bb6d45d13c5a3368b37bd21f3067a089f69adac630dcb462a018"
dependencies = [
"bitflags",
"is-macro",
"num-bigint",
+ "once_cell",
"phf",
+ "rustc-hash",
"scoped-tls",
"string_enum",
"swc_atoms",
@@ -1188,12 +1203,39 @@ dependencies = [
"unicode-id-start",
]
+[[package]]
+name = "swc_ecma_lexer"
+version = "12.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0d11c8e71901401b9aae2ece4946eeb7674b14b8301a53768afbbeeb0e48b599"
+dependencies = [
+ "arrayvec",
+ "bitflags",
+ "either",
+ "new_debug_unreachable",
+ "num-bigint",
+ "num-traits",
+ "phf",
+ "rustc-hash",
+ "serde",
+ "smallvec",
+ "smartstring",
+ "stacker",
+ "swc_atoms",
+ "swc_common",
+ "swc_ecma_ast",
+ "tracing",
+ "typed-arena",
+]
+
[[package]]
name = "swc_ecma_parser"
-version = "10.0.2"
+version = "12.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "edfbfa5baabd14901a310f9d55d991625787d27d94de5c38a1a2ef85ebc19c97"
+checksum = "250786944fbc05f6484eda9213df129ccfe17226ae9ad51b62fce2f72135dbee"
dependencies = [
+ "arrayvec",
+ "bitflags",
"either",
"new_debug_unreachable",
"num-bigint",
@@ -1207,6 +1249,7 @@ dependencies = [
"swc_atoms",
"swc_common",
"swc_ecma_ast",
+ "swc_ecma_lexer",
"tracing",
"typed-arena",
]
@@ -1245,9 +1288,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.100"
+version = "2.0.101"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b09a44accad81e1ba1cd74a32461ba89dee89095ba17b32f5d03683b1b1fc2a0"
+checksum = "8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf"
dependencies = [
"proc-macro2",
"quote",
diff --git a/Cargo.toml b/Cargo.toml
index c065e4a..6a36fab 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ doctest = false
[dependencies]
oxc = "0.68.1"
-swc_ecma_parser = { version = "10.0.2", features = ["typescript"] }
-swc_ecma_ast = "8.0.2"
+swc_ecma_parser = { version = "12.0.0", features = ["typescript"] }
+swc_ecma_ast = "9.0.0"
# biome_js_parser = "0.5.6"
# biome_js_syntax = "0.5.6"
@@ -38,7 +38,7 @@ swc_ecma_ast = "8.0.2"
num_cpus = "1.16.0"
criterion2 = { version = "3.0.0", default-features = false }
rayon = "1.10.0"
-mimalloc = "0.1.43"
+mimalloc = "0.1.46"
[features]
codspeed = ["criterion2/codspeed"]
From 433d5da87c593d16f9563510a4e36a0cc03935e9 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 5 May 2025 11:31:13 +0800
Subject: [PATCH 275/385] chore(deps): lock file maintenance (#289)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 339c956..815db45 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -116,9 +116,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.2.20"
+version = "1.2.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "04da6a0d40b948dfc4fa8f5bbf402b0fc1a64a28dbf7d12ffd683550f2c1b63a"
+checksum = "8691782945451c1c383942c4874dbe63814f61cb57ef773cda2972682b7bb3c0"
dependencies = [
"shlex",
]
@@ -158,9 +158,9 @@ dependencies = [
[[package]]
name = "codspeed"
-version = "2.9.1"
+version = "2.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "60e744216bfa9add3b1f2505587cbbb837923232ed10963609f4a6e3cbd99c3e"
+checksum = "93f4cce9c27c49c4f101fffeebb1826f41a9df2e7498b7cd4d95c0658b796c6c"
dependencies = [
"colored 2.2.0",
"libc",
@@ -309,9 +309,9 @@ dependencies = [
[[package]]
name = "half"
-version = "2.5.0"
+version = "2.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7db2ff139bba50379da6aa0766b52fdcb62cb5b263009b09ed58ba604e14bbd1"
+checksum = "459196ed295495a68f7d7fe1d84f6c4b7ff0e21fe3017b2f283c6fac3ad803c9"
dependencies = [
"cfg-if",
"crunchy",
@@ -329,9 +329,9 @@ dependencies = [
[[package]]
name = "hashbrown"
-version = "0.15.2"
+version = "0.15.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289"
+checksum = "84b26c544d002229e640969970a2e74021aadf6e2f96372b9c58eff97de08eb3"
dependencies = [
"allocator-api2",
]
@@ -679,7 +679,7 @@ checksum = "d3da7bc2d06c0fd029c7817889b1e4d418f4955c25c003d5a9ea4a525db8fce9"
dependencies = [
"allocator-api2",
"bumpalo",
- "hashbrown 0.15.2",
+ "hashbrown 0.15.3",
"oxc_data_structures",
"rustc-hash",
"simdutf8",
@@ -1299,9 +1299,9 @@ dependencies = [
[[package]]
name = "synstructure"
-version = "0.13.1"
+version = "0.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
+checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2"
dependencies = [
"proc-macro2",
"quote",
From 0cf1554258f819fd50ed28cbae4b9ea854479d59 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 10 May 2025 10:19:33 +0800
Subject: [PATCH 276/385] chore(deps): update rust crate oxc to 0.69.0 (#290)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 49 ++++++++++++++++++++++++-------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 26 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 815db45..e4c4912 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -633,9 +633,9 @@ checksum = "1036865bb9422d3300cf723f657c2851d0e9ab12567854b1f4eba3d77decf564"
[[package]]
name = "oxc"
-version = "0.68.1"
+version = "0.69.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f907527226ea09664a17963b36d3057ddcab280c1dcc19b3a287f40de30c3965"
+checksum = "6adee1268a2077efca9b1c1f36fdc9d9be2986b70c26bfc648d686002dfc50dd"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -673,9 +673,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.68.1"
+version = "0.69.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d3da7bc2d06c0fd029c7817889b1e4d418f4955c25c003d5a9ea4a525db8fce9"
+checksum = "d64a116c5711ab4de5f6780627c9a88a61effc7e918db50a5943472ab5697164"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -687,9 +687,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.68.1"
+version = "0.69.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9a83d102ba84b604cf24be6b943c3347f13740afa97304461d798f2598d4a92e"
+checksum = "76a801811f4a51678fcb766049a54cf452033240fc7fbe036d356854c7350c9e"
dependencies = [
"bitflags",
"cow-utils",
@@ -704,9 +704,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.68.1"
+version = "0.69.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e03da9a237d05fa378e3398a5a2c28124a387ff666218c1ca4ebfe5f0544d3d"
+checksum = "41ce0ae699f31d2b03e251cc54a0226b1e6022bfa2012dc6074d858f23da154c"
dependencies = [
"proc-macro2",
"quote",
@@ -715,15 +715,15 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.68.1"
+version = "0.69.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a9603941570dc1dbc111e6312d622d60722395b502aa68e703646beacc45d0d2"
+checksum = "48a633d6f98c3e66c4f46a28f2d6d90b826f66464c7ae74c3ad1c084cb5db4af"
[[package]]
name = "oxc_diagnostics"
-version = "0.68.1"
+version = "0.69.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a01184ff8ddf40a39c5ec4b0979b53e6e3f8e5701e4a0aed8edefd208ae310eb"
+checksum = "458d78cc5805fb9496d94b4906afc63a8e4d03cfd293cca8d77c048a1821141f"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -731,9 +731,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.68.1"
+version = "0.69.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d549b884069d155eae98207c404b71113dc8fce2bea84dc53e8476a221405a83"
+checksum = "4c1190881a073f992e1b420c7fc9bf7fcdc73b7377a5bc188844873d44ec87e7"
dependencies = [
"cow-utils",
"num-bigint",
@@ -745,9 +745,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.68.1"
+version = "0.69.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "66904246cb3ceef3c7f9dd4b3a79bb104b242d8e442eb94f6097cec241a0eec4"
+checksum = "78d6c5726456864b42e2ba570e1aceb4fccaef6c98edd2ed2b44ce9f27432373"
[[package]]
name = "oxc_index"
@@ -757,9 +757,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.68.1"
+version = "0.69.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a662d53b21550ca1a5600f70d033fcec40b2a25ba2b5281ecaf2ecd01cb16559"
+checksum = "ec5d7bd6ced861f21f476ef3edca2b2c9b0775696dee4f370614aa06c4d4b767"
dependencies = [
"bitflags",
"cow-utils",
@@ -780,14 +780,13 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.68.1"
+version = "0.69.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c53f760363c78764bb28b8e0f8316d9c28adf89a0ddfba625c8a9f465f4e2199"
+checksum = "d9a1d0d251aa32bbc1228cf2e67b016ed9cdb97f2144c2b1027f3dd0fa9d662a"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
"oxc_diagnostics",
- "oxc_estree",
"oxc_span",
"phf",
"rustc-hash",
@@ -796,9 +795,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.68.1"
+version = "0.69.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f8e3cd484054ea0ce496e16437d802d4d9126e238deb267796db140a80d91dc"
+checksum = "e04ea95e074243c7ee2f48bb8e7164c6b4f53afb6d1b61dd5d1c521c3c173f3e"
dependencies = [
"compact_str",
"oxc-miette",
@@ -809,9 +808,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.68.1"
+version = "0.69.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8933bda357ccc13260bb2fe3a08f02d98ceeb695c9af04d8ec5913edd9bec6d6"
+checksum = "71f3943f294bacbd1395143ee7d47f19080e35028bd3eaca829f154bd99e3a51"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index 6a36fab..1c723e5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.68.1"
+oxc = "0.69.0"
swc_ecma_parser = { version = "12.0.0", features = ["typescript"] }
swc_ecma_ast = "9.0.0"
From f387af5cfea1992e6b6e8494eaad2d95bc5b7822 Mon Sep 17 00:00:00 2001
From: Boshen
Date: Sat, 10 May 2025 10:27:03 +0800
Subject: [PATCH 277/385] omit biome from bench
---
benches/parser.rs | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/benches/parser.rs b/benches/parser.rs
index 1fdcf04..9e99dd7 100644
--- a/benches/parser.rs
+++ b/benches/parser.rs
@@ -60,17 +60,17 @@ impl TheBencher for SwcBencher {
}
}
-struct BiomeBencher;
+// struct BiomeBencher;
-impl TheBencher for BiomeBencher {
- type ParseOutput = biome_js_parser::Parse;
+// impl TheBencher for BiomeBencher {
+// type ParseOutput = biome_js_parser::Parse;
- const ID: &'static str = "biome";
+// const ID: &'static str = "biome";
- fn parse(path: &Path, source: &str) -> Self::ParseOutput {
- bench_parser::biome::parse(path, source)
- }
-}
+// fn parse(path: &Path, source: &str) -> Self::ParseOutput {
+// bench_parser::biome::parse(path, source)
+// }
+// }
fn parser_benchmark(c: &mut Criterion) {
let filenames = ["typescript.js", "cal.com.tsx"];
@@ -80,7 +80,7 @@ fn parser_benchmark(c: &mut Criterion) {
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);
+ // BiomeBencher::bench(&mut g, &path, &source);
g.finish();
}
}
From af2720edaa396d3f580318dd36d75dd24032073f Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 11 May 2025 18:33:06 +0000
Subject: [PATCH 278/385] chore(deps): lock file maintenance (#291)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 162 +++++++++++++++++++++++------------------------------
1 file changed, 69 insertions(+), 93 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index e4c4912..58c1e21 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4,9 +4,9 @@ version = 4
[[package]]
name = "ahash"
-version = "0.8.11"
+version = "0.8.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011"
+checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75"
dependencies = [
"cfg-if",
"once_cell",
@@ -116,9 +116,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.2.21"
+version = "1.2.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8691782945451c1c383942c4874dbe63814f61cb57ef773cda2972682b7bb3c0"
+checksum = "32db95edf998450acc7881c932f94cd9b05c87b4b2599e8bab064753da4acfd1"
dependencies = [
"shlex",
]
@@ -297,9 +297,9 @@ dependencies = [
[[package]]
name = "getrandom"
-version = "0.3.2"
+version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "73fea8450eea4bac3940448fb7ae50d91f034f941199fcd9d909a5a07aa455f0"
+checksum = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4"
dependencies = [
"cfg-if",
"libc",
@@ -364,21 +364,22 @@ dependencies = [
[[package]]
name = "icu_collections"
-version = "1.5.0"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526"
+checksum = "200072f5d0e3614556f94a9930d5dc3e0662a652823904c3a75dc3b0af7fee47"
dependencies = [
"displaydoc",
+ "potential_utf",
"yoke",
"zerofrom",
"zerovec",
]
[[package]]
-name = "icu_locid"
-version = "1.5.0"
+name = "icu_locale_core"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637"
+checksum = "0cde2700ccaed3872079a65fb1a78f6c0a36c91570f28755dda67bc8f7d9f00a"
dependencies = [
"displaydoc",
"litemap",
@@ -387,31 +388,11 @@ dependencies = [
"zerovec",
]
-[[package]]
-name = "icu_locid_transform"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e"
-dependencies = [
- "displaydoc",
- "icu_locid",
- "icu_locid_transform_data",
- "icu_provider",
- "tinystr",
- "zerovec",
-]
-
-[[package]]
-name = "icu_locid_transform_data"
-version = "1.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7515e6d781098bf9f7205ab3fc7e9709d34554ae0b21ddbcb5febfa4bc7df11d"
-
[[package]]
name = "icu_normalizer"
-version = "1.5.0"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f"
+checksum = "436880e8e18df4d7bbc06d58432329d6458cc84531f7ac5f024e93deadb37979"
dependencies = [
"displaydoc",
"icu_collections",
@@ -419,67 +400,54 @@ dependencies = [
"icu_properties",
"icu_provider",
"smallvec",
- "utf16_iter",
- "utf8_iter",
- "write16",
"zerovec",
]
[[package]]
name = "icu_normalizer_data"
-version = "1.5.1"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c5e8338228bdc8ab83303f16b797e177953730f601a96c25d10cb3ab0daa0cb7"
+checksum = "00210d6893afc98edb752b664b8890f0ef174c8adbb8d0be9710fa66fbbf72d3"
[[package]]
name = "icu_properties"
-version = "1.5.1"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5"
+checksum = "2549ca8c7241c82f59c80ba2a6f415d931c5b58d24fb8412caa1a1f02c49139a"
dependencies = [
"displaydoc",
"icu_collections",
- "icu_locid_transform",
+ "icu_locale_core",
"icu_properties_data",
"icu_provider",
- "tinystr",
+ "potential_utf",
+ "zerotrie",
"zerovec",
]
[[package]]
name = "icu_properties_data"
-version = "1.5.1"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "85fb8799753b75aee8d2a21d7c14d9f38921b54b3dbda10f5a3c7a7b82dba5e2"
+checksum = "8197e866e47b68f8f7d95249e172903bec06004b18b2937f1095d40a0c57de04"
[[package]]
name = "icu_provider"
-version = "1.5.0"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9"
+checksum = "03c80da27b5f4187909049ee2d72f276f0d9f99a42c306bd0131ecfe04d8e5af"
dependencies = [
"displaydoc",
- "icu_locid",
- "icu_provider_macros",
+ "icu_locale_core",
"stable_deref_trait",
"tinystr",
"writeable",
"yoke",
"zerofrom",
+ "zerotrie",
"zerovec",
]
-[[package]]
-name = "icu_provider_macros"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
[[package]]
name = "idna"
version = "1.0.3"
@@ -493,9 +461,9 @@ dependencies = [
[[package]]
name = "idna_adapter"
-version = "1.2.0"
+version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71"
+checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344"
dependencies = [
"icu_normalizer",
"icu_properties",
@@ -543,9 +511,9 @@ dependencies = [
[[package]]
name = "litemap"
-version = "0.7.5"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "23fb14cb19457329c82206317a5663005a4d404783dc74f4252769b0d5f42856"
+checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956"
[[package]]
name = "memchr"
@@ -881,6 +849,15 @@ version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
+[[package]]
+name = "potential_utf"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e5a7c30837279ca13e7c867e9e40053bc68740f988cb07f7ca6df43cc734b585"
+dependencies = [
+ "zerovec",
+]
+
[[package]]
name = "proc-macro2"
version = "1.0.95"
@@ -1157,9 +1134,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "9.0.0"
+version = "9.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5e36654ec9a8b089c329ab7522aa70eb39cc3e4e3dfd70f9176a74414bdec00e"
+checksum = "060d8a9a267de961d9ff62ef1edabb05a8e71543b5fdcc0fa43e7a247ea66c88"
dependencies = [
"anyhow",
"ast_node",
@@ -1340,9 +1317,9 @@ dependencies = [
[[package]]
name = "tinystr"
-version = "0.7.6"
+version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f"
+checksum = "5d4f6d1145dcb577acf783d4e601bc1d76a13337bb54e6233add580b07344c8b"
dependencies = [
"displaydoc",
"zerovec",
@@ -1436,12 +1413,6 @@ dependencies = [
"percent-encoding",
]
-[[package]]
-name = "utf16_iter"
-version = "1.0.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246"
-
[[package]]
name = "utf8_iter"
version = "1.0.4"
@@ -1573,23 +1544,17 @@ dependencies = [
"bitflags",
]
-[[package]]
-name = "write16"
-version = "1.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936"
-
[[package]]
name = "writeable"
-version = "0.5.5"
+version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51"
+checksum = "ea2f10b9bb0928dfb1b42b65e1f9e36f7f54dbdf08457afefb38afcdec4fa2bb"
[[package]]
name = "yoke"
-version = "0.7.5"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40"
+checksum = "5f41bb01b8226ef4bfd589436a297c53d118f65921786300e427be8d487695cc"
dependencies = [
"serde",
"stable_deref_trait",
@@ -1599,9 +1564,9 @@ dependencies = [
[[package]]
name = "yoke-derive"
-version = "0.7.5"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154"
+checksum = "38da3c9736e16c5d3c8c597a9aaa5d1fa565d0532ae05e27c24aa62fb32c0ab6"
dependencies = [
"proc-macro2",
"quote",
@@ -1611,18 +1576,18 @@ dependencies = [
[[package]]
name = "zerocopy"
-version = "0.7.35"
+version = "0.8.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
+checksum = "a1702d9583232ddb9174e01bb7c15a2ab8fb1bc6f227aa1233858c351a3ba0cb"
dependencies = [
"zerocopy-derive",
]
[[package]]
name = "zerocopy-derive"
-version = "0.7.35"
+version = "0.8.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
+checksum = "28a6e20d751156648aa063f3800b706ee209a32c0b4d9f24be3d980b01be55ef"
dependencies = [
"proc-macro2",
"quote",
@@ -1650,11 +1615,22 @@ dependencies = [
"synstructure",
]
+[[package]]
+name = "zerotrie"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "36f0bbd478583f79edad978b407914f61b2972f5af6fa089686016be8f9af595"
+dependencies = [
+ "displaydoc",
+ "yoke",
+ "zerofrom",
+]
+
[[package]]
name = "zerovec"
-version = "0.10.4"
+version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079"
+checksum = "4a05eb080e015ba39cc9e23bbe5e7fb04d5fb040350f99f34e338d5fdd294428"
dependencies = [
"yoke",
"zerofrom",
@@ -1663,9 +1639,9 @@ dependencies = [
[[package]]
name = "zerovec-derive"
-version = "0.10.3"
+version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6"
+checksum = "5b96237efa0c878c64bd89c436f661be4e46b2f3eff1ebb976f7ef2321d2f58f"
dependencies = [
"proc-macro2",
"quote",
From c0c3a14a04701bb820bdcd39e63b74045d155d26 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 15 May 2025 19:28:53 +0000
Subject: [PATCH 279/385] chore(deps): update rust crate oxc to 0.70.0 (#293)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 58c1e21..098569a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -601,9 +601,9 @@ checksum = "1036865bb9422d3300cf723f657c2851d0e9ab12567854b1f4eba3d77decf564"
[[package]]
name = "oxc"
-version = "0.69.0"
+version = "0.70.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6adee1268a2077efca9b1c1f36fdc9d9be2986b70c26bfc648d686002dfc50dd"
+checksum = "36e161476bfc4a98f1b451c11e29ba8bded86013387f619a635c9d201cb07664"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -641,9 +641,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.69.0"
+version = "0.70.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d64a116c5711ab4de5f6780627c9a88a61effc7e918db50a5943472ab5697164"
+checksum = "2ffa6f20cba9bfb3486abc83c438f6a9278e4e030b6e9a16d2b5880132f96a1c"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -655,9 +655,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.69.0"
+version = "0.70.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "76a801811f4a51678fcb766049a54cf452033240fc7fbe036d356854c7350c9e"
+checksum = "406a3454475f817e71a4b8fc0a92f04e149730bc4c07d0d1803d5fc9ef75c357"
dependencies = [
"bitflags",
"cow-utils",
@@ -672,9 +672,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.69.0"
+version = "0.70.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "41ce0ae699f31d2b03e251cc54a0226b1e6022bfa2012dc6074d858f23da154c"
+checksum = "d894148693dad702ad668945908f8712fe260c23aaf69bbf9d63a8213a350cdd"
dependencies = [
"proc-macro2",
"quote",
@@ -683,15 +683,15 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.69.0"
+version = "0.70.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "48a633d6f98c3e66c4f46a28f2d6d90b826f66464c7ae74c3ad1c084cb5db4af"
+checksum = "2fc6d1eb979f77be6685a7a67ee5d5124c66ef611c601a84327e7d339db69c41"
[[package]]
name = "oxc_diagnostics"
-version = "0.69.0"
+version = "0.70.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "458d78cc5805fb9496d94b4906afc63a8e4d03cfd293cca8d77c048a1821141f"
+checksum = "33ba161cb61925de34f40b11c1d0d2f20e1894d5333d12f7c455a66244453512"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -699,9 +699,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.69.0"
+version = "0.70.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c1190881a073f992e1b420c7fc9bf7fcdc73b7377a5bc188844873d44ec87e7"
+checksum = "92c1827f0741fae82618b6129c7a3248e8334336879f4968cfce231dd65a9ebf"
dependencies = [
"cow-utils",
"num-bigint",
@@ -713,9 +713,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.69.0"
+version = "0.70.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "78d6c5726456864b42e2ba570e1aceb4fccaef6c98edd2ed2b44ce9f27432373"
+checksum = "c671fd76e9990c90762b7f7f7dd5c3038bf72e3295989b2a71ba11870a193b07"
[[package]]
name = "oxc_index"
@@ -725,9 +725,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.69.0"
+version = "0.70.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec5d7bd6ced861f21f476ef3edca2b2c9b0775696dee4f370614aa06c4d4b767"
+checksum = "959f68446d66542753f2fe081189b729ed89f8ed5302de1a522640ff42eba31e"
dependencies = [
"bitflags",
"cow-utils",
@@ -748,9 +748,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.69.0"
+version = "0.70.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d9a1d0d251aa32bbc1228cf2e67b016ed9cdb97f2144c2b1027f3dd0fa9d662a"
+checksum = "db7f5710da3fea0f40aaba14d547c61ac30c2840fb5d6a1ea9887766b72310c9"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@@ -763,9 +763,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.69.0"
+version = "0.70.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e04ea95e074243c7ee2f48bb8e7164c6b4f53afb6d1b61dd5d1c521c3c173f3e"
+checksum = "cbc66dc0868f4492562d37733754ef147073410004a44551acb102cf2562f66b"
dependencies = [
"compact_str",
"oxc-miette",
@@ -776,9 +776,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.69.0"
+version = "0.70.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "71f3943f294bacbd1395143ee7d47f19080e35028bd3eaca829f154bd99e3a51"
+checksum = "68bfa728cbbf2161b9afc3325addde64feeb39e8167a0ef1472ad1f0efbc9c48"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index 1c723e5..fbdb63e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.69.0"
+oxc = "0.70.0"
swc_ecma_parser = { version = "12.0.0", features = ["typescript"] }
swc_ecma_ast = "9.0.0"
From 58924ad9d059ab96b8fb34457d42857d70079f52 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 15 May 2025 23:30:15 +0000
Subject: [PATCH 280/385] chore(deps): update dependency rust to v1.87.0 (#292)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
rust-toolchain.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
index f7b2b43..ad1559c 100644
--- a/rust-toolchain.toml
+++ b/rust-toolchain.toml
@@ -1,3 +1,3 @@
[toolchain]
-channel = "1.86.0"
+channel = "1.87.0"
profile = "minimal"
From e99191343f46654bd508225e4054ab11e4183ba9 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 16 May 2025 19:54:12 +0000
Subject: [PATCH 281/385] chore(deps): update swc (#294)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 16 ++++++++--------
Cargo.toml | 4 ++--
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 098569a..6484f12 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1134,9 +1134,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "9.1.0"
+version = "10.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "060d8a9a267de961d9ff62ef1edabb05a8e71543b5fdcc0fa43e7a247ea66c88"
+checksum = "a53ebedaccf5e469fa3be2f54e432d9592c659a69eead0cc1b06f41f051e9d89"
dependencies = [
"anyhow",
"ast_node",
@@ -1161,9 +1161,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "9.0.0"
+version = "10.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0613d84468a6bb6d45d13c5a3368b37bd21f3067a089f69adac630dcb462a018"
+checksum = "ca03c581bf83773f6502eb9cce6807a0400556f981dbf2f6f85b5b098322df80"
dependencies = [
"bitflags",
"is-macro",
@@ -1181,9 +1181,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "12.0.0"
+version = "13.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0d11c8e71901401b9aae2ece4946eeb7674b14b8301a53768afbbeeb0e48b599"
+checksum = "256ee9bd0c6928d71d635c7c5044d9125af37070ebd13ab16498303046b9e5d3"
dependencies = [
"arrayvec",
"bitflags",
@@ -1206,9 +1206,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "12.0.0"
+version = "13.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "250786944fbc05f6484eda9213df129ccfe17226ae9ad51b62fce2f72135dbee"
+checksum = "13a88f88646bf3efd7a614aec888c21b5a23bb8e63d7fbcf2df9fcf1a2c952d7"
dependencies = [
"arrayvec",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index fbdb63e..49b9711 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ doctest = false
[dependencies]
oxc = "0.70.0"
-swc_ecma_parser = { version = "12.0.0", features = ["typescript"] }
-swc_ecma_ast = "9.0.0"
+swc_ecma_parser = { version = "13.0.0", features = ["typescript"] }
+swc_ecma_ast = "10.0.0"
# biome_js_parser = "0.5.6"
# biome_js_syntax = "0.5.6"
From 9802685ec7cd7467f47153d1415167f493009d10 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 18 May 2025 18:40:14 +0000
Subject: [PATCH 282/385] chore(deps): lock file maintenance (#295)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 6484f12..ada2232 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -80,9 +80,9 @@ dependencies = [
[[package]]
name = "bitflags"
-version = "2.9.0"
+version = "2.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd"
+checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967"
[[package]]
name = "bpaf"
@@ -116,9 +116,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.2.22"
+version = "1.2.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32db95edf998450acc7881c932f94cd9b05c87b4b2599e8bab064753da4acfd1"
+checksum = "5f4ac86a9e5bc1e2b3449ab9d7d3a6a405e3d1bb28d7b9be8614f55846ae3766"
dependencies = [
"shlex",
]
@@ -595,9 +595,9 @@ checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e"
[[package]]
name = "owo-colors"
-version = "4.2.0"
+version = "4.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1036865bb9422d3300cf723f657c2851d0e9ab12567854b1f4eba3d77decf564"
+checksum = "26995317201fa17f3656c36716aed4a7c81743a9634ac4c99c0eeda495db0cec"
[[package]]
name = "oxc"
From ed0b8bba6eeeb3dbd4d209f0c0bc04cafdb90f23 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 24 May 2025 12:09:23 +0000
Subject: [PATCH 283/385] chore(deps): update rust crate oxc to 0.72.0 (#296)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 60 ++++++++++++++++++++++++++----------------------------
Cargo.toml | 2 +-
2 files changed, 30 insertions(+), 32 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index ada2232..5ed4e09 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -601,9 +601,9 @@ checksum = "26995317201fa17f3656c36716aed4a7c81743a9634ac4c99c0eeda495db0cec"
[[package]]
name = "oxc"
-version = "0.70.0"
+version = "0.72.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "36e161476bfc4a98f1b451c11e29ba8bded86013387f619a635c9d201cb07664"
+checksum = "86a761cfb7ce8c7d07e0bb5a43d8676ae69de62b2d19a542c131784049ad22cb"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -641,23 +641,22 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.70.0"
+version = "0.72.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2ffa6f20cba9bfb3486abc83c438f6a9278e4e030b6e9a16d2b5880132f96a1c"
+checksum = "0769ed37977fc61b76ee89fe955b184db62b07e62609388ad6e6a1eb046837e3"
dependencies = [
"allocator-api2",
"bumpalo",
"hashbrown 0.15.3",
"oxc_data_structures",
"rustc-hash",
- "simdutf8",
]
[[package]]
name = "oxc_ast"
-version = "0.70.0"
+version = "0.72.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "406a3454475f817e71a4b8fc0a92f04e149730bc4c07d0d1803d5fc9ef75c357"
+checksum = "17c6c770d1e86a9c4710d9c7974bf79e573b48efa3a764698477c11035c65738"
dependencies = [
"bitflags",
"cow-utils",
@@ -672,10 +671,11 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.70.0"
+version = "0.72.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d894148693dad702ad668945908f8712fe260c23aaf69bbf9d63a8213a350cdd"
+checksum = "9c08ec3f117c0370106cf39b274090ae7f0b2be48b6bcae794bdc92fd1d34f22"
dependencies = [
+ "phf",
"proc-macro2",
"quote",
"syn",
@@ -683,15 +683,18 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.70.0"
+version = "0.72.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2fc6d1eb979f77be6685a7a67ee5d5124c66ef611c601a84327e7d339db69c41"
+checksum = "374638f55291a87994e37c715c9a312be3e29dfac5dd5a655847a3d4f98d2b63"
+dependencies = [
+ "rustversion",
+]
[[package]]
name = "oxc_diagnostics"
-version = "0.70.0"
+version = "0.72.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "33ba161cb61925de34f40b11c1d0d2f20e1894d5333d12f7c455a66244453512"
+checksum = "c4f29efa3f609ea53f193b1ffc19f548a6ac5464f27ad20a27982d623fc5784a"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -699,9 +702,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.70.0"
+version = "0.72.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "92c1827f0741fae82618b6129c7a3248e8334336879f4968cfce231dd65a9ebf"
+checksum = "b0f469ed7c14f5a2d75f39af03517d3d0da071ae2c33c91cd75f547f434b978d"
dependencies = [
"cow-utils",
"num-bigint",
@@ -713,9 +716,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.70.0"
+version = "0.72.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c671fd76e9990c90762b7f7f7dd5c3038bf72e3295989b2a71ba11870a193b07"
+checksum = "5bf9a77d3465740411872becbf9fc43d0462ba3adb6f2609334c1b75365dfde3"
[[package]]
name = "oxc_index"
@@ -725,9 +728,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.70.0"
+version = "0.72.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "959f68446d66542753f2fe081189b729ed89f8ed5302de1a522640ff42eba31e"
+checksum = "848bc15e9fd22229224593e1468ae4d2cf8d396157b5ba9938daecbbac9a1409"
dependencies = [
"bitflags",
"cow-utils",
@@ -748,10 +751,11 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.70.0"
+version = "0.72.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db7f5710da3fea0f40aaba14d547c61ac30c2840fb5d6a1ea9887766b72310c9"
+checksum = "6ef0bc791b7a19124561c8c285cbb0f25e7cd5e4201b9bfd770b96b5f3bcdf79"
dependencies = [
+ "bitflags",
"oxc_allocator",
"oxc_ast_macros",
"oxc_diagnostics",
@@ -763,9 +767,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.70.0"
+version = "0.72.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cbc66dc0868f4492562d37733754ef147073410004a44551acb102cf2562f66b"
+checksum = "b2c1bcdd7b1695ac01ddcde35bc7b69b72150857d14e696f82f8a38927e7ceb3"
dependencies = [
"compact_str",
"oxc-miette",
@@ -776,9 +780,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.70.0"
+version = "0.72.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "68bfa728cbbf2161b9afc3325addde64feeb39e8167a0ef1472ad1f0efbc9c48"
+checksum = "934fcc154f95afb172f84d250fe42833745eb06e83ced8a4e5d6669b9348528f"
dependencies = [
"bitflags",
"cow-utils",
@@ -1029,12 +1033,6 @@ version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
-[[package]]
-name = "simdutf8"
-version = "0.1.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e"
-
[[package]]
name = "siphasher"
version = "0.3.11"
diff --git a/Cargo.toml b/Cargo.toml
index 49b9711..93b8627 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.70.0"
+oxc = "0.72.0"
swc_ecma_parser = { version = "13.0.0", features = ["typescript"] }
swc_ecma_ast = "10.0.0"
From 124a518b220cefc7b8077ff202f79b96f310197c Mon Sep 17 00:00:00 2001
From: Boshen
Date: Sat, 24 May 2025 20:29:58 +0800
Subject: [PATCH 284/385] bump swc
---
Cargo.lock | 24 ++++++++++++------------
Cargo.toml | 4 ++--
2 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 5ed4e09..7c19a97 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -411,9 +411,9 @@ checksum = "00210d6893afc98edb752b664b8890f0ef174c8adbb8d0be9710fa66fbbf72d3"
[[package]]
name = "icu_properties"
-version = "2.0.0"
+version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2549ca8c7241c82f59c80ba2a6f415d931c5b58d24fb8412caa1a1f02c49139a"
+checksum = "016c619c1eeb94efb86809b015c58f479963de65bdb6253345c1a1276f22e32b"
dependencies = [
"displaydoc",
"icu_collections",
@@ -427,9 +427,9 @@ dependencies = [
[[package]]
name = "icu_properties_data"
-version = "2.0.0"
+version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8197e866e47b68f8f7d95249e172903bec06004b18b2937f1095d40a0c57de04"
+checksum = "298459143998310acd25ffe6810ed544932242d3f07083eee1084d83a71bd632"
[[package]]
name = "icu_provider"
@@ -1132,9 +1132,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "10.0.0"
+version = "11.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a53ebedaccf5e469fa3be2f54e432d9592c659a69eead0cc1b06f41f051e9d89"
+checksum = "209e700a12f0fccd72db3bac7a751e631ef777d543c9e86247e9366b11e30a27"
dependencies = [
"anyhow",
"ast_node",
@@ -1159,9 +1159,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "10.0.0"
+version = "11.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ca03c581bf83773f6502eb9cce6807a0400556f981dbf2f6f85b5b098322df80"
+checksum = "d2313360a518a37c4b9ee50030d189222927a3af902903cc70c50f6929e402dc"
dependencies = [
"bitflags",
"is-macro",
@@ -1179,9 +1179,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "13.0.0"
+version = "14.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "256ee9bd0c6928d71d635c7c5044d9125af37070ebd13ab16498303046b9e5d3"
+checksum = "602a6a5190cbb4adc134bdf9a525b845912a86039130c2b476ff20123b1aacd5"
dependencies = [
"arrayvec",
"bitflags",
@@ -1204,9 +1204,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "13.0.0"
+version = "14.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "13a88f88646bf3efd7a614aec888c21b5a23bb8e63d7fbcf2df9fcf1a2c952d7"
+checksum = "bebfd62dc0ffe6b80bedcd049f1c949133de6d524d12d2edbb0b6fb64896cefb"
dependencies = [
"arrayvec",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 93b8627..9e4b894 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ doctest = false
[dependencies]
oxc = "0.72.0"
-swc_ecma_parser = { version = "13.0.0", features = ["typescript"] }
-swc_ecma_ast = "10.0.0"
+swc_ecma_parser = { version = "14.0.0", features = ["typescript"] }
+swc_ecma_ast = "11.0.0"
# biome_js_parser = "0.5.6"
# biome_js_syntax = "0.5.6"
From 3d49c0edec8347f1638460c57d8a0c7515a67f8e Mon Sep 17 00:00:00 2001
From: Boshen
Date: Sat, 24 May 2025 20:31:25 +0800
Subject: [PATCH 285/385] bump mimalloc
---
Cargo.lock | 26 ++++++++++++++++++--------
Cargo.toml | 2 +-
2 files changed, 19 insertions(+), 9 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 7c19a97..aecf563 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -61,7 +61,7 @@ name = "bench-parser"
version = "0.1.0"
dependencies = [
"criterion2",
- "mimalloc",
+ "mimalloc-safe",
"num_cpus",
"oxc",
"rayon",
@@ -156,6 +156,15 @@ dependencies = [
"half",
]
+[[package]]
+name = "cmake"
+version = "0.1.54"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e7caa3f9de89ddbe2c607f4101924c5abec803763ae9534e4f4d7d8f84aa81f0"
+dependencies = [
+ "cc",
+]
+
[[package]]
name = "codspeed"
version = "2.10.1"
@@ -500,12 +509,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa"
[[package]]
-name = "libmimalloc-sys"
-version = "0.1.42"
+name = "libmimalloc-sys2"
+version = "0.1.48"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec9d6fac27761dabcd4ee73571cdb06b7022dc99089acbe5435691edffaac0f4"
+checksum = "1fa6026099ae10574813598dc3e113eee5a86fbdae5ba859831c0029f9c88b62"
dependencies = [
"cc",
+ "cmake",
"libc",
]
@@ -522,12 +532,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
[[package]]
-name = "mimalloc"
-version = "0.1.46"
+name = "mimalloc-safe"
+version = "0.1.52"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "995942f432bbb4822a7e9c3faa87a695185b0d09273ba85f097b54f4e458f2af"
+checksum = "29e4168fdbae0edf7511ecc95d261abe7d4189e08d945f728f60a28d20675f9f"
dependencies = [
- "libmimalloc-sys",
+ "libmimalloc-sys2",
]
[[package]]
diff --git a/Cargo.toml b/Cargo.toml
index 9e4b894..8ec44c7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -38,7 +38,7 @@ swc_ecma_ast = "11.0.0"
num_cpus = "1.16.0"
criterion2 = { version = "3.0.0", default-features = false }
rayon = "1.10.0"
-mimalloc = "0.1.46"
+mimalloc= { package = "mimalloc-safe", version = "0.1.52" }
[features]
codspeed = ["criterion2/codspeed"]
From 472a6bea6136caf13a88819f532c3246affe7f28 Mon Sep 17 00:00:00 2001
From: Boshen
Date: Sat, 24 May 2025 20:35:32 +0800
Subject: [PATCH 286/385] fix json import
---
table.mjs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/table.mjs b/table.mjs
index 2b3bb3c..803cfcb 100644
--- a/table.mjs
+++ b/table.mjs
@@ -15,7 +15,7 @@ async function readData() {
const measurements = await fs.promises.readdir(`${dir}/${group}/${bench}`);
for (const measurement of measurements) {
- const json = await import(`${dir}/${group}/${bench}/${measurement}/new/estimates.json`, { assert: { type: "json" } });
+ const json = await import(`${dir}/${group}/${bench}/${measurement}/new/estimates.json`, { with: { type: "json" } });
const duration_ms = json.default.mean.point_estimate / 1_000_000;
data[group][bench][measurement] ||= { duration_ms };
}
From e3449109fec211b5e5fd32ed336990804682fe26 Mon Sep 17 00:00:00 2001
From: Boshen
Date: Sat, 24 May 2025 20:46:44 +0800
Subject: [PATCH 287/385] bump renovate
---
.github/renovate.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/renovate.json b/.github/renovate.json
index d9e13ab..fe0df25 100644
--- a/.github/renovate.json
+++ b/.github/renovate.json
@@ -7,7 +7,7 @@
"packageRules": [
{
"groupName": "oxc",
- "matchPackagePrefixes": ["oxc"],
+ "matchDepNames": ["oxc"],
"schedule": ["at any time"],
"automergeType": "pr",
"rangeStrategy": "bump"
From 99f83021b18175bdb6f7e118f69ab1bf4d8bdafc Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 25 May 2025 18:47:43 +0000
Subject: [PATCH 288/385] chore(deps): lock file maintenance (#298)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 92 +++++++++++++++++++++++++++++++++++++++++++++++++-----
1 file changed, 84 insertions(+), 8 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index aecf563..6505c1e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -86,9 +86,9 @@ checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967"
[[package]]
name = "bpaf"
-version = "0.9.19"
+version = "0.9.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4848ed5727d39a7573551c205bcb1ccd88c8cad4ed2c80f62e2316f208196b8d"
+checksum = "473976d7a8620bb1e06dcdd184407c2363fe4fec8e983ee03ed9197222634a31"
[[package]]
name = "bumpalo"
@@ -116,9 +116,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.2.23"
+version = "1.2.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5f4ac86a9e5bc1e2b3449ab9d7d3a6a405e3d1bb28d7b9be8614f55846ae3766"
+checksum = "16595d3be041c03b09d08d0858631facccee9221e579704070e6e9e4915d3bc7"
dependencies = [
"shlex",
]
@@ -496,6 +496,16 @@ version = "1.0.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
+[[package]]
+name = "js-sys"
+version = "0.3.77"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f"
+dependencies = [
+ "once_cell",
+ "wasm-bindgen",
+]
+
[[package]]
name = "lazy_static"
version = "1.5.0"
@@ -525,6 +535,12 @@ version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956"
+[[package]]
+name = "log"
+version = "0.4.27"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
+
[[package]]
name = "memchr"
version = "2.7.4"
@@ -968,9 +984,9 @@ checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d"
[[package]]
name = "rustversion"
-version = "1.0.20"
+version = "1.0.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2"
+checksum = "8a0d197bd2c9dc6e53b84da9556a69ba4cdfab8619eb41a8bd1cc2027a0f6b1d"
[[package]]
name = "ryu"
@@ -1429,11 +1445,13 @@ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
[[package]]
name = "uuid"
-version = "1.16.0"
+version = "1.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "458f7a779bf54acc9f347480ac654f68407d3aab21269a6e3c9f922acd9e2da9"
+checksum = "3cf4199d1e5d15ddd86a694e4d0dffa9c323ce759fea589f00fef9d81cc1931d"
dependencies = [
"getrandom",
+ "js-sys",
+ "wasm-bindgen",
]
[[package]]
@@ -1461,6 +1479,64 @@ dependencies = [
"wit-bindgen-rt",
]
+[[package]]
+name = "wasm-bindgen"
+version = "0.2.100"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
+dependencies = [
+ "cfg-if",
+ "once_cell",
+ "rustversion",
+ "wasm-bindgen-macro",
+]
+
+[[package]]
+name = "wasm-bindgen-backend"
+version = "0.2.100"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
+dependencies = [
+ "bumpalo",
+ "log",
+ "proc-macro2",
+ "quote",
+ "syn",
+ "wasm-bindgen-shared",
+]
+
+[[package]]
+name = "wasm-bindgen-macro"
+version = "0.2.100"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
+dependencies = [
+ "quote",
+ "wasm-bindgen-macro-support",
+]
+
+[[package]]
+name = "wasm-bindgen-macro-support"
+version = "0.2.100"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+ "wasm-bindgen-backend",
+ "wasm-bindgen-shared",
+]
+
+[[package]]
+name = "wasm-bindgen-shared"
+version = "0.2.100"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
+dependencies = [
+ "unicode-ident",
+]
+
[[package]]
name = "winapi-util"
version = "0.1.9"
From b24da09e8201cb62a2a4c59db73802f5bba5534b Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 27 May 2025 19:35:36 +0000
Subject: [PATCH 289/385] chore(deps): update rust crate swc_ecma_parser to
14.0.1 (#299)
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 6505c1e..6ef4599 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1205,9 +1205,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "14.0.0"
+version = "14.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "602a6a5190cbb4adc134bdf9a525b845912a86039130c2b476ff20123b1aacd5"
+checksum = "152c143650e5be72da03a11ee5a98ac6381716688b15a64e23498fb87b18ee33"
dependencies = [
"arrayvec",
"bitflags",
@@ -1230,9 +1230,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "14.0.0"
+version = "14.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bebfd62dc0ffe6b80bedcd049f1c949133de6d524d12d2edbb0b6fb64896cefb"
+checksum = "8b59cd2d4c1989c38eae5cd5888f3a3120ecbe2e53b939e586d340b12de7c1e2"
dependencies = [
"arrayvec",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 8ec44c7..450216f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.72.0"
-swc_ecma_parser = { version = "14.0.0", features = ["typescript"] }
+swc_ecma_parser = { version = "14.0.1", features = ["typescript"] }
swc_ecma_ast = "11.0.0"
# biome_js_parser = "0.5.6"
From e6185584a1f88d586e5bf8eb16679a78935bd7d4 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 28 May 2025 10:25:41 +0000
Subject: [PATCH 290/385] chore(deps): update rust crate oxc to 0.72.1 (#300)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 56 +++++++++++++++++++++++++++---------------------------
Cargo.toml | 2 +-
2 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 6ef4599..2b59fb4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -627,9 +627,9 @@ checksum = "26995317201fa17f3656c36716aed4a7c81743a9634ac4c99c0eeda495db0cec"
[[package]]
name = "oxc"
-version = "0.72.0"
+version = "0.72.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "86a761cfb7ce8c7d07e0bb5a43d8676ae69de62b2d19a542c131784049ad22cb"
+checksum = "61a4d9521b1c1c9750bef7fd133b542d48b0073097da97b0e0bbb89b6b59bc6c"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -642,9 +642,9 @@ dependencies = [
[[package]]
name = "oxc-miette"
-version = "2.2.1"
+version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8c278d00ecc50ee84aba4768a7ab74eb325dff4dca8c0581495b850d53480ba"
+checksum = "98b2c44324a4372caf6e3128a22744263c973e809fc598db3749ef3ff5e9fed4"
dependencies = [
"cfg-if",
"owo-colors",
@@ -656,9 +656,9 @@ dependencies = [
[[package]]
name = "oxc-miette-derive"
-version = "2.1.2"
+version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c0c893f53900e3fe01eca3d6d3b54085573c3e48fe25af9d57dd94ef600dcd3"
+checksum = "3bd3da01a295024fa79e3b4aba14b590d91256a274ff29cc5ee8f55183b2df24"
dependencies = [
"proc-macro2",
"quote",
@@ -667,9 +667,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.72.0"
+version = "0.72.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0769ed37977fc61b76ee89fe955b184db62b07e62609388ad6e6a1eb046837e3"
+checksum = "e63bc2ee951d0991953c95412e8907457fc38c8d9366a65cfc31a0490cd6a5a2"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -680,9 +680,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.72.0"
+version = "0.72.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "17c6c770d1e86a9c4710d9c7974bf79e573b48efa3a764698477c11035c65738"
+checksum = "7def3a0a7776127c60afa410a6a4a03b27dec7c65d350478b234a7127ca53bf2"
dependencies = [
"bitflags",
"cow-utils",
@@ -697,9 +697,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.72.0"
+version = "0.72.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9c08ec3f117c0370106cf39b274090ae7f0b2be48b6bcae794bdc92fd1d34f22"
+checksum = "c7d2acd02146b9f5d69b4035a49f0ed91139b9168ff1559234481df9a4195630"
dependencies = [
"phf",
"proc-macro2",
@@ -709,18 +709,18 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.72.0"
+version = "0.72.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "374638f55291a87994e37c715c9a312be3e29dfac5dd5a655847a3d4f98d2b63"
+checksum = "e3a91991eb494f1c3619feb27af1298bd05b0caac6198cdee528a61b7709ae9f"
dependencies = [
"rustversion",
]
[[package]]
name = "oxc_diagnostics"
-version = "0.72.0"
+version = "0.72.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c4f29efa3f609ea53f193b1ffc19f548a6ac5464f27ad20a27982d623fc5784a"
+checksum = "580a11ff9d17d5b5ca93e9fd9a3d0404f010e71b5a6ee743b4e9f4641d786ab1"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -728,9 +728,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.72.0"
+version = "0.72.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b0f469ed7c14f5a2d75f39af03517d3d0da071ae2c33c91cd75f547f434b978d"
+checksum = "5613f7445cef6a08b9543dda6cb1962e5829c5ff5bae036d2bd41b740602e3eb"
dependencies = [
"cow-utils",
"num-bigint",
@@ -742,9 +742,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.72.0"
+version = "0.72.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5bf9a77d3465740411872becbf9fc43d0462ba3adb6f2609334c1b75365dfde3"
+checksum = "1fb3d8b5e6674a51a9d5a8e1f051eba423c2b78381ecd0b7847517967193cbb8"
[[package]]
name = "oxc_index"
@@ -754,9 +754,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.72.0"
+version = "0.72.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "848bc15e9fd22229224593e1468ae4d2cf8d396157b5ba9938daecbbac9a1409"
+checksum = "42bcc81f20b04c4d186ccf576487b93b6b437bda8626349b6ef770795e65781f"
dependencies = [
"bitflags",
"cow-utils",
@@ -777,9 +777,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.72.0"
+version = "0.72.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6ef0bc791b7a19124561c8c285cbb0f25e7cd5e4201b9bfd770b96b5f3bcdf79"
+checksum = "0863519e3231996e3a6c2a86f068712dfed956d44228aa744593dde2ffbe169c"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -793,9 +793,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.72.0"
+version = "0.72.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b2c1bcdd7b1695ac01ddcde35bc7b69b72150857d14e696f82f8a38927e7ceb3"
+checksum = "8580e4eedc08a6168a4a530fb407a17f70d270e8f2b2f6653914422b03f10321"
dependencies = [
"compact_str",
"oxc-miette",
@@ -806,9 +806,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.72.0"
+version = "0.72.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "934fcc154f95afb172f84d250fe42833745eb06e83ced8a4e5d6669b9348528f"
+checksum = "0d29704018fbd8b45711284729c5cde09c29391f254d7bca7e9c6899c0c44816"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index 450216f..191ca49 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.72.0"
+oxc = "0.72.1"
swc_ecma_parser = { version = "14.0.1", features = ["typescript"] }
swc_ecma_ast = "11.0.0"
From cc1e11a9c857858067971c2fd87927dce517b22d Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 31 May 2025 08:36:01 +0000
Subject: [PATCH 291/385] chore(deps): update rust crate oxc to 0.72.2 (#301)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 2b59fb4..240cd07 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -627,9 +627,9 @@ checksum = "26995317201fa17f3656c36716aed4a7c81743a9634ac4c99c0eeda495db0cec"
[[package]]
name = "oxc"
-version = "0.72.1"
+version = "0.72.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "61a4d9521b1c1c9750bef7fd133b542d48b0073097da97b0e0bbb89b6b59bc6c"
+checksum = "e91ecbc3f076425da55380d3f3f873bbbd0a10f56d9f9b6c0d15c88a2188f127"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -667,9 +667,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.72.1"
+version = "0.72.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e63bc2ee951d0991953c95412e8907457fc38c8d9366a65cfc31a0490cd6a5a2"
+checksum = "94677be5d1874da150784b9d551bae0dfad7e5a6121a2c6acccda335c05504ea"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -680,9 +680,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.72.1"
+version = "0.72.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7def3a0a7776127c60afa410a6a4a03b27dec7c65d350478b234a7127ca53bf2"
+checksum = "26f7b73c9a8e265169d98cd2395cbab52fcb849d3297b1ec2511a1d908775c73"
dependencies = [
"bitflags",
"cow-utils",
@@ -697,9 +697,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.72.1"
+version = "0.72.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c7d2acd02146b9f5d69b4035a49f0ed91139b9168ff1559234481df9a4195630"
+checksum = "3f411489fef9ace92fdea3105490f9aab07a78c9adff25b62345b1a1bd49ee0c"
dependencies = [
"phf",
"proc-macro2",
@@ -709,18 +709,18 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.72.1"
+version = "0.72.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3a91991eb494f1c3619feb27af1298bd05b0caac6198cdee528a61b7709ae9f"
+checksum = "09ebee1a21c5d47b6e845357274904ec9568b001d3ff6ab04d4cc4754fd148c2"
dependencies = [
"rustversion",
]
[[package]]
name = "oxc_diagnostics"
-version = "0.72.1"
+version = "0.72.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "580a11ff9d17d5b5ca93e9fd9a3d0404f010e71b5a6ee743b4e9f4641d786ab1"
+checksum = "7fa03ff098ecf135235ed3c88e013a22e9b58caf1108d32eca5261daf2d88330"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -728,9 +728,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.72.1"
+version = "0.72.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5613f7445cef6a08b9543dda6cb1962e5829c5ff5bae036d2bd41b740602e3eb"
+checksum = "e1b5dba7d2918b9a59f82ce974b85cc6de1e577d06f49d1e608505e9da6a0b02"
dependencies = [
"cow-utils",
"num-bigint",
@@ -742,9 +742,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.72.1"
+version = "0.72.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1fb3d8b5e6674a51a9d5a8e1f051eba423c2b78381ecd0b7847517967193cbb8"
+checksum = "7a870fcc8a8a8eeb3471cb51df3628f04e9f53521608e735a34bd9b6f96ce78c"
[[package]]
name = "oxc_index"
@@ -754,9 +754,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.72.1"
+version = "0.72.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "42bcc81f20b04c4d186ccf576487b93b6b437bda8626349b6ef770795e65781f"
+checksum = "ca8194f22ac433d9f2575f3f5a35fdc2ec403877a2c98b8bbb7047acc73e07e6"
dependencies = [
"bitflags",
"cow-utils",
@@ -777,9 +777,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.72.1"
+version = "0.72.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0863519e3231996e3a6c2a86f068712dfed956d44228aa744593dde2ffbe169c"
+checksum = "bac34c62476a83f00f36fb08991730db51a722082125067f9562257fd97cbb88"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -793,9 +793,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.72.1"
+version = "0.72.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8580e4eedc08a6168a4a530fb407a17f70d270e8f2b2f6653914422b03f10321"
+checksum = "886510fc6db2c5a7a905feeb966e613527bdbe2e544057923957ba79e3e93142"
dependencies = [
"compact_str",
"oxc-miette",
@@ -806,9 +806,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.72.1"
+version = "0.72.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0d29704018fbd8b45711284729c5cde09c29391f254d7bca7e9c6899c0c44816"
+checksum = "3dddefc02737686c68da8597a88ba5514e7134aba006c61f72fb1752451f95cc"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index 191ca49..6ff0192 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.72.1"
+oxc = "0.72.2"
swc_ecma_parser = { version = "14.0.1", features = ["typescript"] }
swc_ecma_ast = "11.0.0"
From 8090ffb787c717694fd1c2a8415efd1c26581c9b Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 1 Jun 2025 18:10:03 +0000
Subject: [PATCH 292/385] chore(deps): lock file maintenance rust crates (#302)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 240cd07..bb9ca0c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -116,9 +116,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.2.24"
+version = "1.2.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "16595d3be041c03b09d08d0858631facccee9221e579704070e6e9e4915d3bc7"
+checksum = "d0fc897dc1e865cc67c0e05a836d9d3f1df3cbe442aa4a9473b18e12624a4951"
dependencies = [
"shlex",
]
@@ -353,9 +353,9 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
[[package]]
name = "hermit-abi"
-version = "0.3.9"
+version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
+checksum = "f154ce46856750ed433c8649605bf7ed2de3bc35fd9d2a9f30cddd873c80cb08"
[[package]]
name = "hstr"
@@ -599,9 +599,9 @@ dependencies = [
[[package]]
name = "num_cpus"
-version = "1.16.0"
+version = "1.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43"
+checksum = "91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b"
dependencies = [
"hermit-abi",
"libc",
@@ -1205,9 +1205,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "14.0.2"
+version = "14.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "152c143650e5be72da03a11ee5a98ac6381716688b15a64e23498fb87b18ee33"
+checksum = "7b232a4ba5106d7bfa4da9cb4a22c3f3fdac64d656cf45c60a349f8ded133462"
dependencies = [
"arrayvec",
"bitflags",
From 74c197c040bc0b9509ee04e2d28e12f110e7b086 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 4 Jun 2025 16:54:35 +0000
Subject: [PATCH 293/385] chore(deps): update rust crate swc_ecma_parser to
14.0.2 (#303)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 12 ++++++------
Cargo.toml | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index bb9ca0c..172a7e5 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1158,9 +1158,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "11.0.0"
+version = "11.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "209e700a12f0fccd72db3bac7a751e631ef777d543c9e86247e9366b11e30a27"
+checksum = "d3155396ace6598e8a0fa08a02131ad65f8ec4494bf7f9481f66523348bb0114"
dependencies = [
"anyhow",
"ast_node",
@@ -1205,9 +1205,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "14.0.3"
+version = "14.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7b232a4ba5106d7bfa4da9cb4a22c3f3fdac64d656cf45c60a349f8ded133462"
+checksum = "bb339d30ba6ee93da5d5638982faaa79586cd429fe331648abf42afa0eb0a7b5"
dependencies = [
"arrayvec",
"bitflags",
@@ -1230,9 +1230,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "14.0.1"
+version = "14.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b59cd2d4c1989c38eae5cd5888f3a3120ecbe2e53b939e586d340b12de7c1e2"
+checksum = "60e07e6ecd47f748988902976d09c4022b1147772f88ad8a95852a20722ac7dc"
dependencies = [
"arrayvec",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 6ff0192..7aa5d5a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.72.2"
-swc_ecma_parser = { version = "14.0.1", features = ["typescript"] }
+swc_ecma_parser = { version = "14.0.2", features = ["typescript"] }
swc_ecma_ast = "11.0.0"
# biome_js_parser = "0.5.6"
From 986e8d6616e1fec9df14b18faa037926d5ac2470 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 6 Jun 2025 21:08:52 +0000
Subject: [PATCH 294/385] chore(deps): update rust crate oxc to 0.72.3 (#304)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 172a7e5..89bad46 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -627,9 +627,9 @@ checksum = "26995317201fa17f3656c36716aed4a7c81743a9634ac4c99c0eeda495db0cec"
[[package]]
name = "oxc"
-version = "0.72.2"
+version = "0.72.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e91ecbc3f076425da55380d3f3f873bbbd0a10f56d9f9b6c0d15c88a2188f127"
+checksum = "44c130580b8327276f252c7a84b484bc35c9432e23ec41b081506d0a5bc71a28"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -667,9 +667,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.72.2"
+version = "0.72.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "94677be5d1874da150784b9d551bae0dfad7e5a6121a2c6acccda335c05504ea"
+checksum = "92e50218e74886659d1d13de8e6a4ff13c7e96924ed0017bc193a1feb8001b18"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -680,9 +680,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.72.2"
+version = "0.72.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "26f7b73c9a8e265169d98cd2395cbab52fcb849d3297b1ec2511a1d908775c73"
+checksum = "3a2c546ff7887418facf35f7996f0ca2099bde75931597429b408746bbaaddcd"
dependencies = [
"bitflags",
"cow-utils",
@@ -697,9 +697,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.72.2"
+version = "0.72.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3f411489fef9ace92fdea3105490f9aab07a78c9adff25b62345b1a1bd49ee0c"
+checksum = "4ce8952bd09048ac55421aeecc06cc69db9f7220a25d69f3da8c6da3d95e5d6d"
dependencies = [
"phf",
"proc-macro2",
@@ -709,18 +709,18 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.72.2"
+version = "0.72.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09ebee1a21c5d47b6e845357274904ec9568b001d3ff6ab04d4cc4754fd148c2"
+checksum = "caccf3f0c0515f32520b6207a0ef4bafd0858f94685e84a50f38c53464418e8b"
dependencies = [
"rustversion",
]
[[package]]
name = "oxc_diagnostics"
-version = "0.72.2"
+version = "0.72.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7fa03ff098ecf135235ed3c88e013a22e9b58caf1108d32eca5261daf2d88330"
+checksum = "79d4d0062c704ee11dbd56d6178f91ea17ccac05a59fe655b120a2b64d038739"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -728,9 +728,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.72.2"
+version = "0.72.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e1b5dba7d2918b9a59f82ce974b85cc6de1e577d06f49d1e608505e9da6a0b02"
+checksum = "3e0e3cc7daeec1ed3ed75abc02a456d7046c5878c61bda972d26e39850f25298"
dependencies = [
"cow-utils",
"num-bigint",
@@ -742,9 +742,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.72.2"
+version = "0.72.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7a870fcc8a8a8eeb3471cb51df3628f04e9f53521608e735a34bd9b6f96ce78c"
+checksum = "68bb8e3cedd84c69241a0438d14ca09294ab95049b52dc7813bba017554c96fb"
[[package]]
name = "oxc_index"
@@ -754,9 +754,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.72.2"
+version = "0.72.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ca8194f22ac433d9f2575f3f5a35fdc2ec403877a2c98b8bbb7047acc73e07e6"
+checksum = "d3bb3f8ed289796dcd7fecc4cfec895fbe29c269cf63658b63f352ce8fd7caf7"
dependencies = [
"bitflags",
"cow-utils",
@@ -777,9 +777,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.72.2"
+version = "0.72.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bac34c62476a83f00f36fb08991730db51a722082125067f9562257fd97cbb88"
+checksum = "b8e58c2970fa7dcb10a5c757706c5824c43f13abb908a4651b221033c96c1ddc"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -793,9 +793,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.72.2"
+version = "0.72.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "886510fc6db2c5a7a905feeb966e613527bdbe2e544057923957ba79e3e93142"
+checksum = "f290a8f173016c5b84327297bb3f2b9c158b0733703ac2f29d9e77f9b4821ddd"
dependencies = [
"compact_str",
"oxc-miette",
@@ -806,9 +806,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.72.2"
+version = "0.72.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3dddefc02737686c68da8597a88ba5514e7134aba006c61f72fb1752451f95cc"
+checksum = "1d83f7a8a718db14fd6e8f864b70b0961e3b4ae44c9a28102262357c27aee944"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index 7aa5d5a..7385460 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.72.2"
+oxc = "0.72.3"
swc_ecma_parser = { version = "14.0.2", features = ["typescript"] }
swc_ecma_ast = "11.0.0"
From 94e9c4e42cf33f3c0fce37f4b3a85b5dd40bf96c Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 8 Jun 2025 16:35:50 +0000
Subject: [PATCH 295/385] chore(deps): lock file maintenance rust crates (#305)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 89bad46..2de45b2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -116,9 +116,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.2.25"
+version = "1.2.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d0fc897dc1e865cc67c0e05a836d9d3f1df3cbe442aa4a9473b18e12624a4951"
+checksum = "956a5e21988b87f372569b66183b78babf23ebc2e744b733e4350a752c4dafac"
dependencies = [
"shlex",
]
@@ -338,9 +338,9 @@ dependencies = [
[[package]]
name = "hashbrown"
-version = "0.15.3"
+version = "0.15.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "84b26c544d002229e640969970a2e74021aadf6e2f96372b9c58eff97de08eb3"
+checksum = "5971ac85611da7067dbfcabef3c70ebb5606018acd9e2a3903a0da507521e0d5"
dependencies = [
"allocator-api2",
]
@@ -673,7 +673,7 @@ checksum = "92e50218e74886659d1d13de8e6a4ff13c7e96924ed0017bc193a1feb8001b18"
dependencies = [
"allocator-api2",
"bumpalo",
- "hashbrown 0.15.3",
+ "hashbrown 0.15.4",
"oxc_data_structures",
"rustc-hash",
]
@@ -1073,9 +1073,9 @@ checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d"
[[package]]
name = "smallvec"
-version = "1.15.0"
+version = "1.15.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8917285742e9f3e1683f0a9c4e6b57960b7314d0b08d30d1ecd426713ee2eee9"
+checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
[[package]]
name = "smartstring"
@@ -1158,9 +1158,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "11.1.2"
+version = "11.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d3155396ace6598e8a0fa08a02131ad65f8ec4494bf7f9481f66523348bb0114"
+checksum = "44c332906667b0fa98622f19a19e43afa5aa63b652813f80645dd0f33eca1fbb"
dependencies = [
"anyhow",
"ast_node",
@@ -1362,9 +1362,9 @@ dependencies = [
[[package]]
name = "tracing-attributes"
-version = "0.1.28"
+version = "0.1.29"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d"
+checksum = "1b1ffbcf9c6f6b99d386e7444eb608ba646ae452a36b39737deb9663b610f662"
dependencies = [
"proc-macro2",
"quote",
@@ -1373,9 +1373,9 @@ dependencies = [
[[package]]
name = "tracing-core"
-version = "0.1.33"
+version = "0.1.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c"
+checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678"
dependencies = [
"once_cell",
]
From be5cc334516d2b86076cf2e4fc7133422a1aaf50 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 10 Jun 2025 22:43:22 +0000
Subject: [PATCH 296/385] chore(deps): update swc (#306)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 33 +++++++++++++++++++++++++--------
Cargo.toml | 4 ++--
2 files changed, 27 insertions(+), 10 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 2de45b2..8ac93d3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -99,6 +99,22 @@ dependencies = [
"allocator-api2",
]
+[[package]]
+name = "bytes"
+version = "1.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a"
+
+[[package]]
+name = "bytes-str"
+version = "0.2.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "95ea3da8de225a11bcd5cee66b00eddcc7fd03e55bbe839fa4735d3281afb758"
+dependencies = [
+ "bytes",
+ "serde",
+]
+
[[package]]
name = "cast"
version = "0.3.0"
@@ -1158,13 +1174,14 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "11.1.3"
+version = "12.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "44c332906667b0fa98622f19a19e43afa5aa63b652813f80645dd0f33eca1fbb"
+checksum = "84c376d04a9e50083b31962550590199c78a1c0f6b88e48ea9f46c95623074dc"
dependencies = [
"anyhow",
"ast_node",
"better_scoped_tls",
+ "bytes-str",
"cfg-if",
"either",
"from_variant",
@@ -1185,9 +1202,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "11.0.0"
+version = "12.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2313360a518a37c4b9ee50030d189222927a3af902903cc70c50f6929e402dc"
+checksum = "82007a7a4fb30198baf82f79244aca929d9845e16fcf897179773e4ebfed20f5"
dependencies = [
"bitflags",
"is-macro",
@@ -1205,9 +1222,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "14.0.5"
+version = "15.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bb339d30ba6ee93da5d5638982faaa79586cd429fe331648abf42afa0eb0a7b5"
+checksum = "52114e9b522b43636f0034f1f6e63460777bde4c3a77c830c9b5724c2afcc4fc"
dependencies = [
"arrayvec",
"bitflags",
@@ -1230,9 +1247,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "14.0.2"
+version = "15.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "60e07e6ecd47f748988902976d09c4022b1147772f88ad8a95852a20722ac7dc"
+checksum = "27e4002a6385182fa389f10832e3d3aa1a7cd6d865e9492fb8d4b5c399bbdb6b"
dependencies = [
"arrayvec",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 7385460..eececba 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ doctest = false
[dependencies]
oxc = "0.72.3"
-swc_ecma_parser = { version = "14.0.2", features = ["typescript"] }
-swc_ecma_ast = "11.0.0"
+swc_ecma_parser = { version = "15.0.0", features = ["typescript"] }
+swc_ecma_ast = "12.0.0"
# biome_js_parser = "0.5.6"
# biome_js_syntax = "0.5.6"
From f51b6d3005985eadc90a8f531f33dec5c85378bf Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 12 Jun 2025 23:40:42 +0000
Subject: [PATCH 297/385] chore(deps): update rust crate swc_ecma_parser to
15.0.1 (#307)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 12 ++++++------
Cargo.toml | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 8ac93d3..9c27b1c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1174,9 +1174,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "12.0.0"
+version = "12.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "84c376d04a9e50083b31962550590199c78a1c0f6b88e48ea9f46c95623074dc"
+checksum = "fd2adffdd9f42af6cfefa16b1aaa8a0984a21854637ef9d89332dd29420d4b23"
dependencies = [
"anyhow",
"ast_node",
@@ -1222,9 +1222,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "15.0.0"
+version = "15.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "52114e9b522b43636f0034f1f6e63460777bde4c3a77c830c9b5724c2afcc4fc"
+checksum = "4858747b5769034e22fd475334e6818d21234b0ecc4cce84efa940934436aeaa"
dependencies = [
"arrayvec",
"bitflags",
@@ -1247,9 +1247,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "15.0.0"
+version = "15.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "27e4002a6385182fa389f10832e3d3aa1a7cd6d865e9492fb8d4b5c399bbdb6b"
+checksum = "bd869861719757d7154e6ec0befa5569246516f07aaa2f7429c17673ce398098"
dependencies = [
"arrayvec",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index eececba..11de2ed 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.72.3"
-swc_ecma_parser = { version = "15.0.0", features = ["typescript"] }
+swc_ecma_parser = { version = "15.0.1", features = ["typescript"] }
swc_ecma_ast = "12.0.0"
# biome_js_parser = "0.5.6"
From fdd70c69cc590e33c20bbafb07b027842288d8c6 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 13 Jun 2025 16:51:13 +0000
Subject: [PATCH 298/385] chore(deps): update rust crate oxc to 0.73.0 (#308)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 50 ++++++++++++++++++++++++--------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 27 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 9c27b1c..9114402 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -643,9 +643,9 @@ checksum = "26995317201fa17f3656c36716aed4a7c81743a9634ac4c99c0eeda495db0cec"
[[package]]
name = "oxc"
-version = "0.72.3"
+version = "0.73.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "44c130580b8327276f252c7a84b484bc35c9432e23ec41b081506d0a5bc71a28"
+checksum = "0053b9142d0776d038db03b967c87ebafa5bffdc4150183b5540adbcbc00fabe"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -683,9 +683,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.72.3"
+version = "0.73.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "92e50218e74886659d1d13de8e6a4ff13c7e96924ed0017bc193a1feb8001b18"
+checksum = "6ead9af98156b7a80512e1d0db127572ee4a8de43b41eaf5b797482c8530fdad"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -696,12 +696,11 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.72.3"
+version = "0.73.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3a2c546ff7887418facf35f7996f0ca2099bde75931597429b408746bbaaddcd"
+checksum = "bac5f46a96dd0bc9f63b9745568471b42cb0b617716d311c34a79f68e355796a"
dependencies = [
"bitflags",
- "cow-utils",
"oxc_allocator",
"oxc_ast_macros",
"oxc_data_structures",
@@ -713,9 +712,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.72.3"
+version = "0.73.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ce8952bd09048ac55421aeecc06cc69db9f7220a25d69f3da8c6da3d95e5d6d"
+checksum = "d2c25817869aab36130e4d0c7cf8630582e408bff34b95fb66a03512bb3defe5"
dependencies = [
"phf",
"proc-macro2",
@@ -725,18 +724,18 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.72.3"
+version = "0.73.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "caccf3f0c0515f32520b6207a0ef4bafd0858f94685e84a50f38c53464418e8b"
+checksum = "cb7bba3e8f1e9b15d80b192f87b4e05aa6fbaa03e16fd62d6c087a2427caf8ab"
dependencies = [
"rustversion",
]
[[package]]
name = "oxc_diagnostics"
-version = "0.72.3"
+version = "0.73.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "79d4d0062c704ee11dbd56d6178f91ea17ccac05a59fe655b120a2b64d038739"
+checksum = "893f091e2c224765d9b156b90c9ce09d724f60144549db05f685919585cf745e"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -744,11 +743,10 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.72.3"
+version = "0.73.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3e0e3cc7daeec1ed3ed75abc02a456d7046c5878c61bda972d26e39850f25298"
+checksum = "31554a9681ebafe20e175b0a99fdee45ddf38285a5e9ca4bdefe223779963870"
dependencies = [
- "cow-utils",
"num-bigint",
"num-traits",
"oxc_ast",
@@ -758,9 +756,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.72.3"
+version = "0.73.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "68bb8e3cedd84c69241a0438d14ca09294ab95049b52dc7813bba017554c96fb"
+checksum = "19c82ec9b051aab8fbbd68366ad90de958dd32365f9f445c89395ad42cf050fe"
[[package]]
name = "oxc_index"
@@ -770,9 +768,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.72.3"
+version = "0.73.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d3bb3f8ed289796dcd7fecc4cfec895fbe29c269cf63658b63f352ce8fd7caf7"
+checksum = "120aa69d4df56d66fc5f0a525c5ff02369cee5f97289ea20b533b7f76530413b"
dependencies = [
"bitflags",
"cow-utils",
@@ -793,9 +791,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.72.3"
+version = "0.73.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8e58c2970fa7dcb10a5c757706c5824c43f13abb908a4651b221033c96c1ddc"
+checksum = "f22f6568dd7bb5e84eb45a22bda827d5735f09a95ca8e3e233be56516fdc3d9b"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -809,9 +807,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.72.3"
+version = "0.73.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f290a8f173016c5b84327297bb3f2b9c158b0733703ac2f29d9e77f9b4821ddd"
+checksum = "6a54f79470afa4c6cea26c69a0af0fe9ba61f4108b4254fe3170ae6fce04fa11"
dependencies = [
"compact_str",
"oxc-miette",
@@ -822,9 +820,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.72.3"
+version = "0.73.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d83f7a8a718db14fd6e8f864b70b0961e3b4ae44c9a28102262357c27aee944"
+checksum = "b27a8e08726b8d2db468f69110a587c1b2e01fa82e0c58f3519dbcebaaee267f"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index 11de2ed..fdfc1ac 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.72.3"
+oxc = "0.73.0"
swc_ecma_parser = { version = "15.0.1", features = ["typescript"] }
swc_ecma_ast = "12.0.0"
From d119da5212757e4db25ff249c63b1c94c8af738a Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 14 Jun 2025 18:40:22 +0000
Subject: [PATCH 299/385] chore(deps): update rust crate swc_ecma_parser to
15.0.2 (#309)
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 9114402..1742b74 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1220,9 +1220,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "15.0.1"
+version = "15.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4858747b5769034e22fd475334e6818d21234b0ecc4cce84efa940934436aeaa"
+checksum = "c0e1f330dc2c4b381232b00f32b5de2c7178e2cdb5249f4c41ec9e13d45c66a5"
dependencies = [
"arrayvec",
"bitflags",
@@ -1245,9 +1245,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "15.0.1"
+version = "15.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bd869861719757d7154e6ec0befa5569246516f07aaa2f7429c17673ce398098"
+checksum = "5f78a70fc7b448889412e42a730f1e34f2850b1fd49af424e39248135ada747b"
dependencies = [
"arrayvec",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index fdfc1ac..8ff2426 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.73.0"
-swc_ecma_parser = { version = "15.0.1", features = ["typescript"] }
+swc_ecma_parser = { version = "15.0.2", features = ["typescript"] }
swc_ecma_ast = "12.0.0"
# biome_js_parser = "0.5.6"
From 456e5ab52ccb0196ffa104a1822f7009c753b94b Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 15 Jun 2025 18:54:56 +0000
Subject: [PATCH 300/385] chore(deps): lock file maintenance (#310)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 64 +++++++++++++++++++++++++++---------------------------
1 file changed, 32 insertions(+), 32 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 1742b74..22a66df 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -40,9 +40,9 @@ checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
[[package]]
name = "ast_node"
-version = "3.0.0"
+version = "3.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "91fb5864e2f5bf9fd9797b94b2dfd1554d4c3092b535008b27d7e15c86675a2f"
+checksum = "c6ea666cbca3830383d6ce836593e88ade6f61b12c6066c09dc1257c3079a5b6"
dependencies = [
"proc-macro2",
"quote",
@@ -71,9 +71,9 @@ dependencies = [
[[package]]
name = "better_scoped_tls"
-version = "1.0.0"
+version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "50fd297a11c709be8348aec039c8b91de16075d2b2bdaee1bd562c0875993664"
+checksum = "7cd228125315b132eed175bf47619ac79b945b26e56b848ba203ae4ea8603609"
dependencies = [
"scoped-tls",
]
@@ -107,9 +107,9 @@ checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a"
[[package]]
name = "bytes-str"
-version = "0.2.6"
+version = "0.2.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "95ea3da8de225a11bcd5cee66b00eddcc7fd03e55bbe839fa4735d3281afb758"
+checksum = "7c60b5ce37e0b883c37eb89f79a1e26fbe9c1081945d024eee93e8d91a7e18b3"
dependencies = [
"bytes",
"serde",
@@ -132,18 +132,18 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.2.26"
+version = "1.2.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "956a5e21988b87f372569b66183b78babf23ebc2e744b733e4350a752c4dafac"
+checksum = "d487aa071b5f64da6f19a3e848e3578944b726ee5a4854b82172f02aa876bfdc"
dependencies = [
"shlex",
]
[[package]]
name = "cfg-if"
-version = "1.0.0"
+version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+checksum = "9555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268"
[[package]]
name = "ciborium"
@@ -311,9 +311,9 @@ dependencies = [
[[package]]
name = "from_variant"
-version = "2.0.0"
+version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8d7ccf961415e7aa17ef93dcb6c2441faaa8e768abe09e659b908089546f74c5"
+checksum = "accfe8b52dc15c1bace718020831f72ce91a4c096709a4d733868f4f4034e22a"
dependencies = [
"proc-macro2",
"swc_macros_common",
@@ -369,9 +369,9 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
[[package]]
name = "hermit-abi"
-version = "0.5.1"
+version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f154ce46856750ed433c8649605bf7ed2de3bc35fd9d2a9f30cddd873c80cb08"
+checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c"
[[package]]
name = "hstr"
@@ -530,9 +530,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
[[package]]
name = "libc"
-version = "0.2.172"
+version = "0.2.173"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa"
+checksum = "d8cfeafaffdbc32176b64fb251369d52ea9f0a8fbc6f8759edffef7b525d64bb"
[[package]]
name = "libmimalloc-sys2"
@@ -559,9 +559,9 @@ checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
[[package]]
name = "memchr"
-version = "2.7.4"
+version = "2.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
+checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0"
[[package]]
name = "mimalloc-safe"
@@ -667,7 +667,7 @@ dependencies = [
"oxc-miette-derive",
"textwrap",
"thiserror",
- "unicode-width 0.2.0",
+ "unicode-width 0.2.1",
]
[[package]]
@@ -1135,9 +1135,9 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
[[package]]
name = "string_enum"
-version = "1.0.0"
+version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c9fe66b8ee349846ce2f9557a26b8f1e74843c4a13fb381f9a3d73617a5f956a"
+checksum = "24b0e5369ebc6ec5fadbc400599467eb6ba5a614c03de094fcb233dddac2f5f4"
dependencies = [
"proc-macro2",
"quote",
@@ -1271,9 +1271,9 @@ dependencies = [
[[package]]
name = "swc_eq_ignore_macros"
-version = "1.0.0"
+version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e96e15288bf385ab85eb83cff7f9e2d834348da58d0a31b33bdb572e66ee413e"
+checksum = "c16ce73424a6316e95e09065ba6a207eba7765496fed113702278b7711d4b632"
dependencies = [
"proc-macro2",
"quote",
@@ -1282,9 +1282,9 @@ dependencies = [
[[package]]
name = "swc_macros_common"
-version = "1.0.0"
+version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a509f56fca05b39ba6c15f3e58636c3924c78347d63853632ed2ffcb6f5a0ac7"
+checksum = "aae1efbaa74943dc5ad2a2fb16cbd78b77d7e4d63188f3c5b4df2b4dcd2faaae"
dependencies = [
"proc-macro2",
"quote",
@@ -1293,9 +1293,9 @@ dependencies = [
[[package]]
name = "swc_visit"
-version = "2.0.0"
+version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9138b6a36bbe76dd6753c4c0794f7e26480ea757bee499738bedbbb3ae3ec5f3"
+checksum = "62fb71484b486c185e34d2172f0eabe7f4722742aad700f426a494bb2de232a2"
dependencies = [
"either",
"new_debug_unreachable",
@@ -1303,9 +1303,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.101"
+version = "2.0.103"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf"
+checksum = "e4307e30089d6fd6aff212f2da3a1f9e32f3223b1f010fb09b7c95f90f3ca1e8"
dependencies = [
"proc-macro2",
"quote",
@@ -1331,7 +1331,7 @@ checksum = "c13547615a44dc9c452a8a534638acdf07120d4b6847c8178705da06306a3057"
dependencies = [
"smawk",
"unicode-linebreak",
- "unicode-width 0.2.0",
+ "unicode-width 0.2.1",
]
[[package]]
@@ -1437,9 +1437,9 @@ checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af"
[[package]]
name = "unicode-width"
-version = "0.2.0"
+version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd"
+checksum = "4a1a07cc7db3810833284e8d372ccdc6da29741639ecc70c9ec107df0fa6154c"
[[package]]
name = "url"
From d8f077b45357f4b32c4354051f574f2e8d57b8af Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 17 Jun 2025 16:16:24 +0000
Subject: [PATCH 301/385] chore(deps): update rust crate oxc to 0.73.1 (#311)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 22a66df..2bd6c05 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -643,9 +643,9 @@ checksum = "26995317201fa17f3656c36716aed4a7c81743a9634ac4c99c0eeda495db0cec"
[[package]]
name = "oxc"
-version = "0.73.0"
+version = "0.73.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0053b9142d0776d038db03b967c87ebafa5bffdc4150183b5540adbcbc00fabe"
+checksum = "c97940bd1c7e687256c29eb94ad7b8a97554afaf8fad8911d6f19a9a3c65b48d"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -683,9 +683,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.73.0"
+version = "0.73.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6ead9af98156b7a80512e1d0db127572ee4a8de43b41eaf5b797482c8530fdad"
+checksum = "de4fad65e0482b49a450e06c48c4d10bea025b92be128391a942163c57ad9543"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -696,9 +696,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.73.0"
+version = "0.73.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bac5f46a96dd0bc9f63b9745568471b42cb0b617716d311c34a79f68e355796a"
+checksum = "c92b5f1896075b99587ccf4b150de6804b9db1460a2e24117f7dd49bbc46222e"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -712,9 +712,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.73.0"
+version = "0.73.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2c25817869aab36130e4d0c7cf8630582e408bff34b95fb66a03512bb3defe5"
+checksum = "09c50c7495f46664ea3c7aca49c490fc7f30a51f28d61f7cf1477e0e326eb8b6"
dependencies = [
"phf",
"proc-macro2",
@@ -724,18 +724,18 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.73.0"
+version = "0.73.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cb7bba3e8f1e9b15d80b192f87b4e05aa6fbaa03e16fd62d6c087a2427caf8ab"
+checksum = "123738369b0a99e9b614bfa576c2d14f8ec07168e6847e26f777451e563a1567"
dependencies = [
"rustversion",
]
[[package]]
name = "oxc_diagnostics"
-version = "0.73.0"
+version = "0.73.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "893f091e2c224765d9b156b90c9ce09d724f60144549db05f685919585cf745e"
+checksum = "a24ee37eaa7ac291e52bb713645d93db838ec109e01efed2eaec9be8abdb687a"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -743,9 +743,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.73.0"
+version = "0.73.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "31554a9681ebafe20e175b0a99fdee45ddf38285a5e9ca4bdefe223779963870"
+checksum = "2c2797f8c035a04d102263001b103d13ac8a8a34f9c4c0715c3821f5260685eb"
dependencies = [
"num-bigint",
"num-traits",
@@ -756,9 +756,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.73.0"
+version = "0.73.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "19c82ec9b051aab8fbbd68366ad90de958dd32365f9f445c89395ad42cf050fe"
+checksum = "07985a13dcf27aebea3387aa2f7fa7f3658c3c14941e9cdbe0f50ca0d23ba787"
[[package]]
name = "oxc_index"
@@ -768,9 +768,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.73.0"
+version = "0.73.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "120aa69d4df56d66fc5f0a525c5ff02369cee5f97289ea20b533b7f76530413b"
+checksum = "8097ea631e73b69bc79fb451438f0fbaf3d7e3ae8f3764957a618378f41f57fc"
dependencies = [
"bitflags",
"cow-utils",
@@ -791,9 +791,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.73.0"
+version = "0.73.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f22f6568dd7bb5e84eb45a22bda827d5735f09a95ca8e3e233be56516fdc3d9b"
+checksum = "20f898f0eed6935eba4bd1fd19b12b2f6d6f88547efe7eee6f834e8b3a2df153"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -807,9 +807,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.73.0"
+version = "0.73.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6a54f79470afa4c6cea26c69a0af0fe9ba61f4108b4254fe3170ae6fce04fa11"
+checksum = "04ead8009ec9b3f2b3c25a578808d51ee1f83ac792ce217e4cb7a776d59094d3"
dependencies = [
"compact_str",
"oxc-miette",
@@ -820,9 +820,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.73.0"
+version = "0.73.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b27a8e08726b8d2db468f69110a587c1b2e01fa82e0c58f3519dbcebaaee267f"
+checksum = "a010af787bd6c452be8533a382622103e2b7ed21a4d9a732f3c5d69761868b05"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index 8ff2426..f98216e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.73.0"
+oxc = "0.73.1"
swc_ecma_parser = { version = "15.0.2", features = ["typescript"] }
swc_ecma_ast = "12.0.0"
From 7ea475bf4b8b0973d9fdbb659e8596c172e4dffc Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 18 Jun 2025 05:54:33 +0000
Subject: [PATCH 302/385] chore(deps): update rust crate oxc to 0.73.2 (#312)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 2bd6c05..a4017ba 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -643,9 +643,9 @@ checksum = "26995317201fa17f3656c36716aed4a7c81743a9634ac4c99c0eeda495db0cec"
[[package]]
name = "oxc"
-version = "0.73.1"
+version = "0.73.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c97940bd1c7e687256c29eb94ad7b8a97554afaf8fad8911d6f19a9a3c65b48d"
+checksum = "2e31318da7866fb30c000877ae98c30d1f76212e4bdc6c088c5cb847e5d40954"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -683,9 +683,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.73.1"
+version = "0.73.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "de4fad65e0482b49a450e06c48c4d10bea025b92be128391a942163c57ad9543"
+checksum = "f4cb225affc487a1bc867455220d5427d0f2a35ed25d896f99bb3b912d49fb9e"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -696,9 +696,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.73.1"
+version = "0.73.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c92b5f1896075b99587ccf4b150de6804b9db1460a2e24117f7dd49bbc46222e"
+checksum = "9ced8dcc14d588fa32594d70ff8f194712036d02d7a96718bce38abbfec72ed6"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -712,9 +712,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.73.1"
+version = "0.73.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09c50c7495f46664ea3c7aca49c490fc7f30a51f28d61f7cf1477e0e326eb8b6"
+checksum = "43494643bd6d76a62446c58ae98568bf630c0bdd90726d7956d3f8e1e17f5906"
dependencies = [
"phf",
"proc-macro2",
@@ -724,18 +724,18 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.73.1"
+version = "0.73.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "123738369b0a99e9b614bfa576c2d14f8ec07168e6847e26f777451e563a1567"
+checksum = "1ebcebde288c0dbc9b8bb7ecf8d4eb3d64c6f122609fbca9f89dce356786fa19"
dependencies = [
"rustversion",
]
[[package]]
name = "oxc_diagnostics"
-version = "0.73.1"
+version = "0.73.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a24ee37eaa7ac291e52bb713645d93db838ec109e01efed2eaec9be8abdb687a"
+checksum = "136bd60c8d25e6c1b879a01d5f52ad260385afa2d74b0aa81c1cbc9680b468ef"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -743,9 +743,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.73.1"
+version = "0.73.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2c2797f8c035a04d102263001b103d13ac8a8a34f9c4c0715c3821f5260685eb"
+checksum = "405573ecc303a3e9852b2873aad30e8249b3e3cb668cf265f53a9072dada8d50"
dependencies = [
"num-bigint",
"num-traits",
@@ -756,9 +756,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.73.1"
+version = "0.73.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "07985a13dcf27aebea3387aa2f7fa7f3658c3c14941e9cdbe0f50ca0d23ba787"
+checksum = "bcd0073f1b212fda3c1e37728db069bf22d136a90f58da4f6214a6ada7552dde"
[[package]]
name = "oxc_index"
@@ -768,9 +768,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.73.1"
+version = "0.73.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8097ea631e73b69bc79fb451438f0fbaf3d7e3ae8f3764957a618378f41f57fc"
+checksum = "4c0b65b7f87759287bc7c8d394733cda9bca5e14fe7b71388932c926f8cde67b"
dependencies = [
"bitflags",
"cow-utils",
@@ -791,9 +791,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.73.1"
+version = "0.73.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "20f898f0eed6935eba4bd1fd19b12b2f6d6f88547efe7eee6f834e8b3a2df153"
+checksum = "0899e918e7da993922ac9d85a7cacefc5519afbab002a4e239aa0a8dc2201297"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -807,9 +807,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.73.1"
+version = "0.73.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "04ead8009ec9b3f2b3c25a578808d51ee1f83ac792ce217e4cb7a776d59094d3"
+checksum = "d51599c317d4e19c07978bde4af8a40844a2410fb7b455836c3441a41865acfa"
dependencies = [
"compact_str",
"oxc-miette",
@@ -820,9 +820,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.73.1"
+version = "0.73.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a010af787bd6c452be8533a382622103e2b7ed21a4d9a732f3c5d69761868b05"
+checksum = "1ee16107642e60a1f53dac2dbaaf1a1cdc696c0f7427946f8b8906f3e09a85f0"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index f98216e..f141ce5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.73.1"
+oxc = "0.73.2"
swc_ecma_parser = { version = "15.0.2", features = ["typescript"] }
swc_ecma_ast = "12.0.0"
From 3c9e12710ebc988e21ef094bb1abe77eb2ee8973 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 18 Jun 2025 20:19:52 +0000
Subject: [PATCH 303/385] chore(deps): update swc (#313)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 24 ++++++++++++------------
Cargo.toml | 4 ++--
2 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index a4017ba..91c87c7 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -375,9 +375,9 @@ checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c"
[[package]]
name = "hstr"
-version = "1.0.0"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "71399f53a92ef72ee336a4b30201c6e944827e14e0af23204c291aad9c24cc85"
+checksum = "1210512c4d06880c08a940a378a102ca860735b628f88d5aef91892b941c9235"
dependencies = [
"hashbrown 0.14.5",
"new_debug_unreachable",
@@ -1160,9 +1160,9 @@ dependencies = [
[[package]]
name = "swc_atoms"
-version = "5.0.0"
+version = "6.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9d7077ba879f95406459bc0c81f3141c529b34580bc64d7ab7bd15e7118a0391"
+checksum = "ebf4c40238f7224596754940676547dab6bbf8f33d9f4560b966fc66f2fe00db"
dependencies = [
"hstr",
"once_cell",
@@ -1172,9 +1172,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "12.0.1"
+version = "13.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fd2adffdd9f42af6cfefa16b1aaa8a0984a21854637ef9d89332dd29420d4b23"
+checksum = "eae9c29da44c43f833eba51828cee4dca2f0671347a25a2d65f611a7d974e56a"
dependencies = [
"anyhow",
"ast_node",
@@ -1200,9 +1200,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "12.0.0"
+version = "13.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "82007a7a4fb30198baf82f79244aca929d9845e16fcf897179773e4ebfed20f5"
+checksum = "f1ddc264ed13ae03aa30e1c89798502f9ddbe765a4ad695054add1074ffbc5cb"
dependencies = [
"bitflags",
"is-macro",
@@ -1220,9 +1220,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "15.0.2"
+version = "16.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0e1f330dc2c4b381232b00f32b5de2c7178e2cdb5249f4c41ec9e13d45c66a5"
+checksum = "cc7bfe2fbc6eb8ac56f71dfd9f5fdbab650ff8b85b84d32c8527b01edccb95c8"
dependencies = [
"arrayvec",
"bitflags",
@@ -1245,9 +1245,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "15.0.2"
+version = "16.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5f78a70fc7b448889412e42a730f1e34f2850b1fd49af424e39248135ada747b"
+checksum = "6b56a65cd63b58696c220068f8a8e9e0d7a5cd71a42618ee27020b520bbd6c84"
dependencies = [
"arrayvec",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index f141ce5..e83a2b5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ doctest = false
[dependencies]
oxc = "0.73.2"
-swc_ecma_parser = { version = "15.0.2", features = ["typescript"] }
-swc_ecma_ast = "12.0.0"
+swc_ecma_parser = { version = "16.0.0", features = ["typescript"] }
+swc_ecma_ast = "13.0.0"
# biome_js_parser = "0.5.6"
# biome_js_syntax = "0.5.6"
From f6e8bf65101a2ef311e0940fc88dc74039d8e98b Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 18 Jun 2025 23:09:17 +0000
Subject: [PATCH 304/385] chore(deps): update rust crate swc_ecma_parser to
16.0.1 (#314)
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 91c87c7..d9d574c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1245,9 +1245,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "16.0.0"
+version = "16.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6b56a65cd63b58696c220068f8a8e9e0d7a5cd71a42618ee27020b520bbd6c84"
+checksum = "baef1a05cd5571a3580e25d6cd56c00f5f4a351d6f8b516c30e330c11b589f70"
dependencies = [
"arrayvec",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index e83a2b5..86dafb0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.73.2"
-swc_ecma_parser = { version = "16.0.0", features = ["typescript"] }
+swc_ecma_parser = { version = "16.0.1", features = ["typescript"] }
swc_ecma_ast = "13.0.0"
# biome_js_parser = "0.5.6"
From 512e6a0b59e8cedfcc18f990bfbc88b79d111411 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 20 Jun 2025 03:10:26 +0000
Subject: [PATCH 305/385] chore(deps): update rust crate swc_ecma_parser to v17
(#316)
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 d9d574c..a6637cb 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1220,9 +1220,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "16.0.0"
+version = "17.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cc7bfe2fbc6eb8ac56f71dfd9f5fdbab650ff8b85b84d32c8527b01edccb95c8"
+checksum = "9179a55d85aba0534865e2d78d30aa278eb9f1a36091a50b9556be0282ad9ac6"
dependencies = [
"arrayvec",
"bitflags",
@@ -1245,9 +1245,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "16.0.1"
+version = "17.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "baef1a05cd5571a3580e25d6cd56c00f5f4a351d6f8b516c30e330c11b589f70"
+checksum = "edd5b2817de790499de9e9e7d6cd9301ca96f143b7434c25ce0ff96e6a72efd5"
dependencies = [
"arrayvec",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 86dafb0..f1db2ff 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.73.2"
-swc_ecma_parser = { version = "16.0.1", features = ["typescript"] }
+swc_ecma_parser = { version = "17.0.0", features = ["typescript"] }
swc_ecma_ast = "13.0.0"
# biome_js_parser = "0.5.6"
From d42703f2170d3b4123b78fd6bedc67f45da9d5a4 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 21 Jun 2025 06:55:28 +0000
Subject: [PATCH 306/385] chore(deps): update rust crate swc_ecma_parser to
17.0.1 (#315)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 12 ++++++------
Cargo.toml | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index a6637cb..69b14a0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1172,9 +1172,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "13.0.0"
+version = "13.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eae9c29da44c43f833eba51828cee4dca2f0671347a25a2d65f611a7d974e56a"
+checksum = "6865f71f363e63306cedec3f3cf1cb9e80acaa9229261ba2569467a19060c7c8"
dependencies = [
"anyhow",
"ast_node",
@@ -1220,9 +1220,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "17.0.0"
+version = "17.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9179a55d85aba0534865e2d78d30aa278eb9f1a36091a50b9556be0282ad9ac6"
+checksum = "d4ed9a9272057cdce866a7e2a42379ce0f4690aaa1f642afb9b5ef47c4fff366"
dependencies = [
"arrayvec",
"bitflags",
@@ -1245,9 +1245,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "17.0.0"
+version = "17.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "edd5b2817de790499de9e9e7d6cd9301ca96f143b7434c25ce0ff96e6a72efd5"
+checksum = "3ff5b5fbe4316b7d1272ac6f204a871f0d5785755d6a14ddf38e7fa8af73be30"
dependencies = [
"arrayvec",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index f1db2ff..f87967a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.73.2"
-swc_ecma_parser = { version = "17.0.0", features = ["typescript"] }
+swc_ecma_parser = { version = "17.0.1", features = ["typescript"] }
swc_ecma_ast = "13.0.0"
# biome_js_parser = "0.5.6"
From 3f57b6b603ac44ca6fe6aefcb743bbc9cf4d3ddb Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 22 Jun 2025 18:34:47 +0000
Subject: [PATCH 307/385] chore(deps): lock file maintenance rust crates (#317)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 45 +++++++++++++++++++++++----------------------
1 file changed, 23 insertions(+), 22 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 69b14a0..1354516 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -52,9 +52,9 @@ dependencies = [
[[package]]
name = "autocfg"
-version = "1.4.0"
+version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
+checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
[[package]]
name = "bench-parser"
@@ -375,9 +375,9 @@ checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c"
[[package]]
name = "hstr"
-version = "1.1.0"
+version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1210512c4d06880c08a940a378a102ca860735b628f88d5aef91892b941c9235"
+checksum = "2d1638d2018a21b9ff65d7fc28c2271c76a5af6ff4f621b204d032bc649763a4"
dependencies = [
"hashbrown 0.14.5",
"new_debug_unreachable",
@@ -530,15 +530,15 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
[[package]]
name = "libc"
-version = "0.2.173"
+version = "0.2.174"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d8cfeafaffdbc32176b64fb251369d52ea9f0a8fbc6f8759edffef7b525d64bb"
+checksum = "1171693293099992e19cddea4e8b849964e9846f4acee11b3948bcc337be8776"
[[package]]
name = "libmimalloc-sys2"
-version = "0.1.48"
+version = "0.1.49"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1fa6026099ae10574813598dc3e113eee5a86fbdae5ba859831c0029f9c88b62"
+checksum = "355557e51b464fc536b87c44f8c3f35b75299858768fb658ecfdafb5bae294ad"
dependencies = [
"cc",
"cmake",
@@ -565,9 +565,9 @@ checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0"
[[package]]
name = "mimalloc-safe"
-version = "0.1.52"
+version = "0.1.53"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "29e4168fdbae0edf7511ecc95d261abe7d4189e08d945f728f60a28d20675f9f"
+checksum = "4bb800e901f5b61ba3e62d9d96f530e579e4305da2f718ae00fa440014b2ab47"
dependencies = [
"libmimalloc-sys2",
]
@@ -951,9 +951,9 @@ dependencies = [
[[package]]
name = "r-efi"
-version = "5.2.0"
+version = "5.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5"
+checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
[[package]]
name = "rand"
@@ -1220,9 +1220,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "17.0.1"
+version = "17.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d4ed9a9272057cdce866a7e2a42379ce0f4690aaa1f642afb9b5ef47c4fff366"
+checksum = "5bc377700d6e293f2c357660769625b97f9318b057d90ebc11c5f1e6d3b22729"
dependencies = [
"arrayvec",
"bitflags",
@@ -1232,6 +1232,7 @@ dependencies = [
"num-traits",
"phf",
"rustc-hash",
+ "seq-macro",
"serde",
"smallvec",
"smartstring",
@@ -1303,9 +1304,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.103"
+version = "2.0.104"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e4307e30089d6fd6aff212f2da3a1f9e32f3223b1f010fb09b7c95f90f3ca1e8"
+checksum = "17b6f705963418cdb9927482fa304bc562ece2fdd4f616084c50b7023b435a40"
dependencies = [
"proc-macro2",
"quote",
@@ -1377,9 +1378,9 @@ dependencies = [
[[package]]
name = "tracing-attributes"
-version = "0.1.29"
+version = "0.1.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1b1ffbcf9c6f6b99d386e7444eb608ba646ae452a36b39737deb9663b610f662"
+checksum = "81383ab64e72a7a8b8e13130c49e3dab29def6d0c7d76a03087b3cf71c5c6903"
dependencies = [
"proc-macro2",
"quote",
@@ -1675,18 +1676,18 @@ dependencies = [
[[package]]
name = "zerocopy"
-version = "0.8.25"
+version = "0.8.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a1702d9583232ddb9174e01bb7c15a2ab8fb1bc6f227aa1233858c351a3ba0cb"
+checksum = "1039dd0d3c310cf05de012d8a39ff557cb0d23087fd44cad61df08fc31907a2f"
dependencies = [
"zerocopy-derive",
]
[[package]]
name = "zerocopy-derive"
-version = "0.8.25"
+version = "0.8.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "28a6e20d751156648aa063f3800b706ee209a32c0b4d9f24be3d980b01be55ef"
+checksum = "9ecf5b4cc5364572d7f4c329661bcc82724222973f2cab6f050a4e5c22f75181"
dependencies = [
"proc-macro2",
"quote",
From da343d64077042b09d3361e5af66e9940c30521a Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 23 Jun 2025 08:19:41 +0000
Subject: [PATCH 308/385] chore(deps): update rust crate oxc to 0.74.0 (#318)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 121 +++++++++++++++++++++++++++++++++++++----------------
Cargo.toml | 2 +-
2 files changed, 86 insertions(+), 37 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 1354516..0613d1c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -300,6 +300,12 @@ version = "1.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
+[[package]]
+name = "fastrand"
+version = "2.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
+
[[package]]
name = "form_urlencoded"
version = "1.2.1"
@@ -382,7 +388,7 @@ dependencies = [
"hashbrown 0.14.5",
"new_debug_unreachable",
"once_cell",
- "phf",
+ "phf 0.11.3",
"rustc-hash",
"triomphe",
]
@@ -643,9 +649,9 @@ checksum = "26995317201fa17f3656c36716aed4a7c81743a9634ac4c99c0eeda495db0cec"
[[package]]
name = "oxc"
-version = "0.73.2"
+version = "0.74.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2e31318da7866fb30c000877ae98c30d1f76212e4bdc6c088c5cb847e5d40954"
+checksum = "480bd02f632566aa9f7ed0bd271d8cbb544ef0712e8d0a9ad6b764d243612172"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -683,9 +689,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.73.2"
+version = "0.74.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f4cb225affc487a1bc867455220d5427d0f2a35ed25d896f99bb3b912d49fb9e"
+checksum = "dfe5ceabcff4448baf15c282a7bde671c3fa9255e94a3060228bcdb7d59f1e1b"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -696,9 +702,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.73.2"
+version = "0.74.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9ced8dcc14d588fa32594d70ff8f194712036d02d7a96718bce38abbfec72ed6"
+checksum = "4f0b7bf1bac2ff9a5a387409ab7f935aa5e36c8d223969a3c0e3384a140110b6"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -712,11 +718,11 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.73.2"
+version = "0.74.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "43494643bd6d76a62446c58ae98568bf630c0bdd90726d7956d3f8e1e17f5906"
+checksum = "724bd9eef130fc55453cd5f9e2a7d870133e5db474403f8283d3148691a06864"
dependencies = [
- "phf",
+ "phf 0.12.1",
"proc-macro2",
"quote",
"syn",
@@ -724,18 +730,18 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.73.2"
+version = "0.74.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ebcebde288c0dbc9b8bb7ecf8d4eb3d64c6f122609fbca9f89dce356786fa19"
+checksum = "84085a4c568903a8034ab971a0d6b7db227ba0c6caef37a91e3d03e2827e78c4"
dependencies = [
"rustversion",
]
[[package]]
name = "oxc_diagnostics"
-version = "0.73.2"
+version = "0.74.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "136bd60c8d25e6c1b879a01d5f52ad260385afa2d74b0aa81c1cbc9680b468ef"
+checksum = "17c48ca13c1cede0404affd6bfdb041eb04b0e4fe2c32938d9e35430b921ee3c"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -743,9 +749,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.73.2"
+version = "0.74.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "405573ecc303a3e9852b2873aad30e8249b3e3cb668cf265f53a9072dada8d50"
+checksum = "0698e3d908ebe33a95a40ab06c4ccd60ebc4da6bdec896ed177f3e504c0ed7d4"
dependencies = [
"num-bigint",
"num-traits",
@@ -756,9 +762,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.73.2"
+version = "0.74.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bcd0073f1b212fda3c1e37728db069bf22d136a90f58da4f6214a6ada7552dde"
+checksum = "5228baf82f3967e8d188ed877f5a73069c6daabb142023270e5bdf0cf3150860"
[[package]]
name = "oxc_index"
@@ -768,9 +774,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.73.2"
+version = "0.74.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c0b65b7f87759287bc7c8d394733cda9bca5e14fe7b71388932c926f8cde67b"
+checksum = "6e2e3b11d167121b56723767aed742d98d610f200a243eb412b74b260ce06997"
dependencies = [
"bitflags",
"cow-utils",
@@ -791,25 +797,25 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.73.2"
+version = "0.74.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0899e918e7da993922ac9d85a7cacefc5519afbab002a4e239aa0a8dc2201297"
+checksum = "4adeefe307699b527d1bf6b4730a7342d234f6d8df02aefb656e472dcba8bbb7"
dependencies = [
"bitflags",
"oxc_allocator",
"oxc_ast_macros",
"oxc_diagnostics",
"oxc_span",
- "phf",
+ "phf 0.12.1",
"rustc-hash",
"unicode-id-start",
]
[[package]]
name = "oxc_span"
-version = "0.73.2"
+version = "0.74.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d51599c317d4e19c07978bde4af8a40844a2410fb7b455836c3441a41865acfa"
+checksum = "dc29b9cd960dab8d9005deca177bdf9207904a6f41fdc594a5537cf6a79ebc3e"
dependencies = [
"compact_str",
"oxc-miette",
@@ -820,9 +826,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.73.2"
+version = "0.74.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ee16107642e60a1f53dac2dbaaf1a1cdc696c0f7427946f8b8906f3e09a85f0"
+checksum = "247d56548f877e7b1599e962c0f391f697a5b25e6f6f59f12bea80cd72b5482a"
dependencies = [
"bitflags",
"cow-utils",
@@ -833,7 +839,7 @@ dependencies = [
"oxc_estree",
"oxc_index",
"oxc_span",
- "phf",
+ "phf 0.12.1",
"rustc-hash",
"ryu-js",
"unicode-id-start",
@@ -851,8 +857,19 @@ version = "0.11.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078"
dependencies = [
- "phf_macros",
- "phf_shared",
+ "phf_macros 0.11.3",
+ "phf_shared 0.11.3",
+]
+
+[[package]]
+name = "phf"
+version = "0.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "913273894cec178f401a31ec4b656318d95473527be05c0752cc41cdc32be8b7"
+dependencies = [
+ "phf_macros 0.12.1",
+ "phf_shared 0.12.1",
+ "serde",
]
[[package]]
@@ -861,18 +878,41 @@ version = "0.11.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d"
dependencies = [
- "phf_shared",
+ "phf_shared 0.11.3",
"rand",
]
+[[package]]
+name = "phf_generator"
+version = "0.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2cbb1126afed61dd6368748dae63b1ee7dc480191c6262a3b4ff1e29d86a6c5b"
+dependencies = [
+ "fastrand",
+ "phf_shared 0.12.1",
+]
+
[[package]]
name = "phf_macros"
version = "0.11.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f84ac04429c13a7ff43785d75ad27569f2951ce0ffd30a3321230db2fc727216"
dependencies = [
- "phf_generator",
- "phf_shared",
+ "phf_generator 0.11.3",
+ "phf_shared 0.11.3",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "phf_macros"
+version = "0.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d713258393a82f091ead52047ca779d37e5766226d009de21696c4e667044368"
+dependencies = [
+ "phf_generator 0.12.1",
+ "phf_shared 0.12.1",
"proc-macro2",
"quote",
"syn",
@@ -887,6 +927,15 @@ dependencies = [
"siphasher 1.0.1",
]
+[[package]]
+name = "phf_shared"
+version = "0.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "06005508882fb681fd97892ecff4b7fd0fee13ef1aa569f8695dae7ab9099981"
+dependencies = [
+ "siphasher 1.0.1",
+]
+
[[package]]
name = "pin-project-lite"
version = "0.2.16"
@@ -1208,7 +1257,7 @@ dependencies = [
"is-macro",
"num-bigint",
"once_cell",
- "phf",
+ "phf 0.11.3",
"rustc-hash",
"scoped-tls",
"string_enum",
@@ -1230,7 +1279,7 @@ dependencies = [
"new_debug_unreachable",
"num-bigint",
"num-traits",
- "phf",
+ "phf 0.11.3",
"rustc-hash",
"seq-macro",
"serde",
@@ -1256,7 +1305,7 @@ dependencies = [
"new_debug_unreachable",
"num-bigint",
"num-traits",
- "phf",
+ "phf 0.11.3",
"rustc-hash",
"serde",
"smallvec",
diff --git a/Cargo.toml b/Cargo.toml
index f87967a..1622098 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.73.2"
+oxc = "0.74.0"
swc_ecma_parser = { version = "17.0.1", features = ["typescript"] }
swc_ecma_ast = "13.0.0"
From 2b2530437045b72aee11fa596e9fe4473d8b5db3 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 23 Jun 2025 20:18:42 +0000
Subject: [PATCH 309/385] chore(deps): update rust crate swc_ecma_parser to
17.0.2 (#319)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 25 +++++++++++++++++++++----
Cargo.toml | 2 +-
2 files changed, 22 insertions(+), 5 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 0613d1c..caa166d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -38,6 +38,12 @@ version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
+[[package]]
+name = "ascii"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d92bec98840b8f03a5ff5413de5293bfcd8bf96467cf5452609f939ec6f5de16"
+
[[package]]
name = "ast_node"
version = "3.0.1"
@@ -227,6 +233,15 @@ dependencies = [
"static_assertions",
]
+[[package]]
+name = "cow-replace"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a6cab584c4b83b5b36f81a10bd15191fd77f70432d624787ee68ec64edd6d7ed"
+dependencies = [
+ "ascii",
+]
+
[[package]]
name = "cow-utils"
version = "0.1.3"
@@ -1269,12 +1284,14 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "17.0.2"
+version = "17.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5bc377700d6e293f2c357660769625b97f9318b057d90ebc11c5f1e6d3b22729"
+checksum = "b4c284f6251b5e475549491d7e2b473b83f746e3c3ea49a02e87d9862c46563a"
dependencies = [
"arrayvec",
+ "ascii",
"bitflags",
+ "cow-replace",
"either",
"new_debug_unreachable",
"num-bigint",
@@ -1295,9 +1312,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "17.0.1"
+version = "17.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ff5b5fbe4316b7d1272ac6f204a871f0d5785755d6a14ddf38e7fa8af73be30"
+checksum = "b3c0c2fc27655ed52958f39156af28407257c51c48551932d94a7e7bd973b2b1"
dependencies = [
"arrayvec",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 1622098..e655966 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.74.0"
-swc_ecma_parser = { version = "17.0.1", features = ["typescript"] }
+swc_ecma_parser = { version = "17.0.2", features = ["typescript"] }
swc_ecma_ast = "13.0.0"
# biome_js_parser = "0.5.6"
From 2b2d430c4b71689becf31dd380b646073abb7ba8 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 24 Jun 2025 23:47:28 +0000
Subject: [PATCH 310/385] chore(deps): update rust crate swc_ecma_parser to
17.0.3 (#320)
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 caa166d..76eb0a3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1284,9 +1284,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "17.0.3"
+version = "17.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b4c284f6251b5e475549491d7e2b473b83f746e3c3ea49a02e87d9862c46563a"
+checksum = "0a257fda06cb2aa3f6c0d0d13b534e3376d542d1d84b83c7eda95fbc0729844a"
dependencies = [
"arrayvec",
"ascii",
@@ -1312,9 +1312,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "17.0.2"
+version = "17.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b3c0c2fc27655ed52958f39156af28407257c51c48551932d94a7e7bd973b2b1"
+checksum = "e746147b3638778a3bc3665f933f62de2d2a5a7fb6b578cc2d6ef72c76bf0191"
dependencies = [
"arrayvec",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index e655966..752691a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.74.0"
-swc_ecma_parser = { version = "17.0.2", features = ["typescript"] }
+swc_ecma_parser = { version = "17.0.3", features = ["typescript"] }
swc_ecma_ast = "13.0.0"
# biome_js_parser = "0.5.6"
From cc3e45db3f5e80cf6c4067ce34d30b83d5de938d Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 25 Jun 2025 17:31:51 +0000
Subject: [PATCH 311/385] chore(deps): update rust crate oxc to 0.75.0 (#321)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 76eb0a3..ba7e82f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -664,9 +664,9 @@ checksum = "26995317201fa17f3656c36716aed4a7c81743a9634ac4c99c0eeda495db0cec"
[[package]]
name = "oxc"
-version = "0.74.0"
+version = "0.75.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "480bd02f632566aa9f7ed0bd271d8cbb544ef0712e8d0a9ad6b764d243612172"
+checksum = "fa0ea0ea8b2b93877766e6b0072fbc8f0e7f5e37817e4cd2a7c1a3cc555996bc"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -704,9 +704,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.74.0"
+version = "0.75.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dfe5ceabcff4448baf15c282a7bde671c3fa9255e94a3060228bcdb7d59f1e1b"
+checksum = "c0ca46541ac8f29e31319b130e39a795b0bb72767c508d70e17843458b47c4f1"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -717,9 +717,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.74.0"
+version = "0.75.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4f0b7bf1bac2ff9a5a387409ab7f935aa5e36c8d223969a3c0e3384a140110b6"
+checksum = "0e20bc7d2bc9ff195fb30745be6f85bbe9a3355f25fb9e27f7dd1ba2f4125e90"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -733,9 +733,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.74.0"
+version = "0.75.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "724bd9eef130fc55453cd5f9e2a7d870133e5db474403f8283d3148691a06864"
+checksum = "743cfd932620544d8a5f6556120a589fea39fa964f262b98e14cad600fcb1221"
dependencies = [
"phf 0.12.1",
"proc-macro2",
@@ -745,18 +745,18 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.74.0"
+version = "0.75.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "84085a4c568903a8034ab971a0d6b7db227ba0c6caef37a91e3d03e2827e78c4"
+checksum = "acca986d8bc723d8f65cf4111242a9d8fa77b6674a47fc7e2f972c1cd3c681e4"
dependencies = [
"rustversion",
]
[[package]]
name = "oxc_diagnostics"
-version = "0.74.0"
+version = "0.75.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "17c48ca13c1cede0404affd6bfdb041eb04b0e4fe2c32938d9e35430b921ee3c"
+checksum = "df31a0ef7abc29fa3e1e1fbac9dc14a9fbb062961d265d7a77f3a6e39a0a5de8"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -764,9 +764,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.74.0"
+version = "0.75.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0698e3d908ebe33a95a40ab06c4ccd60ebc4da6bdec896ed177f3e504c0ed7d4"
+checksum = "d80328b98091673e95d2a8e1d8378271e42d7efcff9982477cfcaf54bd799564"
dependencies = [
"num-bigint",
"num-traits",
@@ -777,9 +777,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.74.0"
+version = "0.75.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5228baf82f3967e8d188ed877f5a73069c6daabb142023270e5bdf0cf3150860"
+checksum = "b4f30ee2c1758598f22bb6578c8cda33557a74ce7a53bdebac9b75a0aed909b5"
[[package]]
name = "oxc_index"
@@ -789,9 +789,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.74.0"
+version = "0.75.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e2e3b11d167121b56723767aed742d98d610f200a243eb412b74b260ce06997"
+checksum = "298a69b099cf433e2cd2ca15e786afdd1dc944cc413bbfcd8b64c499d9fecb38"
dependencies = [
"bitflags",
"cow-utils",
@@ -812,9 +812,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.74.0"
+version = "0.75.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4adeefe307699b527d1bf6b4730a7342d234f6d8df02aefb656e472dcba8bbb7"
+checksum = "e4288439a580f3c2b10c3ba20922908756aee61316fab82fcb209377e1d85099"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -828,9 +828,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.74.0"
+version = "0.75.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dc29b9cd960dab8d9005deca177bdf9207904a6f41fdc594a5537cf6a79ebc3e"
+checksum = "6eb726c595d18fe5a7f66bf7f449883608a4c7bfd50097d49db3225d22cd45b6"
dependencies = [
"compact_str",
"oxc-miette",
@@ -841,9 +841,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.74.0"
+version = "0.75.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "247d56548f877e7b1599e962c0f391f697a5b25e6f6f59f12bea80cd72b5482a"
+checksum = "c43d293457dacafd89fd73f9e933cc021cbb5ed1f615b21150cf727bc05b9cc6"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index 752691a..4092267 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.74.0"
+oxc = "0.75.0"
swc_ecma_parser = { version = "17.0.3", features = ["typescript"] }
swc_ecma_ast = "13.0.0"
From f3200b2d991e2a329a0feccb0393a58b436dcad5 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 26 Jun 2025 01:50:58 +0000
Subject: [PATCH 312/385] chore(deps): update rust crate swc_ecma_parser to
17.1.0 (#322)
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 ba7e82f..27f5031 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1284,9 +1284,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "17.0.4"
+version = "17.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0a257fda06cb2aa3f6c0d0d13b534e3376d542d1d84b83c7eda95fbc0729844a"
+checksum = "61f2e87edcfeac99e09c8b47b7b4a921fe2fef0a733f330dc4420727e637d774"
dependencies = [
"arrayvec",
"ascii",
@@ -1312,9 +1312,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "17.0.3"
+version = "17.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e746147b3638778a3bc3665f933f62de2d2a5a7fb6b578cc2d6ef72c76bf0191"
+checksum = "8317bbac117ce986efd166b32017f3f5c07def31291e91f709b764501e103890"
dependencies = [
"arrayvec",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 4092267..9396e8c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.75.0"
-swc_ecma_parser = { version = "17.0.3", features = ["typescript"] }
+swc_ecma_parser = { version = "17.1.0", features = ["typescript"] }
swc_ecma_ast = "13.0.0"
# biome_js_parser = "0.5.6"
From 146b1dc8fe686b6bf54775e382a3dd6a6ec43c97 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 26 Jun 2025 20:34:52 +0000
Subject: [PATCH 313/385] chore(deps): update dependency rust to v1.88.0 (#323)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
rust-toolchain.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
index ad1559c..55b200d 100644
--- a/rust-toolchain.toml
+++ b/rust-toolchain.toml
@@ -1,3 +1,3 @@
[toolchain]
-channel = "1.87.0"
+channel = "1.88.0"
profile = "minimal"
From a63af3a7e5316d404cae647b459ba51f942dd7be Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 27 Jun 2025 02:05:39 +0000
Subject: [PATCH 314/385] chore(deps): update rust crate swc_ecma_parser to
17.2.0 (#324)
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 27f5031..2404845 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1284,9 +1284,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "17.0.5"
+version = "17.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "61f2e87edcfeac99e09c8b47b7b4a921fe2fef0a733f330dc4420727e637d774"
+checksum = "d8f318a247bc2c4662dc10dccd7a4f64834add015d216e977a58665b0aad9772"
dependencies = [
"arrayvec",
"ascii",
@@ -1312,9 +1312,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "17.1.0"
+version = "17.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8317bbac117ce986efd166b32017f3f5c07def31291e91f709b764501e103890"
+checksum = "e24a33266ba7045b372043f7fc0674f3b3464875463874b85618f9c276bbd654"
dependencies = [
"arrayvec",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 9396e8c..62ee983 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.75.0"
-swc_ecma_parser = { version = "17.1.0", features = ["typescript"] }
+swc_ecma_parser = { version = "17.2.0", features = ["typescript"] }
swc_ecma_ast = "13.0.0"
# biome_js_parser = "0.5.6"
From 36e80d38668aa9c551a8124b3b13331703831f2f Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 29 Jun 2025 18:41:39 +0000
Subject: [PATCH 315/385] chore(deps): lock file maintenance rust crates (#325)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 2404845..e20213a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -250,9 +250,9 @@ checksum = "417bef24afe1460300965a25ff4a24b8b45ad011948302ec221e8a0a81eb2c79"
[[package]]
name = "criterion2"
-version = "3.0.0"
+version = "3.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7b43b9cdbf592c78d882f2a3b9e6ebe8aedc749ef84915103a0248802ce2f6b3"
+checksum = "9c023eeb8d9c4dda24078fd2f170a45ccf569e5567c63d459a6d6827a23df8f7"
dependencies = [
"anes",
"bpaf",
@@ -294,9 +294,9 @@ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
[[package]]
name = "crunchy"
-version = "0.2.3"
+version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "43da5946c66ffcc7745f48db692ffbb10a83bfe0afd96235c5c2a4fb23994929"
+checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5"
[[package]]
name = "displaydoc"
@@ -658,9 +658,9 @@ checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e"
[[package]]
name = "owo-colors"
-version = "4.2.1"
+version = "4.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "26995317201fa17f3656c36716aed4a7c81743a9634ac4c99c0eeda495db0cec"
+checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e"
[[package]]
name = "oxc"
@@ -679,9 +679,9 @@ dependencies = [
[[package]]
name = "oxc-miette"
-version = "2.3.0"
+version = "2.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "98b2c44324a4372caf6e3128a22744263c973e809fc598db3749ef3ff5e9fed4"
+checksum = "00cb1a49ec377f62606cbf047794efd37d668dbcbcefaeb5bf43f89b3c391418"
dependencies = [
"cfg-if",
"owo-colors",
@@ -693,9 +693,9 @@ dependencies = [
[[package]]
name = "oxc-miette-derive"
-version = "2.3.0"
+version = "2.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3bd3da01a295024fa79e3b4aba14b590d91256a274ff29cc5ee8f55183b2df24"
+checksum = "1739910e9871fe8d6e311f80fb2793756335aec97b0f985e778cbf4bc5cf574f"
dependencies = [
"proc-macro2",
"quote",
From ed9371f87f0dd8137de87adc95ea019b38269279 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 30 Jun 2025 15:53:42 +0000
Subject: [PATCH 316/385] chore(deps): update rust crate swc_ecma_parser to
17.2.1 (#326)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 12 ++++++------
Cargo.toml | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index e20213a..974973b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1236,9 +1236,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "13.0.1"
+version = "13.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6865f71f363e63306cedec3f3cf1cb9e80acaa9229261ba2569467a19060c7c8"
+checksum = "fc28daa84b57762ecf28d8fdf6a3204ff04c8b8d98d35b9e8b9f56d4a7fafffa"
dependencies = [
"anyhow",
"ast_node",
@@ -1284,9 +1284,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "17.0.6"
+version = "17.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d8f318a247bc2c4662dc10dccd7a4f64834add015d216e977a58665b0aad9772"
+checksum = "8ff2f560591181601f15316838bd5872b19902e7b4605a08743c6cb3e853b3db"
dependencies = [
"arrayvec",
"ascii",
@@ -1312,9 +1312,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "17.2.0"
+version = "17.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e24a33266ba7045b372043f7fc0674f3b3464875463874b85618f9c276bbd654"
+checksum = "821520cc73106140a379ba2614e67e35f9c5dff40f078fa791b16ed92e00053d"
dependencies = [
"arrayvec",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 62ee983..839abd1 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.75.0"
-swc_ecma_parser = { version = "17.2.0", features = ["typescript"] }
+swc_ecma_parser = { version = "17.2.1", features = ["typescript"] }
swc_ecma_ast = "13.0.0"
# biome_js_parser = "0.5.6"
From 989dcea792ef02a7fc213cc756ed138f3601200c Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 2 Jul 2025 12:13:56 +0000
Subject: [PATCH 317/385] chore(deps): update rust crate swc_ecma_parser to v18
(#327)
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 974973b..a074ed6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1284,9 +1284,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "17.0.7"
+version = "18.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ff2f560591181601f15316838bd5872b19902e7b4605a08743c6cb3e853b3db"
+checksum = "3b009fbd9113e82513e8f85f8405a3eaf4836b0e2b1bf35e1d492dba48108441"
dependencies = [
"arrayvec",
"ascii",
@@ -1312,9 +1312,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "17.2.1"
+version = "18.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "821520cc73106140a379ba2614e67e35f9c5dff40f078fa791b16ed92e00053d"
+checksum = "f4ebb9d932251ca0a4db5cd952a5134bef6e1f9853a914cf3bd1fbc4118f107a"
dependencies = [
"arrayvec",
"bitflags",
diff --git a/Cargo.toml b/Cargo.toml
index 839abd1..6c756d3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.75.0"
-swc_ecma_parser = { version = "17.2.1", features = ["typescript"] }
+swc_ecma_parser = { version = "18.0.0", features = ["typescript"] }
swc_ecma_ast = "13.0.0"
# biome_js_parser = "0.5.6"
From cd78748cfaf36a141e2086f651829654560881af Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 3 Jul 2025 16:48:35 +0000
Subject: [PATCH 318/385] chore(deps): update rust crate oxc to 0.75.1 (#328)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 53 +++++++++++++++++++++++++++--------------------------
Cargo.toml | 2 +-
2 files changed, 28 insertions(+), 27 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index a074ed6..a5181d6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -98,9 +98,9 @@ checksum = "473976d7a8620bb1e06dcdd184407c2363fe4fec8e983ee03ed9197222634a31"
[[package]]
name = "bumpalo"
-version = "3.17.0"
+version = "3.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf"
+checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43"
dependencies = [
"allocator-api2",
]
@@ -664,9 +664,9 @@ checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e"
[[package]]
name = "oxc"
-version = "0.75.0"
+version = "0.75.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa0ea0ea8b2b93877766e6b0072fbc8f0e7f5e37817e4cd2a7c1a3cc555996bc"
+checksum = "c8d9dc3f71d748eeab2d1883db50fb9709e6d6104a3dc2203f87b1c1e73cea99"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -704,9 +704,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.75.0"
+version = "0.75.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0ca46541ac8f29e31319b130e39a795b0bb72767c508d70e17843458b47c4f1"
+checksum = "b5dc7d7719a4f90c691fbd6bcf8b623df2832ccc6b303c1d07d85aeb476c5b8e"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -717,9 +717,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.75.0"
+version = "0.75.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0e20bc7d2bc9ff195fb30745be6f85bbe9a3355f25fb9e27f7dd1ba2f4125e90"
+checksum = "26c1308e677a69e31e51537f5b3267aae44a67cd61a2f3a740f815839c89ea97"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -733,9 +733,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.75.0"
+version = "0.75.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "743cfd932620544d8a5f6556120a589fea39fa964f262b98e14cad600fcb1221"
+checksum = "e85f4a6422af514f59d0d5aab918237b799ca25164bd59e11b59ea61991777ae"
dependencies = [
"phf 0.12.1",
"proc-macro2",
@@ -745,28 +745,29 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.75.0"
+version = "0.75.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "acca986d8bc723d8f65cf4111242a9d8fa77b6674a47fc7e2f972c1cd3c681e4"
+checksum = "7d713c1b57fe1f55af1d557efd461025c9c9bd28835a6b3e0e91f46cdeb995a6"
dependencies = [
"rustversion",
]
[[package]]
name = "oxc_diagnostics"
-version = "0.75.0"
+version = "0.75.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "df31a0ef7abc29fa3e1e1fbac9dc14a9fbb062961d265d7a77f3a6e39a0a5de8"
+checksum = "44c6188d0a1aa83656795c29b7e7f036060f5c3e5c234ebebc2a5899fb43a579"
dependencies = [
"cow-utils",
"oxc-miette",
+ "percent-encoding",
]
[[package]]
name = "oxc_ecmascript"
-version = "0.75.0"
+version = "0.75.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d80328b98091673e95d2a8e1d8378271e42d7efcff9982477cfcaf54bd799564"
+checksum = "851355a2d035526d3a3525cbd66224bde1e234d7cf339835a4516bf27732dcec"
dependencies = [
"num-bigint",
"num-traits",
@@ -777,9 +778,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.75.0"
+version = "0.75.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b4f30ee2c1758598f22bb6578c8cda33557a74ce7a53bdebac9b75a0aed909b5"
+checksum = "d67d74c11e1c8a741c9321c86d2f0b30de107e1cc89d5912a6c5b9771b7e56cd"
[[package]]
name = "oxc_index"
@@ -789,9 +790,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.75.0"
+version = "0.75.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "298a69b099cf433e2cd2ca15e786afdd1dc944cc413bbfcd8b64c499d9fecb38"
+checksum = "1bbd1f8184ae33834222f9620673c40296b4ba9c4951c54bcc5548bb7a1f2621"
dependencies = [
"bitflags",
"cow-utils",
@@ -812,9 +813,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.75.0"
+version = "0.75.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e4288439a580f3c2b10c3ba20922908756aee61316fab82fcb209377e1d85099"
+checksum = "54d16a7346afe27716433d691343ee137d640f94f978bd3244babf7248ed6453"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -828,9 +829,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.75.0"
+version = "0.75.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6eb726c595d18fe5a7f66bf7f449883608a4c7bfd50097d49db3225d22cd45b6"
+checksum = "93b7cf8b6447a4d0bb9aff91c6c8fcccbae3d28bad9f9ccb1128599761a982b6"
dependencies = [
"compact_str",
"oxc-miette",
@@ -841,9 +842,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.75.0"
+version = "0.75.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c43d293457dacafd89fd73f9e933cc021cbb5ed1f615b21150cf727bc05b9cc6"
+checksum = "03b6ac136f155820331b326d5cbd178a9c2ee032787f04aa6e14b494c8aeb227"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index 6c756d3..712524f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.75.0"
+oxc = "0.75.1"
swc_ecma_parser = { version = "18.0.0", features = ["typescript"] }
swc_ecma_ast = "13.0.0"
From 54ea7f99a9d8f6b4bdc0eb612466fe70e4f2f04c Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 4 Jul 2025 06:42:16 +0000
Subject: [PATCH 319/385] chore(deps): update rust crate swc_ecma_parser to
18.0.1 (#329)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 16 ++++------------
Cargo.toml | 2 +-
2 files changed, 5 insertions(+), 13 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index a5181d6..dab3f78 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1285,9 +1285,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "18.0.0"
+version = "18.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3b009fbd9113e82513e8f85f8405a3eaf4836b0e2b1bf35e1d492dba48108441"
+checksum = "0913d1984836837bbf56c3fa958ac53014cb604fd82727584b5f92a75fcc700b"
dependencies = [
"arrayvec",
"ascii",
@@ -1308,14 +1308,13 @@ dependencies = [
"swc_common",
"swc_ecma_ast",
"tracing",
- "typed-arena",
]
[[package]]
name = "swc_ecma_parser"
-version = "18.0.0"
+version = "18.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f4ebb9d932251ca0a4db5cd952a5134bef6e1f9853a914cf3bd1fbc4118f107a"
+checksum = "379ce1b189f85d9e6de482033750a1d7d6988ff55c9a984e560e75df6d8ef1e8"
dependencies = [
"arrayvec",
"bitflags",
@@ -1334,7 +1333,6 @@ dependencies = [
"swc_ecma_ast",
"swc_ecma_lexer",
"tracing",
- "typed-arena",
]
[[package]]
@@ -1473,12 +1471,6 @@ dependencies = [
"stable_deref_trait",
]
-[[package]]
-name = "typed-arena"
-version = "2.0.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a"
-
[[package]]
name = "unicode-id-start"
version = "1.3.1"
diff --git a/Cargo.toml b/Cargo.toml
index 712524f..a3dee98 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.75.1"
-swc_ecma_parser = { version = "18.0.0", features = ["typescript"] }
+swc_ecma_parser = { version = "18.0.1", features = ["typescript"] }
swc_ecma_ast = "13.0.0"
# biome_js_parser = "0.5.6"
From d151a7803dc6975a2ebc03a3fef30b1f8d536f80 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 4 Jul 2025 12:15:35 +0000
Subject: [PATCH 320/385] chore(deps): update swc (#330)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 87 +++++++++++-------------------------------------------
Cargo.toml | 4 +--
2 files changed, 20 insertions(+), 71 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index dab3f78..2162e02 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -46,11 +46,10 @@ checksum = "d92bec98840b8f03a5ff5413de5293bfcd8bf96467cf5452609f939ec6f5de16"
[[package]]
name = "ast_node"
-version = "3.0.1"
+version = "3.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c6ea666cbca3830383d6ce836593e88ade6f61b12c6066c09dc1257c3079a5b6"
+checksum = "a1e2cddd48eafd883890770673b1971faceaf80a185445671abc3ea0c00593ee"
dependencies = [
- "proc-macro2",
"quote",
"swc_macros_common",
"syn",
@@ -332,11 +331,10 @@ dependencies = [
[[package]]
name = "from_variant"
-version = "2.0.1"
+version = "2.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "accfe8b52dc15c1bace718020831f72ce91a4c096709a4d733868f4f4034e22a"
+checksum = "308530a56b099da144ebc5d8e179f343ad928fa2b3558d1eb3db9af18d6eff43"
dependencies = [
- "proc-macro2",
"swc_macros_common",
"syn",
]
@@ -396,14 +394,13 @@ checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c"
[[package]]
name = "hstr"
-version = "1.1.1"
+version = "1.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2d1638d2018a21b9ff65d7fc28c2271c76a5af6ff4f621b204d032bc649763a4"
+checksum = "a78e25778a8c9e6ed47b02e668a8bd949f7017b5141edcf80221eb3a4ca11b4b"
dependencies = [
"hashbrown 0.14.5",
"new_debug_unreachable",
"once_cell",
- "phf 0.11.3",
"rustc-hash",
"triomphe",
]
@@ -985,26 +982,6 @@ dependencies = [
"cc",
]
-[[package]]
-name = "ptr_meta"
-version = "0.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fe9e76f66d3f9606f44e45598d155cb13ecf09f4a28199e48daf8c8fc937ea90"
-dependencies = [
- "ptr_meta_derive",
-]
-
-[[package]]
-name = "ptr_meta_derive"
-version = "0.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ca414edb151b4c8d125c12566ab0d74dc9cdba36fb80eb7b848c15f495fd32d1"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
[[package]]
name = "quote"
version = "1.0.40"
@@ -1200,52 +1177,36 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
[[package]]
name = "string_enum"
-version = "1.0.1"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "24b0e5369ebc6ec5fadbc400599467eb6ba5a614c03de094fcb233dddac2f5f4"
+checksum = "ae36a4951ca7bd1cfd991c241584a9824a70f6aff1e7d4f693fb3f2465e4030e"
dependencies = [
- "proc-macro2",
"quote",
"swc_macros_common",
"syn",
]
-[[package]]
-name = "swc_allocator"
-version = "4.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cc6b926f0d94bbb34031fe5449428cfa1268cdc0b31158d6ad9c97e0fc1e79dd"
-dependencies = [
- "allocator-api2",
- "bumpalo",
- "ptr_meta",
- "rustc-hash",
- "triomphe",
-]
-
[[package]]
name = "swc_atoms"
-version = "6.0.0"
+version = "6.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ebf4c40238f7224596754940676547dab6bbf8f33d9f4560b966fc66f2fe00db"
+checksum = "6fda66fe4175cddc27a79643ded7ce297b6b2bf133f038ec5907fb4673e4b2ba"
dependencies = [
"hstr",
"once_cell",
- "rustc-hash",
"serde",
]
[[package]]
name = "swc_common"
-version = "13.0.2"
+version = "13.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fc28daa84b57762ecf28d8fdf6a3204ff04c8b8d98d35b9e8b9f56d4a7fafffa"
+checksum = "e103c3a47a343a175e9f65603122c5d3c8ec007776b00a4a4bc368a1347c4770"
dependencies = [
"anyhow",
"ast_node",
"better_scoped_tls",
"bytes-str",
- "cfg-if",
"either",
"from_variant",
"new_debug_unreachable",
@@ -1254,7 +1215,6 @@ dependencies = [
"rustc-hash",
"serde",
"siphasher 0.3.11",
- "swc_allocator",
"swc_atoms",
"swc_eq_ignore_macros",
"swc_visit",
@@ -1265,9 +1225,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "13.0.0"
+version = "13.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f1ddc264ed13ae03aa30e1c89798502f9ddbe765a4ad695054add1074ffbc5cb"
+checksum = "3de29559723afd8436efd427648b22346fd408f741f93c0464aa0815857e69a4"
dependencies = [
"bitflags",
"is-macro",
@@ -1275,7 +1235,6 @@ dependencies = [
"once_cell",
"phf 0.11.3",
"rustc-hash",
- "scoped-tls",
"string_enum",
"swc_atoms",
"swc_common",
@@ -1285,9 +1244,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "18.0.1"
+version = "18.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0913d1984836837bbf56c3fa958ac53014cb604fd82727584b5f92a75fcc700b"
+checksum = "8997e529b0a6923a6a680e652c6152ad1f5fef04bbd8efd938b84a2cc27a3ea4"
dependencies = [
"arrayvec",
"ascii",
@@ -1296,7 +1255,6 @@ dependencies = [
"either",
"new_debug_unreachable",
"num-bigint",
- "num-traits",
"phf 0.11.3",
"rustc-hash",
"seq-macro",
@@ -1312,22 +1270,13 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "18.0.1"
+version = "18.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "379ce1b189f85d9e6de482033750a1d7d6988ff55c9a984e560e75df6d8ef1e8"
+checksum = "3ebb3a99692b8fb2152e337c0c80eb20f72313f570e92e001af19205dc58eb94"
dependencies = [
- "arrayvec",
- "bitflags",
"either",
- "new_debug_unreachable",
"num-bigint",
- "num-traits",
- "phf 0.11.3",
- "rustc-hash",
"serde",
- "smallvec",
- "smartstring",
- "stacker",
"swc_atoms",
"swc_common",
"swc_ecma_ast",
diff --git a/Cargo.toml b/Cargo.toml
index a3dee98..beba43d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ doctest = false
[dependencies]
oxc = "0.75.1"
-swc_ecma_parser = { version = "18.0.1", features = ["typescript"] }
-swc_ecma_ast = "13.0.0"
+swc_ecma_parser = { version = "18.0.2", features = ["typescript"] }
+swc_ecma_ast = "13.0.1"
# biome_js_parser = "0.5.6"
# biome_js_syntax = "0.5.6"
From 8a2dee9eb38f35f3d2517cd58fdf75a8c1e16ae5 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 6 Jul 2025 17:52:00 +0000
Subject: [PATCH 321/385] chore(deps): lock file maintenance (#331)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 2162e02..08bfbdd 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -22,9 +22,9 @@ checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923"
[[package]]
name = "anes"
-version = "0.2.0"
+version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "735d4f398ca57cfa2880225c2bf81c3b9af3be5bb22e44ae70118dad38713e84"
+checksum = "dc43e46599f3d77fcf2f2ca89e4d962910b0c19c44e7b58679cbbdfd1820a662"
[[package]]
name = "anyhow"
@@ -137,9 +137,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.2.27"
+version = "1.2.29"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d487aa071b5f64da6f19a3e848e3578944b726ee5a4854b82172f02aa876bfdc"
+checksum = "5c1599538de2394445747c8cf7935946e3cc27e9625f889d979bfb2aaf569362"
dependencies = [
"shlex",
]
From 496b4d3075361e891b34ab5dc064ab67367c7d5d Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 7 Jul 2025 15:58:51 +0000
Subject: [PATCH 322/385] chore(deps): update rust crate swc_ecma_parser to v19
(#332)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 25 ++++---------------------
Cargo.toml | 2 +-
2 files changed, 5 insertions(+), 22 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 08bfbdd..5a2a171 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -38,12 +38,6 @@ version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
-[[package]]
-name = "ascii"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d92bec98840b8f03a5ff5413de5293bfcd8bf96467cf5452609f939ec6f5de16"
-
[[package]]
name = "ast_node"
version = "3.0.3"
@@ -232,15 +226,6 @@ dependencies = [
"static_assertions",
]
-[[package]]
-name = "cow-replace"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a6cab584c4b83b5b36f81a10bd15191fd77f70432d624787ee68ec64edd6d7ed"
-dependencies = [
- "ascii",
-]
-
[[package]]
name = "cow-utils"
version = "0.1.3"
@@ -1244,14 +1229,12 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "18.0.2"
+version = "19.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8997e529b0a6923a6a680e652c6152ad1f5fef04bbd8efd938b84a2cc27a3ea4"
+checksum = "70f7b2ef4e431183454b1aa8d21d0cb25c13593b7da8b0215a0602a4599ed749"
dependencies = [
"arrayvec",
- "ascii",
"bitflags",
- "cow-replace",
"either",
"new_debug_unreachable",
"num-bigint",
@@ -1270,9 +1253,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "18.0.2"
+version = "19.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ebb3a99692b8fb2152e337c0c80eb20f72313f570e92e001af19205dc58eb94"
+checksum = "d84ef9d621665426e0d617fa019c45b88118b25a8b0a2a7f47f6b8077ee87486"
dependencies = [
"either",
"num-bigint",
diff --git a/Cargo.toml b/Cargo.toml
index beba43d..dffba31 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.75.1"
-swc_ecma_parser = { version = "18.0.2", features = ["typescript"] }
+swc_ecma_parser = { version = "19.0.0", features = ["typescript"] }
swc_ecma_ast = "13.0.1"
# biome_js_parser = "0.5.6"
From 3a82faa6f35393b19e9d9d6bb50cc702f85c0551 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 8 Jul 2025 12:51:47 +0000
Subject: [PATCH 323/385] chore(deps): update rust crate oxc to 0.76.0 (#333)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 5a2a171..7f399e0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -646,9 +646,9 @@ checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e"
[[package]]
name = "oxc"
-version = "0.75.1"
+version = "0.76.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8d9dc3f71d748eeab2d1883db50fb9709e6d6104a3dc2203f87b1c1e73cea99"
+checksum = "e3692c2bbd698b3b2b18c4062b9df584f390d6154bb3815147d77b61354e3f0b"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -686,9 +686,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.75.1"
+version = "0.76.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5dc7d7719a4f90c691fbd6bcf8b623df2832ccc6b303c1d07d85aeb476c5b8e"
+checksum = "905a588c0a12c71ddb94d4eaee6ea3770f9132017956936777763ebcde66d58c"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -699,9 +699,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.75.1"
+version = "0.76.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "26c1308e677a69e31e51537f5b3267aae44a67cd61a2f3a740f815839c89ea97"
+checksum = "d203d52b5de3eba556625cac42290ac81f9995c82009b9f6ec041237f068ba9b"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -715,9 +715,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.75.1"
+version = "0.76.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e85f4a6422af514f59d0d5aab918237b799ca25164bd59e11b59ea61991777ae"
+checksum = "b31a7f8a301f434bd73f7735f02d7d823c2d4a83bd1ce1b04bfd3b0b50c5a054"
dependencies = [
"phf 0.12.1",
"proc-macro2",
@@ -727,18 +727,18 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.75.1"
+version = "0.76.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7d713c1b57fe1f55af1d557efd461025c9c9bd28835a6b3e0e91f46cdeb995a6"
+checksum = "7087f6bf6910ef41df29d07eb67b163207aafd7efa0801d3b57c2e072c8b9ed1"
dependencies = [
"rustversion",
]
[[package]]
name = "oxc_diagnostics"
-version = "0.75.1"
+version = "0.76.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "44c6188d0a1aa83656795c29b7e7f036060f5c3e5c234ebebc2a5899fb43a579"
+checksum = "4fe0cbd689125f1510f44235fee96887f1f1f42a3420afc802db60ff654030cf"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -747,9 +747,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.75.1"
+version = "0.76.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "851355a2d035526d3a3525cbd66224bde1e234d7cf339835a4516bf27732dcec"
+checksum = "2141d6765bc6e75ff286aeb6f580f1ceeea40c48d23d07b943e1fb92367a8968"
dependencies = [
"num-bigint",
"num-traits",
@@ -760,9 +760,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.75.1"
+version = "0.76.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d67d74c11e1c8a741c9321c86d2f0b30de107e1cc89d5912a6c5b9771b7e56cd"
+checksum = "1216c5ef637573a66b9e4006a6edb432274799bd9e55059607a52aaa6bdbad9a"
[[package]]
name = "oxc_index"
@@ -772,9 +772,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.75.1"
+version = "0.76.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1bbd1f8184ae33834222f9620673c40296b4ba9c4951c54bcc5548bb7a1f2621"
+checksum = "55a30d3f398929eaac185d328e43233f857626dedd8be5b8c78bfc0c63a32d7c"
dependencies = [
"bitflags",
"cow-utils",
@@ -795,9 +795,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.75.1"
+version = "0.76.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "54d16a7346afe27716433d691343ee137d640f94f978bd3244babf7248ed6453"
+checksum = "7e40e3de8fc6bb9091ec5d364a951405bca49ada74c5b0250e0cbb33583c9efc"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -811,9 +811,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.75.1"
+version = "0.76.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93b7cf8b6447a4d0bb9aff91c6c8fcccbae3d28bad9f9ccb1128599761a982b6"
+checksum = "e755e211d32f1d52255eebb39dfb8a787620e5d163e3c6bbe3ad8cb0cca75c40"
dependencies = [
"compact_str",
"oxc-miette",
@@ -824,9 +824,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.75.1"
+version = "0.76.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "03b6ac136f155820331b326d5cbd178a9c2ee032787f04aa6e14b494c8aeb227"
+checksum = "817dd63f7421c08f9cf1fe1463208590cc0cca524bfafa3f252ae519587cdf70"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index dffba31..1a306e0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.75.1"
+oxc = "0.76.0"
swc_ecma_parser = { version = "19.0.0", features = ["typescript"] }
swc_ecma_ast = "13.0.1"
From 3dcd49e2ff67f472aa9fe181a1fa6112872091dc Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 10 Jul 2025 12:38:23 +0000
Subject: [PATCH 324/385] chore(deps): update rust crate swc_ecma_parser to
19.0.1 (#334)
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 7f399e0..ffe8450 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1229,9 +1229,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "19.0.0"
+version = "19.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "70f7b2ef4e431183454b1aa8d21d0cb25c13593b7da8b0215a0602a4599ed749"
+checksum = "180810f860c9128eb74b970da8826e0d86fd8f99808c2fbe224cc5c714af2b70"
dependencies = [
"arrayvec",
"bitflags",
@@ -1253,9 +1253,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "19.0.0"
+version = "19.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d84ef9d621665426e0d617fa019c45b88118b25a8b0a2a7f47f6b8077ee87486"
+checksum = "98c059cc69b577ca26d5bc1efdb022c7ee3e186637b6b355bb2f6660491a6ed1"
dependencies = [
"either",
"num-bigint",
diff --git a/Cargo.toml b/Cargo.toml
index 1a306e0..4654ef3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.76.0"
-swc_ecma_parser = { version = "19.0.0", features = ["typescript"] }
+swc_ecma_parser = { version = "19.0.1", features = ["typescript"] }
swc_ecma_ast = "13.0.1"
# biome_js_parser = "0.5.6"
From e261f955a8bc09110310cf7af8de25f3e44769cf Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 12 Jul 2025 04:36:51 +0000
Subject: [PATCH 325/385] chore(deps): update rust crate oxc to 0.77.0 (#335)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index ffe8450..d274204 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -646,9 +646,9 @@ checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e"
[[package]]
name = "oxc"
-version = "0.76.0"
+version = "0.77.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3692c2bbd698b3b2b18c4062b9df584f390d6154bb3815147d77b61354e3f0b"
+checksum = "d24936bfa589617758c5a4225fc968f5f0919b4c16d040d43def24550ffe6f5f"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -686,9 +686,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.76.0"
+version = "0.77.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "905a588c0a12c71ddb94d4eaee6ea3770f9132017956936777763ebcde66d58c"
+checksum = "fdbeef2a832aa69e8ca20a8ef9e37da18d1a827cf34d682685a09fe2b6caaef1"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -699,9 +699,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.76.0"
+version = "0.77.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d203d52b5de3eba556625cac42290ac81f9995c82009b9f6ec041237f068ba9b"
+checksum = "b8135343afd05522ca069c33c663b71f4836f5aa8f951384327126febead4c30"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -715,9 +715,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.76.0"
+version = "0.77.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b31a7f8a301f434bd73f7735f02d7d823c2d4a83bd1ce1b04bfd3b0b50c5a054"
+checksum = "8c33f44b3c4e5e473fcac4e0319f51b44a800b99d8a421d0a9e96e123b2cc1a6"
dependencies = [
"phf 0.12.1",
"proc-macro2",
@@ -727,18 +727,18 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.76.0"
+version = "0.77.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7087f6bf6910ef41df29d07eb67b163207aafd7efa0801d3b57c2e072c8b9ed1"
+checksum = "5514bed9595363bfa66bfcf6dcecedb0ed5c40f162c429a70893edb825dba9db"
dependencies = [
"rustversion",
]
[[package]]
name = "oxc_diagnostics"
-version = "0.76.0"
+version = "0.77.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4fe0cbd689125f1510f44235fee96887f1f1f42a3420afc802db60ff654030cf"
+checksum = "29e47cf799dd9d84be89dd3af9a110232fa6f9b305bf32f65df364c3a85dec76"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -747,9 +747,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.76.0"
+version = "0.77.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2141d6765bc6e75ff286aeb6f580f1ceeea40c48d23d07b943e1fb92367a8968"
+checksum = "8da2043abf37c986c29fa44470b7f41f94d147c626d2db8e9edc69b867a07b8b"
dependencies = [
"num-bigint",
"num-traits",
@@ -760,9 +760,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.76.0"
+version = "0.77.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1216c5ef637573a66b9e4006a6edb432274799bd9e55059607a52aaa6bdbad9a"
+checksum = "11c7b19dfa467408ae3e1f8a52bdf0b79e421f0811bef9d57df44369ff5f14a8"
[[package]]
name = "oxc_index"
@@ -772,9 +772,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.76.0"
+version = "0.77.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "55a30d3f398929eaac185d328e43233f857626dedd8be5b8c78bfc0c63a32d7c"
+checksum = "760adcacb436921e78a256ed467fa3cc4cd27147542ac0f94bcaf4a900a4002a"
dependencies = [
"bitflags",
"cow-utils",
@@ -795,9 +795,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.76.0"
+version = "0.77.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7e40e3de8fc6bb9091ec5d364a951405bca49ada74c5b0250e0cbb33583c9efc"
+checksum = "6af8abf0a50098480239f588f6f997148c48e0f062b78b32aedf9a7a380442cb"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -811,9 +811,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.76.0"
+version = "0.77.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e755e211d32f1d52255eebb39dfb8a787620e5d163e3c6bbe3ad8cb0cca75c40"
+checksum = "a9be736965e94fed8a096679f493ef794718821ffc6a3e509cf6dc6c10f5d38a"
dependencies = [
"compact_str",
"oxc-miette",
@@ -824,9 +824,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.76.0"
+version = "0.77.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "817dd63f7421c08f9cf1fe1463208590cc0cca524bfafa3f252ae519587cdf70"
+checksum = "4d69df31e7fc11197b27a3edfb316d0f9bf51778f824b1dafbca68c8fac59898"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index 4654ef3..dc5a78e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.76.0"
+oxc = "0.77.0"
swc_ecma_parser = { version = "19.0.1", features = ["typescript"] }
swc_ecma_ast = "13.0.1"
From 3d0c0b73d083cf6b1fe8bdc9a9c266a91b449755 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 13 Jul 2025 08:47:45 +0000
Subject: [PATCH 326/385] chore(deps): update swc (#336)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 24 ++++++++++++------------
Cargo.toml | 4 ++--
2 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index d274204..10354d8 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -379,9 +379,9 @@ checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c"
[[package]]
name = "hstr"
-version = "1.1.4"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a78e25778a8c9e6ed47b02e668a8bd949f7017b5141edcf80221eb3a4ca11b4b"
+checksum = "4933df6fceb5d21a21e9fb5b46e572a83be4108e5b544de7ebe87cc1245b5d23"
dependencies = [
"hashbrown 0.14.5",
"new_debug_unreachable",
@@ -1173,9 +1173,9 @@ dependencies = [
[[package]]
name = "swc_atoms"
-version = "6.0.1"
+version = "7.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6fda66fe4175cddc27a79643ded7ce297b6b2bf133f038ec5907fb4673e4b2ba"
+checksum = "3500dcf04c84606b38464561edc5e46f5132201cb3e23cf9613ed4033d6b1bb2"
dependencies = [
"hstr",
"once_cell",
@@ -1184,9 +1184,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "13.0.4"
+version = "14.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e103c3a47a343a175e9f65603122c5d3c8ec007776b00a4a4bc368a1347c4770"
+checksum = "7ee613fc22be5445b8d8572495e8be16990b130b1a547f9d6db739a02038da80"
dependencies = [
"anyhow",
"ast_node",
@@ -1210,9 +1210,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "13.0.1"
+version = "14.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3de29559723afd8436efd427648b22346fd408f741f93c0464aa0815857e69a4"
+checksum = "d5d8d26e697ce58654f0816890af7a28efd8660c154b613acefa2d3727e8ec93"
dependencies = [
"bitflags",
"is-macro",
@@ -1229,9 +1229,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "19.0.1"
+version = "20.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "180810f860c9128eb74b970da8826e0d86fd8f99808c2fbe224cc5c714af2b70"
+checksum = "63a90861efee1dcaee0756105a9ad285d5c85338dd80a8d13b4ce4a4d4b6533c"
dependencies = [
"arrayvec",
"bitflags",
@@ -1253,9 +1253,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "19.0.1"
+version = "20.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "98c059cc69b577ca26d5bc1efdb022c7ee3e186637b6b355bb2f6660491a6ed1"
+checksum = "b758a1f755b4f5a05f899eab2aa38404fcbe123402d37c3c85d76c6a3e90bdf6"
dependencies = [
"either",
"num-bigint",
diff --git a/Cargo.toml b/Cargo.toml
index dc5a78e..cade5cf 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ doctest = false
[dependencies]
oxc = "0.77.0"
-swc_ecma_parser = { version = "19.0.1", features = ["typescript"] }
-swc_ecma_ast = "13.0.1"
+swc_ecma_parser = { version = "20.0.0", features = ["typescript"] }
+swc_ecma_ast = "14.0.0"
# biome_js_parser = "0.5.6"
# biome_js_syntax = "0.5.6"
From 1c2daa87eac8e673e3d68f277abcc5331cba16df Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 13 Jul 2025 17:16:22 +0000
Subject: [PATCH 327/385] chore(deps): lock file maintenance rust crates (#338)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 10354d8..c543519 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -122,9 +122,9 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
[[package]]
name = "castaway"
-version = "0.2.3"
+version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0abae9be0aaf9ea96a3b1b8b1b55c602ca751eba1b1500220cea4ecbafe7c0d5"
+checksum = "dec551ab6e7578819132c713a93c022a05d60159dc86e7a7050223577484c55a"
dependencies = [
"rustversion",
]
@@ -539,9 +539,9 @@ checksum = "1171693293099992e19cddea4e8b849964e9846f4acee11b3948bcc337be8776"
[[package]]
name = "libmimalloc-sys2"
-version = "0.1.49"
+version = "0.1.50"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "355557e51b464fc536b87c44f8c3f35b75299858768fb658ecfdafb5bae294ad"
+checksum = "25b61410dbb32927c2cb4e3553cd5d960d441d60aedff77ca769d76981d055fd"
dependencies = [
"cc",
"cmake",
@@ -568,9 +568,9 @@ checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0"
[[package]]
name = "mimalloc-safe"
-version = "0.1.53"
+version = "0.1.54"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4bb800e901f5b61ba3e62d9d96f530e579e4305da2f718ae00fa440014b2ab47"
+checksum = "d445a467f53fb44c1e2535950d3036cabf8020577adee33afd242cef76790e63"
dependencies = [
"libmimalloc-sys2",
]
From 12d302182ec9b1f808eff3ea156f8a3bee8dab13 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 14 Jul 2025 14:06:52 +0800
Subject: [PATCH 328/385] chore(deps): update codspeedhq/action action to
v3.7.0 (#337)
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 4d0c04a..780e527 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -36,7 +36,7 @@ jobs:
run: cargo codspeed build --features codspeed
- name: Run benchmark
- uses: CodSpeedHQ/action@0010eb0ca6e89b80c88e8edaaa07cfe5f3e6664d # v3.5.0
+ uses: CodSpeedHQ/action@c28fe9fbe7d57a3da1b7834ae3761c1d8217612d # v3.7.0
with:
run: cargo codspeed run
token: ${{ secrets.CODSPEED_TOKEN }}
From 41a44bcb87dfbd72b1071bc0e43dada14cd60bd7 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 16 Jul 2025 17:50:05 +0000
Subject: [PATCH 329/385] chore(deps): update rust crate oxc to 0.77.1 (#339)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index c543519..053a989 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -646,9 +646,9 @@ checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e"
[[package]]
name = "oxc"
-version = "0.77.0"
+version = "0.77.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d24936bfa589617758c5a4225fc968f5f0919b4c16d040d43def24550ffe6f5f"
+checksum = "69049e3912114b8534c70a2bbfe2e230e3efbb20348aa94ddaaa7fcf46c62dea"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -686,9 +686,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.77.0"
+version = "0.77.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fdbeef2a832aa69e8ca20a8ef9e37da18d1a827cf34d682685a09fe2b6caaef1"
+checksum = "993101d424ea517a299b312786e6feeaeaa64a0f130cf7cc45e1c6a6e8847ac5"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -699,9 +699,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.77.0"
+version = "0.77.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8135343afd05522ca069c33c663b71f4836f5aa8f951384327126febead4c30"
+checksum = "a651de56b9e2a0273b7b2291fcb35ad52142b59582ac7a44dff3899a9b73bdbc"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -715,9 +715,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.77.0"
+version = "0.77.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8c33f44b3c4e5e473fcac4e0319f51b44a800b99d8a421d0a9e96e123b2cc1a6"
+checksum = "215515d242db3a88c93928446b62265a63f5a54d14d691f9d763f5fb61df3c25"
dependencies = [
"phf 0.12.1",
"proc-macro2",
@@ -727,18 +727,18 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.77.0"
+version = "0.77.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5514bed9595363bfa66bfcf6dcecedb0ed5c40f162c429a70893edb825dba9db"
+checksum = "ccdbefc90ed80b5bebddefde04c29a1e97c0ef7965dc8333aee577862dd0d099"
dependencies = [
"rustversion",
]
[[package]]
name = "oxc_diagnostics"
-version = "0.77.0"
+version = "0.77.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "29e47cf799dd9d84be89dd3af9a110232fa6f9b305bf32f65df364c3a85dec76"
+checksum = "dbd1cf40a3b5a93083fb038c8eb52e10ab003a7ad5cef8026dd640b1bea5e6b0"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -747,9 +747,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.77.0"
+version = "0.77.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8da2043abf37c986c29fa44470b7f41f94d147c626d2db8e9edc69b867a07b8b"
+checksum = "a96f5cb2cafa3c3bc0b14799d8dfe242be2be48b92ba77293db094d72b4a9c10"
dependencies = [
"num-bigint",
"num-traits",
@@ -760,9 +760,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.77.0"
+version = "0.77.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "11c7b19dfa467408ae3e1f8a52bdf0b79e421f0811bef9d57df44369ff5f14a8"
+checksum = "7de1227584df59c254a51465254f9e75a407e2329c59686fd2ff5b1659816568"
[[package]]
name = "oxc_index"
@@ -772,9 +772,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.77.0"
+version = "0.77.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "760adcacb436921e78a256ed467fa3cc4cd27147542ac0f94bcaf4a900a4002a"
+checksum = "81476a01b11f87ebfb63c3a462333000a2a3fa40a29ec8699e8215f5ef7439ec"
dependencies = [
"bitflags",
"cow-utils",
@@ -795,9 +795,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.77.0"
+version = "0.77.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6af8abf0a50098480239f588f6f997148c48e0f062b78b32aedf9a7a380442cb"
+checksum = "30b692c86bb96fae9d12869403b670c2a76c3aaae220f428281370e7e66dc96e"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -811,9 +811,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.77.0"
+version = "0.77.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a9be736965e94fed8a096679f493ef794718821ffc6a3e509cf6dc6c10f5d38a"
+checksum = "d379518d49fb763cb07f38d86eaad471d6ca71547c48c0c4fcae28d733e99b6e"
dependencies = [
"compact_str",
"oxc-miette",
@@ -824,9 +824,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.77.0"
+version = "0.77.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4d69df31e7fc11197b27a3edfb316d0f9bf51778f824b1dafbca68c8fac59898"
+checksum = "1b96724d9883c251e889825640fa409518d8a614b1832764861b964e58f8eac5"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index cade5cf..4eb9a6f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.77.0"
+oxc = "0.77.1"
swc_ecma_parser = { version = "20.0.0", features = ["typescript"] }
swc_ecma_ast = "14.0.0"
From 7f42d64086a30d4ba282122b48a9e37e9069a189 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 17 Jul 2025 20:52:07 +0000
Subject: [PATCH 330/385] chore(deps): update rust crate swc_ecma_parser to v21
(#341)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 12 ++++++------
Cargo.toml | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 053a989..845884a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1184,9 +1184,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "14.0.0"
+version = "14.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7ee613fc22be5445b8d8572495e8be16990b130b1a547f9d6db739a02038da80"
+checksum = "20708c71c9e53ff193555b038e073feb8388e904b04ddc72b8ec9ff180914be8"
dependencies = [
"anyhow",
"ast_node",
@@ -1229,9 +1229,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "20.0.0"
+version = "21.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "63a90861efee1dcaee0756105a9ad285d5c85338dd80a8d13b4ce4a4d4b6533c"
+checksum = "11758fd42a7313734ad713a39d320693ab181a42fc6dd6ad3d473cded40ca9af"
dependencies = [
"arrayvec",
"bitflags",
@@ -1253,9 +1253,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "20.0.0"
+version = "21.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b758a1f755b4f5a05f899eab2aa38404fcbe123402d37c3c85d76c6a3e90bdf6"
+checksum = "c56e16202e0813af78c6bbaaa44b44e006d4c85356d684e92d53eab6b5302a50"
dependencies = [
"either",
"num-bigint",
diff --git a/Cargo.toml b/Cargo.toml
index 4eb9a6f..b9a22b1 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.77.1"
-swc_ecma_parser = { version = "20.0.0", features = ["typescript"] }
+swc_ecma_parser = { version = "21.0.0", features = ["typescript"] }
swc_ecma_ast = "14.0.0"
# biome_js_parser = "0.5.6"
From 9e05d5b8d5e5cd0927c54ef4df95e2ada7879414 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 18 Jul 2025 08:09:32 +0800
Subject: [PATCH 331/385] chore(deps): update rust crate oxc to 0.77.2 (#340)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 845884a..b346db8 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -646,9 +646,9 @@ checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e"
[[package]]
name = "oxc"
-version = "0.77.1"
+version = "0.77.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "69049e3912114b8534c70a2bbfe2e230e3efbb20348aa94ddaaa7fcf46c62dea"
+checksum = "bfccc6414285e600887e8803dbe5dfc3124014ca37b462cecb93554e88a18956"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -686,9 +686,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.77.1"
+version = "0.77.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "993101d424ea517a299b312786e6feeaeaa64a0f130cf7cc45e1c6a6e8847ac5"
+checksum = "dfb26c85f75534d78b8df75f4fc5cae640eab5f7390138533f9875ea77675c32"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -699,9 +699,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.77.1"
+version = "0.77.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a651de56b9e2a0273b7b2291fcb35ad52142b59582ac7a44dff3899a9b73bdbc"
+checksum = "b60080112103b0620b4df671cc6cb5e2d15da0acdde576339fc1883944649e50"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -715,9 +715,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.77.1"
+version = "0.77.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "215515d242db3a88c93928446b62265a63f5a54d14d691f9d763f5fb61df3c25"
+checksum = "86846e9f2b68e12a3579ade0e5504307238d9ca3214b6ac71f7f2aaf455854f4"
dependencies = [
"phf 0.12.1",
"proc-macro2",
@@ -727,18 +727,18 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.77.1"
+version = "0.77.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ccdbefc90ed80b5bebddefde04c29a1e97c0ef7965dc8333aee577862dd0d099"
+checksum = "885299e00807d2b0d7b3202417eeed7a31da4d0e8444da8d0d7cb2918fdcd9ff"
dependencies = [
"rustversion",
]
[[package]]
name = "oxc_diagnostics"
-version = "0.77.1"
+version = "0.77.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dbd1cf40a3b5a93083fb038c8eb52e10ab003a7ad5cef8026dd640b1bea5e6b0"
+checksum = "0aeede4e14e19c6ecd6d07b0ffa6ee06fa8154a3ac28e9286a70eed3c459ffef"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -747,9 +747,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.77.1"
+version = "0.77.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a96f5cb2cafa3c3bc0b14799d8dfe242be2be48b92ba77293db094d72b4a9c10"
+checksum = "9561e986b4b73093c0ef263fb827cf3e1ff39f9888d9fc28ba87a895a12b2002"
dependencies = [
"num-bigint",
"num-traits",
@@ -760,9 +760,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.77.1"
+version = "0.77.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7de1227584df59c254a51465254f9e75a407e2329c59686fd2ff5b1659816568"
+checksum = "371761605f9a865c60b2f122745e4938c7d626151806a29ee37faa402351ffa4"
[[package]]
name = "oxc_index"
@@ -772,9 +772,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.77.1"
+version = "0.77.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "81476a01b11f87ebfb63c3a462333000a2a3fa40a29ec8699e8215f5ef7439ec"
+checksum = "47dddf9d1b84967778895d456199da6bec068d4df333736bc044566741770e02"
dependencies = [
"bitflags",
"cow-utils",
@@ -795,9 +795,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.77.1"
+version = "0.77.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "30b692c86bb96fae9d12869403b670c2a76c3aaae220f428281370e7e66dc96e"
+checksum = "fc5e8f0ebe3a5ccf4ccf46584ff2b3cd99ffb7775cfcf4eb0d198a2cb61cf5e1"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -811,9 +811,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.77.1"
+version = "0.77.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d379518d49fb763cb07f38d86eaad471d6ca71547c48c0c4fcae28d733e99b6e"
+checksum = "76c222febafebcf7efb6b57bc326f2b22ef941530f7520fa085e2b9f1bf3c8ef"
dependencies = [
"compact_str",
"oxc-miette",
@@ -824,9 +824,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.77.1"
+version = "0.77.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1b96724d9883c251e889825640fa409518d8a614b1832764861b964e58f8eac5"
+checksum = "4edbfffc422a4b5579ef51f7b562b098bf087022fa4a8d92d1afe3d7c7abc738"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index b9a22b1..3da156b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.77.1"
+oxc = "0.77.2"
swc_ecma_parser = { version = "21.0.0", features = ["typescript"] }
swc_ecma_ast = "14.0.0"
From d4a448f6c6ca6ce06207d8cd029201523aba1bda Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 18 Jul 2025 14:42:39 +0000
Subject: [PATCH 332/385] chore(deps): update rust crate swc_ecma_parser to
21.0.1 (#342)
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 b346db8..12e5656 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1253,9 +1253,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "21.0.0"
+version = "21.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c56e16202e0813af78c6bbaaa44b44e006d4c85356d684e92d53eab6b5302a50"
+checksum = "482bce3a5a199befa9420e2b094fd7fb4e1d9d71a02f0ee1bf24e610ad066311"
dependencies = [
"either",
"num-bigint",
diff --git a/Cargo.toml b/Cargo.toml
index 3da156b..2cd5a13 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.77.2"
-swc_ecma_parser = { version = "21.0.0", features = ["typescript"] }
+swc_ecma_parser = { version = "21.0.1", features = ["typescript"] }
swc_ecma_ast = "14.0.0"
# biome_js_parser = "0.5.6"
From e74089e4d0f318904a56c2eaf6ff7cf02fa036fa Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 20 Jul 2025 16:39:00 +0000
Subject: [PATCH 333/385] chore(deps): lock file maintenance (#344)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 56 +++++++++++++++++++++++++++---------------------------
1 file changed, 28 insertions(+), 28 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 12e5656..02904e9 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -131,9 +131,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.2.29"
+version = "1.2.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c1599538de2394445747c8cf7935946e3cc27e9625f889d979bfb2aaf569362"
+checksum = "deec109607ca693028562ed836a5f1c4b8bd77755c4e132fc5ce11b0b6211ae7"
dependencies = [
"shlex",
]
@@ -646,9 +646,9 @@ checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e"
[[package]]
name = "oxc"
-version = "0.77.2"
+version = "0.77.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bfccc6414285e600887e8803dbe5dfc3124014ca37b462cecb93554e88a18956"
+checksum = "a62acb3c644d4686e6ee11e5d37b9189f0a8cd6e2651bf5ea9433f51ff3c1359"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -686,9 +686,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.77.2"
+version = "0.77.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dfb26c85f75534d78b8df75f4fc5cae640eab5f7390138533f9875ea77675c32"
+checksum = "423acea26b6422fa0778e91fdcb81b19148b8dd72c3f5ec9c1722b65dc220da2"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -699,9 +699,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.77.2"
+version = "0.77.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b60080112103b0620b4df671cc6cb5e2d15da0acdde576339fc1883944649e50"
+checksum = "c5229e6d1c3f0e2f89c674f99b4bde8a4d5faf2ed4fc2ad34225d31bea546439"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -715,9 +715,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.77.2"
+version = "0.77.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "86846e9f2b68e12a3579ade0e5504307238d9ca3214b6ac71f7f2aaf455854f4"
+checksum = "aeeaf11189a12a302cd387a2b51c14b6c82bdb9d69d589987c59136fe31144cb"
dependencies = [
"phf 0.12.1",
"proc-macro2",
@@ -727,18 +727,18 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.77.2"
+version = "0.77.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "885299e00807d2b0d7b3202417eeed7a31da4d0e8444da8d0d7cb2918fdcd9ff"
+checksum = "f3d5134e4f3d2702f4bc9bbbca6b9dd7110a7d40257f595c6e13aec61d73eb4d"
dependencies = [
"rustversion",
]
[[package]]
name = "oxc_diagnostics"
-version = "0.77.2"
+version = "0.77.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0aeede4e14e19c6ecd6d07b0ffa6ee06fa8154a3ac28e9286a70eed3c459ffef"
+checksum = "9b25255412a4f73e67e43146f32c723db06ace776a2ee6ba6b44c047aa3c4572"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -747,9 +747,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.77.2"
+version = "0.77.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9561e986b4b73093c0ef263fb827cf3e1ff39f9888d9fc28ba87a895a12b2002"
+checksum = "da6a69b71ba225327213e77146573d1ccc05d180d2be37d4a934ba7e96d7d0b2"
dependencies = [
"num-bigint",
"num-traits",
@@ -760,9 +760,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.77.2"
+version = "0.77.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "371761605f9a865c60b2f122745e4938c7d626151806a29ee37faa402351ffa4"
+checksum = "7587710fe0e28f02015ae47964ebbb2bc3853302c1112632c163cd824fa1fd99"
[[package]]
name = "oxc_index"
@@ -772,9 +772,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.77.2"
+version = "0.77.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "47dddf9d1b84967778895d456199da6bec068d4df333736bc044566741770e02"
+checksum = "5fe05c3cc2e9dd89de8f3ecaa250372b044a0194ce1b14526b26ace04d6a5770"
dependencies = [
"bitflags",
"cow-utils",
@@ -795,9 +795,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.77.2"
+version = "0.77.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fc5e8f0ebe3a5ccf4ccf46584ff2b3cd99ffb7775cfcf4eb0d198a2cb61cf5e1"
+checksum = "44971f48da170fc5d21abf764573d8647b4801b3129993bbbe06759d648a23a4"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -811,9 +811,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.77.2"
+version = "0.77.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "76c222febafebcf7efb6b57bc326f2b22ef941530f7520fa085e2b9f1bf3c8ef"
+checksum = "e91aabd5bfacf5897d534fa72b23f9f7da99f51bfa2c7bed7683f556b5009607"
dependencies = [
"compact_str",
"oxc-miette",
@@ -824,9 +824,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.77.2"
+version = "0.77.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4edbfffc422a4b5579ef51f7b562b098bf087022fa4a8d92d1afe3d7c7abc738"
+checksum = "307d590d5ff2e5e7b9851bdda04027a93cbae22a924723a3c0e7c1af03662ce4"
dependencies = [
"bitflags",
"cow-utils",
@@ -1084,9 +1084,9 @@ dependencies = [
[[package]]
name = "serde_json"
-version = "1.0.140"
+version = "1.0.141"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373"
+checksum = "30b9eff21ebe718216c6ec64e1d9ac57087aad11efc64e32002bce4a0d4c03d3"
dependencies = [
"itoa",
"memchr",
From 86be802ee046a1b564f223269495e19fecf64e56 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 21 Jul 2025 08:49:04 +0800
Subject: [PATCH 334/385] chore(deps): update rust crate oxc to 0.77.3 (#343)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Cargo.toml b/Cargo.toml
index 2cd5a13..f36c817 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.77.2"
+oxc = "0.77.3"
swc_ecma_parser = { version = "21.0.1", features = ["typescript"] }
swc_ecma_ast = "14.0.0"
From 64a8344fe51cf69ef7335984cdc6a87bb6b2b2db Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 22 Jul 2025 22:52:48 +0000
Subject: [PATCH 335/385] chore(deps): update rust crate swc_ecma_parser to v22
(#345)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 13 ++++++-------
Cargo.toml | 2 +-
2 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 02904e9..dbdd4f1 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1184,9 +1184,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "14.0.1"
+version = "14.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "20708c71c9e53ff193555b038e073feb8388e904b04ddc72b8ec9ff180914be8"
+checksum = "e7e510ae120281a9daee0b9246b6740b509b99bd78f88b2a7210c87ec78572a7"
dependencies = [
"anyhow",
"ast_node",
@@ -1229,14 +1229,13 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "21.0.0"
+version = "22.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "11758fd42a7313734ad713a39d320693ab181a42fc6dd6ad3d473cded40ca9af"
+checksum = "4b71b6c0cf5dea9b9cfd5384bc34cb4224e17fd3c711805b376d68d4b678e5ef"
dependencies = [
"arrayvec",
"bitflags",
"either",
- "new_debug_unreachable",
"num-bigint",
"phf 0.11.3",
"rustc-hash",
@@ -1253,9 +1252,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "21.0.1"
+version = "22.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "482bce3a5a199befa9420e2b094fd7fb4e1d9d71a02f0ee1bf24e610ad066311"
+checksum = "dd0d5d20b06793c33ae52111f83e3bad7224e46b8d19507da139ee4c027b888a"
dependencies = [
"either",
"num-bigint",
diff --git a/Cargo.toml b/Cargo.toml
index f36c817..18abbdd 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.77.3"
-swc_ecma_parser = { version = "21.0.1", features = ["typescript"] }
+swc_ecma_parser = { version = "22.0.0", features = ["typescript"] }
swc_ecma_ast = "14.0.0"
# biome_js_parser = "0.5.6"
From b675f2475dd6b8046a0617903158befc1b944021 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 24 Jul 2025 07:01:13 +0000
Subject: [PATCH 336/385] chore(deps): update rust crate oxc to 0.78.0 (#346)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index dbdd4f1..6e9319c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -646,9 +646,9 @@ checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e"
[[package]]
name = "oxc"
-version = "0.77.3"
+version = "0.78.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a62acb3c644d4686e6ee11e5d37b9189f0a8cd6e2651bf5ea9433f51ff3c1359"
+checksum = "bbd75f9e6d7560f53c4514f4aa8fbcd5c45db13b6b091b06e7a0610a02769aca"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -686,9 +686,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.77.3"
+version = "0.78.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "423acea26b6422fa0778e91fdcb81b19148b8dd72c3f5ec9c1722b65dc220da2"
+checksum = "84be1252337ee005688471024aa3c490237e11ef4c18013573d76820718bd28d"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -699,9 +699,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.77.3"
+version = "0.78.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c5229e6d1c3f0e2f89c674f99b4bde8a4d5faf2ed4fc2ad34225d31bea546439"
+checksum = "4611623aa731f9b6eafbbbb6616ddbfe65622fb9031f7f22b7d985ee9222d93c"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -715,9 +715,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.77.3"
+version = "0.78.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aeeaf11189a12a302cd387a2b51c14b6c82bdb9d69d589987c59136fe31144cb"
+checksum = "59d873a6c17e393ab36dfd10fcd0b5e22581cd8adb6d0936b69c28371d338374"
dependencies = [
"phf 0.12.1",
"proc-macro2",
@@ -727,18 +727,18 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.77.3"
+version = "0.78.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f3d5134e4f3d2702f4bc9bbbca6b9dd7110a7d40257f595c6e13aec61d73eb4d"
+checksum = "4eb262baf5fb69c3971c6662684c2167e58708880f794465fbd53257fec7f087"
dependencies = [
"rustversion",
]
[[package]]
name = "oxc_diagnostics"
-version = "0.77.3"
+version = "0.78.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9b25255412a4f73e67e43146f32c723db06ace776a2ee6ba6b44c047aa3c4572"
+checksum = "58c312b8185e7e63af7d76b5f69520baa53c4d8163ba2ff9e1801d53a9633089"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -747,9 +747,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.77.3"
+version = "0.78.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "da6a69b71ba225327213e77146573d1ccc05d180d2be37d4a934ba7e96d7d0b2"
+checksum = "5a09ef36e663aa5512c8277f282e531d14fa5445493e47b6404f93d77830eb29"
dependencies = [
"num-bigint",
"num-traits",
@@ -760,9 +760,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.77.3"
+version = "0.78.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7587710fe0e28f02015ae47964ebbb2bc3853302c1112632c163cd824fa1fd99"
+checksum = "79c05d61aacb87526c3b6f10332370e6081592d8fa1e45a95d794fb3e180b165"
[[package]]
name = "oxc_index"
@@ -772,9 +772,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.77.3"
+version = "0.78.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5fe05c3cc2e9dd89de8f3ecaa250372b044a0194ce1b14526b26ace04d6a5770"
+checksum = "21908e281daf0c4ff94b66b627daaf2aea4869fbee696e07a7f35e449c633962"
dependencies = [
"bitflags",
"cow-utils",
@@ -795,9 +795,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.77.3"
+version = "0.78.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "44971f48da170fc5d21abf764573d8647b4801b3129993bbbe06759d648a23a4"
+checksum = "3740a822270e305bb5b946b0a60ae9294f8d2ab71d9cab014bd629433780326c"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -811,9 +811,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.77.3"
+version = "0.78.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e91aabd5bfacf5897d534fa72b23f9f7da99f51bfa2c7bed7683f556b5009607"
+checksum = "b25ebff6503fe212773c1079110341c67d66ff1cb2d44fbe9f2b202140061187"
dependencies = [
"compact_str",
"oxc-miette",
@@ -824,9 +824,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.77.3"
+version = "0.78.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "307d590d5ff2e5e7b9851bdda04027a93cbae22a924723a3c0e7c1af03662ce4"
+checksum = "021a06690c525668d7872f2cff6f2c6ed0b43ae9a89ad66aa0faff70aaae80fa"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index 18abbdd..2a5b8ab 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.77.3"
+oxc = "0.78.0"
swc_ecma_parser = { version = "22.0.0", features = ["typescript"] }
swc_ecma_ast = "14.0.0"
From b472b27ae5afbfae30892b09e51b480dd01aaa37 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 24 Jul 2025 19:57:13 +0000
Subject: [PATCH 337/385] chore(deps): update rust crate swc_ecma_parser to
22.0.1 (#347)
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 6e9319c..9416df1 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1229,9 +1229,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "22.0.0"
+version = "22.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4b71b6c0cf5dea9b9cfd5384bc34cb4224e17fd3c711805b376d68d4b678e5ef"
+checksum = "e9064696f5ac88823ca2ebf23414784e5ee77da5db3a2906d90dec0ccaab29e0"
dependencies = [
"arrayvec",
"bitflags",
@@ -1252,9 +1252,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "22.0.0"
+version = "22.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dd0d5d20b06793c33ae52111f83e3bad7224e46b8d19507da139ee4c027b888a"
+checksum = "7227e52b620d404a2c67d910c5b2a9b90da30a74780f21a8e0ee797387d59ad8"
dependencies = [
"either",
"num-bigint",
diff --git a/Cargo.toml b/Cargo.toml
index 2a5b8ab..fb1c6a6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.78.0"
-swc_ecma_parser = { version = "22.0.0", features = ["typescript"] }
+swc_ecma_parser = { version = "22.0.1", features = ["typescript"] }
swc_ecma_ast = "14.0.0"
# biome_js_parser = "0.5.6"
From 9ef2b6bbea806747f514b97ef57145c40f615bbe Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 29 Jul 2025 05:46:30 +0000
Subject: [PATCH 338/385] chore(deps): update rust crate swc_ecma_parser to
22.0.2 (#349)
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 9416df1..f43c562 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1229,9 +1229,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "22.0.1"
+version = "22.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e9064696f5ac88823ca2ebf23414784e5ee77da5db3a2906d90dec0ccaab29e0"
+checksum = "69ec39d3c46e3a76129ad5b7032d509240fb150cf1a2e8a57b368bfd5ec3f9cd"
dependencies = [
"arrayvec",
"bitflags",
@@ -1252,9 +1252,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "22.0.1"
+version = "22.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7227e52b620d404a2c67d910c5b2a9b90da30a74780f21a8e0ee797387d59ad8"
+checksum = "4d61d0b6ecfdf633595d41a730da0c44195cf292e8417a3e77226be9d6e99653"
dependencies = [
"either",
"num-bigint",
diff --git a/Cargo.toml b/Cargo.toml
index fb1c6a6..1154495 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.78.0"
-swc_ecma_parser = { version = "22.0.1", features = ["typescript"] }
+swc_ecma_parser = { version = "22.0.2", features = ["typescript"] }
swc_ecma_ast = "14.0.0"
# biome_js_parser = "0.5.6"
From bd272753707759d5b6abcfa51607cf96799d5a43 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 30 Jul 2025 04:56:13 +0000
Subject: [PATCH 339/385] chore(deps): update rust crate oxc to 0.79.0 (#350)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 56 +++++++++++++++++++++++++++---------------------------
Cargo.toml | 2 +-
2 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index f43c562..0795a2a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -646,9 +646,9 @@ checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e"
[[package]]
name = "oxc"
-version = "0.78.0"
+version = "0.79.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bbd75f9e6d7560f53c4514f4aa8fbcd5c45db13b6b091b06e7a0610a02769aca"
+checksum = "0103305034c9bcdd1cf8514fae2581cff754330fba3fd7b00eb989cf59d34b67"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -661,9 +661,9 @@ dependencies = [
[[package]]
name = "oxc-miette"
-version = "2.3.1"
+version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "00cb1a49ec377f62606cbf047794efd37d668dbcbcefaeb5bf43f89b3c391418"
+checksum = "31cfb121c9d3e0f9082856927f5cff9594279c91b544f4436e4bc971563caa60"
dependencies = [
"cfg-if",
"owo-colors",
@@ -675,9 +675,9 @@ dependencies = [
[[package]]
name = "oxc-miette-derive"
-version = "2.3.1"
+version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1739910e9871fe8d6e311f80fb2793756335aec97b0f985e778cbf4bc5cf574f"
+checksum = "a6eabb57f935b454fbe0552ea0abaaf9eb0019b5fa05a7bbe7efd5bd8c765085"
dependencies = [
"proc-macro2",
"quote",
@@ -686,9 +686,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.78.0"
+version = "0.79.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "84be1252337ee005688471024aa3c490237e11ef4c18013573d76820718bd28d"
+checksum = "5f0648465317fe75292f9c4bcd66f072b84a3c5da423e2afc526c4ffa0c2dcbe"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -699,9 +699,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.78.0"
+version = "0.79.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4611623aa731f9b6eafbbbb6616ddbfe65622fb9031f7f22b7d985ee9222d93c"
+checksum = "19c6726eb07082e19cbd9207299b981d96a91b24b1e9fac50ef83abf6957c103"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -715,9 +715,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.78.0"
+version = "0.79.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "59d873a6c17e393ab36dfd10fcd0b5e22581cd8adb6d0936b69c28371d338374"
+checksum = "e22a1455097feb967e5fe9e8423ad6b54f879c0bf2f19790004a51d780b6de42"
dependencies = [
"phf 0.12.1",
"proc-macro2",
@@ -727,18 +727,18 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.78.0"
+version = "0.79.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4eb262baf5fb69c3971c6662684c2167e58708880f794465fbd53257fec7f087"
+checksum = "ca8bfe5529c2e92d065de962990f094db40b7073a25256fbf1cf2393f885c53f"
dependencies = [
"rustversion",
]
[[package]]
name = "oxc_diagnostics"
-version = "0.78.0"
+version = "0.79.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "58c312b8185e7e63af7d76b5f69520baa53c4d8163ba2ff9e1801d53a9633089"
+checksum = "cbf81eb976b8573dd6df3a205c09a053368dec82aa02b3a26ef87b1c8a281b4e"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -747,9 +747,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.78.0"
+version = "0.79.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a09ef36e663aa5512c8277f282e531d14fa5445493e47b6404f93d77830eb29"
+checksum = "f477b1e3169c1262a5e6cd8750bb068a372d92aaa897767716326d5982b382a4"
dependencies = [
"num-bigint",
"num-traits",
@@ -760,9 +760,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.78.0"
+version = "0.79.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "79c05d61aacb87526c3b6f10332370e6081592d8fa1e45a95d794fb3e180b165"
+checksum = "021de9011a2cbed28c6f3bf508cedcf9ae6f706c3ec44f4ec6b0444e510a5cd6"
[[package]]
name = "oxc_index"
@@ -772,9 +772,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.78.0"
+version = "0.79.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "21908e281daf0c4ff94b66b627daaf2aea4869fbee696e07a7f35e449c633962"
+checksum = "2da1b5f1855784705ba07fdaac9f608820d90c2b8939feb62bf289fe98c10ce7"
dependencies = [
"bitflags",
"cow-utils",
@@ -795,9 +795,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.78.0"
+version = "0.79.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3740a822270e305bb5b946b0a60ae9294f8d2ab71d9cab014bd629433780326c"
+checksum = "4d6326ce81b7010b863310f81d0e6aa64a463bb090294f25ee41d65d1d44fe05"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -811,9 +811,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.78.0"
+version = "0.79.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b25ebff6503fe212773c1079110341c67d66ff1cb2d44fbe9f2b202140061187"
+checksum = "95fcbae2eb648351603dee42a56f19a6f9900e55f189dd9fe6373c786eb079d8"
dependencies = [
"compact_str",
"oxc-miette",
@@ -824,9 +824,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.78.0"
+version = "0.79.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "021a06690c525668d7872f2cff6f2c6ed0b43ae9a89ad66aa0faff70aaae80fa"
+checksum = "91d64b6aa7f4f2d49ce1c2b109a0964196c4045b66692ec6c64b04f21d0639a7"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index 1154495..9eb3ac5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.78.0"
+oxc = "0.79.0"
swc_ecma_parser = { version = "22.0.2", features = ["typescript"] }
swc_ecma_ast = "14.0.0"
From 194adc7023c0846a5abf450abbd9589f0cda448e Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 31 Jul 2025 05:35:12 +0000
Subject: [PATCH 340/385] chore(deps): update rust crate swc_ecma_parser to
22.0.3 (#351)
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 0795a2a..434fd23 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1252,9 +1252,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "22.0.2"
+version = "22.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4d61d0b6ecfdf633595d41a730da0c44195cf292e8417a3e77226be9d6e99653"
+checksum = "3a43a77589c03110cb7f749b0e3feb8a75c5a81e9e539bde2873ddd5072fcb13"
dependencies = [
"either",
"num-bigint",
diff --git a/Cargo.toml b/Cargo.toml
index 9eb3ac5..1c7a4fc 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.79.0"
-swc_ecma_parser = { version = "22.0.2", features = ["typescript"] }
+swc_ecma_parser = { version = "22.0.3", features = ["typescript"] }
swc_ecma_ast = "14.0.0"
# biome_js_parser = "0.5.6"
From a9215dc322f7b05fa766a1080ce968d1fd92a75c Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 31 Jul 2025 11:10:59 +0000
Subject: [PATCH 341/385] chore(deps): update rust crate oxc to 0.79.1 (#352)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 434fd23..6e6ea69 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -646,9 +646,9 @@ checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e"
[[package]]
name = "oxc"
-version = "0.79.0"
+version = "0.79.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0103305034c9bcdd1cf8514fae2581cff754330fba3fd7b00eb989cf59d34b67"
+checksum = "93b448d7dcdfbe9702a315f36e0422f44c3e83c2347e13cd32e85b34c1c09d74"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -686,9 +686,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.79.0"
+version = "0.79.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5f0648465317fe75292f9c4bcd66f072b84a3c5da423e2afc526c4ffa0c2dcbe"
+checksum = "387e852fa63147768141c5d1d4ca62adf5de4d0c8cfc502d60ebc863dd60fef7"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -699,9 +699,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.79.0"
+version = "0.79.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "19c6726eb07082e19cbd9207299b981d96a91b24b1e9fac50ef83abf6957c103"
+checksum = "d2865881163de2608e5e9981746de727930e5c23c92954973903adaa22601aee"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -715,9 +715,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.79.0"
+version = "0.79.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e22a1455097feb967e5fe9e8423ad6b54f879c0bf2f19790004a51d780b6de42"
+checksum = "8c9cff8428e0513c6f2b2fd55cd1217f8243ba806ba1914d9783a4c47cf85eb1"
dependencies = [
"phf 0.12.1",
"proc-macro2",
@@ -727,18 +727,18 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.79.0"
+version = "0.79.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ca8bfe5529c2e92d065de962990f094db40b7073a25256fbf1cf2393f885c53f"
+checksum = "9c1442a0ccd0667148c49e5fcb79d0578aaef863f65d9f30b4dbce262c7ccac8"
dependencies = [
"rustversion",
]
[[package]]
name = "oxc_diagnostics"
-version = "0.79.0"
+version = "0.79.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cbf81eb976b8573dd6df3a205c09a053368dec82aa02b3a26ef87b1c8a281b4e"
+checksum = "af2ddf131f04efd708f8d4325183ebd4b73ce70cfe75ae0f9718985193faad74"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -747,9 +747,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.79.0"
+version = "0.79.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f477b1e3169c1262a5e6cd8750bb068a372d92aaa897767716326d5982b382a4"
+checksum = "ea921bd0bf9d2827de585f6e2e5177b763a7b3de24016a493c69aae022750bfe"
dependencies = [
"num-bigint",
"num-traits",
@@ -760,9 +760,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.79.0"
+version = "0.79.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "021de9011a2cbed28c6f3bf508cedcf9ae6f706c3ec44f4ec6b0444e510a5cd6"
+checksum = "4adb8dff81cbddb3c2b722c6bf839bb222f57d2d6d7bda27326cdeb642d76c3a"
[[package]]
name = "oxc_index"
@@ -772,9 +772,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.79.0"
+version = "0.79.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2da1b5f1855784705ba07fdaac9f608820d90c2b8939feb62bf289fe98c10ce7"
+checksum = "3994791fdb377e2dd4a27a4ce2ba8b4350bdf155bb1389c0b241ae4982f61855"
dependencies = [
"bitflags",
"cow-utils",
@@ -795,9 +795,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.79.0"
+version = "0.79.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4d6326ce81b7010b863310f81d0e6aa64a463bb090294f25ee41d65d1d44fe05"
+checksum = "956ae00a7b2d35c832f97da58d5faf852c4e8e70ab271550109c1d77e1b1b43b"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -811,9 +811,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.79.0"
+version = "0.79.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "95fcbae2eb648351603dee42a56f19a6f9900e55f189dd9fe6373c786eb079d8"
+checksum = "83c27ab8f00b330fdbc3fc22872851f48d79284dda51428043bb2ed4e0d34816"
dependencies = [
"compact_str",
"oxc-miette",
@@ -824,9 +824,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.79.0"
+version = "0.79.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "91d64b6aa7f4f2d49ce1c2b109a0964196c4045b66692ec6c64b04f21d0639a7"
+checksum = "d4a89b351b05d9a44ea8291fb48a6d32f4687ebc7e12b95d1695b46e12f96e2b"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index 1c7a4fc..6b1d530 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.79.0"
+oxc = "0.79.1"
swc_ecma_parser = { version = "22.0.3", features = ["typescript"] }
swc_ecma_ast = "14.0.0"
From b12814b5851b0df7231966efcb07c7059e32e2e4 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 3 Aug 2025 13:43:43 +0000
Subject: [PATCH 342/385] chore(deps): update rust crate oxc to 0.80.0 (#353)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 50 ++++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 27 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 6e6ea69..b3d9496 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -646,9 +646,9 @@ checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e"
[[package]]
name = "oxc"
-version = "0.79.1"
+version = "0.80.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93b448d7dcdfbe9702a315f36e0422f44c3e83c2347e13cd32e85b34c1c09d74"
+checksum = "8af9eb06845613ecab92d0c08bba1e05d3226152e3e07d1793ad3aa228a3f05e"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -686,9 +686,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.79.1"
+version = "0.80.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "387e852fa63147768141c5d1d4ca62adf5de4d0c8cfc502d60ebc863dd60fef7"
+checksum = "0b1301e61c53d6f0a252a0e9f6495b112f403e6fcee7f7040055a77682e68768"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -699,9 +699,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.79.1"
+version = "0.80.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2865881163de2608e5e9981746de727930e5c23c92954973903adaa22601aee"
+checksum = "670cf83ede2349153ffcd30105aa42aa34de493919a2dea628cfbfada8461b97"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -715,9 +715,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.79.1"
+version = "0.80.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8c9cff8428e0513c6f2b2fd55cd1217f8243ba806ba1914d9783a4c47cf85eb1"
+checksum = "79a8d5845a8fce343729abff7c46bfe839a6a763c2ec805dcfb85c83fd15a8b5"
dependencies = [
"phf 0.12.1",
"proc-macro2",
@@ -727,18 +727,18 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.79.1"
+version = "0.80.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9c1442a0ccd0667148c49e5fcb79d0578aaef863f65d9f30b4dbce262c7ccac8"
+checksum = "15f63e3fbabe99f18ad51db5d68d5dc5c407d038f67e4faf3ca9a4a3e6836122"
dependencies = [
"rustversion",
]
[[package]]
name = "oxc_diagnostics"
-version = "0.79.1"
+version = "0.80.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "af2ddf131f04efd708f8d4325183ebd4b73ce70cfe75ae0f9718985193faad74"
+checksum = "395715864b505c0f1ac61fd5fd9dad03b85529323be5c69143c28d10c10a87e3"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -747,12 +747,14 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.79.1"
+version = "0.80.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ea921bd0bf9d2827de585f6e2e5177b763a7b3de24016a493c69aae022750bfe"
+checksum = "420a96025457985ecb7bc537d80a1760d0326b4faa627f3362f1203cc802993e"
dependencies = [
+ "cow-utils",
"num-bigint",
"num-traits",
+ "oxc_allocator",
"oxc_ast",
"oxc_span",
"oxc_syntax",
@@ -760,9 +762,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.79.1"
+version = "0.80.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4adb8dff81cbddb3c2b722c6bf839bb222f57d2d6d7bda27326cdeb642d76c3a"
+checksum = "a75a6aca8a627435939ab1b216b3013fcd6797915faa220566978179b11315b2"
[[package]]
name = "oxc_index"
@@ -772,9 +774,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.79.1"
+version = "0.80.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3994791fdb377e2dd4a27a4ce2ba8b4350bdf155bb1389c0b241ae4982f61855"
+checksum = "e3795e25917b06c517761baa5fea9fe2ce1f67180608945375d67f605b4f7980"
dependencies = [
"bitflags",
"cow-utils",
@@ -795,9 +797,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.79.1"
+version = "0.80.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "956ae00a7b2d35c832f97da58d5faf852c4e8e70ab271550109c1d77e1b1b43b"
+checksum = "d5649b52cca897621f4f403c6d92bddb45fade8da0f01e68e3b88240d232fda7"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -811,9 +813,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.79.1"
+version = "0.80.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "83c27ab8f00b330fdbc3fc22872851f48d79284dda51428043bb2ed4e0d34816"
+checksum = "96fd662d7483121c8acee269f0ec52759fc506e7c92d52453f716d4ab4b25f2b"
dependencies = [
"compact_str",
"oxc-miette",
@@ -824,9 +826,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.79.1"
+version = "0.80.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d4a89b351b05d9a44ea8291fb48a6d32f4687ebc7e12b95d1695b46e12f96e2b"
+checksum = "74e67afd539df6cb1f8de52e3df056b745c4f91b5e5ce59c3b2c398bd5ec54b8"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index 6b1d530..af3b33e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.79.1"
+oxc = "0.80.0"
swc_ecma_parser = { version = "22.0.3", features = ["typescript"] }
swc_ecma_ast = "14.0.0"
From 58d4003189dd69771871d8712d8540349667bd77 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 3 Aug 2025 17:08:59 +0000
Subject: [PATCH 343/385] chore(deps): lock file maintenance rust crates (#354)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 77 +++++++++++++++++++++++++++++++++++++++++++++++-------
1 file changed, 67 insertions(+), 10 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index b3d9496..cc63cea 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -32,6 +32,15 @@ version = "1.0.98"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487"
+[[package]]
+name = "approx"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6"
+dependencies = [
+ "num-traits",
+]
+
[[package]]
name = "arrayvec"
version = "0.7.6"
@@ -77,6 +86,15 @@ dependencies = [
"scoped-tls",
]
+[[package]]
+name = "bincode"
+version = "1.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad"
+dependencies = [
+ "serde",
+]
+
[[package]]
name = "bitflags"
version = "2.9.1"
@@ -131,9 +149,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.2.30"
+version = "1.2.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "deec109607ca693028562ed836a5f1c4b8bd77755c4e132fc5ce11b0b6211ae7"
+checksum = "c3a42d84bb6b69d3a8b3eaacf0d88f179e1929695e1ad012b6cf64d9caaa5fd2"
dependencies = [
"shlex",
]
@@ -144,6 +162,12 @@ version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268"
+[[package]]
+name = "cfg_aliases"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
+
[[package]]
name = "ciborium"
version = "0.2.2"
@@ -182,14 +206,19 @@ dependencies = [
[[package]]
name = "codspeed"
-version = "2.10.1"
+version = "3.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93f4cce9c27c49c4f101fffeebb1826f41a9df2e7498b7cd4d95c0658b796c6c"
+checksum = "35584c5fcba8059780748866387fb97c5a203bcfc563fc3d0790af406727a117"
dependencies = [
+ "anyhow",
+ "bincode",
"colored 2.2.0",
+ "glob",
"libc",
+ "nix",
"serde",
"serde_json",
+ "statrs",
"uuid",
]
@@ -234,9 +263,9 @@ checksum = "417bef24afe1460300965a25ff4a24b8b45ad011948302ec221e8a0a81eb2c79"
[[package]]
name = "criterion2"
-version = "3.0.1"
+version = "3.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9c023eeb8d9c4dda24078fd2f170a45ccf569e5567c63d459a6d6827a23df8f7"
+checksum = "77cd1059d67baa066c334993d8d6e757ad257d21030db6a9a945dddbb559d4fe"
dependencies = [
"anes",
"bpaf",
@@ -336,6 +365,12 @@ dependencies = [
"wasi",
]
+[[package]]
+name = "glob"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2"
+
[[package]]
name = "half"
version = "2.6.0"
@@ -379,9 +414,9 @@ checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c"
[[package]]
name = "hstr"
-version = "2.0.0"
+version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4933df6fceb5d21a21e9fb5b46e572a83be4108e5b544de7ebe87cc1245b5d23"
+checksum = "ced1416104790052518d199e753d49a7d8130d476c664bc9e53f40cfecb8e615"
dependencies = [
"hashbrown 0.14.5",
"new_debug_unreachable",
@@ -581,6 +616,18 @@ version = "1.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086"
+[[package]]
+name = "nix"
+version = "0.29.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46"
+dependencies = [
+ "bitflags",
+ "cfg-if",
+ "cfg_aliases",
+ "libc",
+]
+
[[package]]
name = "nonmax"
version = "0.5.5"
@@ -1086,9 +1133,9 @@ dependencies = [
[[package]]
name = "serde_json"
-version = "1.0.141"
+version = "1.0.142"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "30b9eff21ebe718216c6ec64e1d9ac57087aad11efc64e32002bce4a0d4c03d3"
+checksum = "030fedb782600dcbd6f02d479bf0d817ac3bb40d644745b769d6a96bc3afc5a7"
dependencies = [
"itoa",
"memchr",
@@ -1162,6 +1209,16 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
+[[package]]
+name = "statrs"
+version = "0.18.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2a3fe7c28c6512e766b0874335db33c94ad7b8f9054228ae1c2abd47ce7d335e"
+dependencies = [
+ "approx",
+ "num-traits",
+]
+
[[package]]
name = "string_enum"
version = "1.0.2"
From 60fe96031400f66e059690cc47e3aca6663f2ac0 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 4 Aug 2025 11:41:07 +0800
Subject: [PATCH 344/385] chore(deps): update codspeedhq/action action to
v3.8.0 (#348)
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 780e527..e2251bf 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -36,7 +36,7 @@ jobs:
run: cargo codspeed build --features codspeed
- name: Run benchmark
- uses: CodSpeedHQ/action@c28fe9fbe7d57a3da1b7834ae3761c1d8217612d # v3.7.0
+ uses: CodSpeedHQ/action@0b6e7a3d96c9d2a6057e7bcea6b45aaf2f7ce60b # v3.8.0
with:
run: cargo codspeed run
token: ${{ secrets.CODSPEED_TOKEN }}
From ff8bbf058c098a7a04daaefce2c996804d4138e3 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 6 Aug 2025 17:41:27 +0000
Subject: [PATCH 345/385] chore(deps): update rust crate oxc to 0.81.0 (#355)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 62 +++++++++++++++++++++++++++---------------------------
Cargo.toml | 2 +-
2 files changed, 32 insertions(+), 32 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index cc63cea..25c4fdf 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -322,6 +322,12 @@ dependencies = [
"syn",
]
+[[package]]
+name = "dragonbox_ecma"
+version = "0.0.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d742b56656e8b14d63e7ea9806597b1849ae25412584c8adf78c0f67bd985e66"
+
[[package]]
name = "either"
version = "1.15.0"
@@ -693,9 +699,9 @@ checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e"
[[package]]
name = "oxc"
-version = "0.80.0"
+version = "0.81.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8af9eb06845613ecab92d0c08bba1e05d3226152e3e07d1793ad3aa228a3f05e"
+checksum = "7420dea2e5dd2a6415f445acaa1f9192e62756bb26bb20b21c9730341f034d4f"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -733,9 +739,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.80.0"
+version = "0.81.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b1301e61c53d6f0a252a0e9f6495b112f403e6fcee7f7040055a77682e68768"
+checksum = "5c67f2b817263a72b6cc5b46e32467bc4077496f88315ce08c1796647fed84d4"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -746,9 +752,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.80.0"
+version = "0.81.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "670cf83ede2349153ffcd30105aa42aa34de493919a2dea628cfbfada8461b97"
+checksum = "989b81258ce151e23adee6f1393f7c0fb7e10e3a6c6c001f71bbaff4081c72a4"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -762,9 +768,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.80.0"
+version = "0.81.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "79a8d5845a8fce343729abff7c46bfe839a6a763c2ec805dcfb85c83fd15a8b5"
+checksum = "ff7e8e42eea621e6fa7072a480fa04ae4dfe73f9a958822c066cc7f1eba57e82"
dependencies = [
"phf 0.12.1",
"proc-macro2",
@@ -774,18 +780,18 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.80.0"
+version = "0.81.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "15f63e3fbabe99f18ad51db5d68d5dc5c407d038f67e4faf3ca9a4a3e6836122"
+checksum = "16c58a40be09dbb289150046a39da2fb130eb5b8ff1f013f2963e880e1af261c"
dependencies = [
"rustversion",
]
[[package]]
name = "oxc_diagnostics"
-version = "0.80.0"
+version = "0.81.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "395715864b505c0f1ac61fd5fd9dad03b85529323be5c69143c28d10c10a87e3"
+checksum = "702bde62d95587518aec86247457830f189242f814fba8389beb6e8c1585c444"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -794,9 +800,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.80.0"
+version = "0.81.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "420a96025457985ecb7bc537d80a1760d0326b4faa627f3362f1203cc802993e"
+checksum = "cf4dab5abe97e790fe1b631a7eacb9a1cbecbe2dad5b984ef11fcb9115b376ab"
dependencies = [
"cow-utils",
"num-bigint",
@@ -809,9 +815,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.80.0"
+version = "0.81.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a75a6aca8a627435939ab1b216b3013fcd6797915faa220566978179b11315b2"
+checksum = "aa9a453daacd90f168554015dd49467038ab6894045805f861950c1d0a8e6a5e"
[[package]]
name = "oxc_index"
@@ -821,9 +827,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.80.0"
+version = "0.81.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3795e25917b06c517761baa5fea9fe2ce1f67180608945375d67f605b4f7980"
+checksum = "70253728183a5a92d1ba964d9952201e0269ebd07c4917c4553283d564225bab"
dependencies = [
"bitflags",
"cow-utils",
@@ -844,9 +850,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.80.0"
+version = "0.81.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d5649b52cca897621f4f403c6d92bddb45fade8da0f01e68e3b88240d232fda7"
+checksum = "de5bb2ed6646bb7815126e0f36787c349e13561fed2c05f95b27a1f82dd066c4"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -860,9 +866,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.80.0"
+version = "0.81.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "96fd662d7483121c8acee269f0ec52759fc506e7c92d52453f716d4ab4b25f2b"
+checksum = "2b315080fee7613168e0e08d3280efccdc12fea1efe5c0285e3a2d6265660f02"
dependencies = [
"compact_str",
"oxc-miette",
@@ -873,12 +879,13 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.80.0"
+version = "0.81.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "74e67afd539df6cb1f8de52e3df056b745c4f91b5e5ce59c3b2c398bd5ec54b8"
+checksum = "72d9d80d47d2eee5c1e6dbcdf1841b42afc4f1cd1f63701fc346162616dac52f"
dependencies = [
"bitflags",
"cow-utils",
+ "dragonbox_ecma",
"nonmax",
"oxc_allocator",
"oxc_ast_macros",
@@ -888,7 +895,6 @@ dependencies = [
"oxc_span",
"phf 0.12.1",
"rustc-hash",
- "ryu-js",
"unicode-id-start",
]
@@ -1084,12 +1090,6 @@ version = "1.0.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
-[[package]]
-name = "ryu-js"
-version = "1.0.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dd29631678d6fb0903b69223673e122c32e9ae559d0960a38d574695ebc0ea15"
-
[[package]]
name = "same-file"
version = "1.0.6"
diff --git a/Cargo.toml b/Cargo.toml
index af3b33e..f4fe0af 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.80.0"
+oxc = "0.81.0"
swc_ecma_parser = { version = "22.0.3", features = ["typescript"] }
swc_ecma_ast = "14.0.0"
From 68010e1f2ff12b7850af13aac2157e017cc03eb3 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 7 Aug 2025 13:59:12 +0000
Subject: [PATCH 346/385] chore(deps): update dependency rust to v1.89.0 (#356)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
rust-toolchain.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
index 55b200d..c762226 100644
--- a/rust-toolchain.toml
+++ b/rust-toolchain.toml
@@ -1,3 +1,3 @@
[toolchain]
-channel = "1.88.0"
+channel = "1.89.0"
profile = "minimal"
From 2b639311b696654bb7b993ecbbbbb50491a5f3f8 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 10 Aug 2025 17:20:18 +0000
Subject: [PATCH 347/385] chore(deps): lock file maintenance (#357)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 25c4fdf..953e55b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -149,9 +149,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.2.31"
+version = "1.2.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c3a42d84bb6b69d3a8b3eaacf0d88f179e1929695e1ad012b6cf64d9caaa5fd2"
+checksum = "2352e5597e9c544d5e6d9c95190d5d27738ade584fa8db0a16e130e5c2b5296e"
dependencies = [
"shlex",
]
@@ -399,9 +399,9 @@ dependencies = [
[[package]]
name = "hashbrown"
-version = "0.15.4"
+version = "0.15.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5971ac85611da7067dbfcabef3c70ebb5606018acd9e2a3903a0da507521e0d5"
+checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1"
dependencies = [
"allocator-api2",
]
@@ -745,7 +745,7 @@ checksum = "5c67f2b817263a72b6cc5b46e32467bc4077496f88315ce08c1796647fed84d4"
dependencies = [
"allocator-api2",
"bumpalo",
- "hashbrown 0.15.4",
+ "hashbrown 0.15.5",
"oxc_data_structures",
"rustc-hash",
]
@@ -1080,9 +1080,9 @@ checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d"
[[package]]
name = "rustversion"
-version = "1.0.21"
+version = "1.0.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8a0d197bd2c9dc6e53b84da9556a69ba4cdfab8619eb41a8bd1cc2027a0f6b1d"
+checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
[[package]]
name = "ryu"
@@ -1777,9 +1777,9 @@ dependencies = [
[[package]]
name = "zerovec"
-version = "0.11.2"
+version = "0.11.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4a05eb080e015ba39cc9e23bbe5e7fb04d5fb040350f99f34e338d5fdd294428"
+checksum = "e7aa2bd55086f1ab526693ecbe444205da57e25f4489879da80635a46d90e73b"
dependencies = [
"yoke",
"zerofrom",
From ada2733e6172ac6b7684aab404a08734fb8c2d9f Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 12 Aug 2025 10:48:47 +0000
Subject: [PATCH 348/385] chore(deps): update rust crate oxc to 0.82.0 (#358)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 51 ++++++++++++++++++++++++---------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 28 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 953e55b..54a1802 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -699,9 +699,9 @@ checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e"
[[package]]
name = "oxc"
-version = "0.81.0"
+version = "0.82.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7420dea2e5dd2a6415f445acaa1f9192e62756bb26bb20b21c9730341f034d4f"
+checksum = "6c11ccdcf60022453d1f47dd8d145d52eefaeea31a67312a9a5eaf4a516baee9"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -739,9 +739,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.81.0"
+version = "0.82.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c67f2b817263a72b6cc5b46e32467bc4077496f88315ce08c1796647fed84d4"
+checksum = "b653c6ba93b564ac65ecac0c22a843fbfbbfe9366f17f482856cf8e3d8e96442"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -752,9 +752,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.81.0"
+version = "0.82.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "989b81258ce151e23adee6f1393f7c0fb7e10e3a6c6c001f71bbaff4081c72a4"
+checksum = "d291dd7d4b3c29bb00622b6da5fe87e4fadef2cf1826c13c12e7c88c9559c3b9"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -768,9 +768,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.81.0"
+version = "0.82.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ff7e8e42eea621e6fa7072a480fa04ae4dfe73f9a958822c066cc7f1eba57e82"
+checksum = "eb0a911b4e185edaa7e4385d38f193f91a1df2f486bf771d615f476f224f942a"
dependencies = [
"phf 0.12.1",
"proc-macro2",
@@ -780,18 +780,15 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.81.0"
+version = "0.82.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "16c58a40be09dbb289150046a39da2fb130eb5b8ff1f013f2963e880e1af261c"
-dependencies = [
- "rustversion",
-]
+checksum = "d3b13ce7303591d77148242590ef87566082a553fc2fe541e8ae23091b1b7c46"
[[package]]
name = "oxc_diagnostics"
-version = "0.81.0"
+version = "0.82.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "702bde62d95587518aec86247457830f189242f814fba8389beb6e8c1585c444"
+checksum = "5705a64963df1924cfbf5a526a6601281dd4a597f7da00fdfc1383d3a10f6431"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -800,9 +797,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.81.0"
+version = "0.82.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf4dab5abe97e790fe1b631a7eacb9a1cbecbe2dad5b984ef11fcb9115b376ab"
+checksum = "6c7426938b8097b3e8df7b4f49e5fd28d8ca276ef3b491c3415a6a53b0922528"
dependencies = [
"cow-utils",
"num-bigint",
@@ -815,9 +812,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.81.0"
+version = "0.82.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aa9a453daacd90f168554015dd49467038ab6894045805f861950c1d0a8e6a5e"
+checksum = "89e3269ac5bdb14c19a6851be248ac52e0f44abfd6ced942d41bf42a6a39cd96"
[[package]]
name = "oxc_index"
@@ -827,9 +824,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.81.0"
+version = "0.82.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "70253728183a5a92d1ba964d9952201e0269ebd07c4917c4553283d564225bab"
+checksum = "53bec302742ef1964edb579a457a0a0396ec134db81ea6677114552ae32fb352"
dependencies = [
"bitflags",
"cow-utils",
@@ -850,9 +847,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.81.0"
+version = "0.82.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "de5bb2ed6646bb7815126e0f36787c349e13561fed2c05f95b27a1f82dd066c4"
+checksum = "fa807df20bfc060124a7cb293ddccecb5129e45153023099ca69f550da8a575d"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -866,9 +863,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.81.0"
+version = "0.82.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2b315080fee7613168e0e08d3280efccdc12fea1efe5c0285e3a2d6265660f02"
+checksum = "51b097e5aad08a1d87c4c1769ddf5e4f1cb008a1052f2cfd42dfefc26601fba1"
dependencies = [
"compact_str",
"oxc-miette",
@@ -879,9 +876,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.81.0"
+version = "0.82.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "72d9d80d47d2eee5c1e6dbcdf1841b42afc4f1cd1f63701fc346162616dac52f"
+checksum = "c066667623a8cc9f1daa865fcb6e1da7769ed2c83fdb58ee8ddb8f1bfa1d2a73"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index f4fe0af..4ea19d4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.81.0"
+oxc = "0.82.0"
swc_ecma_parser = { version = "22.0.3", features = ["typescript"] }
swc_ecma_ast = "14.0.0"
From 319e38fd3e14b871cec8ade0727879f5285c923f Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 13 Aug 2025 06:37:21 +0000
Subject: [PATCH 349/385] chore(deps): update rust crate oxc to 0.82.1 (#359)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 54a1802..fcdafd7 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -699,9 +699,9 @@ checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e"
[[package]]
name = "oxc"
-version = "0.82.0"
+version = "0.82.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c11ccdcf60022453d1f47dd8d145d52eefaeea31a67312a9a5eaf4a516baee9"
+checksum = "533a0efa078de6d3f67534d55a993d31000da2d4e3d43242dc1d4b7cb60ff8eb"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -739,9 +739,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.82.0"
+version = "0.82.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b653c6ba93b564ac65ecac0c22a843fbfbbfe9366f17f482856cf8e3d8e96442"
+checksum = "b37f326db7599f4b4d10b56f696a959d949f5cef8538ecae7adcc3c161aa192c"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -752,9 +752,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.82.0"
+version = "0.82.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d291dd7d4b3c29bb00622b6da5fe87e4fadef2cf1826c13c12e7c88c9559c3b9"
+checksum = "4259700fbdd926114ade8041ed68dbb83917acaca4669526b1ab29ae79f79e4d"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -768,9 +768,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.82.0"
+version = "0.82.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eb0a911b4e185edaa7e4385d38f193f91a1df2f486bf771d615f476f224f942a"
+checksum = "60269747adf5090dfa21a3ff408b7dd62627282e7e85030b08bec55dce07972f"
dependencies = [
"phf 0.12.1",
"proc-macro2",
@@ -780,15 +780,15 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.82.0"
+version = "0.82.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d3b13ce7303591d77148242590ef87566082a553fc2fe541e8ae23091b1b7c46"
+checksum = "8b99bd27751e6e99cdc0e9e8b6a2d88d18bd6cdb3516aa516466080b2b4c3d13"
[[package]]
name = "oxc_diagnostics"
-version = "0.82.0"
+version = "0.82.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5705a64963df1924cfbf5a526a6601281dd4a597f7da00fdfc1383d3a10f6431"
+checksum = "1963cb534cda91da652b9b6c35eeb1f099aef273457268fe43f7f6e7e3a82d40"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -797,9 +797,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.82.0"
+version = "0.82.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c7426938b8097b3e8df7b4f49e5fd28d8ca276ef3b491c3415a6a53b0922528"
+checksum = "2aaa81649df64a361d55a0356ada772edd53a3a4f7f695f987528a401ba65431"
dependencies = [
"cow-utils",
"num-bigint",
@@ -812,9 +812,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.82.0"
+version = "0.82.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "89e3269ac5bdb14c19a6851be248ac52e0f44abfd6ced942d41bf42a6a39cd96"
+checksum = "6dc17babfecb9b93e5df7f52ea2d01990b93a129d8b9185fc5a9e8a22b46d1a3"
[[package]]
name = "oxc_index"
@@ -824,9 +824,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.82.0"
+version = "0.82.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "53bec302742ef1964edb579a457a0a0396ec134db81ea6677114552ae32fb352"
+checksum = "26b6b70cd5b179a34289003d84d4de9abb920ddcc25f70ff10cddf6f2e5d97ed"
dependencies = [
"bitflags",
"cow-utils",
@@ -847,9 +847,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.82.0"
+version = "0.82.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa807df20bfc060124a7cb293ddccecb5129e45153023099ca69f550da8a575d"
+checksum = "61ddf077833348e25ea39a0b95b3490abafa02daa87bbd8260e60d64ff3f2c3b"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -863,9 +863,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.82.0"
+version = "0.82.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "51b097e5aad08a1d87c4c1769ddf5e4f1cb008a1052f2cfd42dfefc26601fba1"
+checksum = "6f8740fd6737f52f14a14c28434d144e8491816812f7401e6a889bbaa595c074"
dependencies = [
"compact_str",
"oxc-miette",
@@ -876,9 +876,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.82.0"
+version = "0.82.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c066667623a8cc9f1daa865fcb6e1da7769ed2c83fdb58ee8ddb8f1bfa1d2a73"
+checksum = "3e460636ae51b185fa38507402ee11c6d7b5998fe392aa64c1b3c2c9f5dbd611"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index 4ea19d4..e8541ba 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.82.0"
+oxc = "0.82.1"
swc_ecma_parser = { version = "22.0.3", features = ["typescript"] }
swc_ecma_ast = "14.0.0"
From 4560f083181fdf76d4b776263e3c1cb269145e7e Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 17 Aug 2025 17:35:07 +0000
Subject: [PATCH 350/385] chore(deps): lock file maintenance rust crates (#361)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 96 +++++++++++++++++++++++++++---------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index fcdafd7..f8a16b9 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -28,9 +28,9 @@ checksum = "dc43e46599f3d77fcf2f2ca89e4d962910b0c19c44e7b58679cbbdfd1820a662"
[[package]]
name = "anyhow"
-version = "1.0.98"
+version = "1.0.99"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487"
+checksum = "b0674a1ddeecb70197781e945de4b3b8ffb61fa939a5597bcf48503737663100"
[[package]]
name = "approx"
@@ -97,9 +97,9 @@ dependencies = [
[[package]]
name = "bitflags"
-version = "2.9.1"
+version = "2.9.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967"
+checksum = "6a65b545ab31d687cff52899d4890855fec459eb6afe0da6417b8a18da87aa29"
[[package]]
name = "bpaf"
@@ -149,9 +149,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.2.32"
+version = "1.2.33"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2352e5597e9c544d5e6d9c95190d5d27738ade584fa8db0a16e130e5c2b5296e"
+checksum = "3ee0f8803222ba5a7e2777dd72ca451868909b1ac410621b676adf07280e9b5f"
dependencies = [
"shlex",
]
@@ -373,9 +373,9 @@ dependencies = [
[[package]]
name = "glob"
-version = "0.3.2"
+version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2"
+checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
[[package]]
name = "half"
@@ -574,9 +574,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
[[package]]
name = "libc"
-version = "0.2.174"
+version = "0.2.175"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1171693293099992e19cddea4e8b849964e9846f4acee11b3948bcc337be8776"
+checksum = "6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543"
[[package]]
name = "libmimalloc-sys2"
@@ -699,9 +699,9 @@ checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e"
[[package]]
name = "oxc"
-version = "0.82.1"
+version = "0.82.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "533a0efa078de6d3f67534d55a993d31000da2d4e3d43242dc1d4b7cb60ff8eb"
+checksum = "7eb79e353a7d074087555ef94edd1412296978df9ea26d487f35aa71b6a0fa17"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -739,9 +739,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.82.1"
+version = "0.82.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b37f326db7599f4b4d10b56f696a959d949f5cef8538ecae7adcc3c161aa192c"
+checksum = "01443e3e95c7916a6a260335ebd4dee8775ad5e2f285adcf49bd35ddff49cf4d"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -752,9 +752,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.82.1"
+version = "0.82.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4259700fbdd926114ade8041ed68dbb83917acaca4669526b1ab29ae79f79e4d"
+checksum = "0ee82b1e75533bd63802583d42cff22173e799bff19681fbd300a254585cf6b8"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -768,9 +768,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.82.1"
+version = "0.82.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "60269747adf5090dfa21a3ff408b7dd62627282e7e85030b08bec55dce07972f"
+checksum = "5a119414d0ea2d4ead85d7d9095f59a248fa1eb8e0832687016180655fc2b622"
dependencies = [
"phf 0.12.1",
"proc-macro2",
@@ -780,15 +780,15 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.82.1"
+version = "0.82.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b99bd27751e6e99cdc0e9e8b6a2d88d18bd6cdb3516aa516466080b2b4c3d13"
+checksum = "fd798dc264a18b4c472246ca60f4bc9d723e679e57f8b1daa3af65bacccb2987"
[[package]]
name = "oxc_diagnostics"
-version = "0.82.1"
+version = "0.82.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1963cb534cda91da652b9b6c35eeb1f099aef273457268fe43f7f6e7e3a82d40"
+checksum = "b5a103b0344d5b9bc38db54b2214ae2f45aebf6bc5473ed0a204ae458be8b0a6"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -797,9 +797,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.82.1"
+version = "0.82.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2aaa81649df64a361d55a0356ada772edd53a3a4f7f695f987528a401ba65431"
+checksum = "0c128f12fc96dc9e9694ea97e49869f1f181f9afc3e90bc94f677d8cb85ecee2"
dependencies = [
"cow-utils",
"num-bigint",
@@ -812,9 +812,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.82.1"
+version = "0.82.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6dc17babfecb9b93e5df7f52ea2d01990b93a129d8b9185fc5a9e8a22b46d1a3"
+checksum = "25b152c37513a595c4013f1da6c32a5652da2bbeea8dee2c94231be9e29f9511"
[[package]]
name = "oxc_index"
@@ -824,9 +824,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.82.1"
+version = "0.82.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "26b6b70cd5b179a34289003d84d4de9abb920ddcc25f70ff10cddf6f2e5d97ed"
+checksum = "78d36a87565a624893fff4c2ed46eafe9dd447a0dd82cbcfaf9b2a52e35a84ba"
dependencies = [
"bitflags",
"cow-utils",
@@ -847,9 +847,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.82.1"
+version = "0.82.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "61ddf077833348e25ea39a0b95b3490abafa02daa87bbd8260e60d64ff3f2c3b"
+checksum = "81876a23eb6e3d951c8d23066d9377cf2b5dd66035b00f38ffdd21b29c2694a1"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -863,9 +863,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.82.1"
+version = "0.82.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6f8740fd6737f52f14a14c28434d144e8491816812f7401e6a889bbaa595c074"
+checksum = "8352ac817efc16314a8da4a8f3c73275b0e1d364a2fb4903092e1ac971806229"
dependencies = [
"compact_str",
"oxc-miette",
@@ -876,9 +876,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.82.1"
+version = "0.82.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3e460636ae51b185fa38507402ee11c6d7b5998fe392aa64c1b3c2c9f5dbd611"
+checksum = "9dcec4c2eea751e2823f814ba0e543a1ce64288154b0d784e883d46c216da92f"
dependencies = [
"bitflags",
"cow-utils",
@@ -1003,9 +1003,9 @@ dependencies = [
[[package]]
name = "proc-macro2"
-version = "1.0.95"
+version = "1.0.101"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778"
+checksum = "89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de"
dependencies = [
"unicode-ident",
]
@@ -1051,9 +1051,9 @@ checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
[[package]]
name = "rayon"
-version = "1.10.0"
+version = "1.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa"
+checksum = "368f01d005bf8fd9b1206fb6fa653e6c4a81ceb1466406b81792d87c5677a58f"
dependencies = [
"either",
"rayon-core",
@@ -1061,9 +1061,9 @@ dependencies = [
[[package]]
name = "rayon-core"
-version = "1.12.1"
+version = "1.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2"
+checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
dependencies = [
"crossbeam-deque",
"crossbeam-utils",
@@ -1356,9 +1356,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.104"
+version = "2.0.106"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "17b6f705963418cdb9927482fa304bc562ece2fdd4f616084c50b7023b435a40"
+checksum = "ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6"
dependencies = [
"proc-macro2",
"quote",
@@ -1389,18 +1389,18 @@ dependencies = [
[[package]]
name = "thiserror"
-version = "2.0.12"
+version = "2.0.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708"
+checksum = "80d76d3f064b981389ecb4b6b7f45a0bf9fdac1d5b9204c7bd6714fecc302850"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
-version = "2.0.12"
+version = "2.0.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d"
+checksum = "44d29feb33e986b6ea906bd9c3559a856983f92371b3eaa5e83782a351623de0"
dependencies = [
"proc-macro2",
"quote",
@@ -1507,9 +1507,9 @@ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
[[package]]
name = "uuid"
-version = "1.17.0"
+version = "1.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3cf4199d1e5d15ddd86a694e4d0dffa9c323ce759fea589f00fef9d81cc1931d"
+checksum = "f33196643e165781c20a5ead5582283a7dacbb87855d867fbc2df3f81eddc1be"
dependencies = [
"getrandom",
"js-sys",
From c0df1c7da218f81a963ec4e1f1780e2d48c3f72f Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 18 Aug 2025 09:22:30 +0800
Subject: [PATCH 351/385] chore(deps): update rust crate oxc to 0.82.2 (#360)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Cargo.toml b/Cargo.toml
index e8541ba..6bda4d6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.82.1"
+oxc = "0.82.2"
swc_ecma_parser = { version = "22.0.3", features = ["typescript"] }
swc_ecma_ast = "14.0.0"
From 01df94ae473129fe796866c3fd487c62cad13175 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 19 Aug 2025 02:04:22 +0000
Subject: [PATCH 352/385] chore(deps): update swc (#362)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 16 ++++++++--------
Cargo.toml | 4 ++--
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index f8a16b9..4dae917 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1240,9 +1240,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "14.0.2"
+version = "14.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7e510ae120281a9daee0b9246b6740b509b99bd78f88b2a7210c87ec78572a7"
+checksum = "63fdb58d278e7cd625f671e5371b3e6c0eab56c6e2a995a6f70dd0f7725255d4"
dependencies = [
"anyhow",
"ast_node",
@@ -1266,9 +1266,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "14.0.0"
+version = "15.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d5d8d26e697ce58654f0816890af7a28efd8660c154b613acefa2d3727e8ec93"
+checksum = "65c25af97d53cf8aab66a6c68f3418663313fc969ad267fc2a4d19402c329be1"
dependencies = [
"bitflags",
"is-macro",
@@ -1285,9 +1285,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "22.0.2"
+version = "23.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "69ec39d3c46e3a76129ad5b7032d509240fb150cf1a2e8a57b368bfd5ec3f9cd"
+checksum = "5ce0ddc31928f622709555e3fd105e0ae679897c583f5d8a1df5236650fde859"
dependencies = [
"arrayvec",
"bitflags",
@@ -1308,9 +1308,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "22.0.3"
+version = "23.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3a43a77589c03110cb7f749b0e3feb8a75c5a81e9e539bde2873ddd5072fcb13"
+checksum = "9166873bb660bed50b5f422233537d3e946336398570a4a13e57d8c63d6a01c5"
dependencies = [
"either",
"num-bigint",
diff --git a/Cargo.toml b/Cargo.toml
index 6bda4d6..af35f5b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ doctest = false
[dependencies]
oxc = "0.82.2"
-swc_ecma_parser = { version = "22.0.3", features = ["typescript"] }
-swc_ecma_ast = "14.0.0"
+swc_ecma_parser = { version = "23.0.0", features = ["typescript"] }
+swc_ecma_ast = "15.0.0"
# biome_js_parser = "0.5.6"
# biome_js_syntax = "0.5.6"
From d6f70280ddf2ae3ce1b27dcb9cd7857630255457 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 20 Aug 2025 19:10:11 +0000
Subject: [PATCH 353/385] chore(deps): update rust crate oxc to 0.82.3 (#363)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 4dae917..d2fa0c0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -699,9 +699,9 @@ checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e"
[[package]]
name = "oxc"
-version = "0.82.2"
+version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7eb79e353a7d074087555ef94edd1412296978df9ea26d487f35aa71b6a0fa17"
+checksum = "14612e9587b0d1cde89e4bde03379e1e838e44a39c07e2928c4c5b4057166963"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -739,9 +739,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.82.2"
+version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "01443e3e95c7916a6a260335ebd4dee8775ad5e2f285adcf49bd35ddff49cf4d"
+checksum = "e887a8496b18a4bce4a760ae2dbd50e5137fa2a27ee99087797d7b8e860a7b5c"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -752,9 +752,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.82.2"
+version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ee82b1e75533bd63802583d42cff22173e799bff19681fbd300a254585cf6b8"
+checksum = "931e1fae25d9669204681577381f6e90d2c9fe502d306c862f46ff72bcef8cf7"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -768,9 +768,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.82.2"
+version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a119414d0ea2d4ead85d7d9095f59a248fa1eb8e0832687016180655fc2b622"
+checksum = "5958a8ac69a955048dabcfcbf8af791dbb7f598bbea5bae33243240f3846457c"
dependencies = [
"phf 0.12.1",
"proc-macro2",
@@ -780,15 +780,15 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.82.2"
+version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fd798dc264a18b4c472246ca60f4bc9d723e679e57f8b1daa3af65bacccb2987"
+checksum = "67b3258dc882e0348934e2a9973cd0d9e3c465642b729842320d23abf835175a"
[[package]]
name = "oxc_diagnostics"
-version = "0.82.2"
+version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5a103b0344d5b9bc38db54b2214ae2f45aebf6bc5473ed0a204ae458be8b0a6"
+checksum = "5dc24fdf0407c9ecb202efb99fa9870f3623994ae8daae56e696a511894d67ba"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -797,9 +797,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.82.2"
+version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c128f12fc96dc9e9694ea97e49869f1f181f9afc3e90bc94f677d8cb85ecee2"
+checksum = "61cfc9801af5b0068e11061ff8100fb38c2ca0875c696aa405b5505d212b5e2f"
dependencies = [
"cow-utils",
"num-bigint",
@@ -812,9 +812,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.82.2"
+version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "25b152c37513a595c4013f1da6c32a5652da2bbeea8dee2c94231be9e29f9511"
+checksum = "2bac265e2cd8c77ac8d4230f1538e8ff9f6f5d9e41b9107af58f8d3c4626b028"
[[package]]
name = "oxc_index"
@@ -824,9 +824,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.82.2"
+version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "78d36a87565a624893fff4c2ed46eafe9dd447a0dd82cbcfaf9b2a52e35a84ba"
+checksum = "8b4427e7c4d4507bb4561c113e25bbbb737d03355f311d3fb606f0029fdcb3f6"
dependencies = [
"bitflags",
"cow-utils",
@@ -847,9 +847,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.82.2"
+version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "81876a23eb6e3d951c8d23066d9377cf2b5dd66035b00f38ffdd21b29c2694a1"
+checksum = "17ec07cb1081ed5798e2ef7d3e10154784cd1bf47c5170ff3d519d44bc97ad07"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -863,9 +863,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.82.2"
+version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8352ac817efc16314a8da4a8f3c73275b0e1d364a2fb4903092e1ac971806229"
+checksum = "008d14e804d79adac31c5cb5b27fbfde52055a0cf86276c9b822cfa40b24d75c"
dependencies = [
"compact_str",
"oxc-miette",
@@ -876,9 +876,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.82.2"
+version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9dcec4c2eea751e2823f814ba0e543a1ce64288154b0d784e883d46c216da92f"
+checksum = "675313926fe94e71b9cdf6ed0338e0bfb40e827e2b5fd0c65a059aff002e7fa2"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index af35f5b..3a104aa 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.82.2"
+oxc = "0.82.3"
swc_ecma_parser = { version = "23.0.0", features = ["typescript"] }
swc_ecma_ast = "15.0.0"
From efb1ea6469015e5ebb843b0fdc1aaf1f787f0add Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 24 Aug 2025 18:33:50 +0000
Subject: [PATCH 354/385] chore(deps): lock file maintenance (#364)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 151 ++++++++++++++++++++++++++++++++++++++++-------------
1 file changed, 116 insertions(+), 35 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index d2fa0c0..19a4a8b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -97,9 +97,9 @@ dependencies = [
[[package]]
name = "bitflags"
-version = "2.9.2"
+version = "2.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6a65b545ab31d687cff52899d4890855fec459eb6afe0da6417b8a18da87aa29"
+checksum = "34efbcccd345379ca2868b2b2c9d3782e9cc58ba87bc7d79d5b53d9c9ae6f25d"
[[package]]
name = "bpaf"
@@ -149,18 +149,18 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.2.33"
+version = "1.2.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ee0f8803222ba5a7e2777dd72ca451868909b1ac410621b676adf07280e9b5f"
+checksum = "42bc4aea80032b7bf409b0bc7ccad88853858911b7713a8062fdc0623867bedc"
dependencies = [
"shlex",
]
[[package]]
name = "cfg-if"
-version = "1.0.1"
+version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268"
+checksum = "2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9"
[[package]]
name = "cfg_aliases"
@@ -229,7 +229,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "117725a109d387c937a1533ce01b450cbde6b88abceea8473c4d7a85853cda3c"
dependencies = [
"lazy_static",
- "windows-sys",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -238,7 +238,7 @@ version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fde0e0ec90c9dfb3b4b1a0891a7dcd0e2bffde2f7efed5fe7c9bb00e5bfb915e"
dependencies = [
- "windows-sys",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -342,9 +342,9 @@ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
[[package]]
name = "form_urlencoded"
-version = "1.2.1"
+version = "1.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456"
+checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf"
dependencies = [
"percent-encoding",
]
@@ -519,9 +519,9 @@ dependencies = [
[[package]]
name = "idna"
-version = "1.0.3"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e"
+checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de"
dependencies = [
"idna_adapter",
"smallvec",
@@ -897,9 +897,9 @@ dependencies = [
[[package]]
name = "percent-encoding"
-version = "2.3.1"
+version = "2.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
+checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
[[package]]
name = "phf"
@@ -1130,9 +1130,9 @@ dependencies = [
[[package]]
name = "serde_json"
-version = "1.0.142"
+version = "1.0.143"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "030fedb782600dcbd6f02d479bf0d817ac3bb40d644745b769d6a96bc3afc5a7"
+checksum = "d401abef1d108fbd9cbaebc3e46611f4b1021f714a0597a71f41ee463f5f4a5a"
dependencies = [
"itoa",
"memchr",
@@ -1197,7 +1197,7 @@ dependencies = [
"cfg-if",
"libc",
"psm",
- "windows-sys",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -1389,18 +1389,18 @@ dependencies = [
[[package]]
name = "thiserror"
-version = "2.0.15"
+version = "2.0.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "80d76d3f064b981389ecb4b6b7f45a0bf9fdac1d5b9204c7bd6714fecc302850"
+checksum = "3467d614147380f2e4e374161426ff399c91084acd2363eaf549172b3d5e60c0"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
-version = "2.0.15"
+version = "2.0.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "44d29feb33e986b6ea906bd9c3559a856983f92371b3eaa5e83782a351623de0"
+checksum = "6c5e1be1c48b9172ee610da68fd9cd2770e7a4056cb3fc98710ee6906f0c7960"
dependencies = [
"proc-macro2",
"quote",
@@ -1490,13 +1490,14 @@ checksum = "4a1a07cc7db3810833284e8d372ccdc6da29741639ecc70c9ec107df0fa6154c"
[[package]]
name = "url"
-version = "2.5.4"
+version = "2.5.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60"
+checksum = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b"
dependencies = [
"form_urlencoded",
"idna",
"percent-encoding",
+ "serde",
]
[[package]]
@@ -1601,20 +1602,35 @@ dependencies = [
[[package]]
name = "winapi-util"
-version = "0.1.9"
+version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
+checksum = "0978bf7171b3d90bac376700cb56d606feb40f251a475a5d6634613564460b22"
dependencies = [
- "windows-sys",
+ "windows-sys 0.60.2",
]
+[[package]]
+name = "windows-link"
+version = "0.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a"
+
[[package]]
name = "windows-sys"
version = "0.59.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
dependencies = [
- "windows-targets",
+ "windows-targets 0.52.6",
+]
+
+[[package]]
+name = "windows-sys"
+version = "0.60.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb"
+dependencies = [
+ "windows-targets 0.53.3",
]
[[package]]
@@ -1623,14 +1639,31 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
dependencies = [
- "windows_aarch64_gnullvm",
- "windows_aarch64_msvc",
- "windows_i686_gnu",
- "windows_i686_gnullvm",
- "windows_i686_msvc",
- "windows_x86_64_gnu",
- "windows_x86_64_gnullvm",
- "windows_x86_64_msvc",
+ "windows_aarch64_gnullvm 0.52.6",
+ "windows_aarch64_msvc 0.52.6",
+ "windows_i686_gnu 0.52.6",
+ "windows_i686_gnullvm 0.52.6",
+ "windows_i686_msvc 0.52.6",
+ "windows_x86_64_gnu 0.52.6",
+ "windows_x86_64_gnullvm 0.52.6",
+ "windows_x86_64_msvc 0.52.6",
+]
+
+[[package]]
+name = "windows-targets"
+version = "0.53.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d5fe6031c4041849d7c496a8ded650796e7b6ecc19df1a431c1a363342e5dc91"
+dependencies = [
+ "windows-link",
+ "windows_aarch64_gnullvm 0.53.0",
+ "windows_aarch64_msvc 0.53.0",
+ "windows_i686_gnu 0.53.0",
+ "windows_i686_gnullvm 0.53.0",
+ "windows_i686_msvc 0.53.0",
+ "windows_x86_64_gnu 0.53.0",
+ "windows_x86_64_gnullvm 0.53.0",
+ "windows_x86_64_msvc 0.53.0",
]
[[package]]
@@ -1639,48 +1672,96 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
+[[package]]
+name = "windows_aarch64_gnullvm"
+version = "0.53.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764"
+
[[package]]
name = "windows_aarch64_msvc"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
+[[package]]
+name = "windows_aarch64_msvc"
+version = "0.53.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c"
+
[[package]]
name = "windows_i686_gnu"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
+[[package]]
+name = "windows_i686_gnu"
+version = "0.53.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3"
+
[[package]]
name = "windows_i686_gnullvm"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
+[[package]]
+name = "windows_i686_gnullvm"
+version = "0.53.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11"
+
[[package]]
name = "windows_i686_msvc"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
+[[package]]
+name = "windows_i686_msvc"
+version = "0.53.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d"
+
[[package]]
name = "windows_x86_64_gnu"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
+[[package]]
+name = "windows_x86_64_gnu"
+version = "0.53.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba"
+
[[package]]
name = "windows_x86_64_gnullvm"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
+[[package]]
+name = "windows_x86_64_gnullvm"
+version = "0.53.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57"
+
[[package]]
name = "windows_x86_64_msvc"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
+[[package]]
+name = "windows_x86_64_msvc"
+version = "0.53.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486"
+
[[package]]
name = "wit-bindgen-rt"
version = "0.39.0"
From 63a004bf008f65a972ebce228582e42d4acc8ecc Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 31 Aug 2025 09:07:23 +0000
Subject: [PATCH 355/385] chore(deps): update rust crate oxc to 0.85.0 (#365)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 80 +++++++++++++++++++++++++++---------------------------
Cargo.toml | 2 +-
2 files changed, 41 insertions(+), 41 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 19a4a8b..de0bfa2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -699,9 +699,9 @@ checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e"
[[package]]
name = "oxc"
-version = "0.82.3"
+version = "0.85.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "14612e9587b0d1cde89e4bde03379e1e838e44a39c07e2928c4c5b4057166963"
+checksum = "0926bbef246407562138eec364b873e3728ea0662aba3562e2a32231b0f4f4db"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -739,9 +739,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.82.3"
+version = "0.85.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e887a8496b18a4bce4a760ae2dbd50e5137fa2a27ee99087797d7b8e860a7b5c"
+checksum = "4c30b3210ae8c31393d192c380a2d6fabfe374fc1b990380d4d5af9b3267ec50"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -752,9 +752,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.82.3"
+version = "0.85.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "931e1fae25d9669204681577381f6e90d2c9fe502d306c862f46ff72bcef8cf7"
+checksum = "f8ba50df87007e8a17713809d3d3d718a92ea15ce0d8b7027bdb1a60bba3c319"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -768,11 +768,11 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.82.3"
+version = "0.85.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5958a8ac69a955048dabcfcbf8af791dbb7f598bbea5bae33243240f3846457c"
+checksum = "1fdfe455afa9019395b3065c35ff49c3e9a24329780688b3c35e9be8a5ba6107"
dependencies = [
- "phf 0.12.1",
+ "phf 0.13.1",
"proc-macro2",
"quote",
"syn",
@@ -780,15 +780,15 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.82.3"
+version = "0.85.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "67b3258dc882e0348934e2a9973cd0d9e3c465642b729842320d23abf835175a"
+checksum = "336d736272da1b6802d944b206a65f98a0a6e6913424361327913d8bdefce6d6"
[[package]]
name = "oxc_diagnostics"
-version = "0.82.3"
+version = "0.85.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5dc24fdf0407c9ecb202efb99fa9870f3623994ae8daae56e696a511894d67ba"
+checksum = "2fea2d7f181cb082ab65fbca0bea2296166c87a5b5042224e9f84b852d4cfc73"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -797,9 +797,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.82.3"
+version = "0.85.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "61cfc9801af5b0068e11061ff8100fb38c2ca0875c696aa405b5505d212b5e2f"
+checksum = "f0725e81698f7f2a135f9b3bc89207b7bcde39e3465ae3a7bd9ee3961f573c4b"
dependencies = [
"cow-utils",
"num-bigint",
@@ -812,9 +812,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.82.3"
+version = "0.85.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2bac265e2cd8c77ac8d4230f1538e8ff9f6f5d9e41b9107af58f8d3c4626b028"
+checksum = "8f4ac6cca9362f926ba293095d5af6eeb375d4f51a79739ae87dd9384e7c1cd4"
[[package]]
name = "oxc_index"
@@ -824,9 +824,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.82.3"
+version = "0.85.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b4427e7c4d4507bb4561c113e25bbbb737d03355f311d3fb606f0029fdcb3f6"
+checksum = "24866abd5855220ad0289d80eca57885231d712bee7d19382224e893899a98ee"
dependencies = [
"bitflags",
"cow-utils",
@@ -847,25 +847,25 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.82.3"
+version = "0.85.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "17ec07cb1081ed5798e2ef7d3e10154784cd1bf47c5170ff3d519d44bc97ad07"
+checksum = "65b077d808e836a34139d12baf92c60dc75a7867c3f362f172845ec445f97da5"
dependencies = [
"bitflags",
"oxc_allocator",
"oxc_ast_macros",
"oxc_diagnostics",
"oxc_span",
- "phf 0.12.1",
+ "phf 0.13.1",
"rustc-hash",
"unicode-id-start",
]
[[package]]
name = "oxc_span"
-version = "0.82.3"
+version = "0.85.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "008d14e804d79adac31c5cb5b27fbfde52055a0cf86276c9b822cfa40b24d75c"
+checksum = "a56c6a9f53cdda421f28e07f0f7253f7e43302832415d95237e3ca200871121e"
dependencies = [
"compact_str",
"oxc-miette",
@@ -876,9 +876,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.82.3"
+version = "0.85.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "675313926fe94e71b9cdf6ed0338e0bfb40e827e2b5fd0c65a059aff002e7fa2"
+checksum = "aa817698fbf3a9f35cd7a0c9e053362121331571504a41d435d327e3d3093817"
dependencies = [
"bitflags",
"cow-utils",
@@ -890,7 +890,7 @@ dependencies = [
"oxc_estree",
"oxc_index",
"oxc_span",
- "phf 0.12.1",
+ "phf 0.13.1",
"rustc-hash",
"unicode-id-start",
]
@@ -913,12 +913,12 @@ dependencies = [
[[package]]
name = "phf"
-version = "0.12.1"
+version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "913273894cec178f401a31ec4b656318d95473527be05c0752cc41cdc32be8b7"
+checksum = "c1562dc717473dbaa4c1f85a36410e03c047b2e7df7f45ee938fbef64ae7fadf"
dependencies = [
- "phf_macros 0.12.1",
- "phf_shared 0.12.1",
+ "phf_macros 0.13.1",
+ "phf_shared 0.13.1",
"serde",
]
@@ -934,12 +934,12 @@ dependencies = [
[[package]]
name = "phf_generator"
-version = "0.12.1"
+version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2cbb1126afed61dd6368748dae63b1ee7dc480191c6262a3b4ff1e29d86a6c5b"
+checksum = "135ace3a761e564ec88c03a77317a7c6b80bb7f7135ef2544dbe054243b89737"
dependencies = [
"fastrand",
- "phf_shared 0.12.1",
+ "phf_shared 0.13.1",
]
[[package]]
@@ -957,12 +957,12 @@ dependencies = [
[[package]]
name = "phf_macros"
-version = "0.12.1"
+version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d713258393a82f091ead52047ca779d37e5766226d009de21696c4e667044368"
+checksum = "812f032b54b1e759ccd5f8b6677695d5268c588701effba24601f6932f8269ef"
dependencies = [
- "phf_generator 0.12.1",
- "phf_shared 0.12.1",
+ "phf_generator 0.13.1",
+ "phf_shared 0.13.1",
"proc-macro2",
"quote",
"syn",
@@ -979,9 +979,9 @@ dependencies = [
[[package]]
name = "phf_shared"
-version = "0.12.1"
+version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "06005508882fb681fd97892ecff4b7fd0fee13ef1aa569f8695dae7ab9099981"
+checksum = "e57fef6bc5981e38c2ce2d63bfa546861309f875b8a75f092d1d54ae2d64f266"
dependencies = [
"siphasher 1.0.1",
]
diff --git a/Cargo.toml b/Cargo.toml
index 3a104aa..fb42336 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.82.3"
+oxc = "0.85.0"
swc_ecma_parser = { version = "23.0.0", features = ["typescript"] }
swc_ecma_ast = "15.0.0"
From 0c13f3ca03b12724aa33be1c4504964d4795282b Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 31 Aug 2025 12:44:34 +0000
Subject: [PATCH 356/385] chore(deps): update rust crate oxc to 0.86.0 (#366)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index de0bfa2..f08fe3f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -699,9 +699,9 @@ checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e"
[[package]]
name = "oxc"
-version = "0.85.0"
+version = "0.86.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0926bbef246407562138eec364b873e3728ea0662aba3562e2a32231b0f4f4db"
+checksum = "6960e248a71aabc8ff022fb6b62e7b74743171bae137767075ce4fabc1d53a4f"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -739,9 +739,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.85.0"
+version = "0.86.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c30b3210ae8c31393d192c380a2d6fabfe374fc1b990380d4d5af9b3267ec50"
+checksum = "9bdf7abfb88ad84430ccaf674d3fa463af5dceb0fd21ddaae83e7d2057668ce3"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -752,9 +752,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.85.0"
+version = "0.86.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8ba50df87007e8a17713809d3d3d718a92ea15ce0d8b7027bdb1a60bba3c319"
+checksum = "cd6a0d0ba1b1115575d35bfcd64f1458fe5db70fd988c08b742da223be2ea65f"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -768,9 +768,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.85.0"
+version = "0.86.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1fdfe455afa9019395b3065c35ff49c3e9a24329780688b3c35e9be8a5ba6107"
+checksum = "55f299cae11166ffa2fe60a87df1de417f2ac05f21b7dffba173a004f667f321"
dependencies = [
"phf 0.13.1",
"proc-macro2",
@@ -780,15 +780,15 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.85.0"
+version = "0.86.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "336d736272da1b6802d944b206a65f98a0a6e6913424361327913d8bdefce6d6"
+checksum = "39656fa64b09714c36416d954897e8fb0f42c462c3082fda22c8760282f55a15"
[[package]]
name = "oxc_diagnostics"
-version = "0.85.0"
+version = "0.86.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2fea2d7f181cb082ab65fbca0bea2296166c87a5b5042224e9f84b852d4cfc73"
+checksum = "da029cea375d098fc97993afe96413563a55ebc80ff704b831e1dddea2e78911"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -797,9 +797,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.85.0"
+version = "0.86.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f0725e81698f7f2a135f9b3bc89207b7bcde39e3465ae3a7bd9ee3961f573c4b"
+checksum = "b868985647967b7b173c9681a6486691cf9c5d0fb4e64d114e65cc8a8978657a"
dependencies = [
"cow-utils",
"num-bigint",
@@ -812,9 +812,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.85.0"
+version = "0.86.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f4ac6cca9362f926ba293095d5af6eeb375d4f51a79739ae87dd9384e7c1cd4"
+checksum = "3c20498f0f4b7afec0a8b772174bf7736d79ff31a8e0073dd9081747801407c5"
[[package]]
name = "oxc_index"
@@ -824,9 +824,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.85.0"
+version = "0.86.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "24866abd5855220ad0289d80eca57885231d712bee7d19382224e893899a98ee"
+checksum = "df72e23adc7a481f60a1410fafc3833a5411c077271e2a5bb97083c93b274683"
dependencies = [
"bitflags",
"cow-utils",
@@ -847,9 +847,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.85.0"
+version = "0.86.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "65b077d808e836a34139d12baf92c60dc75a7867c3f362f172845ec445f97da5"
+checksum = "97247d67a14e17dcb004ca57e59283b235e1a84813a2048e0585ca901a64eb99"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -863,9 +863,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.85.0"
+version = "0.86.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a56c6a9f53cdda421f28e07f0f7253f7e43302832415d95237e3ca200871121e"
+checksum = "6b70dfb43ba1c04ae09ba4c0e85dbb7af2260ff029458fe45a7f4e7d0384442c"
dependencies = [
"compact_str",
"oxc-miette",
@@ -876,9 +876,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.85.0"
+version = "0.86.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aa817698fbf3a9f35cd7a0c9e053362121331571504a41d435d327e3d3093817"
+checksum = "5478a4c0b503ac61c09e5450a607517ad7f8dba36b7bea53db17d4b7221ef7df"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index fb42336..b9338ae 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.85.0"
+oxc = "0.86.0"
swc_ecma_parser = { version = "23.0.0", features = ["typescript"] }
swc_ecma_ast = "15.0.0"
From 52e48cedfcf1ff87d0cd8b949f5f14701bc90078 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 31 Aug 2025 18:08:22 +0000
Subject: [PATCH 357/385] chore(deps): lock file maintenance (#368)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 23 ++++++++++-------------
1 file changed, 10 insertions(+), 13 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index f08fe3f..7045903 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -994,9 +994,9 @@ checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
[[package]]
name = "potential_utf"
-version = "0.1.2"
+version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5a7c30837279ca13e7c867e9e40053bc68740f988cb07f7ca6df43cc734b585"
+checksum = "84df19adbe5b5a0782edcab45899906947ab039ccf4573713735ee7de1e6b08a"
dependencies = [
"zerovec",
]
@@ -1285,9 +1285,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "23.0.0"
+version = "23.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5ce0ddc31928f622709555e3fd105e0ae679897c583f5d8a1df5236650fde859"
+checksum = "67c3bd958a5a67e2cc3f74abdd41fda688e54e7a25b866569260ef7018b67972"
dependencies = [
"arrayvec",
"bitflags",
@@ -1535,11 +1535,11 @@ dependencies = [
[[package]]
name = "wasi"
-version = "0.14.2+wasi-0.2.4"
+version = "0.14.3+wasi-0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3"
+checksum = "6a51ae83037bdd272a9e28ce236db8c07016dd0d50c27038b3f407533c030c95"
dependencies = [
- "wit-bindgen-rt",
+ "wit-bindgen",
]
[[package]]
@@ -1763,13 +1763,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486"
[[package]]
-name = "wit-bindgen-rt"
-version = "0.39.0"
+name = "wit-bindgen"
+version = "0.45.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1"
-dependencies = [
- "bitflags",
-]
+checksum = "052283831dbae3d879dc7f51f3d92703a316ca49f91540417d38591826127814"
[[package]]
name = "writeable"
From dfc325d7f56d83d70c623ef151dc8eb2bfd676f2 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 1 Sep 2025 09:46:48 +0800
Subject: [PATCH 358/385] chore(deps): update codspeedhq/action action to
v3.8.1 (#367)
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 e2251bf..c07659c 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -36,7 +36,7 @@ jobs:
run: cargo codspeed build --features codspeed
- name: Run benchmark
- uses: CodSpeedHQ/action@0b6e7a3d96c9d2a6057e7bcea6b45aaf2f7ce60b # v3.8.0
+ uses: CodSpeedHQ/action@76578c2a7ddd928664caa737f0e962e3085d4e7c # v3.8.1
with:
run: cargo codspeed run
token: ${{ secrets.CODSPEED_TOKEN }}
From 6bb738c3f8c9f86e0d74df29f52171ec24214e12 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 6 Sep 2025 08:59:48 +0000
Subject: [PATCH 359/385] chore(deps): update rust crate swc_ecma_parser to v24
(#369)
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 7045903..9b247f3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1308,9 +1308,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "23.0.0"
+version = "24.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9166873bb660bed50b5f422233537d3e946336398570a4a13e57d8c63d6a01c5"
+checksum = "37c0b41d7e86acb8abc1e75b39163a1dffd88f75b69d8f89a199dfc416bb46d6"
dependencies = [
"either",
"num-bigint",
diff --git a/Cargo.toml b/Cargo.toml
index b9338ae..e494bf8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.86.0"
-swc_ecma_parser = { version = "23.0.0", features = ["typescript"] }
+swc_ecma_parser = { version = "24.0.0", features = ["typescript"] }
swc_ecma_ast = "15.0.0"
# biome_js_parser = "0.5.6"
From 4f05742cf0b39dfd063b92d806abe8455328b82c Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 7 Sep 2025 17:19:44 +0000
Subject: [PATCH 360/385] chore(deps): lock file maintenance (#371)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 163 +++++++++++++++++------------------------------------
1 file changed, 53 insertions(+), 110 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 9b247f3..3cc9483 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -97,9 +97,9 @@ dependencies = [
[[package]]
name = "bitflags"
-version = "2.9.3"
+version = "2.9.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "34efbcccd345379ca2868b2b2c9d3782e9cc58ba87bc7d79d5b53d9c9ae6f25d"
+checksum = "2261d10cca569e4643e526d8dc2e62e433cc8aba21ab764233731f8d369bf394"
[[package]]
name = "bpaf"
@@ -149,10 +149,11 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.2.34"
+version = "1.2.36"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "42bc4aea80032b7bf409b0bc7ccad88853858911b7713a8062fdc0623867bedc"
+checksum = "5252b3d2648e5eedbc1a6f501e3c795e07025c1e93bbf8bbdd6eef7f447a6d54"
dependencies = [
+ "find-msvc-tools",
"shlex",
]
@@ -340,6 +341,12 @@ version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
+[[package]]
+name = "find-msvc-tools"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7fd99930f64d146689264c637b5af2f0233a933bef0d8570e2526bf9e083192d"
+
[[package]]
name = "form_urlencoded"
version = "1.2.2"
@@ -558,9 +565,9 @@ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
[[package]]
name = "js-sys"
-version = "0.3.77"
+version = "0.3.78"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f"
+checksum = "0c0b063578492ceec17683ef2f8c5e89121fbd0b172cbc280635ab7567db2738"
dependencies = [
"once_cell",
"wasm-bindgen",
@@ -597,9 +604,9 @@ checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956"
[[package]]
name = "log"
-version = "0.4.27"
+version = "0.4.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
+checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432"
[[package]]
name = "memchr"
@@ -1508,9 +1515,9 @@ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
[[package]]
name = "uuid"
-version = "1.18.0"
+version = "1.18.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f33196643e165781c20a5ead5582283a7dacbb87855d867fbc2df3f81eddc1be"
+checksum = "2f87b8aa10b915a06587d0dec516c282ff295b475d94abf425d62b57710070a2"
dependencies = [
"getrandom",
"js-sys",
@@ -1535,30 +1542,31 @@ dependencies = [
[[package]]
name = "wasi"
-version = "0.14.3+wasi-0.2.4"
+version = "0.14.4+wasi-0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6a51ae83037bdd272a9e28ce236db8c07016dd0d50c27038b3f407533c030c95"
+checksum = "88a5f4a424faf49c3c2c344f166f0662341d470ea185e939657aaff130f0ec4a"
dependencies = [
"wit-bindgen",
]
[[package]]
name = "wasm-bindgen"
-version = "0.2.100"
+version = "0.2.101"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
+checksum = "7e14915cadd45b529bb8d1f343c4ed0ac1de926144b746e2710f9cd05df6603b"
dependencies = [
"cfg-if",
"once_cell",
"rustversion",
"wasm-bindgen-macro",
+ "wasm-bindgen-shared",
]
[[package]]
name = "wasm-bindgen-backend"
-version = "0.2.100"
+version = "0.2.101"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
+checksum = "e28d1ba982ca7923fd01448d5c30c6864d0a14109560296a162f80f305fb93bb"
dependencies = [
"bumpalo",
"log",
@@ -1570,9 +1578,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro"
-version = "0.2.100"
+version = "0.2.101"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
+checksum = "7c3d463ae3eff775b0c45df9da45d68837702ac35af998361e2c84e7c5ec1b0d"
dependencies = [
"quote",
"wasm-bindgen-macro-support",
@@ -1580,9 +1588,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro-support"
-version = "0.2.100"
+version = "0.2.101"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
+checksum = "7bb4ce89b08211f923caf51d527662b75bdc9c9c7aab40f86dcb9fb85ac552aa"
dependencies = [
"proc-macro2",
"quote",
@@ -1593,27 +1601,27 @@ dependencies = [
[[package]]
name = "wasm-bindgen-shared"
-version = "0.2.100"
+version = "0.2.101"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
+checksum = "f143854a3b13752c6950862c906306adb27c7e839f7414cec8fea35beab624c1"
dependencies = [
"unicode-ident",
]
[[package]]
name = "winapi-util"
-version = "0.1.10"
+version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0978bf7171b3d90bac376700cb56d606feb40f251a475a5d6634613564460b22"
+checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
dependencies = [
- "windows-sys 0.60.2",
+ "windows-sys 0.61.0",
]
[[package]]
name = "windows-link"
-version = "0.1.3"
+version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a"
+checksum = "45e46c0661abb7180e7b9c281db115305d49ca1709ab8242adf09666d2173c65"
[[package]]
name = "windows-sys"
@@ -1621,16 +1629,16 @@ version = "0.59.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
dependencies = [
- "windows-targets 0.52.6",
+ "windows-targets",
]
[[package]]
name = "windows-sys"
-version = "0.60.2"
+version = "0.61.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb"
+checksum = "e201184e40b2ede64bc2ea34968b28e33622acdbbf37104f0e4a33f7abe657aa"
dependencies = [
- "windows-targets 0.53.3",
+ "windows-link",
]
[[package]]
@@ -1639,31 +1647,14 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
dependencies = [
- "windows_aarch64_gnullvm 0.52.6",
- "windows_aarch64_msvc 0.52.6",
- "windows_i686_gnu 0.52.6",
- "windows_i686_gnullvm 0.52.6",
- "windows_i686_msvc 0.52.6",
- "windows_x86_64_gnu 0.52.6",
- "windows_x86_64_gnullvm 0.52.6",
- "windows_x86_64_msvc 0.52.6",
-]
-
-[[package]]
-name = "windows-targets"
-version = "0.53.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d5fe6031c4041849d7c496a8ded650796e7b6ecc19df1a431c1a363342e5dc91"
-dependencies = [
- "windows-link",
- "windows_aarch64_gnullvm 0.53.0",
- "windows_aarch64_msvc 0.53.0",
- "windows_i686_gnu 0.53.0",
- "windows_i686_gnullvm 0.53.0",
- "windows_i686_msvc 0.53.0",
- "windows_x86_64_gnu 0.53.0",
- "windows_x86_64_gnullvm 0.53.0",
- "windows_x86_64_msvc 0.53.0",
+ "windows_aarch64_gnullvm",
+ "windows_aarch64_msvc",
+ "windows_i686_gnu",
+ "windows_i686_gnullvm",
+ "windows_i686_msvc",
+ "windows_x86_64_gnu",
+ "windows_x86_64_gnullvm",
+ "windows_x86_64_msvc",
]
[[package]]
@@ -1672,101 +1663,53 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
-[[package]]
-name = "windows_aarch64_gnullvm"
-version = "0.53.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764"
-
[[package]]
name = "windows_aarch64_msvc"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
-[[package]]
-name = "windows_aarch64_msvc"
-version = "0.53.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c"
-
[[package]]
name = "windows_i686_gnu"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
-[[package]]
-name = "windows_i686_gnu"
-version = "0.53.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3"
-
[[package]]
name = "windows_i686_gnullvm"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
-[[package]]
-name = "windows_i686_gnullvm"
-version = "0.53.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11"
-
[[package]]
name = "windows_i686_msvc"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
-[[package]]
-name = "windows_i686_msvc"
-version = "0.53.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d"
-
[[package]]
name = "windows_x86_64_gnu"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
-[[package]]
-name = "windows_x86_64_gnu"
-version = "0.53.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba"
-
[[package]]
name = "windows_x86_64_gnullvm"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
-[[package]]
-name = "windows_x86_64_gnullvm"
-version = "0.53.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57"
-
[[package]]
name = "windows_x86_64_msvc"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
-[[package]]
-name = "windows_x86_64_msvc"
-version = "0.53.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486"
-
[[package]]
name = "wit-bindgen"
-version = "0.45.0"
+version = "0.45.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "052283831dbae3d879dc7f51f3d92703a316ca49f91540417d38591826127814"
+checksum = "5c573471f125075647d03df72e026074b7203790d41351cd6edc96f46bcccd36"
[[package]]
name = "writeable"
@@ -1800,18 +1743,18 @@ dependencies = [
[[package]]
name = "zerocopy"
-version = "0.8.26"
+version = "0.8.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1039dd0d3c310cf05de012d8a39ff557cb0d23087fd44cad61df08fc31907a2f"
+checksum = "0894878a5fa3edfd6da3f88c4805f4c8558e2b996227a3d864f47fe11e38282c"
dependencies = [
"zerocopy-derive",
]
[[package]]
name = "zerocopy-derive"
-version = "0.8.26"
+version = "0.8.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9ecf5b4cc5364572d7f4c329661bcc82724222973f2cab6f050a4e5c22f75181"
+checksum = "88d2b8d9c68ad2b9e4340d7832716a4d21a22a1154777ad56ea55c51a9cf3831"
dependencies = [
"proc-macro2",
"quote",
From 028aa6e1e288e9f5c0d415ccfe1bc805edad03fd Mon Sep 17 00:00:00 2001
From: Boshen
Date: Mon, 8 Sep 2025 09:44:59 +0800
Subject: [PATCH 361/385] ci: update
---
.github/workflows/benchmark.yml | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml
index c07659c..732afc1 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -4,22 +4,16 @@ on:
workflow_dispatch:
pull_request:
types: [opened, synchronize]
- paths:
- - '**/*.rs'
- - 'Cargo.lock'
- - 'rust-toolchain.toml'
push:
branches:
- main
- paths:
- - '**/*.rs'
- - 'Cargo.lock'
- - 'rust-toolchain.toml'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: ${{ github.ref_name != 'main' }}
+permissions: {}
+
jobs:
benchmark:
name: Benchmark
From 93a78ce0247d0595470398a6e69d9b4a25e54ca2 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 8 Sep 2025 05:16:10 +0000
Subject: [PATCH 362/385] chore(deps): update rust crate oxc to 0.87.0 (#372)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 55 +++++++++++++++++++++++++++---------------------------
Cargo.toml | 2 +-
2 files changed, 29 insertions(+), 28 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 3cc9483..da6f6a3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -406,9 +406,9 @@ dependencies = [
[[package]]
name = "hashbrown"
-version = "0.15.5"
+version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1"
+checksum = "5419bdc4f6a9207fbeba6d11b604d481addf78ecd10c11ad51e76c2f6482748d"
dependencies = [
"allocator-api2",
]
@@ -706,9 +706,9 @@ checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e"
[[package]]
name = "oxc"
-version = "0.86.0"
+version = "0.87.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6960e248a71aabc8ff022fb6b62e7b74743171bae137767075ce4fabc1d53a4f"
+checksum = "1273a1f856d670d49d62ac0e362a6989ea3be208f6846aab85f34383a04b0fae"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -746,27 +746,28 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.86.0"
+version = "0.87.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9bdf7abfb88ad84430ccaf674d3fa463af5dceb0fd21ddaae83e7d2057668ce3"
+checksum = "90237f36cf0cd3ea2dcf9682b48fa0c1762a4b407fdcc630f60a72c277877c9f"
dependencies = [
"allocator-api2",
"bumpalo",
- "hashbrown 0.15.5",
+ "hashbrown 0.16.0",
"oxc_data_structures",
"rustc-hash",
]
[[package]]
name = "oxc_ast"
-version = "0.86.0"
+version = "0.87.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cd6a0d0ba1b1115575d35bfcd64f1458fe5db70fd988c08b742da223be2ea65f"
+checksum = "a73ff824d44e51ac6c20381b644d48db4326935e811eeab29d52ca45e4d19670"
dependencies = [
"bitflags",
"oxc_allocator",
"oxc_ast_macros",
"oxc_data_structures",
+ "oxc_diagnostics",
"oxc_estree",
"oxc_regular_expression",
"oxc_span",
@@ -775,9 +776,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.86.0"
+version = "0.87.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "55f299cae11166ffa2fe60a87df1de417f2ac05f21b7dffba173a004f667f321"
+checksum = "4f6af164ffae11248f32c449dad6a15f85d2154fe398bfec75502e0e2af5767a"
dependencies = [
"phf 0.13.1",
"proc-macro2",
@@ -787,15 +788,15 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.86.0"
+version = "0.87.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "39656fa64b09714c36416d954897e8fb0f42c462c3082fda22c8760282f55a15"
+checksum = "7f048c4ae3569bcc9dbbed29730b5c5f6dd3a35e9f5c3750cd4b3ed72381fbd0"
[[package]]
name = "oxc_diagnostics"
-version = "0.86.0"
+version = "0.87.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "da029cea375d098fc97993afe96413563a55ebc80ff704b831e1dddea2e78911"
+checksum = "7d96c95294deec2f038e8c7749a751f929c263da34cc68a621472c57c916c14e"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -804,9 +805,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.86.0"
+version = "0.87.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b868985647967b7b173c9681a6486691cf9c5d0fb4e64d114e65cc8a8978657a"
+checksum = "aa7b86782020722b3190c083dfc3de59cb73425d1fa275ff6f91b5b4ee509550"
dependencies = [
"cow-utils",
"num-bigint",
@@ -819,9 +820,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.86.0"
+version = "0.87.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3c20498f0f4b7afec0a8b772174bf7736d79ff31a8e0073dd9081747801407c5"
+checksum = "97f7078ef0c6da21657f5dcade4540c65a460d2a26a42e4418d12ecac860143a"
[[package]]
name = "oxc_index"
@@ -831,9 +832,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
[[package]]
name = "oxc_parser"
-version = "0.86.0"
+version = "0.87.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "df72e23adc7a481f60a1410fafc3833a5411c077271e2a5bb97083c93b274683"
+checksum = "ef71ea1e9bde8ff15f89b60874363359fc7e9796de7bf6cdff69fa54f6869bba"
dependencies = [
"bitflags",
"cow-utils",
@@ -854,9 +855,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.86.0"
+version = "0.87.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "97247d67a14e17dcb004ca57e59283b235e1a84813a2048e0585ca901a64eb99"
+checksum = "60a4df17b1c47c7fe749208f3a32158dfe90dca5ce630ce86cb9415521f87eb3"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -870,9 +871,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.86.0"
+version = "0.87.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6b70dfb43ba1c04ae09ba4c0e85dbb7af2260ff029458fe45a7f4e7d0384442c"
+checksum = "7d88265af3fb8fc2a2317144dfc40b5e120e0ebe21693cfbf7508d4d3ec6d74f"
dependencies = [
"compact_str",
"oxc-miette",
@@ -883,9 +884,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.86.0"
+version = "0.87.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5478a4c0b503ac61c09e5450a607517ad7f8dba36b7bea53db17d4b7221ef7df"
+checksum = "b2596e7891b08899f7b74a1fb87b5f5c14153918bb2966648c84581f0a7e6795"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index e494bf8..61d54d3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.86.0"
+oxc = "0.87.0"
swc_ecma_parser = { version = "24.0.0", features = ["typescript"] }
swc_ecma_ast = "15.0.0"
From f2c7b1a01d95bc0cf0e16e93c02b75eeead6714c Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 12 Sep 2025 20:18:14 +0000
Subject: [PATCH 363/385] chore(deps): update rust crate swc_ecma_parser to
24.0.1 (#373)
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 da6f6a3..5a8c27b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1316,9 +1316,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "24.0.0"
+version = "24.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "37c0b41d7e86acb8abc1e75b39163a1dffd88f75b69d8f89a199dfc416bb46d6"
+checksum = "e8079e65c43d8f3e64e791321355f5864322425fce3a3ab7fc959bbddb531933"
dependencies = [
"either",
"num-bigint",
diff --git a/Cargo.toml b/Cargo.toml
index 61d54d3..bfa0620 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.87.0"
-swc_ecma_parser = { version = "24.0.0", features = ["typescript"] }
+swc_ecma_parser = { version = "24.0.1", features = ["typescript"] }
swc_ecma_ast = "15.0.0"
# biome_js_parser = "0.5.6"
From 1ea49e6a3121c4059224e2968d121c0dc9eaa244 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 14 Sep 2025 16:56:38 +0000
Subject: [PATCH 364/385] chore(deps): lock file maintenance (#374)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 52 ++++++++++++++++++++++++++++++++++++----------------
1 file changed, 36 insertions(+), 16 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 5a8c27b..485e10c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -149,9 +149,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.2.36"
+version = "1.2.37"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5252b3d2648e5eedbc1a6f501e3c795e07025c1e93bbf8bbdd6eef7f447a6d54"
+checksum = "65193589c6404eb80b450d618eaf9a2cafaaafd57ecce47370519ef674a7bd44"
dependencies = [
"find-msvc-tools",
"shlex",
@@ -826,9 +826,9 @@ checksum = "97f7078ef0c6da21657f5dcade4540c65a460d2a26a42e4418d12ecac860143a"
[[package]]
name = "oxc_index"
-version = "3.0.0"
+version = "3.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392"
+checksum = "967ae797e1f284bd1385f2d8e8ab94293ad27f623c76839ecf66827521365f5b"
[[package]]
name = "oxc_parser"
@@ -1118,18 +1118,28 @@ checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc"
[[package]]
name = "serde"
-version = "1.0.219"
+version = "1.0.221"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "341877e04a22458705eb4e131a1508483c877dca2792b3781d4e5d8a6019ec43"
+dependencies = [
+ "serde_core",
+ "serde_derive",
+]
+
+[[package]]
+name = "serde_core"
+version = "1.0.221"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6"
+checksum = "0c459bc0a14c840cb403fc14b148620de1e0778c96ecd6e0c8c3cacb6d8d00fe"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.219"
+version = "1.0.221"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
+checksum = "d6185cf75117e20e62b1ff867b9518577271e58abe0037c40bb4794969355ab0"
dependencies = [
"proc-macro2",
"quote",
@@ -1138,14 +1148,15 @@ dependencies = [
[[package]]
name = "serde_json"
-version = "1.0.143"
+version = "1.0.145"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d401abef1d108fbd9cbaebc3e46611f4b1021f714a0597a71f41ee463f5f4a5a"
+checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c"
dependencies = [
"itoa",
"memchr",
"ryu",
"serde",
+ "serde_core",
]
[[package]]
@@ -1468,15 +1479,15 @@ dependencies = [
[[package]]
name = "unicode-id-start"
-version = "1.3.1"
+version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2f322b60f6b9736017344fa0635d64be2f458fbc04eef65f6be22976dd1ffd5b"
+checksum = "81b79ad29b5e19de4260020f8919b443b2ef0277d242ce532ec7b7a2cc8b6007"
[[package]]
name = "unicode-ident"
-version = "1.0.18"
+version = "1.0.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
+checksum = "f63a545481291138910575129486daeaf8ac54aee4387fe7906919f7830c7d9d"
[[package]]
name = "unicode-linebreak"
@@ -1543,9 +1554,18 @@ dependencies = [
[[package]]
name = "wasi"
-version = "0.14.4+wasi-0.2.4"
+version = "0.14.5+wasi-0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a4494f6290a82f5fe584817a676a34b9d6763e8d9d18204009fb31dceca98fd4"
+dependencies = [
+ "wasip2",
+]
+
+[[package]]
+name = "wasip2"
+version = "1.0.0+wasi-0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "88a5f4a424faf49c3c2c344f166f0662341d470ea185e939657aaff130f0ec4a"
+checksum = "03fa2761397e5bd52002cd7e73110c71af2109aca4e521a9f40473fe685b0a24"
dependencies = [
"wit-bindgen",
]
From f4aa3ad278538f6edddc0a3cd32524b34cd21116 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 14 Sep 2025 22:05:46 +0000
Subject: [PATCH 365/385] chore(deps): lock file maintenance (#375)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 485e10c..6022175 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1118,9 +1118,9 @@ checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc"
[[package]]
name = "serde"
-version = "1.0.221"
+version = "1.0.223"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "341877e04a22458705eb4e131a1508483c877dca2792b3781d4e5d8a6019ec43"
+checksum = "a505d71960adde88e293da5cb5eda57093379f64e61cf77bf0e6a63af07a7bac"
dependencies = [
"serde_core",
"serde_derive",
@@ -1128,18 +1128,18 @@ dependencies = [
[[package]]
name = "serde_core"
-version = "1.0.221"
+version = "1.0.223"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c459bc0a14c840cb403fc14b148620de1e0778c96ecd6e0c8c3cacb6d8d00fe"
+checksum = "20f57cbd357666aa7b3ac84a90b4ea328f1d4ddb6772b430caa5d9e1309bb9e9"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.221"
+version = "1.0.223"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d6185cf75117e20e62b1ff867b9518577271e58abe0037c40bb4794969355ab0"
+checksum = "3d428d07faf17e306e699ec1e91996e5a165ba5d6bce5b5155173e91a8a01a56"
dependencies = [
"proc-macro2",
"quote",
From 9b5fe5a548dc8df80e0cb16cfe1d32fb7bffcfc4 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 15 Sep 2025 12:18:48 +0800
Subject: [PATCH 366/385] chore(deps): update codspeedhq/action action to v4
(#370)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Boshen
---
.github/workflows/benchmark.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml
index 732afc1..5d0a910 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -30,7 +30,8 @@ jobs:
run: cargo codspeed build --features codspeed
- name: Run benchmark
- uses: CodSpeedHQ/action@76578c2a7ddd928664caa737f0e962e3085d4e7c # v3.8.1
+ uses: CodSpeedHQ/action@653fdc30e6c40ffd9739e40c8a0576f4f4523ca1 # v4.0.1
with:
run: cargo codspeed run
+ mode: instrumentation
token: ${{ secrets.CODSPEED_TOKEN }}
From bc6d7a370887c489fb2d78658ad52f98ccf61d04 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 15 Sep 2025 04:26:35 +0000
Subject: [PATCH 367/385] chore(deps): update rust crate oxc to 0.88.0 (#376)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 6022175..f930e51 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -706,9 +706,9 @@ checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e"
[[package]]
name = "oxc"
-version = "0.87.0"
+version = "0.88.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1273a1f856d670d49d62ac0e362a6989ea3be208f6846aab85f34383a04b0fae"
+checksum = "8f8923ee745381ce09f9ab4a7c8734155431ec504992454b7864049fe6e17c4c"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -746,9 +746,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.87.0"
+version = "0.88.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "90237f36cf0cd3ea2dcf9682b48fa0c1762a4b407fdcc630f60a72c277877c9f"
+checksum = "b67d6e375c772b3e72f1e8fd13d6635fe0eb4b84be9578fbbcd6aaacefc36cec"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -759,9 +759,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.87.0"
+version = "0.88.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a73ff824d44e51ac6c20381b644d48db4326935e811eeab29d52ca45e4d19670"
+checksum = "3af49542e79d79c1bf288f3860165bbd2f7941a9869f0dbfdc8f4872def43955"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -776,9 +776,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.87.0"
+version = "0.88.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4f6af164ffae11248f32c449dad6a15f85d2154fe398bfec75502e0e2af5767a"
+checksum = "df24ad6cc4956190b2dedbe7defe3af7a8c9a5298bd3505c6173abfd24d15079"
dependencies = [
"phf 0.13.1",
"proc-macro2",
@@ -788,15 +788,15 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.87.0"
+version = "0.88.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7f048c4ae3569bcc9dbbed29730b5c5f6dd3a35e9f5c3750cd4b3ed72381fbd0"
+checksum = "52ab6eb9b2ca2deb37975ee7825ed50e51648304904cc9180e38cce93607f14d"
[[package]]
name = "oxc_diagnostics"
-version = "0.87.0"
+version = "0.88.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7d96c95294deec2f038e8c7749a751f929c263da34cc68a621472c57c916c14e"
+checksum = "c6332fbf29c989a6ec8edc7f1c27cec2f5bdc404d992d7fb9be3f39e5a26629a"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -805,9 +805,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.87.0"
+version = "0.88.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aa7b86782020722b3190c083dfc3de59cb73425d1fa275ff6f91b5b4ee509550"
+checksum = "3d92744c828266b0533374308599919c769e0df9bb9d7e353d230e358e972fb1"
dependencies = [
"cow-utils",
"num-bigint",
@@ -820,9 +820,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.87.0"
+version = "0.88.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "97f7078ef0c6da21657f5dcade4540c65a460d2a26a42e4418d12ecac860143a"
+checksum = "bbe5505e5e7f2bd63b7516fe19a5fe2d9a9f2487afeb34781c4abcc841609cb4"
[[package]]
name = "oxc_index"
@@ -832,9 +832,9 @@ checksum = "967ae797e1f284bd1385f2d8e8ab94293ad27f623c76839ecf66827521365f5b"
[[package]]
name = "oxc_parser"
-version = "0.87.0"
+version = "0.88.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ef71ea1e9bde8ff15f89b60874363359fc7e9796de7bf6cdff69fa54f6869bba"
+checksum = "bfea43fce4ca3e3b6f3b16e9cc54774935305573286d98b46c9009a0389ec058"
dependencies = [
"bitflags",
"cow-utils",
@@ -855,9 +855,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.87.0"
+version = "0.88.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "60a4df17b1c47c7fe749208f3a32158dfe90dca5ce630ce86cb9415521f87eb3"
+checksum = "7db0963ee0f17d81774c4a68a726a709e15372630595ef03d2d38cc7594dbe74"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -871,9 +871,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.87.0"
+version = "0.88.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7d88265af3fb8fc2a2317144dfc40b5e120e0ebe21693cfbf7508d4d3ec6d74f"
+checksum = "dbae64de8b392d025181ef7f7a7b0498ae7040af6d371e6ecaff5cadcda7fa88"
dependencies = [
"compact_str",
"oxc-miette",
@@ -884,9 +884,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.87.0"
+version = "0.88.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b2596e7891b08899f7b74a1fb87b5f5c14153918bb2966648c84581f0a7e6795"
+checksum = "8a30af39ee4bc9208065f892b0e654b31a7e46ef60519c6cee1701456aa4de3c"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index bfa0620..fcb6162 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.87.0"
+oxc = "0.88.0"
swc_ecma_parser = { version = "24.0.1", features = ["typescript"] }
swc_ecma_ast = "15.0.0"
From 8b32f2d732c4007838b5a06091c8041cf1ca1a1a Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 15 Sep 2025 20:04:50 +0000
Subject: [PATCH 368/385] chore(deps): update rust crate oxc to 0.89.0 (#377)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index f930e51..14018c6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -706,9 +706,9 @@ checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e"
[[package]]
name = "oxc"
-version = "0.88.0"
+version = "0.89.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f8923ee745381ce09f9ab4a7c8734155431ec504992454b7864049fe6e17c4c"
+checksum = "0c6906a812ec6e2a2d362d6fc86e0651da9b0e22b0776a58fc6fe7808af60b30"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -746,9 +746,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.88.0"
+version = "0.89.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b67d6e375c772b3e72f1e8fd13d6635fe0eb4b84be9578fbbcd6aaacefc36cec"
+checksum = "9a3bc07f64a774ff9d6bd4d54d29d2a057048ed2abd5e876bffc1a295ec1b355"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -759,9 +759,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.88.0"
+version = "0.89.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3af49542e79d79c1bf288f3860165bbd2f7941a9869f0dbfdc8f4872def43955"
+checksum = "f45156a623e26047f4f7e4c380621193295432ac996da090543e81f731dcdd47"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -776,9 +776,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.88.0"
+version = "0.89.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "df24ad6cc4956190b2dedbe7defe3af7a8c9a5298bd3505c6173abfd24d15079"
+checksum = "6dce015e6ed092e7f22b2429bdebeafc52d603ad02308cc36c9599474b47d21d"
dependencies = [
"phf 0.13.1",
"proc-macro2",
@@ -788,15 +788,15 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.88.0"
+version = "0.89.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "52ab6eb9b2ca2deb37975ee7825ed50e51648304904cc9180e38cce93607f14d"
+checksum = "12f7029a05de883d1461a1017211716690b342ac20c197b8539a712b426ab0a1"
[[package]]
name = "oxc_diagnostics"
-version = "0.88.0"
+version = "0.89.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c6332fbf29c989a6ec8edc7f1c27cec2f5bdc404d992d7fb9be3f39e5a26629a"
+checksum = "5c9b92b29ce9f356a8068eade68951e983247b7f5a7e51bb40047a20ca9c6ebf"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -805,9 +805,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.88.0"
+version = "0.89.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3d92744c828266b0533374308599919c769e0df9bb9d7e353d230e358e972fb1"
+checksum = "b91691a6df9a23176be896706e4b6a80b083b8af96cbb4967ec2fab804d06b4f"
dependencies = [
"cow-utils",
"num-bigint",
@@ -820,9 +820,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.88.0"
+version = "0.89.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bbe5505e5e7f2bd63b7516fe19a5fe2d9a9f2487afeb34781c4abcc841609cb4"
+checksum = "8c0c1992f1cf16115e26a06761b34f9ef1460ffa1887256b85bcdc6b8bc04517"
[[package]]
name = "oxc_index"
@@ -832,9 +832,9 @@ checksum = "967ae797e1f284bd1385f2d8e8ab94293ad27f623c76839ecf66827521365f5b"
[[package]]
name = "oxc_parser"
-version = "0.88.0"
+version = "0.89.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bfea43fce4ca3e3b6f3b16e9cc54774935305573286d98b46c9009a0389ec058"
+checksum = "ae29814c4bc44bb6e63bdd7386ff8664e7a3e3b21dfa78e51201d3e032b0f2b6"
dependencies = [
"bitflags",
"cow-utils",
@@ -855,9 +855,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.88.0"
+version = "0.89.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7db0963ee0f17d81774c4a68a726a709e15372630595ef03d2d38cc7594dbe74"
+checksum = "d1270bd284948924e9c4882ae6ce70ef20d33959fd33151cdde5d89c3e4e41ce"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -871,9 +871,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.88.0"
+version = "0.89.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dbae64de8b392d025181ef7f7a7b0498ae7040af6d371e6ecaff5cadcda7fa88"
+checksum = "57176a1bafa266ae12af0207f444786a611c0fa035bf62a960ec6833a860e526"
dependencies = [
"compact_str",
"oxc-miette",
@@ -884,9 +884,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.88.0"
+version = "0.89.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8a30af39ee4bc9208065f892b0e654b31a7e46ef60519c6cee1701456aa4de3c"
+checksum = "fcbd72aa852c40eceb8624280f64ef0d405911e073855d890f7dac114f3f36a0"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index fcb6162..53b1196 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.88.0"
+oxc = "0.89.0"
swc_ecma_parser = { version = "24.0.1", features = ["typescript"] }
swc_ecma_ast = "15.0.0"
From 544b01c056587b8173ca2b5fa91d35f2ccf7fdb5 Mon Sep 17 00:00:00 2001
From: Boshen
Date: Fri, 19 Sep 2025 09:07:27 +0800
Subject: [PATCH 369/385] fix benchmark
---
.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 5d0a910..9883292 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -21,7 +21,7 @@ jobs:
steps:
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1
- - uses: Boshen/setup-rust@main
+ - uses: oxc-project/setup-rust@d286d43bc1f606abbd98096666ff8be68c8d5f57 # v1.0.2
with:
save-cache: ${{ github.ref_name == 'main' }}
tools: cargo-codspeed
From 94b5109d2eb9a65b3c0dfe9aeafd1ae5f1a7c2bb Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 19 Sep 2025 01:13:28 +0000
Subject: [PATCH 370/385] chore(deps): update rust crate oxc to 0.90.0 (#378)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 63 ++++++++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 36 insertions(+), 29 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 14018c6..9d42522 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -706,9 +706,9 @@ checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e"
[[package]]
name = "oxc"
-version = "0.89.0"
+version = "0.90.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c6906a812ec6e2a2d362d6fc86e0651da9b0e22b0776a58fc6fe7808af60b30"
+checksum = "c6552b4cea27da17acf5c1e896ead07ad970eceddfd71c7852ba696d2e5f9dea"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -721,23 +721,24 @@ dependencies = [
[[package]]
name = "oxc-miette"
-version = "2.4.0"
+version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "31cfb121c9d3e0f9082856927f5cff9594279c91b544f4436e4bc971563caa60"
+checksum = "2d5495f6099fa0b25fa25755c1d59ed79ffa64dda80f5366a4cdfc8fc20f5932"
dependencies = [
"cfg-if",
"owo-colors",
"oxc-miette-derive",
"textwrap",
"thiserror",
+ "unicode-segmentation",
"unicode-width 0.2.1",
]
[[package]]
name = "oxc-miette-derive"
-version = "2.4.0"
+version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a6eabb57f935b454fbe0552ea0abaaf9eb0019b5fa05a7bbe7efd5bd8c765085"
+checksum = "9dbbc96af6e37c35f2303b2bedbf8ce9cc563e4fbbf7776be6f0803cb0095652"
dependencies = [
"proc-macro2",
"quote",
@@ -746,9 +747,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.89.0"
+version = "0.90.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9a3bc07f64a774ff9d6bd4d54d29d2a057048ed2abd5e876bffc1a295ec1b355"
+checksum = "3b810fad23016e9a2a64d3b09f72ead6035312164788715dedd79b223f95b059"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -759,9 +760,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.89.0"
+version = "0.90.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f45156a623e26047f4f7e4c380621193295432ac996da090543e81f731dcdd47"
+checksum = "1af40f244ac2215c43baeb5776412caf09777ab176ac49151f4ecb1f424d26b9"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -776,9 +777,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.89.0"
+version = "0.90.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6dce015e6ed092e7f22b2429bdebeafc52d603ad02308cc36c9599474b47d21d"
+checksum = "04dced6af2266937211ef38e2e57d1f2ba2c380b7be13c856bb33dcd59aefedf"
dependencies = [
"phf 0.13.1",
"proc-macro2",
@@ -788,15 +789,15 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.89.0"
+version = "0.90.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "12f7029a05de883d1461a1017211716690b342ac20c197b8539a712b426ab0a1"
+checksum = "11226a027c0320b450943c1d5a0d1eba9079d15c3a9edfbab3ecd4c8fb03d4bf"
[[package]]
name = "oxc_diagnostics"
-version = "0.89.0"
+version = "0.90.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c9b92b29ce9f356a8068eade68951e983247b7f5a7e51bb40047a20ca9c6ebf"
+checksum = "880c30372eb360acfe377008f83a41bc391765b72c00a633f974ef9804282619"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -805,9 +806,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.89.0"
+version = "0.90.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b91691a6df9a23176be896706e4b6a80b083b8af96cbb4967ec2fab804d06b4f"
+checksum = "0e2d1f7ee0df2c512b9219b82504ed6e31d2b04c629c6173e2a3508fc623e422"
dependencies = [
"cow-utils",
"num-bigint",
@@ -820,9 +821,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.89.0"
+version = "0.90.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8c0c1992f1cf16115e26a06761b34f9ef1460ffa1887256b85bcdc6b8bc04517"
+checksum = "2c7288d04e52e326681027d44ea1b1545a6f4ab3392cb88a10dba93ebaaaa3f9"
[[package]]
name = "oxc_index"
@@ -832,9 +833,9 @@ checksum = "967ae797e1f284bd1385f2d8e8ab94293ad27f623c76839ecf66827521365f5b"
[[package]]
name = "oxc_parser"
-version = "0.89.0"
+version = "0.90.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ae29814c4bc44bb6e63bdd7386ff8664e7a3e3b21dfa78e51201d3e032b0f2b6"
+checksum = "273778f7be75802da774d17a001c38e75d8387cfcfc2212a76c4625e266777a5"
dependencies = [
"bitflags",
"cow-utils",
@@ -855,9 +856,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.89.0"
+version = "0.90.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d1270bd284948924e9c4882ae6ce70ef20d33959fd33151cdde5d89c3e4e41ce"
+checksum = "79a5a3dc8e02a05bd8ccc3888f9ae0dbbcee7da9a677a1f3b7f86254907604ff"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -871,9 +872,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.89.0"
+version = "0.90.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "57176a1bafa266ae12af0207f444786a611c0fa035bf62a960ec6833a860e526"
+checksum = "96f74ab03fd114c4ed30011692cc602b2eed51c51ee0eef4d46ca3522adcb6b2"
dependencies = [
"compact_str",
"oxc-miette",
@@ -884,9 +885,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.89.0"
+version = "0.90.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fcbd72aa852c40eceb8624280f64ef0d405911e073855d890f7dac114f3f36a0"
+checksum = "1c0c41d429d7883b00cece42a1285e8ef40ed936d4342e378016b4b2daf4c3e6"
dependencies = [
"bitflags",
"cow-utils",
@@ -1495,6 +1496,12 @@ version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3b09c83c3c29d37506a3e260c08c03743a6bb66a9cd432c6934ab501a190571f"
+[[package]]
+name = "unicode-segmentation"
+version = "1.12.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493"
+
[[package]]
name = "unicode-width"
version = "0.1.14"
diff --git a/Cargo.toml b/Cargo.toml
index 53b1196..fd75754 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.89.0"
+oxc = "0.90.0"
swc_ecma_parser = { version = "24.0.1", features = ["typescript"] }
swc_ecma_ast = "15.0.0"
From 3fdcbf1a57b0c47435cd734bb6dfc9b75006a3fa Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 19 Sep 2025 09:25:01 +0800
Subject: [PATCH 371/385] chore(deps): update dependency rust to v1.90.0 (#379)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
rust-toolchain.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
index c762226..c3891f0 100644
--- a/rust-toolchain.toml
+++ b/rust-toolchain.toml
@@ -1,3 +1,3 @@
[toolchain]
-channel = "1.89.0"
+channel = "1.90.0"
profile = "minimal"
From 6e7f05f5384d74a616f3e6e0260affc56be09c4c Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 21 Sep 2025 17:55:10 +0000
Subject: [PATCH 372/385] chore(deps): lock file maintenance (#380)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 68 +++++++++++++++++++++++++++---------------------------
1 file changed, 34 insertions(+), 34 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 9d42522..2f8e090 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -28,9 +28,9 @@ checksum = "dc43e46599f3d77fcf2f2ca89e4d962910b0c19c44e7b58679cbbdfd1820a662"
[[package]]
name = "anyhow"
-version = "1.0.99"
+version = "1.0.100"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b0674a1ddeecb70197781e945de4b3b8ffb61fa939a5597bcf48503737663100"
+checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61"
[[package]]
name = "approx"
@@ -49,9 +49,9 @@ checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
[[package]]
name = "ast_node"
-version = "3.0.3"
+version = "3.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a1e2cddd48eafd883890770673b1971faceaf80a185445671abc3ea0c00593ee"
+checksum = "0a184645bcc6f52d69d8e7639720699c6a99efb711f886e251ed1d16db8dd90e"
dependencies = [
"quote",
"swc_macros_common",
@@ -149,9 +149,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.2.37"
+version = "1.2.38"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "65193589c6404eb80b450d618eaf9a2cafaaafd57ecce47370519ef674a7bd44"
+checksum = "80f41ae168f955c12fb8960b057d70d0ca153fb83182b57d86380443527be7e9"
dependencies = [
"find-msvc-tools",
"shlex",
@@ -343,9 +343,9 @@ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
[[package]]
name = "find-msvc-tools"
-version = "0.1.1"
+version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7fd99930f64d146689264c637b5af2f0233a933bef0d8570e2526bf9e083192d"
+checksum = "1ced73b1dacfc750a6db6c0a0c3a3853c8b41997e2e2c563dc90804ae6867959"
[[package]]
name = "form_urlencoded"
@@ -565,9 +565,9 @@ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
[[package]]
name = "js-sys"
-version = "0.3.78"
+version = "0.3.80"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c0b063578492ceec17683ef2f8c5e89121fbd0b172cbc280635ab7567db2738"
+checksum = "852f13bec5eba4ba9afbeb93fd7c13fe56147f055939ae21c43a29a0ecb2702e"
dependencies = [
"once_cell",
"wasm-bindgen",
@@ -1119,9 +1119,9 @@ checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc"
[[package]]
name = "serde"
-version = "1.0.223"
+version = "1.0.226"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a505d71960adde88e293da5cb5eda57093379f64e61cf77bf0e6a63af07a7bac"
+checksum = "0dca6411025b24b60bfa7ec1fe1f8e710ac09782dca409ee8237ba74b51295fd"
dependencies = [
"serde_core",
"serde_derive",
@@ -1129,18 +1129,18 @@ dependencies = [
[[package]]
name = "serde_core"
-version = "1.0.223"
+version = "1.0.226"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "20f57cbd357666aa7b3ac84a90b4ea328f1d4ddb6772b430caa5d9e1309bb9e9"
+checksum = "ba2ba63999edb9dac981fb34b3e5c0d111a69b0924e253ed29d83f7c99e966a4"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.223"
+version = "1.0.226"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3d428d07faf17e306e699ec1e91996e5a165ba5d6bce5b5155173e91a8a01a56"
+checksum = "8db53ae22f34573731bafa1db20f04027b2d25e02d8205921b569171699cdb33"
dependencies = [
"proc-macro2",
"quote",
@@ -1260,9 +1260,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "14.0.3"
+version = "14.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "63fdb58d278e7cd625f671e5371b3e6c0eab56c6e2a995a6f70dd0f7725255d4"
+checksum = "c2bb772b3a26b8b71d4e8c112ced5b5867be2266364b58517407a270328a2696"
dependencies = [
"anyhow",
"ast_node",
@@ -1561,27 +1561,27 @@ dependencies = [
[[package]]
name = "wasi"
-version = "0.14.5+wasi-0.2.4"
+version = "0.14.7+wasi-0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a4494f6290a82f5fe584817a676a34b9d6763e8d9d18204009fb31dceca98fd4"
+checksum = "883478de20367e224c0090af9cf5f9fa85bed63a95c1abf3afc5c083ebc06e8c"
dependencies = [
"wasip2",
]
[[package]]
name = "wasip2"
-version = "1.0.0+wasi-0.2.4"
+version = "1.0.1+wasi-0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "03fa2761397e5bd52002cd7e73110c71af2109aca4e521a9f40473fe685b0a24"
+checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7"
dependencies = [
"wit-bindgen",
]
[[package]]
name = "wasm-bindgen"
-version = "0.2.101"
+version = "0.2.103"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7e14915cadd45b529bb8d1f343c4ed0ac1de926144b746e2710f9cd05df6603b"
+checksum = "ab10a69fbd0a177f5f649ad4d8d3305499c42bab9aef2f7ff592d0ec8f833819"
dependencies = [
"cfg-if",
"once_cell",
@@ -1592,9 +1592,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-backend"
-version = "0.2.101"
+version = "0.2.103"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e28d1ba982ca7923fd01448d5c30c6864d0a14109560296a162f80f305fb93bb"
+checksum = "0bb702423545a6007bbc368fde243ba47ca275e549c8a28617f56f6ba53b1d1c"
dependencies = [
"bumpalo",
"log",
@@ -1606,9 +1606,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro"
-version = "0.2.101"
+version = "0.2.103"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7c3d463ae3eff775b0c45df9da45d68837702ac35af998361e2c84e7c5ec1b0d"
+checksum = "fc65f4f411d91494355917b605e1480033152658d71f722a90647f56a70c88a0"
dependencies = [
"quote",
"wasm-bindgen-macro-support",
@@ -1616,9 +1616,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro-support"
-version = "0.2.101"
+version = "0.2.103"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7bb4ce89b08211f923caf51d527662b75bdc9c9c7aab40f86dcb9fb85ac552aa"
+checksum = "ffc003a991398a8ee604a401e194b6b3a39677b3173d6e74495eb51b82e99a32"
dependencies = [
"proc-macro2",
"quote",
@@ -1629,9 +1629,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-shared"
-version = "0.2.101"
+version = "0.2.103"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f143854a3b13752c6950862c906306adb27c7e839f7414cec8fea35beab624c1"
+checksum = "293c37f4efa430ca14db3721dfbe48d8c33308096bd44d80ebaa775ab71ba1cf"
dependencies = [
"unicode-ident",
]
@@ -1735,9 +1735,9 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
[[package]]
name = "wit-bindgen"
-version = "0.45.1"
+version = "0.46.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c573471f125075647d03df72e026074b7203790d41351cd6edc96f46bcccd36"
+checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59"
[[package]]
name = "writeable"
From 2d87d628974608769971cb065c5667fb02762e82 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 24 Sep 2025 05:08:40 +0000
Subject: [PATCH 373/385] chore(deps): update rust crate oxc to 0.92.0 (#381)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 2f8e090..ed6df70 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -706,9 +706,9 @@ checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e"
[[package]]
name = "oxc"
-version = "0.90.0"
+version = "0.92.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c6552b4cea27da17acf5c1e896ead07ad970eceddfd71c7852ba696d2e5f9dea"
+checksum = "514174b0464005dd95e873f5236089949ab77c79cc8a8e9352721f06d45a0b8d"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -747,9 +747,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.90.0"
+version = "0.92.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3b810fad23016e9a2a64d3b09f72ead6035312164788715dedd79b223f95b059"
+checksum = "79d9ac4e239df6f418d86176aa4af85f850f60823a8708fd50a6f7d6f475a07d"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -760,9 +760,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.90.0"
+version = "0.92.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1af40f244ac2215c43baeb5776412caf09777ab176ac49151f4ecb1f424d26b9"
+checksum = "013500b777b89130b5f79b545d252d9a147db7ef91f07954da394400ae7f14c9"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -777,9 +777,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.90.0"
+version = "0.92.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "04dced6af2266937211ef38e2e57d1f2ba2c380b7be13c856bb33dcd59aefedf"
+checksum = "9711ea5f01691277822413f0bb56085ac1b867f9cb2090387f634a94a2d4f64c"
dependencies = [
"phf 0.13.1",
"proc-macro2",
@@ -789,15 +789,15 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.90.0"
+version = "0.92.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "11226a027c0320b450943c1d5a0d1eba9079d15c3a9edfbab3ecd4c8fb03d4bf"
+checksum = "5bccdfe08b75babe4944aefcc84f8d795d48a0155fcb20c4855c46eabf6e5d49"
[[package]]
name = "oxc_diagnostics"
-version = "0.90.0"
+version = "0.92.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "880c30372eb360acfe377008f83a41bc391765b72c00a633f974ef9804282619"
+checksum = "e710dd26a2946f906ccd449a2d34f195b0461e5a8776db067ed207189f0213f3"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -806,9 +806,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.90.0"
+version = "0.92.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0e2d1f7ee0df2c512b9219b82504ed6e31d2b04c629c6173e2a3508fc623e422"
+checksum = "80c03f1a2246f422197c317585b056dbc283a4cfb10c8058cb3296b87cb835da"
dependencies = [
"cow-utils",
"num-bigint",
@@ -821,9 +821,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.90.0"
+version = "0.92.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2c7288d04e52e326681027d44ea1b1545a6f4ab3392cb88a10dba93ebaaaa3f9"
+checksum = "36ee39a2fc76ae96ccb5dcfea6c430e09e93e4fbcd9ec7f35fe787ea3fb6873a"
[[package]]
name = "oxc_index"
@@ -833,9 +833,9 @@ checksum = "967ae797e1f284bd1385f2d8e8ab94293ad27f623c76839ecf66827521365f5b"
[[package]]
name = "oxc_parser"
-version = "0.90.0"
+version = "0.92.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "273778f7be75802da774d17a001c38e75d8387cfcfc2212a76c4625e266777a5"
+checksum = "86612cd26f817679d522b7ed33e525537ec5c0a7165d4d23138b8cbaf896d0d5"
dependencies = [
"bitflags",
"cow-utils",
@@ -856,9 +856,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.90.0"
+version = "0.92.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "79a5a3dc8e02a05bd8ccc3888f9ae0dbbcee7da9a677a1f3b7f86254907604ff"
+checksum = "e7dc07d4e5d8337f5b6bbadadf1787d2a320f99969c9602ed03c823babd0084a"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -872,9 +872,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.90.0"
+version = "0.92.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "96f74ab03fd114c4ed30011692cc602b2eed51c51ee0eef4d46ca3522adcb6b2"
+checksum = "be7ea89d6e858be16ef14f9a9be81ee210c17cb29bb95d5c86881251075071af"
dependencies = [
"compact_str",
"oxc-miette",
@@ -885,9 +885,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.90.0"
+version = "0.92.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1c0c41d429d7883b00cece42a1285e8ef40ed936d4342e378016b4b2daf4c3e6"
+checksum = "a6477f14f0e380033455f0e3e6cdc33fd19932fe5f627a17b38e4666649336cb"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index fd75754..7f455c2 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.90.0"
+oxc = "0.92.0"
swc_ecma_parser = { version = "24.0.1", features = ["typescript"] }
swc_ecma_ast = "15.0.0"
From 9c1c7ff9dab88b81afedb8079c3a61bb82febf8f Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 28 Sep 2025 05:55:53 +0000
Subject: [PATCH 374/385] chore(deps): update rust crate swc_ecma_parser to
24.0.2 (#382)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Cargo.toml b/Cargo.toml
index 7f455c2..755a80c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.92.0"
-swc_ecma_parser = { version = "24.0.1", features = ["typescript"] }
+swc_ecma_parser = { version = "24.0.2", features = ["typescript"] }
swc_ecma_ast = "15.0.0"
# biome_js_parser = "0.5.6"
From 49ec24c42ec45c48653d02891f15db627a2a39a4 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 28 Sep 2025 09:21:10 +0000
Subject: [PATCH 375/385] chore(deps): update rust crate oxc to 0.93.0 (#383)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Cargo.toml b/Cargo.toml
index 755a80c..c51282d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.92.0"
+oxc = "0.93.0"
swc_ecma_parser = { version = "24.0.2", features = ["typescript"] }
swc_ecma_ast = "15.0.0"
From 91b5963d599e5f1790a649f4ed5f3754667f4d90 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 28 Sep 2025 17:06:50 +0000
Subject: [PATCH 376/385] chore(deps): update oxc-project/setup-rust action to
v1.0.6 (#384)
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 9883292..4f7ca28 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -21,7 +21,7 @@ jobs:
steps:
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1
- - uses: oxc-project/setup-rust@d286d43bc1f606abbd98096666ff8be68c8d5f57 # v1.0.2
+ - uses: oxc-project/setup-rust@f78b3964e121f889426634f0eaeeb09fccecac08 # v1.0.6
with:
save-cache: ${{ github.ref_name == 'main' }}
tools: cargo-codspeed
From 75ace9a0573382d181b6cfbcf8fffadf93253001 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 3 Oct 2025 07:52:32 +0000
Subject: [PATCH 377/385] chore(deps): update rust crate swc_ecma_parser to
24.0.3 (#385)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Cargo.toml b/Cargo.toml
index c51282d..95a93f6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ doctest = false
[dependencies]
oxc = "0.93.0"
-swc_ecma_parser = { version = "24.0.2", features = ["typescript"] }
+swc_ecma_parser = { version = "24.0.3", features = ["typescript"] }
swc_ecma_ast = "15.0.0"
# biome_js_parser = "0.5.6"
From f23cf2078d41d3a51246c900883c9f0606cae0a8 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 5 Oct 2025 17:11:12 +0000
Subject: [PATCH 378/385] chore(deps): update github-actions (#386)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.github/workflows/benchmark.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml
index 4f7ca28..81a52fb 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -21,7 +21,7 @@ jobs:
steps:
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1
- - uses: oxc-project/setup-rust@f78b3964e121f889426634f0eaeeb09fccecac08 # v1.0.6
+ - uses: oxc-project/setup-rust@1ff88fdaffd6ae35c0fb32ccc159340b37d0beac # v1.0.7
with:
save-cache: ${{ github.ref_name == 'main' }}
tools: cargo-codspeed
@@ -30,7 +30,7 @@ jobs:
run: cargo codspeed build --features codspeed
- name: Run benchmark
- uses: CodSpeedHQ/action@653fdc30e6c40ffd9739e40c8a0576f4f4523ca1 # v4.0.1
+ uses: CodSpeedHQ/action@3959e9e296ef25296e93e32afcc97196f966e57f # v4.1.0
with:
run: cargo codspeed run
mode: instrumentation
From 0c4a64c46d809aedfd23d5121224cc3be22ddfeb Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 6 Oct 2025 15:11:14 +0000
Subject: [PATCH 379/385] chore(deps): update rust crate oxc to 0.94.0 (#387)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Cargo.toml b/Cargo.toml
index 95a93f6..3ea5364 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.93.0"
+oxc = "0.94.0"
swc_ecma_parser = { version = "24.0.3", features = ["typescript"] }
swc_ecma_ast = "15.0.0"
From 2ee3188c5e4bbcbeabe98caaf3e6033e1e16ecab Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 12 Oct 2025 18:08:31 +0000
Subject: [PATCH 380/385] chore(deps): update codspeedhq/action action to
v4.1.1 (#388)
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 81a52fb..60d67fb 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -30,7 +30,7 @@ jobs:
run: cargo codspeed build --features codspeed
- name: Run benchmark
- uses: CodSpeedHQ/action@3959e9e296ef25296e93e32afcc97196f966e57f # v4.1.0
+ uses: CodSpeedHQ/action@6b43a0cd438f6ca5ad26f9ed03ed159ed2df7da9 # v4.1.1
with:
run: cargo codspeed run
mode: instrumentation
From d4b1184cc63f3c6be3bc10c3e2560ae143b9d265 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 12 Oct 2025 21:14:47 +0000
Subject: [PATCH 381/385] chore(deps): lock file maintenance (#389)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 184 +++++++++++++++++++++++++++--------------------------
1 file changed, 94 insertions(+), 90 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index ed6df70..629d457 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -149,9 +149,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.2.38"
+version = "1.2.41"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "80f41ae168f955c12fb8960b057d70d0ca153fb83182b57d86380443527be7e9"
+checksum = "ac9fe6cdbb24b6ade63616c0a0688e45bb56732262c158df3c0c4bea4ca47cb7"
dependencies = [
"find-msvc-tools",
"shlex",
@@ -343,9 +343,9 @@ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
[[package]]
name = "find-msvc-tools"
-version = "0.1.2"
+version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ced73b1dacfc750a6db6c0a0c3a3853c8b41997e2e2c563dc90804ae6867959"
+checksum = "52051878f80a721bb68ebfbc930e07b65ba72f2da88968ea5c06fd6ca3d3a127"
[[package]]
name = "form_urlencoded"
@@ -386,12 +386,13 @@ checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
[[package]]
name = "half"
-version = "2.6.0"
+version = "2.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "459196ed295495a68f7d7fe1d84f6c4b7ff0e21fe3017b2f283c6fac3ad803c9"
+checksum = "e54c115d4f30f52c67202f079c5f9d8b49db4691f460fdb0b4c2e838261b2ba5"
dependencies = [
"cfg-if",
"crunchy",
+ "zerocopy",
]
[[package]]
@@ -427,9 +428,9 @@ checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c"
[[package]]
name = "hstr"
-version = "2.0.1"
+version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ced1416104790052518d199e753d49a7d8130d476c664bc9e53f40cfecb8e615"
+checksum = "31f11d91d7befd2ffd9d216e9e5ea1fae6174b20a2a1b67a688138003d2f4122"
dependencies = [
"hashbrown 0.14.5",
"new_debug_unreachable",
@@ -565,9 +566,9 @@ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
[[package]]
name = "js-sys"
-version = "0.3.80"
+version = "0.3.81"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "852f13bec5eba4ba9afbeb93fd7c13fe56147f055939ae21c43a29a0ecb2702e"
+checksum = "ec48937a97411dcb524a265206ccd4c90bb711fca92b2792c407f268825b9305"
dependencies = [
"once_cell",
"wasm-bindgen",
@@ -581,9 +582,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
[[package]]
name = "libc"
-version = "0.2.175"
+version = "0.2.177"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543"
+checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976"
[[package]]
name = "libmimalloc-sys2"
@@ -610,9 +611,9 @@ checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432"
[[package]]
name = "memchr"
-version = "2.7.5"
+version = "2.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0"
+checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
[[package]]
name = "mimalloc-safe"
@@ -700,15 +701,15 @@ checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e"
[[package]]
name = "owo-colors"
-version = "4.2.2"
+version = "4.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e"
+checksum = "9c6901729fa79e91a0913333229e9ca5dc725089d1c363b2f4b4760709dc4a52"
[[package]]
name = "oxc"
-version = "0.92.0"
+version = "0.94.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "514174b0464005dd95e873f5236089949ab77c79cc8a8e9352721f06d45a0b8d"
+checksum = "0147cb62f855e00fc310021ca211413311681f5e6cea489f4e157c11c802f1a9"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -721,9 +722,9 @@ dependencies = [
[[package]]
name = "oxc-miette"
-version = "2.5.0"
+version = "2.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2d5495f6099fa0b25fa25755c1d59ed79ffa64dda80f5366a4cdfc8fc20f5932"
+checksum = "5c42cefdcbebec6b0b72229ac0e02261a6770cb7ba39ccc5475a856164066db1"
dependencies = [
"cfg-if",
"owo-colors",
@@ -731,14 +732,14 @@ dependencies = [
"textwrap",
"thiserror",
"unicode-segmentation",
- "unicode-width 0.2.1",
+ "unicode-width 0.2.2",
]
[[package]]
name = "oxc-miette-derive"
-version = "2.5.0"
+version = "2.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9dbbc96af6e37c35f2303b2bedbf8ce9cc563e4fbbf7776be6f0803cb0095652"
+checksum = "05bbaa5b6b98826bb62b164406f703bee72c5287af9986f9c863fa8ea992b476"
dependencies = [
"proc-macro2",
"quote",
@@ -747,9 +748,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.92.0"
+version = "0.94.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "79d9ac4e239df6f418d86176aa4af85f850f60823a8708fd50a6f7d6f475a07d"
+checksum = "9c2294f53fe0d6a715ad1877300fe5432033db1e5804800f82ee84840bd09894"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -760,9 +761,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.92.0"
+version = "0.94.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "013500b777b89130b5f79b545d252d9a147db7ef91f07954da394400ae7f14c9"
+checksum = "678ce41e4a2fc2b5eb2b870a2b2dec2e0cdd9861d1bc22d19f6ce2dd2942f236"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -777,9 +778,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.92.0"
+version = "0.94.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9711ea5f01691277822413f0bb56085ac1b867f9cb2090387f634a94a2d4f64c"
+checksum = "85d18fd697fdceb2b61329e3fff5b3b61520b9a2f898714ed84345bfa0957b9e"
dependencies = [
"phf 0.13.1",
"proc-macro2",
@@ -789,15 +790,15 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.92.0"
+version = "0.94.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5bccdfe08b75babe4944aefcc84f8d795d48a0155fcb20c4855c46eabf6e5d49"
+checksum = "0ca52a37a6fc68321a86a169064993d7bb5ea83efe64ff0fa6f8d4718261718d"
[[package]]
name = "oxc_diagnostics"
-version = "0.92.0"
+version = "0.94.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e710dd26a2946f906ccd449a2d34f195b0461e5a8776db067ed207189f0213f3"
+checksum = "5a671bb9d9e9ef62a89e8b8f2308f511246d42ff56403831b7f0e32432861563"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -806,9 +807,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.92.0"
+version = "0.94.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "80c03f1a2246f422197c317585b056dbc283a4cfb10c8058cb3296b87cb835da"
+checksum = "569d276186f994866a9793fac530361995c204ee62bbcf351168352434119373"
dependencies = [
"cow-utils",
"num-bigint",
@@ -821,21 +822,25 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.92.0"
+version = "0.94.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "36ee39a2fc76ae96ccb5dcfea6c430e09e93e4fbcd9ec7f35fe787ea3fb6873a"
+checksum = "916aaf325a3156c3d12d15c88d7d0fa1049090dad5e227659b74494ccf5258db"
[[package]]
name = "oxc_index"
-version = "3.1.0"
+version = "4.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "967ae797e1f284bd1385f2d8e8ab94293ad27f623c76839ecf66827521365f5b"
+checksum = "eb3e6120999627ec9703025eab7c9f410ebb7e95557632a8902ca48210416c2b"
+dependencies = [
+ "nonmax",
+ "serde",
+]
[[package]]
name = "oxc_parser"
-version = "0.92.0"
+version = "0.94.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "86612cd26f817679d522b7ed33e525537ec5c0a7165d4d23138b8cbaf896d0d5"
+checksum = "7db89e1c024fe806c90c8bae0a40b4efac5ac76c07d148b1fa93cbc0efaa50dd"
dependencies = [
"bitflags",
"cow-utils",
@@ -856,9 +861,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.92.0"
+version = "0.94.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7dc07d4e5d8337f5b6bbadadf1787d2a320f99969c9602ed03c823babd0084a"
+checksum = "4de2762ca6e1d717ed35a0e65086ea4495b0b69534fe7d3c4a846f4b53a2f231"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -872,9 +877,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.92.0"
+version = "0.94.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "be7ea89d6e858be16ef14f9a9be81ee210c17cb29bb95d5c86881251075071af"
+checksum = "0f0567f9473b114f91493baab8f9c6f8bfb9e7f7767a861544c147a4eeba9e00"
dependencies = [
"compact_str",
"oxc-miette",
@@ -885,9 +890,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.92.0"
+version = "0.94.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a6477f14f0e380033455f0e3e6cdc33fd19932fe5f627a17b38e4666649336cb"
+checksum = "163ca5aee9139e5b04c5848795e632dbdcb472be1b3658be4b32ff957993610d"
dependencies = [
"bitflags",
"cow-utils",
@@ -900,7 +905,6 @@ dependencies = [
"oxc_index",
"oxc_span",
"phf 0.13.1",
- "rustc-hash",
"unicode-id-start",
]
@@ -1021,18 +1025,18 @@ dependencies = [
[[package]]
name = "psm"
-version = "0.1.26"
+version = "0.1.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e944464ec8536cd1beb0bbfd96987eb5e3b72f2ecdafdc5c769a37f1fa2ae1f"
+checksum = "e66fcd288453b748497d8fb18bccc83a16b0518e3906d4b8df0a8d42d93dbb1c"
dependencies = [
"cc",
]
[[package]]
name = "quote"
-version = "1.0.40"
+version = "1.0.41"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
+checksum = "ce25767e7b499d1b604768e7cde645d14cc8584231ea6b295e9c9eb22c02e1d1"
dependencies = [
"proc-macro2",
]
@@ -1119,9 +1123,9 @@ checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc"
[[package]]
name = "serde"
-version = "1.0.226"
+version = "1.0.228"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0dca6411025b24b60bfa7ec1fe1f8e710ac09782dca409ee8237ba74b51295fd"
+checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
dependencies = [
"serde_core",
"serde_derive",
@@ -1129,18 +1133,18 @@ dependencies = [
[[package]]
name = "serde_core"
-version = "1.0.226"
+version = "1.0.228"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ba2ba63999edb9dac981fb34b3e5c0d111a69b0924e253ed29d83f7c99e966a4"
+checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.226"
+version = "1.0.228"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8db53ae22f34573731bafa1db20f04027b2d25e02d8205921b569171699cdb33"
+checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
dependencies = [
"proc-macro2",
"quote",
@@ -1203,15 +1207,15 @@ checksum = "b7c388c1b5e93756d0c740965c41e8822f866621d41acbdf6336a6a168f8840c"
[[package]]
name = "stable_deref_trait"
-version = "1.2.0"
+version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
+checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
[[package]]
name = "stacker"
-version = "0.1.21"
+version = "0.1.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cddb07e32ddb770749da91081d8d0ac3a16f1a569a18b20348cd371f5dead06b"
+checksum = "e1f8b29fb42aafcea4edeeb6b2f2d7ecd0d969c48b4cf0d2e64aafc471dd6e59"
dependencies = [
"cc",
"cfg-if",
@@ -1305,9 +1309,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "23.0.1"
+version = "23.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "67c3bd958a5a67e2cc3f74abdd41fda688e54e7a25b866569260ef7018b67972"
+checksum = "017d06ea85008234aa9fb34d805c7dc563f2ea6e03869ed5ac5a2dc27d561e4d"
dependencies = [
"arrayvec",
"bitflags",
@@ -1328,9 +1332,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "24.0.1"
+version = "24.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e8079e65c43d8f3e64e791321355f5864322425fce3a3ab7fc959bbddb531933"
+checksum = "2e9011783c975ba592ffc09cd208ced92b1dfabb2e5e0ef453559e2e25286127"
dependencies = [
"either",
"num-bigint",
@@ -1404,23 +1408,23 @@ checksum = "c13547615a44dc9c452a8a534638acdf07120d4b6847c8178705da06306a3057"
dependencies = [
"smawk",
"unicode-linebreak",
- "unicode-width 0.2.1",
+ "unicode-width 0.2.2",
]
[[package]]
name = "thiserror"
-version = "2.0.16"
+version = "2.0.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3467d614147380f2e4e374161426ff399c91084acd2363eaf549172b3d5e60c0"
+checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
-version = "2.0.16"
+version = "2.0.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c5e1be1c48b9172ee610da68fd9cd2770e7a4056cb3fc98710ee6906f0c7960"
+checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913"
dependencies = [
"proc-macro2",
"quote",
@@ -1470,9 +1474,9 @@ dependencies = [
[[package]]
name = "triomphe"
-version = "0.1.14"
+version = "0.1.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ef8f7726da4807b58ea5c96fdc122f80702030edc33b35aff9190a51148ccc85"
+checksum = "dd69c5aa8f924c7519d6372789a74eac5b94fb0f8fcf0d4a97eb0bfc3e785f39"
dependencies = [
"serde",
"stable_deref_trait",
@@ -1510,9 +1514,9 @@ checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af"
[[package]]
name = "unicode-width"
-version = "0.2.1"
+version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4a1a07cc7db3810833284e8d372ccdc6da29741639ecc70c9ec107df0fa6154c"
+checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254"
[[package]]
name = "url"
@@ -1579,9 +1583,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen"
-version = "0.2.103"
+version = "0.2.104"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ab10a69fbd0a177f5f649ad4d8d3305499c42bab9aef2f7ff592d0ec8f833819"
+checksum = "c1da10c01ae9f1ae40cbfac0bac3b1e724b320abfcf52229f80b547c0d250e2d"
dependencies = [
"cfg-if",
"once_cell",
@@ -1592,9 +1596,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-backend"
-version = "0.2.103"
+version = "0.2.104"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0bb702423545a6007bbc368fde243ba47ca275e549c8a28617f56f6ba53b1d1c"
+checksum = "671c9a5a66f49d8a47345ab942e2cb93c7d1d0339065d4f8139c486121b43b19"
dependencies = [
"bumpalo",
"log",
@@ -1606,9 +1610,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro"
-version = "0.2.103"
+version = "0.2.104"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fc65f4f411d91494355917b605e1480033152658d71f722a90647f56a70c88a0"
+checksum = "7ca60477e4c59f5f2986c50191cd972e3a50d8a95603bc9434501cf156a9a119"
dependencies = [
"quote",
"wasm-bindgen-macro-support",
@@ -1616,9 +1620,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro-support"
-version = "0.2.103"
+version = "0.2.104"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ffc003a991398a8ee604a401e194b6b3a39677b3173d6e74495eb51b82e99a32"
+checksum = "9f07d2f20d4da7b26400c9f4a0511e6e0345b040694e8a75bd41d578fa4421d7"
dependencies = [
"proc-macro2",
"quote",
@@ -1629,9 +1633,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-shared"
-version = "0.2.103"
+version = "0.2.104"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "293c37f4efa430ca14db3721dfbe48d8c33308096bd44d80ebaa775ab71ba1cf"
+checksum = "bad67dc8b2a1a6e5448428adec4c3e84c43e561d8c9ee8a9e5aabeb193ec41d1"
dependencies = [
"unicode-ident",
]
@@ -1642,14 +1646,14 @@ version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
dependencies = [
- "windows-sys 0.61.0",
+ "windows-sys 0.61.2",
]
[[package]]
name = "windows-link"
-version = "0.2.0"
+version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "45e46c0661abb7180e7b9c281db115305d49ca1709ab8242adf09666d2173c65"
+checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
[[package]]
name = "windows-sys"
@@ -1662,9 +1666,9 @@ dependencies = [
[[package]]
name = "windows-sys"
-version = "0.61.0"
+version = "0.61.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e201184e40b2ede64bc2ea34968b28e33622acdbbf37104f0e4a33f7abe657aa"
+checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
dependencies = [
"windows-link",
]
From 90a03b1956fdd8de85649fac964ac150ce939f8f Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 15 Oct 2025 08:43:04 +0000
Subject: [PATCH 382/385] chore(deps): update rust crate oxc to 0.95.0 (#390)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 48 ++++++++++++++++++++++++------------------------
Cargo.toml | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 629d457..db63f6e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -707,9 +707,9 @@ checksum = "9c6901729fa79e91a0913333229e9ca5dc725089d1c363b2f4b4760709dc4a52"
[[package]]
name = "oxc"
-version = "0.94.0"
+version = "0.95.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0147cb62f855e00fc310021ca211413311681f5e6cea489f4e157c11c802f1a9"
+checksum = "8ca2b36d3a7519a1aa606ecdb2d48f01bcdaba810d0a74881c9aebb41d8bec42"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -748,9 +748,9 @@ dependencies = [
[[package]]
name = "oxc_allocator"
-version = "0.94.0"
+version = "0.95.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9c2294f53fe0d6a715ad1877300fe5432033db1e5804800f82ee84840bd09894"
+checksum = "433214c659b860685d987ca25a523a544d35ebf87ee3658a942fd1c664cfa49b"
dependencies = [
"allocator-api2",
"bumpalo",
@@ -761,9 +761,9 @@ dependencies = [
[[package]]
name = "oxc_ast"
-version = "0.94.0"
+version = "0.95.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "678ce41e4a2fc2b5eb2b870a2b2dec2e0cdd9861d1bc22d19f6ce2dd2942f236"
+checksum = "0e78ea25d23521092edcd509198635dd0bd96df7fb71349bcd8087bb8f6a615d"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -778,9 +778,9 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
-version = "0.94.0"
+version = "0.95.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "85d18fd697fdceb2b61329e3fff5b3b61520b9a2f898714ed84345bfa0957b9e"
+checksum = "d3f29bf83925451a7ebbd30d3ff449414cc230c9b63aba70487c2ca74ea1e3ed"
dependencies = [
"phf 0.13.1",
"proc-macro2",
@@ -790,15 +790,15 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
-version = "0.94.0"
+version = "0.95.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ca52a37a6fc68321a86a169064993d7bb5ea83efe64ff0fa6f8d4718261718d"
+checksum = "dd090988aa69c1e394f424289abb9bb1281448a072419ca556a07228ad36b854"
[[package]]
name = "oxc_diagnostics"
-version = "0.94.0"
+version = "0.95.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a671bb9d9e9ef62a89e8b8f2308f511246d42ff56403831b7f0e32432861563"
+checksum = "9b8a09558d38ee7f23faf0249cdb37b5b26f53a7375941f8636c41c661b283ce"
dependencies = [
"cow-utils",
"oxc-miette",
@@ -807,9 +807,9 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
-version = "0.94.0"
+version = "0.95.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "569d276186f994866a9793fac530361995c204ee62bbcf351168352434119373"
+checksum = "c0002ece1cc266aa6654913d39cf552b0cf501afce9d953b87c283dfcd307266"
dependencies = [
"cow-utils",
"num-bigint",
@@ -822,9 +822,9 @@ dependencies = [
[[package]]
name = "oxc_estree"
-version = "0.94.0"
+version = "0.95.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "916aaf325a3156c3d12d15c88d7d0fa1049090dad5e227659b74494ccf5258db"
+checksum = "af85b24b7e10bf0ccb252f16d38492f51236c1ba146f62013993667cbf7fa649"
[[package]]
name = "oxc_index"
@@ -838,9 +838,9 @@ dependencies = [
[[package]]
name = "oxc_parser"
-version = "0.94.0"
+version = "0.95.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7db89e1c024fe806c90c8bae0a40b4efac5ac76c07d148b1fa93cbc0efaa50dd"
+checksum = "fb730ab93ff23bbc471ef7109f847afa709bb284dd52a5d3366283d724858158"
dependencies = [
"bitflags",
"cow-utils",
@@ -861,9 +861,9 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
-version = "0.94.0"
+version = "0.95.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4de2762ca6e1d717ed35a0e65086ea4495b0b69534fe7d3c4a846f4b53a2f231"
+checksum = "27bafc3035e3b0fe555ae56f7bbc108a7ee520b0858250ba16d197e44ca83746"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -877,9 +877,9 @@ dependencies = [
[[package]]
name = "oxc_span"
-version = "0.94.0"
+version = "0.95.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0f0567f9473b114f91493baab8f9c6f8bfb9e7f7767a861544c147a4eeba9e00"
+checksum = "71243fe1ece27f71a6be5e2ab11d051792eeb578f3b056d7c9bbe82ec8043bf3"
dependencies = [
"compact_str",
"oxc-miette",
@@ -890,9 +890,9 @@ dependencies = [
[[package]]
name = "oxc_syntax"
-version = "0.94.0"
+version = "0.95.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "163ca5aee9139e5b04c5848795e632dbdcb472be1b3658be4b32ff957993610d"
+checksum = "93c99e555ed497111004a71fb2aa6f8fb90b0d3e2733aceeb035e24701d69634"
dependencies = [
"bitflags",
"cow-utils",
diff --git a/Cargo.toml b/Cargo.toml
index 3ea5364..fbb8b0d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ doctest = false
# doctest = false
[dependencies]
-oxc = "0.94.0"
+oxc = "0.95.0"
swc_ecma_parser = { version = "24.0.3", features = ["typescript"] }
swc_ecma_ast = "15.0.0"
From 9bcb374961807fb440f00119a1c9fb803eb79aad Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 19 Oct 2025 17:29:16 +0000
Subject: [PATCH 383/385] chore(deps): update codspeedhq/action action to
v4.2.1 (#391)
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 60d67fb..f374a9e 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -30,7 +30,7 @@ jobs:
run: cargo codspeed build --features codspeed
- name: Run benchmark
- uses: CodSpeedHQ/action@6b43a0cd438f6ca5ad26f9ed03ed159ed2df7da9 # v4.1.1
+ uses: CodSpeedHQ/action@c6574d0c2a990bca2842ce9af71549c5bfd7fbe0 # v4.2.1
with:
run: cargo codspeed run
mode: instrumentation
From 31da3c080df5f9d2f6714ae6af909a76ae9d3db6 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 19 Oct 2025 21:01:22 +0000
Subject: [PATCH 384/385] chore(deps): lock file maintenance rust crates (#392)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 35 +++++++++++++----------------------
1 file changed, 13 insertions(+), 22 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index db63f6e..4055b5f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -159,9 +159,9 @@ dependencies = [
[[package]]
name = "cfg-if"
-version = "1.0.3"
+version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9"
+checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
[[package]]
name = "cfg_aliases"
@@ -368,14 +368,14 @@ dependencies = [
[[package]]
name = "getrandom"
-version = "0.3.3"
+version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4"
+checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
dependencies = [
"cfg-if",
"libc",
"r-efi",
- "wasi",
+ "wasip2",
]
[[package]]
@@ -386,9 +386,9 @@ checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
[[package]]
name = "half"
-version = "2.7.0"
+version = "2.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e54c115d4f30f52c67202f079c5f9d8b49db4691f460fdb0b4c2e838261b2ba5"
+checksum = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b"
dependencies = [
"cfg-if",
"crunchy",
@@ -588,9 +588,9 @@ checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976"
[[package]]
name = "libmimalloc-sys2"
-version = "0.1.50"
+version = "0.1.51"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "25b61410dbb32927c2cb4e3553cd5d960d441d60aedff77ca769d76981d055fd"
+checksum = "f40d03e07b2ba6b86d53380611485c71d35b009a5949b7566a8ac5949f6cde58"
dependencies = [
"cc",
"cmake",
@@ -617,9 +617,9 @@ checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
[[package]]
name = "mimalloc-safe"
-version = "0.1.54"
+version = "0.1.55"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d445a467f53fb44c1e2535950d3036cabf8020577adee33afd242cef76790e63"
+checksum = "664f11d12bce99bf21ef61c1949a88dc34440de83dd1b8dcb0b636b74b1d7e21"
dependencies = [
"libmimalloc-sys2",
]
@@ -1380,9 +1380,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.106"
+version = "2.0.107"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6"
+checksum = "2a26dbd934e5451d21ef060c018dae56fc073894c5a7896f882928a76e6d081b"
dependencies = [
"proc-macro2",
"quote",
@@ -1563,15 +1563,6 @@ dependencies = [
"winapi-util",
]
-[[package]]
-name = "wasi"
-version = "0.14.7+wasi-0.2.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "883478de20367e224c0090af9cf5f9fa85bed63a95c1abf3afc5c083ebc06e8c"
-dependencies = [
- "wasip2",
-]
-
[[package]]
name = "wasip2"
version = "1.0.1+wasi-0.2.4"
From de80039612e16df4f46bba4fa0c2eb74924ebb4f Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 20 Oct 2025 04:48:29 +0000
Subject: [PATCH 385/385] chore(deps): update swc (#393)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
Cargo.lock | 20 ++++++++++----------
Cargo.toml | 4 ++--
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 4055b5f..88e6021 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -49,9 +49,9 @@ checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
[[package]]
name = "ast_node"
-version = "3.0.4"
+version = "4.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0a184645bcc6f52d69d8e7639720699c6a99efb711f886e251ed1d16db8dd90e"
+checksum = "c4902c7f39335a2390500ee791d6cb1778e742c7b97952497ec81449a5bfa3a7"
dependencies = [
"quote",
"swc_macros_common",
@@ -1264,9 +1264,9 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "14.0.4"
+version = "15.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c2bb772b3a26b8b71d4e8c112ced5b5867be2266364b58517407a270328a2696"
+checksum = "13be0317490fc330a53ee9e64b26891503c35336b509eb69c4fc1dc4e0119ff9"
dependencies = [
"anyhow",
"ast_node",
@@ -1290,9 +1290,9 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "15.0.0"
+version = "16.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "65c25af97d53cf8aab66a6c68f3418663313fc969ad267fc2a4d19402c329be1"
+checksum = "add9298e06af471f29aea2f8d1b6232885bd2a634521d0e95dc9d5bde3d39d3d"
dependencies = [
"bitflags",
"is-macro",
@@ -1309,9 +1309,9 @@ dependencies = [
[[package]]
name = "swc_ecma_lexer"
-version = "23.0.2"
+version = "24.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "017d06ea85008234aa9fb34d805c7dc563f2ea6e03869ed5ac5a2dc27d561e4d"
+checksum = "dfc7dca92e2239f09d177999b0fae2efe6e68a51eae1d9bae85b2efa78537924"
dependencies = [
"arrayvec",
"bitflags",
@@ -1332,9 +1332,9 @@ dependencies = [
[[package]]
name = "swc_ecma_parser"
-version = "24.0.3"
+version = "25.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2e9011783c975ba592ffc09cd208ced92b1dfabb2e5e0ef453559e2e25286127"
+checksum = "c8a43a89976cdbb42f152cfbd89a430b1fb693a9e0f2b5e2b1959466a88c3de0"
dependencies = [
"either",
"num-bigint",
diff --git a/Cargo.toml b/Cargo.toml
index fbb8b0d..03f998f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ doctest = false
[dependencies]
oxc = "0.95.0"
-swc_ecma_parser = { version = "24.0.3", features = ["typescript"] }
-swc_ecma_ast = "15.0.0"
+swc_ecma_parser = { version = "25.0.0", features = ["typescript"] }
+swc_ecma_ast = "16.0.0"
# biome_js_parser = "0.5.6"
# biome_js_syntax = "0.5.6"