diff --git a/ai-service/package.json b/ai-service/package.json index 4feaeed532..0c784d9513 100644 --- a/ai-service/package.json +++ b/ai-service/package.json @@ -11,7 +11,7 @@ "@nestjs/common": "^9.4.1", "@nestjs/core": "^9.4.1", "@types/express": "^4.17.18", - "@types/node": "^20.8.0", + "@types/node": "^22.9.0", "dotenv": "^16.3.1", "module-alias": "^2.2.2", "express": "^4.18.2", diff --git a/analytics-service/package.json b/analytics-service/package.json index f528053a8d..def2997242 100644 --- a/analytics-service/package.json +++ b/analytics-service/package.json @@ -52,7 +52,7 @@ "@types/gulp": "^4", "@types/gulp-rename": "^2", "@types/jszip": "^3.4.1", - "@types/node": "^18.16.0", + "@types/node": "^22.9.0", "@types/ws": "^8.2.2", "chai": "^4.3.4", "cross-env": "^7.0.3", diff --git a/api-gateway/package.json b/api-gateway/package.json index e7f3c5c924..31b2d2370d 100644 --- a/api-gateway/package.json +++ b/api-gateway/package.json @@ -46,7 +46,7 @@ "@types/gulp": "^4", "@types/gulp-rename": "^2", "@types/jszip": "^3.4.1", - "@types/node": "^18.16.0", + "@types/node": "^22.9.0", "@types/ws": "^8.2.2", "chai": "^4.3.4", "cross-env": "^7.0.3", diff --git a/auth-service/package.json b/auth-service/package.json index 33eab6f07e..b1290b54a3 100644 --- a/auth-service/package.json +++ b/auth-service/package.json @@ -45,7 +45,7 @@ "@types/gulp": "^4", "@types/gulp-rename": "^2", "@types/jsonwebtoken": "^8.5.4", - "@types/node": "^18.16.0", + "@types/node": "^22.9.0", "@types/node-vault": "^0", "chai": "^4.3.4", "cross-env": "^7.0.3", diff --git a/common/package.json b/common/package.json index d5da9115cb..58625bb233 100644 --- a/common/package.json +++ b/common/package.json @@ -60,7 +60,7 @@ "@types/gulp": "^4", "@types/gulp-rename": "^2", "@types/jszip": "^3.4.1", - "@types/node": "^18.16.0", + "@types/node": "^22.9.0", "mocha-junit-reporter": "^2.0.2", "tslint": "^6.1.3", "typescript": "^4.5.5", diff --git a/guardian-service/package.json b/guardian-service/package.json index 79cce74113..7f8c6d7556 100644 --- a/guardian-service/package.json +++ b/guardian-service/package.json @@ -65,7 +65,7 @@ "@types/gulp": "^4", "@types/gulp-rename": "^2", "@types/jszip": "^3.4.1", - "@types/node": "^18.16.0", + "@types/node": "^22.9.0", "chai": "4.3.4", "gulp": "^4.0.2", "gulp-copy": "^4.0.1", diff --git a/indexer-api-gateway/package.json b/indexer-api-gateway/package.json index a86eb173c0..4db45d14c9 100644 --- a/indexer-api-gateway/package.json +++ b/indexer-api-gateway/package.json @@ -54,7 +54,7 @@ "@types/gulp": "^4", "@types/gulp-rename": "^2", "@types/jszip": "^3.4.1", - "@types/node": "^18.16.0", + "@types/node": "^22.9.0", "@types/ws": "^8.2.2", "chai": "^4.3.4", "cross-env": "^7.0.3", diff --git a/indexer-common/package.json b/indexer-common/package.json index 4f792956e8..37c2ece9ae 100644 --- a/indexer-common/package.json +++ b/indexer-common/package.json @@ -20,7 +20,7 @@ "@types/gulp": "^4", "@types/gulp-rename": "^2", "@types/jszip": "^3.4.1", - "@types/node": "^18.16.0", + "@types/node": "^22.9.0", "mocha-junit-reporter": "^2.0.2", "tslint": "^6.1.3", "typescript": "^4.5.5" diff --git a/indexer-interfaces/package.json b/indexer-interfaces/package.json index 05766c720d..445072c91e 100644 --- a/indexer-interfaces/package.json +++ b/indexer-interfaces/package.json @@ -3,7 +3,7 @@ "dependencies": {}, "description": "Indexer interfaces", "devDependencies": { - "@types/node": "^18.16.0", + "@types/node": "^22.9.0", "tslint": "^6.1.3", "typescript": "^4.5.5" }, diff --git a/indexer-service/package.json b/indexer-service/package.json index be95a3c2d0..592ae44d4b 100644 --- a/indexer-service/package.json +++ b/indexer-service/package.json @@ -28,7 +28,7 @@ "devDependencies": { "@types/gulp": "^4", "@types/gulp-rename": "^2", - "@types/node": "^18.16.0", + "@types/node": "^22.9.0", "chai": "4.3.4", "gulp": "^4.0.2", "gulp-copy": "^4.0.1", diff --git a/indexer-worker-service/package.json b/indexer-worker-service/package.json index a0ce767af2..b25987d962 100644 --- a/indexer-worker-service/package.json +++ b/indexer-worker-service/package.json @@ -23,7 +23,7 @@ "devDependencies": { "@types/gulp": "^4", "@types/gulp-rename": "^2", - "@types/node": "^18.16.0", + "@types/node": "^22.9.0", "chai": "4.3.4", "gulp": "^4.0.2", "gulp-copy": "^4.0.1", diff --git a/interfaces/package.json b/interfaces/package.json index d45c380a40..7a31335155 100644 --- a/interfaces/package.json +++ b/interfaces/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@types/gulp": "^4", "@types/gulp-rename": "^2", - "@types/node": "^18.16.0", + "@types/node": "^22.9.0", "mocha-junit-reporter": "^2.0.2", "tslint": "^6.1.3", "typescript": "^4.5.5" diff --git a/logger-service/package.json b/logger-service/package.json index 478e46123b..e01ee242f7 100644 --- a/logger-service/package.json +++ b/logger-service/package.json @@ -31,7 +31,7 @@ "@types/fs-extra": "^9.0.12", "@types/gulp": "^4", "@types/gulp-rename": "^2", - "@types/node": "^18.16.0", + "@types/node": "^22.9.0", "chai": "4.3.6", "mocha": "^9.2.0", "mocha-junit-reporter": "^2.0.2", diff --git a/notification-service/package.json b/notification-service/package.json index 1f3be4b7c6..220de3e288 100644 --- a/notification-service/package.json +++ b/notification-service/package.json @@ -30,7 +30,7 @@ "@types/fs-extra": "^9.0.12", "@types/gulp": "^4", "@types/gulp-rename": "^2", - "@types/node": "^18.16.0", + "@types/node": "^22.9.0", "chai": "4.3.6", "mocha": "^9.2.0", "mocha-junit-reporter": "^2.0.2", diff --git a/policy-service/package.json b/policy-service/package.json index c253470e20..7e0fa371ca 100644 --- a/policy-service/package.json +++ b/policy-service/package.json @@ -63,7 +63,7 @@ "@types/fs-extra": "^9.0.12", "@types/gulp": "^4", "@types/gulp-rename": "^2", - "@types/node": "^18.16.0", + "@types/node": "^22.9.0", "chai": "4.3.4", "gulp": "^4.0.2", "gulp-copy": "^4.0.1", diff --git a/queue-service/package.json b/queue-service/package.json index f236959618..2fa8e9e284 100644 --- a/queue-service/package.json +++ b/queue-service/package.json @@ -32,7 +32,7 @@ "devDependencies": { "@types/gulp": "^4", "@types/gulp-rename": "^2", - "@types/node": "^18.16.0", + "@types/node": "^22.9.0", "chai": "4.3.4", "concurrently": "^8.2.2", "gulp": "^4.0.2", diff --git a/worker-service/package.json b/worker-service/package.json index e386a810ae..77b5e06dff 100644 --- a/worker-service/package.json +++ b/worker-service/package.json @@ -32,7 +32,7 @@ "devDependencies": { "@types/gulp": "^4", "@types/gulp-rename": "^2", - "@types/node": "^18.16.0", + "@types/node": "^22.9.0", "chai": "4.3.4", "concurrently": "^8.2.2", "gulp": "^4.0.2", diff --git a/yarn.lock b/yarn.lock index 8506c81013..53a9c0504c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1949,7 +1949,7 @@ zod "^3.22.3" zod-to-json-schema "^3.22.5" -"@langchain/core@0.2.21", "@langchain/core@>0.2.0 <0.3.0", "@langchain/core@>=0.2.21 <0.3.0", "@langchain/core@>=0.2.5 <0.3.0": +"@langchain/core@>0.2.0 <0.3.0", "@langchain/core@>=0.2.21 <0.3.0", "@langchain/core@>=0.2.5 <0.3.0": version "0.2.21" resolved "https://registry.yarnpkg.com/@langchain/core/-/core-0.2.21.tgz#3872c7d9e7c8033c7ebd8460c808b71bb1e89dcf" integrity sha512-NQaoiRG4lIAJKAlo1Ww/aLcC3azfXymHAmWPAJOFcugsOSXYlrj050hilZdLzHrpliS4vDMezHNSaCf+H0CInQ== @@ -1966,7 +1966,7 @@ zod "^3.22.4" zod-to-json-schema "^3.22.3" -"@langchain/openai@0.1.0", "@langchain/openai@>=0.1.0 <0.3.0", "@langchain/openai@>=0.1.0 <0.4.0", "@langchain/openai@>=0.2.0 <0.4.0": +"@langchain/openai@>=0.1.0 <0.3.0", "@langchain/openai@>=0.1.0 <0.4.0": version "0.1.0" resolved "https://registry.yarnpkg.com/@langchain/openai/-/openai-0.1.0.tgz#71513d7322eea148430ebb17d45a292e498819e4" integrity sha512-jm7U9oxXQ2N03q3+S9CzEAmMJaL2FqdAi4bOYdEBS0aAWAU29so35ZOs5i2uu4W29mK9oV9XS/4A5ggR1gOLEA== @@ -1977,6 +1977,16 @@ zod "^3.22.4" zod-to-json-schema "^3.22.3" +"@langchain/openai@>=0.2.0 <0.4.0": + version "0.3.12" + resolved "https://registry.yarnpkg.com/@langchain/openai/-/openai-0.3.12.tgz#b92c2934c824d9a564b332ff4785cb49628ae673" + integrity sha512-z8y0zdKovjY6bB0D3D+K99bPAN+wFRQcrWDfHfX7yVmYwq1O8GOIzQgCBth0vbhbzeuaJ4dz3+oqN/4Q2PCpHg== + dependencies: + js-tiktoken "^1.0.12" + openai "^4.71.0" + zod "^3.22.4" + zod-to-json-schema "^3.22.3" + "@langchain/textsplitters@>=0.0.0 <0.2.0": version "0.1.0" resolved "https://registry.yarnpkg.com/@langchain/textsplitters/-/textsplitters-0.1.0.tgz#f37620992192df09ecda3dfbd545b36a6bcbae46" @@ -4153,12 +4163,12 @@ dependencies: node-vault "*" -"@types/node@*", "@types/node@>=12.12.47", "@types/node@>=13.7.0", "@types/node@^20.8.0": - version "20.11.19" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.19.tgz#b466de054e9cb5b3831bee38938de64ac7f81195" - integrity sha512-7xMnVEcZFu0DikYjWOlRq7NTPETrm7teqUT2WkQjrTIkEgUyyGdWsj/Zg8bEJt5TNklzbPD1X3fqfsHw3SpapQ== +"@types/node@*", "@types/node@>=12.12.47", "@types/node@>=13.7.0", "@types/node@^22.9.0": + version "22.9.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.9.0.tgz#b7f16e5c3384788542c72dc3d561a7ceae2c0365" + integrity sha512-vuyHg81vvWA1Z1ELfvLko2c8f34gyA0zaic0+Rllc5lbCnbSyuvb2Oxpm6TAUAC/2xZN3QGqxBNggD1nNR2AfQ== dependencies: - undici-types "~5.26.4" + undici-types "~6.19.8" "@types/node@18.15.13": version "18.15.13" @@ -4170,7 +4180,7 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.63.tgz#1788fa8da838dbb5f9ea994b834278205db6ca2b" integrity sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ== -"@types/node@^18.0.0", "@types/node@^18.11.18", "@types/node@^18.16.0": +"@types/node@^18.0.0", "@types/node@^18.11.18": version "18.19.17" resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.17.tgz#a581a9fb4b2cfdbc61f008804f4436b2d5c40354" integrity sha512-SzyGKgwPzuWp2SHhlpXKzCX0pIOfcI4V2eF37nNBJOhwlegQ83omtVQ1XxZpDE06V/d6AQvfQdPfnw0tRC//Ng== @@ -11979,7 +11989,20 @@ openai@^4.41.1: formdata-node "^4.3.2" node-fetch "^2.6.7" -openapi-types@12.1.3, openapi-types@^12.1.3: +openai@^4.71.0: + version "4.71.1" + resolved "https://registry.yarnpkg.com/openai/-/openai-4.71.1.tgz#f26bf5db00d75703676d80bf0ae7cb7674e41eac" + integrity sha512-C6JNMaQ1eijM0lrjiRUL3MgThVP5RdwNAghpbJFdW0t11LzmyqON8Eh8MuUuEZ+CeD6bgYl2Fkn2BoptVxv9Ug== + dependencies: + "@types/node" "^18.11.18" + "@types/node-fetch" "^2.6.4" + abort-controller "^3.0.0" + agentkeepalive "^4.2.1" + form-data-encoder "1.7.2" + formdata-node "^4.3.2" + node-fetch "^2.6.7" + +openapi-types@^12.1.3: version "12.1.3" resolved "https://registry.yarnpkg.com/openapi-types/-/openapi-types-12.1.3.tgz#471995eb26c4b97b7bd356aacf7b91b73e777dd3" integrity sha512-N4YtSYJqghVu4iek2ZUvcN/0aqH1kRDuNqzcycDxhOUpg7GdvLa2F3DgS6yBNhInhv2r/6I0Flkn7CqL8+nIcw== @@ -14193,7 +14216,7 @@ string-argv@~0.3.1: resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.2.tgz#2b6d0ef24b656274d957d54e0a4bbf6153dc02b6" integrity sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q== -"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0": version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -14211,6 +14234,15 @@ string-width@^1.0.1, string-width@^1.0.2: is-fullwidth-code-point "^1.0.0" strip-ansi "^3.0.0" +"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + string-width@^5.0.1, string-width@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" @@ -14266,7 +14298,7 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -14280,6 +14312,13 @@ strip-ansi@^3.0.0, strip-ansi@^3.0.1: dependencies: ansi-regex "^2.0.0" +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^7.0.1: version "7.1.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" @@ -15030,6 +15069,11 @@ undici-types@~5.26.4: resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== +undici-types@~6.19.8: + version "6.19.8" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02" + integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw== + undici@^5.12.0: version "5.28.3" resolved "https://registry.yarnpkg.com/undici/-/undici-5.28.3.tgz#a731e0eff2c3fcfd41c1169a869062be222d1e5b" @@ -15476,7 +15520,7 @@ workerpool@6.2.0: resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.2.0.tgz#827d93c9ba23ee2019c3ffaff5c27fccea289e8b" integrity sha512-Rsk5qQHJ9eowMH28Jwhe8HEbmdYDX4lwoMWshiCXugjtHqMD9ZbiqSDLxcsfdqsETPzVUtX5s1Z5kStiIM6l4A== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -15493,6 +15537,15 @@ wrap-ansi@^2.0.0: string-width "^1.0.1" strip-ansi "^3.0.1" +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"