Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

backtrace-service

Package Overview
Dependencies
Maintainers
6
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

backtrace-service - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

4

lib/log/logger.js

@@ -36,3 +36,3 @@ "use strict";

level: logLevel,
silent: false,
silent: process.env.NODE_ENV === 'test',
format: winston_1.format.combine(winston_1.format.colorize(), winston_1.format.simple()),

@@ -79,3 +79,3 @@ }),

}
winston_1.default.error(this.formatScope(exception.message), [exception]);
winston_1.default.error(this.formatScope(exception.message));
};

@@ -82,0 +82,0 @@ Logger.prototype.getTransportLevel = function () {

@@ -16,4 +16,6 @@ "use strict";

var metricsStorage_1 = require("../metrics/metricsStorage");
var projectValidation_1 = require("./projectValidation");
var serviceConfiguration_1 = require("./serviceConfiguration");
var projectValidation_1 = require("./projectValidation");
// tslint:disable-next-line: no-var-requires
var packageJson = require('../../package.json');
var BacktraceService = /** @class */ (function () {

@@ -134,2 +136,7 @@ function BacktraceService(name, port, _opts) {

app.use(compression_1.default());
// Add default Backtrace headers to every service response
app.use(function (req, res, next) {
res.set('service-version', packageJson.version);
next();
});
// Route hit by pingdom

@@ -136,0 +143,0 @@ app.get(prefix ? prefix : '/', function (_req, res) {

{
"name": "backtrace-service",
"version": "3.0.2",
"version": "3.0.3",
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc