Comparing version 2.10.1 to 2.11.0
@@ -84,2 +84,6 @@ /// <reference types="node" /> | ||
} | ||
export interface IMkdirOptions { | ||
mode?: TMode; | ||
recursive?: boolean; | ||
} | ||
export declare function pathToFilename(path: TFilePath): string; | ||
@@ -260,9 +264,2 @@ export declare function filenameToSteps(filename: string, base?: string): string[]; | ||
private mkdirBase; | ||
mkdirSync(path: TFilePath, mode?: TMode): void; | ||
mkdir(path: TFilePath, callback: TCallback<void>): any; | ||
mkdir(path: TFilePath, mode: TMode, callback: TCallback<void>): any; | ||
private mkdtempBase; | ||
mkdtempSync(prefix: string, options?: IOptions): TDataOut; | ||
mkdtemp(prefix: string, callback: TCallback<void>): any; | ||
mkdtemp(prefix: string, options: IOptions, callback: TCallback<void>): any; | ||
/** | ||
@@ -274,5 +271,12 @@ * Creates directory tree recursively. | ||
private mkdirpBase; | ||
mkdirSync(path: TFilePath, options?: TMode | IMkdirOptions): void; | ||
mkdir(path: TFilePath, callback: TCallback<void>): any; | ||
mkdir(path: TFilePath, mode: TMode | IMkdirOptions, callback: TCallback<void>): any; | ||
mkdirpSync(path: TFilePath, mode?: TMode): void; | ||
mkdirp(path: TFilePath, callback: TCallback<void>): any; | ||
mkdirp(path: TFilePath, mode: TMode, callback: TCallback<void>): any; | ||
private mkdtempBase; | ||
mkdtempSync(prefix: string, options?: IOptions): TDataOut; | ||
mkdtemp(prefix: string, callback: TCallback<void>): any; | ||
mkdtemp(prefix: string, options: IOptions, callback: TCallback<void>): any; | ||
private rmdirBase; | ||
@@ -279,0 +283,0 @@ rmdirSync(path: TFilePath): void; |
{ | ||
"name": "memfs", | ||
"version": "2.10.1", | ||
"version": "2.11.0", | ||
"description": "In-memory file-system with Node's fs API.", | ||
@@ -35,4 +35,4 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@types/jest": "23.3.2", | ||
"@types/node": "9.6.32", | ||
"@types/jest": "23.3.9", | ||
"@types/node": "9.6.35", | ||
"cpy-cli": "2.0.0", | ||
@@ -43,3 +43,3 @@ "jest": "21.2.1", | ||
"rimraf": "2.6.2", | ||
"semantic-release": "15.9.16", | ||
"semantic-release": "15.10.7", | ||
"ts-jest": "23.1.4", | ||
@@ -46,0 +46,0 @@ "ts-node": "7.0.1", |
Sorry, the diff of this file is too big to display
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
144280
3727