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

node-resque

Package Overview
Dependencies
Maintainers
3
Versions
181
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-resque - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

15

examples/customPluginExample.js

@@ -42,10 +42,3 @@ /////////////////////////

myPlugin.prototype.before_enqueue = function(callback){
callback(null, true);
};
myPlugin.prototype.after_enqueue = function(callback){
callback(null, true);
};
// Learn all the callbacks you can use from the Readme.
myPlugin.prototype.before_perform = function(callback){

@@ -56,6 +49,2 @@ console.log(this.options.messagePrefix + " | " + JSON.stringify(this.args));

myPlugin.prototype.after_perform = function(callback){
callback(null, true);
};
//////////////////////////////

@@ -124,2 +113,2 @@ // DEFINE YOUR WORKER TASKS //

}
}
};

2

lib/pluginRunner.js

@@ -9,3 +9,3 @@ var runPlugin = function(self, pluginRefrence, type, func, queue, job, args, callback){

if(typeof pluginRefrence === 'function'){
pluginName = new pluginRefrence().name;
pluginName = new pluginRefrence(self, func, queue, job, args, {}).name;
}

@@ -12,0 +12,0 @@

@@ -6,3 +6,3 @@ {

"license": "Apache-2.0",
"version": "1.1.1",
"version": "1.1.2",
"homepage": "http://github.com/taskrabbit/node-resque",

@@ -9,0 +9,0 @@ "repository": {

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