Comparing version 3.3.4 to 3.3.6
@@ -12,3 +12,3 @@ export declare function getTempName(prefix?: string | null | undefined): string; | ||
constructor(debugName?: string); | ||
readonly rootTempDir: Promise<string>; | ||
get rootTempDir(): Promise<string>; | ||
getTempDir(options?: GetTempFileOptions): Promise<string>; | ||
@@ -15,0 +15,0 @@ createTempDir(options?: GetTempFileOptions): Promise<string>; |
@@ -31,4 +31,6 @@ "use strict"; | ||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } } | ||
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } | ||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
let tmpFileCounter = 0; | ||
@@ -35,0 +37,0 @@ const tmpDirManagers = new Set(); // add date to avoid use stale temp dir |
{ | ||
"name": "temp-file", | ||
"version": "3.3.4", | ||
"version": "3.3.6", | ||
"main": "out/main.js", | ||
@@ -22,8 +22,8 @@ "author": "Vladimir Krivosheev", | ||
"devDependencies": { | ||
"@types/fs-extra": "^8.0.0", | ||
"@types/fs-extra": "^8.0.1", | ||
"@types/js-yaml": "^3.12.1", | ||
"@types/node": "^12.6.0", | ||
"@types/node": "^12.12.14", | ||
"babel-preset-ts-node8": "^4.0.0", | ||
"ts-babel": "^6.1.7", | ||
"typescript": "^3.5.2" | ||
"typescript": "^3.7.2" | ||
}, | ||
@@ -30,0 +30,0 @@ "babel": { |
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
18311
194