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

webot-chat-wall

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webot-chat-wall - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

6

Gruntfile.js

@@ -41,2 +41,7 @@ // Generated on 2014-01-07 using generator-nodejs 0.1.0

}
},
bumpup: {
files: [
'package.json'
]
}

@@ -49,2 +54,3 @@ });

grunt.loadNpmTasks('grunt-mocha-cli');
grunt.loadNpmTasks('grunt-bumpup');

@@ -51,0 +57,0 @@ grunt.registerTask('test', ['complexity', 'jshint', 'mochacli', 'watch']);

9

index.js

@@ -5,3 +5,5 @@ var Webot = require('webot').Webot;

module.exports = function createBot(events, guests, messages) {
// The models are passed via function, since it may not be available when the bot is created
module.exports = function createBot(getModels) {
var webot = new Webot();

@@ -19,2 +21,7 @@

handler: function joinHandler(info, next) {
var models = getModels();
var events = models.event;
var guests = models.guest;
var messages = models.message;
var name = info.param[1];

@@ -21,0 +28,0 @@ events.findOne({name: name}, function (err, event) {

7

package.json
{
"name": "webot-chat-wall",
"version": "0.0.1",
"version": "0.0.2",
"description": "webot that works for a chat wall supporting RSVP and chat recording",

@@ -34,4 +34,5 @@ "main": "index.js",

"waterline": "~0.9.11",
"sails-memory": "~0.9.1"
"sails-memory": "~0.9.1",
"grunt-bumpup": "~0.5.0"
}
}
}
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