Comparing version 3.1.0 to 3.1.1
@@ -8,4 +8,6 @@ export declare function getTempName(prefix?: string | null | undefined): string; | ||
export declare class TmpDir { | ||
private readonly debugName; | ||
private tempFiles; | ||
private registered; | ||
constructor(debugName?: string); | ||
readonly rootTempDir: Promise<string>; | ||
@@ -17,2 +19,3 @@ getTempDir(options?: GetTempFileOptions): Promise<string>; | ||
cleanup(): Promise<any>; | ||
toString(): string; | ||
} |
@@ -97,3 +97,4 @@ "use strict"; | ||
class TmpDir { | ||
constructor() { | ||
constructor(debugName = "") { | ||
this.debugName = debugName; | ||
this.tempFiles = []; | ||
@@ -174,2 +175,5 @@ this.registered = false; | ||
} | ||
toString() { | ||
return this.debugName; | ||
} | ||
} | ||
@@ -176,0 +180,0 @@ exports.TmpDir = TmpDir; |
{ | ||
"name": "temp-file", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"main": "out/main.js", | ||
@@ -25,3 +25,3 @@ "author": "Vladimir Krivosheev", | ||
"@types/js-yaml": "^3.10.1", | ||
"@types/node": "^8.5.5", | ||
"@types/node": "^9.3.0", | ||
"babel-preset-ts-node6-bluebird": "^1.0.1", | ||
@@ -28,0 +28,0 @@ "ts-babel": "^4.1.8", |
Sorry, the diff of this file is not supported yet
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
19923
187