@feathersjs/express
Advanced tools
Comparing version 4.5.1 to 4.5.2
@@ -6,2 +6,13 @@ # Change Log | ||
## [4.5.2](https://github.com/feathersjs/feathers/compare/v4.5.1...v4.5.2) (2020-03-04) | ||
### Bug Fixes | ||
* Updated typings for express middleware ([#1839](https://github.com/feathersjs/feathers/issues/1839)) ([6b8e897](https://github.com/feathersjs/feathers/commit/6b8e8971a9dbb08913edd1be48826624645d9dc1)) | ||
## [4.5.1](https://github.com/feathersjs/feathers/compare/v4.5.0...v4.5.1) (2020-01-24) | ||
@@ -8,0 +19,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { Application as FeathersApplication, Params as FeathersParams, HookContext } from '@feathersjs/feathers'; | ||
import { Application as FeathersApplication, Params as FeathersParams, HookContext, SetupMethod, ServiceMethods } from '@feathersjs/feathers'; | ||
import express from 'express'; | ||
@@ -50,2 +50,12 @@ | ||
} | ||
type FeathersService = Partial<ServiceMethods<any> & SetupMethod>; | ||
interface IRouterMatcher<T> { | ||
// tslint:disable-next-line callable-types (Required for declaration merging) | ||
<P extends Params = ParamsDictionary, ResBody = any, ReqBody = any>( | ||
path: PathParams, | ||
...handlers: (RequestHandler<P, ResBody, ReqBody> | FeathersService | Application)[] | ||
): T; | ||
} | ||
} |
{ | ||
"name": "@feathersjs/express", | ||
"description": "Feathers Express framework bindings and REST provider", | ||
"version": "4.5.1", | ||
"version": "4.5.2", | ||
"homepage": "https://feathersjs.com", | ||
@@ -34,3 +34,3 @@ "main": "lib/", | ||
"scripts": { | ||
"test": "mocha --opts ../../mocha.opts" | ||
"test": "mocha --config ../../.mocharc.json" | ||
}, | ||
@@ -44,4 +44,4 @@ "directories": { | ||
"dependencies": { | ||
"@feathersjs/commons": "^4.5.1", | ||
"@feathersjs/errors": "^4.5.1", | ||
"@feathersjs/commons": "^4.5.2", | ||
"@feathersjs/errors": "^4.5.2", | ||
"@types/express": "^4.17.2", | ||
@@ -51,14 +51,14 @@ "debug": "^4.1.1", | ||
"lodash": "^4.17.15", | ||
"uberproto": "^2.0.4" | ||
"uberproto": "^2.0.6" | ||
}, | ||
"devDependencies": { | ||
"@feathersjs/authentication": "^4.5.1", | ||
"@feathersjs/authentication-local": "^4.5.1", | ||
"@feathersjs/feathers": "^4.5.1", | ||
"@feathersjs/tests": "^4.5.1", | ||
"@feathersjs/authentication": "^4.5.2", | ||
"@feathersjs/authentication-local": "^4.5.2", | ||
"@feathersjs/feathers": "^4.5.2", | ||
"@feathersjs/tests": "^4.5.2", | ||
"axios": "^0.19.2", | ||
"lodash": "^4.17.15", | ||
"mocha": "^7.0.0" | ||
"mocha": "^7.0.1" | ||
}, | ||
"gitHead": "df79afeb0780402fc317af93a86805e420dcfa93" | ||
"gitHead": "9d5871e98d821384dee70b8d3d9af4002f3d052a" | ||
} |
# @feathersjs/express | ||
[](https://travis-ci.org/feathersjs/feathers) | ||
[](https://github.com/feathersjs/feathers/actions?query=workflow%3A%22Node.js+CI%22) | ||
[](https://david-dm.org/feathersjs/feathers?path=packages/express) | ||
@@ -5,0 +5,0 @@ [](https://www.npmjs.com/package/@feathersjs/express) |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
328100
1502
0
Updated@feathersjs/commons@^4.5.2
Updated@feathersjs/errors@^4.5.2
Updateduberproto@^2.0.6