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 0.6.4 to 0.6.5

4

lib/dialogs/EntityRecognizer.js

@@ -196,4 +196,4 @@ var utils = require('../utils');

EntityRecognizer.dateExp = /^\d{4}-\d{2}-\d{2}/i;
EntityRecognizer.yesExp = /^(1|y|yes|yep|sure|ok|true)\z/i;
EntityRecognizer.noExp = /^(0|n|no|nope|not|false)\z/i;
EntityRecognizer.yesExp = /^(1|y|yes|yep|sure|ok|true)/i;
EntityRecognizer.noExp = /^(0|n|no|nope|not|false)/i;
EntityRecognizer.numberExp = /[+-]?(?:\d+\.?\d*|\d*\.?\d+)/;

@@ -200,0 +200,0 @@ return EntityRecognizer;

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

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

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

@@ -46,2 +46,6 @@ var assert = require('assert');

assert(results.response && results.response.entity === 'green');
builder.Prompts.confirm(session, 'Is green your choice?');
},
function (session, results) {
assert(results.response && results.response === true);
builder.Prompts.time(session, 'enter a time');

@@ -69,5 +73,8 @@ },

case 4:
bot.processMessage({ text: 'yes' });
break;
case 5:
bot.processMessage({ text: 'in 5 minutes' });
break;
case 5:
case 6:
assert(message.text == 'done');

@@ -74,0 +81,0 @@ done();

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