Socket
Socket
Sign inDemoInstall

bullmq

Package Overview
Dependencies
Maintainers
1
Versions
531
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bullmq - npm Package Compare versions

Comparing version 1.8.4 to 1.8.5

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [1.8.5](https://github.com/taskforcesh/bullmq/compare/v1.8.4...v1.8.5) (2020-04-05)
### Bug Fixes
* removed deprecated and unused node-uuid ([c810579](https://github.com/taskforcesh/bullmq/commit/c810579029d33ef47d5a7563e63126a69c62fd87))
## [1.8.4](https://github.com/taskforcesh/bullmq/compare/v1.8.3...v1.8.4) (2020-03-17)

@@ -2,0 +9,0 @@

4

dist/classes/timer-manager.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const uuid = require("uuid");
const uuid_1 = require("uuid");
/**

@@ -13,3 +13,3 @@ * Keeps track on timers created with setTimeout to help clearTimeout

setTimer(name, delay, fn) {
const id = uuid.v4();
const id = uuid_1.v4();
const timer = setTimeout(timeoutId => {

@@ -16,0 +16,0 @@ this.clearTimer(timeoutId);

@@ -11,3 +11,3 @@ "use strict";

const scripts_1 = require("./scripts");
const uuid = require("uuid");
const uuid_1 = require("uuid");
const timer_manager_1 = require("./timer-manager");

@@ -81,3 +81,3 @@ const utils_1 = require("../utils");

const processing = (this.processing = new Map());
const tokens = Array.from({ length: opts.concurrency }, () => uuid.v4());
const tokens = Array.from({ length: opts.concurrency }, () => uuid_1.v4());
while (!this.closing) {

@@ -84,0 +84,0 @@ if (processing.size < opts.concurrency) {

{
"name": "bullmq",
"version": "1.8.4",
"version": "1.8.5",
"description": "Queue for messages and jobs based on Redis",

@@ -31,3 +31,2 @@ "main": "dist/index.js",

"lodash": "^4.17.11",
"node-uuid": "^1.4.8",
"semver": "^6.3.0",

@@ -34,0 +33,0 @@ "tslib": "^1.10.0",

@@ -1,2 +0,2 @@

import * as uuid from 'uuid';
import { v4 } from 'uuid';

@@ -11,3 +11,3 @@ /**

public setTimer(name: string, delay: number, fn: Function) {
const id = uuid.v4();
const id = v4();
const timer = setTimeout(

@@ -14,0 +14,0 @@ timeoutId => {

@@ -11,3 +11,3 @@ import * as fs from 'fs';

import { Scripts } from './scripts';
import * as uuid from 'uuid';
import { v4 } from 'uuid';
import { TimerManager } from './timer-manager';

@@ -125,3 +125,3 @@ import { isRedisInstance } from '../utils';

const tokens: string[] = Array.from({ length: opts.concurrency }, () =>
uuid.v4(),
v4(),
);

@@ -128,0 +128,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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