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

botbuilder

Package Overview
Dependencies
Maintainers
1
Versions
631
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

botbuilder - npm Package Compare versions

Comparing version 3.5.3 to 3.5.4

10

lib/bots/ChatConnector.js

@@ -8,3 +8,2 @@ "use strict";

var async = require("async");
var url = require("url");
var jwt = require("jsonwebtoken");

@@ -539,11 +538,2 @@ var zlib = require("zlib");

msg.source = address.channelId;
if (address.serviceUrl) {
try {
var u = url.parse(address.serviceUrl);
address.serviceUrl = u.protocol + '//' + u.host;
}
catch (e) {
console.error("ChatConnector error parsing '" + address.serviceUrl + "': " + e.toString());
}
}
if (msg.source == 'facebook' && msg.sourceEvent && msg.sourceEvent.message && msg.sourceEvent.message.quick_reply) {

@@ -550,0 +540,0 @@ msg.text = msg.sourceEvent.message.quick_reply.payload;

2

lib/dialogs/Dialog.js

@@ -20,3 +20,3 @@ "use strict";

function Dialog() {
return _super.apply(this, arguments) || this;
return _super !== null && _super.apply(this, arguments) || this;
}

@@ -23,0 +23,0 @@ Dialog.prototype.begin = function (session, args) {

@@ -111,3 +111,3 @@ "use strict";

function Prompts() {
return _super.apply(this, arguments) || this;
return _super !== null && _super.apply(this, arguments) || this;
}

@@ -114,0 +114,0 @@ Prompts.prototype.begin = function (session, args) {

@@ -5,3 +5,3 @@ {

"description": "Bot Builder is a dialog system for building rich bots on virtually any platform.",
"version": "3.5.3",
"version": "3.5.4",
"license": "MIT",

@@ -8,0 +8,0 @@ "keywords": [

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