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.41.0] - 2024-12-13
fb325dc ast: [BREAKING]
span
field must be the first element (refactor(ast)!:span
field must be the first element #7821) (Boshen)96a26d3 ast: [BREAKING] Rename
is_strict
methods tohas_use_strict_directive
(refactor(ast)!: renameis_strict
methods tohas_use_strict_directive
#7783) (overlookmotel)Features
visit_span
toVisit
andVisitMut
(feat(ast): addvisit_span
toVisit
andVisitMut
#7816) (overlookmotel)ArrowFunctionExpression::has_use_strict_directive
method (feat(ast): addArrowFunctionExpression::has_use_strict_directive
method #7784) (overlookmotel)Bug Fixes
import source from 'mod'
(fix(parser): parseimport source from 'mod'
#7833) (Boshen)export {}
references a type-only binding and a normal (fix(semantic): missing references whenexport {}
references a type-only binding and a normal #7812) (Yunfei He)export default
references a type alias binding (fix(semantic): missing reference whenexport default
references a type alias binding #7813) (Dunqing)ScopeId
s in instance prop initializers (fix(transformer/class-properties): fixScopeId
s in instance prop initializers #7823) (overlookmotel)raw
for generatedStringLiteral
(fix(transformer/class-properties): noraw
for generatedStringLiteral
#7825) (overlookmotel)ChainExpression
(fix(transformer/class-properties): unwrap failed when private field expression doesn't contain optional expression inChainExpression
#7798) (Dunqing)ParenthesisExpression
or TS-syntax expressions. (fix(transformer/class-properties): panic when the callee or member isParenthesisExpression
or TS-syntax expressions. #7795) (Dunqing)ScopeId
s in static prop initializers (fix(transformer/class-properties): fixScopeId
s in static prop initializers #7791) (overlookmotel)Performance
options.print_comments()
(perf(codegen): fast path foroptions.print_comments()
#7806) (Boshen)Refactor
<CWD>
in test runner (refactor(transformer): handle<CWD>
in test runner #7799) (Dunqing)debug_assert_expr_is_not_parenthesis_or_typescript_syntax
(refactor(transformer/class-properties): renamedebug_assert_expr_is_not_parenthesis_or_typescript_syntax
#7803) (overlookmotel)#[inline(always)]
onassert_expr_neither_parenthesis_nor_typescript_syntax
(refactor(transformer/class-properties):#[inline(always)]
onassert_expr_neither_parenthesis_nor_typescript_syntax
#7802) (overlookmotel)Testing