Comparing version 0.23.8 to 0.23.9
@@ -42,2 +42,5 @@ "use strict"; | ||
ts.SyntaxKind.BindingElement, | ||
ts.SyntaxKind.VariableDeclaration, | ||
ts.SyntaxKind.ExportAssignment, | ||
ts.SyntaxKind.PropertyAccessExpression, | ||
], | ||
@@ -102,4 +105,8 @@ [models_1.ReflectionKind.Class]: [ | ||
if (kind & models_1.ReflectionKind.ContainsCallSignatures && | ||
!node.body && | ||
node.kind !== ts.SyntaxKind.BindingElement) { | ||
[ | ||
ts.SyntaxKind.FunctionDeclaration, | ||
ts.SyntaxKind.MethodDeclaration, | ||
ts.SyntaxKind.Constructor, | ||
].includes(node.kind) && | ||
!node.body) { | ||
continue; | ||
@@ -106,0 +113,0 @@ } |
@@ -100,7 +100,2 @@ "use strict"; | ||
let moduleContext; | ||
const allExports = getExports(context, node, symbol); | ||
if (allExports.every((exp) => this.shouldIgnore(exp))) { | ||
this.owner.logger.verbose(`All members of ${entryName} are excluded, ignoring entry point.`); | ||
return; | ||
} | ||
if (singleEntryPoint) { | ||
@@ -134,2 +129,3 @@ // Special case for when we're giving a single entry point, we don't need to | ||
} | ||
const allExports = getExports(context, node, symbol); | ||
for (const exp of allExports.filter((exp) => isDirectExport(context.resolveAliasedSymbol(exp), node))) { | ||
@@ -136,0 +132,0 @@ (0, symbols_1.convertSymbol)(moduleContext, exp); |
@@ -314,5 +314,14 @@ "use strict"; | ||
} | ||
return (comment.hasModifier("@hidden") || | ||
const isHidden = comment.hasModifier("@hidden") || | ||
comment.hasModifier("@ignore") || | ||
(comment.hasModifier("@internal") && this.excludeInternal)); | ||
(comment.hasModifier("@internal") && this.excludeInternal); | ||
if (isHidden && | ||
reflection.kindOf(models_1.ReflectionKind.ContainsCallSignatures)) { | ||
return reflection | ||
.getNonIndexSignatures() | ||
.every((sig) => { | ||
return !sig.comment || this.isHidden(sig); | ||
}); | ||
} | ||
return isHidden; | ||
} | ||
@@ -319,0 +328,0 @@ }; |
@@ -287,2 +287,5 @@ "use strict"; | ||
} | ||
// NTFS/ExFAT use uppercase, so we will too. It probably won't matter | ||
// in this case since names will generally be valid identifiers, but to be safe... | ||
const upperAlias = alias.toUpperCase(); | ||
let target = this; | ||
@@ -294,9 +297,9 @@ while (target.parent && !target.hasOwnDocument) { | ||
let suffix = ""; | ||
if (!target._aliases.has(alias)) { | ||
target._aliases.set(alias, 1); | ||
if (!target._aliases.has(upperAlias)) { | ||
target._aliases.set(upperAlias, 1); | ||
} | ||
else { | ||
const count = target._aliases.get(alias); | ||
const count = target._aliases.get(upperAlias); | ||
suffix = "-" + count.toString(); | ||
target._aliases.set(alias, count + 1); | ||
target._aliases.set(upperAlias, count + 1); | ||
} | ||
@@ -303,0 +306,0 @@ alias += suffix; |
@@ -264,3 +264,5 @@ "use strict"; | ||
packageJson["name"], | ||
version: packageJson["version"], | ||
version: includeVersion | ||
? packageJson["version"] | ||
: void 0, | ||
readmeFile: typedocPackageConfig?.readmeFile | ||
@@ -267,0 +269,0 @@ ? Path.resolve(Path.join(packageJsonPath, "..", typedocPackageConfig?.readmeFile)) |
{ | ||
"name": "typedoc", | ||
"description": "Create api documentation for TypeScript projects.", | ||
"version": "0.23.8", | ||
"version": "0.23.9", | ||
"homepage": "https://typedoc.org", | ||
@@ -69,3 +69,4 @@ "main": "./dist/index.js", | ||
"scripts": { | ||
"test": "c8 mocha -r ts-node/register --config .config/mocha.fast.json", | ||
"test": "mocha -r ts-node/register --config .config/mocha.fast.json", | ||
"test:cov": "c8 mocha -r ts-node/register --config .config/mocha.fast.json", | ||
"build:c2": "node bin/typedoc --tsconfig src/test/converter2/tsconfig.json", | ||
@@ -72,0 +73,0 @@ "test:full": "c8 mocha -r ts-node/register --config .config/mocha.full.json", |
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
1006492
23771