typescript.api
Advanced tools
Comparing version 0.5.4 to 0.5.5
@@ -144,6 +144,5 @@ // Copyright (c) 2013 haydn paterson (sinclair). All rights reserved. | ||
public ast : any; | ||
public declaration : string; | ||
public sourcemap : string; | ||
public script : typescript.api.Script; | ||
public references() : string[]; | ||
public references : string[]; | ||
} | ||
@@ -150,0 +149,0 @@ |
14
index.js
@@ -115,3 +115,15 @@ var _vm = require("vm"); | ||
exports.compiler = new api.Compile.Compiler(exports.languageVersion, exports.moduleTarget, logger); | ||
var options = new api.Compile.CompilerOptions(); | ||
options.moduleGenTarget = exports.moduleTarget; | ||
options.generateDeclarationFiles = exports.generateDeclarations; | ||
options.mapSourceFiles = exports.generateSourceMaps; | ||
options.languageVersion = exports.languageVersion; | ||
options.logger = logger; | ||
exports.compiler = new api.Compile.Compiler(options); | ||
} | ||
@@ -118,0 +130,0 @@ exports.reset = reset; |
{ | ||
"name": "typescript.api", | ||
"version": "0.5.4", | ||
"version": "0.5.5", | ||
"description": "A compiler as a service api enabling nodejs developers to programatically resolve, compile, reflect and run typescript 0.9 source files.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -186,6 +186,5 @@ # typescript.api | ||
content : string, // (public) the javascript source of this unit. | ||
references : Function // (public) returns an array of references for this unit. | ||
references : string[], // (public) an array of references for this unit. | ||
diagnostics : [object], // (public) compilation errors for this unit. 0 length if none. | ||
ast : object, // (public) AST for this unit. | ||
declaration : string, // (public) The declaration source for this unit. | ||
sourcemap : string, // (public) The sourcemap for this unit. | ||
@@ -192,0 +191,0 @@ reflection : object, // (public) The units reflected members. |
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2
588825
13781
460