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.51.0] - 2025-02-15
21a9476 ast: [BREAKING] Remove
TSLiteral::RegExpLiteral
(feat(ast)!: removeTSLiteral::RegExpLiteral
#9056) (Dunqing)9091387 ast: [BREAKING] Remove
TSType::TSQualifiedName
(feat(ast)!: removeTSType::TSQualifiedName
#9051) (Dunqing)Features
typeof
with ValueType information (feat(ecmascript): foldtypeof
with ValueType information #9086) (sapphi-red)a + 'a' + 1
toa + 'a1'
(feat(minifier): folda + 'a' + 1
toa + 'a1'
#9080) (sapphi-red)remove_unused_expression
(feat(minifier): improveremove_unused_expression
#9071) (Boshen)@babel/runtime
with@oxc-project/runtime
(feat(transformer/helper-loader): replace@babel/runtime
with@oxc-project/runtime
#9059) (Dunqing)Bug Fixes
CatchParameter
do not includetype
andSpan
twice (fix(ast/estree):CatchParameter
do not includetype
andSpan
twice #9125) (overlookmotel)FormalParameter
do not includeSpan
twice (fix(ast/estree):FormalParameter
do not includeSpan
twice #9124) (overlookmotel)AssignmentTargetPropertyIdentifier
(fix(ast/estree): fix TS type forAssignmentTargetPropertyIdentifier
#9092) (overlookmotel)BigIntLiteral
andRegExpLiteral
(fix(ast/estree): fix TS types forBigIntLiteral
andRegExpLiteral
#9091) (overlookmotel)ValueType
(fix(ecmascript): handle shadowed global variables inValueType
#9085) (sapphi-red)\r
in template literals (fix(lexer): fix decoding lone\r
in template literals #9066) (overlookmotel)exports
(fix(npm/runtime): incorrect file paths inexports
#9069) (Dunqing)let _: null
asTSNullKeyword
(fix(parser): parselet _: null
asTSNullKeyword
#9133) (Boshen)Performance
Documentation
Refactor
#[estree(add_fields)]
converters (refactor(ast/estree): define types for#[estree(add_fields)]
converters #9116) (overlookmotel)if (!foo) foo = bar;
->foo ||= bar
in the same AST pass (refactor(minifier): minimizeif (!foo) foo = bar;
->foo ||= bar
in the same AST pass #9075) (Boshen)Styling
Testing
convertSpanUtf16
(test(napi/parser): split tests forconvertSpanUtf16
#9113) (hi-ogawa)