Socket
Socket
Sign inDemoInstall

@es-joy/jsdoccomment

Package Overview
Dependencies
4
Maintainers
2
Versions
94
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
46
10Next

0.23.1

Diff

Changelog

Source

0.23.1

  • docs(README): update
brettz9
published 0.23.0 •

Changelog

Source

0.23.0

  • BREAKING CHANGE(commentParserToESTree): rename start and end to initial and terminal to avoid any conflicts with Acorn-style parsers
  • feat: add initial and terminal on JsdocBlock
brettz9
published 0.22.2 •

Changelog

Source

0.22.2

  • fix: preserve type tokens
  • perf: cache tokenizers
brettz9
published 0.22.1 •

Changelog

Source

0.22.1

  • fix: ensure getJSDocComment does not treat block comments as JSDoc unless their first asterisk is followed by whitespace
brettz9
published 0.22.0 •

Changelog

Source

0.22.0

  • fix: update dep. jsdoc-type-pratt-parser
  • chore: update comment-parser and simplify as possible
brettz9
published 0.21.2 •

Changelog

Source

0.21.2

  • fix: only throw if the raw type is not empty
brettz9
published 0.21.1 •

Changelog

Source

0.21.1

  • fix: provide clearer error message for throwOnTypeParsingErrors
brettz9
published 0.21.0 •

Changelog

Source

0.21.0

  • feat: add throwOnTypeParsingErrors to receive run-time type parsing errors for parsedType
  • chore: update jsdoc-type-pratt-parser and devDeps.; also lints
brettz9
published 0.20.1 •

Changelog

Source

0.20.1

  • fix: resume catching bad parsed type (at least until jsdoc-type-pratt-parser may support all expected types)
brettz9
published 0.20.0 •

Changelog

Source

0.20.0

  • feat: add estree stringifer
  • fix: properly supports name/postName for multi-line type
  • fix: allow pratt parser to fail (unless empty)
  • fix: don't add tag postDelimiter when on 0 description line
  • fix: avoid adding extra line when only name and no succeeding description
  • docs: clarify re: kind
  • test: add parsedType with correct mode; add tests
  • chore: updates jsdoc-type-pratt-parser
  • chore: updates devDeps.
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