Skip to content

Commit

Permalink
chore(deps-dev): bump @types/amqplib from 0.8.2 to 0.10.0
Browse files Browse the repository at this point in the history
Bumps [@types/amqplib](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/amqplib) from 0.8.2 to 0.10.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/amqplib)

---
updated-dependencies:
- dependency-name: "@types/amqplib"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored and argoyle committed Nov 15, 2022
1 parent 99737c7 commit 9781e0c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
5 changes: 3 additions & 2 deletions lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {
connect,
Connection as AMQPConn,
ConsumeMessage,
Replies,
} from "amqplib";
import { hostname } from "os";
import {
Expand Down Expand Up @@ -208,7 +209,7 @@ class Connection {
.catch((e) => Promise.reject(new Error(e)));
}

queueDeclare(queueName: string): Promise<void> {
queueDeclare(queueName: string): Promise<Replies.AssertQueue | void> {
return this.channel!.assertQueue(queueName, {
durable: true,
autoDelete: false,
Expand All @@ -217,7 +218,7 @@ class Connection {
}).catch((e) => Promise.reject(new Error(e)));
}

transientQueueDeclare(queueName: string): Promise<void> {
transientQueueDeclare(queueName: string): Promise<Replies.AssertQueue | void> {
return this.channel!.assertQueue(queueName, {
durable: false,
autoDelete: true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@babel/core": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"@types/amqplib": "^0.8.2",
"@types/amqplib": "^0.10.0",
"@types/jest": "^29.0.0",
"@types/uuid": "^8.3.4",
"babel-jest": "^29.0.0",
Expand Down
14 changes: 4 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1356,12 +1356,11 @@
resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.2.tgz#423c77877d0569db20e1fc80885ac4118314010e"
integrity sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==

"@types/amqplib@^0.8.2":
version "0.8.2"
resolved "https://registry.yarnpkg.com/@types/amqplib/-/amqplib-0.8.2.tgz#9c46f2c7fac381e4f81bcb612c00d54549697d22"
integrity sha512-p+TFLzo52f8UanB+Nq6gyUi65yecAcRY3nYowU6MPGFtaJvEDxcnFWrxssSTkF+ts1W3zyQDvgVICLQem5WxRA==
"@types/amqplib@^0.10.0":
version "0.10.0"
resolved "https://registry.yarnpkg.com/@types/amqplib/-/amqplib-0.10.0.tgz#41c54c82e37fa9b57b147299f8c044013d7559c5"
integrity sha512-39XGMpfVGqjYK+LjPqMb/98rm/KwZCfJj5S1K2lGg9PqzhUQek5iFhrtgOLQGw5QbArsPYCTj7ElEJpP3Hhb1w==
dependencies:
"@types/bluebird" "*"
"@types/node" "*"

"@types/babel__core@^7.1.14":
Expand Down Expand Up @@ -1397,11 +1396,6 @@
dependencies:
"@babel/types" "^7.3.0"

"@types/bluebird@*":
version "3.5.36"
resolved "https://registry.yarnpkg.com/@types/bluebird/-/bluebird-3.5.36.tgz#00d9301d4dc35c2f6465a8aec634bb533674c652"
integrity sha512-HBNx4lhkxN7bx6P0++W8E289foSu8kO8GCk2unhuVggO+cE7rh9DhZUyPhUxNRG9m+5B5BTKxZQ5ZP92x/mx9Q==

"@types/graceful-fs@^4.1.3":
version "4.1.5"
resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.5.tgz#21ffba0d98da4350db64891f92a9e5db3cdb4e15"
Expand Down

0 comments on commit 9781e0c

Please sign in to comment.