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.
[0.46.0] - 2025-01-14
ContentHash
(feat(ast)!: remove unused and not usefulContentHash
#8483) (Boshen)Features
var x; void x
->void 0
(feat(minifier): minifyvar x; void x
->void 0
#8466) (Boshen)false['toString']
(feat(minifier): foldfalse['toString']
#8447) (Boshen)Atom::r#static
(feat(span): addAtom::r#static
#8479) (_Kerman)Bug Fixes
declare
declarations when they are exported (fix(isolated-declarations): retaindeclare
declarations when they are exported #8477) (Dunqing)typeof
(fix(isolated-declarations): import statement disappears when import binding is referenced in nestedtypeof
#8476) (Dunqing)Symbol
as property key (fix(isolated-declarations): unexpected error when globalSymbol
as property key #8475) (Dunqing)null.toString()
and1n.toString()
(fix(minifier): fix incorrectnull.toString()
and1n.toString()
#8464) (Boshen)return undefined
in async generator function (fix(minifier): keepreturn undefined
in async generator function #8439) (Boshen)this
andsuper
incorrectly in async arrow function (fix(transformer/arrow-functions): transformthis
andsuper
incorrectly in async arrow function #8435) (Dunqing)TSImportEqualsDeclaration
innamespace
when its binding has been referenced oronlyRemoveTypeImports
is true (fix(transformer/typescript): retainTSImportEqualsDeclaration
innamespace
when its binding has been referenced oronlyRemoveTypeImports
is true #8458) (Dunqing)Performance
Normalize
andRemoveSyntax
pass (perf(minifier): mergeNormalize
andRemoveSyntax
pass #8467) (Boshen)Refactor
match_expression!
(refactor(codegen): removematch_expression!
#8450) (Boshen)Atom::new_const
method (refactor(span): renameAtom::new_const
method #8480) (overlookmotel)