@feathersjs/feathers 5.0.3 → 5.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [5.0.5](https://github.com/feathersjs/feathers/compare/v5.0.4...v5.0.5) (2023-04-28)
7
+
8
+ **Note:** Version bump only for package @feathersjs/feathers
9
+
10
+ ## [5.0.4](https://github.com/feathersjs/feathers/compare/v5.0.3...v5.0.4) (2023-04-12)
11
+
12
+ ### Bug Fixes
13
+
14
+ - Make sure all Readme files are up to date ([#3154](https://github.com/feathersjs/feathers/issues/3154)) ([a5f0b38](https://github.com/feathersjs/feathers/commit/a5f0b38bbf2a11486415a39533bcc6c67fb51e3e))
15
+
6
16
  ## [5.0.3](https://github.com/feathersjs/feathers/compare/v5.0.2...v5.0.3) (2023-04-05)
7
17
 
8
18
  ### Bug Fixes
package/README.md CHANGED
@@ -17,16 +17,14 @@ Feathers can interact with any backend technology, supports many databases out o
17
17
  You can build your first real-time and REST API in just 4 commands:
18
18
 
19
19
  ```bash
20
- $ npm init feathers my-new-app
20
+ $ npm create feathers my-new-app
21
21
  $ cd my-new-app
22
22
  $ npm start
23
23
  ```
24
24
 
25
- To learn more about Feathers visit the website at [feathersjs.com](http://feathersjs.com) or jump right into [the Feathers guides](http://docs.feathersjs.com/guides).
26
-
27
25
  ## Documentation
28
26
 
29
- The [Feathers docs](http://docs.feathersjs.com) are loaded with awesome stuff and tell you every thing you need to know about using and configuring Feathers.
27
+ To learn more about Feathers visit the website at [feathersjs.com](http://feathersjs.com) or jump right into [the Feathers guides](http://feathersjs.com/guides).
30
28
 
31
29
  ## License
32
30
 
package/lib/events.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import { NextFunction } from '@feathersjs/hooks';
2
2
  import { HookContext, FeathersService } from './declarations';
3
3
  export declare function eventHook(context: HookContext, next: NextFunction): Promise<void>;
4
- export declare function eventMixin<A>(service: FeathersService<A>): FeathersService<A, import("./declarations").Service<any, Partial<any>, import("./declarations").Params<import("./declarations").Query>, Partial<Partial<any>>>>;
4
+ export declare function eventMixin<A>(service: FeathersService<A>): FeathersService<A>;
package/lib/hooks.d.ts CHANGED
@@ -25,9 +25,9 @@ type HookEnabled = {
25
25
  __hooks: HookStore;
26
26
  };
27
27
  export declare function convertHookData(input: any): {
28
- [method: string]: AroundHookFunction<import("./declarations").Application<any, any>, Service<any, Partial<any>, import("./declarations").Params<import("./declarations").Query>, Partial<Partial<any>>>>[] | HookFunction<import("./declarations").Application<any, any>, Service<any, Partial<any>, import("./declarations").Params<import("./declarations").Query>, Partial<Partial<any>>>>[];
28
+ [method: string]: AroundHookFunction[] | HookFunction[];
29
29
  };
30
- export declare function collectHooks(target: HookEnabled, method: string): AroundHookFunction<import("./declarations").Application<any, any>, Service<any, Partial<any>, import("./declarations").Params<import("./declarations").Query>, Partial<Partial<any>>>>[];
30
+ export declare function collectHooks(target: HookEnabled, method: string): AroundHookFunction[];
31
31
  export declare function enableHooks(object: any): (this: HookEnabled, input: HookMap<any, any>) => HookEnabled;
32
32
  export declare function createContext(service: Service, method: string, data?: HookContextData): HookContext<import("./declarations").Application<any, any>, any>;
33
33
  export declare class FeathersHookManager<A> extends HookManager {
@@ -38,5 +38,5 @@ export declare class FeathersHookManager<A> extends HookManager {
38
38
  initializeContext(self: any, args: any[], context: HookContext): import("@feathersjs/hooks").HookContext<any, any>;
39
39
  middleware(mw: Middleware[]): this;
40
40
  }
41
- export declare function hookMixin<A>(this: A, service: FeathersService<A>, path: string, options: ServiceOptions): FeathersService<A, Service<any, Partial<any>, import("./declarations").Params<import("./declarations").Query>, Partial<Partial<any>>>>;
41
+ export declare function hookMixin<A>(this: A, service: FeathersService<A>, path: string, options: ServiceOptions): FeathersService<A>;
42
42
  export {};
package/lib/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "5.0.3";
1
+ declare const _default: "5.0.5";
2
2
  export default _default;
package/lib/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = '5.0.3';
3
+ exports.default = '5.0.5';
4
4
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@feathersjs/feathers",
3
3
  "description": "A framework for real-time applications and REST API with JavaScript and TypeScript",
4
- "version": "5.0.3",
4
+ "version": "5.0.5",
5
5
  "homepage": "http://feathersjs.com",
6
6
  "repository": {
7
7
  "type": "git",
@@ -58,7 +58,7 @@
58
58
  "access": "public"
59
59
  },
60
60
  "dependencies": {
61
- "@feathersjs/commons": "^5.0.3",
61
+ "@feathersjs/commons": "^5.0.5",
62
62
  "@feathersjs/hooks": "^0.8.1",
63
63
  "events": "^3.3.0"
64
64
  },
@@ -70,5 +70,5 @@
70
70
  "ts-node": "^10.9.1",
71
71
  "typescript": "^5.0.3"
72
72
  },
73
- "gitHead": "a6ba4dfd08f537a7d4778bed4c45091cbe3802aa"
73
+ "gitHead": "42bd5e40ec73b10939b9a008ae8e49c39a191009"
74
74
  }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export default '5.0.3'
1
+ export default '5.0.5'