Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

telegraf

Package Overview
Dependencies
Maintainers
1
Versions
241
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

telegraf - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

8

lib/platform.js

@@ -63,4 +63,8 @@ module.exports = {

text: (message) => {
var result = {text: message.text}
console.log(message.entities)
const result = {
text: message.text
}
if (message.entities) {
return result
}
message.entities.reverse().forEach((entity) => {

@@ -67,0 +71,0 @@ switch (entity.type) {

{
"name": "telegraf",
"version": "2.0.1",
"version": "2.0.2",
"description": "📢 Modern Telegram bot framework",

@@ -5,0 +5,0 @@ "main": "lib/telegraf.js",

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