@feathersjs/errors 4.5.8 → 4.5.12

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,44 @@
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.12](https://github.com/feathersjs/feathers/compare/v4.5.11...v4.5.12) (2022-01-06)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Update all dependencies for crow release ([#2520](https://github.com/feathersjs/feathers/issues/2520)) ([1c63e6b](https://github.com/feathersjs/feathers/commit/1c63e6be37ff85edbe8dd318415ca6919864c033))
12
+
13
+
14
+
15
+
16
+
17
+ ## [4.5.11](https://github.com/feathersjs/feathers/compare/v4.5.10...v4.5.11) (2020-12-05)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **typescript:** Fix `data` property definition in @feathersjs/errors ([#2018](https://github.com/feathersjs/feathers/issues/2018)) ([ef1398c](https://github.com/feathersjs/feathers/commit/ef1398cd5b19efa50929e8c9511ca5684a18997f))
23
+
24
+
25
+
26
+
27
+
28
+ ## [4.5.10](https://github.com/feathersjs/feathers/compare/v4.5.9...v4.5.10) (2020-11-08)
29
+
30
+ **Note:** Version bump only for package @feathersjs/errors
31
+
32
+
33
+
34
+
35
+
36
+ ## [4.5.9](https://github.com/feathersjs/feathers/compare/v4.5.8...v4.5.9) (2020-10-09)
37
+
38
+ **Note:** Version bump only for package @feathersjs/errors
39
+
40
+
41
+
42
+
43
+
6
44
  ## [4.5.8](https://github.com/feathersjs/feathers/compare/v4.5.7...v4.5.8) (2020-08-12)
7
45
 
8
46
  **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: any;
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: any;
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.8",
4
+ "version": "4.5.12",
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.1.1"
48
+ "debug": "^4.3.3"
49
49
  },
50
50
  "devDependencies": {
51
- "@feathersjs/feathers": "^4.5.8",
52
- "express": "^4.17.1",
53
- "mocha": "^8.0.1"
51
+ "@feathersjs/feathers": "^4.5.12",
52
+ "express": "^4.17.2",
53
+ "mocha": "^9.1.3"
54
54
  },
55
- "gitHead": "5df52715647ea14cf1bd1fe295ae0eaa9857d70a"
55
+ "gitHead": "8697ecc85808437e9aab63e5d2327679340c5401"
56
56
  }