Update @swc/core 1.2.147 → 1.15.11 (minor) #712
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.
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ @swc/core (1.2.147 → 1.15.11) · Repo · Changelog
Release Notes
Too many releases to show here. View the full release notes.
Commits
See the full diff on Github. The new version differs by 44 commits:
chore: Publish `1.15.11` with `swc_core` `v56.0.0`chore: Update changelogchore: Publish `1.15.11-nightly-20260127.1` with `swc_core` `v56.0.0`chore: Publish crates with `swc_core` `v56.0.0`fix(es/parser): Disallow NumericLiteralSeparator with BigInts (#11510)feat(es/module): Make module transforms optional via `module` feature (#11509)perf(es/transformer): Add inline hint (#11508)feat(es/transformer): Merge ES3 hooks into swc_ecma_transformer (#11503)feat(cli): Add --root-mode argument for .swcrc resolution (#11501)fix(es/es3): Remove duplicate code (#11499)perf(es/es2015): Port ES2015 transforms to hook-based visitors (#11484)fix(es/minifier): Handle unused parameters with default values (#11494)chore: Add a changesetfix(preset-env): Distinguish unknown browser vs empty config (#11457)fix(es/module): Preserve ./ prefix for hidden directory imports (#11489)fix(es/decorators): Invoke addInitializer callbacks for decorated fields (#11495)perf(es/codegen): Make `commit_pending_semi` explicit in `write_punct` (#11492)fix(es/parser): Reject ambiguous generic arrow functions in TSX mode (#11491)perf(bindings): Optimize string handling by avoiding unnecessary clones (#11490)test(es/parser): Check `handler.has_errors()` in test error parsing (#11487)fix(es/codegen): Emit leading comments for JSX elements, fragments, and empty expressions (#11488)chore: Add missing `repository.directory` property to `package.json` (#11486)perf(es/es3): Use hooks pattern for single AST traversal (#11483)docs: Replace swc.config.js references with .swcrc (#11485)refactor(es/compat): Put ES3 crates behind feature flag (#11480)feat(es/regexp): Implement unicode property escape transpilation (#11472)chore: Add `allowed_bots: '*'` to code review workflowchore(es/minifier): Extend OrderedChain to support more node types (#11477)fix(es/es3): Visit export decl body even if name is not reserved (#11473)fix(es/react): Preserve HTML entity-encoded whitespace in JSX (#11474)perf(es/minifier): Use combined AST traversal (#11471)fix(es/testing): Skip update when expected output has invalid code (#11469)test(es/parser): Add error tests for import.source and import.defer with too many args (#11466)fix(es/minifier): Escape control characters when converting strings to template literals (#11464)fix(es/parser): Skip emitting TS1102 in TypeScript mode (#11463)fix(es/parser): Allow compilation with --no-default-features (#11460)test: Replace deprecated `cargo_bin` function with `cargo_bin!` macro (#11461)fix(es/parser): Validate dynamic import argument count (#11462)chore: Publish crates with `swc_core` `v55.0.2`test(es/minifier): Add test case for `merge_imports` order preservation (#11458)fix(es/renamer): Prevent duplicate parameter names with destructuring patterns (#11456)fix(es/typescript): Don't mark enums with opaque members as pure (#11452)fix(es/minifier): Treat new expression with empty class as side-effect free (#11455)chore: Update changelogDepfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase.All Depfu comment commands