@alanszp/queue 20.4.0 → 20.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,12 +10,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.shutdownQueue = shutdownQueue;
13
- const lodash_1 = require("lodash");
14
13
  const connectionManager_1 = require("./connectionManager");
15
14
  const workerRepository_1 = require("./worker/workerRepository");
16
15
  function shutdownQueue(queueManagers) {
17
16
  return __awaiter(this, void 0, void 0, function* () {
18
- const queueManagersArray = (0, lodash_1.isArray)(queueManagers)
17
+ const queueManagersArray = Array.isArray(queueManagers)
19
18
  ? queueManagers
20
19
  : [queueManagers];
21
20
  yield Promise.all([
@@ -1 +1 @@
1
- {"version":3,"file":"shutdownQueue.js","sourceRoot":"","sources":["../src/shutdownQueue.ts"],"names":[],"mappings":";;;;;;;;;;;AAMA,sCAmBC;AAzBD,mCAAiC;AACjC,2DAAwD;AAGxD,gEAA6D;AAE7D,SAAsB,aAAa,CAKjC,aAEiD;;QAEjD,MAAM,kBAAkB,GAAG,IAAA,gBAAO,EAAC,aAAa,CAAC;YAC/C,CAAC,CAAC,aAAa;YACf,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;QAEpB,MAAM,OAAO,CAAC,GAAG,CAAC;YAChB,GAAG,mCAAgB,CAAC,QAAQ,CAAC,mBAAmB,EAAE;YAClD,GAAG,kBAAkB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,aAAa,EAAE,CAAC;SACpD,CAAC,CAAC;QAEH,qCAAiB,CAAC,WAAW,EAAE,CAAC,KAAK,EAAE,CAAC;IAC1C,CAAC;CAAA"}
1
+ {"version":3,"file":"shutdownQueue.js","sourceRoot":"","sources":["../src/shutdownQueue.ts"],"names":[],"mappings":";;;;;;;;;;;AAKA,sCAmBC;AAxBD,2DAAwD;AAGxD,gEAA6D;AAE7D,SAAsB,aAAa,CAKjC,aAEiD;;QAEjD,MAAM,kBAAkB,GAAG,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC;YACrD,CAAC,CAAC,aAAa;YACf,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;QAEpB,MAAM,OAAO,CAAC,GAAG,CAAC;YAChB,GAAG,mCAAgB,CAAC,QAAQ,CAAC,mBAAmB,EAAE;YAClD,GAAG,kBAAkB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,aAAa,EAAE,CAAC;SACpD,CAAC,CAAC;QAEH,qCAAiB,CAAC,WAAW,EAAE,CAAC,KAAK,EAAE,CAAC;IAC1C,CAAC;CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alanszp/queue",
3
- "version": "20.4.0",
3
+ "version": "20.4.1",
4
4
  "description": "Workers and queues",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -11,29 +11,31 @@
11
11
  "scripts": {
12
12
  "compile": "rm -rf ./dist && tsc --declaration",
13
13
  "compile-watch": "tsc -w",
14
- "build": "yarn run compile",
15
- "prepack": "yarn run build",
16
- "yalc-publish": "yarn run yalc publish"
14
+ "build": "pnpm run compile",
15
+ "prepack": "pnpm run build",
16
+ "yalc-publish": "pnpm run yalc publish"
17
17
  },
18
18
  "devDependencies": {
19
- "@alanszp/audit": "^20.4.0",
20
- "@alanszp/logger": "^20.4.0",
21
- "@alanszp/shared-context": "^20.4.0",
19
+ "@alanszp/audit": "^20.4.1",
20
+ "@alanszp/logger": "^20.4.1",
21
+ "@alanszp/shared-context": "^20.4.1",
22
+ "@types/jest": "^29.5.12",
22
23
  "@types/newrelic": "^9.14.4",
23
24
  "@types/node": "^24.0.0",
24
- "class-validator": "^0.14.1",
25
+ "class-validator": "^0.15.1",
25
26
  "ts-node": "^10.0.0",
26
27
  "tslint": "^6.1.3",
27
28
  "typescript": "^5.9.3"
28
29
  },
29
30
  "dependencies": {
30
- "@alanszp/core": "^20.3.0",
31
- "@alanszp/validations": "^20.3.0",
31
+ "@alanszp/core": "^20.4.1",
32
+ "@alanszp/errors": "^20.4.1",
33
+ "@alanszp/validations": "^20.4.1",
32
34
  "@paralleldrive/cuid2": "^2.2.2",
33
- "bullmq": "^5.71.0",
35
+ "bullmq": "^5.76.6",
34
36
  "ioredis": "^5.9.3",
35
37
  "lodash": "^4.17.23",
36
38
  "newrelic": "^13.17.0"
37
39
  },
38
- "gitHead": "938b0f969ae752d070a229f85a6aca40cfe8d220"
40
+ "gitHead": "f365044a8917622b2e3bf847e712d9192750dbd0"
39
41
  }