-
-
Notifications
You must be signed in to change notification settings - Fork 7
chore(deps): update dependency @swc/core to v1.15.8 #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
dadb276 to
3515d03
Compare
3515d03 to
ed632a0
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.8Release Notes
swc-project/swc (@swc/core)
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
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
(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)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)v1.13.3Compare 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.2Compare 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.1Compare 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.0Compare Source
Bug Fixes
(es/lexer) Disallow legacy octal literals as BigInt (#10867) (430fbf4)
(es/minifier) Restrict IIFE inlining in class contexts (#10879) (a01b54a)
(es/parser) Mark
staticas reserved in strict mode (#10861) (5bdddd7)Features
(es/minifier) Drop unused rest paramters (#10857) (5305486)
(es/minifier) Enhance IIFE invoker for arrow functions (#10860) (2b1ce3d)
(plugin/runner) Use wasmer-wasix sys-minimal feature to reduce binary size (#10638) (b5f704a)
Performance
(es/lexer) Reduce comparison while reading numbers (#10864) (c6ba5c2)
(es/lexer) Remove unnecessary check when reading keywords (#10866) (4aefe0e)
(es/parser) Reduce comparisons (#10862) (3bd9aad)
(es/parser) Remove useless alloc (#10865) (3ebf088)
(es/parser) Reduce token query (#10869) (d93ef64)
(es/parser) Remove duplicate check (#10872) (fe76460)
(es/parser) Remove duplicate check (#10874) (064123b)
(swc_error_reporters) Avoid creating miette handler when no diagnostics (#10852) (93b318f)
Refactor
(es/lexer) Avoid passing
convert(#10868) (77393f8)(es/minifier) Cleanup (#10882) (2595cb1)
(es/parser) Remove duplicate check for reservedness (#10850) (4897bfd)
(es/parser) Remove span swap operation in parser (#10854) (32f4bb8)
v1.12.14Compare Source
Bug Fixes
(es/minifier) Don't inline arrow when it contain
this(#10825) (8b43bb3)(es/parser) Make
exportin NS to not affect file type (#10799) (ae22033)(es/parser) Correctly check ambient context (#10802) (f97ea03)
Features
(es/parser) Enable support for dynamic import with
deferphase (#10845) (097d29d)(plugin) Remove
bytecheckto make Wasm plugins backward compatible (#10842) (30ad808)Miscellaneous Tasks
(bindings) Fix dependency issues (7c57fbb)
(deps) Update
class-validatorto avoid comments (#10819) (bacfa4b)(ide) Enable
--workspacefor rust-analyzer check (#10809) (92647ff)Performance
(es/minifier) Use
u8forremaining_depth(#10833) (ed6956a)(hstr) Inline one more byte (#10817) (3886c97)
(hstr) Remove static tag (#10832) (66ae1e8)
Refactor
(es/helpers) Make inline helpers optional at compile time (#10808) (53f3881)
(es/lexer) Don't store buffer in lexer (#10830) (cac40f1)
(es/lints) Remove warnings without features (#10794) (41d507f)
(es/parser) Reduce token query (#10834) (5cd5185)
(es/parser) Reduce call to
parse_decorators(#10846) (356d3a0)(es/parser) Remove duplicate check (#10847) (2b04efd)
(es/preset-env) Use strpool,phf for corejs2 data (#10803) (1652fd8)
(es/react) Remove redundant
replacecalls (#10795) ([a670b37](https://redirect.github.com/swc-project/swc/commit/a670b37c334b69a57f31fConfiguration
📅 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.