Socket
Socket
Sign inDemoInstall

@es-joy/jsdoccomment

Package Overview
Dependencies
6
Maintainers
2
Versions
94
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
35
10Next

0.27.0

Diff

Changelog

Source

0.27.0

  • chore: bump jsdoc-type-pratt-parser and devDeps.
brettz9
published 0.26.1 •

Changelog

Source

0.26.1

  • fix(estreeToString): ensure typeLines may be picked up
brettz9
published 0.26.0 •

Changelog

Source

0.26.0

  • feat(getJSDocComment): allow function to detect comments just preceding a parenthesized expression (these have no special AST but their tokens have to be overpassed)
brettz9
published 0.25.0 •

Changelog

Source

0.25.0

  • feat(parseComment): properly support whitespace
  • fix(estreeToString): carriage return placement for ending of JSDoc block
  • fix(commentParserToESTree): avoid adding initial space before a tag if on a single line
  • test: make tests more accurate to jsdoc semantically
brettz9
published 0.24.0 •

Changelog

Source

0.24.0

  • feat(estreeToString): support stringification of parsedType but with a new preferRawType option allowing the old behavior of using rawType
brettz9
published 0.23.6 •

Changelog

Source

0.23.6

  • fix(commentParserToESTree): ensure postType added after multi-line type
  • fix(estreeToString): ensure JsdocTypeLine stringified with initial and that they are joined together with newlines
brettz9
published 0.23.5 •

Changelog

Source

0.23.5

  • fix(commentParserToESTree): avoid duplicating tag names
brettz9
published 0.23.4 •

Changelog

Source

0.23.4

  • fix(estreeToString): add delimiter, etc. if adding JsdocDescriptionLine for JsdocBlock
  • fix(estreeToString): add line break when tags are present (unless already ending in newline)
brettz9
published 0.23.3 •

Changelog

Source

0.23.3

  • fix(estreeToString): handle multi-line block descriptions followed by tags with line break
brettz9
published 0.23.2 •

Changelog

Source

0.23.2

  • fix: ensure JsdocBlock stringifier has any initial whitespace on end line
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc