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

jobq

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jobq - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

3

index.js

@@ -17,2 +17,3 @@ const uuid = require('node-uuid')

this.events = {}
this.debug = config.debug
this.maxProceses = config.maxProceses || 1

@@ -35,3 +36,3 @@ this.process = config.process

emit(event, payload) {
if (this.debug && console) console.log(`[${new Date()}][${event}]`)
if (this.debug && console) console.log(`[${new Date()}][${event}]`, payload)
if (this.events[event]) this.events[event](payload)

@@ -38,0 +39,0 @@ }

@@ -27,2 +27,3 @@ 'use strict';

this.events = {};
this.debug = config.debug;
this.maxProceses = config.maxProceses || 1;

@@ -48,3 +49,3 @@ this.process = config.process;

value: function emit(event, payload) {
if (this.debug && console) console.log('[' + new Date() + '][' + event + ']');
if (this.debug && console) console.log('[' + new Date() + '][' + event + ']', payload);
if (this.events[event]) this.events[event](payload);

@@ -51,0 +52,0 @@ }

{
"name": "jobq",
"version": "1.0.5",
"version": "1.0.6",
"description": "job queuer",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

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