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

jerk

Package Overview
Dependencies
Maintainers
0
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jerk - npm Package Compare versions

Comparing version 1.1.7 to 1.1.8

31

lib/jerk.js

@@ -27,3 +27,2 @@ var sys = require( 'sys' )

function _connect( options ) {
var i
bot = new IRC( options || {} )

@@ -33,14 +32,6 @@ bot

.connect( function() {
bot.once( 'ping', function() {
setTimeout( function() {
// Join channels
if ( Array.isArray( bot.options.channels ) )
for ( i = 0; i < bot.options.channels.length; i++ )
this.join( bot.options.channels[i] )
// Call onConnect callback
if ( options.onConnect )
options.onConnect()
}.bind( this ), options.delayAfterConnect || 15000 )
})
if ( options.waitForPing )
bot.once( 'ping', _on_connect )
else
_on_connect.call( bot )
})

@@ -56,2 +47,16 @@

function _on_connect() {
setTimeout( function(){
// Join channels
var i
if ( Array.isArray( this.options.channels ) )
for ( i = 0; i < this.options.channels.length; i++ )
this.join( this.options.channels[i] )
// Call onConnect callback
if ( this.options.onConnect )
this.options.onConnect()
}.bind( this ), this.options.delayAfterConnect || 1000 )
}
function _watch_for( pattern, hollaback ) {

@@ -58,0 +63,0 @@ watchers.push([ pattern, hollaback ])

@@ -9,3 +9,3 @@ { "name" : "jerk"

, "homepage" : "http://github.com/gf3/Jerk"
, "version" : "1.1.7"
, "version" : "1.1.8"
, "main" : "./lib/jerk"

@@ -12,0 +12,0 @@ , "dependencies" :

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