@feathersjs/errors 4.5.10 → 4.5.15
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 +30 -0
- package/index.d.ts +2 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
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
|
+
## [4.5.15](https://github.com/feathersjs/feathers/compare/v4.5.14...v4.5.15) (2022-05-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @feathersjs/errors
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [4.5.12](https://github.com/feathersjs/feathers/compare/v4.5.11...v4.5.12) (2022-01-06)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* Update all dependencies for crow release ([#2520](https://github.com/feathersjs/feathers/issues/2520)) ([1c63e6b](https://github.com/feathersjs/feathers/commit/1c63e6be37ff85edbe8dd318415ca6919864c033))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [4.5.11](https://github.com/feathersjs/feathers/compare/v4.5.10...v4.5.11) (2020-12-05)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* **typescript:** Fix `data` property definition in @feathersjs/errors ([#2018](https://github.com/feathersjs/feathers/issues/2018)) ([ef1398c](https://github.com/feathersjs/feathers/commit/ef1398cd5b19efa50929e8c9511ca5684a18997f))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
## [4.5.10](https://github.com/feathersjs/feathers/compare/v4.5.9...v4.5.10) (2020-11-08)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @feathersjs/errors
|
package/index.d.ts
CHANGED
|
@@ -3,14 +3,14 @@ export interface FeathersErrorJSON {
|
|
|
3
3
|
readonly message: string;
|
|
4
4
|
readonly code: number;
|
|
5
5
|
readonly className: string;
|
|
6
|
-
readonly data
|
|
6
|
+
readonly data?: any;
|
|
7
7
|
readonly errors: any;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
export class FeathersError extends Error {
|
|
11
11
|
readonly code: number;
|
|
12
12
|
readonly className: string;
|
|
13
|
-
readonly data
|
|
13
|
+
readonly data?: unknown;
|
|
14
14
|
readonly errors: any;
|
|
15
15
|
constructor (msg: string | Error, name: string, code: number, className: string, data: any);
|
|
16
16
|
toJSON (): FeathersErrorJSON;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feathersjs/errors",
|
|
3
3
|
"description": "Common error types for Feathers apps",
|
|
4
|
-
"version": "4.5.
|
|
4
|
+
"version": "4.5.15",
|
|
5
5
|
"homepage": "https://feathersjs.com",
|
|
6
6
|
"main": "lib/index",
|
|
7
7
|
"types": "index.d.ts",
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"debug": "^4.
|
|
48
|
+
"debug": "^4.3.3"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@feathersjs/feathers": "^4.5.
|
|
52
|
-
"express": "^4.17.
|
|
53
|
-
"mocha": "^
|
|
51
|
+
"@feathersjs/feathers": "^4.5.15",
|
|
52
|
+
"express": "^4.17.2",
|
|
53
|
+
"mocha": "^9.1.3"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "d0e9600002975296ab8de926acd317d0a73fce5c"
|
|
56
56
|
}
|