Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@es-joy/jsdoccomment

Package Overview
Dependencies
Maintainers
2
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@es-joy/jsdoccomment - npm Package Versions

23
11

0.50.0

Diff

Changelog

Source

0.50.0

BREAKING CHANGES:

  • Require Node 18+

  • chore: add .d.cts file / add type dependencies (#19)

  • test(ci): drop Node 16.x and add Node 22.x

Thanks:

  • @typhonrt
brettz9
published 0.49.0 •

Changelog

Source

0.49.0

  • fix: avoid changing name for @template; should be able to recover optional brackets and defaults in AST
brettz9
published 0.48.0 •

Changelog

Source

0.48.0

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

Changelog

Source

0.47.0

  • fix(parseComment): assume closing bracket of name is final instead of first one
  • chore: flat config/ESLint 9; change browser targets; lint; update devDeps.
brettz9
published 0.46.0 •

Changelog

Source

0.46.0

  • chore: update esquery, drop bundling of types, update devDeps
brettz9
published 0.45.0 •

Changelog

Source

0.45.0

  • feat: get following comment (experimental)
brettz9
published 0.44.0 •

Changelog

Source

0.44.0

  • feat: add getNonJsdocComment for getting non-JSDoc comments above node
brettz9
published 0.43.1 •

Changelog

Source

0.43.1

  • fix: for @template name parsing, ensure (default-)bracketed name is not broken with internal spaces.
brettz9
published 0.43.0 •

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.
23
11
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc