Skip to content

Commit

Permalink
Updates (#139)
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Collina <hello@matteocollina.com>
  • Loading branch information
mcollina authored May 23, 2022
1 parent facf072 commit 89995f1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x, 13.x, 14.x, 16.x]
node-version: [14.x, 16.x, 18.x]

steps:
- uses: actions/checkout@v1
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@
],
"license": "ISC",
"devDependencies": {
"@types/node": "^17.0.35",
"@typescript-eslint/eslint-plugin": "^2.19.2",
"@typescript-eslint/parser": "^2.19.2",
"@types/node": "^16.11.1",
"@typescript-eslint/eslint-plugin": "^5.25.0",
"@typescript-eslint/parser": "^5.25.0",
"markdownlint-cli": "^0.29.0",
"nyc": "^15.0.0",
"pre-commit": "^1.2.2",
"snazzy": "^9.0.0",
"standard": "^16.0.0",
"standard": "^17.0.0",
"tape": "^5.0.1",
"tsd": "^0.20.0",
"typescript": "^4.0.2"
Expand Down
6 changes: 2 additions & 4 deletions types/mqemitter.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/// <reference types="node" />

declare function MQEmitter(options?: MQEmitterOptions): MQEmitter

export default MQEmitter

interface MQEmitterOptions {
concurrency?: number
matchEmptyLevels?: boolean
Expand All @@ -22,3 +18,5 @@ export interface MQEmitter {
removeListener(topic: string, listener: (message: Message, done: () => void) => void, callback?: () => void): void
close(callback: () => void): void
}

export default function (options?: MQEmitterOptions): MQEmitter

0 comments on commit 89995f1

Please sign in to comment.