Socket
Socket
Sign inDemoInstall

@es-joy/jsdoccomment

Package Overview
Dependencies
8
Maintainers
2
Versions
93
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2345
10Next

0.43.0

Diff

Changelog

Source

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:

brettz9
published 0.42.0 •

Changelog

Source

0.42.0

  • feat: expand argument for parseComment to accept a comment token string (@typhonrt)
  • chore: update devDeps.
brettz9
published 0.41.0 •

Changelog

Source

0.41.0

  • feat: look above surrounding parenthesis tokens for comment blocks, even if on a higher line than the corresponding AST structure
  • chore: update comment-parser and devDeps.
brettz9
published 0.40.1 •

Changelog

Source

0.40.1

  • chore(TS): fix path issue
brettz9
published 0.40.0 •

Changelog

Source

0.40.0

  • chore: update comment-parser and devDeps.
  • chore(TS): switch to NodeNext
brettz9
published 0.39.4 •

Changelog

Source

0.39.4

  • fix: include type exports for full inlineTags (and line) property support on blocks and tags
brettz9
published 0.39.3 •

Changelog

Source

0.39.3

  • fix: add type details for Node range and settings
brettz9
published 0.39.2 •

Changelog

Source

0.39.2

  • fix: export additional typedefs from index.js
brettz9
published 0.39.1 •

Changelog

Source

0.39.1

  • fix: typing export
brettz9
published 0.39.0 •

Changelog

Source

0.39.0

  • feat: types for test files and emit declaration files
  • fix(estreeToString): add JsdodInlineTag stringify support
  • refactor: lint
  • docs: add JsdocInlineTag to README
  • chore: update devDeps.
2345
10Next
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