@feathersjs/express
Advanced tools
Comparing version 4.3.11 to 4.4.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [4.4.0](https://github.com/feathersjs/feathers/compare/v4.3.11...v4.4.0) (2019-11-27) | ||
### Features | ||
* **authentication:** Add parseStrategies to allow separate strategies for creating JWTs and parsing headers ([#1708](https://github.com/feathersjs/feathers/issues/1708)) ([5e65629](https://github.com/feathersjs/feathers/commit/5e65629b924724c3e81d7c81df047e123d1c8bd7)) | ||
## [4.3.11](https://github.com/feathersjs/feathers/compare/v4.3.10...v4.3.11) (2019-11-11) | ||
@@ -8,0 +19,0 @@ |
@@ -18,6 +18,7 @@ const { flatten, merge } = require('lodash'); | ||
const { authStrategies = [] } = service.configuration; | ||
const config = service.configuration; | ||
const authStrategies = config.parseStrategies || config.authStrategies || []; | ||
if (authStrategies.length === 0) { | ||
debug('No `authStrategies` found in authentication configuration'); | ||
debug('No `authStrategies` or `parseStrategies` found in authentication configuration'); | ||
return next(); | ||
@@ -24,0 +25,0 @@ } |
{ | ||
"name": "@feathersjs/express", | ||
"description": "Feathers Express framework bindings and REST provider", | ||
"version": "4.3.11", | ||
"version": "4.4.0", | ||
"homepage": "https://feathersjs.com", | ||
@@ -31,3 +31,3 @@ "main": "lib/", | ||
"engines": { | ||
"node": ">= 6" | ||
"node": ">= 12" | ||
}, | ||
@@ -45,3 +45,3 @@ "scripts": { | ||
"@feathersjs/commons": "^4.3.7", | ||
"@feathersjs/errors": "^4.3.11", | ||
"@feathersjs/errors": "^4.4.0", | ||
"@types/express": "^4.17.1", | ||
@@ -54,6 +54,6 @@ "debug": "^4.1.1", | ||
"devDependencies": { | ||
"@feathersjs/authentication": "^4.3.11", | ||
"@feathersjs/authentication-local": "^4.3.11", | ||
"@feathersjs/feathers": "^4.3.11", | ||
"@feathersjs/tests": "^4.3.11", | ||
"@feathersjs/authentication": "^4.4.0", | ||
"@feathersjs/authentication-local": "^4.4.0", | ||
"@feathersjs/feathers": "^4.4.0", | ||
"@feathersjs/tests": "^4.4.0", | ||
"axios": "^0.19.0", | ||
@@ -64,3 +64,3 @@ "chai": "^4.2.0", | ||
}, | ||
"gitHead": "2d95bfd7a7cf064ef95925649b45b3ebecdb86c4" | ||
"gitHead": "e157e5f1e149a843377cb38f0a72ac191ecc3b45" | ||
} |
326702
1494
Updated@feathersjs/errors@^4.4.0