Comparing version 2.0.2 to 2.0.3
@@ -48,8 +48,8 @@ "use strict"; | ||
let promise; | ||
const systemTmpDir = process.env.TEST_DIR || (0, (_os || _load_os()).tmpdir)(); | ||
const systemTmpDir = process.env.TEST_TMP_DIR || process.env.ELECTRON_BUILDER_TEST_DIR || (0, (_os || _load_os()).tmpdir)(); | ||
if ((_fsExtraP || _load_fsExtraP()).mkdtemp == null) { | ||
const dir = _path.join(systemTmpDir, getTempName("electron-builder")); | ||
const dir = _path.join(systemTmpDir, getTempName("temp-files")); | ||
promise = (0, (_fsExtraP || _load_fsExtraP()).mkdirs)(dir, { mode: 448 }).then(() => dir); | ||
} else { | ||
promise = (0, (_fsExtraP || _load_fsExtraP()).mkdtemp)(`${_path.join(systemTmpDir, "electron-builder")}-`); | ||
promise = (0, (_fsExtraP || _load_fsExtraP()).mkdtemp)(`${_path.join(systemTmpDir, "temp-files")}-`); | ||
} | ||
@@ -56,0 +56,0 @@ return promise.then(it => (0, (_fsExtraP || _load_fsExtraP()).realpath)(it)).then(dir => { |
{ | ||
"name": "temp-file", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"main": "out/main.js", | ||
@@ -25,5 +25,5 @@ "author": "Vladimir Krivosheev", | ||
"@types/js-yaml": "^3.9.1", | ||
"@types/node": "^8.0.24", | ||
"@types/node": "^8.0.25", | ||
"babel-preset-ts-node4-bluebird": "^0.1.0", | ||
"ts-babel": "^4.0.1", | ||
"ts-babel": "^4.1.4", | ||
"typescript": "^2.4.2" | ||
@@ -30,0 +30,0 @@ }, |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances 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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
18128
4