11 Commits

Author SHA1 Message Date
Jeff Williams
13cdfd18b7
fix: use the correct name and longname for an exported symbol with a @memberof tag 2025-10-04 17:40:13 -07:00
Jeff Williams
428ddcf521
refactor: create @jsdoc/name package to break dependency cycles
Tons of stuff depends on these methods; in contrast, these methods don't depend on any other JSDoc packages.
2024-12-15 15:08:06 -08:00
Jeff Williams
f7d5fa77b0
fix: use a special longname for a non-default export in an ES2015 module
Previously, we used `exports.NAME`, which was both incorrect and confusing.
2024-05-11 17:42:04 -07:00
Jeff Williams
575f0dccc8
fix: use a special longname for an ES2015 module's default export
Previously, we used `module.exports`, which is both incorrect and confusing.
2024-05-11 12:07:56 -07:00
Jeff Williams
4fcaf793f6
feat(jsdoc-core): move parseSourceFiles() to public API 2024-01-12 19:26:16 -08:00
Jeff Williams
5a6998bce7
feat(jsdoc-parse): add the source file's module type, if known, to the doclet meta info 2023-12-25 11:57:37 -08:00
Jeff Williams
e8bbe5b694
feat(jsdoc-ast): autodetect module type while walking the AST 2023-12-25 08:34:27 -08:00
Jeff Williams
02e82eaaa4
fix: use the correct name and longname for class-private methods and properties 2023-12-19 12:47:15 -08:00
Jeff Williams
13413159a5
fix: define node properties unconditionally to prevent megamorphism
We only call `addNodeProperties()` once, so there's no need to confirm that we haven't called it already. The extra checks before defining the properties caused v8 deoptimizations.
2023-12-02 20:34:07 -08:00
Jeff Williams
c04508f295
refactor: migrate to ES modules 2023-02-28 20:12:24 -08:00
Jeff Williams
59ecaa1afe
refactor: rename @jsdoc/parse to @jsdoc/ast
To prevent circular dependencies with `@jsdoc/doclet` in the near future.
2023-01-16 11:49:14 -08:00