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

stormpath-restify

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stormpath-restify - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

4

filters.js

@@ -100,2 +100,4 @@ var Promise = require("bluebird");

opts.inGroup = typeof opts.inGroup === 'string' ? [opts.inGroup] : opts.inGroup;
return function groupFilter(req,res,next){

@@ -107,3 +109,3 @@ req.account.getGroups(function(err,collection){

collection.detect(function(group,cb){
cb(opts.inGroup === group.name);
cb(opts.inGroup.indexOf(group.name) >= 0);
},function(result){

@@ -110,0 +112,0 @@ if(result){

{
"name": "stormpath-restify",
"version": "0.0.4",
"version": "0.0.5",
"main": "index.js",

@@ -5,0 +5,0 @@ "description": "Implement OAuth2 Client Credentials Flow for server and client - using Stormpath",

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