chore(deps): update dependency @swc/core to v1.13.5 #1347
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.
Note
Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to
mend[bot]
.This notice will be removed on 2025-10-07.
This PR contains the following updates:
1.13.0
->1.13.5
Release Notes
swc-project/swc (@swc/core)
v1.13.5
Compare Source
Bug Fixes
(es/minifier) Preserve
array.join
with nullable values (#10937) (e495403)(es/preset-env) Update polyfill data (#11013) (934d8a5)
Features
Refactor
preserve
supports (#11025) (bc83875)v1.13.4
Compare Source
Bug Fixes
(es/lexer) Use error when handling '\0' (#10964) (53c22d1)
(es/minifier) Skip serde of
pure_funcs
in options (#10969) (862e70d)(es/minifier) Fix compile error with
debug
feature (#10999) (831eed5)(es/minifier) Don't eliminate class expr if some side effects contain
this
(#11003) (18aeac6)(es/module) Support optional chaining in
import.meta
(#10985) (758d8ec)(es/parser) Allow TS type args to start with LSHIFT (
<<
) to parseT<<S>() => void>
(#10996) (4911ec7)(ts/isolated-dts) Correct optional marker for class fields generated from constructor parameter (#10992) (0d680fd)
Expose GlobalPassOption.build (#10968) (c8a2668)
Features
(bindings/html) Add
keep-head-and-body
fortagOmission
in binding (#11014) (1e1ebeb)(html/minifier) Support
keep_head_and_body
(#11008) (86186db)(plugin/runner) Introduce
wasmtime
backend (#10958) (9fa8330)Miscellaneous Tasks
Performance
(es/ast) Remove alloc in leftmost api (#11005) (f59f233)
(es/minifier) Use bitflags for context of the
Pure
pass (#10953) (8cd5c58)(es/minifier) Reduce alloc (#10961) (6475070)
(es/minifier) Remove useless clone (#10970) (8873f65)
(es/minifier) Reduce clone (#10982) (4f2ed0d)
(es/minifier) Use
bitflags
forDropOpts
(#10990) (79206f1)(es/parser) Remove EOF check (#10976) (a10dada)
(es/parser) Introduce checkpoint to reduce clone (#11001) (cda08d1)
(es/parser) Remove useless
Rc<RefCell<T>>
(#11002) (39f5784)(es/parser) Remove
OneDirectionalList
and reduce allocation ofVec
(#11000) (0088ab8)Refactor
(common) Remove
SyntaxContextData#opaque
(#10983) (d5be248)(es/minifier) Remove useless branch (#10966) (e400de3)
(es/minifier) Remove duplicate report assign (#11009) (9590e1d)
(es/parser) Remove useless methods (#10980) (91c6039)
(hstr) Use default inline strategy (#10954) (d160f7f)
(hstr) Remove needlesss unwrap (#10959) (953f75f)
(plugin/runner) Introduce abstract runtime (#10943) (a445156)
(plugin/runner) Switch
wasmtime-wasi
towasi-common
(#10979) (c4114d5)Add
#[deny(unused)]
(#10997) (1bb3716)v1.13.3
Compare Source
Bug Fixes
(es/minifier) Check exported when optimize last expr (#10939) (f6f15f3)
(es/minifier) Disallow types (#10945) (63172ef)
(es/minifier) Don't optimize Number properties when Number is shadowed (#10947) (40a1e2e)
(es/minifier) Fix cycle detection (#10950) (212d8bc)
(es/parser) Correctly handle EOF position (#10934) (dd70fbd)
Performance
(es/minifier) Remove visitor of CharFreqAnalyzer (#10928) (65534ff)
(es/minifier) Remove pre-compress pass (#10932) (c7f0e4d)
(es/minifier) Use bitflag for var kind (#10940) (4317988)
(es/minifier) Remove needless clone (#10949) (b5e5e8c)
(es/parser) Reduce comparison (#10933) (e44fbd4)
(es/parser) Reduce comparison (#10941) (a262eeb)
v1.13.2
Compare Source
Bug Fixes
(es/minifier) Remove the last break in the second switch (#10923) (3ed4a12)
(es/parser) Reject malformed phase import statements (#10912) (5fde348)
(swc_core) Add
default-features = false
to dropstacker
(#10916) (38b45b7)Features
(es/compiler) Improve structure (#10903) (0cc6743)
(es/compiler) Merge
private_in_object
andstatic_blocks
(#10909) (c1405da)(es/compiler) Merge logical assignments (#10914) (ccbfcd1)
(es/compiler) Merge
export_namespace_from
(#10917) (ba6cc71)(es/renamer) Add
renamer_keep_contexts
(#10907) (1b15171)Miscellaneous Tasks
Opus
and allow assigning to theclaude-bot
(3275b9c)Performance
(es/lexer) Remove option for handler (#10881) (1ad8506)
(es/lexer) Reduce memory move (#10906) (145fba4)
(es/lexer) Reduce context query (#10910) (443aa1c)
(es/lexer) Reduce query and comparison (#10919) (400c996)
(es/minifier) Make
get_type
for===
lazy (#10920) (4eab8e8)(es/minifier) Reduce
get_type
calls (#10922) (9d55e88)(es/parser) Reduce check during parsing binding (#10905) (92ca5ec)
(es/parser) Reduce comparison (#10911) (e00c178)
Refactor
(es/compat) Initialize compiler API (#10902) (d6566ee)
(es/lexer) EOF Token (#10880) (54c866a)
(es/parser) Reduce
input_mut()
calls (#10899) (1816368)(es/parser) Remove unnecessary PResult (#10900) (27e548d)
(es/preset-env) Apply swc_ecma_compiler in preset env (#10921) (6f5b72a)
Testing
v1.13.1
Compare Source
Bug Fixes
(es/compat) Properly handle rest assignment in for-in/of RHS (#10883) (5d11851)
(es/decorators) Handle empty class members (#10892) (fe44972)
(es/minifier) Hoist props when only props are used (#10891) (452fc98)
(es/minifier) Recursively check stmt for variable when inlining function (#10896) (e37a93d)
(es/minifier) Termination check when stmts containing switch (#10898) (4429b20)
(es/parser) Fix parsing of JSX identifiers (#10894) (0047c39)
(ts/fast-strip) Strip private method overloads (#10886) (cdb6e87)
Testing
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
This PR was generated by Mend Renovate. View the repository job log.