sqs-producer 8.0.0 → 8.0.1-canary.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.
package/CHANGELOG.md CHANGED
@@ -1,9 +1,5 @@
1
- ## [8.0.0](https://github.com/bbc/sqs-producer/compare/v7.0.0...v8.0.0) (2025-08-26)
1
+ ## [8.0.1-canary.1](https://github.com/bbc/sqs-producer/compare/v8.0.0...v8.0.1-canary.1) (2025-12-12)
2
2
 
3
3
  ### Chores
4
4
 
5
- * **deps:** update actions/dependency-review-action action to v4 ([#119](https://github.com/bbc/sqs-producer/issues/119)) ([d0541e8](https://github.com/bbc/sqs-producer/commit/d0541e85c28ac9662940ce2b1855c08e7ae7aa89))
6
- * **deps:** update github/codeql-action action to v3 ([#118](https://github.com/bbc/sqs-producer/issues/118)) ([611eddf](https://github.com/bbc/sqs-producer/commit/611eddf2e1150a58b354f3aeca9a3f5a67df4bb0))
7
- * update actions ([c8c2f30](https://github.com/bbc/sqs-producer/commit/c8c2f30cf22d885dccaf958ae995dc0e83426041))
8
- * updating dependencies ([43cf299](https://github.com/bbc/sqs-producer/commit/43cf2994de6b580bd0832f8e14745f7119c24f06))
9
- * updating node and deps ([#120](https://github.com/bbc/sqs-producer/issues/120)) ([16a83e5](https://github.com/bbc/sqs-producer/commit/16a83e5195d2a851e4e01792475a7378ff1722cf))
5
+ * aligning workflows and deps ([#127](https://github.com/bbc/sqs-producer/issues/127)) ([5459898](https://github.com/bbc/sqs-producer/commit/54598986a1703d880f5daa3d78b756fb499ce067))
package/README.md CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  [![NPM downloads](https://img.shields.io/npm/dm/sqs-producer.svg?style=flat)](https://npmjs.org/package/sqs-producer)
4
4
  [![Build Status](https://github.com/bbc/sqs-producer/actions/workflows/test.yml/badge.svg)](https://github.com/bbc/sqs-producer/actions/workflows/test.yml)
5
- [![Maintainability](https://api.codeclimate.com/v1/badges/5220635a4598c9f1a546/maintainability)](https://codeclimate.com/github/bbc/sqs-producer/maintainability)
6
- [![Test Coverage](https://api.codeclimate.com/v1/badges/5220635a4598c9f1a546/test_coverage)](https://codeclimate.com/github/bbc/sqs-producer/test_coverage)
7
5
 
8
6
  Enqueues messages onto a given SQS queue.
9
7
 
@@ -1 +1 @@
1
- {"root":["../../src/errors.ts","../../src/format.ts","../../src/index.ts","../../src/producer.ts","../../src/types.ts","../../src/validation.ts"],"version":"5.9.2"}
1
+ {"root":["../../src/errors.ts","../../src/format.ts","../../src/index.ts","../../src/producer.ts","../../src/types.ts","../../src/validation.ts"],"version":"5.9.3"}
@@ -1 +1 @@
1
- {"root":["../../src/errors.ts","../../src/format.ts","../../src/index.ts","../../src/producer.ts","../../src/types.ts","../../src/validation.ts"],"version":"5.9.2"}
1
+ {"root":["../../src/errors.ts","../../src/format.ts","../../src/index.ts","../../src/producer.ts","../../src/types.ts","../../src/validation.ts"],"version":"5.9.3"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sqs-producer",
3
- "version": "8.0.0",
3
+ "version": "8.0.1-canary.1",
4
4
  "description": "Enqueues messages onto a given SQS queue",
5
5
  "type": "module",
6
6
  "main": "dist/cjs/index.js",
@@ -17,42 +17,45 @@
17
17
  }
18
18
  }
19
19
  },
20
+ "engines": {
21
+ "node": ">=20.0.0"
22
+ },
20
23
  "scripts": {
21
- "test": "mocha --recursive --full-trace --exit",
22
- "posttest": "npm run lint && npm run format:check",
24
+ "clean": "rm -fr dist/*",
25
+ "compile": "tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json",
26
+ "add-package-jsons": "node ./scripts/addPackageJsons.js",
27
+ "build": "npm run clean && npm run compile && npm run add-package-jsons",
28
+ "prepublishOnly": "npm run build",
29
+ "release": "semantic-release",
30
+ "test:unit": "mocha --recursive --full-trace --exit",
31
+ "test:unit:report": "mocha --recursive --full-trace --exit --reporter json > test/reports/test-results.json",
32
+ "watch": "tsc --watch",
33
+ "pretest": "npm run build",
34
+ "test": "npm run test:unit:report",
23
35
  "coverage": "c8 mocha && c8 report --reporter=html && c8 report --reporter=json-summary",
24
36
  "lcov": "c8 mocha && c8 report --reporter=lcov",
25
37
  "lint": "eslint .",
26
38
  "lint:fix": "eslint . --fix",
27
39
  "format": "prettier --log-level warn --write \"**/*.{js,json,jsx,md,ts,tsx,html}\"",
28
40
  "format:check": "prettier --check \"**/*.{js,json,jsx,md,ts,tsx,html}\"",
29
- "compile": "tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json",
30
- "add-package-jsons": "node ./scripts/addPackageJsons.js",
31
- "build": "npm run clean && npm run compile && npm run add-package-jsons",
32
- "watch": "tsc --watch",
33
- "prepublishOnly": "npm run build",
34
- "pretest": "npm run build",
35
- "clean": "rm -fr dist/*",
41
+ "posttest": "npm run lint && npm run format:check",
36
42
  "generate-docs": "typedoc"
37
43
  },
38
- "engines": {
39
- "node": ">=20.0.0"
40
- },
41
44
  "repository": {
42
45
  "type": "git",
43
46
  "url": "https://github.com/bbc/sqs-producer.git"
44
47
  },
45
- "license": "Apache-2.0",
46
48
  "bugs": {
47
49
  "url": "https://github.com/bbc/sqs-producer/issues"
48
50
  },
51
+ "homepage": "https://bbc.github.io/sqs-producer/",
49
52
  "keywords": [
50
53
  "aws",
51
54
  "sqs",
52
55
  "producer",
53
56
  "queue"
54
57
  ],
55
- "homepage": "https://bbc.github.io/sqs-producer/",
58
+ "license": "Apache-2.0",
56
59
  "publishConfig": {
57
60
  "provenance": true
58
61
  },
@@ -148,39 +151,39 @@
148
151
  "@semantic-release/changelog": "^6.0.3",
149
152
  "@semantic-release/commit-analyzer": "^13.0.1",
150
153
  "@semantic-release/git": "^10.0.1",
151
- "@semantic-release/github": "^11.0.4",
152
- "@semantic-release/npm": "12.0.2",
153
- "@semantic-release/release-notes-generator": "^14.0.3",
154
- "@types/chai": "^5.2.2",
154
+ "@semantic-release/github": "^11.0.6",
155
+ "@semantic-release/npm": "^13.1.2",
156
+ "@semantic-release/release-notes-generator": "^14.1.0",
157
+ "@types/chai": "^5.2.3",
155
158
  "@types/mocha": "^10.0.10",
156
- "@types/node": "^24.3.0",
157
- "@types/sinon": "^17.0.4",
158
- "@typescript-eslint/eslint-plugin": "^8.41.0",
159
- "@typescript-eslint/parser": "^8.41.0",
160
- "chai": "^6.0.1",
159
+ "@types/node": "^25.0.1",
160
+ "@types/sinon": "^21.0.0",
161
+ "@typescript-eslint/eslint-plugin": "^8.49.0",
162
+ "@typescript-eslint/parser": "^8.49.0",
163
+ "chai": "^6.2.1",
161
164
  "conventional-changelog-conventionalcommits": "^9.1.0",
162
- "eslint": "^9.34.0",
163
- "eslint-config-eslint": "^12.0.0",
164
- "mocha": "^11.7.1",
165
+ "eslint": "^9.39.1",
166
+ "eslint-config-eslint": "^13.0.0",
167
+ "mocha": "^11.7.5",
165
168
  "c8": "^10.1.3",
166
- "prettier": "^3.6.2",
167
- "semantic-release": "^24.2.7",
169
+ "prettier": "^3.7.4",
170
+ "semantic-release": "^25.0.2",
168
171
  "sinon": "^21.0.0",
169
172
  "ts-node": "^10.9.2",
170
- "typedoc": "^0.28.11",
171
- "typescript": "^5.9.2"
173
+ "typedoc": "^0.28.15",
174
+ "typescript": "^5.9.3"
172
175
  },
173
176
  "dependencies": {
174
- "@aws-sdk/client-sqs": "^3.876.0"
177
+ "@aws-sdk/client-sqs": "^3.914.0"
175
178
  },
176
179
  "peerDependencies": {
177
- "@aws-sdk/client-sqs": "^3.876.0"
180
+ "@aws-sdk/client-sqs": "^3.914.0"
178
181
  },
179
182
  "mocha": {
180
183
  "extensions": [
181
184
  "ts"
182
185
  ],
183
- "spec": "test/**/**/*.test.ts",
186
+ "spec": "test/tests/**/**/*.test.ts",
184
187
  "node-option": [
185
188
  "loader=ts-node/esm"
186
189
  ]
package/.jsbeautifyrc DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "space_after_anon_function": true,
3
- "keep_array_indentation": "true",
4
- "indent_size": 2
5
- }