PackageTrack

npm · #3793

@es-joy/jsdoccomment

0.96.0es-joy/jsdoccomment

Maintained replacement for ESLint's deprecated SourceCode#getJSDocComment along with other jsdoc utilities

Release timeline

163 releases since 2021
20222023202420252026

Releases

  1. 0.18.026 Jan 2022
    Release notes2 sources agree

    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
    Open source →
  2. 0.17.09 Jan 2022
    Release notes2 sources agree

    User-impacting

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

    Dev-impacting

    • npm: Update devDeps.
    Open source →
  3. 0.16.09 Jan 2022
    Release notes2 sources agree

    User-impacting

    • Update: jsdoc-type-pratt-parser to 2.2.0

    Dev-impacting

    • npm: Update devDeps.
    Open source →
  4. 0.15.08 Jan 2022
    Release notes2 sources agree

    User-impacting

    • Update: jsdoc-type-pratt-parser to 2.1.0

    Dev-impacting

    • npm: Update devDeps.
    Open source →
  5. 0.14.23 Jan 2022
    Release notes2 sources agree

    User-impacting

    • Fix: Find comments previous to parentheses (used commonly in TypeScript)

    Dev-impacting

    • npm: Update devDeps.
    Open source →
  6. 0.14.128 Dec 2021
    Release notes2 sources agree

    User-impacting

    • Update: jsdoc-type-pratt-parser to 2.0.2
    Open source →
  7. 0.14.028 Dec 2021
    Release notes2 sources agree

    User-impacting

    • Update: jsdoc-type-pratt-parser to 2.0.1

    Dev-impacting

    • npm: Update devDeps.
    Open source →
  8. 0.13.09 Dec 2021
    Release notes2 sources agree

    User-impacting

    • Update: comment-parser to 1.3.0
    • Fix: Allow comment on ExportDefaultDeclaration
    Open source →
  9. 0.12.022 Oct 2021
    Release notes2 sources agree

    User-impacting

    • Update: jsdoc-type-pratt-parser to 2.0.0
    • Enhancement: Support Node 17 (@timgates42)
    • Docs: Typo (@timgates42)

    Dev-impacting

    • Linting: As per latest ash-nazg
    • npm: Update devDeps.
    Open source →
  10. 0.11.012 Oct 2021
    Release notes2 sources agree
    • Update: For @typescript/eslint-parser@5, add PropertyDefinition
    Open source →
  11. 0.10.825 Aug 2021
    Release notes2 sources agree

    User-impacting

    • npm: Liberalize engines as per comment-parser change
    • npm: Bump comment-parser

    Dev-impacting

    • Linting: As per latest ash-nazg
    • npm: Update devDeps.
    Open source →
  12. 0.10.728 Jul 2021
    Release notes2 sources agree
    • npm: Update comment-parser with CJS fix and re-exports
    • npm: Update devDeps.
    Open source →
  13. 0.10.627 Jul 2021
    Release notes2 sources agree
    • Fix: Ensure copying latest build of comment-parser's ESM utils
    Open source →
  14. 0.10.527 Jul 2021
    Release notes2 sources agree
    • npm: Bump fixed jsdoc-type-pratt-parser and devDeps.
    Open source →
  15. 0.10.427 Jul 2021
    Release notes2 sources agree
    • Fix: Bundle comment-parser nested imports so that IDEs (like Atom) bundling older Node versions can still work. Still mirroring the stricter comment-parser engines for now, however.
    Open source →
  16. 0.10.327 Jul 2021
    Release notes2 sources agree
    • npm: Avoid exporting nested subpaths for sake of older Node versions
    Open source →
  17. 0.10.226 Jul 2021
    Release notes2 sources agree
    • npm: Specify exact supported range: ^12.20 || ^14.14.0 || ^16
    Open source →
  18. 0.10.126 Jul 2021
    Release notes2 sources agree
    • npm: Apply patch version of comment-parser
    Open source →
  19. 0.10.026 Jul 2021
    Release notes2 sources agree
    • npm: Point to stable comment-parser
    Open source →
  20. 0.9.0-alpha.625 Jul 2021pre-release
    Release notes2 sources agree

    User-impacting

    • Update: For comment-parser update, add lineEnd
    Open source →
  21. 0.9.0-alpha.524 Jul 2021pre-release
    Release notes2 sources agree

    User-impacting

    • npm: Bump comment-parser (for true ESM)
    • Update: Remove extensions for packages for native ESM in comment-parser fix

    Dev-impacting

    • npm: Update devDeps.
    Open source →
  22. 0.9.0-alpha.422 Jul 2021pre-release
    Release notes2 sources agree
    • Docs: Update repo info in package.json
    Open source →
  23. 0.9.0-alpha.322 Jul 2021pre-release
    Release notes2 sources agree
    • Fix: Due to comment-parser still needing changes, revert for now to alpha.1
    Open source →
  24. 0.9.0-alpha.222 Jul 2021pre-release
    Release notes2 sources agree

    User-impacting

    • npm: Bump comment-parser (for true ESM)
    • Update: Remove extensions for packages for native ESM in comment-parser fix

    Dev-impacting

    • npm: Update devDeps.
    Open source →
  25. 0.9.0-alpha.16 Jul 2021pre-release
    Release notes2 sources agree

    User-impacting

    • Breaking change: Indicate minimum for engines as Node >= 12
    • npm: Bump comment-parser

    Dev-impacting

    • npm: Lint cjs files
    • npm: Fix eslint script
    • npm: Update devDeps.
    Open source →
  26. 0.8.021 Jun 2021
    Release notes2 sources agree

    User-impacting

    • npm: Update jsdoc-type-pratt-parser (prerelease to stable patch)

    Dev-impacting

    • npm: Update devDeps.
    Open source →
  27. 0.8.0-alpha.228 May 2021pre-release
    Release notes2 sources agree
    • Fix: Avoid erring with missing typeLines
    Open source →
  28. 0.8.0-alpha.124 May 2021pre-release
    Release notes2 sources agree
    • Breaking change: Export globally as JsdocComment
    • Breaking change: Change JSDoc prefixes of all node types to Jsdoc
    • Breaking change: Drop jsdoctypeparserToESTree
    • Breaking enhancement: Switch to jsdoc-type-pratt-parser (toward greater TypeScript expressivity and compatibility/support with catharsis)
    • Enhancement: Export jsdocTypeVisitorKeys (from jsdoc-type-pratt-parser)
    Open source →
  29. 0.7.222 May 2021
    Release notes2 sources agree
    • Fix: Add @description to noNames
    Open source →
  30. 0.7.122 May 2021
    Release notes2 sources agree
    • Fix: Add @summary to noNames
    Open source →
  31. 0.7.021 May 2021
    Release notes2 sources agree
    • Enhancement: Allow specifying noNames and noTypes on parseComment to override (or add to) tags which should have no names or types.
    • Enhancement: Export hasSeeWithLink utility and defaultNoTypes and defaultNoNames.
    Open source →
  32. 0.6.015 May 2021
    Release notes2 sources agree
    • Change comment-parser tag AST to avoid initial @
    Open source →
  33. 0.5.112 May 2021
    Release notes2 sources agree
    • Fix: Avoid setting variation name (just the description) (including in dist)
    • npm: Add prepublishOnly script
    Open source →
  34. 0.5.012 May 2021
    Release notes2 sources agree
    • Fix: Avoid setting variation name (just the description)
    Open source →
  35. 0.4.49 May 2021
    Release notes2 sources agree
    • Fix: Avoid setting name and description for simple @template SomeName
    Open source →
  36. 0.4.35 May 2021
    Release notes2 sources agree
    • npm: Ignores Github file
    Open source →
  37. 0.4.25 May 2021
    Release notes2 sources agree
    • Fix: Ensure replacement of camel-casing (used in jsdoctypeparser nodes and visitor keys is global. The practical effect is that JSDocTypeNamed_parameter -> JSDocTypeNamedParameter, JSDocTypeRecord_entry -> JSDocTypeRecordEntry JSDocTypeNot_nullable -> JSDocTypeNotNullable JSDocTypeInner_member -> JSDocTypeInnerMember JSDocTypeInstance_member -> JSDocTypeInstanceMember JSDocTypeString_value -> JSDocTypeStringValue JSDocTypeNumber_value -> JSDocTypeNumberValue JSDocTypeFile_path -> JSDocTypeFilePath JSDocTypeType_query -> JSDocTypeTypeQuery JSDocTypeKey_query -> JSDocTypeKeyQuery
    • Fix: Add missing JSDocTypeLine to visitor keys
    • Docs: Explain AST structure/differences
    Open source →
  38. 0.4.13 May 2021
    Release notes2 sources agree
    • Docs: Indicate available methods with brief summary on README
    Open source →
  39. 0.4.03 May 2021
    Release notes2 sources agree
    • Enhancement: Expose parseComment and getTokenizers.
    Open source →
  40. 0.3.03 May 2021
    Release notes2 sources agree
    • Enhancement: Expose toCamelCase as new method rather than within a utility file.
    Open source →
  41. 0.2.03 May 2021
    Release notes2 sources agree
    • Enhancement: Exposes new methods: commentHandler, commentParserToESTree, jsdocVisitorKeys, jsdoctypeparserToESTree, jsdocTypeVisitorKeys,
    Open source →
  42. 0.1.130 Apr 2021
    Release notes2 sources agree
    • Build: Add Babel to work with earlier Node
    Open source →
  43. 0.1.030 Apr 2021
    Release notes2 sources agree
    • Initial version
    Open source →