sqs-producer 3.3.0 → 4.0.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.
@@ -5,6 +5,11 @@ on:
5
5
  pull_request_target:
6
6
  types: [opened,closed,synchronize]
7
7
 
8
+ permissions:
9
+ contents: write
10
+ issues: write
11
+ pull-requests: write
12
+
8
13
  jobs:
9
14
  CLAAssistant:
10
15
  runs-on: ubuntu-latest
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "sqs-producer",
3
- "version": "3.3.0",
3
+ "version": "4.0.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": "nyc mocha && nyc report --reporter=html && nyc report --reporter=json-summary",
11
- "lcov": "nyc mocha && nyc report --reporter=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}\"",
@@ -38,33 +38,33 @@
38
38
  ],
39
39
  "homepage": "https://github.com/bbc/sqs-producer",
40
40
  "devDependencies": {
41
- "@types/chai": "^4.3.5",
42
- "@types/debug": "^4.1.8",
43
- "@types/mocha": "^10.0.1",
44
- "@types/node": "^20.4.1",
45
- "@types/sinon": "^10.0.15",
46
- "chai": "^4.3.7",
47
- "eslint": "^8.44.0",
48
- "eslint-config-iplayer-ts": "^4.1.1",
49
- "eslint-config-prettier": "^8.8.0",
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
- "nyc": "^15.1.0",
52
- "prettier": "^3.0.0",
53
- "sinon": "^15.2.0",
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.1.6"
55
+ "typescript": "^5.2.2"
56
56
  },
57
57
  "dependencies": {
58
- "@aws-sdk/client-sqs": "^3.363.0"
58
+ "@aws-sdk/client-sqs": "^3.454.0"
59
59
  },
60
60
  "peerDependencies": {
61
- "@aws-sdk/client-sqs": "^3.363.0"
61
+ "@aws-sdk/client-sqs": "^3.454.0"
62
62
  },
63
63
  "mocha": {
64
64
  "spec": "test/**/**/*.test.ts",
65
65
  "require": "ts-node/register"
66
66
  },
67
- "nyc": {
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-ts",
82
+ "iplayer/base",
83
+ "iplayer/ts",
83
84
  "prettier"
84
85
  ],
85
86
  "parserOptions": {