@hyperingenuity/events 0.4.1 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -233,7 +233,7 @@ class EventBus {
233
233
 
234
234
  if (callbacks.size) {
235
235
  for (const callback of callbacks) {
236
- process.nextTick(() => {
236
+ setImmediate(() => {
237
237
  try {
238
238
  return callback(event, contexts.get(callback), this.$shared);
239
239
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperingenuity/events",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "JavaScript Event Emitter Library",
5
5
  "main": "index.js",
6
6
  "repository": "git@github.com:mdbarr/events.git",
@@ -8,8 +8,8 @@
8
8
  "license": "MIT",
9
9
  "private": false,
10
10
  "dependencies": {
11
- "@hyperingenuity/uscript": "^0.4.1",
12
- "barrkeep": "^2.11.0",
11
+ "@hyperingenuity/uscript": "^0.4.3",
12
+ "barrkeep": "^2.11.1",
13
13
  "uuid": "^9.0.0"
14
14
  },
15
15
  "devDependencies": {