chore(deps): update dependency @swc/core to v1.13.21 #867
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.13.3->1.13.21Release Notes
swc-project/swc (@swc/core)
v1.13.21Compare Source
Bug Fixes
(bindings) Improve ARM64 and Alpine Linux (musl) binary loading and validation (#11173) (f9be4d7)
(es/codegen) Encode non-ASCII chars in regex with ascii_only option (#11155) (b6f4d1f)
(es/compat) Apply
Array.prototype.slicetoargumentsin loose spread (#11122) (66428a2)(es/compat) Handle sparse arrays correctly in generator transforms (#11131) (9cd4334)
(es/compat) Preserve AutoAccessor to prevent panic (#11150) (101c3b7)
(es/decorators) Emit correct metadata for enum parameters (#11154) (630484f)
(es/helpers) Fix SuppressedError argument order in explicit resource management (#11172) (7693fb9)
(es/minifier) Fix inlining of hoisted functions (#11159) (bd55d30)
(es/minifier) Fix inlining of hoisted functions in param (#11161) (5a4088d)
(es/parser) Handle JSX attributes with keyword prefixes correctly (#11136) (d3cd97f)
(es/parser) Support literal computed property names in enums (#11163) (146c77c)
(es/react) Use correct span for
@jsxFragas null literal (#11139) (9353763)(es/transforms) Check errors::HANDLER.is_set() before failing (#11130) (1c9ab27)
Features
(bindings) Introduce AST Viewer to improve debugging experience (#10963) (fa3aacc)
(es/minifier) Add merge_imports optimization pass to reduce bundle size (#11151) (a01dee1)
(es/parser) Add an error for empty type args for generic (#11164) (9a1fa84)
Miscellaneous Tasks
(claude) Use Sonnet 4.5 instead of Opus (c79e1e5)
(deps) Update lru crate from 0.10.1 to 0.16.1 (#11145) (e347c5b)
Refactor
non_exhaustive(#11115) (f328e4a)v1.13.20Compare Source
Bug Fixes
(es/minifier) Preserve
__proto__shorthand property behavior (#11123) (63dbd1d)(es/parser) Parse
(void)correctly as arrow function return type (#11125) (d3e5dd3)Performance
v1.13.19Compare Source
Bug Fixes
(es/compat) Preserve comment when transform template with no expr (#11109) (80e8408)
(es/minifier) Inline block stmt into expr (#11107) (72a53a0)
(es/minifier) Allow MultiReplacer to inline multiple times (#11106) (fe8e981)
Features
(es/minifier) Optimize (a | 0) ^ b (#11110) (7af1474)
(hstr) Introduce
Wtf8Atom(#11104) (8cfd47b)Testing
v1.13.5Compare Source
Bug Fixes
(es/minifier) Preserve
array.joinwith nullable values (#10937) (e495403)(es/preset-env) Update polyfill data (#11013) (934d8a5)
Features
Refactor
preservesupports (#11025) (bc83875)v1.13.4Compare Source
Bug Fixes
(es/lexer) Use error when handling '\0' (#10964) (53c22d1)
(es/minifier) Skip serde of
pure_funcsin options (#10969) (862e70d)(es/minifier) Fix compile error with
debugfeature (#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-bodyfortagOmissionin binding (#11014) (1e1ebeb)(html/minifier) Support
keep_head_and_body(#11008) (86186db)(plugin/runner) Introduce
wasmtimebackend (#10958) (9fa8330)Miscellaneous Tasks
Performance
(es/ast) Remove alloc in leftmost api (#11005) (f59f233)
(es/minifier) Use bitflags for context of the
Purepass (#10953) (8cd5c58)(es/minifier) Reduce alloc (#10961) (6475070)
(es/minifier) Remove useless clone (#10970) (8873f65)
(es/minifier) Reduce clone (#10982) (4f2ed0d)
(es/minifier) Use
bitflagsforDropOpts(#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
OneDirectionalListand 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-wasitowasi-common(#10979) (c4114d5)Add
#[deny(unused)](#10997) (1bb3716)Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, 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.