Conversation
Contributor
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
Contributor
Monitor Oxc
|
CodSpeed Performance ReportMerging #8738 will not alter performanceComparing Summary
|
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
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.
[0.48.1] - 2025-01-26
Features
Infinity.toString(radix)to'Infinity'(feat(minifier): minimizeInfinity.toString(radix)to'Infinity'#8732) (Boshen)constwithletfor non-exported read-only variables (feat(minifier): replaceconstwithletfor non-exported read-only variables #8733) (sapphi-red)Math.sqrtandMath.cbrt(feat(minifier): evaluateMath.sqrtandMath.cbrt#8731) (sapphi-red)Math.powwith**(feat(minifier): replaceMath.powwith**#8730) (sapphi-red)NaN.toString(radix)is alwaysNaN(feat(minifier):NaN.toString(radix)is alwaysNaN#8727) (Boshen)foo(...[])->foo()(feat(minifier): minimizefoo(...[])->foo()#8726) (Boshen)new Map()(feat(minifier): dce pure expressions such asnew Map()#8725) (Boshen)Bug Fixes
new (import(''), function() {})(fix(codegen): remove parens fromnew (import(''), function() {})#8707) (Boshen)Unknown.fromCharCodeshould not be treated asString.fromCharCode(fix(minifier):Unknown.fromCharCodeshould not be treated asString.fromCharCode#8709) (sapphi-red)isStaticChildrenargument forFragmentwith multiple children (fix(transformer/jsx): incorrectisStaticChildrenargument forFragmentwith multiple children #8713) (Dunqing)Performance
tmp_bindings(perf(manger): remove uselesstmp_bindings#8735) (Dunqing)undefinedtovoid 0before everything else (perf(minifier): normalizeundefinedtovoid 0before everything else #8699) (Boshen)Refactor
MayHaveSideEffects(refactor(ecmascript): remove the lifetime annotation onMayHaveSideEffects#8717) (Boshen)GraphicalReporter(refactor(linter): move finishing default diagnostic message toGraphicalReporter#8683) (Sysix)slots(refactor(mangler): simplify initialization ofslots#8734) (Dunqing)try_fold_known_string_methods(refactor(minifier): allow mutating arguments in methods called fromtry_fold_known_string_methods#8729) (sapphi-red)Ctx(refactor(minifier): useCtx#8716) (Boshen)Normalize(refactor(minifier): clean upNormalize#8700) (Boshen)ScopeTree::iter_bindings(refactor(semantic): simplifyScopeTree::iter_bindings#8723) (Dunqing)Testing