sqs-consumer
Advanced tools
Comparing version 4.1.0 to 5.0.0-beta.0
{ | ||
"name": "sqs-consumer", | ||
"version": "4.1.0", | ||
"version": "5.0.0-beta.0", | ||
"description": "Build SQS-based Node applications without the boilerplate", | ||
"main": "index.js", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"scripts": { | ||
"build": "npm run clean && tsc", | ||
"watch": "tsc --watch", | ||
"clean": "rm -fr dist/*", | ||
"prepublish": "npm run build", | ||
"pretest": "npm run build", | ||
"test": "mocha", | ||
"lint": "tslint --project tsconfig.json", | ||
"coverage": "nyc mocha && nyc report --reporter=html && nyc report --reporter=json-summary", | ||
"lcov": "nyc mocha && nyc report --reporter=lcov", | ||
"lint": "eslint .", | ||
"posttest": "npm run lint" | ||
@@ -28,6 +34,15 @@ }, | ||
"devDependencies": { | ||
"@types/aws-sdk": "^2.7.0", | ||
"@types/chai": "^4.1.4", | ||
"@types/mocha": "^2.2.43", | ||
"@types/node": "^10.12.18", | ||
"@types/sinon": "^4.0.0", | ||
"@types/typescript": "^2.0.0", | ||
"chai": "^4.2.0", | ||
"ts-node": "^3.3.0", | ||
"tslint": "^5.12.1", | ||
"tslint-config-airbnb": "^5.3.1", | ||
"tslint-microsoft-contrib": "^5.0.3", | ||
"typescript": "^2.6.1", | ||
"codeclimate-test-reporter": "^0.5.1", | ||
"eslint": "^4.19.1", | ||
"eslint-config-iplayer": "^6.2.1", | ||
"mocha": "^5.2.0", | ||
@@ -42,8 +57,15 @@ "nyc": "^13.1.0", | ||
}, | ||
"eslintConfig": { | ||
"extends": "iplayer", | ||
"parserOptions": { | ||
"ecmaVersion": 2017 | ||
} | ||
"nyc": { | ||
"include": [ | ||
"src/**/*.ts" | ||
], | ||
"extension": [ | ||
".ts" | ||
], | ||
"require": [ | ||
"ts-node/register" | ||
], | ||
"sourceMap": true, | ||
"instrument": true | ||
} | ||
} |
@@ -19,3 +19,3 @@ # sqs-consumer | ||
```js | ||
const Consumer = require('sqs-consumer'); | ||
const { Consumer } = require('sqs-consumer'); | ||
@@ -137,1 +137,5 @@ const app = Consumer.create({ | ||
Consumer will receive and delete messages from the SQS queue. Ensure `sqs:ReceiveMessage` and `sqs:DeleteMessage` access is granted on the queue being consumed. | ||
### Contributing | ||
See contributing [guildlines](https://github.com/bbc/sqs-consumer/blob/master/CONTRIBUTING.md) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47527
22
1163
140
17
1
1