diff --git a/crates/amaro/Cargo.lock b/crates/amaro/Cargo.lock index 6223e12d4..ba5ae5db9 100644 --- a/crates/amaro/Cargo.lock +++ b/crates/amaro/Cargo.lock @@ -1126,9 +1126,9 @@ dependencies = [ [[package]] name = "swc_ecma_codegen" -version = "32.0.4" +version = "32.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1387962cb942b27737db3e0227c1cfe5a656d72a7460575deddd5e69e3c2dcc" +checksum = "967aff044e24cd2c725cdc3067835824fcde9a918ef3222512db8b08bb479966" dependencies = [ "ascii", "compact_str", @@ -1173,9 +1173,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "46.1.1" +version = "46.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fc77f241a90e3d5f82187bf1b6aa51ac054095b77c29b9e87518f98f0858218" +checksum = "a032f869f6690d4eddd6e67757c8d849f2c8219d8c5f3bb05a7ec8b456867642" dependencies = [ "bitflags", "either", @@ -1193,9 +1193,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_base" -version = "50.0.2" +version = "50.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30f910d367033f90ca145da726c3964f7fac664d68e7de0ff87c9803daa93513" +checksum = "23900618b7d3080d867559bdea5c4b696160ab7cdc97b4781b2353d2b5b9c485" dependencies = [ "better_scoped_tls", "indexmap", @@ -1240,9 +1240,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_typescript" -version = "56.0.0" +version = "56.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56dc3ffb560b68db6fdde19f37fb16723fc8debb675f70f0b518abefee87da78" +checksum = "af1a8eb6123ae1d50351098cc218799f7cc028d147a7c8b7f700e2d7237c0aaf" dependencies = [ "bytes-str", "rustc-hash", @@ -1346,12 +1346,11 @@ dependencies = [ [[package]] name = "swc_ts_fast_strip" -version = "59.0.1" +version = "59.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3589583191d9920b403bdd21a617acb43e2d6b779ff9941d36726a69c6e71554" +checksum = "fb19ef5bf46cb01138c4460ae0a20c210fc3eb8da6919a766a19751b1d6847c6" dependencies = [ "anyhow", - "bytes-str", "serde", "swc_atoms", "swc_common", diff --git a/crates/amaro/Cargo.toml b/crates/amaro/Cargo.toml index 73ac6dc38..65d7f9480 100644 --- a/crates/amaro/Cargo.toml +++ b/crates/amaro/Cargo.toml @@ -30,10 +30,10 @@ wasm-bindgen-futures = "0.4.50" # combinations SWC publishes; Dependabot bumps them as one group. swc_common = { version = "=26.0.0" } swc_ecma_ast = { version = "=29.0.2" } -swc_ecma_parser = { version = "=46.1.1", features = ["unstable"] } +swc_ecma_parser = { version = "=46.1.2", features = ["unstable"] } swc_ecma_visit = { version = "=29.0.0" } swc_error_reporters = { version = "=28.0.0" } -swc_ts_fast_strip = { version = "=59.0.1", features = ["wasm-bindgen"] } +swc_ts_fast_strip = { version = "=59.0.2", features = ["wasm-bindgen"] } [profile.release] lto = "fat" diff --git a/test/snapshots/index.test.js.snapshot b/test/snapshots/index.test.js.snapshot index 6ffdb38de..8092b567e 100644 --- a/test/snapshots/index.test.js.snapshot +++ b/test/snapshots/index.test.js.snapshot @@ -1,25 +1,25 @@ exports[`erasable namespaces and modules should be supported 1`] = ` -" " +"; " `; exports[`erasable namespaces and modules should be supported 2`] = ` -" \\n \\t\\t \\n\\n \\t\\t \\n\\n \\t\\t\\t \\n\\n\\t\\t\\t \\n\\t\\t\\t\\t \\n\\t\\t\\t \\n\\t\\t " +"; \\n \\t\\t \\n\\n \\t\\t \\n\\n \\t\\t\\t \\n\\n\\t\\t\\t \\n\\t\\t\\t\\t \\n\\t\\t\\t \\n\\t\\t " `; exports[`erasable namespaces and modules should be supported 3`] = ` -" \\n \\t\\t \\n\\t\\t " +"; \\n \\t\\t \\n\\t\\t " `; exports[`erasable namespaces and modules should be supported 4`] = ` -" " +"; " `; exports[`should handle User type and isAdult function 1`] = ` -"\\n \\n \\n \\n \\n\\n function isAdult(user ) {\\n return user.age >= 18;\\n }\\n " +"\\n ; \\n \\n \\n \\n\\n function isAdult(user ) {\\n return user.age >= 18;\\n }\\n " `; exports[`should handle advanced type-level constructs 1`] = ` -"\\n\\t\\t \\n\\n\\t\\t \\n\\n\\t\\t \\n\\n\\t\\t \\n\\t\\t \\n\\n\\t\\t \\n\\t" +"\\n\\t\\t; \\n\\n\\t\\t \\n\\n\\t\\t \\n\\n\\t\\t \\n\\t\\t \\n\\n\\t\\t \\n\\t" `; exports[`should handle class modifiers 1`] = ` @@ -51,7 +51,7 @@ exports[`should perform type stripping on nested generics 1`] = ` `; exports[`should preserve import/export type declarations 1`] = ` -"\\n\\t\\t \\n\\t\\t \\n\\t" +"\\n\\t\\t; \\n\\t\\t \\n\\t" `; exports[`should strip 'satisfies' expressions 1`] = ` @@ -79,11 +79,11 @@ exports[`should strip type annotations from generics 1`] = ` `; exports[`should strip type annotations from interfaces 1`] = ` -"\\n \\n \\n \\n " +"\\n ; \\n \\n \\n " `; exports[`should strip type annotations from type aliases 1`] = ` -"\\n \\n " +"\\n ; \\n " `; exports[`should strip type annotations from type assertions 1`] = `