diff --git a/CHANGELOG.md b/CHANGELOG.md index 6cf1a9a..eadc509 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,6 @@ -# v0.6.6 (November 13, 2022) +# v0.6.7 (November 18, 2022) -- Fix: spotify button -- Fix: discord button +- Fix: minor issues and misprint in translation files @@ -9,6 +8,11 @@ +# v0.6.6 (November 13, 2022) + +- Fix: spotify button +- Fix: discord button + # v0.6.5 (November 13, 2022) - New: spotify playlist diff --git a/README.md b/README.md index 3683e75..b4b167d 100755 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ -[![v0.6.6](https://img.shields.io/badge/version-v0.6.6-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/aboutmeinfo-telegram-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/aboutmeinfo-telegram-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/aboutmeinfo-telegram-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/aboutmeinfo-telegram-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io) +[![v0.6.7-beta.1](https://img.shields.io/badge/version-v0.6.7--beta.1-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/aboutmeinfo-telegram-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/aboutmeinfo-telegram-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/aboutmeinfo-telegram-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/aboutmeinfo-telegram-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io) diff --git a/app/functions/commands/about.ts b/app/functions/commands/about.ts index 69df056..994d616 100644 --- a/app/functions/commands/about.ts +++ b/app/functions/commands/about.ts @@ -94,44 +94,57 @@ const about = async (): Promise => { const buttons = new InlineKeyboard(); account.facebook !== "" && + (account.facebook.startsWith("https://") || account.facebook.startsWith("http://")) && buttons.url(translate(lang.language, "about_command_button_facebook"), account.facebook).row(); account.instagram !== "" && + (account.instagram.startsWith("https://") || account.instagram.startsWith("http://")) && buttons .url(translate(lang.language, "about_command_button_instagram"), account.instagram) .row(); account.twitter !== "" && + (account.twitter.startsWith("https://") || account.twitter.startsWith("http://")) && buttons.url(translate(lang.language, "about_command_button_twitter"), account.twitter).row(); account.github !== "" && + (account.github.startsWith("https://") || account.github.startsWith("http://")) && buttons.url(translate(lang.language, "about_command_button_github"), account.github).row(); account.tiktok !== "" && + (account.tiktok.startsWith("https://") || account.tiktok.startsWith("http://")) && buttons.url(translate(lang.language, "about_command_button_tiktok"), account.tiktok).row(); account.linkedin !== "" && + (account.linkedin.startsWith("https://") || account.linkedin.startsWith("http://")) && buttons.url(translate(lang.language, "about_command_button_linkedin"), account.linkedin).row(); account.youtube !== "" && + (account.youtube.startsWith("https://") || account.youtube.startsWith("http://")) && buttons.url(translate(lang.language, "about_command_button_youtube"), account.youtube).row(); account.spotify !== "" && + (account.spotify.startsWith("https://") || account.spotify.startsWith("http://")) && buttons.url(translate(lang.language, "about_command_button_spotify"), account.spotify).row(); account.discord !== "" && + (account.discord.startsWith("https://") || account.discord.startsWith("http://")) && buttons.url(translate(lang.language, "about_command_button_discord"), account.discord).row(); account.steam !== "" && + (account.steam.startsWith("https://") || account.steam.startsWith("http://")) && buttons.url(translate(lang.language, "about_command_button_steam"), account.steam).row(); account.onlyfans !== "" && + (account.onlyfans.startsWith("https://") || account.onlyfans.startsWith("http://")) && buttons.url(translate(lang.language, "about_command_button_onlyfans"), account.onlyfans).row(); account.amazon !== "" && + (account.amazon.startsWith("https://") || account.amazon.startsWith("http://")) && buttons.url(translate(lang.language, "about_command_button_amazon"), account.amazon).row(); account.website !== "" && + (account.website.startsWith("https://") || account.website.startsWith("http://")) && buttons.url(translate(lang.language, "about_command_button_website"), account.website).row(); const options: any = {}; diff --git a/app/functions/commands/hears.ts b/app/functions/commands/hears.ts index 1f7d8dd..e097656 100644 --- a/app/functions/commands/hears.ts +++ b/app/functions/commands/hears.ts @@ -225,9 +225,9 @@ const hears = async (): Promise => { case "set_spotify": text = telegram.api.message.getText(ctx).trim(); // without lower case because spotify have id CASE SENSITIVE if ( - !text.startsWith("https://") && - !text.startsWith("http://") && - translate(lang.language, "set_command_skip") !== text + !text.toLowerCase().startsWith("https://") && + !text.toLowerCase().startsWith("http://") && + translate(lang.language, "set_command_skip") !== text.toLowerCase() ) { text = `https://open.spotify.com/playlist/${text}`; } @@ -264,9 +264,9 @@ const hears = async (): Promise => { text = telegram.api.message.getText(ctx).trim(); // without lower case because discord have id CASE SENSITIVE if ( - !text.startsWith("https://") && - !text.startsWith("http://") && - translate(lang.language, "set_command_skip") !== text + !text.toLowerCase().startsWith("https://") && + !text.toLowerCase().startsWith("http://") && + translate(lang.language, "set_command_skip") !== text.toLowerCase() ) { text = `https://discord.com/invite/${text}`; } diff --git a/app/functions/commands/ral.ts b/app/functions/commands/ral.ts index 03e2046..5159c0d 100644 --- a/app/functions/commands/ral.ts +++ b/app/functions/commands/ral.ts @@ -5,14 +5,14 @@ import translate from "@translations/translate"; import db from "@routes/api/database"; /** - * command: /version + * command: /ral * ===================== - * Get the version of the bot + * Meme command for https://t.me/ptkdev_support_italian * */ -const version = async (): Promise => { +const ral = async (): Promise => { bot.command("ral", async (ctx) => { - logger.info("command: /ral", "version.ts:ral()"); + logger.info("command: /ral", "ral.ts:ral()"); const lang = await db.settings.get({ group_id: telegram.api.message.getChatID(ctx), }); @@ -46,5 +46,5 @@ const version = async (): Promise => { }); }; -export { version }; -export default version; +export { ral }; +export default ral; diff --git a/app/translations/en.json b/app/translations/en.json index 926ae01..5adcd72 100644 --- a/app/translations/en.json +++ b/app/translations/en.json @@ -32,28 +32,28 @@ "about_command_button_onlyfans": "๐Ÿ”ž Onlyfans", "about_command_button_amazon": "๐ŸŽ Amazon", "set_select_button": "Choose the button you want to change:", - "set_command_facebook": "Type the link or nickname of your ๐Ÿ‘ฎโ€โ™‚๏ธ Facebook profile, type in \"skip\" if you don't have one", - "set_command_instagram": "Type the link or nickname of your ๐Ÿ“ท Instagram profile, type in \"skip\" if you don't have one", - "set_command_twitter": "Type the link or nickname of your ๐Ÿฃ Twitter profile, type in \"skip\" if you don't have one", - "set_command_linkedin": "Type the link or nickname of your ๐Ÿ’ผ LinkedIn profile, type in \"skip\" if you don't have one", - "set_command_youtube": "Type the link or nickname of your ๐Ÿ“บ Youtube channel, type in \"skip\" if you don't have one", - "set_command_spotify": "Type the link or id of your ๐ŸŽง Spotify playlist, type in \"skip\" if you don't have one", - "set_command_discord": "Type the link or id of your ๐Ÿค– Discord server, type in \"skip\" if you don't have one", - "set_command_tiktok": "Type the link or nickname of your ๐Ÿ‘ฏโ€โ™€๏ธ TikTok profile, type in \"skip\" if you don't have one", - "set_command_github": "Type the link or nickname of your ๐Ÿ‘จโ€๐Ÿ’ป GitHub profile, type in \"skip\" if you don't have one", - "set_command_steam": "Type the link or nickname of your ๐ŸŽฎ Steam profile, type in \"skip\" if you don't have one", - "set_command_onlyfans": "Type the link or nickname of your ๐Ÿ”ž Onlyfans profile, type in \"skip\" if you don't have one", - "set_command_amazon": "Type the link or id of your wishlist ๐ŸŽ Amazon, type in \"skip\" if you don't have one", - "set_command_website": "Type the link or nickname of your ๐ŸŒŽ Personal website, type in \"skip\" if you don't have one", + "set_command_facebook": "Type the link or nickname of your ๐Ÿ‘ฎโ€โ™‚๏ธ Facebook profile, type in skip if you don't have one", + "set_command_instagram": "Type the link or nickname of your ๐Ÿ“ท Instagram profile, type in skip if you don't have one", + "set_command_twitter": "Type the link or nickname of your ๐Ÿฃ Twitter profile, type in skip if you don't have one", + "set_command_linkedin": "Type the link or nickname of your ๐Ÿ’ผ LinkedIn profile, type in skip if you don't have one", + "set_command_youtube": "Type the link or nickname of your ๐Ÿ“บ Youtube channel, type in skip if you don't have one", + "set_command_spotify": "Type the link or id of your ๐ŸŽง Spotify playlist, type in skip if you don't have one", + "set_command_discord": "Type the link or id of your ๐Ÿค– Discord server, type in skip if you don't have one", + "set_command_tiktok": "Type the link or nickname of your ๐Ÿ‘ฏโ€โ™€๏ธ TikTok profile, type in skip if you don't have one", + "set_command_github": "Type the link or nickname of your ๐Ÿ‘จโ€๐Ÿ’ป GitHub profile, type in skip if you don't have one", + "set_command_steam": "Type the link or nickname of your ๐ŸŽฎ Steam profile, type in skip if you don't have one", + "set_command_onlyfans": "Type the link or nickname of your ๐Ÿ”ž Onlyfans profile, type in skip if you don't have one", + "set_command_amazon": "Type the link or id of your wishlist ๐ŸŽ Amazon, type in skip if you don't have one", + "set_command_website": "Type the link or nickname of your ๐ŸŒŽ Personal website, type in skip if you don't have one", "set_command_done": "๐Ÿš€ Are you done! Try using the command /about @{{username}} to see if everything is ok!", "set_command_skip": "skip", "set_command_privacy": "Write the list of users (separated from comma) which can use the command /about to show your links, example: @user1, @user2\n\nType in \"public profile\" if you want to allow everyone to use the command /about and see your social media", "set_command_privacy_done": "๐Ÿ” DONE! You set privacy properly!", "set_command_privacy_skip": "public profile", - "about_command_show_links_error": "๐Ÿšจ One of the URLs is not valid, it must start with https// and end with .net, .com or other valid domain value. Example: https://fb.me/ptkdev", + "about_command_show_links_error": "๐Ÿšจ One of the URLs is not valid, it must start with https://\n\n๐Ÿ”ง Fix it with /set or try again /start", "hears_command_privacy_not_auth": "๐Ÿ” You are not authorized by the user to see its links and social, ask you to insert you in the command list of /privacy", "about_command_show_links": "๐ŸŒŸ The available profiles of @{{username}} are:", - "hears_command_bad_url": "๐Ÿšจ The inserted URL is invalid, it must start with https://\n\nFix it with /set or try again /start", + "hears_command_bad_url": "๐Ÿšจ The inserted URL is invalid, it must start with https://\n\n๐Ÿ”ง Fix it with /set or try again /start", "about_command_user_not_found": "๐Ÿ˜ฟ The user @{{username}} did not set his profiles, ask him to do it by typing in private to the bot: @{{bot_nickname}}", "start_command_nickname_empty": "๐Ÿšท You have not set a nickname in your telegram account: enter the settings of the app and insert one, then you do again /start", "start_command_intro_group": "This bot allows you to share your social profiles and links with Telegram users.\n\nUse the command /about @nickname to see a user's profiles and links, for example:\n\n/about @ptkdev\n\nType in private to @{{bot_nickname}} to set your links and social media.", diff --git a/app/translations/it.json b/app/translations/it.json index 276a657..29ce35b 100644 --- a/app/translations/it.json +++ b/app/translations/it.json @@ -32,28 +32,28 @@ "about_command_button_onlyfans": "๐Ÿ”ž Onlyfans", "about_command_button_amazon": "๐ŸŽ Amazon", "set_select_button": "Scegli il bottone che vuoi modificare:", - "set_command_facebook": "Scrivi il link o nickname del tuo profilo ๐Ÿ‘ฎโ€โ™‚๏ธ Facebook, scrivi \"ignora\" se non ne hai uno", - "set_command_instagram": "Scrivi il link o nickname del tuo profilo ๐Ÿ“ท Instagram, scrivi \"ignora\" se non ne hai uno", - "set_command_twitter": "Scrivi il link o nickname del tuo profilo ๐Ÿฃ Twitter, scrivi \"ignora\" se non ne hai uno", - "set_command_linkedin": "Scrivi il link o nickname del tuo profilo ๐Ÿ’ผ LinkedIn, scrivi \"ignora\" se non ne hai uno", - "set_command_youtube": "Scrivi il link o nickname del tuo canale ๐Ÿ“บ Youtube, scrivi \"ignora\" se non ne hai uno", - "set_command_spotify": "Scrivi il link o id della tua playlist ๐ŸŽง Spotify, scrivi \"ignora\" se non ne hai uno", - "set_command_discord": "Scrivi il link o nickname del tuo server ๐Ÿค– Discord, scrivi \"ignora\" se non ne hai uno", - "set_command_tiktok": "Scrivi il link o nickname del tuo profilo ๐Ÿ‘ฏโ€โ™€๏ธ TikTok, scrivi \"ignora\" se non ne hai uno, esempio", - "set_command_github": "Scrivi il link o nickname del tuo ๐Ÿ‘จโ€๐Ÿ’ป GitHub, scrivi \"ignora\" se non ne hai uno, esempio", - "set_command_steam": "Scrivi il link o nickname del tuo ๐ŸŽฎ Steam, scrivi \"ignora\" se non ne hai uno, esempio", - "set_command_onlyfans": "Scrivi il link o nickname del tuo ๐Ÿ”ž Onlyfans, scrivi \"ignora\" se non ne hai uno, esempio", - "set_command_amazon": "Scrivi il link o nickname della tua lista desideri ๐ŸŽ Amazon, scrivi \"ignora\" se non ne hai una, esempio", - "set_command_website": "Scrivi il link o nickname del tuo profilo ๐ŸŒŽ Sito web personale, scrivi \"ignora\" se non ne hai uno, esempio", + "set_command_facebook": "Scrivi il link o nickname del tuo profilo ๐Ÿ‘ฎโ€โ™‚๏ธ Facebook, scrivi ignora se non ne hai uno", + "set_command_instagram": "Scrivi il link o nickname del tuo profilo ๐Ÿ“ท Instagram, scrivi ignora se non ne hai uno", + "set_command_twitter": "Scrivi il link o nickname del tuo profilo ๐Ÿฃ Twitter, scrivi ignora se non ne hai uno", + "set_command_linkedin": "Scrivi il link o nickname del tuo profilo ๐Ÿ’ผ LinkedIn, scrivi ignora se non ne hai uno", + "set_command_youtube": "Scrivi il link o nickname del tuo canale ๐Ÿ“บ Youtube, scrivi ignora se non ne hai uno", + "set_command_spotify": "Scrivi il link o id della tua playlist ๐ŸŽง Spotify, scrivi ignora se non ne hai uno", + "set_command_discord": "Scrivi il link o nickname del tuo server ๐Ÿค– Discord, scrivi ignora se non ne hai uno", + "set_command_tiktok": "Scrivi il link o nickname del tuo profilo ๐Ÿ‘ฏโ€โ™€๏ธ TikTok, scrivi ignora se non ne hai uno, esempio", + "set_command_github": "Scrivi il link o nickname del tuo ๐Ÿ‘จโ€๐Ÿ’ป GitHub, scrivi ignora se non ne hai uno, esempio", + "set_command_steam": "Scrivi il link o nickname del tuo ๐ŸŽฎ Steam, scrivi ignora se non ne hai uno, esempio", + "set_command_onlyfans": "Scrivi il link o nickname del tuo ๐Ÿ”ž Onlyfans, scrivi ignora se non ne hai uno, esempio", + "set_command_amazon": "Scrivi il link o nickname della tua lista desideri ๐ŸŽ Amazon, scrivi ignora se non ne hai una, esempio", + "set_command_website": "Scrivi il link o nickname del tuo profilo ๐ŸŒŽ Sito web personale, scrivi ignora se non ne hai uno, esempio", "set_command_done": "๐Ÿš€ Hai finito! Prova ad usare il comando /about @{{username}} per vedere se รจ tutto ok!", "set_command_skip": "ignora", "set_command_privacy": "Scrivi l'elenco degli utenti (separato da virgola) i quali possono usare il comando /about per vedere i tuoi links, esempio: @utente1, @utente2\n\nScrivi \"profilo pubblico\" se vuoi permettere a tutti di usare il comando /about e vedere i tuoi social", "set_command_privacy_done": "๐Ÿ” Fatto! Hai impostato la privacy correttamente!", "set_command_privacy_skip": "profilo pubblico", - "about_command_show_links_error": "๐Ÿšจ Uno degli url non รจ valido, deve iniziare con https:// e finire con .net, .com o altri domini validi. Esempio: https://fb.me/ptkdev", + "about_command_show_links_error": "๐Ÿšจ Uno degli url non รจ valido, deve iniziare con https://\n\n๐Ÿ”ง Sistemalo usando /set o fai /start di nuovo", "hears_command_privacy_not_auth": "๐Ÿ” Non sei autorizzato dall'utente a vedere i suoi links e social, chiedi di inserirti nell'elenco del comando /privacy", "about_command_show_links": "๐ŸŒŸ I profili disponibili di @{{username}} sono:", - "hears_command_bad_url": "๐Ÿšจ L'url inserito non รจ valido, deve iniziare con https://\n\nSistemalo usando /set o fai /start di nuovo", + "hears_command_bad_url": "๐Ÿšจ L'url inserito non รจ valido, deve iniziare con https://\n\n๐Ÿ”ง Sistemalo usando /set o fai /start di nuovo", "about_command_user_not_found": "๐Ÿ˜ฟ L'utente @{{username}} non ha impostato i suoi profili, chiedigli di farlo scrivendo in privato al bot: @{{bot_nickname}}", "start_command_nickname_empty": "๐Ÿšท Non hai impostato un nickname nel tuo account di Telegram, entra nelle impostazioni dell'app e inseriscine uno. Poi fai nuovamente /start", "start_command_intro_group": "Questo bot permette di condividere i tuoi profili social e link con gli utenti di telegram.\n\nUsa il comando /about @nickname per vedere i profili e link di un utente, ad esempio:\n\n/about @ptkdev\n\nScrivi in privato a @{{bot_nickname}} per impostare i tuoi profili.", diff --git a/package-lock.json b/package-lock.json index 04e9982..115ef97 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@ptkdev/aboutmeinfo-telegram-bot", - "version": "0.6.5-nightly.1", + "version": "0.6.7-nightly.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@ptkdev/aboutmeinfo-telegram-bot", - "version": "0.6.5-nightly.1", + "version": "0.6.7-nightly.5", "license": "MIT", "dependencies": { "@ptkdev/logger": "^1.8.0", @@ -16,12 +16,12 @@ }, "devDependencies": { "@ptkdev/all-shields-cli": "^2.0.2", - "@types/jest": "^29.2.2", + "@types/jest": "^29.2.3", "@types/node": "^18.11.9", "@types/shelljs": "^0.8.11", "@types/yargs": "^16.0.4", - "@typescript-eslint/eslint-plugin": "^5.42.1", - "@typescript-eslint/parser": "^5.42.1", + "@typescript-eslint/eslint-plugin": "^5.43.0", + "@typescript-eslint/parser": "^5.43.0", "all-contributors-cli": "^6.24.0", "eslint": "^7.32.0", "eslint-plugin-jest": "^27.1.5", @@ -36,7 +36,7 @@ "ts-jest": "^29.0.3", "ts-node": "^10.9.1", "ts-patch": "^2.0.2", - "typescript": "^4.8.4", + "typescript": "^4.9.3", "typescript-transform-paths": "^3.4.4", "yargs": "^17.6.2" }, @@ -1629,9 +1629,9 @@ } }, "node_modules/@types/jest": { - "version": "29.2.2", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.2.2.tgz", - "integrity": "sha512-og1wAmdxKoS71K2ZwSVqWPX6OVn3ihZ6ZT2qvZvZQm90lJVDyXIjYcu4Khx2CNIeaFv12rOU/YObOsI3VOkzog==", + "version": "29.2.3", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.2.3.tgz", + "integrity": "sha512-6XwoEbmatfyoCjWRX7z0fKMmgYKe9+/HrviJ5k0X/tjJWHGAezZOfYaxqQKuzG/TvQyr+ktjm4jgbk0s4/oF2w==", "dev": true, "dependencies": { "expect": "^29.0.0", @@ -1720,14 +1720,14 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.42.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.42.1.tgz", - "integrity": "sha512-LyR6x784JCiJ1j6sH5Y0K6cdExqCCm8DJUTcwG5ThNXJj/G8o5E56u5EdG4SLy+bZAwZBswC+GYn3eGdttBVCg==", + "version": "5.43.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.43.0.tgz", + "integrity": "sha512-wNPzG+eDR6+hhW4yobEmpR36jrqqQv1vxBq5LJO3fBAktjkvekfr4BRl+3Fn1CM/A+s8/EiGUbOMDoYqWdbtXA==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "5.42.1", - "@typescript-eslint/type-utils": "5.42.1", - "@typescript-eslint/utils": "5.42.1", + "@typescript-eslint/scope-manager": "5.43.0", + "@typescript-eslint/type-utils": "5.43.0", + "@typescript-eslint/utils": "5.43.0", "debug": "^4.3.4", "ignore": "^5.2.0", "natural-compare-lite": "^1.4.0", @@ -1753,14 +1753,14 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "5.42.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.42.1.tgz", - "integrity": "sha512-kAV+NiNBWVQDY9gDJDToTE/NO8BHi4f6b7zTsVAJoTkmB/zlfOpiEVBzHOKtlgTndCKe8vj9F/PuolemZSh50Q==", + "version": "5.43.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.43.0.tgz", + "integrity": "sha512-2iHUK2Lh7PwNUlhFxxLI2haSDNyXvebBO9izhjhMoDC+S3XI9qt2DGFUsiJ89m2k7gGYch2aEpYqV5F/+nwZug==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "5.42.1", - "@typescript-eslint/types": "5.42.1", - "@typescript-eslint/typescript-estree": "5.42.1", + "@typescript-eslint/scope-manager": "5.43.0", + "@typescript-eslint/types": "5.43.0", + "@typescript-eslint/typescript-estree": "5.43.0", "debug": "^4.3.4" }, "engines": { @@ -1780,13 +1780,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "5.42.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.42.1.tgz", - "integrity": "sha512-QAZY/CBP1Emx4rzxurgqj3rUinfsh/6mvuKbLNMfJMMKYLRBfweus8brgXF8f64ABkIZ3zdj2/rYYtF8eiuksQ==", + "version": "5.43.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.43.0.tgz", + "integrity": "sha512-XNWnGaqAtTJsUiZaoiGIrdJYHsUOd3BZ3Qj5zKp9w6km6HsrjPk/TGZv0qMTWyWj0+1QOqpHQ2gZOLXaGA9Ekw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.42.1", - "@typescript-eslint/visitor-keys": "5.42.1" + "@typescript-eslint/types": "5.43.0", + "@typescript-eslint/visitor-keys": "5.43.0" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -1797,13 +1797,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "5.42.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.42.1.tgz", - "integrity": "sha512-WWiMChneex5w4xPIX56SSnQQo0tEOy5ZV2dqmj8Z371LJ0E+aymWD25JQ/l4FOuuX+Q49A7pzh/CGIQflxMVXg==", + "version": "5.43.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.43.0.tgz", + "integrity": "sha512-K21f+KY2/VvYggLf5Pk4tgBOPs2otTaIHy2zjclo7UZGLyFH86VfUOm5iq+OtDtxq/Zwu2I3ujDBykVW4Xtmtg==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "5.42.1", - "@typescript-eslint/utils": "5.42.1", + "@typescript-eslint/typescript-estree": "5.43.0", + "@typescript-eslint/utils": "5.43.0", "debug": "^4.3.4", "tsutils": "^3.21.0" }, @@ -1824,9 +1824,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "5.42.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.42.1.tgz", - "integrity": "sha512-Qrco9dsFF5lhalz+lLFtxs3ui1/YfC6NdXu+RAGBa8uSfn01cjO7ssCsjIsUs484vny9Xm699FSKwpkCcqwWwA==", + "version": "5.43.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.43.0.tgz", + "integrity": "sha512-jpsbcD0x6AUvV7tyOlyvon0aUsQpF8W+7TpJntfCUWU1qaIKu2K34pMwQKSzQH8ORgUrGYY6pVIh1Pi8TNeteg==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -1837,13 +1837,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.42.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.42.1.tgz", - "integrity": "sha512-qElc0bDOuO0B8wDhhW4mYVgi/LZL+igPwXtV87n69/kYC/7NG3MES0jHxJNCr4EP7kY1XVsRy8C/u3DYeTKQmw==", + "version": "5.43.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.43.0.tgz", + "integrity": "sha512-BZ1WVe+QQ+igWal2tDbNg1j2HWUkAa+CVqdU79L4HP9izQY6CNhXfkNwd1SS4+sSZAP/EthI1uiCSY/+H0pROg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.42.1", - "@typescript-eslint/visitor-keys": "5.42.1", + "@typescript-eslint/types": "5.43.0", + "@typescript-eslint/visitor-keys": "5.43.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -1864,16 +1864,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "5.42.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.42.1.tgz", - "integrity": "sha512-Gxvf12xSp3iYZd/fLqiQRD4uKZjDNR01bQ+j8zvhPjpsZ4HmvEFL/tC4amGNyxN9Rq+iqvpHLhlqx6KTxz9ZyQ==", + "version": "5.43.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.43.0.tgz", + "integrity": "sha512-8nVpA6yX0sCjf7v/NDfeaOlyaIIqL7OaIGOWSPFqUKK59Gnumd3Wa+2l8oAaYO2lk0sO+SbWFWRSvhu8gLGv4A==", "dev": true, "dependencies": { "@types/json-schema": "^7.0.9", "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.42.1", - "@typescript-eslint/types": "5.42.1", - "@typescript-eslint/typescript-estree": "5.42.1", + "@typescript-eslint/scope-manager": "5.43.0", + "@typescript-eslint/types": "5.43.0", + "@typescript-eslint/typescript-estree": "5.43.0", "eslint-scope": "^5.1.1", "eslint-utils": "^3.0.0", "semver": "^7.3.7" @@ -1890,12 +1890,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.42.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.42.1.tgz", - "integrity": "sha512-LOQtSF4z+hejmpUvitPlc4hA7ERGoj2BVkesOcG91HCn8edLGUXbTrErmutmPbl8Bo9HjAvOO/zBKQHExXNA2A==", + "version": "5.43.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.43.0.tgz", + "integrity": "sha512-icl1jNH/d18OVHLfcwdL3bWUKsBeIiKYTGxMJCoGe7xFht+E4QgzOqoWYrU8XSLJWhVw8nTacbm03v23J/hFTg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.42.1", + "@typescript-eslint/types": "5.43.0", "eslint-visitor-keys": "^3.3.0" }, "engines": { @@ -4716,9 +4716,9 @@ } }, "node_modules/globals": { - "version": "13.17.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz", - "integrity": "sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==", + "version": "13.18.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.18.0.tgz", + "integrity": "sha512-/mR4KI8Ps2spmoc0Ulu9L7agOF0du1CZNQ3dke8yItYlyKNmGrkONemBbd6V8UTc1Wgcqn21t3WYB7dbRmh6/A==", "dev": true, "dependencies": { "type-fest": "^0.20.2" @@ -10086,9 +10086,9 @@ } }, "node_modules/table/node_modules/ajv": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", - "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", + "version": "8.11.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.2.tgz", + "integrity": "sha512-E4bfmKAhGiSTvMfL1Myyycaub+cUEU2/IvpylXkUu7CHBkBj1f/ikdzbD7YQ6FKUbixDxeYvB/xY4fvyroDlQg==", "dev": true, "dependencies": { "fast-deep-equal": "^3.1.1", @@ -10579,9 +10579,9 @@ } }, "node_modules/typescript": { - "version": "4.8.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz", - "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==", + "version": "4.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.3.tgz", + "integrity": "sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -12369,9 +12369,9 @@ } }, "@types/jest": { - "version": "29.2.2", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.2.2.tgz", - "integrity": "sha512-og1wAmdxKoS71K2ZwSVqWPX6OVn3ihZ6ZT2qvZvZQm90lJVDyXIjYcu4Khx2CNIeaFv12rOU/YObOsI3VOkzog==", + "version": "29.2.3", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.2.3.tgz", + "integrity": "sha512-6XwoEbmatfyoCjWRX7z0fKMmgYKe9+/HrviJ5k0X/tjJWHGAezZOfYaxqQKuzG/TvQyr+ktjm4jgbk0s4/oF2w==", "dev": true, "requires": { "expect": "^29.0.0", @@ -12460,14 +12460,14 @@ "dev": true }, "@typescript-eslint/eslint-plugin": { - "version": "5.42.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.42.1.tgz", - "integrity": "sha512-LyR6x784JCiJ1j6sH5Y0K6cdExqCCm8DJUTcwG5ThNXJj/G8o5E56u5EdG4SLy+bZAwZBswC+GYn3eGdttBVCg==", + "version": "5.43.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.43.0.tgz", + "integrity": "sha512-wNPzG+eDR6+hhW4yobEmpR36jrqqQv1vxBq5LJO3fBAktjkvekfr4BRl+3Fn1CM/A+s8/EiGUbOMDoYqWdbtXA==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "5.42.1", - "@typescript-eslint/type-utils": "5.42.1", - "@typescript-eslint/utils": "5.42.1", + "@typescript-eslint/scope-manager": "5.43.0", + "@typescript-eslint/type-utils": "5.43.0", + "@typescript-eslint/utils": "5.43.0", "debug": "^4.3.4", "ignore": "^5.2.0", "natural-compare-lite": "^1.4.0", @@ -12477,53 +12477,53 @@ } }, "@typescript-eslint/parser": { - "version": "5.42.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.42.1.tgz", - "integrity": "sha512-kAV+NiNBWVQDY9gDJDToTE/NO8BHi4f6b7zTsVAJoTkmB/zlfOpiEVBzHOKtlgTndCKe8vj9F/PuolemZSh50Q==", + "version": "5.43.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.43.0.tgz", + "integrity": "sha512-2iHUK2Lh7PwNUlhFxxLI2haSDNyXvebBO9izhjhMoDC+S3XI9qt2DGFUsiJ89m2k7gGYch2aEpYqV5F/+nwZug==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "5.42.1", - "@typescript-eslint/types": "5.42.1", - "@typescript-eslint/typescript-estree": "5.42.1", + "@typescript-eslint/scope-manager": "5.43.0", + "@typescript-eslint/types": "5.43.0", + "@typescript-eslint/typescript-estree": "5.43.0", "debug": "^4.3.4" } }, "@typescript-eslint/scope-manager": { - "version": "5.42.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.42.1.tgz", - "integrity": "sha512-QAZY/CBP1Emx4rzxurgqj3rUinfsh/6mvuKbLNMfJMMKYLRBfweus8brgXF8f64ABkIZ3zdj2/rYYtF8eiuksQ==", + "version": "5.43.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.43.0.tgz", + "integrity": "sha512-XNWnGaqAtTJsUiZaoiGIrdJYHsUOd3BZ3Qj5zKp9w6km6HsrjPk/TGZv0qMTWyWj0+1QOqpHQ2gZOLXaGA9Ekw==", "dev": true, "requires": { - "@typescript-eslint/types": "5.42.1", - "@typescript-eslint/visitor-keys": "5.42.1" + "@typescript-eslint/types": "5.43.0", + "@typescript-eslint/visitor-keys": "5.43.0" } }, "@typescript-eslint/type-utils": { - "version": "5.42.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.42.1.tgz", - "integrity": "sha512-WWiMChneex5w4xPIX56SSnQQo0tEOy5ZV2dqmj8Z371LJ0E+aymWD25JQ/l4FOuuX+Q49A7pzh/CGIQflxMVXg==", + "version": "5.43.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.43.0.tgz", + "integrity": "sha512-K21f+KY2/VvYggLf5Pk4tgBOPs2otTaIHy2zjclo7UZGLyFH86VfUOm5iq+OtDtxq/Zwu2I3ujDBykVW4Xtmtg==", "dev": true, "requires": { - "@typescript-eslint/typescript-estree": "5.42.1", - "@typescript-eslint/utils": "5.42.1", + "@typescript-eslint/typescript-estree": "5.43.0", + "@typescript-eslint/utils": "5.43.0", "debug": "^4.3.4", "tsutils": "^3.21.0" } }, "@typescript-eslint/types": { - "version": "5.42.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.42.1.tgz", - "integrity": "sha512-Qrco9dsFF5lhalz+lLFtxs3ui1/YfC6NdXu+RAGBa8uSfn01cjO7ssCsjIsUs484vny9Xm699FSKwpkCcqwWwA==", + "version": "5.43.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.43.0.tgz", + "integrity": "sha512-jpsbcD0x6AUvV7tyOlyvon0aUsQpF8W+7TpJntfCUWU1qaIKu2K34pMwQKSzQH8ORgUrGYY6pVIh1Pi8TNeteg==", "dev": true }, "@typescript-eslint/typescript-estree": { - "version": "5.42.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.42.1.tgz", - "integrity": "sha512-qElc0bDOuO0B8wDhhW4mYVgi/LZL+igPwXtV87n69/kYC/7NG3MES0jHxJNCr4EP7kY1XVsRy8C/u3DYeTKQmw==", + "version": "5.43.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.43.0.tgz", + "integrity": "sha512-BZ1WVe+QQ+igWal2tDbNg1j2HWUkAa+CVqdU79L4HP9izQY6CNhXfkNwd1SS4+sSZAP/EthI1uiCSY/+H0pROg==", "dev": true, "requires": { - "@typescript-eslint/types": "5.42.1", - "@typescript-eslint/visitor-keys": "5.42.1", + "@typescript-eslint/types": "5.43.0", + "@typescript-eslint/visitor-keys": "5.43.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -12532,28 +12532,28 @@ } }, "@typescript-eslint/utils": { - "version": "5.42.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.42.1.tgz", - "integrity": "sha512-Gxvf12xSp3iYZd/fLqiQRD4uKZjDNR01bQ+j8zvhPjpsZ4HmvEFL/tC4amGNyxN9Rq+iqvpHLhlqx6KTxz9ZyQ==", + "version": "5.43.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.43.0.tgz", + "integrity": "sha512-8nVpA6yX0sCjf7v/NDfeaOlyaIIqL7OaIGOWSPFqUKK59Gnumd3Wa+2l8oAaYO2lk0sO+SbWFWRSvhu8gLGv4A==", "dev": true, "requires": { "@types/json-schema": "^7.0.9", "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.42.1", - "@typescript-eslint/types": "5.42.1", - "@typescript-eslint/typescript-estree": "5.42.1", + "@typescript-eslint/scope-manager": "5.43.0", + "@typescript-eslint/types": "5.43.0", + "@typescript-eslint/typescript-estree": "5.43.0", "eslint-scope": "^5.1.1", "eslint-utils": "^3.0.0", "semver": "^7.3.7" } }, "@typescript-eslint/visitor-keys": { - "version": "5.42.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.42.1.tgz", - "integrity": "sha512-LOQtSF4z+hejmpUvitPlc4hA7ERGoj2BVkesOcG91HCn8edLGUXbTrErmutmPbl8Bo9HjAvOO/zBKQHExXNA2A==", + "version": "5.43.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.43.0.tgz", + "integrity": "sha512-icl1jNH/d18OVHLfcwdL3bWUKsBeIiKYTGxMJCoGe7xFht+E4QgzOqoWYrU8XSLJWhVw8nTacbm03v23J/hFTg==", "dev": true, "requires": { - "@typescript-eslint/types": "5.42.1", + "@typescript-eslint/types": "5.43.0", "eslint-visitor-keys": "^3.3.0" } }, @@ -14707,9 +14707,9 @@ } }, "globals": { - "version": "13.17.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz", - "integrity": "sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==", + "version": "13.18.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.18.0.tgz", + "integrity": "sha512-/mR4KI8Ps2spmoc0Ulu9L7agOF0du1CZNQ3dke8yItYlyKNmGrkONemBbd6V8UTc1Wgcqn21t3WYB7dbRmh6/A==", "dev": true, "requires": { "type-fest": "^0.20.2" @@ -18832,9 +18832,9 @@ }, "dependencies": { "ajv": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", - "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", + "version": "8.11.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.2.tgz", + "integrity": "sha512-E4bfmKAhGiSTvMfL1Myyycaub+cUEU2/IvpylXkUu7CHBkBj1f/ikdzbD7YQ6FKUbixDxeYvB/xY4fvyroDlQg==", "dev": true, "requires": { "fast-deep-equal": "^3.1.1", @@ -19186,9 +19186,9 @@ "dev": true }, "typescript": { - "version": "4.8.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz", - "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==", + "version": "4.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.3.tgz", + "integrity": "sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA==", "dev": true }, "typescript-transform-paths": { diff --git a/package.json b/package.json index c0271b1..07b6b28 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@ptkdev/aboutmeinfo-telegram-bot", "displayName": "About Me Info", "description": "Share your social profiles and links on Telegram", - "version": "0.6.6", + "version": "0.6.7-beta.1", "main": "dist/core/bot.js", "publishConfig": { "access": "public" @@ -65,12 +65,12 @@ }, "devDependencies": { "@ptkdev/all-shields-cli": "^2.0.2", - "@types/jest": "^29.2.2", + "@types/jest": "^29.2.3", "@types/node": "^18.11.9", "@types/shelljs": "^0.8.11", "@types/yargs": "^16.0.4", - "@typescript-eslint/eslint-plugin": "^5.42.1", - "@typescript-eslint/parser": "^5.42.1", + "@typescript-eslint/eslint-plugin": "^5.43.0", + "@typescript-eslint/parser": "^5.43.0", "all-contributors-cli": "^6.24.0", "eslint": "^7.32.0", "eslint-plugin-jest": "^27.1.5", @@ -85,7 +85,7 @@ "ts-jest": "^29.0.3", "ts-node": "^10.9.1", "ts-patch": "^2.0.2", - "typescript": "^4.8.4", + "typescript": "^4.9.3", "typescript-transform-paths": "^3.4.4", "yargs": "^17.6.2" },