Skip to content

Commit

Permalink
build(deps-dev): update dependency eventemitter2 to ^6.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
edgardmessias committed Jul 11, 2022
1 parent 3338cce commit b5f88e9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eventemitter2": "^6.4.5",
"eventemitter2": "^6.4.6",
"file-type": "~16.5.3",
"husky": "^8.0.1",
"parse-data-url": "^4.0.1",
Expand Down
5 changes: 4 additions & 1 deletion src/eventEmitter/eventEmitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,15 @@ import {
ListenerFn,
ListenToOptions,
OnceOptions,
WaitForFilter,
WaitForOptions,
} from 'eventemitter2';

exports.EventEmitter = EventEmitter2;

interface WaitForFilter {
(...values: any[]): boolean;
}

export interface OnOptions {
/**
* invoke the listener in async mode using setImmediate (fallback to setTimeout if not available) or process.nextTick depending on the nextTick option.
Expand Down

0 comments on commit b5f88e9

Please sign in to comment.