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

@frontegg/client

Package Overview
Dependencies
Maintainers
1
Versions
184
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@frontegg/client - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

6

dist/src/middleware/fronteggMiddleware.js

@@ -187,2 +187,3 @@ "use strict";

// response was already sent from the middleware, we have nothing left to do
logger_1.default.debug('Headers was already sent from authMiddleware');
return [2 /*return*/];

@@ -194,2 +195,7 @@ }

logger_1.default.error("Failed to call middleware - ", e_1);
if (res.headersSent) {
// response was already sent from the middleware, we have nothing left to do
logger_1.default.debug('authMiddleware threw error, but headers was already sent');
return [2 /*return*/];
}
return [2 /*return*/, res.status(401).send(e_1.message)];

@@ -196,0 +202,0 @@ case 7:

2

package.json
{
"name": "@frontegg/client",
"version": "2.0.3",
"version": "2.0.4",
"description": "Frontegg Javascript Library for backend",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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