From 8d4208e0015c1f82610aabf804c79f783ae6b0ee Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Sat, 17 Feb 2024 12:03:38 -0800 Subject: [PATCH] chore: update last-known-good SWC to most recent The fix we needed https://github.com/swc-project/swc/pull/8757 was included in https://github.com/swc-project/swc/compare/v1.4.8...v1.4.11 --- examples/rc/src/expected.js.map | 2 +- swc/repositories.bzl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/rc/src/expected.js.map b/examples/rc/src/expected.js.map index 7522e2d..1351d93 100644 --- a/examples/rc/src/expected.js.map +++ b/examples/rc/src/expected.js.map @@ -1 +1 @@ -{"version":3,"sources":["in.ts"],"sourcesContent":["export const a: string = \"foo\";\n"],"names":["a"],"mappings":";;;;+BAAaA;;;eAAAA;;;AAAN,MAAMA,IAAY"} \ No newline at end of file +{"version":3,"sources":["in.ts"],"sourcesContent":["export const a: string = \"foo\";\n"],"names":["a"],"rangeMappings":";;;;;;;;;;","mappings":";;;;+BAAaA;;;eAAAA;;;AAAN,MAAMA,IAAY"} \ No newline at end of file diff --git a/swc/repositories.bzl b/swc/repositories.bzl index 51365b9..aef83af 100644 --- a/swc/repositories.bzl +++ b/swc/repositories.bzl @@ -38,7 +38,7 @@ load("//swc/private:versions.bzl", "TOOL_VERSIONS") # NB: we don't use the "most recent release" since swc has a history of often breaking Bazel usage # with subtle changes that get through their tests. # So instead, this reflects the latest version that is "known good" according to our test suite. -LATEST_SWC_VERSION = "v1.3.78" +LATEST_SWC_VERSION = "v1.4.11" # TODO(2.0): remove this alias LATEST_VERSION = LATEST_SWC_VERSION