diff --git a/package.json b/package.json index adb8dde..184d0c7 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "license": "ISC", "dependencies": { "@apollo/datasource-rest": "^6.2.2", - "@apollo/server": "^4.9.5", + "@apollo/server": "^4.10.0", "@apollo/server-plugin-response-cache": "^4.1.3", "body-parser": "^1.20.2", "cors": "^2.8.5", @@ -25,15 +25,15 @@ "express": "^4.18.2" }, "devDependencies": { - "@commitlint/cli": "^18.4.3", - "@commitlint/config-conventional": "^18.4.3", - "@stylistic/eslint-plugin": "^1.5.1", + "@commitlint/cli": "^18.4.4", + "@commitlint/config-conventional": "^18.4.4", + "@stylistic/eslint-plugin": "^1.5.3", "@trivago/prettier-plugin-sort-imports": "^4.3.0", "@types/cors": "^2.8.17", "@types/express": "^4.17.21", - "@types/node": "^20.10.5", - "@typescript-eslint/eslint-plugin": "^6.16.0", - "@typescript-eslint/parser": "^6.16.0", + "@types/node": "^20.10.6", + "@typescript-eslint/eslint-plugin": "^6.17.0", + "@typescript-eslint/parser": "^6.17.0", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-import-resolver-typescript": "^3.6.1", diff --git a/src/graphql/routes/radix-api.ts b/src/graphql/routes/radix-api.ts index 273ea33..9239d60 100644 --- a/src/graphql/routes/radix-api.ts +++ b/src/graphql/routes/radix-api.ts @@ -92,24 +92,11 @@ export class RadixAPI extends RESTDataSource { } async getRadixTVL() { - const [radixResponse, coinPrice] = await Promise.all([ - this.gateway.getValidator(), - this.gecko.getCoinPrice("radix"), - ]); - - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const validator = radixResponse.validators.items.find((i: any) => - (i.address as string).includes(radixValidatorAddress), - ); - - if (!validator) { - return { - status: "error", - }; - } + // @hardcoded + const tokens = 57_164_450.3; + const coinPrice = await this.gecko.getCoinPrice("radix"); - const lockedUnit = Number(validator.locked_owner_stake_unit_vault.balance); - const TVL = lockedUnit * Number(coinPrice); + const TVL = tokens * Number(coinPrice); if (Number.isNaN(TVL)) { return { diff --git a/yarn.lock b/yarn.lock index 7d0ea04..143cb10 100644 --- a/yarn.lock +++ b/yarn.lock @@ -90,9 +90,9 @@ __metadata: languageName: node linkType: hard -"@apollo/server@npm:^4.9.5": - version: 4.9.5 - resolution: "@apollo/server@npm:4.9.5" +"@apollo/server@npm:^4.10.0": + version: 4.10.0 + resolution: "@apollo/server@npm:4.10.0" dependencies: "@apollo/cache-control-types": "npm:^1.0.3" "@apollo/server-gateway-interface": "npm:^1.1.1" @@ -110,7 +110,6 @@ __metadata: "@types/express-serve-static-core": "npm:^4.17.30" "@types/node-fetch": "npm:^2.6.1" async-retry: "npm:^1.2.1" - body-parser: "npm:^1.20.0" cors: "npm:^2.8.5" express: "npm:^4.17.1" loglevel: "npm:^1.6.8" @@ -122,7 +121,7 @@ __metadata: whatwg-mimetype: "npm:^3.0.0" peerDependencies: graphql: ^16.6.0 - checksum: 7a1f8494af88046ef6f86410a3f88ffe6e3a0e31fd4d88c40b8f9a1d77bbb8c5a2440e2559b39fb4ae2a74f1dc2959f31537d13a790083cd7fef6a462e5d8d27 + checksum: e9462bb5713bab2b0a7e3b5f35de8e89718536282e8546a3e4f4a2f7e2d5ba1ac75425bb16d3dc6c81d808b388c67acb8e4836790c373c03666f5c299f606d4e languageName: node linkType: hard @@ -429,15 +428,15 @@ __metadata: languageName: node linkType: hard -"@commitlint/cli@npm:^18.4.3": - version: 18.4.3 - resolution: "@commitlint/cli@npm:18.4.3" +"@commitlint/cli@npm:^18.4.4": + version: 18.4.4 + resolution: "@commitlint/cli@npm:18.4.4" dependencies: - "@commitlint/format": "npm:^18.4.3" - "@commitlint/lint": "npm:^18.4.3" - "@commitlint/load": "npm:^18.4.3" - "@commitlint/read": "npm:^18.4.3" - "@commitlint/types": "npm:^18.4.3" + "@commitlint/format": "npm:^18.4.4" + "@commitlint/lint": "npm:^18.4.4" + "@commitlint/load": "npm:^18.4.4" + "@commitlint/read": "npm:^18.4.4" + "@commitlint/types": "npm:^18.4.4" execa: "npm:^5.0.0" lodash.isfunction: "npm:^3.0.9" resolve-from: "npm:5.0.0" @@ -445,91 +444,90 @@ __metadata: yargs: "npm:^17.0.0" bin: commitlint: cli.js - checksum: c412eada9d27444c73703c7e8365c3be3ea9b0e7ac76b670c1b7afbec3d65f420a2c68c75255112c7a4fb2575cb61ead9c809dd67862b4f8c0bc76f68aa79022 + checksum: 2bbd5120852596f5eb7006993e225abb78aee5216d1737a4bca8ffee68273a6b8a1cf5a86a620677c6c554bba1bdb9af35c00c51078c012b9e6a012fbbce874f languageName: node linkType: hard -"@commitlint/config-conventional@npm:^18.4.3": - version: 18.4.3 - resolution: "@commitlint/config-conventional@npm:18.4.3" +"@commitlint/config-conventional@npm:^18.4.4": + version: 18.4.4 + resolution: "@commitlint/config-conventional@npm:18.4.4" dependencies: conventional-changelog-conventionalcommits: "npm:^7.0.2" - checksum: 13977d8c9cbac31c172ead77c36da5fd88c980438a9811e2b5447f994442200daf8d2d37c5ffef9f5b6afef100513a2ac1e3ec94ba667d7a62fce117e57a16b1 + checksum: d8eaf10632799e092eccf3bd7c0d294bf9ad5fd1e4a9d7932043a03623c5495db31083410279199b2f480436bebe34a311f5710e842800ff600b1e2cfdd3808e languageName: node linkType: hard -"@commitlint/config-validator@npm:^18.4.3": - version: 18.4.3 - resolution: "@commitlint/config-validator@npm:18.4.3" +"@commitlint/config-validator@npm:^18.4.4": + version: 18.4.4 + resolution: "@commitlint/config-validator@npm:18.4.4" dependencies: - "@commitlint/types": "npm:^18.4.3" + "@commitlint/types": "npm:^18.4.4" ajv: "npm:^8.11.0" - checksum: 8e6f3130a2e9c17c08276fc81b16e70320af27718bfdfc954e5a591538a23f9510bbbf61f60499d5e09488f112df9400730f065c7309006a9e9da7bd1d371385 + checksum: 00599bb176db32e873f1848d6889ddf28b1ac287f679a153a2daa076d34b529342feed527fa96a5fee75eccef0dbb2bf1e391d265bddbd5168c1afb233fd93b0 languageName: node linkType: hard -"@commitlint/ensure@npm:^18.4.3": - version: 18.4.3 - resolution: "@commitlint/ensure@npm:18.4.3" +"@commitlint/ensure@npm:^18.4.4": + version: 18.4.4 + resolution: "@commitlint/ensure@npm:18.4.4" dependencies: - "@commitlint/types": "npm:^18.4.3" + "@commitlint/types": "npm:^18.4.4" lodash.camelcase: "npm:^4.3.0" lodash.kebabcase: "npm:^4.1.1" lodash.snakecase: "npm:^4.1.1" lodash.startcase: "npm:^4.4.0" lodash.upperfirst: "npm:^4.3.1" - checksum: 6aa2dfffcd89d02f9e2bbec068ce88830406d9fe6f022c06c1c301f8bd6eb683a5cd3294707e1bdc56251e413e9ab79d359ad766be9a3cc896c6830d3ffc4dff + checksum: 59eeddd0ffe99c75566684d8d55ffaf1eca0c2488d0fa8a7195984e1ec9510aa59ca469e318ee6200dae229f946efb9427a1072d196a1994646f10d3ffb70ec6 languageName: node linkType: hard -"@commitlint/execute-rule@npm:^18.4.3": - version: 18.4.3 - resolution: "@commitlint/execute-rule@npm:18.4.3" - checksum: 6a0514733c3fab7279b4831df58f518b98c589d05eace2d9b5f1f64d05f9f1493af51f3b6004df4f90e794b98798ee07cf4c5fbe9e97f37d5437a50cd56bf52f +"@commitlint/execute-rule@npm:^18.4.4": + version: 18.4.4 + resolution: "@commitlint/execute-rule@npm:18.4.4" + checksum: 1f4fde42649616c403361c4f52802f23cd2995c51f5ae44f02c75897d6f62fbd5b499488033181a67058368da4eaafe91c1aaa7b9b95dbff60233310d4078df4 languageName: node linkType: hard -"@commitlint/format@npm:^18.4.3": - version: 18.4.3 - resolution: "@commitlint/format@npm:18.4.3" +"@commitlint/format@npm:^18.4.4": + version: 18.4.4 + resolution: "@commitlint/format@npm:18.4.4" dependencies: - "@commitlint/types": "npm:^18.4.3" + "@commitlint/types": "npm:^18.4.4" chalk: "npm:^4.1.0" - checksum: c2ed05e17f2038af79b39ec0d5bd74d42c2ddd9da4eee22ca372414625084b34f69b24e9372c00a3eb061364a258e1a6eb43f9def38ef6e7995606459d900f15 + checksum: f853be5b9e7899fe66593332d888a5b5f3d54f7d635d7ab0a57ae49b5b40f3c789c4746b2257cbf53f1f7de6944f2c15f9f6cb414e80b9224958e1c2fb044498 languageName: node linkType: hard -"@commitlint/is-ignored@npm:^18.4.3": - version: 18.4.3 - resolution: "@commitlint/is-ignored@npm:18.4.3" +"@commitlint/is-ignored@npm:^18.4.4": + version: 18.4.4 + resolution: "@commitlint/is-ignored@npm:18.4.4" dependencies: - "@commitlint/types": "npm:^18.4.3" + "@commitlint/types": "npm:^18.4.4" semver: "npm:7.5.4" - checksum: 9b2456e0b31656eb1c2828d6a4c0ec12815bfb88e734bc673315a08a6ef5b19e96ecd0cc925d88b797bafe4c09a3aca7d5841c02f8e5de4cc88473bbfba1a275 + checksum: d272fbff78798475db52adb8f9fb33bd409c869e99af8b60418b36376143a4076a720cf34f3389b4e0bbd7fd42cae6bf7b390b276abfe395f31411688221c28a languageName: node linkType: hard -"@commitlint/lint@npm:^18.4.3": - version: 18.4.3 - resolution: "@commitlint/lint@npm:18.4.3" +"@commitlint/lint@npm:^18.4.4": + version: 18.4.4 + resolution: "@commitlint/lint@npm:18.4.4" dependencies: - "@commitlint/is-ignored": "npm:^18.4.3" - "@commitlint/parse": "npm:^18.4.3" - "@commitlint/rules": "npm:^18.4.3" - "@commitlint/types": "npm:^18.4.3" - checksum: c5b7c8296db1973784d8642148bbdb7f75f9edc6700eafb4c1b1be57706ce79188e95da834742d4559430000ba640b80a0b90a92aa3555c4948155f2358ceaa0 + "@commitlint/is-ignored": "npm:^18.4.4" + "@commitlint/parse": "npm:^18.4.4" + "@commitlint/rules": "npm:^18.4.4" + "@commitlint/types": "npm:^18.4.4" + checksum: 19ad7638f34b5888b7c7634a05acf7fb289128bd885af3588ab1a1f1f97f97f284874804ed926ca427c93d7407163f14124d5a260f22735d7c6b1f79aea4a7ec languageName: node linkType: hard -"@commitlint/load@npm:^18.4.3": - version: 18.4.3 - resolution: "@commitlint/load@npm:18.4.3" +"@commitlint/load@npm:^18.4.4": + version: 18.4.4 + resolution: "@commitlint/load@npm:18.4.4" dependencies: - "@commitlint/config-validator": "npm:^18.4.3" - "@commitlint/execute-rule": "npm:^18.4.3" - "@commitlint/resolve-extends": "npm:^18.4.3" - "@commitlint/types": "npm:^18.4.3" - "@types/node": "npm:^18.11.9" + "@commitlint/config-validator": "npm:^18.4.4" + "@commitlint/execute-rule": "npm:^18.4.4" + "@commitlint/resolve-extends": "npm:^18.4.4" + "@commitlint/types": "npm:^18.4.4" chalk: "npm:^4.1.0" cosmiconfig: "npm:^8.3.6" cosmiconfig-typescript-loader: "npm:^5.0.0" @@ -537,90 +535,89 @@ __metadata: lodash.merge: "npm:^4.6.2" lodash.uniq: "npm:^4.5.0" resolve-from: "npm:^5.0.0" - checksum: e40a8cb162603b9e01f4216c643314364cfbe7a68eab8ff30bb90eaf67ac9dacafc51f6f608ff8e45639877d8ce2441fd1744b85d551d00e55cefa0797bebefb + checksum: 46202e2882efd35d759e30bbc1e4ad784d61d2ab2e1522be7e59c54743cfb94303fcbbef1eeb42d556dd76b559d1e35d5c0aa220875a71ece5b5cf994df18bf8 languageName: node linkType: hard -"@commitlint/message@npm:^18.4.3": - version: 18.4.3 - resolution: "@commitlint/message@npm:18.4.3" - checksum: 24b373d5c99230351a31294e974ee338cbac45094c66a6ba9ce00357783f7ebb250fc169fcdd815c8d510951757119fbd1329e7ab9e3097d3e732768d3d93787 +"@commitlint/message@npm:^18.4.4": + version: 18.4.4 + resolution: "@commitlint/message@npm:18.4.4" + checksum: f9799bc95eb6757cbd87c5053c8d601c05a862ec2470c4f7f3bafaf0eff9fe1ab623329fc58dc4e9b2a7372838b6a324f8c88f43734af02ec72f760c023efc04 languageName: node linkType: hard -"@commitlint/parse@npm:^18.4.3": - version: 18.4.3 - resolution: "@commitlint/parse@npm:18.4.3" +"@commitlint/parse@npm:^18.4.4": + version: 18.4.4 + resolution: "@commitlint/parse@npm:18.4.4" dependencies: - "@commitlint/types": "npm:^18.4.3" + "@commitlint/types": "npm:^18.4.4" conventional-changelog-angular: "npm:^7.0.0" conventional-commits-parser: "npm:^5.0.0" - checksum: ce25e90a9f0920ce8bd1bf9a56ca250394b60d5c63d5fb9e41e047c64f8278ecfffc121a872662dead80dbcc4c3afaf3b80f93e89e8f8ca1d5f05ff0f145813c + checksum: 540d24f8fa8cbfcca2b1e126edc08e39573820fbf9e65c51b3aff2c9452b1405963649211fc8fdab1d26dad5fb6bc350ed8762d6bbe7ebcfc1262bf0c4d6c996 languageName: node linkType: hard -"@commitlint/read@npm:^18.4.3": - version: 18.4.3 - resolution: "@commitlint/read@npm:18.4.3" +"@commitlint/read@npm:^18.4.4": + version: 18.4.4 + resolution: "@commitlint/read@npm:18.4.4" dependencies: - "@commitlint/top-level": "npm:^18.4.3" - "@commitlint/types": "npm:^18.4.3" - fs-extra: "npm:^11.0.0" + "@commitlint/top-level": "npm:^18.4.4" + "@commitlint/types": "npm:^18.4.4" git-raw-commits: "npm:^2.0.11" minimist: "npm:^1.2.6" - checksum: 35621e5aeb5234c01e98bf30bdf7c6b5e710d7fcfe4e75a6708e64157160344c3ea1ebc4dc82b49b590909daa0a8258e489e3f8c70c56a96a0b884d7d724f01a + checksum: 4efa8fbfe97647dd36bba5f37a901cb0fba5d2d3ebfd97b4dbd3357af5ca59c51f4d28c5d96df48b74943b6d6a38feaf470fa7088b4d483f1bf62b0eaf74a8cf languageName: node linkType: hard -"@commitlint/resolve-extends@npm:^18.4.3": - version: 18.4.3 - resolution: "@commitlint/resolve-extends@npm:18.4.3" +"@commitlint/resolve-extends@npm:^18.4.4": + version: 18.4.4 + resolution: "@commitlint/resolve-extends@npm:18.4.4" dependencies: - "@commitlint/config-validator": "npm:^18.4.3" - "@commitlint/types": "npm:^18.4.3" + "@commitlint/config-validator": "npm:^18.4.4" + "@commitlint/types": "npm:^18.4.4" import-fresh: "npm:^3.0.0" lodash.mergewith: "npm:^4.6.2" resolve-from: "npm:^5.0.0" resolve-global: "npm:^1.0.0" - checksum: cf90d48e5111a43778036a2bd80f16f96a32acac222bdee14a6c66a9fab0406626fe2ac2a89cc1862f17568b49b9e8ed1acea2b193e83c92d5e7a8369e41b988 + checksum: 0b6cc0a0fe195c693286022129d7ef2cec65ab5e8c004f3681dc43bd7fa21a9fdf3b81a1818d74b94c71932e34f6203008dd8745e8b5b2acb5713aec21b93652 languageName: node linkType: hard -"@commitlint/rules@npm:^18.4.3": - version: 18.4.3 - resolution: "@commitlint/rules@npm:18.4.3" +"@commitlint/rules@npm:^18.4.4": + version: 18.4.4 + resolution: "@commitlint/rules@npm:18.4.4" dependencies: - "@commitlint/ensure": "npm:^18.4.3" - "@commitlint/message": "npm:^18.4.3" - "@commitlint/to-lines": "npm:^18.4.3" - "@commitlint/types": "npm:^18.4.3" + "@commitlint/ensure": "npm:^18.4.4" + "@commitlint/message": "npm:^18.4.4" + "@commitlint/to-lines": "npm:^18.4.4" + "@commitlint/types": "npm:^18.4.4" execa: "npm:^5.0.0" - checksum: 7d24dd1c024be232d9acd2f61bbbd5302f87acb3ad9fceebeedd80bf8e00821194a636faaefe1a1cd3f14330eb5f18a9bca58981ce9b348e2fb8723a4a72cd5c + checksum: de43d5001881f92ca38c4eb907e7f7349056768fd1aaeaeff5978611743ce2370940ff7e1c0c541fe98dc92e97c928d45a098e50900adda0c3c69a890a6bbbf8 languageName: node linkType: hard -"@commitlint/to-lines@npm:^18.4.3": - version: 18.4.3 - resolution: "@commitlint/to-lines@npm:18.4.3" - checksum: a163a647ebcdc9fb8a84f3406f92fde78b90cc73146c367367806d52022c6b6219b78f5b0afea0faab357f95b9e311822bc9309a0148fd31f30bdb77bfcfd84a +"@commitlint/to-lines@npm:^18.4.4": + version: 18.4.4 + resolution: "@commitlint/to-lines@npm:18.4.4" + checksum: 0ba45f160235527995dc6891ef5f72b1c55d78244ca60f7b8cc51a4de33c963ec54be4458a6b06214deba58fb7596d989d3e95aa68404a7f200af9df936d8032 languageName: node linkType: hard -"@commitlint/top-level@npm:^18.4.3": - version: 18.4.3 - resolution: "@commitlint/top-level@npm:18.4.3" +"@commitlint/top-level@npm:^18.4.4": + version: 18.4.4 + resolution: "@commitlint/top-level@npm:18.4.4" dependencies: find-up: "npm:^5.0.0" - checksum: 69a75878a18ba812e12be899c3b032c1067d093261e7c622f18a3110bc83483d75fa9c2a589086590a9896d389b407cc58d324803821c314bf952912f57b0095 + checksum: c95bf9c91627789bb2b3fd941a767214b3dee9f7273d0926fb81f1b33c5ee2721bee69d1f75aebc1e17fe83a4f59aff922ca1f9cc34907d19bf28b1dbb5bbfde languageName: node linkType: hard -"@commitlint/types@npm:^18.4.3": - version: 18.4.3 - resolution: "@commitlint/types@npm:18.4.3" +"@commitlint/types@npm:^18.4.4": + version: 18.4.4 + resolution: "@commitlint/types@npm:18.4.4" dependencies: chalk: "npm:^4.1.0" - checksum: 07cbc4b5eb813052401d9e332c0dadca7864cd22eddd06edb6afd1da212243d505c4429ce100012c4086ea99d0f4a4086382fc88e3e662c6577e69d638c3903e + checksum: 706307d76761107a11c2ed95800f9fc66b66a125ab2142021dca6fb1fe316a5a417fd4b8647f2b76405c549a243bdb4c2c050cea05806f328670e70b536b4f67 languageName: node linkType: hard @@ -956,66 +953,66 @@ __metadata: languageName: node linkType: hard -"@stylistic/eslint-plugin-js@npm:1.5.1, @stylistic/eslint-plugin-js@npm:^1.5.1": - version: 1.5.1 - resolution: "@stylistic/eslint-plugin-js@npm:1.5.1" +"@stylistic/eslint-plugin-js@npm:1.5.3, @stylistic/eslint-plugin-js@npm:^1.5.3": + version: 1.5.3 + resolution: "@stylistic/eslint-plugin-js@npm:1.5.3" dependencies: - acorn: "npm:^8.11.2" + acorn: "npm:^8.11.3" escape-string-regexp: "npm:^4.0.0" eslint-visitor-keys: "npm:^3.4.3" espree: "npm:^9.6.1" peerDependencies: eslint: ">=8.40.0" - checksum: 35ec09633bf8df232cb6516b96ede29c7653220119b6b8fc1b84b104325355a7e2f498b8358facf6126c2bbf25bbf08a6486aeeb67527742afd47eb2d8cae36c + checksum: fb9e509ad2c20b3c3482b126b875eb162693e49e98f894622d49737d6137515e850777c1fdd194f2a632971fe3cada0c1092d5e4e5ef0c55d276490d9d9d224e languageName: node linkType: hard -"@stylistic/eslint-plugin-jsx@npm:1.5.1": - version: 1.5.1 - resolution: "@stylistic/eslint-plugin-jsx@npm:1.5.1" +"@stylistic/eslint-plugin-jsx@npm:1.5.3": + version: 1.5.3 + resolution: "@stylistic/eslint-plugin-jsx@npm:1.5.3" dependencies: - "@stylistic/eslint-plugin-js": "npm:^1.5.1" + "@stylistic/eslint-plugin-js": "npm:^1.5.3" estraverse: "npm:^5.3.0" peerDependencies: eslint: ">=8.40.0" - checksum: 09b0a1fa2d47eb1e846fc066461461a1ba70b8005eeed1e462ec18885a919829ee7852b259a10afe24b2efba037b52deb2da6d63a56d31d43d0496b43af5b6ca + checksum: c1c06bfe57a4195d773750739d8b652f40b09c17b7125e08f6080a3edc509fe770a4693c9f4c2e55c5b4e7a61d143fba1bc2d4bc85a36a6d9ab49f3e551e0a28 languageName: node linkType: hard -"@stylistic/eslint-plugin-plus@npm:1.5.1": - version: 1.5.1 - resolution: "@stylistic/eslint-plugin-plus@npm:1.5.1" +"@stylistic/eslint-plugin-plus@npm:1.5.3": + version: 1.5.3 + resolution: "@stylistic/eslint-plugin-plus@npm:1.5.3" dependencies: - "@typescript-eslint/utils": "npm:^6.13.2" + "@typescript-eslint/utils": "npm:^6.17.0" peerDependencies: eslint: "*" - checksum: e374c10b039fca8c17f89831d5467f3e6ff825080f4688033791d232c0577fbe4712a2541ba7f7e2c09c48403d82705901fe04b85b149842488a943a4538d6f4 + checksum: b50666d0c2005a027c040405d9643216770c39efd915e5d8ec08eb9f178cfbb56b1386365f4f0f6870ffa138342d30a1e9d43448122eac9329992a51d653ef21 languageName: node linkType: hard -"@stylistic/eslint-plugin-ts@npm:1.5.1": - version: 1.5.1 - resolution: "@stylistic/eslint-plugin-ts@npm:1.5.1" +"@stylistic/eslint-plugin-ts@npm:1.5.3": + version: 1.5.3 + resolution: "@stylistic/eslint-plugin-ts@npm:1.5.3" dependencies: - "@stylistic/eslint-plugin-js": "npm:1.5.1" - "@typescript-eslint/utils": "npm:^6.13.2" + "@stylistic/eslint-plugin-js": "npm:1.5.3" + "@typescript-eslint/utils": "npm:^6.17.0" peerDependencies: eslint: ">=8.40.0" - checksum: 178da4aad1992ee8807c13a01b7bb8e4649a899522ac8d829a4cd911ffc85007fe37605f90758297830540f553716552b8a31acef2a93cd736d65a4fafedcb35 + checksum: 1d663e34218408345f0f79da74e062255a8e88957bc9fef5fe0cd1363216dcc826b537ad0880b4dc4a534708dd7c8be2a78197965634b6b718ae1b74e483cbbd languageName: node linkType: hard -"@stylistic/eslint-plugin@npm:^1.5.1": - version: 1.5.1 - resolution: "@stylistic/eslint-plugin@npm:1.5.1" +"@stylistic/eslint-plugin@npm:^1.5.3": + version: 1.5.3 + resolution: "@stylistic/eslint-plugin@npm:1.5.3" dependencies: - "@stylistic/eslint-plugin-js": "npm:1.5.1" - "@stylistic/eslint-plugin-jsx": "npm:1.5.1" - "@stylistic/eslint-plugin-plus": "npm:1.5.1" - "@stylistic/eslint-plugin-ts": "npm:1.5.1" + "@stylistic/eslint-plugin-js": "npm:1.5.3" + "@stylistic/eslint-plugin-jsx": "npm:1.5.3" + "@stylistic/eslint-plugin-plus": "npm:1.5.3" + "@stylistic/eslint-plugin-ts": "npm:1.5.3" peerDependencies: eslint: ">=8.40.0" - checksum: fc9ac56c517a07a2b88cc4f0a07e8cdf4ac18bdb4de057280a23e35e7ed045be08144d32983711ee20d99a76efc5678712efc7c94aa9e2ec314f742d0cf314aa + checksum: 3178f3051eb718d10792cf281bf102d0e964973ba29580ba50e52c62ecdb6da9ad2466e92158065da29fadd5d6040ed1e5b99fd230e5e2978b79ecd54d7a629d languageName: node linkType: hard @@ -1194,21 +1191,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^18.11.9": - version: 18.19.4 - resolution: "@types/node@npm:18.19.4" +"@types/node@npm:^20.10.6": + version: 20.10.6 + resolution: "@types/node@npm:20.10.6" dependencies: undici-types: "npm:~5.26.4" - checksum: e395bf591e79bd91c0819e7bee39c56e881399da2ca37fba5a59194ff28941fb8ed663c3fb4fba89465842720d916110dee9b774a3e4aecbe08b9e1ada4ab4fe - languageName: node - linkType: hard - -"@types/node@npm:^20.10.5": - version: 20.10.5 - resolution: "@types/node@npm:20.10.5" - dependencies: - undici-types: "npm:~5.26.4" - checksum: be30609aae0bfe492097815f166ccc07f465220cb604647fa4e5ec05a1d16c012a41b82b5f11ecfe2485cbb479d4d20384b95b809ca0bcff6d94d5bbafa645bb + checksum: 6692ccfa8552ef60c4069fda3c8de726c23e8d403cdf788e3c7efa769987e80fbda5f02723dd857f9de7df24a5fa40b3ed4580ec3c5cbac04eba44cf7b2ab1dc languageName: node linkType: hard @@ -1261,15 +1249,15 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^6.16.0": - version: 6.16.0 - resolution: "@typescript-eslint/eslint-plugin@npm:6.16.0" +"@typescript-eslint/eslint-plugin@npm:^6.17.0": + version: 6.17.0 + resolution: "@typescript-eslint/eslint-plugin@npm:6.17.0" dependencies: "@eslint-community/regexpp": "npm:^4.5.1" - "@typescript-eslint/scope-manager": "npm:6.16.0" - "@typescript-eslint/type-utils": "npm:6.16.0" - "@typescript-eslint/utils": "npm:6.16.0" - "@typescript-eslint/visitor-keys": "npm:6.16.0" + "@typescript-eslint/scope-manager": "npm:6.17.0" + "@typescript-eslint/type-utils": "npm:6.17.0" + "@typescript-eslint/utils": "npm:6.17.0" + "@typescript-eslint/visitor-keys": "npm:6.17.0" debug: "npm:^4.3.4" graphemer: "npm:^1.4.0" ignore: "npm:^5.2.4" @@ -1282,35 +1270,25 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: c8a68e0953d8b94f6b85d3a82090e61e670bcb0945cbee4d741321c56db727429ad47c48b8403ad1dab3b0842689bd2d4b85c99b76c51ac4f5be7f5f61c4c314 + checksum: 44a3c914b72607b12925d07c04be97d325f8795f5d7de8501054a4405accc35b35eaa2aa93983c602d13e842503d49bdbf1f5af5c0a69d700351c005681dcd52 languageName: node linkType: hard -"@typescript-eslint/parser@npm:^6.16.0": - version: 6.16.0 - resolution: "@typescript-eslint/parser@npm:6.16.0" +"@typescript-eslint/parser@npm:^6.17.0": + version: 6.17.0 + resolution: "@typescript-eslint/parser@npm:6.17.0" dependencies: - "@typescript-eslint/scope-manager": "npm:6.16.0" - "@typescript-eslint/types": "npm:6.16.0" - "@typescript-eslint/typescript-estree": "npm:6.16.0" - "@typescript-eslint/visitor-keys": "npm:6.16.0" + "@typescript-eslint/scope-manager": "npm:6.17.0" + "@typescript-eslint/types": "npm:6.17.0" + "@typescript-eslint/typescript-estree": "npm:6.17.0" + "@typescript-eslint/visitor-keys": "npm:6.17.0" debug: "npm:^4.3.4" peerDependencies: eslint: ^7.0.0 || ^8.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 9d573d14df4ec661dccaca785223a8a330d64f50a9279ff9170b1da22198ff91b9afa3ee7d3d7127c0cbc148c86831e76b33fc5b47d630799e98940ef666bfe0 - languageName: node - linkType: hard - -"@typescript-eslint/scope-manager@npm:6.14.0": - version: 6.14.0 - resolution: "@typescript-eslint/scope-manager@npm:6.14.0" - dependencies: - "@typescript-eslint/types": "npm:6.14.0" - "@typescript-eslint/visitor-keys": "npm:6.14.0" - checksum: 8c59a215af3d7d24d8d0b21c28a858263de471650829f288a941e0eb8af8a054798da5c7594b7f39370219718270c18464b5edb96f451457e5f080a33ba57c2c + checksum: 66b53159688083eb48259de5b4daf076f3de284ac3b4d2618bda3f7ab2d8ee27b01ae851b08e8487047e33ff3668424f17d677d66413164cb231f1519dcff82f languageName: node linkType: hard @@ -1324,12 +1302,22 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:6.16.0": - version: 6.16.0 - resolution: "@typescript-eslint/type-utils@npm:6.16.0" +"@typescript-eslint/scope-manager@npm:6.17.0": + version: 6.17.0 + resolution: "@typescript-eslint/scope-manager@npm:6.17.0" dependencies: - "@typescript-eslint/typescript-estree": "npm:6.16.0" - "@typescript-eslint/utils": "npm:6.16.0" + "@typescript-eslint/types": "npm:6.17.0" + "@typescript-eslint/visitor-keys": "npm:6.17.0" + checksum: b7ac7d9c39515c2a1b3844577fab967bf126ec25ccf28076240748b3f42d60ab3e64131bfffee61f66251bdf2d59e50e39f5cb0bee7987c85c49140c75d26b5f + languageName: node + linkType: hard + +"@typescript-eslint/type-utils@npm:6.17.0": + version: 6.17.0 + resolution: "@typescript-eslint/type-utils@npm:6.17.0" + dependencies: + "@typescript-eslint/typescript-estree": "npm:6.17.0" + "@typescript-eslint/utils": "npm:6.17.0" debug: "npm:^4.3.4" ts-api-utils: "npm:^1.0.1" peerDependencies: @@ -1337,14 +1325,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: a5339cc1375d12411fcb242249143b28401fb18890bb2a1cff5275ba946affb4a2066cd8203e83ac383bd9d791a79ea6ee1cbf7a30deed5c832ed002897bbf82 - languageName: node - linkType: hard - -"@typescript-eslint/types@npm:6.14.0": - version: 6.14.0 - resolution: "@typescript-eslint/types@npm:6.14.0" - checksum: d59306a7a441982a4dcee7d775928fd5086aba9331f7a238f915723a0dc785df0e43af562a30a7c2f1b056a1e49fd64863a8d2450d31706193add0ade87334a4 + checksum: 15bc9ba2d7f12c3825eced4e5c2283616496e4bca57914c98e895af23d920f94e47e2081fb4fd59da13d274809e08667ae43a76a2f1494a7043c75f980f21114 languageName: node linkType: hard @@ -1355,30 +1336,38 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:6.14.0": - version: 6.14.0 - resolution: "@typescript-eslint/typescript-estree@npm:6.14.0" +"@typescript-eslint/types@npm:6.17.0": + version: 6.17.0 + resolution: "@typescript-eslint/types@npm:6.17.0" + checksum: c458d985b9ab4f369018536bcb88f0aedafb0c8c4b22ffd376e0c0c768a44e3956475c85ebeef40ae44238841c8df268893477b85873aa2621995c37e738e37e + languageName: node + linkType: hard + +"@typescript-eslint/typescript-estree@npm:6.16.0": + version: 6.16.0 + resolution: "@typescript-eslint/typescript-estree@npm:6.16.0" dependencies: - "@typescript-eslint/types": "npm:6.14.0" - "@typescript-eslint/visitor-keys": "npm:6.14.0" + "@typescript-eslint/types": "npm:6.16.0" + "@typescript-eslint/visitor-keys": "npm:6.16.0" debug: "npm:^4.3.4" globby: "npm:^11.1.0" is-glob: "npm:^4.0.3" + minimatch: "npm:9.0.3" semver: "npm:^7.5.4" ts-api-utils: "npm:^1.0.1" peerDependenciesMeta: typescript: optional: true - checksum: 767c3309987b8ad053a2403605a9bd7c4eb3283dece864a741a7531a1c28eea4d85acaa4613141b64e194f9f6c4cbc5bc762c9b9f3a67c6202aa8cbb18b180d2 + checksum: c7109e90b40b3c8f1042beb7f1a7a97eeba3b6a903acd82df4947900d68bd31d04b530a190c099666c5ca4886efc162de7b42de754a44b189e41237210797d9e languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:6.16.0": - version: 6.16.0 - resolution: "@typescript-eslint/typescript-estree@npm:6.16.0" +"@typescript-eslint/typescript-estree@npm:6.17.0": + version: 6.17.0 + resolution: "@typescript-eslint/typescript-estree@npm:6.17.0" dependencies: - "@typescript-eslint/types": "npm:6.16.0" - "@typescript-eslint/visitor-keys": "npm:6.16.0" + "@typescript-eslint/types": "npm:6.17.0" + "@typescript-eslint/visitor-keys": "npm:6.17.0" debug: "npm:^4.3.4" globby: "npm:^11.1.0" is-glob: "npm:^4.0.3" @@ -1388,51 +1377,41 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: c7109e90b40b3c8f1042beb7f1a7a97eeba3b6a903acd82df4947900d68bd31d04b530a190c099666c5ca4886efc162de7b42de754a44b189e41237210797d9e + checksum: 5a858288bb05f45a2a45b04394115826ff19f85555144bfb67dc281d4e75fc3a1e1aceb3dee68022e86b91f199d1310c15bda3100a4890004b8e474d86afad51 languageName: node linkType: hard -"@typescript-eslint/utils@npm:6.16.0, @typescript-eslint/utils@npm:^6.13.0": - version: 6.16.0 - resolution: "@typescript-eslint/utils@npm:6.16.0" +"@typescript-eslint/utils@npm:6.17.0, @typescript-eslint/utils@npm:^6.17.0": + version: 6.17.0 + resolution: "@typescript-eslint/utils@npm:6.17.0" dependencies: "@eslint-community/eslint-utils": "npm:^4.4.0" "@types/json-schema": "npm:^7.0.12" "@types/semver": "npm:^7.5.0" - "@typescript-eslint/scope-manager": "npm:6.16.0" - "@typescript-eslint/types": "npm:6.16.0" - "@typescript-eslint/typescript-estree": "npm:6.16.0" + "@typescript-eslint/scope-manager": "npm:6.17.0" + "@typescript-eslint/types": "npm:6.17.0" + "@typescript-eslint/typescript-estree": "npm:6.17.0" semver: "npm:^7.5.4" peerDependencies: eslint: ^7.0.0 || ^8.0.0 - checksum: 586c4c0e1ca249daf9958f0d88df3af010a7592a19db1a7dc198754542b584314896536fe56ea9c93dd0ddd531154e7697002643d46e24a8d3a459721a626e91 + checksum: a85907c5fbe0a54944fff25df05bf5b8bbe524bb1907fb54c7c68135cf764aa45344e679965c17e235b328ad32e74b1357057c43035203ce874915c4687daa93 languageName: node linkType: hard -"@typescript-eslint/utils@npm:^6.13.2": - version: 6.14.0 - resolution: "@typescript-eslint/utils@npm:6.14.0" +"@typescript-eslint/utils@npm:^6.13.0": + version: 6.16.0 + resolution: "@typescript-eslint/utils@npm:6.16.0" dependencies: "@eslint-community/eslint-utils": "npm:^4.4.0" "@types/json-schema": "npm:^7.0.12" "@types/semver": "npm:^7.5.0" - "@typescript-eslint/scope-manager": "npm:6.14.0" - "@typescript-eslint/types": "npm:6.14.0" - "@typescript-eslint/typescript-estree": "npm:6.14.0" + "@typescript-eslint/scope-manager": "npm:6.16.0" + "@typescript-eslint/types": "npm:6.16.0" + "@typescript-eslint/typescript-estree": "npm:6.16.0" semver: "npm:^7.5.4" peerDependencies: eslint: ^7.0.0 || ^8.0.0 - checksum: 72689b2897b89e1bd1c71c1c2ae436d0ccfbcfffabf3be4378de74ad8138b2ecdbeeda7c1720e2f1754569e773f2fc7216f704335e1e56c38c7601ee1d190aeb - languageName: node - linkType: hard - -"@typescript-eslint/visitor-keys@npm:6.14.0": - version: 6.14.0 - resolution: "@typescript-eslint/visitor-keys@npm:6.14.0" - dependencies: - "@typescript-eslint/types": "npm:6.14.0" - eslint-visitor-keys: "npm:^3.4.1" - checksum: 0e2363f9f1986ebdb41507c54a666fa1c336eb6beb383dc342a10844d3c42c89067b21c3f158851fa6f0825e1e451a5470b5454fde70a6fc33b4b0259462d954 + checksum: 586c4c0e1ca249daf9958f0d88df3af010a7592a19db1a7dc198754542b584314896536fe56ea9c93dd0ddd531154e7697002643d46e24a8d3a459721a626e91 languageName: node linkType: hard @@ -1446,6 +1425,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/visitor-keys@npm:6.17.0": + version: 6.17.0 + resolution: "@typescript-eslint/visitor-keys@npm:6.17.0" + dependencies: + "@typescript-eslint/types": "npm:6.17.0" + eslint-visitor-keys: "npm:^3.4.1" + checksum: 75a48f5810c6a69bc1c082b07d2b840c40895807b1b4ecf9d3ab9eb783176eeb3e7b11eb89d652e8331da79d604f82300f315ffc21cd937819197a8601b48d1d + languageName: node + linkType: hard + "@ungap/structured-clone@npm:^1.2.0": version: 1.2.0 resolution: "@ungap/structured-clone@npm:1.2.0" @@ -1505,7 +1494,16 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.11.2, acorn@npm:^8.4.1, acorn@npm:^8.9.0": +"acorn@npm:^8.11.3": + version: 8.11.3 + resolution: "acorn@npm:8.11.3" + bin: + acorn: bin/acorn + checksum: 3ff155f8812e4a746fee8ecff1f227d527c4c45655bb1fad6347c3cb58e46190598217551b1500f18542d2bbe5c87120cb6927f5a074a59166fbdd9468f0a299 + languageName: node + linkType: hard + +"acorn@npm:^8.4.1, acorn@npm:^8.9.0": version: 8.11.2 resolution: "acorn@npm:8.11.2" bin: @@ -1780,7 +1778,7 @@ __metadata: languageName: node linkType: hard -"body-parser@npm:^1.20.0, body-parser@npm:^1.20.2": +"body-parser@npm:^1.20.2": version: 1.20.2 resolution: "body-parser@npm:1.20.2" dependencies: @@ -2939,17 +2937,6 @@ __metadata: languageName: node linkType: hard -"fs-extra@npm:^11.0.0": - version: 11.2.0 - resolution: "fs-extra@npm:11.2.0" - dependencies: - graceful-fs: "npm:^4.2.0" - jsonfile: "npm:^6.0.1" - universalify: "npm:^2.0.0" - checksum: d77a9a9efe60532d2e790e938c81a02c1b24904ef7a3efb3990b835514465ba720e99a6ea56fd5e2db53b4695319b644d76d5a0e9988a2beef80aa7b1da63398 - languageName: node - linkType: hard - "fs-minipass@npm:^2.0.0": version: 2.1.0 resolution: "fs-minipass@npm:2.1.0" @@ -3184,7 +3171,7 @@ __metadata: languageName: node linkType: hard -"graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6": +"graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6": version: 4.2.11 resolution: "graceful-fs@npm:4.2.11" checksum: 386d011a553e02bc594ac2ca0bd6d9e4c22d7fa8cfbfc448a6d148c59ea881b092db9dbe3547ae4b88e55f1b01f7c4a2ecc53b310c042793e63aa44cf6c257f2 @@ -3790,19 +3777,6 @@ __metadata: languageName: node linkType: hard -"jsonfile@npm:^6.0.1": - version: 6.1.0 - resolution: "jsonfile@npm:6.1.0" - dependencies: - graceful-fs: "npm:^4.1.6" - universalify: "npm:^2.0.0" - dependenciesMeta: - graceful-fs: - optional: true - checksum: 4f95b5e8a5622b1e9e8f33c96b7ef3158122f595998114d1e7f03985649ea99cb3cd99ce1ed1831ae94c8c8543ab45ebd044207612f31a56fd08462140e46865 - languageName: node - linkType: hard - "jsonparse@npm:^1.2.0": version: 1.3.1 resolution: "jsonparse@npm:1.3.1" @@ -5744,13 +5718,6 @@ __metadata: languageName: node linkType: hard -"universalify@npm:^2.0.0": - version: 2.0.1 - resolution: "universalify@npm:2.0.1" - checksum: 73e8ee3809041ca8b818efb141801a1004e3fc0002727f1531f4de613ea281b494a40909596dae4a042a4fb6cd385af5d4db2e137b1362e0e91384b828effd3a - languageName: node - linkType: hard - "unpipe@npm:1.0.0, unpipe@npm:~1.0.0": version: 1.0.0 resolution: "unpipe@npm:1.0.0" @@ -5826,17 +5793,17 @@ __metadata: resolution: "web-backend@workspace:." dependencies: "@apollo/datasource-rest": "npm:^6.2.2" - "@apollo/server": "npm:^4.9.5" + "@apollo/server": "npm:^4.10.0" "@apollo/server-plugin-response-cache": "npm:^4.1.3" - "@commitlint/cli": "npm:^18.4.3" - "@commitlint/config-conventional": "npm:^18.4.3" - "@stylistic/eslint-plugin": "npm:^1.5.1" + "@commitlint/cli": "npm:^18.4.4" + "@commitlint/config-conventional": "npm:^18.4.4" + "@stylistic/eslint-plugin": "npm:^1.5.3" "@trivago/prettier-plugin-sort-imports": "npm:^4.3.0" "@types/cors": "npm:^2.8.17" "@types/express": "npm:^4.17.21" - "@types/node": "npm:^20.10.5" - "@typescript-eslint/eslint-plugin": "npm:^6.16.0" - "@typescript-eslint/parser": "npm:^6.16.0" + "@types/node": "npm:^20.10.6" + "@typescript-eslint/eslint-plugin": "npm:^6.17.0" + "@typescript-eslint/parser": "npm:^6.17.0" body-parser: "npm:^1.20.2" cors: "npm:^2.8.5" dotenv: "npm:^16.3.1"