equipped 4.4.1 → 4.4.2
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 +8 -0
- package/lib/instance/index.js +1 -1
- package/lib/listeners/emitter.js +3 -3
- package/lib/validations/index.d.ts +1 -0
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [4.4.2](https://github.com/kevinand11/equipped/compare/v4.4.1...v4.4.2) (2024-03-01)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* emit toJSONed base entity ([501c0c7](https://github.com/kevinand11/equipped/commit/501c0c76a8459c6bdbb78d510e6a16725b54c0bc))
|
|
11
|
+
* error message on start connections ([37aba2e](https://github.com/kevinand11/equipped/commit/37aba2e74d05e8afbab05f617667fc934f7a2b3c))
|
|
12
|
+
|
|
5
13
|
### [4.4.1](https://github.com/kevinand11/equipped/compare/v4.4.0...v4.4.1) (2024-02-24)
|
|
6
14
|
|
|
7
15
|
|
package/lib/instance/index.js
CHANGED
package/lib/listeners/emitter.js
CHANGED
|
@@ -101,13 +101,13 @@ class Listener {
|
|
|
101
101
|
await __classPrivateFieldGet(this, _Listener_subscriber, "f").subscribe();
|
|
102
102
|
}
|
|
103
103
|
async created(channels, data) {
|
|
104
|
-
await __classPrivateFieldGet(this, _Listener_instances, "m", _Listener_emit).call(this, channels, EmitTypes.created, data);
|
|
104
|
+
await __classPrivateFieldGet(this, _Listener_instances, "m", _Listener_emit).call(this, channels, EmitTypes.created, data.toJSON());
|
|
105
105
|
}
|
|
106
106
|
async updated(channels, data) {
|
|
107
|
-
await __classPrivateFieldGet(this, _Listener_instances, "m", _Listener_emit).call(this, channels, EmitTypes.updated, data);
|
|
107
|
+
await __classPrivateFieldGet(this, _Listener_instances, "m", _Listener_emit).call(this, channels, EmitTypes.updated, data.toJSON());
|
|
108
108
|
}
|
|
109
109
|
async deleted(channels, data) {
|
|
110
|
-
await __classPrivateFieldGet(this, _Listener_instances, "m", _Listener_emit).call(this, channels, EmitTypes.deleted, data);
|
|
110
|
+
await __classPrivateFieldGet(this, _Listener_instances, "m", _Listener_emit).call(this, channels, EmitTypes.deleted, data.toJSON());
|
|
111
111
|
}
|
|
112
112
|
set callers(callers) {
|
|
113
113
|
__classPrivateFieldSet(this, _Listener_callers, callers, "f");
|
|
@@ -104,6 +104,7 @@ export declare const Validation: {
|
|
|
104
104
|
isLaterThan: <T_10 extends Validate.Timeable>(compare: Validate.Timeable, error?: string | undefined) => Validate.Rule<T_10>;
|
|
105
105
|
isEarlierThan: <T_11 extends Validate.Timeable>(compare: Validate.Timeable, error?: string | undefined) => Validate.Rule<T_11>;
|
|
106
106
|
ClassPropertiesWrapper: typeof Validate.ClassPropertiesWrapper;
|
|
107
|
+
A: typeof Validate.A;
|
|
107
108
|
Differ: typeof Validate.Differ;
|
|
108
109
|
capitalize: (text: string) => string;
|
|
109
110
|
stripHTML: (html: string) => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "equipped",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -15,21 +15,21 @@
|
|
|
15
15
|
"author": "",
|
|
16
16
|
"license": "ISC",
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@commitlint/cli": "^
|
|
19
|
-
"@commitlint/config-conventional": "^
|
|
20
|
-
"@types/amqplib": "^0.10.
|
|
18
|
+
"@commitlint/cli": "^19.0.3",
|
|
19
|
+
"@commitlint/config-conventional": "^19.0.3",
|
|
20
|
+
"@types/amqplib": "^0.10.5",
|
|
21
21
|
"@types/bcryptjs": "^2.4.6",
|
|
22
22
|
"@types/bull": "^3.15.9",
|
|
23
23
|
"@types/cors": "^2.8.17",
|
|
24
24
|
"@types/express": "^4.17.21",
|
|
25
25
|
"@types/express-fileupload": "^1.4.4",
|
|
26
|
-
"@types/jsonwebtoken": "^9.0.
|
|
26
|
+
"@types/jsonwebtoken": "^9.0.6",
|
|
27
27
|
"@types/morgan": "^1.9.9",
|
|
28
|
-
"@types/node": "^20.11.
|
|
28
|
+
"@types/node": "^20.11.24",
|
|
29
29
|
"@types/pug": "^2.0.10",
|
|
30
30
|
"@types/supertest": "^6.0.2",
|
|
31
|
-
"@typescript-eslint/eslint-plugin": "^7.0
|
|
32
|
-
"@typescript-eslint/parser": "^7.0
|
|
31
|
+
"@typescript-eslint/eslint-plugin": "^7.1.0",
|
|
32
|
+
"@typescript-eslint/parser": "^7.1.0",
|
|
33
33
|
"eslint": "^8.57.0",
|
|
34
34
|
"eslint-plugin-promise": "^6.1.1",
|
|
35
35
|
"husky": "^9.0.11",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"cookie-parser": "^1.4.6",
|
|
48
48
|
"cors": "^2.8.5",
|
|
49
49
|
"dotenv": "^16.4.5",
|
|
50
|
-
"express": "^4.18.
|
|
50
|
+
"express": "^4.18.3",
|
|
51
51
|
"express-fileupload": "^1.4.3",
|
|
52
52
|
"express-rate-limit": "^7.1.5",
|
|
53
53
|
"express-slow-down": "^2.0.1",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"redis": "^4.6.13",
|
|
67
67
|
"socket.io": "4.7.4",
|
|
68
68
|
"supertest": "^6.3.4",
|
|
69
|
-
"valleyed": "4.2.
|
|
69
|
+
"valleyed": "4.2.9"
|
|
70
70
|
},
|
|
71
71
|
"repository": {
|
|
72
72
|
"url": "git://github.com/kevinand11/equipped.git"
|