Skip to content

Commit f71a781

Browse files
committed
fix regression
1 parent 7123088 commit f71a781

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/swc_ecma_transforms_typescript/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ swc_ecma_visit = { version = "14.0.0", path = "../swc_ecma_visit" }
3232
codspeed-criterion-compat = { workspace = true }
3333

3434
swc_ecma_codegen = { version = "16.0.0", path = "../swc_ecma_codegen" }
35+
swc_ecma_compat_es2020 = { version = "24.0.0", path = "../swc_ecma_compat_es2020" }
3536
swc_ecma_parser = { version = "22.0.3", path = "../swc_ecma_parser" }
3637
swc_ecma_transforms_compat = { version = "25.0.0", path = "../swc_ecma_transforms_compat" }
3738
swc_ecma_transforms_proposal = { version = "23.0.0", path = "../swc_ecma_transforms_proposal" }

crates/swc_ecma_transforms_typescript/benches/compat.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ fn es2020(b: &mut Bencher) {
143143

144144
fn es2020_nullish_coalescing(b: &mut Bencher) {
145145
run(b, |_| {
146-
swc_ecma_transforms_compat::es2020::nullish_coalescing(
147-
swc_ecma_transforms_compat::es2020::nullish_coalescing::Config {
146+
swc_ecma_compat_es2020::nullish_coalescing(
147+
swc_ecma_compat_es2020::nullish_coalescing::Config {
148148
no_document_all: false,
149149
},
150150
)

0 commit comments

Comments
 (0)