kuzzle 2.16.5 → 2.16.9

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.
Files changed (52) hide show
  1. package/README.md +11 -0
  2. package/lib/api/controllers/adminController.js +4 -3
  3. package/lib/api/controllers/authController.js +2 -2
  4. package/lib/api/controllers/collectionController.js +2 -8
  5. package/lib/api/request/kuzzleRequest.d.ts +11 -11
  6. package/lib/api/request/kuzzleRequest.js +34 -48
  7. package/lib/cluster/workers/IDCardRenewer.js +11 -2
  8. package/lib/config/default.config.d.ts +13 -0
  9. package/lib/config/default.config.js +363 -362
  10. package/lib/config/index.js +7 -5
  11. package/lib/core/backend/backendConfig.d.ts +3 -3
  12. package/lib/core/backend/backendConfig.js +2 -2
  13. package/lib/core/plugin/pluginContext.d.ts +10 -1
  14. package/lib/core/plugin/pluginContext.js +2 -0
  15. package/lib/core/security/securityLoader.js +1 -1
  16. package/lib/core/shared/repository.js +1 -1
  17. package/lib/model/security/profile.js +10 -10
  18. package/lib/model/security/role.js +3 -3
  19. package/lib/service/cache/redis.js +33 -0
  20. package/lib/service/storage/elasticsearch.js +6 -0
  21. package/lib/types/PasswordPolicy.d.ts +77 -0
  22. package/lib/types/PasswordPolicy.js +3 -0
  23. package/lib/types/ProfileDefinition.d.ts +48 -0
  24. package/lib/types/ProfileDefinition.js +3 -0
  25. package/lib/types/RoleDefinition.d.ts +27 -0
  26. package/lib/types/RoleDefinition.js +3 -0
  27. package/lib/types/config/DumpConfiguration.d.ts +42 -0
  28. package/lib/types/config/DumpConfiguration.js +3 -0
  29. package/lib/types/config/HttpConfiguration.d.ts +43 -0
  30. package/lib/types/config/HttpConfiguration.js +9 -0
  31. package/lib/types/config/KuzzleConfiguration.d.ts +123 -0
  32. package/lib/types/config/KuzzleConfiguration.js +3 -0
  33. package/lib/types/config/LimitsConfiguration.d.ts +111 -0
  34. package/lib/types/config/LimitsConfiguration.js +3 -0
  35. package/lib/types/config/PluginsConfiguration.d.ts +177 -0
  36. package/lib/types/config/PluginsConfiguration.js +3 -0
  37. package/lib/types/config/SecurityConfiguration.d.ts +182 -0
  38. package/lib/types/config/SecurityConfiguration.js +3 -0
  39. package/lib/types/config/ServerConfiguration.d.ts +195 -0
  40. package/lib/types/config/ServerConfiguration.js +3 -0
  41. package/lib/types/config/ServicesConfiguration.d.ts +41 -0
  42. package/lib/types/config/ServicesConfiguration.js +3 -0
  43. package/lib/types/config/StorageService/StorageServiceElasticsearchConfiguration.d.ts +217 -0
  44. package/lib/types/config/StorageService/StorageServiceElasticsearchConfiguration.js +3 -0
  45. package/lib/types/config/internalCache/InternalCacheRedisConfiguration.d.ts +111 -0
  46. package/lib/types/config/internalCache/InternalCacheRedisConfiguration.js +3 -0
  47. package/lib/types/config/publicCache/PublicCacheRedisConfiguration.d.ts +31 -0
  48. package/lib/types/config/publicCache/PublicCacheRedisConfiguration.js +3 -0
  49. package/lib/types/index.d.ts +17 -0
  50. package/lib/types/index.js +17 -0
  51. package/package-lock.json +368 -360
  52. package/package.json +20 -19
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.16.5",
4
+ "version": "2.16.9",
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"
@@ -33,7 +33,8 @@
33
33
  "test:lint:ts:fix": "eslint --max-warnings=0 --fix ./lib --ext .ts --config .eslintc-ts.json",
34
34
  "test:lint:js": "eslint --max-warnings=0 ./lib ./test ./features-legacy ./bin ./features ./doc/build-error-codes.js ./plugins/available/functional-test-plugin",
35
35
  "test:lint:js:fix": "eslint --max-warnings=0 --fix ./lib ./test ./features-legacy ./bin ./features ./doc/build-error-codes.js",
