Comparing version 0.3.0-21 to 0.3.0-22
## 0.3.0 | ||
Primary motivation here is to begin work on a version of autohost that will work well with a hypermedia library ( [hyped](https://github.com/leankit-labs/hyped) ). This is a breaking change because of several structural and naming changes to how resources get modeled. | ||
### prerelease 22 | ||
Bug fix - autohost accidentally pegged fount version and bad initialization order caused custom fount instances to get ignored. | ||
### prerelease 21 | ||
@@ -5,0 +8,0 @@ Bug fix - correct problem with how express-session was exposed causing connect-redis to fail on init. |
{ | ||
"name": "autohost", | ||
"version": "0.3.0-21", | ||
"version": "0.3.0-22", | ||
"description": "Resource driven, transport agnostic host", | ||
@@ -13,3 +13,3 @@ "main": "src/index.js", | ||
"express-session": "^1.7.2", | ||
"fount": "0.0.4", | ||
"fount": "~0.0.6", | ||
"gulp-esformatter": "^1.0.1", | ||
@@ -68,2 +68,5 @@ "lodash": "^2.4.1", | ||
], | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org/" | ||
}, | ||
"license": "MIT License - http://opensource.org/licenses/MIT", | ||
@@ -70,0 +73,0 @@ "bugs": { |
@@ -72,3 +72,3 @@ // this mock is intended to support tests as well as provide a memory-based implementation | ||
return when.promise( function( resolve ) { | ||
resolve( wrapper.actions[ action ].roles || [] ); | ||
resolve( wrapper.actions[ action ] && wrapper.actions[ action ].roles || [] ); | ||
} ); | ||
@@ -102,3 +102,3 @@ } | ||
done( null, _.isObject( user ) ? user : JSON.parse( user ) ); | ||
} catch (e) { | ||
} catch ( e ) { | ||
done( e, null ); | ||
@@ -105,0 +105,0 @@ } |
@@ -32,4 +32,4 @@ var path = require( 'path' ); | ||
function initialize( cfg, authProvider, fount ) { | ||
wrapper.fount = fount || internalFount; | ||
api = require( './api.js' )( wrapper, cfg ); | ||
wrapper.fount = fount || internalFount; | ||
if ( initialized ) { | ||
@@ -36,0 +36,0 @@ api.startAdapters(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
204731
+ Addedfount@0.0.6(transitive)
- Removedfount@0.0.4(transitive)
Updatedfount@~0.0.6