connect-roles
Advanced tools
Comparing version 3.1.0 to 3.1.1
@@ -0,1 +1,6 @@ | ||
3.1.1 / 2015-02-04 | ||
================== | ||
Fix use of deprecated `Promise.from` method (only impacts use of the async api) | ||
3.1.0 / 2014-11-03 | ||
@@ -2,0 +7,0 @@ ================== |
@@ -97,3 +97,3 @@ "use strict"; | ||
}); | ||
}, Promise.from(null)).then(function (result) { | ||
}, Promise.resolve(null)).then(function (result) { | ||
if (typeof result == 'boolean') return result; | ||
@@ -100,0 +100,0 @@ else return false; |
{ | ||
"name": "connect-roles", | ||
"description": "Provides dynamic roles based authorization for node.js connect and express servers.", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"homepage": "http://documentup.com/ForbesLindesay/connect-roles", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -11,2 +11,3 @@ # Connect Roles | ||
[![NPM version](https://img.shields.io/npm/v/connect-roles.svg)](http://badge.fury.io/js/connect-roles) | ||
[![Gratipay](https://img.shields.io/gratipay/ForbesLindesay.svg)](https://gratipay.com/ForbesLindesay) | ||
@@ -13,0 +14,0 @@ ## Installation |
21322
227