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 1.0.25 to 1.0.26-0

6

dist/src/middleware/index.js

@@ -99,9 +99,9 @@ "use strict";

permissions = context.permissions;
if (permissions === null) {
if (!permissions) {
logger_1.default.error('No permissions were passed for frontegg middleware');
res.status(403).send();
return [2 /*return*/, res.status(403).send()];
}
if (!permissions.length) {
logger_1.default.error('Permissions array is empty for frontegg middleware');
res.status(403).send();
return [2 /*return*/, res.status(403).send()];
}

@@ -108,0 +108,0 @@ // We allow OPTIONS

{
"name": "@frontegg/client",
"version": "1.0.25",
"version": "1.0.26-0",
"description": "Frontegg Javascript Library for backend",

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

@@ -57,5 +57,5 @@ import * as httpProxy from 'http-proxy';

if (permissions === null) {
if (!permissions) {
Logger.error('No permissions were passed for frontegg middleware');
res.status(403).send();
return res.status(403).send();
}

@@ -65,3 +65,3 @@

Logger.error('Permissions array is empty for frontegg middleware');
res.status(403).send();
return res.status(403).send();
}

@@ -68,0 +68,0 @@

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