kuzzle 2.61.0-beta.4 → 2.61.0-beta.6
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/dist/lib/api/controllers/serverController.js +1 -1
- package/dist/lib/cluster/idCardHandler.d.ts +41 -19
- package/dist/lib/cluster/idCardHandler.js +73 -45
- package/dist/lib/cluster/node.d.ts +8 -2
- package/dist/lib/cluster/node.js +9 -11
- package/dist/lib/cluster/storageDriverCheck.d.ts +31 -0
- package/dist/lib/cluster/storageDriverCheck.js +142 -0
- package/dist/lib/config/default.config.js +1 -0
- package/dist/lib/core/backend/backendStorage.d.ts +9 -0
- package/dist/lib/core/backend/backendStorage.js +48 -0
- package/dist/lib/core/plugin/pluginContext.d.ts +10 -0
- package/dist/lib/core/plugin/pluginContext.js +1 -0
- package/dist/lib/core/storage/clientAdapter.d.ts +13 -0
- package/dist/lib/core/storage/clientAdapter.js +26 -2
- package/dist/lib/core/storage/conformance/capabilityCases.js +41 -0
- package/dist/lib/core/storage/conformance/conformanceContext.d.ts +11 -1
- package/dist/lib/core/storage/conformance/conformanceContext.js +7 -1
- package/dist/lib/core/storage/conformance/coreCases.js +136 -0
- package/dist/lib/core/storage/conformance/storageDriverConformance.js +19 -3
- package/dist/lib/core/storage/indexCache.d.ts +9 -0
- package/dist/lib/core/storage/indexCache.js +20 -1
- package/dist/lib/core/storage/storageDriverLoader.d.ts +24 -5
- package/dist/lib/core/storage/storageDriverLoader.js +177 -25
- package/dist/lib/core/storage/storageEngine.d.ts +11 -0
- package/dist/lib/core/storage/storageEngine.js +47 -5
- package/dist/lib/kerror/codes/1-services.json +18 -12
- package/dist/lib/kerror/codes/2-api.json +1 -1
- package/dist/lib/kerror/codes/8-cluster.json +1 -1
- package/dist/lib/kuzzle/kuzzle.d.ts +2 -0
- package/dist/lib/kuzzle/kuzzle.js +14 -1
- package/dist/lib/service/storage/builtInDrivers.d.ts +7 -0
- package/dist/lib/service/storage/builtInDrivers.js +18 -35
- package/dist/lib/service/storage/driverPackage.d.ts +20 -0
- package/dist/lib/service/storage/driverPackage.js +101 -0
- package/dist/lib/service/storage/storageService.js +3 -3
- package/dist/lib/types/config/storageEngine/StorageEngineElasticsearchConfiguration.d.ts +12 -0
- package/dist/lib/types/storage/StorageDriver.d.ts +24 -2
- package/dist/package.json +21 -21
- package/package.json +21 -21
|
@@ -53,65 +53,48 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
53
53
|
};
|
|
54
54
|
})();
|
|
55
55
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
56
|
+
exports.builtInStorageDriverPackage = builtInStorageDriverPackage;
|
|
56
57
|
exports.builtInStorageDriver = builtInStorageDriver;
|
|
57
|
-
// The built-in Elasticsearch 7 and 8 drivers (ADR-0003 step 06): the
|
|
58
|
-
// packages `kuzzle-storage-es-7` and `kuzzle-storage-es-8`, dependencies of
|
|
59
|
-
// Kuzzle at pinned versions. Dropped from Kuzzle's dependencies at the next
|
|
60
|
-
// major.
|
|
61
|
-
const path = __importStar(require("node:path"));
|
|
62
58
|
const kerror = __importStar(require("../../kerror"));
|
|
59
|
+
const driverPackage_1 = require("./driverPackage");
|
|
63
60
|
const driverError = kerror.wrap("services", "storage_driver");
|
|
64
61
|
const PACKAGES = {
|
|
65
62
|
"7": "kuzzle-storage-es-7",
|
|
66
63
|
"8": "kuzzle-storage-es-8",
|
|
67
64
|
};
|
|
65
|
+
/**
|
|
66
|
+
* The package of the built-in driver of an Elasticsearch major version,
|
|
67
|
+
* `undefined` for an unknown one
|
|
68
|
+
*/
|
|
69
|
+
function builtInStorageDriverPackage(majorVersion) {
|
|
70
|
+
return Object.hasOwn(PACKAGES, majorVersion)
|
|
71
|
+
? PACKAGES[majorVersion]
|
|
72
|
+
: undefined;
|
|
73
|
+
}
|
|
68
74
|
/**
|
|
69
75
|
* The built-in driver of an Elasticsearch major version
|
|
70
76
|
*
|
|
77
|
+
* @throws {services.storage_driver.unsupported_major_version} if no built-in
|
|
78
|
+
* driver supports it: Kuzzle does not start
|
|
71
79
|
* @throws {services.storage_driver.not_found} if its package is not
|
|
72
80
|
* installed: Kuzzle does not start
|
|
73
81
|
*/
|
|
74
82
|
function builtInStorageDriver(majorVersion) {
|
|
75
|
-
const packageName =
|
|
76
|
-
if (
|
|
77
|
-
throw
|
|
83
|
+
const packageName = builtInStorageDriverPackage(majorVersion);
|
|
84
|
+
if (packageName === undefined) {
|
|
85
|
+
throw driverError.get("unsupported_major_version", String(majorVersion), Object.keys(PACKAGES).join(", "));
|
|
78
86
|
}
|
|
79
87
|
let entry;
|
|
80
88
|
try {
|
|
81
89
|
entry = require.resolve(packageName);
|
|
82
90
|
}
|
|
83
91
|
catch (error) {
|
|
84
|
-
throw driverError.get("not_found", packageName,
|
|
92
|
+
throw driverError.get("not_found", packageName, (0, driverPackage_1.notFoundDetail)(packageName, error));
|
|
85
93
|
}
|
|
86
|
-
provideRunningKuzzle(entry);
|
|
94
|
+
(0, driverPackage_1.provideRunningKuzzle)(entry);
|
|
87
95
|
// Loaded here, not at module load: the package requires `kuzzle`, which
|
|
88
96
|
// has to be loaded first.
|
|
89
97
|
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
90
98
|
return require(entry).default;
|
|
91
99
|
}
|
|
92
|
-
/**
|
|
93
|
-
* A driver package requires `kuzzle`, a peer dependency. In an application,
|
|
94
|
-
* that is the running Kuzzle. When Kuzzle is itself the application (its
|
|
95
|
-
* repository, its Docker image), npm installs another copy of `kuzzle` for
|
|
96
|
-
* that peer dependency, whose error classes the running Kuzzle does not
|
|
97
|
-
* recognize: the running Kuzzle is put in that copy's place.
|
|
98
|
-
*/
|
|
99
|
-
function provideRunningKuzzle(driverEntry) {
|
|
100
|
-
// `index.js` once built, `index.ts` when run from the sources
|
|
101
|
-
const entry = path.join(__dirname, "../../../index");
|
|
102
|
-
const running = require.cache[`${entry}.js`] ?? require.cache[`${entry}.ts`];
|
|
103
|
-
let peer;
|
|
104
|
-
try {
|
|
105
|
-
peer = require.resolve("kuzzle", {
|
|
106
|
-
paths: [path.dirname(driverEntry)],
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
catch {
|
|
110
|
-
return;
|
|
111
|
-
}
|
|
112
|
-
// Under vitest, Kuzzle is not in Node's module cache: nothing to provide
|
|
113
|
-
if (running && require.cache[peer] === undefined) {
|
|
114
|
-
require.cache[peer] = running;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
100
|
//# sourceMappingURL=builtInDrivers.js.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A driver package requires `kuzzle`, a peer dependency. In an application,
|
|
3
|
+
* that is the running Kuzzle. When Kuzzle is itself the application (its
|
|
4
|
+
* repository, its Docker image), npm installs another copy of `kuzzle` for
|
|
5
|
+
* that peer dependency, and a driver installed from a directory resolves
|
|
6
|
+
* the one of that directory: their error classes are not the ones the running
|
|
7
|
+
* Kuzzle checks against. The running Kuzzle is put in that copy's place,
|
|
8
|
+
* before the driver loads.
|
|
9
|
+
*
|
|
10
|
+
* Nothing to do when the driver resolves no `kuzzle` (it fails on its own
|
|
11
|
+
* then), or one already loaded: the running Kuzzle itself, in an application.
|
|
12
|
+
*
|
|
13
|
+
* @param driverEntry - The driver package's resolved entry point
|
|
14
|
+
*/
|
|
15
|
+
export declare function provideRunningKuzzle(driverEntry: string): void;
|
|
16
|
+
/**
|
|
17
|
+
* Why a driver package cannot be resolved, without Node's `Require stack`,
|
|
18
|
+
* and how to install it.
|
|
19
|
+
*/
|
|
20
|
+
export declare function notFoundDetail(name: string, error: unknown): string;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Kuzzle, a backend software, self-hostable and ready to use
|
|
4
|
+
* to power modern apps
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2015-2026 Kuzzle
|
|
7
|
+
* mailto: support AT kuzzle.io
|
|
8
|
+
* website: http://kuzzle.io
|
|
9
|
+
*
|
|
10
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
11
|
+
* you may not use this file except in compliance with the License.
|
|
12
|
+
* You may obtain a copy of the License at
|
|
13
|
+
*
|
|
14
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
15
|
+
*
|
|
16
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
17
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
+
* See the License for the specific language governing permissions and
|
|
20
|
+
* limitations under the License.
|
|
21
|
+
*/
|
|
22
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
25
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
26
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
27
|
+
}
|
|
28
|
+
Object.defineProperty(o, k2, desc);
|
|
29
|
+
}) : (function(o, m, k, k2) {
|
|
30
|
+
if (k2 === undefined) k2 = k;
|
|
31
|
+
o[k2] = m[k];
|
|
32
|
+
}));
|
|
33
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
34
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
35
|
+
}) : function(o, v) {
|
|
36
|
+
o["default"] = v;
|
|
37
|
+
});
|
|
38
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
39
|
+
var ownKeys = function(o) {
|
|
40
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
41
|
+
var ar = [];
|
|
42
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
43
|
+
return ar;
|
|
44
|
+
};
|
|
45
|
+
return ownKeys(o);
|
|
46
|
+
};
|
|
47
|
+
return function (mod) {
|
|
48
|
+
if (mod && mod.__esModule) return mod;
|
|
49
|
+
var result = {};
|
|
50
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
51
|
+
__setModuleDefault(result, mod);
|
|
52
|
+
return result;
|
|
53
|
+
};
|
|
54
|
+
})();
|
|
55
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
56
|
+
exports.provideRunningKuzzle = provideRunningKuzzle;
|
|
57
|
+
exports.notFoundDetail = notFoundDetail;
|
|
58
|
+
// What loading a storage driver package takes, built-in or external alike
|
|
59
|
+
// (ADR-0003 steps 03 and 06).
|
|
60
|
+
const path = __importStar(require("node:path"));
|
|
61
|
+
/**
|
|
62
|
+
* A driver package requires `kuzzle`, a peer dependency. In an application,
|
|
63
|
+
* that is the running Kuzzle. When Kuzzle is itself the application (its
|
|
64
|
+
* repository, its Docker image), npm installs another copy of `kuzzle` for
|
|
65
|
+
* that peer dependency, and a driver installed from a directory resolves
|
|
66
|
+
* the one of that directory: their error classes are not the ones the running
|
|
67
|
+
* Kuzzle checks against. The running Kuzzle is put in that copy's place,
|
|
68
|
+
* before the driver loads.
|
|
69
|
+
*
|
|
70
|
+
* Nothing to do when the driver resolves no `kuzzle` (it fails on its own
|
|
71
|
+
* then), or one already loaded: the running Kuzzle itself, in an application.
|
|
72
|
+
*
|
|
73
|
+
* @param driverEntry - The driver package's resolved entry point
|
|
74
|
+
*/
|
|
75
|
+
function provideRunningKuzzle(driverEntry) {
|
|
76
|
+
// `index.js` once built, `index.ts` when run from the sources
|
|
77
|
+
const entry = path.join(__dirname, "../../../index");
|
|
78
|
+
const running = require.cache[`${entry}.js`] ?? require.cache[`${entry}.ts`];
|
|
79
|
+
let peer;
|
|
80
|
+
try {
|
|
81
|
+
peer = require.resolve("kuzzle", {
|
|
82
|
+
paths: [path.dirname(driverEntry)],
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
catch {
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
// Under vitest, Kuzzle is not in Node's module cache: nothing to provide
|
|
89
|
+
if (running && require.cache[peer] === undefined) {
|
|
90
|
+
require.cache[peer] = running;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Why a driver package cannot be resolved, without Node's `Require stack`,
|
|
95
|
+
* and how to install it.
|
|
96
|
+
*/
|
|
97
|
+
function notFoundDetail(name, error) {
|
|
98
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
99
|
+
return `${message.split("\n")[0]}. Install it next to kuzzle: npm install ${name}`;
|
|
100
|
+
}
|
|
101
|
+
//# sourceMappingURL=driverPackage.js.map
|
|
@@ -31,9 +31,9 @@ const service_1 = __importDefault(require("../service"));
|
|
|
31
31
|
*/
|
|
32
32
|
class StorageService extends service_1.default {
|
|
33
33
|
constructor(Driver, config, scope) {
|
|
34
|
-
// The name the init timeout error reports,
|
|
35
|
-
//
|
|
36
|
-
super("
|
|
34
|
+
// The name the init timeout error reports: engine-neutral, as the driver
|
|
35
|
+
// may target Elasticsearch or OpenSearch (kuzzle#3143)
|
|
36
|
+
super("storageEngine", config);
|
|
37
37
|
this.driver = new Driver(config, scope);
|
|
38
38
|
}
|
|
39
39
|
_initSequence() {
|
|
@@ -379,4 +379,16 @@ export type StorageEngineElasticsearch = {
|
|
|
379
379
|
* Also see https://github.com/kuzzleio/kuzzle/pull/2117
|
|
380
380
|
*/
|
|
381
381
|
generateMissingAliases: boolean;
|
|
382
|
+
/**
|
|
383
|
+
* Minimum delay, in milliseconds, between two storage reads a node makes
|
|
384
|
+
* when a request names an index or a collection its cache does not hold.
|
|
385
|
+
*
|
|
386
|
+
* Such a read lets a node find what a peer has just created, before the
|
|
387
|
+
* cluster broadcast reaches it. Misses in a row wait for the next read
|
|
388
|
+
* instead of each costing one: a request on a missing index or collection
|
|
389
|
+
* may fail up to this delay later. 0 reads on every miss.
|
|
390
|
+
*
|
|
391
|
+
* @default 100
|
|
392
|
+
*/
|
|
393
|
+
cacheMissReadInterval?: number;
|
|
382
394
|
};
|
|
@@ -22,7 +22,7 @@ export type StorageDriverManifest = {
|
|
|
22
22
|
/**
|
|
23
23
|
* Semver range of the Kuzzle versions the driver is compatible with: the
|
|
24
24
|
* only versioning of this contract.
|
|
25
|
-
* @example ">=2.61.0 <3"
|
|
25
|
+
* @example ">=2.61.0-0 <3"
|
|
26
26
|
*/
|
|
27
27
|
kuzzleVersion: string;
|
|
28
28
|
/** The optional capability groups the driver implements */
|
|
@@ -86,11 +86,24 @@ export type StorageSearchOptions = {
|
|
|
86
86
|
scroll?: string;
|
|
87
87
|
};
|
|
88
88
|
export type StorageInfo = {
|
|
89
|
-
/** The engine, e.g. `"elasticsearch"` */
|
|
89
|
+
/** The engine family, e.g. `"elasticsearch"` or `"opensearch"` */
|
|
90
90
|
type: string;
|
|
91
91
|
version: string;
|
|
92
92
|
status?: string;
|
|
93
93
|
};
|
|
94
|
+
/**
|
|
95
|
+
* The storage engine Kuzzle runs on, as plugins and applications read it
|
|
96
|
+
* (`context.accessors.getStorageEngine()`, `app.storage.getEngine()`): what
|
|
97
|
+
* the raw storage client's API follows, unlike `majorVersion`.
|
|
98
|
+
*/
|
|
99
|
+
export type StorageEngineInfo = {
|
|
100
|
+
/** The driver's package name, e.g. `"kuzzle-storage-es-9"` */
|
|
101
|
+
driver: string;
|
|
102
|
+
/** The engine family, from the driver's `info()`, e.g. `"elasticsearch"` */
|
|
103
|
+
engine: string;
|
|
104
|
+
/** The engine server's version, e.g. `"9.0.8"` */
|
|
105
|
+
version: string;
|
|
106
|
+
};
|
|
94
107
|
export type StorageStats = {
|
|
95
108
|
indexes: {
|
|
96
109
|
name: string;
|
|
@@ -279,6 +292,15 @@ export interface StorageEngineHooks {
|
|
|
279
292
|
generateMissingAliases?(): Promise<unknown>;
|
|
280
293
|
/** Waits until a new collection can be written to */
|
|
281
294
|
waitForCollectionShards?(index: string, collection: string, timeout?: string): Promise<void>;
|
|
295
|
+
/**
|
|
296
|
+
* Releases the engine connections (e.g. a connection pool) on a graceful
|
|
297
|
+
* shutdown, once the requests in flight are done. Kuzzle calls it once per
|
|
298
|
+
* instance, possibly before `init()` resolved (a shutdown during the
|
|
299
|
+
* startup), never calls the instance again afterwards, and does not wait
|
|
300
|
+
* for it longer than a few seconds: a failure or a timeout is logged, and
|
|
301
|
+
* the shutdown goes on.
|
|
302
|
+
*/
|
|
303
|
+
close?(): Promise<void>;
|
|
282
304
|
}
|
|
283
305
|
/**
|
|
284
306
|
* A storage driver instance: the core, the capability groups it declared in
|
package/dist/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.61.0-beta.
|
|
4
|
+
"version": "2.61.0-beta.6",
|
|
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
|
"scripts": {
|
|
7
7
|
"build": "rm -Rf ./dist && tsc && node -r ts-node/register/transpile-only ./bin/copy-binaries.ts",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"denque": "2.1.0",
|
|
44
44
|
"didyoumean": "1.2.2",
|
|
45
45
|
"dumpme": "2.1.0",
|
|
46
|
-
"eventemitter3": "5.0.
|
|
46
|
+
"eventemitter3": "5.0.4",
|
|
47
47
|
"ioredis": "6.0.0",
|
|
48
48
|
"json-stable-stringify": "1.3.0",
|
|
49
49
|
"json2yaml": "1.1.0",
|
|
@@ -52,13 +52,13 @@
|
|
|
52
52
|
"kuzzle-logger": "1.7.0",
|
|
53
53
|
"kuzzle-plugin-auth-passport-local": "6.4.1",
|
|
54
54
|
"kuzzle-sdk": ">=7.17.1 <8.0.0",
|
|
55
|
-
"kuzzle-storage-es-7": "1.0.
|
|
56
|
-
"kuzzle-storage-es-8": "1.0.
|
|
55
|
+
"kuzzle-storage-es-7": "1.1.0-beta.2",
|
|
56
|
+
"kuzzle-storage-es-8": "1.1.0-beta.2",
|
|
57
57
|
"kuzzle-types": "^1.0.0",
|
|
58
58
|
"kuzzle-vault": "2.2.0",
|
|
59
|
-
"lodash": "4.
|
|
59
|
+
"lodash": "4.18.1",
|
|
60
60
|
"long": "5.3.2",
|
|
61
|
-
"moment": "2.
|
|
61
|
+
"moment": "2.31.0",
|
|
62
62
|
"ms": "2.1.3",
|
|
63
63
|
"murmurhash": "2.0.1",
|
|
64
64
|
"ndjson": "2.0.0",
|
|
@@ -66,20 +66,20 @@
|
|
|
66
66
|
"pino-caller": "4.0.0",
|
|
67
67
|
"pino-elasticsearch": "8.1.0",
|
|
68
68
|
"pino-loki": "3.0.0",
|
|
69
|
-
"pino-pretty": "13.
|
|
69
|
+
"pino-pretty": "13.2.0",
|
|
70
70
|
"pino-transport-ecs": "1.1.0",
|
|
71
71
|
"protobufjs": "8.8.1",
|
|
72
72
|
"rc": "1.2.8",
|
|
73
73
|
"redis-semaphore": "6.0.0",
|
|
74
74
|
"sdk-es7": "npm:@elastic/elasticsearch@7.13.0",
|
|
75
75
|
"sdk-es8": "npm:@elastic/elasticsearch@8.17.1",
|
|
76
|
-
"semver": "7.
|
|
76
|
+
"semver": "7.8.5",
|
|
77
77
|
"sorted-array": "2.0.4",
|
|
78
|
-
"uuid": "
|
|
78
|
+
"uuid": "14.0.3",
|
|
79
79
|
"uWebSockets.js": "https://github.com/uNetworking/uWebSockets.js/archive/refs/tags/v20.56.0.tar.gz",
|
|
80
|
-
"validator": "13.15.
|
|
81
|
-
"yargs": "18.
|
|
82
|
-
"zeromq": "6.
|
|
80
|
+
"validator": "13.15.35",
|
|
81
|
+
"yargs": "18.2.0",
|
|
82
|
+
"zeromq": "6.8.0"
|
|
83
83
|
},
|
|
84
84
|
"repository": {
|
|
85
85
|
"type": "git",
|
|
@@ -88,27 +88,27 @@
|
|
|
88
88
|
"devDependencies": {
|
|
89
89
|
"@cucumber/cucumber": "13.3.0",
|
|
90
90
|
"@types/async": "^3.2.24",
|
|
91
|
-
"@types/lodash": "4.17.
|
|
91
|
+
"@types/lodash": "4.17.27",
|
|
92
92
|
"@types/validator": "^13.15.10",
|
|
93
93
|
"@types/yargs": "17.0.35",
|
|
94
94
|
"@vitest/coverage-v8": "5.0.5",
|
|
95
95
|
"async": "3.2.6",
|
|
96
|
-
"eslint": "10.
|
|
96
|
+
"eslint": "10.14.0",
|
|
97
97
|
"eslint-plugin-kuzzle": "2.0.0",
|
|
98
98
|
"ioredis-mock": "8.13.1",
|
|
99
|
-
"mqtt": "5.
|
|
100
|
-
"prettier": "3.9.
|
|
99
|
+
"mqtt": "5.16.1",
|
|
100
|
+
"prettier": "3.9.10",
|
|
101
101
|
"protobufjs-v7": "npm:protobufjs@7.5.4",
|
|
102
102
|
"request-promise": "4.2.6",
|
|
103
|
-
"semantic-release-config-kuzzle": "1.
|
|
103
|
+
"semantic-release-config-kuzzle": "1.8.0",
|
|
104
104
|
"should": "13.2.3",
|
|
105
|
-
"strip-json-comments": "
|
|
105
|
+
"strip-json-comments": "5.0.3",
|
|
106
106
|
"ts-node": "10.9.2",
|
|
107
|
-
"tsx": "4.
|
|
107
|
+
"tsx": "4.23.15",
|
|
108
108
|
"typescript": "6.0.3",
|
|
109
109
|
"vitest": "5.0.5",
|
|
110
|
-
"ws": "^8.
|
|
111
|
-
"yaml": "2.
|
|
110
|
+
"ws": "^8.22.1",
|
|
111
|
+
"yaml": "2.9.1"
|
|
112
112
|
},
|
|
113
113
|
"overrides": {
|
|
114
114
|
"ioredis-mock": {
|
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.61.0-beta.
|
|
4
|
+
"version": "2.61.0-beta.6",
|
|
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
|
"scripts": {
|
|
7
7
|
"build": "rm -Rf ./dist && tsc && node -r ts-node/register/transpile-only ./bin/copy-binaries.ts",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"denque": "2.1.0",
|
|
44
44
|
"didyoumean": "1.2.2",
|
|
45
45
|
"dumpme": "2.1.0",
|
|
46
|
-
"eventemitter3": "5.0.
|
|
46
|
+
"eventemitter3": "5.0.4",
|
|
47
47
|
"ioredis": "6.0.0",
|
|
48
48
|
"json-stable-stringify": "1.3.0",
|
|
49
49
|
"json2yaml": "1.1.0",
|
|
@@ -52,13 +52,13 @@
|
|
|
52
52
|
"kuzzle-logger": "1.7.0",
|
|
53
53
|
"kuzzle-plugin-auth-passport-local": "6.4.1",
|
|
54
54
|
"kuzzle-sdk": ">=7.17.1 <8.0.0",
|
|
55
|
-
"kuzzle-storage-es-7": "1.0.
|
|
56
|
-
"kuzzle-storage-es-8": "1.0.
|
|
55
|
+
"kuzzle-storage-es-7": "1.1.0-beta.2",
|
|
56
|
+
"kuzzle-storage-es-8": "1.1.0-beta.2",
|
|
57
57
|
"kuzzle-types": "^1.0.0",
|
|
58
58
|
"kuzzle-vault": "2.2.0",
|
|
59
|
-
"lodash": "4.
|
|
59
|
+
"lodash": "4.18.1",
|
|
60
60
|
"long": "5.3.2",
|
|
61
|
-
"moment": "2.
|
|
61
|
+
"moment": "2.31.0",
|
|
62
62
|
"ms": "2.1.3",
|
|
63
63
|
"murmurhash": "2.0.1",
|
|
64
64
|
"ndjson": "2.0.0",
|
|
@@ -66,20 +66,20 @@
|
|
|
66
66
|
"pino-caller": "4.0.0",
|
|
67
67
|
"pino-elasticsearch": "8.1.0",
|
|
68
68
|
"pino-loki": "3.0.0",
|
|
69
|
-
"pino-pretty": "13.
|
|
69
|
+
"pino-pretty": "13.2.0",
|
|
70
70
|
"pino-transport-ecs": "1.1.0",
|
|
71
71
|
"protobufjs": "8.8.1",
|
|
72
72
|
"rc": "1.2.8",
|
|
73
73
|
"redis-semaphore": "6.0.0",
|
|
74
74
|
"sdk-es7": "npm:@elastic/elasticsearch@7.13.0",
|
|
75
75
|
"sdk-es8": "npm:@elastic/elasticsearch@8.17.1",
|
|
76
|
-
"semver": "7.
|
|
76
|
+
"semver": "7.8.5",
|
|
77
77
|
"sorted-array": "2.0.4",
|
|
78
|
-
"uuid": "
|
|
78
|
+
"uuid": "14.0.3",
|
|
79
79
|
"uWebSockets.js": "https://github.com/uNetworking/uWebSockets.js/archive/refs/tags/v20.56.0.tar.gz",
|
|
80
|
-
"validator": "13.15.
|
|
81
|
-
"yargs": "18.
|
|
82
|
-
"zeromq": "6.
|
|
80
|
+
"validator": "13.15.35",
|
|
81
|
+
"yargs": "18.2.0",
|
|
82
|
+
"zeromq": "6.8.0"
|
|
83
83
|
},
|
|
84
84
|
"repository": {
|
|
85
85
|
"type": "git",
|
|
@@ -88,27 +88,27 @@
|
|
|
88
88
|
"devDependencies": {
|
|
89
89
|
"@cucumber/cucumber": "13.3.0",
|
|
90
90
|
"@types/async": "^3.2.24",
|
|
91
|
-
"@types/lodash": "4.17.
|
|
91
|
+
"@types/lodash": "4.17.27",
|
|
92
92
|
"@types/validator": "^13.15.10",
|
|
93
93
|
"@types/yargs": "17.0.35",
|
|
94
94
|
"@vitest/coverage-v8": "5.0.5",
|
|
95
95
|
"async": "3.2.6",
|
|
96
|
-
"eslint": "10.
|
|
96
|
+
"eslint": "10.14.0",
|
|
97
97
|
"eslint-plugin-kuzzle": "2.0.0",
|
|
98
98
|
"ioredis-mock": "8.13.1",
|
|
99
|
-
"mqtt": "5.
|
|
100
|
-
"prettier": "3.9.
|
|
99
|
+
"mqtt": "5.16.1",
|
|
100
|
+
"prettier": "3.9.10",
|
|
101
101
|
"protobufjs-v7": "npm:protobufjs@7.5.4",
|
|
102
102
|
"request-promise": "4.2.6",
|
|
103
|
-
"semantic-release-config-kuzzle": "1.
|
|
103
|
+
"semantic-release-config-kuzzle": "1.8.0",
|
|
104
104
|
"should": "13.2.3",
|
|
105
|
-
"strip-json-comments": "
|
|
105
|
+
"strip-json-comments": "5.0.3",
|
|
106
106
|
"ts-node": "10.9.2",
|
|
107
|
-
"tsx": "4.
|
|
107
|
+
"tsx": "4.23.15",
|
|
108
108
|
"typescript": "6.0.3",
|
|
109
109
|
"vitest": "5.0.5",
|
|
110
|
-
"ws": "^8.
|
|
111
|
-
"yaml": "2.
|
|
110
|
+
"ws": "^8.22.1",
|
|
111
|
+
"yaml": "2.9.1"
|
|
112
112
|
},
|
|
113
113
|
"overrides": {
|
|
114
114
|
"ioredis-mock": {
|