diff --git a/.github/swc-ecosystem-ci/tests/tldraw.ts b/.github/swc-ecosystem-ci/todos/tldraw.ts similarity index 100% rename from .github/swc-ecosystem-ci/tests/tldraw.ts rename to .github/swc-ecosystem-ci/todos/tldraw.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index ef39f203e08a..ed1d4a7cebbe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ # Changelog -## [unreleased] +## [1.7.42] - 2024-10-31 ### Bug Fixes diff --git a/bindings/Cargo.lock b/bindings/Cargo.lock index 70df7b8674a2..5e1a443eba46 100644 --- a/bindings/Cargo.lock +++ b/bindings/Cargo.lock @@ -249,7 +249,7 @@ dependencies = [ [[package]] name = "binding_core_wasm" -version = "1.7.41-nightly-20241031.1" +version = "1.7.42" dependencies = [ "anyhow", "getrandom", @@ -336,7 +336,7 @@ dependencies = [ [[package]] name = "binding_minifier_wasm" -version = "1.7.41-nightly-20241031.1" +version = "1.7.42" dependencies = [ "anyhow", "getrandom", @@ -349,7 +349,7 @@ dependencies = [ [[package]] name = "binding_typescript_wasm" -version = "1.7.41-nightly-20241031.1" +version = "1.7.42" dependencies = [ "anyhow", "getrandom", @@ -876,7 +876,7 @@ dependencies = [ "cssparser-macros", "dtoa-short", "itoa", - "phf 0.11.2", + "phf 0.10.1", "smallvec", ] @@ -2447,7 +2447,9 @@ version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259" dependencies = [ + "phf_macros 0.10.0", "phf_shared 0.10.0", + "proc-macro-hack", ] [[package]] @@ -2456,7 +2458,7 @@ version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ade2d8b8f33c7333b51bcf0428d37e217e9f32192ae4772156f65063b8ce03dc" dependencies = [ - "phf_macros", + "phf_macros 0.11.2", "phf_shared 0.11.2", ] @@ -2490,6 +2492,20 @@ dependencies = [ "rand", ] +[[package]] +name = "phf_macros" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58fdf3184dd560f160dd73922bea2d5cd6e8f064bf4b13110abd81b03697b4e0" +dependencies = [ + "phf_generator 0.10.0", + "phf_shared 0.10.0", + "proc-macro-hack", + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "phf_macros" version = "0.11.2" @@ -2626,6 +2642,12 @@ dependencies = [ "version_check", ] +[[package]] +name = "proc-macro-hack" +version = "0.5.20+deprecated" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" + [[package]] name = "proc-macro2" version = "1.0.86" @@ -3508,7 +3530,7 @@ dependencies = [ [[package]] name = "swc_cli" -version = "0.91.435" +version = "0.91.437" dependencies = [ "anyhow", "swc_cli_impl", diff --git a/bindings/binding_core_wasm/Cargo.toml b/bindings/binding_core_wasm/Cargo.toml index dd6378a076ad..2f033ad23a00 100644 --- a/bindings/binding_core_wasm/Cargo.toml +++ b/bindings/binding_core_wasm/Cargo.toml @@ -6,7 +6,7 @@ license = "Apache-2.0" name = "binding_core_wasm" publish = false repository = "https://github.com/swc-project/swc.git" -version = "1.7.41-nightly-20241031.1" +version = "1.7.42" [lib] bench = false diff --git a/bindings/binding_minifier_wasm/Cargo.toml b/bindings/binding_minifier_wasm/Cargo.toml index 75bbc0c258eb..ce23368db6e1 100644 --- a/bindings/binding_minifier_wasm/Cargo.toml +++ b/bindings/binding_minifier_wasm/Cargo.toml @@ -6,7 +6,7 @@ license = "Apache-2.0" name = "binding_minifier_wasm" publish = false repository = "https://github.com/swc-project/swc.git" -version = "1.7.41-nightly-20241031.1" +version = "1.7.42" [lib] bench = false diff --git a/bindings/binding_typescript_wasm/Cargo.toml b/bindings/binding_typescript_wasm/Cargo.toml index 6ae60622fce3..b24d8f57ffc8 100644 --- a/bindings/binding_typescript_wasm/Cargo.toml +++ b/bindings/binding_typescript_wasm/Cargo.toml @@ -6,7 +6,7 @@ license = "Apache-2.0" name = "binding_typescript_wasm" publish = false repository = "https://github.com/swc-project/swc.git" -version = "1.7.41-nightly-20241031.1" +version = "1.7.42" [lib] bench = false diff --git a/bindings/swc_cli/Cargo.toml b/bindings/swc_cli/Cargo.toml index 5b166098a36e..bdc1ec79720b 100644 --- a/bindings/swc_cli/Cargo.toml +++ b/bindings/swc_cli/Cargo.toml @@ -6,7 +6,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_cli" repository = "https://github.com/swc-project/swc.git" -version = "0.91.435" +version = "0.91.437" [[bin]] bench = false diff --git a/packages/core/package.json b/packages/core/package.json index 4b4cfead9ebb..b9eaf8c6f563 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@swc/core", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "description": "Super-fast alternative for babel", "homepage": "https://swc.rs", "main": "./index.js", diff --git a/packages/core/scripts/npm/darwin-arm64/package.json b/packages/core/scripts/npm/darwin-arm64/package.json index 85959cb0704c..7bb4914473c3 100644 --- a/packages/core/scripts/npm/darwin-arm64/package.json +++ b/packages/core/scripts/npm/darwin-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@swc/core-darwin-arm64", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "darwin" ], diff --git a/packages/core/scripts/npm/darwin-x64/package.json b/packages/core/scripts/npm/darwin-x64/package.json index e6e09c3aa28f..ff7af30bb1ac 100644 --- a/packages/core/scripts/npm/darwin-x64/package.json +++ b/packages/core/scripts/npm/darwin-x64/package.json @@ -1,6 +1,6 @@ { "name": "@swc/core-darwin-x64", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "darwin" ], diff --git a/packages/core/scripts/npm/linux-arm-gnueabihf/package.json b/packages/core/scripts/npm/linux-arm-gnueabihf/package.json index a820aa368e8a..2e51a95663c9 100644 --- a/packages/core/scripts/npm/linux-arm-gnueabihf/package.json +++ b/packages/core/scripts/npm/linux-arm-gnueabihf/package.json @@ -1,6 +1,6 @@ { "name": "@swc/core-linux-arm-gnueabihf", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "linux" ], diff --git a/packages/core/scripts/npm/linux-arm64-gnu/package.json b/packages/core/scripts/npm/linux-arm64-gnu/package.json index 0d89324b9e81..4e906871f85f 100644 --- a/packages/core/scripts/npm/linux-arm64-gnu/package.json +++ b/packages/core/scripts/npm/linux-arm64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "@swc/core-linux-arm64-gnu", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "linux" ], diff --git a/packages/core/scripts/npm/linux-arm64-musl/package.json b/packages/core/scripts/npm/linux-arm64-musl/package.json index a80f36f1d70c..3db72b0ac75e 100644 --- a/packages/core/scripts/npm/linux-arm64-musl/package.json +++ b/packages/core/scripts/npm/linux-arm64-musl/package.json @@ -1,6 +1,6 @@ { "name": "@swc/core-linux-arm64-musl", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "linux" ], diff --git a/packages/core/scripts/npm/linux-x64-gnu/package.json b/packages/core/scripts/npm/linux-x64-gnu/package.json index 3cc1e8d13a25..8d7dc0c9ec9f 100644 --- a/packages/core/scripts/npm/linux-x64-gnu/package.json +++ b/packages/core/scripts/npm/linux-x64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "@swc/core-linux-x64-gnu", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "linux" ], diff --git a/packages/core/scripts/npm/linux-x64-musl/package.json b/packages/core/scripts/npm/linux-x64-musl/package.json index 975edab906d7..c184d4dc46bd 100644 --- a/packages/core/scripts/npm/linux-x64-musl/package.json +++ b/packages/core/scripts/npm/linux-x64-musl/package.json @@ -1,6 +1,6 @@ { "name": "@swc/core-linux-x64-musl", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "linux" ], diff --git a/packages/core/scripts/npm/win32-arm64-msvc/package.json b/packages/core/scripts/npm/win32-arm64-msvc/package.json index 42c642be0075..322155a86f69 100644 --- a/packages/core/scripts/npm/win32-arm64-msvc/package.json +++ b/packages/core/scripts/npm/win32-arm64-msvc/package.json @@ -1,6 +1,6 @@ { "name": "@swc/core-win32-arm64-msvc", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "win32" ], diff --git a/packages/core/scripts/npm/win32-ia32-msvc/package.json b/packages/core/scripts/npm/win32-ia32-msvc/package.json index 11e1f693e4ba..fe208683a53e 100644 --- a/packages/core/scripts/npm/win32-ia32-msvc/package.json +++ b/packages/core/scripts/npm/win32-ia32-msvc/package.json @@ -1,6 +1,6 @@ { "name": "@swc/core-win32-ia32-msvc", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "win32" ], diff --git a/packages/core/scripts/npm/win32-x64-msvc/package.json b/packages/core/scripts/npm/win32-x64-msvc/package.json index bf7c76443bce..9a88d2190e4a 100644 --- a/packages/core/scripts/npm/win32-x64-msvc/package.json +++ b/packages/core/scripts/npm/win32-x64-msvc/package.json @@ -1,6 +1,6 @@ { "name": "@swc/core-win32-x64-msvc", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "win32" ], diff --git a/packages/html/package.json b/packages/html/package.json index 4797d5ce8679..26fd1ef866b0 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -1,6 +1,6 @@ { "name": "@swc/html", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "description": "Super-fast HTML minifier", "homepage": "https://swc.rs", "main": "./index.js", diff --git a/packages/html/scripts/npm/darwin-arm64/package.json b/packages/html/scripts/npm/darwin-arm64/package.json index 94ead30da2db..f0a11c9df2ae 100644 --- a/packages/html/scripts/npm/darwin-arm64/package.json +++ b/packages/html/scripts/npm/darwin-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@swc/html-darwin-arm64", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "darwin" ], diff --git a/packages/html/scripts/npm/darwin-x64/package.json b/packages/html/scripts/npm/darwin-x64/package.json index 33078691ff91..1dbcf121f3e9 100644 --- a/packages/html/scripts/npm/darwin-x64/package.json +++ b/packages/html/scripts/npm/darwin-x64/package.json @@ -1,6 +1,6 @@ { "name": "@swc/html-darwin-x64", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "darwin" ], diff --git a/packages/html/scripts/npm/linux-arm-gnueabihf/package.json b/packages/html/scripts/npm/linux-arm-gnueabihf/package.json index 97224b031c61..6e03f5c8c0f4 100644 --- a/packages/html/scripts/npm/linux-arm-gnueabihf/package.json +++ b/packages/html/scripts/npm/linux-arm-gnueabihf/package.json @@ -1,6 +1,6 @@ { "name": "@swc/html-linux-arm-gnueabihf", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "linux" ], diff --git a/packages/html/scripts/npm/linux-arm64-gnu/package.json b/packages/html/scripts/npm/linux-arm64-gnu/package.json index aab3549bd4f3..22f9919486a4 100644 --- a/packages/html/scripts/npm/linux-arm64-gnu/package.json +++ b/packages/html/scripts/npm/linux-arm64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "@swc/html-linux-arm64-gnu", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "linux" ], diff --git a/packages/html/scripts/npm/linux-arm64-musl/package.json b/packages/html/scripts/npm/linux-arm64-musl/package.json index d7c0b2a14b8a..8344029ca5ea 100644 --- a/packages/html/scripts/npm/linux-arm64-musl/package.json +++ b/packages/html/scripts/npm/linux-arm64-musl/package.json @@ -1,6 +1,6 @@ { "name": "@swc/html-linux-arm64-musl", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "linux" ], diff --git a/packages/html/scripts/npm/linux-x64-gnu/package.json b/packages/html/scripts/npm/linux-x64-gnu/package.json index 055a5f3427d7..90d2a2bcbc7a 100644 --- a/packages/html/scripts/npm/linux-x64-gnu/package.json +++ b/packages/html/scripts/npm/linux-x64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "@swc/html-linux-x64-gnu", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "linux" ], diff --git a/packages/html/scripts/npm/linux-x64-musl/package.json b/packages/html/scripts/npm/linux-x64-musl/package.json index 414dbb9277d7..f65861303043 100644 --- a/packages/html/scripts/npm/linux-x64-musl/package.json +++ b/packages/html/scripts/npm/linux-x64-musl/package.json @@ -1,6 +1,6 @@ { "name": "@swc/html-linux-x64-musl", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "linux" ], diff --git a/packages/html/scripts/npm/win32-arm64-msvc/package.json b/packages/html/scripts/npm/win32-arm64-msvc/package.json index 5adc74288283..36ebf845c933 100644 --- a/packages/html/scripts/npm/win32-arm64-msvc/package.json +++ b/packages/html/scripts/npm/win32-arm64-msvc/package.json @@ -1,6 +1,6 @@ { "name": "@swc/html-win32-arm64-msvc", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "win32" ], diff --git a/packages/html/scripts/npm/win32-ia32-msvc/package.json b/packages/html/scripts/npm/win32-ia32-msvc/package.json index 194c8263aa08..77a9ecc116da 100644 --- a/packages/html/scripts/npm/win32-ia32-msvc/package.json +++ b/packages/html/scripts/npm/win32-ia32-msvc/package.json @@ -1,6 +1,6 @@ { "name": "@swc/html-win32-ia32-msvc", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "win32" ], diff --git a/packages/html/scripts/npm/win32-x64-msvc/package.json b/packages/html/scripts/npm/win32-x64-msvc/package.json index 5c21d94da0b0..82249a8d3abc 100644 --- a/packages/html/scripts/npm/win32-x64-msvc/package.json +++ b/packages/html/scripts/npm/win32-x64-msvc/package.json @@ -1,6 +1,6 @@ { "name": "@swc/html-win32-x64-msvc", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "win32" ], diff --git a/packages/minifier/package.json b/packages/minifier/package.json index c33ddeb3ef0e..8d0849e0f131 100644 --- a/packages/minifier/package.json +++ b/packages/minifier/package.json @@ -1,6 +1,6 @@ { "name": "@swc/minifier", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "description": "Super-fast alternative for terser", "homepage": "https://swc.rs", "main": "./index.js", diff --git a/packages/minifier/scripts/npm/darwin-arm64/package.json b/packages/minifier/scripts/npm/darwin-arm64/package.json index 2fc71d2752e4..fa485a77dd3f 100644 --- a/packages/minifier/scripts/npm/darwin-arm64/package.json +++ b/packages/minifier/scripts/npm/darwin-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@swc/minifier-darwin-arm64", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "darwin" ], diff --git a/packages/minifier/scripts/npm/darwin-x64/package.json b/packages/minifier/scripts/npm/darwin-x64/package.json index 872369eae11c..0a84456c62d9 100644 --- a/packages/minifier/scripts/npm/darwin-x64/package.json +++ b/packages/minifier/scripts/npm/darwin-x64/package.json @@ -1,6 +1,6 @@ { "name": "@swc/minifier-darwin-x64", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "darwin" ], diff --git a/packages/minifier/scripts/npm/linux-arm-gnueabihf/package.json b/packages/minifier/scripts/npm/linux-arm-gnueabihf/package.json index 6711c4a31e45..91b32ea18c93 100644 --- a/packages/minifier/scripts/npm/linux-arm-gnueabihf/package.json +++ b/packages/minifier/scripts/npm/linux-arm-gnueabihf/package.json @@ -1,6 +1,6 @@ { "name": "@swc/minifier-linux-arm-gnueabihf", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "linux" ], diff --git a/packages/minifier/scripts/npm/linux-arm64-gnu/package.json b/packages/minifier/scripts/npm/linux-arm64-gnu/package.json index 6862f1ff8b85..307a4521496d 100644 --- a/packages/minifier/scripts/npm/linux-arm64-gnu/package.json +++ b/packages/minifier/scripts/npm/linux-arm64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "@swc/minifier-linux-arm64-gnu", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "linux" ], diff --git a/packages/minifier/scripts/npm/linux-arm64-musl/package.json b/packages/minifier/scripts/npm/linux-arm64-musl/package.json index 7e06bc97bc8b..83687e4a9806 100644 --- a/packages/minifier/scripts/npm/linux-arm64-musl/package.json +++ b/packages/minifier/scripts/npm/linux-arm64-musl/package.json @@ -1,6 +1,6 @@ { "name": "@swc/minifier-linux-arm64-musl", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "linux" ], diff --git a/packages/minifier/scripts/npm/linux-x64-gnu/package.json b/packages/minifier/scripts/npm/linux-x64-gnu/package.json index 92315817860b..2f149335fbd1 100644 --- a/packages/minifier/scripts/npm/linux-x64-gnu/package.json +++ b/packages/minifier/scripts/npm/linux-x64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "@swc/minifier-linux-x64-gnu", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "linux" ], diff --git a/packages/minifier/scripts/npm/linux-x64-musl/package.json b/packages/minifier/scripts/npm/linux-x64-musl/package.json index b9ea1aa5c9ab..d85dd4fc01f6 100644 --- a/packages/minifier/scripts/npm/linux-x64-musl/package.json +++ b/packages/minifier/scripts/npm/linux-x64-musl/package.json @@ -1,6 +1,6 @@ { "name": "@swc/minifier-linux-x64-musl", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "linux" ], diff --git a/packages/minifier/scripts/npm/win32-arm64-msvc/package.json b/packages/minifier/scripts/npm/win32-arm64-msvc/package.json index 6f9f9976899f..abd610e7abee 100644 --- a/packages/minifier/scripts/npm/win32-arm64-msvc/package.json +++ b/packages/minifier/scripts/npm/win32-arm64-msvc/package.json @@ -1,6 +1,6 @@ { "name": "@swc/minifier-win32-arm64-msvc", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "win32" ], diff --git a/packages/minifier/scripts/npm/win32-ia32-msvc/package.json b/packages/minifier/scripts/npm/win32-ia32-msvc/package.json index 3f5127dfe651..e0494b4ef5fe 100644 --- a/packages/minifier/scripts/npm/win32-ia32-msvc/package.json +++ b/packages/minifier/scripts/npm/win32-ia32-msvc/package.json @@ -1,6 +1,6 @@ { "name": "@swc/minifier-win32-ia32-msvc", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "win32" ], diff --git a/packages/minifier/scripts/npm/win32-x64-msvc/package.json b/packages/minifier/scripts/npm/win32-x64-msvc/package.json index b581a1cf7a5b..b5f1c3f8c183 100644 --- a/packages/minifier/scripts/npm/win32-x64-msvc/package.json +++ b/packages/minifier/scripts/npm/win32-x64-msvc/package.json @@ -1,6 +1,6 @@ { "name": "@swc/minifier-win32-x64-msvc", - "version": "1.7.41-nightly-20241031.1", + "version": "1.7.42", "os": [ "win32" ],