Socket
Socket
Sign inDemoInstall

typedoc-plugin-missing-exports

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typedoc-plugin-missing-exports - npm Package Compare versions

Comparing version 0.22.3 to 0.22.4

15

index.js

@@ -44,3 +44,5 @@ "use strict";

for (const s of missing) {
internalContext.converter.convertSymbol(internalContext, s);
if (shouldConvertSymbol(s, context.checker)) {
internalContext.converter.convertSymbol(internalContext, s);
}
tried.add(s);

@@ -130,2 +132,13 @@ }

exports.discoverMissingExports = discoverMissingExports;
function shouldConvertSymbol(symbol, checker) {
while (symbol.flags & typedoc_1.TypeScript.SymbolFlags.Alias) {
symbol = checker.getAliasedSymbol(symbol);
}
// We're looking at an unknown symbol which is declared in some package without
// type declarations. We know nothing about it, so don't convert it.
if (symbol.name === "unknown" && symbol.flags & typedoc_1.TypeScript.SymbolFlags.Transient) {
return false;
}
return true;
}
//# sourceMappingURL=index.js.map

2

package.json
{
"name": "typedoc-plugin-missing-exports",
"version": "0.22.3",
"version": "0.22.4",
"description": "Include non-exported types in TypeDoc documentation",

@@ -5,0 +5,0 @@ "main": "./index.js",

# typedoc-plugin-missing-exports
> Supports TypeDoc 0.22.x.
Automatically document symbols which aren't exported but are referenced.
> Supports TypeDoc 0.22.x
TypeDoc 0.20 switched from documenting each file individually to documenting based on entry points. TypeDoc looks at each provided entry point and documents all exports from that entry point.

@@ -6,0 +8,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc