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

@es-joy/jsdoccomment

Package Overview
Dependencies
Maintainers
1
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

1
11

0.22.1

Diff

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.
brettz9
published 0.19.0 •

Changelog

Source

0.19.0

User-impacting

  • feat: treat @kind as having no name

Dev-impacting

  • docs: jsdoc
  • test: begin checking jsdoccomment
  • test: adds lcov reporter and open script for it
  • chore: update devDeps.
brettz9
published 0.18.0 •

Changelog

Source

0.18.0

User-impacting

  • feat: add non-visitable endLine property (so can detect line number when no description present)
  • feat: supply indent default for parseComment
  • fix: ensure postName gets a space for @template with a description
  • fix: converting JSDoc comment with tag on same line as end (e.g., single line) to AST
  • chore: update jsdoc-type-pratt-parser

Dev-impacting

  • docs: add jsdoc blocks internally
  • chore: update devDeps.
  • test: avoid need for expect
  • test: complete coverage for commentHandler, parseComment tests
brettz9
published 0.17.0 •

Changelog

Source

0.17.0

User-impacting

  • Enhancement: Re-export jsdoc-type-pratt-parser
  • Update: jsdoc-type-pratt-parser to 2.2.1

Dev-impacting

  • npm: Update devDeps.
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