New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

bub

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bub - npm Package Compare versions

Comparing version
0.5.0
to
0.5.1
+1
-1
package.json
{
"name": "bub",
"version": "0.5.0",
"version": "0.5.1",
"description": "A framework to build Telegram bots with Node",

@@ -5,0 +5,0 @@ "main": "src/bub.js",

@@ -31,2 +31,4 @@ # bub

var fs = require('fs');
// User commands are handled with `on()`

@@ -36,2 +38,4 @@ bot.on('/start', function (result) {

result.respond('Hello, ' + result.message.from.first_name);
// Shoot a stream for photos, audio and video
result.respond(fs.createReadStream('/home/me/image.png'));
});

@@ -38,0 +42,0 @@