@feathersjs/feathers 5.0.3 → 5.0.4
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 +6 -0
- package/README.md +2 -4
- package/lib/events.d.ts +1 -1
- package/lib/hooks.d.ts +3 -3
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +3 -3
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
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.4](https://github.com/feathersjs/feathers/compare/v5.0.3...v5.0.4) (2023-04-12)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- 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))
|
|
11
|
+
|
|
6
12
|
## [5.0.3](https://github.com/feathersjs/feathers/compare/v5.0.2...v5.0.3) (2023-04-05)
|
|
7
13
|
|
|
8
14
|
### 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
|
|
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
|
-
|
|
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
|
|
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
|
|
28
|
+
[method: string]: AroundHookFunction[] | HookFunction[];
|
|
29
29
|
};
|
|
30
|
-
export declare function collectHooks(target: HookEnabled, method: string): AroundHookFunction
|
|
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
|
|
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.
|
|
1
|
+
declare const _default: "5.0.4";
|
|
2
2
|
export default _default;
|
package/lib/version.js
CHANGED
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.
|
|
4
|
+
"version": "5.0.4",
|
|
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.
|
|
61
|
+
"@feathersjs/commons": "^5.0.4",
|
|
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": "
|
|
73
|
+
"gitHead": "376e89040991db500f1f327aa699322543315039"
|
|
74
74
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default '5.0.
|
|
1
|
+
export default '5.0.4'
|