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.59.0] - 2025-03-18
3d17860 ast: [BREAKING] Reorder fields of
TemplateElement(refactor(ast)!: reorder fields ofTemplateElement#9821) (overlookmotel)ce6808a parser: [BREAKING] Rename
type_parameterstotype_argumentswhere needed (fix(parser)!: renametype_parameterstotype_argumentswhere needed #9815) (hi-ogawa)Features
ManuallyDropwrapper (feat(allocator/vec): removeManuallyDropwrapper #9742) (Dunqing)JSON.parsethe returned AST in wasm (feat(napi/parser):JSON.parsethe returned AST in wasm #9630) (Boshen)Bug Fixes
directivefield toExpressionStatementin TS AST (fix(ast/estree): adddirectivefield toExpressionStatementin TS AST #9844) (overlookmotel)Class.implements(fix(ast/extree): fixClass.implements#9817) (hi-ogawa)}and>appear inJSXText(fix(parser): error when}and>appear inJSXText#9777) (Boshen)export_kindforExportNamedDeclaration(fix(parser): correctly setexport_kindforExportNamedDeclaration#9827) (camc314)Performance
JSXText(perf(lexer): mark error case as cold branch when parsingJSXText#9831) (overlookmotel)Refactor
String::from_utf8_unchecked(refactor(allocator): improve safety ofString::from_utf8_unchecked#9772) (overlookmotel)CloneInforVec(refactor(allocator/vec): add comment about lifetime bound onCloneInforVec#9771) (overlookmotel)ArenaBoxalias (refactor(traverse): useArenaBoxalias #9759) (overlookmotel)TraverseCtx::insert_scope_below_statements(refactor(traverse): addTraverseCtx::insert_scope_below_statements#9757) (overlookmotel)TraverseScoping::insert_scope_below_statementsand rename var (refactor(traverse): add doc comment forTraverseScoping::insert_scope_below_statementsand rename var #9756) (overlookmotel)Testing