sqs-consumer
Advanced tools
Comparing version 10.3.0 to 11.0.0-canary.1
@@ -1,12 +0,8 @@ | ||
## [10.3.0](https://github.com/bbc/sqs-consumer/compare/v10.2.1...v10.3.0) (2024-05-08) | ||
## [11.0.0-canary.1](https://github.com/bbc/sqs-consumer/compare/v10.3.0...v11.0.0-canary.1) (2024-06-28) | ||
### Features | ||
* add the ability to extend errors from aws ([#496](https://github.com/bbc/sqs-consumer/issues/496)) ([f4b071b](https://github.com/bbc/sqs-consumer/commit/f4b071b05e6cee304fcf866fa813e791338359d2)) | ||
### Chores | ||
* enhance ci reports ([#497](https://github.com/bbc/sqs-consumer/issues/497)) ([eded17a](https://github.com/bbc/sqs-consumer/commit/eded17adc06fe8414b7ea0732dd5cac2cd00f7e2)) | ||
* updating test-reporter ([645901d](https://github.com/bbc/sqs-consumer/commit/645901de5c60aa44dc45bc2ac5e5981581004b39)) | ||
* extend the branches that workflows run on ([18df66e](https://github.com/bbc/sqs-consumer/commit/18df66efa4a940e3b97de022686087f95b70e675)) | ||
* try adjusting the workflow for beta publishing ([25bbb27](https://github.com/bbc/sqs-consumer/commit/25bbb27889836efc8d68abc3f37f750fb72b9841)) | ||
* update conventional commits ([524db1c](https://github.com/bbc/sqs-consumer/commit/524db1c95f7cf43cda8aa2a40c61c1fb02e24297)) | ||
* updating versions to the latest possible ([#501](https://github.com/bbc/sqs-consumer/issues/501)) ([66c1819](https://github.com/bbc/sqs-consumer/commit/66c1819d52bc73d36b7269185c213a0b1fb23e70)) |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
import { ConsumerOptions, StopOptions, UpdatableOptions } from "./types.js"; | ||
@@ -3,0 +2,0 @@ import { TypedEventEmitter } from "./emitter.js"; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
import { EventEmitter } from "node:events"; | ||
@@ -3,0 +2,0 @@ import { Events } from "./types.js"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.toTimeoutError = exports.toStandardError = exports.toSQSError = exports.isConnectionError = exports.TimeoutError = exports.SQSError = void 0; | ||
exports.TimeoutError = exports.SQSError = void 0; | ||
exports.isConnectionError = isConnectionError; | ||
exports.toSQSError = toSQSError; | ||
exports.toStandardError = toStandardError; | ||
exports.toTimeoutError = toTimeoutError; | ||
class SQSError extends Error { | ||
@@ -50,3 +54,2 @@ constructor(message) { | ||
} | ||
exports.isConnectionError = isConnectionError; | ||
/** | ||
@@ -71,3 +74,2 @@ * Formats an AWSError the the SQSError type. | ||
} | ||
exports.toSQSError = toSQSError; | ||
/** | ||
@@ -84,3 +86,2 @@ * Formats an Error to the StandardError type. | ||
} | ||
exports.toStandardError = toStandardError; | ||
/** | ||
@@ -97,2 +98,1 @@ * Formats an Error to the TimeoutError type. | ||
} | ||
exports.toTimeoutError = toTimeoutError; |
@@ -82,3 +82,4 @@ import { SQSClient, Message, QueueAttributeName } from "@aws-sdk/client-sqs"; | ||
/** | ||
* If false uses the QueueUrl hostname as the endpoint. | ||
* Set this value to false to ignore the `queueUrl` and use the | ||
* client's resolved endpoint, which may be a custom endpoint. | ||
* @defaultValue `true` | ||
@@ -85,0 +86,0 @@ */ |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.validateOption = exports.assertOptions = exports.hasMessages = void 0; | ||
exports.hasMessages = hasMessages; | ||
exports.assertOptions = assertOptions; | ||
exports.validateOption = validateOption; | ||
const requiredOptions = [ | ||
@@ -45,3 +47,2 @@ "queueUrl", | ||
} | ||
exports.validateOption = validateOption; | ||
/** | ||
@@ -65,3 +66,2 @@ * Ensure that the required options have been set. | ||
} | ||
exports.assertOptions = assertOptions; | ||
/** | ||
@@ -74,2 +74,1 @@ * Determine if the response from SQS has messages in it. | ||
} | ||
exports.hasMessages = hasMessages; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
import { ConsumerOptions, StopOptions, UpdatableOptions } from "./types.js"; | ||
@@ -3,0 +2,0 @@ import { TypedEventEmitter } from "./emitter.js"; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
import { EventEmitter } from "node:events"; | ||
@@ -3,0 +2,0 @@ import { Events } from "./types.js"; |
@@ -82,3 +82,4 @@ import { SQSClient, Message, QueueAttributeName } from "@aws-sdk/client-sqs"; | ||
/** | ||
* If false uses the QueueUrl hostname as the endpoint. | ||
* Set this value to false to ignore the `queueUrl` and use the | ||
* client's resolved endpoint, which may be a custom endpoint. | ||
* @defaultValue `true` | ||
@@ -85,0 +86,0 @@ */ |
{ | ||
"name": "sqs-consumer", | ||
"version": "10.3.0", | ||
"version": "11.0.0-canary.1", | ||
"description": "Build SQS-based Node applications without the boilerplate", | ||
@@ -64,2 +64,3 @@ "type": "module", | ||
"main", | ||
"*.x", | ||
{ | ||
@@ -147,35 +148,37 @@ "name": "canary", | ||
"devDependencies": { | ||
"@cucumber/cucumber": "10.3.1", | ||
"@cucumber/cucumber": "^10.8.0", | ||
"@semantic-release/changelog": "^6.0.3", | ||
"@semantic-release/commit-analyzer": "^11.1.0", | ||
"@semantic-release/commit-analyzer": "^13.0.0", | ||
"@semantic-release/git": "^10.0.1", | ||
"@semantic-release/github": "^9.2.6", | ||
"@semantic-release/npm": "11.0.3", | ||
"@semantic-release/release-notes-generator": "^12.1.0", | ||
"@types/chai": "^4.3.12", | ||
"@types/mocha": "^10.0.6", | ||
"@types/node": "^20.11.25", | ||
"@semantic-release/github": "^10.0.6", | ||
"@semantic-release/npm": "^12.0.1", | ||
"@semantic-release/release-notes-generator": "^14.0.1", | ||
"@types/chai": "^4.3.16", | ||
"@types/mocha": "^10.0.7", | ||
"@types/node": "^20.14.9", | ||
"@types/sinon": "^17.0.3", | ||
"@typescript-eslint/eslint-plugin": "^5.62.0", | ||
"@typescript-eslint/parser": "^5.62.0", | ||
"c8": "^9.1.0", | ||
"chai": "5.1.0", | ||
"conventional-changelog-conventionalcommits": "^7.0.2", | ||
"chai": "^5.1.1", | ||
"conventional-changelog-conventionalcommits": "^8.0.0", | ||
"eslint": "^8.57.0", | ||
"eslint-config-iplayer": "^9.2.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"mocha": "^10.3.0", | ||
"p-event": "6.0.1", | ||
"prettier": "^3.2.5", | ||
"semantic-release": "^23.0.2", | ||
"sinon": "^17.0.1", | ||
"mocha": "^10.5.2", | ||
"p-event": "^6.0.1", | ||
"prettier": "^3.3.2", | ||
"semantic-release": "^24.0.0", | ||
"sinon": "^18.0.0", | ||
"sqs-producer": "^5.0.0", | ||
"ts-node": "^10.9.2", | ||
"typedoc": "^0.25.12", | ||
"typescript": "^5.4.2" | ||
"typedoc": "^0.26.3", | ||
"typescript": "^5.5.2" | ||
}, | ||
"dependencies": { | ||
"@aws-sdk/client-sqs": "^3.529.1", | ||
"debug": "^4.3.4" | ||
"@aws-sdk/client-sqs": "^3.600.0", | ||
"debug": "^4.3.5" | ||
}, | ||
"peerDependencies": { | ||
"@aws-sdk/client-sqs": "^3.529.1" | ||
"@aws-sdk/client-sqs": "^3.600.0" | ||
}, | ||
@@ -182,0 +185,0 @@ "mocha": { |
@@ -83,3 +83,4 @@ import { SQSClient, Message, QueueAttributeName } from "@aws-sdk/client-sqs"; | ||
/** | ||
* If false uses the QueueUrl hostname as the endpoint. | ||
* Set this value to false to ignore the `queueUrl` and use the | ||
* client's resolved endpoint, which may be a custom endpoint. | ||
* @defaultValue `true` | ||
@@ -86,0 +87,0 @@ */ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
161808
28
3562
1
Updated@aws-sdk/client-sqs@^3.600.0
Updateddebug@^4.3.5