36
- "doc-error-codes": "node -r ts-node/register doc/build-error-codes"
36
+ "doc-error-codes": "node -r ts-node/register doc/build-error-codes",
37
+ "docker:install": "docker-compose run kuzzle_node_1 npm install"
37
38
  },
38
39
  "directories": {
39
40
  "lib": "lib"
@@ -51,25 +52,25 @@
51
52
  "dumpme": "^1.0.3",
52
53
  "eventemitter3": "^4.0.7",
53
54
  "inquirer": "^8.2.0",
54
- "ioredis": "^4.28.2",
55
+ "ioredis": "^4.28.3",
55
56
  "js-yaml": "^4.1.0",
56
57
  "json-stable-stringify": "^1.0.1",
57
58
  "json2yaml": "^1.1.0",
58
59
  "jsonwebtoken": "^8.5.1",
59
60
  "koncorde": "^4.0.2",
60
- "kuzzle-plugin-auth-passport-local": "^6.3.4",
61
+ "kuzzle-plugin-auth-passport-local": "^6.3.6",
61
62
  "kuzzle-plugin-logger": "^3.0.3",
62
- "kuzzle-sdk": "7.7.6",
63
+ "kuzzle-sdk": "7.8.2",
63
64
  "kuzzle-vault": "^2.0.4",
64
65
  "lodash": "4.17.21",
65
66
  "long": "^5.2.0",
66
67
  "moment": "^2.29.1",
67
68
  "ms": "^2.1.3",
68
69
  "murmurhash-native": "^3.5.0",
69
- "nanoid": "^3.1.30",
70
+ "nanoid": "^3.2.0",
70
71
  "node-segfault-handler": "^1.0.4",
71
72
  "openapi-enforcer": "^1.16.1",
72
- "passport": "^0.5.0",
73
+ "passport": "^0.5.2",
73
74
  "protobufjs": "~6.11.2",
74
75
  "rc": "1.2.8",
75
76
  "semver": "^7.3.5",
@@ -77,11 +78,11 @@
77
78
  "uWebSockets.js": "https://github.com/uNetworking/uWebSockets.js/archive/refs/tags/v20.0.0.tar.gz",
78
79
  "uuid": "^8.3.2",
79
80
  "validator": "^13.7.0",
80
- "winston": "^3.3.3",
81
- "winston-elasticsearch": "0.16.0",
81
+ "winston": "^3.4.0",
82
+ "winston-elasticsearch": "0.16.1",
82
83
  "winston-syslog": "^2.4.4",
83
- "winston-transport": "^4.4.0",
84
- "yargs": "^17.3.0",
84
+ "winston-transport": "^4.4.2",
85
+ "yargs": "^17.3.1",
85
86
  "zeromq": "^6.0.0-beta.6"
86
87
  },
87
88
  "repository": {
@@ -90,17 +91,17 @@
90
91
  },
91
92
  "devDependencies": {
92
93
  "@types/lodash": "^4.14.178",
93
- "@typescript-eslint/eslint-plugin": "^5.6.0",
94
- "@typescript-eslint/parser": "^5.6.0",
95
- "async": "^3.2.2",
96
- "chokidar": "^3.5.2",
94
+ "@typescript-eslint/eslint-plugin": "^5.10.0",
95
+ "@typescript-eslint/parser": "^5.10.0",
96
+ "async": "^3.2.3",
97
+ "chokidar": "^3.5.3",
97
98
  "codecov": "^3.8.3",
98
99
  "cucumber": "^6.0.5",
99
100
  "ergol": "^1.0.1",
100
- "eslint": "^8.4.1",
101
- "mocha": "^9.1.3",
101
+ "eslint": "^8.7.0",
102
+ "mocha": "^9.2.0",
102
103
  "mock-require": "^3.0.3",
103
- "mqtt": "^4.2.8",
104
+ "mqtt": "^4.3.4",
104
105
  "nyc": "^15.1.0",
105
106
  "request": "^2.88.2",
106
107
  "request-promise": "^4.2.6",
@@ -110,7 +111,7 @@
110
111
  "sinon": "^12.0.1",
111
112
  "strip-json-comments": "https://github.com/sindresorhus/strip-json-comments/archive/refs/tags/v3.1.1.tar.gz",
112
113
  "ts-node": "^10.4.0",
113
- "typescript": "^4.5.3",
114
+ "typescript": "^4.5.5",
114
115
  "yaml": "^1.10.2"
115
116
  },
116
117
  "engines": {