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.5 to 1.2.6

5

lib/identity/identity.js

@@ -174,2 +174,5 @@ "use strict";

case 0:
if (!coronerdUrl) {
throw new Error('CoronerdUrl is undefined or empty string');
}
prefix = coronerdUrl.endsWith('/') ? '' : '/';

@@ -277,3 +280,3 @@ protocol = coronerdUrl.startsWith('http') ? '' : 'http://';

};
if (!data.url.startsWith('http')) {
if (data.url && !data.url.startsWith('http')) {
data.url = "http://" + data.url;

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

2

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

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

@@ -167,2 +167,5 @@ import axios from 'axios';

): Promise<IServerConfiguration | undefined> {
if (!coronerdUrl) {
throw new Error('CoronerdUrl is undefined or empty string');
}
const prefix = coronerdUrl.endsWith('/') ? '' : '/';

@@ -255,3 +258,3 @@ const protocol = coronerdUrl.startsWith('http') ? '' : 'http://';

};
if (!data.url.startsWith('http')) {
if (data.url && !data.url.startsWith('http')) {
data.url = `http://${data.url}`;

@@ -258,0 +261,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