Comparing version 2.1.0 to 2.1.1
@@ -51,3 +51,3 @@ "use strict"; | ||
const dir = _path.join(systemTmpDir, getTempName("temp-files")); | ||
promise = (0, (_fsExtraP || _load_fsExtraP()).mkdirs)(dir, { mode: 448 }).then(() => dir); | ||
promise = (0, (_fsExtraP || _load_fsExtraP()).ensureDir)(dir, { mode: 448 }).then(() => dir); | ||
} else { | ||
@@ -103,3 +103,3 @@ promise = (0, (_fsExtraP || _load_fsExtraP()).mkdtemp)(`${_path.join(systemTmpDir, "temp-files")}-`); | ||
createTempDir(options) { | ||
return this.getTempFile(options, true).then(it => (0, (_fsExtraP || _load_fsExtraP()).mkdir)(it).then(() => it)); | ||
return this.getTempFile(options, true).then(it => (0, (_fsExtraP || _load_fsExtraP()).ensureDir)(it).then(() => it)); | ||
} | ||
@@ -106,0 +106,0 @@ getTempFile(options, isDir = false) { |
{ | ||
"name": "temp-file", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"main": "out/main.js", | ||
@@ -5,0 +5,0 @@ "author": "Vladimir Krivosheev", |
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