New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More โ†’
Socket
Sign inDemoInstall
Socket

telegram-bot-api-nodejs

Package Overview
Dependencies
Maintainers
0
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

telegram-bot-api-nodejs - npm Package Compare versions

Comparing version 1.0.55 to 1.0.57

13

index.js

@@ -558,10 +558,15 @@ import { readFileSync } from "fs";

return global.fetch(url, param).catch(function (cause) {
const status = 0;
const data = {
throw new TelegramFetchDebugError(cause.message, { cause }, {
url: removeTokenFromUrl(url),
duration: Date.now() - start
};
throw new TelegramError(cause.message, status, data, { cause });
});
});
}
class TelegramFetchDebugError extends Error {
data;
constructor(message, options, data) {
super(message, options);
this.data = data;
}
}
export const SUPPORTED_REACTION_EMOJI = ["๐Ÿ‘", "๐Ÿ‘Ž", "\u2764\ufe0f" // red heart

@@ -568,0 +573,0 @@ ,

{
"name": "telegram-bot-api-nodejs",
"version": "1.0.55",
"version": "1.0.57",
"description": "Telegram Bot API client for nodejs",

@@ -27,5 +27,5 @@ "type": "module",

"devDependencies": {
"@types/node": "^22.10.1",
"@types/node": "^22.10.2",
"typescript": "^5.7.2"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc