@es-joy/jsdoccomment
Advanced tools
Changelog
0.25.0
parseComment
): properly support whitespaceestreeToString
): carriage return placement for ending of JSDoc blockcommentParserToESTree
): avoid adding initial space before a tag if on
a single lineChangelog
0.24.0
estreeToString
): support stringification of parsedType
but with
a new preferRawType
option allowing the old behavior of using rawType
Changelog
0.23.6
commentParserToESTree
): ensure postType
added after multi-line typeestreeToString
): ensure JsdocTypeLine
stringified with initial
and
that they are joined together with newlinesChangelog
0.23.4
estreeToString
): add delimiter
, etc. if adding JsdocDescriptionLine
for JsdocBlock
estreeToString
): add line break when tags are present (unless already
ending in newline)Changelog
0.23.3
estreeToString
): handle multi-line block descriptions followed by
tags with line breakChangelog
0.23.0
commentParserToESTree
): rename start
and end
to
initial
and terminal
to avoid any conflicts with Acorn-style parsersinitial
and terminal
on JsdocBlock