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

byu-group-mem

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

byu-group-mem - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

8

index.js

@@ -61,10 +61,10 @@ /**

if (!config) throw new Error('The byu-group-mem function must have exactly one parameter.');
if (!req.verifiedJWTs) throw new Error('No JWT verification found. Please install and setup the byu-jwt node module.')
if (!req.verifiedJWTs) throw new Error('No JWT verification found. Please install and setup the byu-jwt node module.');
if (typeof config.wso2_request_instance !== 'object'
|| (typeof wso2_request_instance === 'object' && !Object.keys(config.wso2_request_instance).includes('request')))
throw new Error('The first parameter in the byu-group-mem function must be an instance of the byu-wso2-request package.');
throw new Error('The wso2_request_instance in the byu-group-mem function must be an instance of the byu-wso2-request package.');
if (typeof config.group_name !== 'string')
throw new Error('The second parameter in the byu-group-mem function must be a string.');
throw new Error('The group_name in the byu-group-mem function must be a string.');
if (config.handler && typeof config.handler !== 'function')
throw new Error('The third parameter in the byu-group-mem function must be a callback function.');
throw new Error('The handler in the byu-group-mem function must be a callback function.');

@@ -71,0 +71,0 @@ Promise.race([

{
"name": "byu-group-mem",
"version": "0.0.0",
"version": "0.0.1",
"description": "Validates the group membership of a person",

@@ -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