From 2214f6c9444f7e164895691b61cb9472bb0ce8da Mon Sep 17 00:00:00 2001 From: "greenkeeper[bot]" Date: Wed, 10 May 2017 08:51:14 -0700 Subject: [PATCH 1/4] chore(package): update feathers-socketio to version 2.0.0 (#576) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dc379501a2..4499eee037 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "body-parser": "^1.15.2", "eslint-if-supported": "^1.0.1", "feathers-rest": "^1.5.3", - "feathers-socketio": "^1.4.2", + "feathers-socketio": "^2.0.0", "istanbul": "^1.1.0-alpha.1", "jshint": "^2.9.4", "mocha": "^3.2.0", From 73fd71304b884388849974511b033bba72049ccf Mon Sep 17 00:00:00 2001 From: Patrick Cauley Date: Mon, 22 May 2017 15:13:35 -0400 Subject: [PATCH 2/4] Added before and after to feathers service --- index.d.ts | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/index.d.ts b/index.d.ts index 0e0c149ea6..18925c9265 100644 --- a/index.d.ts +++ b/index.d.ts @@ -6,13 +6,13 @@ declare function feathers(): feathers.Application; declare namespace feathers { export var static: typeof express.static; - + type NullableId = number | string | null; interface Params { query?: any; } - + interface Pagination { total: Number, limit: Number, @@ -34,13 +34,13 @@ declare namespace feathers { get?(id: number | string, params?: Params, callback?: any): Promise; /** - * Creates a new resource with data. + * Creates a new resource with data. */ create?(data: T | T[], params?: Params, callback?: any): Promise; /** * Replaces the resource identified by id with data. - * Update multiples resources with id equal `null` + * Update multiples resources with id equal `null` */ update?(id: NullableId, data: T, params?: Params, callback?: any): Promise; @@ -58,9 +58,12 @@ declare namespace feathers { remove?(id: NullableId, params?: Params, callback?: any): Promise; /** - * Initialize your service with any special configuration or if connecting services that are very tightly coupled + * Initialize your service with any special configuration or if connecting services that are very tightly coupled */ setup?(app?: Application, path?: string): void; + + before(any?): this; + after(any?): this; } interface FeathersUseHandler extends expressCore.IRouterHandler, express.IRouterMatcher { @@ -74,7 +77,7 @@ declare namespace feathers { service(location: string): Service; /** - * Registers a new service for that path and returns the wrapped service object + * Registers a new service for that path and returns the wrapped service object */ service(location: string, service: Service, options?: any): Service; @@ -84,7 +87,7 @@ declare namespace feathers { setup(): this; /** - * Register a service object + * Register a service object */ use: FeathersUseHandler; } From b063d2612c6ba23cfd4e46a274755738fada0151 Mon Sep 17 00:00:00 2001 From: Patrick Cauley Date: Mon, 22 May 2017 15:18:18 -0400 Subject: [PATCH 3/4] Feathers typigns --- index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.d.ts b/index.d.ts index 18925c9265..ca30e0f12f 100644 --- a/index.d.ts +++ b/index.d.ts @@ -64,6 +64,8 @@ declare namespace feathers { before(any?): this; after(any?): this; + filter(any?): this; + } interface FeathersUseHandler extends expressCore.IRouterHandler, express.IRouterMatcher { From 4d8f09c890fa991dcfd12dd785d59f5b7361f449 Mon Sep 17 00:00:00 2001 From: David Luecke Date: Mon, 29 May 2017 16:31:12 +0200 Subject: [PATCH 4/4] 2.1.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4499eee037..1e10fac7fd 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "feathers", "description": "Build Better APIs, Faster than Ever.", - "version": "2.1.2", + "version": "2.1.3", "homepage": "http://feathersjs.com", "repository": { "type": "git",