ac-sqs 4.0.8 → 4.0.10

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.
package/.ncurc.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // List packages for minor updates
2
- const minorUpdatePackages = ['chai', 'uuid']
2
+ const minorUpdatePackages = ['chai']
3
3
 
4
4
  module.exports = {
5
5
  target: packageName => {
package/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ## [4.0.10](https://github.com/admiralcloud/ac-sqs/compare/v4.0.9..v4.0.10) (2026-05-18 19:22:12)
2
+
3
+
4
+ ### Bug Fix
5
+
6
+
7
+ * **App:** Package updates | MP | [dab24b034067cbbcf055c21ce0267a583dd4b9c2](https://github.com/admiralcloud/ac-sqs/commit/dab24b034067cbbcf055c21ce0267a583dd4b9c2)
8
+ Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
9
+ ## [4.0.9](https://github.com/admiralcloud/ac-sqs/compare/v4.0.8..v4.0.9) (2026-04-24 19:01:18)
10
+
11
+
12
+ ### Bug Fix
13
+
14
+
15
+ * **App:** Package updates | Replaced uuid package with built-in function | MP | [b91ecb3be31a2c1f9296595e1fc36f55a26cd725](https://github.com/admiralcloud/ac-sqs/commit/b91ecb3be31a2c1f9296595e1fc36f55a26cd725)
16
+ Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1
17
  ## [4.0.8](https://github.com/admiralcloud/ac-sqs/compare/v4.0.7..v4.0.8) (2026-04-24 18:57:41)
2
18
 
3
19
 
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  const _ = require('lodash')
2
- const { v4: uuidV4 } = require('uuid')
2
+ const { randomUUID } = require('crypto')
3
3
  const { setTimeout: sleep } = require('timers/promises')
4
4
 
5
5
  const { SQSClient, SendMessageCommand, SendMessageBatchCommand, ReceiveMessageCommand, DeleteMessageBatchCommand, GetQueueAttributesCommand, ChangeMessageVisibilityBatchCommand, GetQueueUrlCommand, CreateQueueCommand } = require('@aws-sdk/client-sqs')
@@ -405,7 +405,7 @@ class ACSQS {
405
405
 
406
406
  if (this.useS3 && message.length > messageThreshold) {
407
407
  // store message in S3
408
- const key = uuidV4()
408
+ const key = randomUUID()
409
409
  const input = {
410
410
  Bucket: this.bucket,
411
411
  Key: key,
@@ -451,7 +451,7 @@ class ACSQS {
451
451
 
452
452
  let processedBody = messageBody
453
453
  if (this.useS3 && messageBody.length > this.messageThreshold) {
454
- const key = uuidV4()
454
+ const key = randomUUID()
455
455
  const input = {
456
456
  Bucket: this.bucket,
457
457
  Key: key,
package/package.json CHANGED
@@ -3,18 +3,17 @@
3
3
  "author": "Mark Poepping (https://www.admiralcloud.com)",
4
4
  "license": "MIT",
5
5
  "repository": "admiralcloud/ac-sqs",
6
- "version": "4.0.8",
6
+ "version": "4.0.10",
7
7
  "dependencies": {
8
- "@aws-sdk/client-s3": "^3.1036.0",
9
- "@aws-sdk/client-sqs": "^3.1036.0",
10
- "lodash": "^4.18.1",
11
- "uuid": "^11.1.0"
8
+ "@aws-sdk/client-s3": "^3.1048.0",
9
+ "@aws-sdk/client-sqs": "^3.1048.0",
10
+ "lodash": "^4.18.1"
12
11
  },
13
12
  "devDependencies": {
14
13
  "ac-semantic-release": "^1.0.2",
15
14
  "chai": "^4.5.0",
16
- "eslint": "^10.2.1",
17
- "globals": "^17.5.0",
15
+ "eslint": "^10.4.0",
16
+ "globals": "^17.6.0",
18
17
  "mocha": "^11.7.5",
19
18
  "sinon": "^21.1.2"
20
19
  },