9 Commits

Author SHA1 Message Date
Jeff Williams
125a9add3d
refactor: remove jsdoc.deps from test environment
Use `jsdoc.env` instead.
2024-12-07 14:56:28 -08:00
Jeff Williams
55b0489662
chore(jsdoc-eslint-config): migrate to ESLint flat config 2024-04-14 11:39:46 -07: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
89f2c72da4
refactor: provide logging functions in dependencies; stop using EventBus
These changes enable templates to use the logging functions even if they're not installed in the same `node_modules` directory as JSDoc.

Includes API changes to various modules and functions that didn't have access to the dependency object. Most notably, you now call a function to retrieve tag definitions, rather than just using an exported object as-is.
2023-11-15 17:43:21 -08:00
Jeff Williams
1a2690915a
refactor: use DocletStore to track parse results
Also updates a bunch of code to use optional chaining and nullish coalescing.
2023-10-01 17:52:01 -07: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