Skip to content

chore(deps): update dependency @swc/core to v1.15.21#957

Merged
runk merged 1 commit intomasterfrom
renovate/swc-monorepo
Apr 1, 2026
Merged

chore(deps): update dependency @swc/core to v1.15.21#957
runk merged 1 commit intomasterfrom
renovate/swc-monorepo

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Apr 1, 2026

This PR contains the following updates:

Package Change Age Confidence
@swc/core (source) 1.15.31.15.21 age confidence

Release Notes

swc-project/swc (@​swc/core)

v1.15.21

Compare Source

Bug Fixes
Documentation
Features
Performance
Refactor
Testing
Ci

v1.15.18

Compare Source

Bug Fixes
Documentation
Features
Ci

v1.15.17

Compare Source

Documentation
Features

v1.15.13

Compare Source

Bug Fixes
  • (errors) Avoid panic on invalid diagnostic spans (#​11561) (b24b8e0)

  • (es/helpers) Fix _object_without_properties crash on primitive values (#​11571) (4f35904)

  • (es/jsx) Preserve whitespace before HTML entities (#​11521) (64be077)

  • (es/minifier) Do not merge if statements with different local variable values (#​11518) (3e63627)

  • (es/minifier) Prevent convert_tpl_to_str when there's emoji under es5 (#​11529) (ff6cf88)

  • (es/minifier) Inline before merge if (#​11526) (aa5a9ac)

  • (es/minifier) Preserve array join("") nullish semantics (#​11558) (d477f61)

  • (es/minifier) Inline side-effect-free default params (#​11564) (1babda7)

  • (es/parser) Fix generic arrow function in TSX mode (#​11549) (366a16b)

  • (es/react) Preserve first-line leading whitespace with entities (#​11568) (fc62617)

  • (es/regexp) Transpile unicode property escapes in RegExp constructor (#​11554) (476d544)

Documentation
Features
Refactor
  • (es/parser) Compare token kind rather than strings (#​11531) (5872ffa)

  • (es/typescript) Run typescript transform in two passes (#​11532) (b069558)

  • (es/typescript) Precompute namespace import-equals usage in semantic pass (#​11534) (b7e87c7)

Testing
Ci

v1.15.11

Compare Source

Bug Fixes
  • (es/codegen) Emit leading comments for JSX elements, fragments, and empty expressions (#​11488) (1520633)

  • (es/decorators) Invoke addInitializer callbacks for decorated fields (#​11495) (11cfe4d)

  • (es/es3) Visit export decl body even if name is not reserved (#​11473) (9113fff)

  • (es/es3) Remove duplicate code (#​11499) (fbee775)

  • (es/minifier) Treat new expression with empty class as side-effect free (#​11455) (a33a45e)

  • (es/minifier) Escape control characters when converting strings to template literals (#​11464) (028551f)

  • (es/minifier) Handle unused parameters with default values (#​11494) (6ed1ee9)

  • (es/module) Preserve ./ prefix for hidden directory imports (#​11489) (a005391)

  • (es/parser) Validate dynamic import argument count (#​11462) (2f67591)

  • (es/parser) Allow compilation with --no-default-features (#​11460) (b70c5f8)

  • (es/parser) Skip emitting TS1102 in TypeScript mode (#​11463) (e6f5b06)

  • (es/parser) Reject ambiguous generic arrow functions in TSX mode (#​11491) (ac00915)

  • (es/parser) Disallow NumericLiteralSeparator with BigInts (#​11510) (6b3644b)

  • (es/react) Preserve HTML entity-encoded whitespace in JSX (#​11474) (7d433a9)

  • (es/renamer) Prevent duplicate parameter names with destructuring patterns (#​11456) (e25a2c8)

  • (es/testing) Skip update when expected output has invalid code (#​11469) (2be6b8a)

  • (es/typescript) Don't mark enums with opaque members as pure (#​11452) (b713fae)

  • (preset-env) Distinguish unknown browser vs empty config (#​11457) (1310957)

Documentation
Features
  • (cli) Add --root-mode argument for .swcrc resolution (#​11501) (b53a0e2)

  • (es/module) Make module transforms optional via module feature (#​11509) (b94a178)

  • (es/regexp) Implement unicode property escape transpilation (#​11472) (a2e0ba0)

  • (es/transformer) Merge ES3 hooks into swc_ecma_transformer (#​11503) (5efcac9)

Miscellaneous Tasks
  • (es/minifier) Extend OrderedChain to support more node types (#​11477) (aa9d789)
Performance
Refactor
Testing
  • (es/minifier) Add test case for merge_imports order preservation (#​11458) (b874a05)

  • (es/parser) Add error tests for import.source and import.defer with too many args (#​11466) (7313462)

  • (es/parser) Check handler.has_errors() in test error parsing (#​11487) (fade647)

  • Replace deprecated cargo_bin function with cargo_bin! macro (#​11461) (73f77b6)

v1.15.10

Compare Source

Bug Fixes
  • (ci) Handle merged PRs separately in milestone manager (#​11409) (3554268)

  • (es/compat) Preserve this context in nested arrow functions (#​11423) (f2bdaf2)

  • (es/es2017) Replace this in arrow functions during async-to-generator (#​11450) (a993da6)

Features
Miscellaneous Tasks
Performance
  • (es/codegen, es/utils) Migrate to dragonbox_ecma for faster Number::toString (#​11412) (b7978cc)

  • (es/react) Optimize JSX transforms to reduce allocations (#​11425) (2a20cb6)

Refactor
Testing
Ci
  • Collapse preivous claude[bot] PR review comments (affb6a2)

v1.15.8

Compare Source

Bug Fixes
  • (es/minifier) Remove unused webpack-related code (#​11397) (8e4eab4)

  • (es/minifier) Evaluate TemplateLiteral in BinaryExpression (#​11406) (8d1b6f6)

  • (es/minifier) More strict check if cannot add ident when invoking IIFE (#​11399) (03642aa)

Features
Performance
Refactor

v1.15.7

Compare Source

Bug Fixes
  • (es/minifier) Prevent unsafe sequence merging in super() calls (#​11381) (eb02780)

  • (es/transformer) Fix variable declaration for nullish coalescing in else-if branches (#​11384) (6746002)

  • (es/transforms) Update _ts_rewrite_relative_import_extension helper code (#​11382) (1ec444e)

Features
Performance
Refactor

v1.15.6

Compare Source

Bug Fixes
  • (es/transformer) Fix missing var declaration in nullish coalescing with spreads (#​11377) (686d154)
Performance

v1.15.5

Compare Source

Bug Fixes

v1.15.4

Compare Source

Bug Fixes
  • (es/compat) Preserve return value for single-property object destructuring (#​11334) (847ad22)

  • (es/compat) Fix generator transform for compound assignments, for-in, and labeled break (#​11339) (9b6bedd)

  • (es/compat) Destructuring evaluation order (#​11337) (49d04c7)

  • (es/compat) Fix parameter default value evaluation order with object rest (#​11352) (2ebb261)

  • (es/fixer) Preserve parens around IFFE in binary expressions within sequences (#​11324) (a4c84ea)

  • (es/helpers) Avoid extra trap calls on excluded keys in object rest spread (#​11338) (4662caf)

  • (es/minifier) Fix debug cargo feature (#​11325) (be86fad)

  • (es/minifier) Fix optimization pass for merge_imports (#​11331) (ca2f7ed)

  • (es/parser) Don't call bump_bytes in the continue_if of byte_search! (#​11328) (583619d)

  • (es/parser) Support type-only string literal in import specifiers (#​11333) (07762f1)

  • (es/parser) Handle TypeScript expressions in destructuring patterns (#​11353) (160ec34)

  • (es/transformer) Complete replace_this_in_expr implementation (#​11361) (58c4067)

  • (es/transformer) Fix pass order (#​11370) (373048a)

Features
Performance

Configuration

📅 Schedule: Branch creation - "on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@runk runk merged commit 2f4106d into master Apr 1, 2026
4 checks passed
@renovate renovate bot deleted the renovate/swc-monorepo branch April 1, 2026 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant