@types/vinyl-fs
Advanced tools
Comparing version 2.4.5 to 2.4.6
// Type definitions for vinyl-fs 2.4 | ||
// Project: https://github.com/wearefractal/vinyl-fs | ||
// Definitions by: vvakame <https://github.com/vvakame/> | ||
// remisery <https://github.com/remisery/> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -95,4 +96,48 @@ | ||
sourcemaps?: boolean; | ||
/** | ||
* Whether or not to recursively resolve symlinks to their targets. Setting to false to | ||
* preserve them as symlinks and make file.symlink equal the original symlink's target path. | ||
* Default: false | ||
*/ | ||
resolveSymlinks?: boolean; | ||
/** | ||
* Causes the BOM to be removed on UTF-8 encoded files. Set to false if you need the BOM for some reason. | ||
* Default: true | ||
*/ | ||
removeBOM?: boolean; | ||
} | ||
export interface DestOptions { | ||
/** Specify the working directory the folder is relative to | ||
* Default is process.cwd() | ||
*/ | ||
cwd?: string; | ||
/** Specify the mode the files should be created with | ||
* Default is the mode of the input file (file.stat.mode) | ||
* or the process mode if the input file has no mode property | ||
*/ | ||
mode?: number|string; | ||
/** Specify the mode the directory should be created with. Default is the process mode */ | ||
dirMode?: number|string; | ||
/** Specify if existing files with the same path should be overwritten or not. Default is true, to always overwrite existing files */ | ||
overwrite?: boolean; | ||
/** Enables sourcemap support on files passed through the stream. Will write inline soucemaps if | ||
* specified as true. Specifying a string path will write external sourcemaps at the given path. | ||
*/ | ||
sourcemaps?: true | string; | ||
/** When creating a symlink, whether or not the created symlink should be relative. If false, | ||
* the symlink will be absolute. Note: This option will be ignored if a junction is being created. | ||
*/ | ||
relativeSymlinks?: boolean; | ||
/* When creating a symlink, whether or not a directory symlink should be created as a junction. */ | ||
useJunctions?: boolean; | ||
} | ||
/** | ||
@@ -142,21 +187,4 @@ * Gets files that match the glob and converts them into the vinyl format | ||
*/ | ||
export function dest(folder: string, opt?: { | ||
/** Specify the working directory the folder is relative to | ||
* Default is process.cwd() | ||
*/ | ||
cwd?: string; | ||
export function dest(folder: string, opt?: DestOptions): NodeJS.ReadWriteStream; | ||
/** Specify the mode the files should be created with | ||
* Default is the mode of the input file (file.stat.mode) | ||
* or the process mode if the input file has no mode property | ||
*/ | ||
mode?: number|string; | ||
/** Specify the mode the directory should be created with. Default is the process mode */ | ||
dirMode?: number|string; | ||
/** Specify if existing files with the same path should be overwritten or not. Default is true, to always overwrite existing files */ | ||
overwrite?: boolean; | ||
}): NodeJS.ReadWriteStream; | ||
/** | ||
@@ -163,0 +191,0 @@ * On write the stream will save the vinyl File to disk at the folder/cwd specified. |
{ | ||
"name": "@types/vinyl-fs", | ||
"version": "2.4.5", | ||
"version": "2.4.6", | ||
"description": "TypeScript definitions for vinyl-fs", | ||
@@ -10,2 +10,6 @@ "license": "MIT", | ||
"url": "https://github.com/vvakame/" | ||
}, | ||
{ | ||
"name": "remisery", | ||
"url": "https://github.com/remisery/" | ||
} | ||
@@ -25,4 +29,4 @@ ], | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "0ac0ab20f34224c87ef5b9afd3ba72d22306dcd8e6bdb24f974d3d2a78c3ed96", | ||
"typesPublisherContentHash": "f3fc9a17e3db10400a7ac2d398707a79d6fefbeac9398f213c23b06a82f20209", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 17 Apr 2017 17:55:17 GMT | ||
* Last updated: Wed, 09 Aug 2017 17:37:36 GMT | ||
* Dependencies: events, vinyl, glob-stream, node | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by vvakame <https://github.com/vvakame/>. | ||
These definitions were written by vvakame <https://github.com/vvakame/>, remisery <https://github.com/remisery/>. |
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
11083
207