Socket
Socket
Sign inDemoInstall

typedoc

Package Overview
Dependencies
Maintainers
2
Versions
309
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typedoc - npm Package Compare versions

Comparing version 0.5.5 to 0.5.6

2

dist/lib/application.js

@@ -134,3 +134,3 @@ "use strict";

}
else {
else if (exclude && !exclude.match(file)) {
files.push(file);

@@ -137,0 +137,0 @@ }

@@ -27,2 +27,3 @@ "use strict";

_a[converter_1.Converter.EVENT_CREATE_DECLARATION] = this.onDeclaration,
_a[converter_1.Converter.EVENT_CREATE_PARAMETER] = this.onDeclaration,
_a[converter_1.Converter.EVENT_RESOLVE] = this.onBeginResolve,

@@ -29,0 +30,0 @@ _a));

@@ -112,3 +112,3 @@ "use strict";

path.split('/').forEach(function (path) {
if (!directory.directories[path]) {
if (!Object.prototype.hasOwnProperty.call(directory, path)) {
directory.directories[path] = new index_2.SourceDirectory(path, directory);

@@ -115,0 +115,0 @@ }

@@ -11,2 +11,3 @@ import * as ts from "typescript";

fileExists(fileName: string): boolean;
directoryExists(directoryName: string): boolean;
readFile(fileName: string): string;

@@ -13,0 +14,0 @@ getCanonicalFileName(fileName: string): string;

@@ -47,2 +47,5 @@ "use strict";

};
CompilerHost.prototype.directoryExists = function (directoryName) {
return ts.sys.directoryExists(directoryName);
};
CompilerHost.prototype.readFile = function (fileName) {

@@ -49,0 +52,0 @@ return ts.sys.readFile(fileName);

@@ -7,3 +7,3 @@ import { Reflection } from "../../models/reflections/index";

private onRendererBeginPage(page);
static buildToc(model: Reflection, trail: Reflection[], parent: NavigationItem): void;
static buildToc(model: Reflection, trail: Reflection[], parent: NavigationItem, restriction?: string[]): void;
}

@@ -38,6 +38,7 @@ "use strict";

}
var tocRestriction = this.owner.toc;
page.toc = new NavigationItem_1.NavigationItem();
TocPlugin_1.buildToc(model, trail, page.toc);
TocPlugin_1.buildToc(model, trail, page.toc, tocRestriction);
};
TocPlugin.buildToc = function (model, trail, parent) {
TocPlugin.buildToc = function (model, trail, parent, restriction) {
var index = trail.indexOf(model);

@@ -54,2 +55,4 @@ var children = model['children'] || [];

children.forEach(function (child) {
if (restriction && restriction.length > 0 && restriction.indexOf(child.name) === -1)
return;
if (child.kindOf(index_1.ReflectionKind.SomeModule)) {

@@ -56,0 +59,0 @@ return;

@@ -14,2 +14,3 @@ import { Application } from "../application";

entryPoint: string;
toc: string[];
initialize(): void;

@@ -16,0 +17,0 @@ render(project: ProjectReflection, outputDirectory: string): void;

@@ -173,2 +173,9 @@ "use strict";

], Renderer.prototype, "entryPoint", void 0);
__decorate([
component_1.Option({
name: 'toc',
help: 'Specifies the top level table of contents.',
type: declaration_1.ParameterType.Array
})
], Renderer.prototype, "toc", void 0);
Renderer = Renderer_1 = __decorate([

@@ -175,0 +182,0 @@ component_1.Component({ name: "renderer", internal: true, childClass: components_1.RendererComponent })

@@ -11,2 +11,3 @@ export declare enum ParameterHint {

Mixed = 4,
Array = 5,
}

@@ -13,0 +14,0 @@ export declare enum ParameterScope {

@@ -14,2 +14,3 @@ "use strict";

ParameterType[ParameterType["Mixed"] = 4] = "Mixed";
ParameterType[ParameterType["Array"] = 5] = "Array";
})(ParameterType = exports.ParameterType || (exports.ParameterType = {}));

@@ -47,2 +48,10 @@ var ParameterScope;

break;
case ParameterType.Array:
if (!value) {
value = [];
}
else if (typeof value === "string") {
value = value.split(",");
}
break;
case ParameterType.Map:

@@ -49,0 +58,0 @@ if (this.map !== 'object') {

@@ -78,3 +78,3 @@ "use strict";

'sourceMap', 'inlineSources', 'removeComments',
'lib', 'strictNullChecks', 'noImplicitThis',
'lib', 'noImplicitThis',
'traceResolution', 'noUnusedParameters', 'noUnusedLocals',

@@ -81,0 +81,0 @@ 'skipLibCheck', 'declarationDir', 'types', 'typeRoots'

{
"name": "typedoc",
"description": "Create api documentations for typescript projects.",
"version": "0.5.5",
"version": "0.5.6",
"homepage": "http://typedoc.org",

@@ -40,3 +40,3 @@ "main": "dist/index.js",

"@types/shelljs": "^0.3.32",
"fs-extra": "^0.30.0",
"fs-extra": "^2.0.0",
"handlebars": "4.0.5",

@@ -49,4 +49,4 @@ "highlight.js": "^9.0.0",

"shelljs": "^0.7.0",
"typedoc-default-themes": "^0.4.0",
"typescript": "2.1.5"
"typedoc-default-themes": "^0.4.2",
"typescript": "2.1.6"
},

@@ -71,3 +71,3 @@ "devDependencies": {

"scripts": {
"test": "mocha",
"test": "mocha -t 4000",
"build": "grunt build_and_test",

@@ -74,0 +74,0 @@ "prepublish": "npm run build"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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