@passport-next/passport
Advanced tools
Comparing version 3.0.0 to 3.0.1
This changelog follows Semantic Versioning https://semver.org/ | ||
# UNRELEASED | ||
# 3.0.1 | ||
### Patch | ||
* Updated npm deps @rwky | ||
# 3.0.0 (2019-07-13) | ||
@@ -5,0 +12,0 @@ |
@@ -106,3 +106,3 @@ 'use strict'; | ||
* | ||
* @param {object} fw | ||
* @param {PlainObject} fw | ||
* @returns {Authenticator} for chaining | ||
@@ -171,3 +171,3 @@ * @public | ||
* @param {string} strategy | ||
* @param {object} options | ||
* @param {PlainObject} options | ||
* @param {GenericCallback} callback | ||
@@ -197,3 +197,3 @@ * @returns {GenericCallback} middleware | ||
* @param {string} strategy | ||
* @param {object} options | ||
* @param {PlainObject} options | ||
* @param {GenericCallback} callback | ||
@@ -236,3 +236,3 @@ * @returns {GenericCallback} middleware | ||
* | ||
* @param {object} options | ||
* @param {PlainObject} options | ||
* @returns {GenericCallback} middleware | ||
@@ -265,3 +265,3 @@ * @public | ||
* | ||
* passport.serializeUser(function(user, done) { | ||
* passport.serializeUser(function (user, done) { | ||
* done(null, user.id); | ||
@@ -328,3 +328,3 @@ * }); | ||
* | ||
* passport.deserializeUser(function(id, done) { | ||
* passport.deserializeUser(function (id, done) { | ||
* User.findById(id, function (err, user) { | ||
@@ -420,3 +420,3 @@ * done(err, user); | ||
* | ||
* passport.transformAuthInfo(function(info, done) { | ||
* passport.transformAuthInfo(function (info, done) { | ||
* Client.findById(info.clientID, function (err, client) { | ||
@@ -423,0 +423,0 @@ * info.client = client; |
@@ -16,3 +16,3 @@ 'use strict'; | ||
* | ||
* @return {Object} | ||
* @returns {Object} | ||
* @protected | ||
@@ -19,0 +19,0 @@ */ |
@@ -67,4 +67,4 @@ /* eslint-disable no-shadow */ | ||
* @param {Authenticator} passport | ||
* @param {string|Array} name | ||
* @param {object} options | ||
* @param {string|GenericArray} name | ||
* @param {PlainObject} options | ||
* @param {GenericCallback} callback | ||
@@ -71,0 +71,0 @@ * @returns {GenericCallback} |
@@ -31,7 +31,7 @@ 'use strict'; | ||
* | ||
* passport.serializeUser(function(user, done) { | ||
* passport.serializeUser(function (user, done) { | ||
* done(null, user.id); | ||
* }); | ||
* | ||
* passport.deserializeUser(function(id, done) { | ||
* passport.deserializeUser(function (id, done) { | ||
* User.findById(id, function (err, user) { | ||
@@ -42,3 +42,3 @@ * done(err, user); | ||
* | ||
* @return {Function} | ||
* @returns {GenericCallback} | ||
* @public | ||
@@ -45,0 +45,0 @@ */ |
{ | ||
"name": "@passport-next/passport", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Simple, unobtrusive authentication for Node.js.", | ||
@@ -20,24 +20,27 @@ "author": { | ||
"devDependencies": { | ||
"@mysticatea/eslint-plugin": "^10.0.3", | ||
"@mysticatea/eslint-plugin": "^11.0.0", | ||
"@passport-next/chai-connect-middleware": "1.x.x", | ||
"@passport-next/chai-passport-strategy": "1.x.x", | ||
"@passport-next/eslint-config-passport-next": "1.x.x", | ||
"@passport-next/eslint-config-passport-next": "^2.0.0", | ||
"chai": "4.x.x", | ||
"chai-connect-middleware": "0.x.x", | ||
"coveralls": "^3.0.5", | ||
"eslint": "^5.16.0", | ||
"eslint-config-standard": "^12.0.0", | ||
"eslint-plugin-compat": "^3.1.1", | ||
"eslint-plugin-eslint-comments": "^3.1.1", | ||
"eslint-plugin-import": "^2.17.3", | ||
"eslint-plugin-jsdoc": "^8.0.0", | ||
"coveralls": "^3.0.6", | ||
"eslint": "^6.3.0", | ||
"eslint-config-standard": "^14.1.0", | ||
"eslint-plugin-array-func": "^3.1.3", | ||
"eslint-plugin-compat": "^3.3.0", | ||
"eslint-plugin-eslint-comments": "^3.1.2", | ||
"eslint-plugin-html": "^6.0.0", | ||
"eslint-plugin-import": "^2.18.2", | ||
"eslint-plugin-jsdoc": "^15.9.1", | ||
"eslint-plugin-markdown": "^1.0.0", | ||
"eslint-plugin-no-use-extend-native": "^0.4.0", | ||
"eslint-plugin-node": "^9.1.0", | ||
"eslint-plugin-promise": "^4.1.1", | ||
"eslint-plugin-standard": "^4.0.0", | ||
"eslint-plugin-unicorn": "^9.1.0", | ||
"make-node": "^0.4.6", | ||
"eslint-plugin-no-use-extend-native": "^0.4.1", | ||
"eslint-plugin-node": "^10.0.0", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-sonarjs": "^0.4.0", | ||
"eslint-plugin-standard": "^4.0.1", | ||
"eslint-plugin-unicorn": "^10.0.0", | ||
"mocha": "6.x.x", | ||
"nunjucks": "^3.2.0", | ||
"nyc": "^14.1.1" | ||
"nyc": "^14.1.1", | ||
"typescript": "^3.6.2" | ||
}, | ||
@@ -65,6 +68,6 @@ "engines": { | ||
"lintfix": "eslint --ext js,md . --fix", | ||
"test": "mocha --reporter spec --require test/bootstrap/node test/*.test.js test/**/*.test.js", | ||
"coverage": "nyc --report-dir=var/coverage --reporter=lcov npm test", | ||
"testonly": "mocha --reporter spec --require test/bootstrap/node test/*.test.js test/**/*.test.js", | ||
"test": "nyc --report-dir=var/coverage --reporter=lcov --reporter=text npm run testonly", | ||
"coveralls": "nyc report --report-dir=var/coverage --reporter=text-lcov | coveralls" | ||
} | ||
} |
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
124007
25