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-8 to 0.3.0-9

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 9
Fix edge case causing passport middleware to re-authenticate users already in the session if the user object didn't have a `name` property.
### prerelease 8

@@ -5,0 +8,0 @@ * Remove the _autohost API/UI

2

package.json
{
"name": "autohost",
"version": "0.3.0-8",
"version": "0.3.0-9",
"description": "Resource driven, transport agnostic host",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -38,3 +38,3 @@ var _ = require( 'lodash' );

// a user was attached from a session, skip authenticating
if( req.skipAuth || ( req.user && req.user.name ) ) {
if( req.skipAuth || req.user ) {
next();

@@ -41,0 +41,0 @@ } else {

Sorry, the diff of this file is not supported yet

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