kuzzle 2.14.16 → 2.16.0
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/lib/api/controllers/adminController.js +5 -0
- package/lib/api/controllers/documentController.js +1 -5
- package/lib/api/controllers/serverController.js +24 -4
- package/lib/api/funnel.js +19 -0
- package/lib/{config → api}/httpRoutes.js +30 -14
- package/lib/api/openApiGenerator.d.ts +6 -0
- package/lib/api/openApiGenerator.js +167 -126
- package/lib/api/openapi/documents/document.d.ts +21 -0
- package/lib/api/openapi/documents/document.js +57 -0
- package/lib/api/openapi/tools.d.ts +2 -0
- package/lib/api/openapi/tools.js +10 -0
- package/lib/api/request/kuzzleRequest.d.ts +30 -32
- package/lib/api/request/kuzzleRequest.js +30 -102
- package/lib/api/request/requestContext.d.ts +17 -22
- package/lib/api/request/requestContext.js +44 -109
- package/lib/api/request/requestInput.d.ts +19 -22
- package/lib/api/request/requestInput.js +115 -173
- package/lib/api/request/requestResponse.d.ts +12 -8
- package/lib/api/request/requestResponse.js +35 -29
- package/lib/cluster/idCardHandler.d.ts +140 -0
- package/lib/cluster/idCardHandler.js +218 -214
- package/lib/cluster/node.js +11 -0
- package/lib/cluster/protobuf/sync.proto +4 -0
- package/lib/cluster/subscriber.js +9 -12
- package/lib/cluster/workers/IDCardRenewer.js +13 -7
- package/lib/config/default.config.js +1 -1
- package/lib/core/network/router.js +33 -0
- package/lib/core/plugin/pluginsManager.js +3 -1
- package/lib/core/realtime/hotelClerk.d.ts +7 -0
- package/lib/core/realtime/hotelClerk.js +14 -0
- package/lib/core/realtime/notifier.js +16 -18
- package/lib/core/storage/clientAdapter.js +11 -5
- package/lib/core/storage/indexCache.d.ts +55 -0
- package/lib/core/storage/indexCache.js +97 -130
- package/lib/kuzzle/kuzzle.js +11 -7
- package/lib/service/storage/elasticsearch.js +14 -9
- package/package-lock.json +286 -260
- package/package.json +18 -17
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kuzzle",
|
|
3
3
|
"author": "The Kuzzle Team <support@kuzzle.io>",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.16.0",
|
|
5
5
|
"description": "Kuzzle is an open-source solution that handles all the data management through a secured API, with a large choice of protocols.",
|
|
6
6
|
"bin": {
|
|
7
7
|
"kuzzle": "bin/start-kuzzle-server"
|
|
@@ -40,17 +40,18 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@elastic/elasticsearch": "https://github.com/elastic/elasticsearch-js/archive/refs/tags/v7.13.0.tar.gz",
|
|
43
|
+
"@types/js-yaml": "^4.0.5",
|
|
43
44
|
"aedes": "^0.46.1",
|
|
44
45
|
"bluebird": "^3.7.2",
|
|
45
46
|
"cli-color": "^2.0.1",
|
|
46
47
|
"cookie": "^0.4.1",
|
|
47
|
-
"debug": "^4.3.
|
|
48
|
+
"debug": "^4.3.3",
|
|
48
49
|
"denque": "^2.0.1",
|
|
49
50
|
"didyoumean": "^1.2.2",
|
|
50
51
|
"dumpme": "^1.0.3",
|
|
51
52
|
"eventemitter3": "^4.0.7",
|
|
52
53
|
"inquirer": "^8.2.0",
|
|
53
|
-
"ioredis": "^4.28.
|
|
54
|
+
"ioredis": "^4.28.2",
|
|
54
55
|
"js-yaml": "^4.1.0",
|
|
55
56
|
"json-stable-stringify": "^1.0.1",
|
|
56
57
|
"json2yaml": "^1.1.0",
|
|
@@ -61,26 +62,26 @@
|
|
|
61
62
|
"kuzzle-sdk": "7.7.6",
|
|
62
63
|
"kuzzle-vault": "^2.0.4",
|
|
63
64
|
"lodash": "4.17.21",
|
|
64
|
-
"long": "^5.
|
|
65
|
+
"long": "^5.2.0",
|
|
65
66
|
"moment": "^2.29.1",
|
|
66
67
|
"ms": "^2.1.3",
|
|
67
68
|
"murmurhash-native": "^3.5.0",
|
|
68
69
|
"nanoid": "^3.1.30",
|
|
69
|
-
"
|
|
70
|
+
"node-segfault-handler": "^1.0.4",
|
|
71
|
+
"openapi-enforcer": "^1.16.0",
|
|
70
72
|
"passport": "^0.5.0",
|
|
71
73
|
"protobufjs": "~6.11.2",
|
|
72
74
|
"rc": "1.2.8",
|
|
73
|
-
"segfault-handler": "^1.3.0",
|
|
74
75
|
"semver": "^7.3.5",
|
|
75
76
|
"sorted-array": "^2.0.4",
|
|
76
|
-
"uWebSockets.js": "https://github.com/uNetworking/uWebSockets.js/archive/refs/tags/
|
|
77
|
+
"uWebSockets.js": "https://github.com/uNetworking/uWebSockets.js/archive/refs/tags/v20.0.0.tar.gz",
|
|
77
78
|
"uuid": "^8.3.2",
|
|
78
|
-
"validator": "^13.
|
|
79
|
+
"validator": "^13.7.0",
|
|
79
80
|
"winston": "^3.3.3",
|
|
80
|
-
"winston-elasticsearch": "0.
|
|
81
|
+
"winston-elasticsearch": "0.16.0",
|
|
81
82
|
"winston-syslog": "^2.4.4",
|
|
82
83
|
"winston-transport": "^4.4.0",
|
|
83
|
-
"yargs": "^17.
|
|
84
|
+
"yargs": "^17.3.0",
|
|
84
85
|
"zeromq": "^6.0.0-beta.6"
|
|
85
86
|
},
|
|
86
87
|
"repository": {
|
|
@@ -88,15 +89,15 @@
|
|
|
88
89
|
"url": "git://github.com/kuzzleio/kuzzle.git"
|
|
89
90
|
},
|
|
90
91
|
"devDependencies": {
|
|
91
|
-
"@types/lodash": "^4.14.
|
|
92
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
93
|
-
"@typescript-eslint/parser": "^5.
|
|
92
|
+
"@types/lodash": "^4.14.177",
|
|
93
|
+
"@typescript-eslint/eslint-plugin": "^5.6.0",
|
|
94
|
+
"@typescript-eslint/parser": "^5.6.0",
|
|
94
95
|
"async": "^3.2.2",
|
|
95
96
|
"chokidar": "^3.5.2",
|
|
96
97
|
"codecov": "^3.8.3",
|
|
97
98
|
"cucumber": "^6.0.5",
|
|
98
99
|
"ergol": "^1.0.1",
|
|
99
|
-
"eslint": "^8.1
|
|
100
|
+
"eslint": "^8.4.1",
|
|
100
101
|
"mocha": "^9.1.3",
|
|
101
102
|
"mock-require": "^3.0.3",
|
|
102
103
|
"mqtt": "^4.2.8",
|
|
@@ -106,10 +107,10 @@
|
|
|
106
107
|
"rewire": "^5.0.0",
|
|
107
108
|
"should": "13.2.3",
|
|
108
109
|
"should-sinon": "0.0.6",
|
|
109
|
-
"sinon": "^
|
|
110
|
-
"strip-json-comments": "
|
|
110
|
+
"sinon": "^12.0.1",
|
|
111
|
+
"strip-json-comments": "https://github.com/sindresorhus/strip-json-comments/archive/refs/tags/v3.1.1.tar.gz",
|
|
111
112
|
"ts-node": "^10.4.0",
|
|
112
|
-
"typescript": "^4.
|
|
113
|
+
"typescript": "^4.5.2",
|
|
113
114
|
"yaml": "^1.10.2"
|
|
114
115
|
},
|
|
115
116
|
"engines": {
|