backtrace-service
Advanced tools
Comparing version 3.4.16 to 3.4.17
@@ -59,2 +59,3 @@ #!/usr/bin/env node | ||
'/api/simple/service', | ||
Express.json(), | ||
idm.serviceRequest({ | ||
@@ -61,0 +62,0 @@ coronerdCallback: (url) => { |
@@ -39,3 +39,2 @@ "use strict"; | ||
var url = __importStar(require("url")); | ||
var packageUtils_1 = require("../utils/packageUtils"); | ||
var logger_1 = require("./../log/logger"); | ||
@@ -91,7 +90,2 @@ // XXX: better default? | ||
if (cluster_1.default.isPrimary) { | ||
if (packageUtils_1.PackageUtils.isPackage) { | ||
cluster_1.default.setupPrimary({ | ||
execArgv: [], | ||
}); | ||
} | ||
var numWorkers = Number.isInteger(clusterSupport) | ||
@@ -98,0 +92,0 @@ ? clusterSupport |
@@ -58,2 +58,5 @@ "use strict"; | ||
} | ||
if (process.env.BACKTRACE_SERVICE_ETC_PATH) { | ||
configurationPaths.unshift("".concat(process.env.BACKTRACE_SERVICE_ETC_PATH, "/").concat(serviceName, ".conf")); | ||
} | ||
return configurationPaths; | ||
@@ -60,0 +63,0 @@ }; |
{ | ||
"name": "backtrace-service", | ||
"version": "3.4.16", | ||
"version": "3.4.17", | ||
"description": "Common tools for Backtrace Node services", | ||
@@ -5,0 +5,0 @@ "author": "Backtrace", |
Sorry, the diff of this file is not supported yet
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 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
243416
3563
28