@types/vinyl-fs
Advanced tools
Comparing version 0.0.28 to 2.4.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for vinyl-fs | ||
// Type definitions for vinyl-fs 2.4 | ||
// Project: https://github.com/wearefractal/vinyl-fs | ||
@@ -7,4 +7,2 @@ // Definitions by: vvakame <https://github.com/vvakame/> | ||
/// <reference types="node" /> | ||
/// <reference types="vinyl" /> | ||
/// <reference types="glob-stream" /> | ||
@@ -14,3 +12,3 @@ declare global { | ||
interface WritableStream { | ||
write(buffer: any/* Vinyl.File */, cb?: Function): boolean; | ||
write(buffer: any/* Vinyl.File */, cb?: (err?: Error) => void): boolean; | ||
} | ||
@@ -20,7 +18,10 @@ } | ||
import _events = require("events"); | ||
import File = require("vinyl"); | ||
import globStream = require("glob-stream"); | ||
import * as _events from 'events'; | ||
import * as File from 'vinyl'; | ||
import * as globStream from 'glob-stream'; | ||
interface ISrcOptions extends globStream.Options { | ||
interface SrcOptions extends globStream.Options { | ||
/** Prevents stream from emitting an error when file not found. */ | ||
allowEmpty?: boolean; | ||
/** Specifies the working directory the folder is relative to */ | ||
@@ -68,3 +69,3 @@ cwd?: string; | ||
*/ | ||
declare function src(globs: string|string[], opt?: ISrcOptions): NodeJS.ReadWriteStream; | ||
declare function src(globs: string|string[], opt?: SrcOptions): NodeJS.ReadWriteStream; | ||
@@ -87,3 +88,3 @@ /** | ||
*/ | ||
declare function watch(globs: string|string[], opt?: { interval?: number; debounceDelay?: number; cwd?: string; maxListeners?: Function; }, cb?: (outEvt: { type: any; path: any; old: any; }) => void): _events.EventEmitter; | ||
declare function watch(globs: string|string[], opt?: { interval?: number; debounceDelay?: number; cwd?: string; maxListeners?: () => number; }, cb?: (outEvt: { type: any; path: any; old: any; }) => void): _events.EventEmitter; | ||
@@ -90,0 +91,0 @@ /** |
{ | ||
"name": "@types/vinyl-fs", | ||
"version": "0.0.28", | ||
"version": "2.4.0", | ||
"description": "TypeScript definitions for vinyl-fs", | ||
"license": "MIT", | ||
"author": "vvakame <https://github.com/vvakame/>", | ||
"contributors": [ | ||
{ | ||
"name": "vvakame", | ||
"url": "https://github.com/vvakame/" | ||
} | ||
], | ||
"main": "", | ||
@@ -14,8 +19,9 @@ "repository": { | ||
"dependencies": { | ||
"@types/vinyl": "*", | ||
"@types/glob-stream": "*", | ||
"@types/vinyl": "*", | ||
"@types/node": "*" | ||
}, | ||
"typings": "index.d.ts", | ||
"typesPublisherContentHash": "7bbb9552e0c77e27c91a11c797099d6a2d213b21eae5cfc53286b4420176b489" | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "0de0c93a7ae7c4a2b9c82843e13bee4070f6248347fecf0bf6ef8146a37a8450", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -8,12 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/vinyl-fs | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/vinyl-fs | ||
Additional Details | ||
* Last updated: Mon, 19 Sep 2016 17:28:59 GMT | ||
* File structure: ProperModule | ||
* Library Dependencies: glob-stream, node, vinyl | ||
* Module Dependencies: events, glob-stream, vinyl | ||
* Global values: dest, src, symlink, watch | ||
* Last updated: Fri, 17 Feb 2017 20:54:40 GMT | ||
* Dependencies: events, vinyl, glob-stream, node | ||
* Global values: none | ||
# Credits | ||
These definitions were written by vvakame <https://github.com/vvakame/>. |
{ | ||
"authors": "vvakame <https://github.com/vvakame/>", | ||
"definitionFilename": "index.d.ts", | ||
"libraryDependencies": [ | ||
"glob-stream", | ||
"node", | ||
"vinyl" | ||
], | ||
"moduleDependencies": [ | ||
"events", | ||
"glob-stream", | ||
"vinyl" | ||
], | ||
"libraryMajorVersion": "0", | ||
"libraryMinorVersion": "0", | ||
"name": "vinyl-fs", | ||
"libraryName": "vinyl-fs", | ||
"typingsPackageName": "vinyl-fs", | ||
"projectName": "https://github.com/wearefractal/vinyl-fs", | ||
"sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped", | ||
"sourceBranch": "types-2.0", | ||
"kind": "ProperModule", | ||
"globals": [ | ||
"dest", | ||
"src", | ||
"symlink", | ||
"watch" | ||
], | ||
"declaredModules": [ | ||
"vinyl-fs" | ||
], | ||
"files": [ | ||
"index.d.ts" | ||
], | ||
"hasPackageJson": false, | ||
"contentHash": "7bbb9552e0c77e27c91a11c797099d6a2d213b21eae5cfc53286b4420176b489" | ||
"data": { | ||
"contributors": [ | ||
{ | ||
"name": "vvakame", | ||
"url": "https://github.com/vvakame/" | ||
} | ||
], | ||
"dependencies": { | ||
"events": "*", | ||
"vinyl": "*", | ||
"glob-stream": "*", | ||
"node": "*" | ||
}, | ||
"pathMappings": {}, | ||
"libraryMajorVersion": 2, | ||
"libraryMinorVersion": 4, | ||
"typeScriptVersion": "2.0", | ||
"libraryName": "vinyl-fs", | ||
"typingsPackageName": "vinyl-fs", | ||
"projectName": "https://github.com/wearefractal/vinyl-fs", | ||
"sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped", | ||
"globals": [], | ||
"declaredModules": [ | ||
"vinyl-fs/." | ||
], | ||
"files": [ | ||
"index.d.ts" | ||
], | ||
"hasPackageJson": false, | ||
"contentHash": "0de0c93a7ae7c4a2b9c82843e13bee4070f6248347fecf0bf6ef8146a37a8450" | ||
}, | ||
"isLatest": true | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
8991
179
1
0
17