From f1d456de8c8d7d4168cdf1c6fd0c064ea632b816 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 27 Jun 2025 13:04:35 +0300 Subject: [PATCH] chore(deps): update eslint/prettier (#1284) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Vlad Frangu --- .github/CONTRIBUTING.md | 2 - README.md | 3 - deno/README.md | 3 - website/docs/Introduction.mdx | 3 - yarn.lock | 175 ++++++++++++++++++++++++++++++---- 5 files changed, 159 insertions(+), 27 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index bc0d47fd..75bf23e8 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -13,11 +13,9 @@ - Checkout a topic branch from a base branch, e.g. `main`, and merge back against that branch. - If adding a new feature: - - Provide a convincing reason to add this feature. Ideally, you should open a suggestion issue first and have it approved before working on it. - If fixing a bug: - - If you are resolving a special issue, add `fix/close #xxxx[,#xxxx]` (#xxxx is the issue id) in your PR body for a better release log, e.g. ``` diff --git a/README.md b/README.md index 36ef4e52..dd299b0e 100644 --- a/README.md +++ b/README.md @@ -82,15 +82,12 @@ The exports of each API version is split into three main parts: - Everything exported with the `Gateway` prefix represents data that ONLY comes from or is directly related to the Gateway. - Everything exported with the `REST` prefix represents data that ONLY comes from or is directly related to the REST API. - - For endpoint options, they will follow the following structure: `REST` where the type represents what it will return. - - For example, `RESTPostAPIChannelMessageJSONBody` or `RESTGetAPIGatewayBotInfoResult`. - Some exported types (specifically OAuth2 related ones) may not respect this entire structure due to the nature of the fields. They will start with either `RESTOAuth2` or with something similar to `RESTOAuth2` - If a type ends with `Result`, then it represents the expected result by calling its accompanying route. - - Types that are exported as `never` usually mean the result will be a `204 No Content`, so you can safely ignore it. This does **not** account for errors. - Anything else that is miscellaneous will be exported based on what it represents (for example the `REST` route object). diff --git a/deno/README.md b/deno/README.md index 36ef4e52..dd299b0e 100644 --- a/deno/README.md +++ b/deno/README.md @@ -82,15 +82,12 @@ The exports of each API version is split into three main parts: - Everything exported with the `Gateway` prefix represents data that ONLY comes from or is directly related to the Gateway. - Everything exported with the `REST` prefix represents data that ONLY comes from or is directly related to the REST API. - - For endpoint options, they will follow the following structure: `REST` where the type represents what it will return. - - For example, `RESTPostAPIChannelMessageJSONBody` or `RESTGetAPIGatewayBotInfoResult`. - Some exported types (specifically OAuth2 related ones) may not respect this entire structure due to the nature of the fields. They will start with either `RESTOAuth2` or with something similar to `RESTOAuth2` - If a type ends with `Result`, then it represents the expected result by calling its accompanying route. - - Types that are exported as `never` usually mean the result will be a `204 No Content`, so you can safely ignore it. This does **not** account for errors. - Anything else that is miscellaneous will be exported based on what it represents (for example the `REST` route object). diff --git a/website/docs/Introduction.mdx b/website/docs/Introduction.mdx index 86bc7fde..7d4af090 100644 --- a/website/docs/Introduction.mdx +++ b/website/docs/Introduction.mdx @@ -173,17 +173,14 @@ The exports of each API version is split into three main parts: - Everything exported with the `REST` prefix represents data that ONLY comes from or is directly related to the REST API. - - For endpoint options, they will follow the following structure: `REST` where the type represents what it will return. - - For example, `RESTPostAPIChannelMessageJSONBody` or `RESTGetAPIGatewayBotInfoResult`. - Some exported types (specifically OAuth2 related ones) may not respect this entire structure due to the nature of the fields. They will start with either `RESTOAuth2` or with something similar to `RESTOAuth2` - If a type ends with `Result`, then it represents the expected result by calling its accompanying route. - - Types that are exported as `never` usually mean the result will be a `204 No Content`, so you can safely ignore it. This does **not** account for errors. diff --git a/yarn.lock b/yarn.lock index 1e6aecf3..ba328095 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2766,7 +2766,28 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:8.34.1, @typescript-eslint/eslint-plugin@npm:^8.26.1": +"@typescript-eslint/eslint-plugin@npm:8.35.0": + version: 8.35.0 + resolution: "@typescript-eslint/eslint-plugin@npm:8.35.0" + dependencies: + "@eslint-community/regexpp": "npm:^4.10.0" + "@typescript-eslint/scope-manager": "npm:8.35.0" + "@typescript-eslint/type-utils": "npm:8.35.0" + "@typescript-eslint/utils": "npm:8.35.0" + "@typescript-eslint/visitor-keys": "npm:8.35.0" + graphemer: "npm:^1.4.0" + ignore: "npm:^7.0.0" + natural-compare: "npm:^1.4.0" + ts-api-utils: "npm:^2.1.0" + peerDependencies: + "@typescript-eslint/parser": ^8.35.0 + eslint: ^8.57.0 || ^9.0.0 + typescript: ">=4.8.4 <5.9.0" + checksum: 10c0/27391f1b168a175fdc62370e5afe51317d4433115abbbff8ee0aea8ecd7bf6dd541a76f8e0cc94119750ae3146863204862640acb45394f0b92809e88d39f881 + languageName: node + linkType: hard + +"@typescript-eslint/eslint-plugin@npm:^8.26.1": version: 8.34.1 resolution: "@typescript-eslint/eslint-plugin@npm:8.34.1" dependencies: @@ -2798,7 +2819,23 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:8.34.1, @typescript-eslint/parser@npm:^8.26.1": +"@typescript-eslint/parser@npm:8.35.0": + version: 8.35.0 + resolution: "@typescript-eslint/parser@npm:8.35.0" + dependencies: + "@typescript-eslint/scope-manager": "npm:8.35.0" + "@typescript-eslint/types": "npm:8.35.0" + "@typescript-eslint/typescript-estree": "npm:8.35.0" + "@typescript-eslint/visitor-keys": "npm:8.35.0" + debug: "npm:^4.3.4" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: ">=4.8.4 <5.9.0" + checksum: 10c0/8f1cda98f8bee3d79266974e5e5c831a0ca473e928fb16f1dc1c85ee24f2cb9c0fcf3c1bcbbef9d6044cf063f6e59d3198b766a27000776830fe591043e11625 + languageName: node + linkType: hard + +"@typescript-eslint/parser@npm:^8.26.1": version: 8.34.1 resolution: "@typescript-eslint/parser@npm:8.34.1" dependencies: @@ -2827,6 +2864,19 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/project-service@npm:8.35.0": + version: 8.35.0 + resolution: "@typescript-eslint/project-service@npm:8.35.0" + dependencies: + "@typescript-eslint/tsconfig-utils": "npm:^8.35.0" + "@typescript-eslint/types": "npm:^8.35.0" + debug: "npm:^4.3.4" + peerDependencies: + typescript: ">=4.8.4 <5.9.0" + checksum: 10c0/c2d6d44b6b2ff3ecabec8ade824163196799060ac457661eb94049487d770ce68d128b33a2f24090adf1ebcb66ff6c9a05fc6659349b9a0784a5a080ecf8ff81 + languageName: node + linkType: hard + "@typescript-eslint/scope-manager@npm:5.62.0": version: 5.62.0 resolution: "@typescript-eslint/scope-manager@npm:5.62.0" @@ -2847,6 +2897,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/scope-manager@npm:8.35.0": + version: 8.35.0 + resolution: "@typescript-eslint/scope-manager@npm:8.35.0" + dependencies: + "@typescript-eslint/types": "npm:8.35.0" + "@typescript-eslint/visitor-keys": "npm:8.35.0" + checksum: 10c0/a27cf27a1852bb0d6ea08f475fcc79557f1977be96ef563d92127e8011e4065566441c32c40eb7a530111ffd3a8489919da7f8a2b7466a610cfc9c07670a9601 + languageName: node + linkType: hard + "@typescript-eslint/tsconfig-utils@npm:8.34.1, @typescript-eslint/tsconfig-utils@npm:^8.34.1": version: 8.34.1 resolution: "@typescript-eslint/tsconfig-utils@npm:8.34.1" @@ -2856,6 +2916,15 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/tsconfig-utils@npm:8.35.0, @typescript-eslint/tsconfig-utils@npm:^8.35.0": + version: 8.35.0 + resolution: "@typescript-eslint/tsconfig-utils@npm:8.35.0" + peerDependencies: + typescript: ">=4.8.4 <5.9.0" + checksum: 10c0/baa18e7137ba72f7d138f50d1168e8f334198a36499f954821e2369027e5b3d53ca93c354943e7782ba5caab604b050af10f353ccca34fbc0b23c48d6174832f + languageName: node + linkType: hard + "@typescript-eslint/type-utils@npm:8.34.1": version: 8.34.1 resolution: "@typescript-eslint/type-utils@npm:8.34.1" @@ -2871,6 +2940,21 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/type-utils@npm:8.35.0": + version: 8.35.0 + resolution: "@typescript-eslint/type-utils@npm:8.35.0" + dependencies: + "@typescript-eslint/typescript-estree": "npm:8.35.0" + "@typescript-eslint/utils": "npm:8.35.0" + debug: "npm:^4.3.4" + ts-api-utils: "npm:^2.1.0" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: ">=4.8.4 <5.9.0" + checksum: 10c0/9e23a332484a055eb73ba8918f95a981e0cec8fa623ba9ee0b57328af052628d630a415e32e0dbe95318574e62d4066f8aecc994728b3cedd906f36c616ec362 + languageName: node + linkType: hard + "@typescript-eslint/types@npm:5.62.0": version: 5.62.0 resolution: "@typescript-eslint/types@npm:5.62.0" @@ -2885,6 +2969,13 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/types@npm:8.35.0, @typescript-eslint/types@npm:^8.35.0": + version: 8.35.0 + resolution: "@typescript-eslint/types@npm:8.35.0" + checksum: 10c0/a2711a932680805e83252b5d7c55ac30437bdc4d40c444606cf6ccb6ba23a682da015ec03c64635e77bf733f84d9bb76810bf4f7177fd3a660db8a2c8a05e845 + languageName: node + linkType: hard + "@typescript-eslint/typescript-estree@npm:5.62.0": version: 5.62.0 resolution: "@typescript-eslint/typescript-estree@npm:5.62.0" @@ -2923,6 +3014,26 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/typescript-estree@npm:8.35.0": + version: 8.35.0 + resolution: "@typescript-eslint/typescript-estree@npm:8.35.0" + dependencies: + "@typescript-eslint/project-service": "npm:8.35.0" + "@typescript-eslint/tsconfig-utils": "npm:8.35.0" + "@typescript-eslint/types": "npm:8.35.0" + "@typescript-eslint/visitor-keys": "npm:8.35.0" + debug: "npm:^4.3.4" + fast-glob: "npm:^3.3.2" + is-glob: "npm:^4.0.3" + minimatch: "npm:^9.0.4" + semver: "npm:^7.6.0" + ts-api-utils: "npm:^2.1.0" + peerDependencies: + typescript: ">=4.8.4 <5.9.0" + checksum: 10c0/7e94f6a92efc5832289e8bfd0b61209aa501224c935359253c29aeef8e0b981b370ee2a43e2909991c3c3cf709fcccb6380474e0e9a863e8f89e2fbd213aed59 + languageName: node + linkType: hard + "@typescript-eslint/utils@npm:5.62.0": version: 5.62.0 resolution: "@typescript-eslint/utils@npm:5.62.0" @@ -2941,7 +3052,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:8.34.1, @typescript-eslint/utils@npm:^8.26.1, @typescript-eslint/utils@npm:^8.32.1, @typescript-eslint/utils@npm:^8.33.0": +"@typescript-eslint/utils@npm:8.34.1": version: 8.34.1 resolution: "@typescript-eslint/utils@npm:8.34.1" dependencies: @@ -2956,6 +3067,21 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/utils@npm:8.35.0, @typescript-eslint/utils@npm:^8.26.1, @typescript-eslint/utils@npm:^8.32.1, @typescript-eslint/utils@npm:^8.33.0": + version: 8.35.0 + resolution: "@typescript-eslint/utils@npm:8.35.0" + dependencies: + "@eslint-community/eslint-utils": "npm:^4.7.0" + "@typescript-eslint/scope-manager": "npm:8.35.0" + "@typescript-eslint/types": "npm:8.35.0" + "@typescript-eslint/typescript-estree": "npm:8.35.0" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: ">=4.8.4 <5.9.0" + checksum: 10c0/e3317df7875305bee16edd573e4bfdafc099f26f9c284d8adb351333683aacd5b668320870653dff7ec7e0da1982bbf89dc06197bc193a3be65362f21452dbea + languageName: node + linkType: hard + "@typescript-eslint/visitor-keys@npm:5.62.0": version: 5.62.0 resolution: "@typescript-eslint/visitor-keys@npm:5.62.0" @@ -2976,6 +3102,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/visitor-keys@npm:8.35.0": + version: 8.35.0 + resolution: "@typescript-eslint/visitor-keys@npm:8.35.0" + dependencies: + "@typescript-eslint/types": "npm:8.35.0" + eslint-visitor-keys: "npm:^4.2.1" + checksum: 10c0/df18ca9b6931cb58f5dc404fcc94f9e0cc1c22f3053c7013ab588bb8ccccd3d58a70c577c01267845d57fa124a8cf8371260d284dad97505c56b2abcf70a3dce + languageName: node + linkType: hard + "@unrs/resolver-binding-android-arm-eabi@npm:1.9.1": version: 1.9.1 resolution: "@unrs/resolver-binding-android-arm-eabi@npm:1.9.1" @@ -4727,14 +4863,14 @@ __metadata: linkType: hard "eslint-import-resolver-typescript@npm:^4.1.1, eslint-import-resolver-typescript@npm:^4.4.2": - version: 4.4.3 - resolution: "eslint-import-resolver-typescript@npm:4.4.3" + version: 4.4.4 + resolution: "eslint-import-resolver-typescript@npm:4.4.4" dependencies: debug: "npm:^4.4.1" eslint-import-context: "npm:^0.1.8" get-tsconfig: "npm:^4.10.1" is-bun-module: "npm:^2.0.0" - stable-hash-x: "npm:^0.1.1" + stable-hash-x: "npm:^0.2.0" tinyglobby: "npm:^0.2.14" unrs-resolver: "npm:^1.7.11" peerDependencies: @@ -4746,7 +4882,7 @@ __metadata: optional: true eslint-plugin-import-x: optional: true - checksum: 10c0/c00c5e422e71fa3448007509ff49ac44c6917eabfeca72094f67d8dd5202f1aa7d8ec12344cf502268b71d3a9104e7b0072ed97e6301966115d02f3cce6f61d7 + checksum: 10c0/3bf8ad77c21660f77a0e455555ab179420f68ae7a132906c85a217ccce51cb6680cf70027cab32a358d193e5b9e476f6ba2e595585242aa97d4f6435ca22104e languageName: node linkType: hard @@ -8282,11 +8418,11 @@ __metadata: linkType: hard "prettier@npm:^3.0.0, prettier@npm:^3.5.3": - version: 3.5.3 - resolution: "prettier@npm:3.5.3" + version: 3.6.2 + resolution: "prettier@npm:3.6.2" bin: prettier: bin/prettier.cjs - checksum: 10c0/3880cb90b9dc0635819ab52ff571518c35bd7f15a6e80a2054c05dbc8a3aa6e74f135519e91197de63705bcb38388ded7e7230e2178432a1468005406238b877 + checksum: 10c0/488cb2f2b99ec13da1e50074912870217c11edaddedeadc649b1244c749d15ba94e846423d062e2c4c9ae683e2d65f754de28889ba06e697ac4f988d44f45812 languageName: node linkType: hard @@ -9053,6 +9189,13 @@ __metadata: languageName: node linkType: hard +"stable-hash-x@npm:^0.2.0": + version: 0.2.0 + resolution: "stable-hash-x@npm:0.2.0" + checksum: 10c0/c757df58366ee4bb266a9486b8932eab7c1ba730469eaf4b68d2dee404814e9f84089c44c9b5205f8c7d99a0ab036cce2af69139ce5ed44b635923c011a8aea8 + languageName: node + linkType: hard + "stop-iteration-iterator@npm:^1.1.0": version: 1.1.0 resolution: "stop-iteration-iterator@npm:1.1.0" @@ -9546,16 +9689,16 @@ __metadata: linkType: hard "typescript-eslint@npm:^8.26.1, typescript-eslint@npm:^8.33.0": - version: 8.34.1 - resolution: "typescript-eslint@npm:8.34.1" + version: 8.35.0 + resolution: "typescript-eslint@npm:8.35.0" dependencies: - "@typescript-eslint/eslint-plugin": "npm:8.34.1" - "@typescript-eslint/parser": "npm:8.34.1" - "@typescript-eslint/utils": "npm:8.34.1" + "@typescript-eslint/eslint-plugin": "npm:8.35.0" + "@typescript-eslint/parser": "npm:8.35.0" + "@typescript-eslint/utils": "npm:8.35.0" peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <5.9.0" - checksum: 10c0/6de5d2ce180d1609a8a5383557a2787f17620ebc9a4d84fba9d9240db8005cc3084a7840ebafe532fba9970fe12822ee415615041f3527334fdfc45c411d35b6 + checksum: 10c0/ba034fc25731c01c12de7564c05eb58b22072b14b9cb6469d79b2a0c70dff45d646423b8d6d7f2f6ca40310101f2bd0a843c1c51b8c51cfec556ca0723f5df2d languageName: node linkType: hard