Socket
Socket
Sign inDemoInstall

typedoc

Package Overview
Dependencies
Maintainers
2
Versions
310
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.9 to 0.5.10

dist/lib/converter/types/this.d.ts

2

dist/lib/application.js

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

}(component_1.ChildableComponent));
Application.VERSION = '0.5.9';
Application.VERSION = '0.5.10';
__decorate([

@@ -161,0 +161,0 @@ component_1.Option({

@@ -121,7 +121,7 @@ "use strict";

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

@@ -128,0 +128,0 @@ }

@@ -9,2 +9,3 @@ export { AliasConverter } from './alias';

export { ReferenceConverter } from './reference';
export { ThisConverter } from './this';
export { TupleConverter } from './tuple';

@@ -11,0 +12,0 @@ export { TypeParameterConverter } from './type-parameter';

@@ -19,2 +19,4 @@ "use strict";

exports.ReferenceConverter = reference_1.ReferenceConverter;
var this_1 = require("./this");
exports.ThisConverter = this_1.ThisConverter;
var tuple_1 = require("./tuple");

@@ -21,0 +23,0 @@ exports.TupleConverter = tuple_1.TupleConverter;

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

var _ts = require("../../ts-internal");
var Path = require("path");
var components_1 = require("../components");
var fs_1 = require("../../utils/fs");
var ERROR_UNSUPPORTED_FILE_ENCODING = -2147024809;

@@ -39,5 +37,4 @@ var CompilerHost = (function (_super) {

CompilerHost.prototype.getDefaultLibFileName = function (options) {
var lib = this.owner.getDefaultLib();
var path = _ts.getDirectoryPath(fs_1.normalizePath(require.resolve('typescript')));
return Path.join(path, lib);
var libLocation = _ts.getDirectoryPath(_ts.normalizePath(ts.sys.getExecutingFilePath()));
return _ts.combinePaths(libLocation, ts.getDefaultLibFileName(options));
};

@@ -44,0 +41,0 @@ CompilerHost.prototype.getDirectories = function (path) {

@@ -20,2 +20,4 @@ import * as ts from 'typescript';

export declare function getDirectoryPath(path: string): string;
export declare function normalizePath(path: string): string;
export declare function combinePaths(path1: string, path2: string): string;
export declare function getSourceFileOfNode(node: ts.Node): ts.SourceFile;

@@ -22,0 +24,0 @@ export declare function getTextOfNode(node: ts.Node, includeTrivia?: boolean): string;

@@ -25,2 +25,10 @@ "use strict";

exports.getDirectoryPath = getDirectoryPath;
function normalizePath(path) {
return tsany.normalizePath(path);
}
exports.normalizePath = normalizePath;
function combinePaths(path1, path2) {
return tsany.combinePaths(path1, path2);
}
exports.combinePaths = combinePaths;
function getSourceFileOfNode(node) {

@@ -27,0 +35,0 @@ return tsany.getSourceFileOfNode.apply(this, arguments);

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

'out', 'version', 'help',
'watch', 'declaration', 'mapRoot',
'watch', 'declaration', 'declarationDir', 'mapRoot',
'sourceMap', 'inlineSources', 'removeComments'

@@ -88,0 +88,0 @@ ];

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

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

"typedoc-default-themes": "^0.4.2",
"typescript": "2.2.1"
"typescript": "2.2.2"
},

@@ -52,0 +52,0 @@ "devDependencies": {

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