chore(deps): update dependency @swc/core to v1.15.2 #990
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.20->1.15.2Release Notes
swc-project/swc (@swc/core)
v1.15.2Compare Source
Bug Fixes
filenameoption fromprint()(#11264) (0d4d2d9)Features
(es/minifier) Drop empty constructors during minification (#11250) (2cea7dd)
(es/visit) Add context parameter to VisitMutHook trait (#11254) (8645d0d)
Performance
(es/parser) Inline
skip_space(afb824a)(es/parser) Eliminate the outer loop of
skip_block_comment(#11261) (e41c0ac)(es/plugin) Use shared tokio runtime to avoid creation overhead (#11267) (707026b)
v1.15.1Compare Source
Bug Fixes
(cli) Print filename to stderr when compiling (#11249) (d66dab5)
(es/minifier) Prevent array destructuring optimization in assignment contexts (#11221) (99d8b0a)
Features
(es/compiler) Determine module structure (#11238) (415019c)
(ts/fast-strip) Add a binding crate for nodejs/amaro (#11236) (f0829af)
(visit) Add hook APIs for visitors (#11242) (3a141ed)
Miscellaneous Tasks
syntax_extand prepare AI-based porting (#11239) (15639c0)Performance
(common) Improve
StringInput#bump_bytes(#11230) (6a9fa49)(es/parser) Optimize
skip_space(#11225) (541d252)Refactor
v1.15.0Compare Source
Bug Fixes
(cli) Update plugin template to use VisitMut API (#11218) (6a87e41)
(hstr) Skip only
\ufor unicode (#11216) (eda01e5)Features
from_bytesfor Wtf8Buf and Wtf8 (#11211) (1430489)Performance
(atoms) Remove temporary allocations in rkyv serialize and deserialize (#11202) (85e6e8a)
(es/parser) Remove
startinState(#11201) (b9aeaa3)(plugin) Avoid data copy when transformation finished (#11223) (af134fa)
Refactor
(ast) Introduce flexible serialization encoding for AST (#11100) (8ad3647)
(plugin) Switch plugin abi to flexible serialization (#11198) (e5feaf1)
Flatten cargo workspaces (#11213) (6223100)
Testing
v1.14.0Compare Source
Bug Fixes
(atoms) Fix broken quote macro (#11195) (3485179)
(es/ast) Fix unicode unpaired surrogates handling (#11144) (845512c)
(hstr) Fix unsoundness of
wtf8's transmutation (#11194) (f27e65b)Features
nullish_coalescingintoCompiler(#11157) (dd6f71b)Miscellaneous Tasks
default-features = false(#11193) (85d855f)Performance
had_line_break_before_last(#11200) (7b5bcd7)Refactor
(bindings) Adjust compile options (#11190) (4c6df95)
(bindings) Add
opt-level = sto more crates (#11191) (ed63413)(es/ast) Cherry-pick #10763 (#11182) (e93ffde)
(es/parser) Detach
swc_ecma_parserfromswc_ecma_lexer(#11148) (94f175d)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)Configuration
📅 Schedule: Branch creation - "before 1am on monday and wednesday" in timezone Europe/Paris, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.