Comparing version 1.8.4 to 1.8.5
@@ -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 @@ |
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1010848
8
- Removednode-uuid@^1.4.8
- Removednode-uuid@1.4.8(transitive)