sqs-producer 3.2.1 → 3.4.0
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/.github/workflows/test.yml +1 -1
- package/README.md +4 -0
- package/package.json +22 -21
package/README.md
CHANGED
|
@@ -20,6 +20,10 @@ npm install sqs-producer
|
|
|
20
20
|
> npm install sqs-producer@2.2.0 --save-dev
|
|
21
21
|
> ```
|
|
22
22
|
|
|
23
|
+
### Node Version
|
|
24
|
+
|
|
25
|
+
We will only support Node versions that are actively or security supported by the Node team. If you are still using an Node 14, please use a version of this library before the v3.2.1 release, if you are using Node 16, please use a version before the v3.3.0 release.
|
|
26
|
+
|
|
23
27
|
## Usage
|
|
24
28
|
|
|
25
29
|
```js
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sqs-producer",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"description": "Enqueues messages onto a given SQS queue",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"test": "mocha --recursive --full-trace --exit",
|
|
9
9
|
"posttest": "npm run lint && npm run format:check",
|
|
10
|
-
"coverage": "
|
|
11
|
-
"lcov": "
|
|
10
|
+
"coverage": "c8 mocha && c8 report --reporter=html && c8 report --reporter=json-summary",
|
|
11
|
+
"lcov": "c8 mocha && c8 report --reporter=lcov",
|
|
12
12
|
"lint": "eslint . --ext .ts",
|
|
13
13
|
"lint:fix": "eslint . --fix",
|
|
14
14
|
"format": "prettier --loglevel warn --write \"**/*.{js,json,jsx,md,ts,tsx,html}\"",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"clean": "rm -fr dist/*"
|
|
21
21
|
},
|
|
22
22
|
"engines": {
|
|
23
|
-
"node": ">=
|
|
23
|
+
"node": ">=18.0.0"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|
|
@@ -38,33 +38,33 @@
|
|
|
38
38
|
],
|
|
39
39
|
"homepage": "https://github.com/bbc/sqs-producer",
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@types/chai": "^4.3.
|
|
42
|
-
"@types/debug": "^4.1.
|
|
43
|
-
"@types/mocha": "^10.0.
|
|
44
|
-
"@types/node": "^20.
|
|
45
|
-
"@types/sinon": "^10.0.
|
|
46
|
-
"chai": "^4.3.
|
|
47
|
-
"eslint": "^8.
|
|
48
|
-
"eslint-config-iplayer
|
|
49
|
-
"eslint-config-prettier": "^
|
|
41
|
+
"@types/chai": "^4.3.9",
|
|
42
|
+
"@types/debug": "^4.1.10",
|
|
43
|
+
"@types/mocha": "^10.0.3",
|
|
44
|
+
"@types/node": "^20.8.7",
|
|
45
|
+
"@types/sinon": "^10.0.20",
|
|
46
|
+
"chai": "^4.3.10",
|
|
47
|
+
"eslint": "^8.52.0",
|
|
48
|
+
"eslint-config-iplayer": "^9.1.0",
|
|
49
|
+
"eslint-config-prettier": "^9.0.0",
|
|
50
50
|
"mocha": "^10.2.0",
|
|
51
|
-
"
|
|
52
|
-
"prettier": "^3.0.
|
|
53
|
-
"sinon": "^
|
|
51
|
+
"c8": "^8.0.1",
|
|
52
|
+
"prettier": "^3.0.3",
|
|
53
|
+
"sinon": "^17.0.0",
|
|
54
54
|
"ts-node": "^10.9.1",
|
|
55
|
-
"typescript": "^5.
|
|
55
|
+
"typescript": "^5.2.2"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@aws-sdk/client-sqs": "^3.
|
|
58
|
+
"@aws-sdk/client-sqs": "^3.428.0"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
|
-
"@aws-sdk/client-sqs": "^3.
|
|
61
|
+
"@aws-sdk/client-sqs": "^3.428.0"
|
|
62
62
|
},
|
|
63
63
|
"mocha": {
|
|
64
64
|
"spec": "test/**/**/*.test.ts",
|
|
65
65
|
"require": "ts-node/register"
|
|
66
66
|
},
|
|
67
|
-
"
|
|
67
|
+
"c8": {
|
|
68
68
|
"include": [
|
|
69
69
|
"src/**/*.ts"
|
|
70
70
|
],
|
|
@@ -79,7 +79,8 @@
|
|
|
79
79
|
},
|
|
80
80
|
"eslintConfig": {
|
|
81
81
|
"extends": [
|
|
82
|
-
"iplayer
|
|
82
|
+
"iplayer/base",
|
|
83
|
+
"iplayer/ts",
|
|
83
84
|
"prettier"
|
|
84
85
|
],
|
|
85
86
|
"parserOptions": {
|