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

backtrace-service

Package Overview
Dependencies
Maintainers
5
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 1.2.17 to 1.2.18

5

lib/identity/identity.js

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

err_1 = _a.sent();
this.log('error', "Cannot login to coronerd. Reason " + JSON.stringify(err_1));
this.log('error', "Cannot login to coronerd. Reason " + err_1.message);
return [2 /*return*/, undefined];

@@ -287,2 +287,5 @@ case 4: return [2 /*return*/];

IdentityManager.prototype.sanitizeHeader = function (value) {
if (!value) {
return '';
}
return value.replace(/[^a-z0-9A-Z?!]/gi, '');

@@ -289,0 +292,0 @@ };

2

package.json
{
"name": "backtrace-service",
"version": "1.2.17",
"version": "1.2.18",
"description": "Common tools for Backtrace Node services",

@@ -5,0 +5,0 @@ "author": "Backtrace",

@@ -207,6 +207,3 @@ import axios from 'axios';

} catch (err) {
this.log(
'error',
`Cannot login to coronerd. Reason ${JSON.stringify(err)}`,
);
this.log('error', `Cannot login to coronerd. Reason ${err.message}`);
return undefined;

@@ -278,2 +275,5 @@ }

private sanitizeHeader(value: string) {
if (!value) {
return '';
}
return value.replace(/[^a-z0-9A-Z?!]/gi, '');

@@ -280,0 +280,0 @@ }

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