Comparing version 2.0.5 to 2.0.6
'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 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36839
766
5
9
+ Addedansi-colors@^1.0.1
+ Addedfancy-log@^1.3.2
+ Addedansi-colors@1.1.0(transitive)
+ Addedclone@2.1.2(transitive)
+ Addedclone-buffer@1.0.0(transitive)
+ Addedclone-stats@1.0.0(transitive)
+ Addedcloneable-readable@1.1.3(transitive)
+ Addedremove-trailing-separator@1.1.0(transitive)
+ Addedreplace-ext@1.0.1(transitive)
+ Addedvinyl@2.2.1(transitive)
- Removedgulp-util@^3.0.1
- Removedansi-regex@2.1.1(transitive)
- Removedansi-styles@2.2.1(transitive)
- Removedarray-differ@1.0.0(transitive)
- Removedarray-uniq@1.0.3(transitive)
- Removedbeeper@1.1.1(transitive)
- Removedchalk@1.1.3(transitive)
- Removedclone@0.2.01.0.4(transitive)
- Removedclone-stats@0.0.1(transitive)
- Removeddateformat@2.2.0(transitive)
- Removedduplexer2@0.0.2(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedglogg@1.0.2(transitive)
- Removedgulp-util@3.0.8(transitive)
- Removedgulplog@1.0.0(transitive)
- Removedhas-ansi@2.0.0(transitive)
- Removedhas-gulplog@0.1.0(transitive)
- Removedisarray@0.0.1(transitive)
- Removedlodash._basecopy@3.0.1(transitive)
- Removedlodash._basetostring@3.0.1(transitive)
- Removedlodash._basevalues@3.0.0(transitive)
- Removedlodash._getnative@3.9.1(transitive)
- Removedlodash._isiterateecall@3.0.9(transitive)
- Removedlodash._reescape@3.0.0(transitive)
- Removedlodash._reevaluate@3.0.0(transitive)
- Removedlodash._reinterpolate@3.0.0(transitive)
- Removedlodash._root@3.0.1(transitive)
- Removedlodash.escape@3.2.0(transitive)
- Removedlodash.isarguments@3.1.0(transitive)
- Removedlodash.isarray@3.0.4(transitive)
- Removedlodash.keys@3.1.2(transitive)
- Removedlodash.restparam@3.6.1(transitive)
- Removedlodash.template@3.6.2(transitive)
- Removedlodash.templatesettings@3.1.1(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmultipipe@0.1.2(transitive)
- Removedobject-assign@3.0.0(transitive)
- Removedreadable-stream@1.1.14(transitive)
- Removedreplace-ext@0.0.1(transitive)
- Removedsparkles@1.0.1(transitive)
- Removedstring_decoder@0.10.31(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedsupports-color@2.0.0(transitive)
- Removedthrough2@2.0.5(transitive)
- Removedvinyl@0.4.60.5.3(transitive)
- Removedxtend@4.0.2(transitive)
Updatedvinyl@^2.1.0