ac-bootstrap-bull 3.0.13 → 3.0.15

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/index.js +2 -2
  3. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -1,3 +1,20 @@
1
+ ## [3.0.15](https://github.com/admiralcloud/ac-bootstrap-bull/compare/v3.0.14..v3.0.15) (2026-04-24 18:27:41)
2
+
3
+
4
+ ### Bug Fix
5
+
6
+
7
+ * **App:** Replaced uuid with built-in function | MP | [579b5b2b7ebb9472b58a8298ef2de7122b5863f5](https://github.com/admiralcloud/ac-bootstrap-bull/commit/579b5b2b7ebb9472b58a8298ef2de7122b5863f5)
8
+ Replaced uuid with built-in function
9
+ Related issues:
10
+ ## [3.0.14](https://github.com/admiralcloud/ac-bootstrap-bull/compare/v3.0.13..v3.0.14) (2026-04-17 07:53:09)
11
+
12
+
13
+ ### Bug Fix
14
+
15
+
16
+ * **App:** Package updates | MP | [50bf8c77a3463c672748752256b47cbdd0979d9a](https://github.com/admiralcloud/ac-bootstrap-bull/commit/50bf8c77a3463c672748752256b47cbdd0979d9a)
17
+ Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1
18
  ## [3.0.13](https://github.com/admiralcloud/ac-bootstrap-bull/compare/v3.0.12..v3.0.13) (2026-04-04 10:49:38)
2
19
 
3
20
 
package/index.js CHANGED
@@ -2,7 +2,7 @@ const Queue = require('bull')
2
2
  const _ = require('lodash')
3
3
  const Redis = require('ioredis')
4
4
  const redisLock = require('ac-redislock')
5
- const { v4: uuidV4 } = require('uuid')
5
+
6
6
 
7
7
 
8
8
  module.exports = function(acapi) {
@@ -160,7 +160,7 @@ module.exports = function(acapi) {
160
160
  // prefix jobIds with customerId, make sure to set a jobId (uuidV4)
161
161
  const customerId = _.get(jobPayload, 'customerId')
162
162
  if (customerId) {
163
- const plainJobId = _.get(jobOptions, 'jobId') || _.get(jobPayload, 'jobId') || uuidV4()
163
+ const plainJobId = _.get(jobOptions, 'jobId') || _.get(jobPayload, 'jobId') || crypto.randomUUID()
164
164
  const jobId = plainJobId.startsWith(customerId) ? plainJobId : `${customerId}:::${plainJobId}`
165
165
  _.set(jobOptions, 'jobId', jobId)
166
166
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ac-bootstrap-bull",
3
- "version": "3.0.13",
3
+ "version": "3.0.15",
4
4
  "description": "Bull helper",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,7 +9,7 @@
9
9
  "author": "Mark Poepping <mark.poepping@admiralcloud.com>",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
- "ac-redislock": "^6.0.6",
12
+ "ac-redislock": "^6.0.7",
13
13
  "bull": "^4.16.5",
14
14
  "ioredis": "^5.10.1",
15
15
  "lodash": "^4.18.1"
@@ -18,11 +18,11 @@
18
18
  "test": "mocha test/**/*.test.js"
19
19
  },
20
20
  "devDependencies": {
21
- "ac-semantic-release": "^1.0.1",
22
- "chai": "^5.2.0",
23
- "eslint": "^10.2.0",
24
- "globals": "^17.4.0",
25
- "mocha": "^11.1.0"
21
+ "ac-semantic-release": "^1.0.2",
22
+ "chai": "^6.2.2",
23
+ "eslint": "^10.2.1",
24
+ "globals": "^17.5.0",
25
+ "mocha": "^11.7.5"
26
26
  },
27
27
  "resolutions": {
28
28
  "mocha/serialize-javascript": "^7.0.5",