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

passport

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

passport - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

3

lib/passport/index.js

@@ -250,2 +250,5 @@ /**

if (err || user) { return done(err, user); }
// a valid user existed when establishing the session, but that user has
// since been removed
if (user === null || user === false) { return done(null, false); }

@@ -252,0 +255,0 @@ var layer = stack[i];

@@ -42,2 +42,6 @@ /**

if (err) { return self.error(err); }
if (!user) {
delete req._passport.session.user;
return self.pass();
};
var property = req._passport.instance._userProperty || 'user';

@@ -44,0 +48,0 @@ req[property] = user;

2

package.json
{
"name": "passport",
"version": "0.1.7",
"version": "0.1.8",
"description": "Simple, unobtrusive authentication for Node.js.",

@@ -5,0 +5,0 @@ "author": { "name": "Jared Hanson", "email": "jaredhanson@gmail.com", "url": "http://www.jaredhanson.net/" },

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