typedoc-plugin-missing-exports
Advanced tools
Comparing version 2.3.0 to 3.0.0
@@ -0,1 +1,6 @@ | ||
### 3.0.0 (2024-06-22) | ||
- Support TypeDoc 0.26 | ||
- BREAKING: Drop support for TypeDoc before 0.26. | ||
### 2.3.0 (2024-06-12) | ||
@@ -2,0 +7,0 @@ |
@@ -71,2 +71,8 @@ import { Converter, ReflectionKind, TypeScript as ts, ReferenceType, ParameterType, JSX, Renderer, } from "typedoc"; | ||
app.converter.on(Converter.EVENT_CREATE_DECLARATION, (context, refl) => { | ||
// TypeDoc 0.26 doesn't fire EVENT_CREATE_DECLARATION for project | ||
// We need to ensure the project has a program attached to it, so | ||
// do that when the first declaration is created. | ||
if (knownPrograms.size === 0) { | ||
knownPrograms.set(refl.project, context.program); | ||
} | ||
if (refl.kindOf(ModuleLike)) { | ||
@@ -129,3 +135,3 @@ knownPrograms.set(refl, context.program); | ||
symbolToOwningModule.clear(); | ||
}, void 0, 1e9); | ||
}, 1e9); | ||
app.renderer.on(Renderer.EVENT_BEGIN, () => { | ||
@@ -132,0 +138,0 @@ if (app.options.getValue("collapseInternalModule")) { |
{ | ||
"name": "typedoc-plugin-missing-exports", | ||
"version": "2.3.0", | ||
"version": "3.0.0", | ||
"description": "Include non-exported types in TypeDoc documentation", | ||
@@ -13,4 +13,4 @@ "exports": "./index.js", | ||
"prettier": "3.3.2", | ||
"typedoc": "^0.25.13", | ||
"typescript": "^5.4.5", | ||
"typedoc": "^0.26.0", | ||
"typescript": "^5.5.2", | ||
"vitest": "^1.6.0" | ||
@@ -29,3 +29,3 @@ }, | ||
"peerDependencies": { | ||
"typedoc": "0.24.x || 0.25.x" | ||
"typedoc": "0.26.x" | ||
}, | ||
@@ -35,4 +35,5 @@ "scripts": { | ||
"test:doc": "typedoc --plugin ./index.js --tsconfig ./test/packages", | ||
"build": "tsc" | ||
"build": "tsc", | ||
"lint": "prettier --check ." | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12831
171