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 3.0.0-alpha.2 to 3.0.0-alpha.3

2

lib/identity/identity.d.ts

@@ -31,3 +31,3 @@ import { NextFunction, Request, Response } from 'express';

*/
checkProjectAccess(request: Request, response: Express.Response, projects: string[] | number[]): void;
checkProjectAccess(request: Request, response: Express.Response, projects: string[] | number[]): boolean;
/**

@@ -34,0 +34,0 @@ * Unconditionally set projectValidated flag to true.

@@ -181,5 +181,5 @@ "use strict";

this.log('debug', "missing projects_ext");
return; // invalidated because flag is never set to true
return false; // invalidated because flag is never set to true
}
ProjectValidation.check(response, projectsExt, projects);
return ProjectValidation.check(response, projectsExt, projects);
};

@@ -186,0 +186,0 @@ /**

@@ -9,3 +9,3 @@ import { NextFunction, Request, Response } from 'express';

*/
export declare function check(res: Express.Response, allKnownProjects: IProjectsExt[], scopedProjects: string[] | number[]): void;
export declare function check(res: Express.Response, allKnownProjects: IProjectsExt[], scopedProjects: string[] | number[]): boolean;
/**

@@ -12,0 +12,0 @@ * Middleware for Backtrace Teams

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

setInvalid(res);
return;
return false;
}

@@ -46,6 +46,6 @@ // Remove duplicates because size matters in the end

setValid(res);
return;
return true;
}
setInvalid(res);
return;
return false;
}

@@ -52,0 +52,0 @@ exports.check = check;

{
"name": "backtrace-service",
"version": "3.0.0-alpha.2",
"version": "3.0.0-alpha.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