kareem 2.0.0 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -417,7 +417,7 @@ function decorateNextFn(fn) {
|
|
|
417
417
|
called = true;
|
|
418
418
|
// Make sure to clear the stack so try/catch doesn't catch errors
|
|
419
419
|
// in subsequent middleware
|
|
420
|
-
return
|
|
420
|
+
return process.nextTick(() => fn.apply(_this, arguments));
|
|
421
421
|
};
|
|
422
422
|
}
|
|
423
423
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kareem",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "Next-generation take on pre/post function hooks",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"disallowMultipleVarDecl": true
|
|
27
27
|
},
|
|
28
28
|
"author": "Valeri Karpov <val@karpov.io>",
|
|
29
|
-
"license": "Apache
|
|
29
|
+
"license": "Apache-2.0"
|
|
30
30
|
}
|