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

@passport-next/passport

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@passport-next/passport - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

12

CHANGELOG.md
This changelog follows Semantic Versioning https://semver.org/
# 2.0.0
# 2.1.0 (2018-11-03)
* Exposed the method to customize the SessionManager object @adamhathcock
* Added node 11 support @rwky
* Lint fixes @rwky
* Updated dev deps @rwky
* Added linting to travis @rwky
# 2.0.0 (2018-08-18)
### Major
* Added eslint configuration, and fixed a pletora of lint errors @idurotola
* This change should have been a patch (to 1.0.2) but because of the size of the
number of lines changed it was made a major.

@@ -9,0 +19,0 @@ # 1.0.1 (2018-08-11)

17

lib/authenticator.js

@@ -236,9 +236,16 @@ /**

// TODO: Make session manager pluggable
/*
Authenticator.prototype.sessionManager = function(mgr) {
/**
* Sets a custom SessionManager
*
* Examples:
*
* passport.sessionManager = new CustomSessionManager();
*
* @api public
*/
Authenticator.prototype.sessionManager = function sessionManager(mgr) {
this._sm = mgr;
return this;
}
*/
};

@@ -245,0 +252,0 @@ /**

{
"name": "@passport-next/passport",
"version": "2.0.0",
"version": "2.1.0",
"description": "Simple, unobtrusive authentication for Node.js.",

@@ -37,7 +37,7 @@ "keywords": [

"mocha": "5.2.x",
"chai": "4.1.x",
"chai": "4.2.x",
"chai-connect-middleware": "0.3.x",
"eslint-config-airbnb-base": "13.0.x",
"eslint-plugin-import": "2.12.x",
"eslint": "4.19.x",
"eslint-config-airbnb-base": "13.1.x",
"eslint-plugin-import": "2.14.x",
"eslint": "5.8.x",
"@passport-next/chai-passport-strategy": "1.x.x"

@@ -44,0 +44,0 @@ },

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