Comparing version 0.0.1 to 0.1.0
@@ -18,2 +18,4 @@ "use strict"; | ||
var _a, _b; | ||
if (file.includes('\\') || file.includes('/')) | ||
return file; | ||
const path = (_b = (_a = options === null || options === void 0 ? void 0 : options.env) === null || _a === void 0 ? void 0 : _a[path_name_1.default]) !== null && _b !== void 0 ? _b : process.env[path_name_1.default]; | ||
@@ -38,2 +40,4 @@ const key = JSON.stringify([path, file]); | ||
var _a, _b; | ||
if (file.includes('\\') || file.includes('/')) | ||
return file; | ||
const path = (_b = (_a = options === null || options === void 0 ? void 0 : options.env) === null || _a === void 0 ? void 0 : _a[path_name_1.default]) !== null && _b !== void 0 ? _b : process.env[path_name_1.default]; | ||
@@ -40,0 +44,0 @@ const key = JSON.stringify([path, file]); |
{ | ||
"name": "safe-execa", | ||
"version": "0.0.1", | ||
"version": "0.1.0", | ||
"description": "Like execa but prevents binary planting attacks on Windows", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
6587
55