Socket
Socket
Sign inDemoInstall

sqs-consumer

Package Overview
Dependencies
Maintainers
1
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sqs-consumer - npm Package Compare versions

Comparing version 4.1.0 to 5.0.0-beta.0

dist/bind.d.ts

42

package.json
{
"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)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc