Packages

@swc/wasm

1.16.21 · 31 Oct 2026Apache-2.01.3M / weekRepositoryHomepagenpmAtom feed

Upgrading @swc/wasm From 1.2.134 to 1.16.21

373 releases in betweennotes for 33

Reading releases, release notes and advisories…

  1. 1.2.134yours
  2. 348 releases
  3. 1.15.10breaking
  4. 4 releases
  5. 1.15.21breaking
  6. 1.15.24breaking
  7. 4 releases
  8. 1.15.40security
  9. 6 releases
  10. 1.16.2breaking
  11. 5 releases
  12. 1.16.21target
  13. 11 pre
4+
changes to make
0
advisories fixed
141+
new
362+
fixes

Counted from 33 of 373 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • breaking1.16.2
  • breaking1.15.24
  • breaking1.15.21
  • breaking1.15.10

Security

  • Save CI caches only on main

    1.15.40
  • Update rkyv and Rust dependencies

    1.15.40
  • Harden PR workflow permissions

    1.15.40

Release by release

  1. 1.16.21

    31 Oct 202614 fixes
    • fixed

      (ci) Install rustfmt before tagging releases

    • fixed

      (deps) Update cargo (major)

    • fixed

      (deps) Update npm

    • fixed

      (es/codegen) Escape inline script markers in regex literals

  2. 1.16.20

    22 Oct 20264 new · 29 fixes
    • new

      (es/minifier) Inline async function used only once

    • new

      (es/minifier) Implement more rules for if-break

    • new

      (es/parser) Streamline numeric separator stripping

    • new

      (hstr) Allow Atom::as_str to inline across crates

  3. 1.16.18

    11 Oct 20262 fixes
    • fixed

      (bindings) Fall back to a safe cache root on Unix

    • fixed

      (es/minifier) Check decl for side effect

  4. 1.16.17

    11 Oct 20264 new · 14 fixes
    • new

      (ci) Restrict pull requests to trusted contributors

    • new

      (es/codegen) Support configurable output indentation

    • new

      (es/compat) Skip empty block-scoping renames

    • new

      (es/parser) Scan template literals with byte search

  5. 1.16.13

    30 Sep 20261 new · 1 fix
    • new

      (node) Optimize macOS native addon first load

    • fixed

      (swc_config) Show why an options object failed to deserialize

  6. 1.16.12

    29 Sep 20268 new · 97 fixes
    • new

      (bindings) Add private compressed native addon foundation

    • new

      (bindings) Gate native npm releases on verified carriers

    • new

      (es/minifier) Honor /*#__PURE__*/ on property reads and destructuring patterns

    • new

      (es/minifier) Account for shorthand expansion when inlining

  7. 1.16.2

    Migration needed4 Sep 20262 new · 17 fixes
    • breaking

      (es/decorators) Drop params from getter replacing decorated private method

    • new

      (es/minifier) Evaluate Math.floor, Math.ceil, Math.round and Mat…

    • new

      (es/parser) Add opt-in parser-only TSRX lowering

    • fixed

      (es/compat) Preserve for-of var binding scope

  8. 1.16.1

    19 Aug 20263 fixes
    • fixed

      (es/minifier) Preserve for init

    • fixed

      (es/modules) Preserve destructuring assignment targets in SystemJS

    • fixed

      (es/react) Handle apos JSX entities

4 other lines we could not sort, mostly version bumps
  • (es/minifier) Check Map/Set param is array

    1.16.12
  • (es/minifier) Revert #12384

    1.16.12
  • (es/decorators) Revert decorator initializer ordering

    1.15.41
  • (swc_common) Revert sourcemap multibyte mapping clamp

    1.15.41

161 internal lines (docs, tests, tooling) left out.