kuzzle 2.27.4 → 2.29.0-beta.1

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.
@@ -0,0 +1,37 @@
1
+ import { ByteSize, ClusterNodesStats } from "@elastic/elasticsearch/api/types";
2
+ export type InfoResult = {
3
+ type: string;
4
+ version: string;
5
+ status?: string;
6
+ lucene?: string;
7
+ spaceUsed?: ByteSize;
8
+ nodes?: ClusterNodesStats;
9
+ };
10
+ export type KRequestBody<T> = T & {
11
+ _kuzzle_info?: {
12
+ author: string;
13
+ createdAt: number;
14
+ updatedAt: number | null;
15
+ updater: string | null;
16
+ };
17
+ };
18
+ export interface JSONObject {
19
+ [key: string]: any;
20
+ }
21
+ export type KImportError = {
22
+ _id: string;
23
+ status: string;
24
+ _source?: JSONObject;
25
+ error?: {
26
+ reason: string;
27
+ type: string;
28
+ };
29
+ };
30
+ export type KRequestParams = {
31
+ refresh?: boolean | "wait_for";
32
+ timeout?: string;
33
+ userId?: string;
34
+ injectKuzzleMeta?: boolean;
35
+ limits?: boolean;
36
+ source?: boolean;
37
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Elasticsearch.js.map
@@ -25,7 +25,7 @@ export declare function flattenObject(target: JSONObject): JSONObject;
25
25
  * @param mapping
26
26
  * @returns
27
27
  */
28
- export declare function extractMappingFields(mapping: JSONObject): any;
28
+ export declare function extractMappingFields(mapping: JSONObject): {};
29
29
  /**
30
30
  * An iteration-order-safe version of lodash.values
31
31
  *
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.27.4",
4
+ "version": "2.29.0-beta.1",
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": "bin/start-kuzzle-server",
7
7
  "scripts": {
@@ -35,18 +35,18 @@
35
35
  "aedes": "0.46.3",
36
36
  "bluebird": "3.7.2",
37
37
  "cli-color": "2.0.3",
38
- "cookie": "0.5.0",
38
+ "cookie": "0.6.0",
39
39
  "debug": "4.3.4",
40
40
  "denque": "2.1.0",
41
41
  "didyoumean": "1.2.2",
42
42
  "dumpme": "1.0.3",
43
- "eventemitter3": "4.0.7",
43
+ "eventemitter3": "5.0.1",
44
44
  "inquirer": "9.2.12",
45
45
  "ioredis": "5.3.2",
46
46
  "js-yaml": "4.1.0",
47
- "json-stable-stringify": "1.0.2",
47
+ "json-stable-stringify": "1.1.0",
48
48
  "json2yaml": "1.1.0",
49
- "jsonwebtoken": "8.5.1",
49
+ "jsonwebtoken": "9.0.2",
50
50
  "koncorde": "4.3.0",
51
51
  "kuzzle-plugin-auth-passport-local": "6.4.0",
52
52
  "kuzzle-plugin-logger": "3.0.3",
@@ -59,8 +59,7 @@
59
59
  "murmurhash-native": "3.5.0",
60
60
  "ndjson": "2.0.0",
61
61
  "node-segfault-handler": "1.4.2",
62
- "npm": "^10.2.4",
63
- "passport": "0.6.0",
62
+ "passport": "0.7.0",
64
63
  "protobufjs": "7.2.5",
65
64
  "rc": "1.2.8",
66
65
  "semver": "7.5.4",
@@ -80,32 +79,41 @@
80
79
  "url": "git://github.com/kuzzleio/kuzzle.git"
81
80
  },
82
81
  "devDependencies": {
83
- "@jest/globals": "29.4.1",
84
- "@types/jest": "29.4.0",
85
- "@types/js-yaml": "4.0.5",
86
- "@types/lodash": "4.14.191",
87
- "async": "3.2.4",
82
+ "@commitlint/cli": "^17.6.7",
83
+ "@commitlint/config-conventional": "^17.6.7",
84
+ "@jest/globals": "29.7.0",
85
+ "@semantic-release/changelog": "^6.0.3",
86
+ "@semantic-release/commit-analyzer": "^10.0.1",
87
+ "@semantic-release/git": "^10.0.1",
88
+ "@semantic-release/release-notes-generator": "^11.0.4",
89
+ "@types/jest": "29.5.10",
90
+ "@types/js-yaml": "4.0.9",
91
+ "@types/lodash": "4.14.202",
92
+ "async": "3.2.5",
88
93
  "chokidar": "3.5.3",
89
94
  "codecov": "3.8.3",
90
95
  "cucumber": "6.0.5",
96
+ "cz-conventional-changelog": "^3.3.0",
91
97
  "ergol": "1.0.2",
92
98
  "eslint-plugin-kuzzle": "0.0.12",
93
99
  "jest": "29.7.0",
94
100
  "mocha": "10.2.0",
95
101
  "mock-require": "3.0.3",
96
- "mqtt": "4.3.7",
102
+ "mqtt": "5.3.0",
97
103
  "nyc": "15.1.0",
98
104
  "request": "2.88.2",
99
105
  "request-promise": "4.2.6",
100
106
  "rewire": "5.0.0",
107
+ "semantic-release-config-kuzzle": "^1.0.0",
108
+ "semantic-release-slack-bot": "^4.0.2",
101
109
  "should": "13.2.3",
102
110
  "should-sinon": "0.0.6",
103
111
  "sinon": "14.0.2",
104
112
  "strip-json-comments": "https://github.com/sindresorhus/strip-json-comments/archive/refs/tags/v3.1.1.tar.gz",
105
113
  "ts-jest": "29.1.1",
106
114
  "ts-node": "10.9.1",
107
- "typescript": "4.9.5",
108
- "yaml": "2.2.1"
115
+ "typescript": "5.3.2",
116
+ "yaml": "2.3.4"
109
117
  },
110
118
  "engines": {
111
119
  "node": ">= 12.13.0"