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.24.3] - 2024-08-18
Features
optional-catch-binding
plugin (feat(transformer): supportoptional-catch-binding
plugin #4885) (Dunqing)BoundIdentifier::new_uid_in_current_scope
method (feat(transformer): addBoundIdentifier::new_uid_in_current_scope
method #4903) (overlookmotel)BoundIdentifier
(feat(transformer): add methods toBoundIdentifier
#4897) (overlookmotel)generate_uid_based_on_node
method inTraverseCtx
(feat(traverse): supportgenerate_uid_based_on_node
method inTraverseCtx
#4940) (Dunqing)clone_identifier_reference
method inTraverseCtx
(feat(traverse): supportclone_identifier_reference
method inTraverseCtx
#4880) (Dunqing)Bug Fixes
scope_id
fields in JSON AST (fix(ast): do not includescope_id
fields in JSON AST #4858) (overlookmotel)declare
toPropertyDefinition
(fix(codegen): add missingdeclare
toPropertyDefinition
#4937) (Boshen)TSSatisfiesExpression
andTSInstantiationExpression
(fix(codegen): printTSSatisfiesExpression
andTSInstantiationExpression
#4936) (Boshen)x in new Error()
(fix(codegen): fix whitespace issue when minifyingx in new Error()
#4886) (Boshen)TSNonNullExpression
(fix(codegen): printTSNonNullExpression
#4869) (Boshen)PrivateInExpression
(fix(codegen): missing parenthesis forPrivateInExpression
#4865) (Boshen)>>
,<<
and>>>
(fix(linter/tree-shaking): correct the calculation of>>
,<<
and>>>
#4932) (mysteryven)Object.definedPropert(exports
for @babel/types/lib/index.js (fix(minifier): handleObject.definedPropert(exports
for @babel/types/lib/index.js #4933) (Boshen)0 && (module.exports = {})
forcjs-module-lexer
(fix(minifier): do not fold0 && (module.exports = {})
forcjs-module-lexer
#4878) (Boshen)require
calls forcjs-module-lexer
(fix(minifier): do not joinrequire
calls forcjs-module-lexer
#4875) (Boshen)ast.copy
fromNullishCoalescingOperator
transform (fix(transformer): remove anast.copy
fromNullishCoalescingOperator
transform #4913) (overlookmotel)SimpleAssignmentTarget
withMemberExpressions
is not stripped (fix(transformer/typescript): typescript syntax withinSimpleAssignmentTarget
withMemberExpressions
is not stripped #4920) (Dunqing)Documentation
Ast
helper attributes. (docs(ast, ast_macros, ast_tools): better documentation forAst
helper attributes. #4856) (rzvxa)Refactor
allocator
as var name forAllocator
(refactor(allocator, ast, span, ast_tools): useallocator
as var name forAllocator
#4900) (overlookmotel)AstBuilder::copy
as an unsafe function (refactor(ast, isolated_declarations, transformer): markAstBuilder::copy
as an unsafe function #4907) (overlookmotel)oxc_ast_codegen
tooxc_ast_tools
. (refactor(ast_tools): renameoxc_ast_codegen
tooxc_ast_tools
. #4846) (rzvxa)msrv
. (refactor(sourcemap): lower themsrv
. #4873) (rzvxa)BoundIdentifier::new_uid_in_root_scope
(refactor(transformer): renameBoundIdentifier::new_uid_in_root_scope
#4902) (overlookmotel)BoundIdentifier
methods (refactor(transformer): re-orderBoundIdentifier
methods #4896) (overlookmotel)BoundIdentifier
helper (refactor(transformer): improve comments forBoundIdentifier
helper #4895) (overlookmotel)