From 5364bc004b30e80216219ccb0943941b975b174b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 24 Sep 2026 06:54:11 +0800 Subject: [PATCH] chore(deps-dev): bump eslint-plugin-unicorn from 75.0.0 to 76.0.0 (#23363) * chore(deps-dev): bump eslint-plugin-unicorn from 75.0.0 to 76.0.0 Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 75.0.0 to 76.0.0. - [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases) - [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v75.0.0...v76.0.0) --- updated-dependencies: - dependency-name: eslint-plugin-unicorn dependency-version: 76.0.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * chore: bump overrides * chore: bump teleproto to v1.229.0 --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tony --- lib/routes/telegram/tglib/channel.ts | 4 +- package.json | 10 ++-- ...@1.228.5.patch => teleproto@1.229.0.patch} | 0 pnpm-lock.yaml | 50 +++++++++---------- 4 files changed, 32 insertions(+), 32 deletions(-) rename patches/{teleproto@1.228.5.patch => teleproto@1.229.0.patch} (100%) diff --git a/lib/routes/telegram/tglib/channel.ts b/lib/routes/telegram/tglib/channel.ts index e2efab6c7b..8047b556e0 100644 --- a/lib/routes/telegram/tglib/channel.ts +++ b/lib/routes/telegram/tglib/channel.ts @@ -182,8 +182,8 @@ export default async function handler(ctx: Context) { if (message.replyMarkup instanceof Api.ReplyInlineMarkup) { for (const buttonRow of message.replyMarkup.rows) { for (const button of buttonRow.buttons) { - if (button instanceof Api.KeyboardButtonUrl) { - attachments.push(`
${button.text}
`); + if (button.type instanceof Api.InlineButtonTypeUrl) { + attachments.push(`
${button.text}
`); } } } diff --git a/package.json b/package.json index 341a8e0edf..80160a38f8 100644 --- a/package.json +++ b/package.json @@ -129,7 +129,7 @@ "sm-crypto-v2": "1.15.1", "socks-proxy-agent": "10.1.0", "source-map": "0.8.0", - "teleproto": "1.228.5", + "teleproto": "1.229.0", "title": "4.0.1", "tldts": "7.4.13", "tosource": "2.0.0-alpha.3", @@ -180,7 +180,7 @@ "eslint-plugin-n": "18.3.0", "eslint-plugin-regexp": "3.3.1", "eslint-plugin-simple-import-sort": "14.0.0", - "eslint-plugin-unicorn": "75.0.0", + "eslint-plugin-unicorn": "76.0.0", "eslint-plugin-yml": "3.8.1", "fast-string-width": "3.0.2", "fs-extra": "11.4.0", @@ -257,8 +257,8 @@ "google-play-scraper>tough-cookie": "^6.0.0", "hasown": "npm:@nolyfill/hasown@^1", "is-core-module": "npm:@nolyfill/is-core-module@^1", - "request>form-data": "^2.5.5", - "rss-parser@3.13.0>entities": "^7.0.0", + "request>form-data": "^4.0.6", + "rss-parser@3.13.0>entities": "^8.1.0", "rss-parser@3.13.0>xml2js": "^0.6.2", "safe-buffer": "npm:@nolyfill/safe-buffer@^1", "safer-buffer": "npm:@nolyfill/safer-buffer@^1", @@ -267,7 +267,7 @@ "patchedDependencies": { "@mswjs/interceptors@0.41.9": "patches/@mswjs__interceptors@0.41.9.patch", "rss-parser@3.13.0": "patches/rss-parser@3.13.0.patch", - "teleproto@1.228.5": "patches/teleproto@1.228.5.patch" + "teleproto@1.229.0": "patches/teleproto@1.229.0.patch" } } } diff --git a/patches/teleproto@1.228.5.patch b/patches/teleproto@1.229.0.patch similarity index 100% rename from patches/teleproto@1.228.5.patch rename to patches/teleproto@1.229.0.patch diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 83c625069f..2a0cd8ecb0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ overrides: google-play-scraper>tough-cookie: ^6.0.0 hasown: npm:@nolyfill/hasown@^1 is-core-module: npm:@nolyfill/is-core-module@^1 - request>form-data: ^2.5.5 - rss-parser@3.13.0>entities: ^7.0.0 + request>form-data: ^4.0.6 + rss-parser@3.13.0>entities: ^8.1.0 rss-parser@3.13.0>xml2js: ^0.6.2 safe-buffer: npm:@nolyfill/safe-buffer@^1 safer-buffer: npm:@nolyfill/safer-buffer@^1 @@ -26,9 +26,9 @@ patchedDependencies: rss-parser@3.13.0: hash: afac79a31a3db94c953d49680bc5528468f051957d461e913d2e2dbf5cd22a8d path: patches/rss-parser@3.13.0.patch - teleproto@1.228.5: + teleproto@1.229.0: hash: baf8f5b95e8b538edf2947f8c9abf87378af4bb4b95f644086d01f219559631a - path: patches/teleproto@1.228.5.patch + path: patches/teleproto@1.229.0.patch importers: @@ -242,8 +242,8 @@ importers: specifier: 0.8.0 version: 0.8.0 teleproto: - specifier: 1.228.5 - version: 1.228.5(patch_hash=baf8f5b95e8b538edf2947f8c9abf87378af4bb4b95f644086d01f219559631a) + specifier: 1.229.0 + version: 1.229.0(patch_hash=baf8f5b95e8b538edf2947f8c9abf87378af4bb4b95f644086d01f219559631a) title: specifier: 4.0.1 version: 4.0.1 @@ -390,8 +390,8 @@ importers: specifier: 14.0.0 version: 14.0.0(eslint@10.11.0(jiti@2.7.0)) eslint-plugin-unicorn: - specifier: 75.0.0 - version: 75.0.0(eslint@10.11.0(jiti@2.7.0)) + specifier: 76.0.0 + version: 76.0.0(eslint@10.11.0(jiti@2.7.0)) eslint-plugin-yml: specifier: 3.8.1 version: 3.8.1(eslint@10.11.0(jiti@2.7.0)) @@ -3795,8 +3795,8 @@ packages: electron-to-chromium@1.5.416: resolution: {integrity: sha512-K6bvB2BjnNrugtIih6ewlbBI9DXa976jIdiIlRLHhBoEI9a4JaQjjHyF+A1IQI543aQYR4LnmOrT/K5fZj0aPA==} - electron-to-chromium@1.5.431: - resolution: {integrity: sha512-AAVihz2YwJeOdAynX8MUtqpvjY0gaiARp/7+r4kwqgzqXMrfG1qDN7vwT80uxAoOQRPcZH8t73EI+CA/1OJN8A==} + electron-to-chromium@1.5.433: + resolution: {integrity: sha512-5lCAbyZBjtmUt/RAGHRqrL2q0oEFRThDAsZHHDn9XHa89Qw7gMYOeSicBTy+AHfvo0r6vwsZvqNJTQIQy1BLzA==} emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} @@ -3946,8 +3946,8 @@ packages: peerDependencies: eslint: '>=5.0.0' - eslint-plugin-unicorn@75.0.0: - resolution: {integrity: sha512-72I7eSn+/z5CpgValFBl9mp2JE5UPD+nUUyB/VIGUMF1rCP1i37mA05zfIAVIU312A+qCZ38T8tSZr3oaMv4Mw==} + eslint-plugin-unicorn@76.0.0: + resolution: {integrity: sha512-3ywJrCMHKYhcBP5yFzGaOOX3dY7+iR3hvpuoS/0EnhRFgVWLejly+t4fOdJvWQxJdHZl1C+QBW7hybXPDld4Pw==} engines: {node: '>=22'} peerDependencies: eslint: '>=10.4' @@ -5419,8 +5419,8 @@ packages: resolution: {integrity: sha512-sZuz1dYW/ZsfG17WSAG7eS85r5a0dDsvg+7BiiYR5o6lKCAtUrEwdmRmaGF6rwVj3LcmAeYkOWKEPlbPzN3Y3A==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - regjsparser@0.13.2: - resolution: {integrity: sha512-NgRBy2Nx/bE+9F27nVHnqcN5HjyLmecqsqx2PJHu3/IEtADD4WuxuXIVExD5PoSDFVrl78dOonfcOe5O+5nbzQ==} + regjsparser@0.13.3: + resolution: {integrity: sha512-ycwFAS14Jw4mppvmK4GR/J6u3WpWpjkEApehuHtLc/8VpPNpDMbQ4WjqwplXifGeyKOzHSFLmSPqzksDQE2Sfg==} hasBin: true remark-gfm@4.0.1: @@ -5738,8 +5738,8 @@ packages: resolution: {integrity: sha512-MFO/QzvtAOmJbkhOaCTvbGcFN9L9b+JunIsDwaKljSOdcLMea3NJ1k9Usz/rjdfSXTq4dfzfeS7W4p4YOAAHeA==} engines: {node: '>=18'} - teleproto@1.228.5: - resolution: {integrity: sha512-NMBFB4oB+0mjJIPVqdLd3wAaU7kf5dw7frrYdnnXM38DSdbnN36Dao6Ae1xNZR9NICiefbfJqM8yDijOPqE8MA==} + teleproto@1.229.0: + resolution: {integrity: sha512-aEKx22ZS76SYy26eWR+2oV5XM4+orbq/2ZINvSKoV2SZERn6yqq9mw5lNK22nCax7lTnC0gcz8uqP26gaUxEqA==} engines: {node: '>=18'} text-hex@1.0.0: @@ -8622,7 +8622,7 @@ snapshots: dependencies: baseline-browser-mapping: 2.11.25 caniuse-lite: 1.0.30001810 - electron-to-chromium: 1.5.431 + electron-to-chromium: 1.5.433 node-releases: 2.0.56 update-browserslist-db: 1.3.3(browserslist@4.29.0) @@ -8978,7 +8978,7 @@ snapshots: electron-to-chromium@1.5.416: {} - electron-to-chromium@1.5.431: {} + electron-to-chromium@1.5.433: {} emoji-regex@8.0.0: {} @@ -9204,7 +9204,7 @@ snapshots: dependencies: eslint: 10.11.0(jiti@2.7.0) - eslint-plugin-unicorn@75.0.0(eslint@10.11.0(jiti@2.7.0)): + eslint-plugin-unicorn@76.0.0(eslint@10.11.0(jiti@2.7.0)): dependencies: '@eslint-community/eslint-utils': 4.10.1(eslint@10.11.0(jiti@2.7.0)) '@eslint/css-tree': 4.1.1 @@ -9222,7 +9222,7 @@ snapshots: is-builtin-module: 5.0.0 pluralize: 8.0.0 quote-js-string: 0.1.0 - regjsparser: 0.13.2 + regjsparser: 0.13.3 reserved-identifiers: 1.2.0 semver: 7.8.5 strip-indent: 4.1.1 @@ -11007,7 +11007,7 @@ snapshots: '@eslint-community/regexpp': 4.12.2 refa: 0.12.1 - regjsparser@0.13.2: + regjsparser@0.13.3: dependencies: jsesc: 3.1.0 @@ -11075,7 +11075,7 @@ snapshots: combined-stream: 1.0.8 extend: 3.0.2 forever-agent: 0.6.1 - form-data: 2.5.6 + form-data: 4.0.6 har-validator: 5.1.5 http-signature: 1.2.0 is-typedarray: 1.0.0 @@ -11188,7 +11188,7 @@ snapshots: rss-parser@3.13.0(patch_hash=afac79a31a3db94c953d49680bc5528468f051957d461e913d2e2dbf5cd22a8d): dependencies: - entities: 7.0.1 + entities: 8.1.0 xml2js: 0.6.2 rxjs@6.6.7: @@ -11408,12 +11408,12 @@ snapshots: minizlib: 3.1.0 yallist: 5.0.0 - teleproto@1.228.5(patch_hash=baf8f5b95e8b538edf2947f8c9abf87378af4bb4b95f644086d01f219559631a): + teleproto@1.229.0(patch_hash=baf8f5b95e8b538edf2947f8c9abf87378af4bb4b95f644086d01f219559631a): dependencies: big-integer: 1.6.52 mime: 3.0.0 node-localstorage: 2.2.1 - socks: 2.8.9 + socks: 2.8.10 store2: 2.14.4 text-hex@1.0.0: {}