@es-joy/jsdoccomment
Advanced tools
Changelog
0.49.0
name
for @template
; should be able to recover
optional brackets and defaults in ASTChangelog
0.47.0
parseComment
): assume closing bracket of name is final instead of
first oneChangelog
0.43.1
@template
name parsing, ensure (default-)bracketed name is not broken with internal spaces.Changelog
0.43.0
This release brings surgical round trip parsing to generated AST and reconstruction of JSDoc comment blocks via: parseComment
->
commentParserToESTree
-> estreeToString
.
feat: new option spacing
for commentParserToESTree
; the default is compact
removing empty description lines.
Set to preserve
to retain empty description lines.
feat: new properties in the JsdocBlock
generated AST delimiterLineBreak
and preterminalLineBreak
that encode
any line break after the opening delimiter
and before the closing terminal
string. Values are either \n
or an
empty string.
chore: update devDeps / switch to Vitest.
New API documentation.
Thanks: