@passport-next/passport
Advanced tools
Comparing version 2.0.0 to 2.1.0
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) |
@@ -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 @@ }, |
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
49554
1132