Socket
Socket
Sign inDemoInstall

autohost

Package Overview
Dependencies
Maintainers
2
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

autohost - npm Package Compare versions

Comparing version 0.3.0-21 to 0.3.0-22

3

CHANGELOG.md
## 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.

7

package.json
{
"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();

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