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.2.4 to 0.2.5

8

index.js

@@ -28,3 +28,3 @@

for(var m in units[n].diagnostics) {
console.log(units[n].diagnostics[m].toString());
console.log(_fs.basename(units[n].path) + ':' + units[n].diagnostics[m].toString());
}

@@ -90,2 +90,8 @@ }

exports.resolve = resolve;
function sort(sourceUnits) {
var api = load_typescript_api();
var sorted = api.Resolve.UnitTopology.sort(sourceUnits);
return sorted;
}
exports.sort = sort;
function compile(sourceUnits, callback) {

@@ -92,0 +98,0 @@ var api = load_typescript_api();

2

package.json
{
"name": "typescript.api",
"version": "0.2.4",
"version": "0.2.5",
"description": "A compiler as a service api enabling nodejs developers to resolve, compile, reflect and run typescript 0.9 source files.",

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

@@ -116,2 +116,5 @@ declare module TypeScript.Api.Units {

declare module TypeScript.Api.Resolve {
class UnitTopology {
static sort(units: Units.SourceUnit[]): Units.SourceUnit[];
}
class LoadParameter {

@@ -118,0 +121,0 @@ public parent_filename: string;

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