Comparing version 4.0.0 to 4.0.1
import * as ts from 'typescript'; | ||
import Vinyl = require('vinyl'); | ||
import * as Vinyl from 'vinyl'; | ||
export interface IConfiguration { | ||
@@ -4,0 +4,0 @@ verbose: boolean; |
@@ -6,4 +6,7 @@ /// <reference types="node" /> | ||
(token?: any): Readable & Writable; | ||
src(): Readable; | ||
src(opts?: { | ||
cwd?: string; | ||
base?: string; | ||
}): Readable; | ||
} | ||
export declare function create(projectPath: string, existingOptions: Partial<ts.CompilerOptions>, verbose?: boolean, onError?: (message: string) => void): IncrementalCompiler; |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const vinyl = require("vinyl"); | ||
const Vinyl = require("vinyl"); | ||
const through = require("through"); | ||
@@ -56,3 +56,3 @@ const builder = require("./builder"); | ||
const result = (token) => createStream(token); | ||
result.src = () => { | ||
result.src = (opts) => { | ||
let _pos = 0; | ||
@@ -69,6 +69,8 @@ let _fileNames = cmdLine.fileNames.slice(0); | ||
path = _fileNames[_pos]; | ||
more = this.push(new vinyl({ | ||
more = this.push(new Vinyl({ | ||
path, | ||
contents: fs_1.readFileSync(path), | ||
stat: fs_1.statSync(path) | ||
stat: fs_1.statSync(path), | ||
cwd: opts && opts.cwd, | ||
base: opts && opts.base || path_1.dirname(projectPath) | ||
})); | ||
@@ -75,0 +77,0 @@ } |
import * as ts from 'typescript'; | ||
import Vinyl = require('vinyl'); | ||
import * as Vinyl from 'vinyl'; | ||
export interface IConfiguration { | ||
@@ -4,0 +4,0 @@ verbose: boolean; |
@@ -6,4 +6,7 @@ /// <reference types="node" /> | ||
(token?: any): Readable & Writable; | ||
src(): Readable; | ||
src(opts?: { | ||
cwd?: string; | ||
base?: string; | ||
}): Readable; | ||
} | ||
export declare function create(projectPath: string, existingOptions: Partial<ts.CompilerOptions>, verbose?: boolean, onError?: (message: string) => void): IncrementalCompiler; |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const vinyl = require("vinyl"); | ||
const Vinyl = require("vinyl"); | ||
const through = require("through"); | ||
@@ -56,3 +56,3 @@ const builder = require("./builder"); | ||
const result = (token) => createStream(token); | ||
result.src = () => { | ||
result.src = (opts) => { | ||
let _pos = 0; | ||
@@ -69,6 +69,8 @@ let _fileNames = cmdLine.fileNames.slice(0); | ||
path = _fileNames[_pos]; | ||
more = this.push(new vinyl({ | ||
more = this.push(new Vinyl({ | ||
path, | ||
contents: fs_1.readFileSync(path), | ||
stat: fs_1.statSync(path) | ||
stat: fs_1.statSync(path), | ||
cwd: opts && opts.cwd, | ||
base: opts && opts.base || path_1.dirname(projectPath) | ||
})); | ||
@@ -75,0 +77,0 @@ } |
import * as ts from 'typescript'; | ||
import Vinyl = require('vinyl'); | ||
import * as Vinyl from 'vinyl'; | ||
export interface IConfiguration { | ||
@@ -4,0 +4,0 @@ verbose: boolean; |
@@ -6,4 +6,7 @@ /// <reference types="node" /> | ||
(token?: any): Readable & Writable; | ||
src(): Readable; | ||
src(opts?: { | ||
cwd?: string; | ||
base?: string; | ||
}): Readable; | ||
} | ||
export declare function create(projectPath: string, existingOptions: Partial<ts.CompilerOptions>, verbose?: boolean, onError?: (message: string) => void): IncrementalCompiler; |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const vinyl = require("vinyl"); | ||
const Vinyl = require("vinyl"); | ||
const through = require("through"); | ||
@@ -56,3 +56,3 @@ const builder = require("./builder"); | ||
const result = (token) => createStream(token); | ||
result.src = () => { | ||
result.src = (opts) => { | ||
let _pos = 0; | ||
@@ -69,6 +69,8 @@ let _fileNames = cmdLine.fileNames.slice(0); | ||
path = _fileNames[_pos]; | ||
more = this.push(new vinyl({ | ||
more = this.push(new Vinyl({ | ||
path, | ||
contents: fs_1.readFileSync(path), | ||
stat: fs_1.statSync(path) | ||
stat: fs_1.statSync(path), | ||
cwd: opts && opts.cwd, | ||
base: opts && opts.base || path_1.dirname(projectPath) | ||
})); | ||
@@ -75,0 +77,0 @@ } |
{ | ||
"name": "gulp-tsb", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"author": "Johannes Rieken <johannes.rieken@gmail.com>", | ||
@@ -36,3 +36,3 @@ "description": "A gulp plugin for very fast TypeScript compilation.", | ||
"@types/through": "^0.0.29", | ||
"@types/vinyl": "*", | ||
"@types/vinyl": "~2.0.3", | ||
"@types/rimraf": "2.0.2", | ||
@@ -39,0 +39,0 @@ "@types/fancy-log": "1.3.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
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
99338
2385
0