Socket
Socket
Sign inDemoInstall

@ahi40/common

Package Overview
Dependencies
105
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.36 to 1.0.37

2

build/middlewares/validate-user-role.js

@@ -45,3 +45,5 @@ "use strict";

return __generator(this, function (_a) {
console.log('middle:' + role);
if (req.currentUser) {
console.log('curUSer:' + req.currentUser);
if (req.currentUser.userRole === role) {

@@ -48,0 +50,0 @@ next();

2

package.json
{
"name": "@ahi40/common",
"version": "1.0.36",
"version": "1.0.37",
"description": "",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc