chore(deps): update swc monorepo#470
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
1f6c08b to
3751043
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.15.8→1.15.410.5.20→0.5.23Release Notes
swc-project/swc (@swc/core)
v1.15.41Compare Source
Bug Fixes
(bindings/node) Preserve source context for AST transforms (#11920) (b6dfa74)
(es/codegen) Emit
export as namespacecorrectly (#11923) (4e1f832)(es/codegen) Emit
export as namespaceminified correctly (#11924) (7157499)(es/compat) Rewrite this in destructuring defaults (#11909) (68af779)
(es/decorators) Delay 2022 decorator initializers after private fields (#11847) (3f1a4f5)
(es/decorators) Handle import types in decorator metadata (#11916) (f411429)
(es/fixer) Preserve new tagged template callee parens (#11922) (242a03a)
(es/minifier) Handle unknown member props (#11927) (e59ba68)
(es/parser) Handle Flow async generic arrows (#11926) (b9b8993)
(es/renamer) Avoid duplicate mangled names across eval scope boundaries (#11913) (4a1af84)
(plugin) Avoid importing __free from env (#11908) (4584296)
(swc) Preserve plugin error context (#11904) (4e2e9fc)
(swc_common) Fix sourcemap panic for multibyte mapping positions (#11918) (40c1601)
Documentation
Performance
Lazily compute source file hashes (#11879) (a3cfbd7)
Optimize Atom equality (#11902) (c6f8cb0)
Revert
(es/decorators) Revert decorator initializer ordering (#11901) (a3f23b1)
(swc_common) Revert sourcemap multibyte mapping clamp (#11919) (08b4200)
v1.15.40Compare Source
Bug Fixes
(es/minifier) Preserve args for destructured callbacks (#11830) (21873b0)
(es/minifier) Avoid generating mangled property names that collide with existing properties (#11839) (9b4fab5)
(es/minifier) Respect ecma for iife temp vars (#11873) (e481934)
(es/minifier) Preserve default parameter object props (#11884) (71ff84f)
(es/parser) Reject object-rest assignment to array/object literal (#11875) (7b57d1f)
(es/parser) Reject object rest assignment to literals (#11881) (4ec2eaf)
(es/react) Exclude self-recursive hooks from refresh dependency array (#11838) (9101c71)
(ts/fast-dts) Strip definite assertions in dts (#11858) (2ab1b8a)
(ts/fast-strip) Reject unsafe assertion erasure in binary expressions (#11828) (aa5b539)
(typescript) Strip parameter binding defaults in dts (#11857) (800bc17)
Documentation
Update agent guidance (#11842) (bf2d015)
Add security policy (#11876) (6c43c2d)
Clarify security scope for npm packages (#11877) (4662db8)
Clarify untrusted input security model (#11882) (5463777)
Features
(es/minifier) Fine grained effect analysis of class (#11814) (c9058ad)
(swc_cli) Implement all features for
swc_cli(#11797) (9300ede)Miscellaneous Tasks
(es/minifier) Fix typo in debug log (#11866) (3de0254)
(html) Add webcontainer fallback for
@swc/html(#11860) (7692eed)Performance
(ecma) Reduce transformer compat overhead (#11856) (d03cb71)
(es/codegen) Speed up JsWriter position and srcmap tracking (#11867) (dbceade)
(es/codegen) Remove JsWriter last_srcmap cache (#11869) (3bc1c2b)
(es/minifier) Reduce minifier profiling hotspots (#11853) (28c1091)
Optimize es parser comment finalization (#11852) (2959ddf)
Testing
Ci
Update corepack in publish docker jobs (#11885) (9a7d954)
Pass publish docker env explicitly (#11888) (c5f7547)
Lock issues closed by merged prs (#11887) (6bd74e5)
Provide aarch64 musl linker in publish job (#11889) (20234fd)
Fix publish musl linker and windows tests (#11890) (a798a23)
Make minifier test path explicit (#11891) (e7cba97)
Security
Save CI caches only on main (#11848) (7582529)
Update rkyv and Rust dependencies (#11851) (20d92eb)
Harden PR workflow permissions (#11849) (e199564)
v1.15.33Compare Source
Bug Fixes
(ci) Update rand lockfile entries (#11827) (7988966)
(es/minifier) Fold unary bool nullish coalescing (#11826) (e39ae3d)
(es/minifier) Preserve for-init sequence order (#11837) (16a56d0)
(es/parser) Parse empty Flow exact object type (#11836) (3d18a26)
Features
v1.15.32Compare Source
Bug Fixes
(es/flow) Fix Flow type-only modules in script transforms (#11817) (be38316)
(es/flow) Avoid restoring module context when flow syntax is enabled (#11819) (3ed7243)
(es/minifier) Preserve frozen spread registry keys (#11825) (347181c)
(es/parser) Align Flow generic arrow JSX disambiguation (#11821) (28a7fad)
Features
jsc.preserveSymlinkstoswc::Options(#11813) (fe38342)v1.15.30Compare Source
Bug Fixes
(deploy) Fix musl binding test workflow (#11804) (c30a522)
(deploy) Build package ts before Linux GNU binding tests (#11806) (a3d3ef3)
(es/jsx) Preserve quoted JSX attribute newlines (#11796) (9fe56c8)
(es/minifier) Support full ES version parsing in minify (#11800) (af1f08f)
(es/module) Add opt-in symlink-preserving resolver (#11801) (6028240)
(es/parser) Allow return type annotation on Flow constructors (#11790) (d66b29c)
(es/parser) Support Flow anonymous keyof indexers (#11792) (452c4e5)
(es/parser) Add Flow strip RN and RNW regression corpus (#11799) (23a9109)
Documentation
Features
v1.15.26Compare Source
Bug Fixes
(es/decorators) Preserve super in moved static members (#11781) (778328e)
(es/decorators) Scope moved static super rewrite (#11782) (f73cacc)
(es/parser) Parse mixed Flow anonymous callable params (#11786) (05e7b69)
(es/transforms) Rewrite class references in non-static members (#11772) (fff1426)
(es/typescript) Handle TypeScript expressions in enum transformation (#11769) (85aa4a8)
Documentation
Features
(swc_common) Add SourceMapper.map_raw_pos (#11777) (7d2e94c)
(swc_config) Add Hash/Eq for options and CachedRegex (#11775) (86a4c38)
Performance
Refactor
Build
rustctonightly-2026-04-10(#11783) (6facc79)v1.15.24Compare Source
Bug Fixes
(es/decorators) Scope 2023-11 implicit-global rewrite to decorator-lifted exprs (#11743) (1c01bbb)
(es/minifier) Handle
toExponential(undefined)(#11583) (cd94a31)(es/minifier) Cap deep if_return conditional chains (#11758) (a92fa3e)
(es/minifier) Inline prop shorthand in computed props (#11760) (71feafb)
(es/parser) Parse key Flow forms from #11729 (phase 1) (#11733) (886fe53)
(es/parser) Close remaining Flow parser gaps for #11729 (phase 2) (#11740) (8d36f05)
(es/regexp) Preserve source for wrapped named groups (#11757) (7e56fe5)
(html/codegen) Keep
for span-parent paragraphs (#11756) (ede9950)(swc_common) Make
eat_byteunsafe to prevent UTF-8 boundary violation (#11731) (669a659)Features
(es/minifier) Remove useless arguments for non inlined callee (#11645) (bab249e)
(react-compiler) Advance SWC parity for upstream fixtures (#11724) (468da70)
(react-compiler) Tighten core validation parity for upstream fixtures (#11734) (7e2cf8d)
(react-compiler) Improve SWC parity for early-return and hooks validation (#11738) (4739c58)
(react-compiler) M1 memo validators + lint gating alignment (#11739) (7e1ad26)
(react-compiler) Improve Stage A diagnostic parity and validation aggregation (#11745) (0e2075e)
(react-compiler) Continue swc parity for dependency handling (#11747) (83688c8)
Refactor
(es/minifier) Inline usage analyzer and remove crate (#11750) (7d8d11b)
(react-compiler) Remove compiler impl and keep fast_check (#11753) (f21d336)
Ci
Add manual Publish crates workflow (#11763) (169c961)
Add misc npm publish workflow (#11764) (236eff0)
v1.15.21Compare Source
Bug Fixes
(cli) Honor externalHelpers=false in rust binary (#11693) (1be052e)
(cli) Skip mkdir when --out-file targets the current directory (#11720) (f3f4e51)
(es/decorators) Resolve 2022-03 issues #9565/#9078/#9079 and add regressions (#11698) (a025d2b)
(es/fixer) Wrap new opt chain (#11618) (fdcd184)
(es/flow) Normalize module await bindings for Hermes parity (#11703) (73d8761)
(es/minifier) Fix compatibility for Wasm plugin (
swc_ast_unknown) (#11641) (abd0e45)(es/module) Preserve explicit index.js import path when baseUrl is set (#11597) (830dbeb)
(es/module) Avoid rewriting unknown relative extensions (#11713) (ed09218)
(es/regexp) Implement transform-named-capturing-groups-regex (#11642) (f62bfa9)
(es/types) Add new options types (#11683) (62eeee1)
(malloc) Fallback to system allocator on linux gnu s390x/powerpc (#11606) (e103fac)
Update lz4_flex to resolve RUSTSEC-2026-0041 (#11701) (7528507)
Documentation
(agents) Improve guidance (#11626) (1cdfec9)
(agents) Add AGENTS two-pass rules for es crates (#11634) (12af4a1)
Move parser design guidance into AGENTS.md (#11600) (e6e91a3)
Clarify workaround comment requirement in AGENTS (#11700) (e2ad6f6)
Features
(bindings) Add linux ppc64le and s390x support across npm bindings (#11602) (357255d)
(bindings) Enable flow strip support in @swc/core (#11696) (93da89a)
(cli) Enable Flow strip support in swc_cli_impl (#11705) (0ea9950)
(dbg-swc) Add flow strip verification command (#11706) (77b7854)
(es) Add
swc_es_codegenforswc_es_ast(#11628) (c282d86)(es) Add 2-pass transformer and minifier crates (#11632) (f70a4b7)
(es) Add TypeScript + React transforms and tsc corpus tests (#11635) (09a5d8d)
(es/helpers) Prevent recursive instanceof helper transforms (#11609) (cb755a3)
(es/parser) Add
with_capacityforCapturing(#11679) (60df582)(es/parser) Add flow syntax mode and strip integration (#11685) (015bbe8)
(es/parser) Finish flow strip support for core syntax gaps (#11689) (584a12f)
(es/parser) Extend flow declare export strip compatibility (#11691) (a8315aa)
(es/parser) Support Flow declare export default interface strip path (#11692) (588577c)
(es/parser) Add Hermes Flow parity harness and fixes (#11699) (918b6ac)
(es/parser) Complete Hermes Flow stripping parity (#11702) (f041f4c)
(es/proposal) Add decorators 2023-11 support (#11686) (e96eb6a)
(es/react-compiler) Scaffold SWC port of Babel entrypoint (#11687) (4a1d3ce)
(es/react-compiler) Phase1 crate API baseline and fixture harness (#11690) (31364dc)
(es/react-compiler) Strict upstream parity finalization (crate-only, WIP) (#11697) (a3994aa)
(es/react-compiler) Advance strict upstream parity (#11709) (9b3abe0)
(es/react-compiler) Advance upstream fixture parity pipeline (#11716) (33fe6f2)
(es/semantics) Add scope analysis and statement-level cfg (#11623) (86815b1)
(es_parser) Complete parity suite with zero ignores (#11615) (ee3fdd5)
(es_parser) Complete internal parser wiring without ecma runtime dep (#11622) (1c51891)
(es_parser) Expand benchmark corpus (#11633) (ff3adef)
(react-compiler) Advance SWC upstream fixture parity (#11718) (e8d1696)
(react-compiler) Improve lint rename and gating parity (#11721) (5f89ee7)
(swc_es_parser) Enforce full parity suite and extend grammar surface (#11611) (585f7d0)
(swc_es_parser) Complete lossless modeling for with/TS module/decorators (#11613) (59b1189)
(swc_es_parser) Close parity gaps with full core/large fixture pass-fail parity (#11614) (3085f52)
Complete core parity parser coverage (#11603) (18e0edc)
Performance
(es/modules) Avoid export sort key clones (#11669) (e74e17d)
(es/parser) Reduce JSX identifier rescan allocations (#11671) (f9214fe)
(es/parser) Optimize underscore stripping in numeric literal hot path (#11670) (874338b)
(es/transformer) Remove O(n^2) statement mutation hotspots (#11672) (bdc24b7)
(es_parser) Byte-search lexer optimization pass (#11616) (607f2db)
(es_parser) Reduce lookahead and allocation overhead (#11673) (becd9b0)
(ts/fast-strip) Avoid token capture in default transform path (#11668) (06aa0db)
Refactor
Testing
(es/flow) Add flow strip corpus correctness test (#11694) (cd5ed81)
(es/parser) Enforce full ecma fixture parity (#11637) (0bf8a46)
(es/parser) Expand flow strip fixture coverage (#11695) (e231262)
(es_parser) Add core snapshot suite (#11617) (23c56fe)
(es_parser) De-arenaize ecma_reuse fixture snapshots (#11639) (aa6727a)
(es_parser) Recover swc_es_parser benchmark coverage (#11640) (0f24ee1)
Expand swc_es_parser snapshot suites (ecma-style) (#11621) (325170f)
Move TS decorator fixtures out of proposal crate (#11723) (e29d58c)
Ci
Bump cargo-mono to 0.5.0 (#11605) (7118713)
Remove --no-verify flag from cargo mono publish (02eb5ec)
Optimize cargo-test matrix with cargo mono changed (#11681) (99e61c4)
Bump cargo-mono to 0.5.3 (#11722) (b5272af)
Install zig for core ppc64le/s390x nightly cross builds (#11725) (09c4be0)
v1.15.18Compare Source
Bug Fixes
Documentation
Add AGENTS note about next-gen ast (#11592) (80b4be8)
Add typescript-eslint AST compatibility note (#11598) (c7bfebe)
Features
(es/ast) Add runtime arena crate and bootstrap swc_es_ast (#11588) (7a06d96)
(es/parser) Add
swc_es_parser(#11593) (f11fd70)Ci
v1.15.17Compare Source
Documentation
Features
(bindings) Add html wasm binding and publish wiring (#11587) (b3869c3)
(sourcemap) Support safe scopes round-trip metadata (#11581) (de2a348)
Emit ECMA-426 source map scopes behind experimental flag (#11582) (2385a22)
v1.15.13Compare Source
Bug Fixes
(errors) Avoid panic on invalid diagnostic spans (#11561) (b24b8e0)
(es/helpers) Fix
_object_without_propertiescrash 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
(es/minifier) Add
unsafe_hoist_static_method_aliasoption (#11493) (6e7dbe2)(es/minifier) Remove unused args for IIFE (#11536) (3cc286b)
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
(es/minifier) Add execution tests for issue #11517 (#11530) (01b3b64)
Disable
cvaecosystem ci temporariliy (55bc966)Ci
Reset closed issue and PR milestone to Planned (#11559) (d5c4ebe)
Add permission (431c576)
v1.15.11Compare 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](https://redirect.github.com/swc-project/swc/commit/1310957be
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.