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.1.2 to 0.1.3

10

index.js

@@ -82,4 +82,3 @@ /**

const message = MembersOfResponse.body.metadata.validation_response.message;
const info = MembersOfResponse.body.metadata.validation_response.validation_information;
return (config.handler ? res.status(code).send(config.handler(MembersOfResponse.body.metadata.code, new Error(message))) :
return (config.handler ? res.status(code).send(config.handler(code, new Error(message))) :
res.status(code).send({metadata: meta(code, message)}));

@@ -90,3 +89,10 @@ }

})
.catch(err => {
if (config.handler) res.status(500).send(config.handler(code, new Error(message)));
else res.status(500).send({metadata: meta(500, 'Could not verify client group membership.', [err.message])});
console.error(` [err] Could not verify client group membership:\n${err}`);
console.error(` [err] Please try the request again in a few moments.`);
console.error(` [err] If the problem persists, contact the BYU Persons/v2 API owner.`);
})
}
};

2

package.json
{
"name": "byu-group-mem",
"version": "0.1.2",
"version": "0.1.3",
"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