New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ocbesbn-bouncer

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ocbesbn-bouncer - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

7

index.js

@@ -31,4 +31,2 @@ /**

this.logger.info("Permission:roles", roles);
// #TODO acl resolver needs to be checked

@@ -84,3 +82,2 @@ var roleLength = roles.length;

{
this.logger.info("Permission:start", {uri: url, method: method});
// #TODO Need to cache the acl json and parse it accordingly

@@ -95,4 +92,2 @@ var checkPermissions = function(resolve, reject)

this.logger.info("Permission:from ACL", permissions);
if (!isAuthorized)

@@ -107,3 +102,3 @@ {

{
reject('not authorized')
reject({ uri: url, method: method, userData: userData, checkList: permissions, message: 'not authorized' })
}

@@ -110,0 +105,0 @@ }

2

package.json
{
"name": "ocbesbn-bouncer",
"version": "0.2.4",
"version": "0.2.5",
"description": "Express middleware for ACl service and validation",

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

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