New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

typescript.api

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript.api - npm Package Compare versions

Comparing version 0.5.4 to 0.5.5

3

decl/typescript.api.d.ts

@@ -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 @@

@@ -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

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