v5.0.4
TypeDoc support reaches parity with the JSDoc output, plus security hardening.
TypeDoc parity
- Standalone pages for enums, top-level functions, and variables, with TypeDoc section labels (Constructors / Properties / Accessors / Methods) and an "Enumeration Members" section; module/namespace pages become a kind-grouped index of links.
- Full TypeScript signatures (shiki-highlighted inline) on member/constructor/function headings, in both flavors. Overloaded functions/methods render every call signature.
- Declaration blocks lead interface / type-alias / variable pages (
interface Name { … },Name = (p) => R,HTTP_STATUS: { … }), and object-literal constants now list every member with its own doc comment under "Properties" instead of collapsing to one line. - Type names hyperlink to the symbols they reference (v4 parity); generics render a "Type Parameters" section;
@remarksrenders as its own section. - New
basePathoption so a TypeDoc site can be served from a sub-directory (every emitted URL — pages, assets, logos, favicon — is prefixed). - A small TypeDoc API example added to the docs site.
Security
- Removed the
new Functioneval shim from the module-path resolver — the theme no longer evaluates code at runtime. - Added
socket.ymlto triage build-inherent Socket alerts, dropped the now-unneededusesEvalexception, and scoped theshellAccessrule to the aadesh CLI.
Fixes
findStrayBackticksno longer false-positives on valid inline code spans.- Both bridges clean their output directory before writing, so stale/renamed pages don't linger in the served site.
- Dark-theme colors for inline signatures; wrapped signature params are indented and rendered slightly smaller; the JSDoc constructor section is unified.
Full changelog: https://github.com/ankitskvmdam/clean-jsdoc-theme/blob/master/packages/clean-jsdoc-theme/CHANGELOG.md