-
-
Notifications
You must be signed in to change notification settings - Fork 7
chore(deps): update dependency @swc/core to v1.15.11 #65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
dev
Choose a base branch
from
renovate/swc-monorepo
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
dab21d7 to
b536d06
Compare
b536d06 to
84dd22b
Compare
84dd22b to
0e37103
Compare
0e37103 to
a119a4e
Compare
a119a4e to
b37e9a4
Compare
4e47779 to
4115940
Compare
4115940 to
bd65085
Compare
bd65085 to
7127fc2
Compare
7127fc2 to
053e1be
Compare
053e1be to
3a60fc9
Compare
3a60fc9 to
bae8ab2
Compare
bae8ab2 to
ca90021
Compare
ca90021 to
cf3c7b9
Compare
cf3c7b9 to
4d84567
Compare
4d84567 to
1d28ae3
Compare
ed632a0 to
42ac6e9
Compare
42ac6e9 to
375a382
Compare
375a382 to
d3c3c9f
Compare
d3c3c9f to
aada3c4
Compare
aada3c4 to
2777543
Compare
2777543 to
966a783
Compare
966a783 to
b8ebf0c
Compare
b8ebf0c to
9598927
Compare
9598927 to
446c3e6
Compare
446c3e6 to
00a6721
Compare
00a6721 to
3816a69
Compare
3816a69 to
683377c
Compare
683377c to
9556b89
Compare
9556b89 to
f529008
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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.4.6→1.15.11Release Notes
swc-project/swc (@swc/core)
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)
Documentation
Features
(cli) Add --root-mode argument for .swcrc resolution (#11501) (b53a0e2)
(es/module) Make module transforms optional via
modulefeature (#11509) (b94a178)(es/regexp) Implement unicode property escape transpilation (#11472) (a2e0ba0)
(es/transformer) Merge ES3 hooks into swc_ecma_transformer (#11503) (5efcac9)
Miscellaneous Tasks
Performance
(bindings) Optimize string handling by avoiding unnecessary clones (#11490) (81daaaa)
(es/codegen) Make
commit_pending_semiexplicit inwrite_punct(#11492) (5a27fc0)(es/es2015) Port ES2015 transforms to hook-based visitors (#11484) (a54eb0e)
(es/es3) Use hooks pattern for single AST traversal (#11483) (a139fba)
(es/minifier) Use combined AST traversal (#11471) (c611663)
(es/transformer) Add inline hint (#11508) (d72c9df)
Refactor
Testing
(es/minifier) Add test case for
merge_importsorder preservation (#11458) (b874a05)(es/parser) Add error tests for import.source and import.defer with too many args (#11466) (7313462)
(es/parser) Check
handler.has_errors()in test error parsing (#11487) (fade647)Replace deprecated
cargo_binfunction withcargo_bin!macro (#11461) (73f77b6)v1.15.10Compare Source
Bug Fixes
(ci) Handle merged PRs separately in milestone manager (#11409) (3554268)
(es/compat) Preserve this context in nested arrow functions (#11423) (f2bdaf2)
(es/es2017) Replace
thisin arrow functions during async-to-generator (#11450) (a993da6)Features
(bindings/wasm) Enable ecma_lints feature to support semantic error detection (#11414) (1faa4a5)
(es/hooks) Implement VisitMutHook for Either type (#11428) (395c85e)
(es/hooks) Implement VisitMutHook for Option (#11429) (0bf1954)
(es/hooks) Add VisitHook trait for immutable AST visitors (#11437) (3efb41d)
(es/minifier) Improve nested template literal evaluation (#11411) (147df2f)
(es/minifier) Remove inlined IIFE arg and param (#11436) (2bc5d40)
(es/minifier) Remove inlined IIFE arg and param (#11446) (baa1ae3)
Miscellaneous Tasks
(deps) Update
rkyv(#11419) (432197b)(deps) Update lru to 0.16.3 (#11438) (67c2d75)
(deps) Update browserslist-data to v0.1.5 (#11454) (e9f78f0)
(helpers) Replace MagicString with ast-grep's built-in edit API (#11410) (a3f0d33)
(hstr/wtf8) Address legacy FIXME comments by switching to derives (#11416) (f03bfd8)
Performance
(es/codegen, es/utils) Migrate to dragonbox_ecma for faster Number::toString (#11412) (b7978cc)
(es/react) Optimize JSX transforms to reduce allocations (#11425) (2a20cb6)
Refactor
(es) Improve TypeScript transform configuration structure (#11434) (f33a975)
(es/minifier) Migrate MinifierPass to Pass trait (#11442) (a41e631)
(es/minifier) Improve tpl to str (#11415) (0239523)
(es/react) Port to VisitMutHook (#11418) (9604d9c)
(es/transformer) Remove OptionalHook wrapper in favor of Option (#11430) (72da6bd)
(es/transforms) Migrate TypeScript transform to Pass trait (#11439) (dd007c6)
Testing
(es) Enable benchmark for
swc(#11420) (3a50a25)Disable LTO for benchmarks (#11421) (af3c2d3)
Use rstest as the test framework (#11417) (fae258f)
Ci
claude[bot]PR review comments (affb6a2)v1.15.8Compare Source
Bug Fixes
(es/minifier) Remove unused webpack-related code (#11397) (8e4eab4)
(es/minifier) Evaluate TemplateLiteral in BinaryExpression (#11406) (8d1b6f6)
(es/minifier) More strict check if cannot add ident when invoking IIFE (#11399) (03642aa)
Features
(es/minifier) Support BinaryExpression for Evaluator (#11390) (6c76f0a)
(es/transformer) Merge
static_blocks(#11403) (55a5083)Performance
(es/parser) Remove
Iteratorimplementation forLexer(#11393) (5941018)(es/parser) Optimize
do_outside_of_contextanddo_inside_of_context(#11394) (4210cf1)(es/parser) Remove
is_firstin lexer state (#11395) (97d903b)(es/parser) Use
byte_searchto optimizescan_jsx_token(#11398) (f9b4da2)Reduce binary size with panic=abort and ICU optimizations (#11401) (18088b2)
Refactor
(es/compiler) Drop the crate (#11407) (8faa14e)
(es/minifier) Move drop_console and unsafes from Pure to Optimizer (#11388) (ee40804)
(es/parser) Distinguish JsxText from Str (#11387) (63c4c44)
v1.15.7Compare Source
Bug Fixes
(es/minifier) Prevent unsafe sequence merging in
super()calls (#11381) (eb02780)(es/transformer) Fix variable declaration for nullish coalescing in else-if branches (#11384) (6746002)
(es/transforms) Update
_ts_rewrite_relative_import_extensionhelper code (#11382) (1ec444e)Features
private_properties_in_object(#11378) (769c9d2)Performance
ProgramData(#11374) (3639523)Refactor
v1.15.6Compare Source
Bug Fixes
Performance
raws inTokenValue(#11373) (78a5327)v1.15.5Compare Source
Bug Fixes
(es/parser) Fix
bumplength (#11372) (ec5c1bc)(es/transforms) Adjust import rewriter pass before inject helpers pass (#11371) (8516991)
v1.15.4Compare Source
Bug Fixes
(es/compat) Preserve return value for single-property object destructuring (#11334) (847ad22)
(es/compat) Fix generator transform for compound assignments, for-in, and labeled break (#11339) (9b6bedd)
(es/compat) Destructuring evaluation order (#11337) (49d04c7)
(es/compat) Fix parameter default value evaluation order with object rest (#11352) (2ebb261)
(es/fixer) Preserve parens around IFFE in binary expressions within sequences (#11324) (a4c84ea)
(es/helpers) Avoid extra trap calls on excluded keys in object rest spread (#11338) (4662caf)
(es/minifier) Fix
debugcargo feature (#11325) (be86fad)(es/minifier) Fix optimization pass for
merge_imports(#11331) (ca2f7ed)(es/parser) Don't call
bump_bytesin thecontinue_ifofbyte_search!(#11328) (583619d)(es/parser) Support type-only string literal in import specifiers (#11333) (07762f1)
(es/parser) Handle TypeScript expressions in destructuring patterns (#11353) (160ec34)
(es/transformer) Complete
replace_this_in_exprimplementation (#11361) (58c4067)(es/transformer) Fix pass order (#11370) (373048a)
Features
(es/minifier) Optimize
typeof x == "undefined"totypeof x > "u"(#11367) (a5e144b)(es/parser) Support
no_parenparser option (#11359) (5b9d77c)(es/parser) Revert
no_parenparser option (#11362) (57a8731)(es/transfomer) Add modules to prepare porting (#11347) (68d740c)
(es/transform) Add common fields (#11346) (1a8759f)
(es/transformer) Merge
async-to-generator(#11355) (c388e87)(es/transformer) Merge
async_to_generator(#11358) (25f3a47)(es/transformer) Merge
object_rest_spread(#11357) (752188e)(es/transformer) Merge
nullish_coalescing(#11365) (5fb686a)(es/transformer) Merge
logical_assignment_operators(#11369) (94946fa)Performance
(es/compat) Merge
exponentation_operator(#11310) (0ef3637)(es/compat) Merge
optional_catch_binding(#11313) (468d20c)(es/compat) Use merged transformer (#11366) (c4a5e79)
(es/parser) Optimize
byte_search!(#11323) (67f67c1)(es/parser) Small optimization after byte-based lexer (#11340) (c92ea4e)
(es/parser) Use
slicerather than matching keywords (#11341) (b6ad2cb)(parser) Make all parsers work by byte instead of char (#11318) (725efd1)
v1.15.3Compare Source
Bug Fixes
(es/codegen) Restore missing top-level comments (#11302) (0998c93)
(es/codegen) Emit comments of all nodes (#11314) (387ee0f)
(es/minifier) Prevent compress.comparisons from transforming expressions with side effects (#11256) (58a9d81)
(es/minifier) Remove unused arrow functions in dead code elimination (#11319) (88c6ac7)
(es/parser) Make the span of Program start at input start (#11199) (b56e008)
(es/plugin) Use
#[cfg]to avoid compilation error (#11316) (f615cdb)(es/quote) Replace usage of
swc_atomswithswc_core::atoms(#11299) (c1e32fa)Miscellaneous Tasks
Performance
(es/compat) Merge
regexppass intoTransformer(#11307) (440b391)(es/compat) Merge
export_namespace_fromtoTransformer(#11309) (7a528ce)Refactor
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
(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)
Documentation
Features
(cli) Add --root-mode argument for .swcrc resolution (#11501) (b53a0e2)
(es/module) Make module transforms optional via
modulefeature (#11509) (b94a178)(es/regexp) Implement unicode property escape transpilation (#11472) (a2e0ba0)
(es/transformer) Merge ES3 hooks into swc_ecma_transformer (#11503) (5efcac9)
Miscellaneous Tasks
Performance
(bindings) Optimize string handling by avoiding unnecessary clones (#11490) (81daaaa)
(es/codegen) Make
commit_pending_semiexplicit inwrite_punct(#11492) (5a27fc0)(es/es2015) Port ES2015 transforms to hook-based visitors (#11484) (a54eb0e)
(es/es3) Use hooks pattern for single AST traversal (#11483) (a139fba)
(es/minifier) Use combined AST traversal (#11471) (c611663)
(es/transformer) Add inline hint (#11508) (d72c9df)
Refactor
Testing
(es/minifier) Add test case for
merge_importsorder preservation (#11458) (b874a05)(es/parser) Add error tests for import.source and import.defer with too many args (#11466) (7313462)
(es/parser) Check
handler.has_errors()in test error parsing (#11487) (fade647)Replace deprecated
cargo_binfunction withcargo_bin!macro (#11461) (73f77b6)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)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
array.joinwith nullable values ([#10937](https://redirect.githubConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.