Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-tsb

Package Overview
Dependencies
Maintainers
3
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-tsb - npm Package Compare versions

Comparing version 2.0.5 to 2.0.6

32

lib/builder.js
'use strict';
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
var fs_1 = require("fs");

@@ -11,3 +17,4 @@ var path = require("path");

var utils = require("./utils");
var gulp_util_1 = require("gulp-util");
var log = require("fancy-log");
var colors = require("ansi-colors");
var ts = require("typescript");

@@ -30,3 +37,3 @@ var Vinyl = require("vinyl");

if (config.verbose) {
gulp_util_1.log(gulp_util_1.colors.cyan(topic), message);
log(colors.cyan(topic), message);
}

@@ -287,3 +294,3 @@ }

var headNow = process.memoryUsage().heapUsed, MB = 1024 * 1024;
gulp_util_1.log('[tsb]', 'time:', gulp_util_1.colors.yellow((Date.now() - t1) + 'ms'), 'mem:', gulp_util_1.colors.cyan(Math.ceil(headNow / MB) + 'MB'), gulp_util_1.colors.bgCyan('Δ' + Math.ceil((headNow - headUsed) / MB)));
log('[tsb]', 'time:', colors.yellow((Date.now() - t1) + 'ms'), 'mem:', colors.cyan(Math.ceil(headNow / MB) + 'MB'), colors.bgcyan('Δ' + Math.ceil((headNow - headUsed) / MB)));
headUsed = headNow;

@@ -300,3 +307,3 @@ }

exports.createTypeScriptBuilder = createTypeScriptBuilder;
var ScriptSnapshot = (function () {
var ScriptSnapshot = /** @class */ (function () {
function ScriptSnapshot(text, mtime) {

@@ -320,3 +327,3 @@ this._text = text;

}());
var VinylScriptSnapshot = (function (_super) {
var VinylScriptSnapshot = /** @class */ (function (_super) {
__extends(VinylScriptSnapshot, _super);

@@ -333,3 +340,3 @@ function VinylScriptSnapshot(file) {

}(ScriptSnapshot));
var LanguageServiceHost = (function () {
var LanguageServiceHost = /** @class */ (function () {
function LanguageServiceHost(settings, noFilesystemLookup) {

@@ -389,2 +396,3 @@ this._settings = settings;

catch (e) {
// ignore
}

@@ -499,4 +507,4 @@ }

};
LanguageServiceHost._declareModule = /declare\s+module\s+('|")(.+)\1/g;
return LanguageServiceHost;
}());
LanguageServiceHost._declareModule = /declare\s+module\s+('|")(.+)\1/g;
/// <reference path="../node_modules/typescript/lib/lib.es6.d.ts"/>
'use strict';
Object.defineProperty(exports, "__esModule", { value: true });
var through = require("through");

@@ -4,0 +5,0 @@ var builder = require("./builder");

'use strict';
Object.defineProperty(exports, "__esModule", { value: true });
var index = require("../index");

@@ -3,0 +4,0 @@ var assert = require("assert");

'use strict';
Object.defineProperty(exports, "__esModule", { value: true });
var utils = require("../utils");

@@ -3,0 +4,0 @@ var assert = require("assert");

'use strict';
Object.defineProperty(exports, "__esModule", { value: true });
var collections;

@@ -71,3 +72,3 @@ (function (collections) {

graph.newNode = newNode;
var Graph = (function () {
var Graph = /** @class */ (function () {
function Graph(_hashFn) {

@@ -74,0 +75,0 @@ this._hashFn = _hashFn;

{
"name": "gulp-tsb",
"version": "2.0.5",
"version": "2.0.6",
"author": "Johannes Rieken <johannes.rieken@gmail.com>",

@@ -24,5 +24,6 @@ "description": "A gulp plugin for very fast TypeScript compilation.",

"dependencies": {
"gulp-util": "^3.0.1",
"ansi-colors": "^1.0.1",
"fancy-log": "^1.3.2",
"through": "^2.3.6",
"vinyl": "^0.4.3"
"vinyl": "^2.1.0"
},

@@ -36,7 +37,7 @@ "devDependencies": {

"@types/vinyl": "*",
"del": "^2.2.2",
"del": "^3.0.0",
"gulp": "^3.8.10",
"gulp-mocha": "^3.0.1",
"gulp-mocha": "^5.0.0",
"mocha": "*",
"run-sequence": "^1.2.2",
"run-sequence": "^2.2.1",
"typescript": "^2.0.3"

@@ -43,0 +44,0 @@ },

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