swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(flow): preserve component semantics without AST break
fix/flow-component-type-semantics
5 hours ago
fix(plugin/runner): write Wasmer cache atomically (#12100) **Description:** This fixes intermittent Wasmer plugin cache corruption when multiple processes compile the same plugin concurrently. The Wasmer backend previously serialized modules directly to the final cache path. Parallel Jest, Turbo, or Nx workers could observe the file after its metadata header was written but before the complete artifact was available, producing `metadata_len` slice-bound failures. The backend now serializes the module in memory, writes it to a unique temporary file in the cache directory, and atomically renames the completed file into place. A concurrent-writer regression test verifies that readers only observe complete cache artifacts. **Related issue (if exists):** Fixes #6467 **Validation:** - `cargo test -p swc_plugin_backend_wasmer` - `cargo fmt --all` - `cargo clippy --all --all-targets -- -D warnings`
main
5 hours ago
chore: Add changeset
kdy1/fix-wasmer-cache-atomic-write
6 hours ago
fix(hstr): avoid references to uninitialized bytes (#12087) **Description:** Fixes two soundness issues in `hstr` where mutable byte references were formed over uninitialized storage. - Use an initialized 64-byte stack buffer in `Atom::from_mutated_str`, retaining the stack fast path and heap fallback for longer strings. - Encode WTF-8 code points through `Vec::spare_capacity_mut()` and `MaybeUninit::write`, updating the vector length only after the exact encoded byte count is initialized. - Document the safety invariants for retained unsafe operations. - Add focused regression coverage for short, 64-byte, and over-64-byte ASCII case conversion and one- through four-byte code-point appends, including an unpaired surrogate. Validation: - `cargo test -p hstr` - Focused Miri runs for both new regression tests - `cargo fmt --all` - `cargo clippy --all --all-targets -- -D warnings` **Related issue (if exists):** Closes #12083 --------- Co-authored-by: Labor0 Bot <279936132+labor0-bot[bot]@users.noreply.github.com>
main
6 hours ago
chore: Update vulnerable dependencies
fix/hstr-uninitialized-memory
11 hours ago
chore: Add changeset
fix/hstr-uninitialized-memory
12 hours ago
fix(es/preset-env): lower unsupported async generators (#12086) **Description:** Wire async-generator compatibility independently from ordinary async/await so Chrome 60–62 lower async generators while Chrome 63 retains them. Preserve the existing full async-to-generator behavior and ES-version targeting. **BREAKING CHANGE:** None. **Related issue (if exists):** Fixes #11958 **Tests:** - `cargo test -p swc_ecma_transformer` - `cargo test -p swc_ecma_transforms_compat` - `UPDATE=1 cargo test -p swc_ecma_preset_env` - `cargo test -p swc_ecma_preset_env` - `cargo fmt --all` - `cargo clippy --all --all-targets -- -D warnings` --------- Co-authored-by: Labor0 Bot <279936132+labor0-bot[bot]@users.noreply.github.com>
main
12 hours ago
chore: Fix stale helper path in add-changeset skill
baltasarblanco:chore/fix-add-changeset-helper-path
13 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
fix(es/typescript): preserve Flow component type semantics
#12090
5 hours ago
37e28bd
fix/flow-component-type-semantics
CodSpeed Performance Gauge
0%
fix(plugin/runner): write Wasmer cache atomically
#12100
6 hours ago
0d59848
kdy1/fix-wasmer-cache-atomic-write
CodSpeed Performance Gauge
0%
fix(hstr): avoid references to uninitialized bytes
#12087
11 hours ago
1dc4f5e
fix/hstr-uninitialized-memory
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs