hookable 5.2.1 → 5.2.2
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/dist/index.cjs +1 -4
- package/dist/index.mjs +1 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -166,10 +166,7 @@ class Hookable {
|
|
|
166
166
|
if (this._after) {
|
|
167
167
|
callEachWith(this._after, event);
|
|
168
168
|
}
|
|
169
|
-
|
|
170
|
-
return result;
|
|
171
|
-
}
|
|
172
|
-
return Promise.resolve(result);
|
|
169
|
+
return result;
|
|
173
170
|
}
|
|
174
171
|
beforeEach(fn) {
|
|
175
172
|
this._before = this._before || [];
|
package/dist/index.mjs
CHANGED
|
@@ -162,10 +162,7 @@ class Hookable {
|
|
|
162
162
|
if (this._after) {
|
|
163
163
|
callEachWith(this._after, event);
|
|
164
164
|
}
|
|
165
|
-
|
|
166
|
-
return result;
|
|
167
|
-
}
|
|
168
|
-
return Promise.resolve(result);
|
|
165
|
+
return result;
|
|
169
166
|
}
|
|
170
167
|
beforeEach(fn) {
|
|
171
168
|
this._before = this._before || [];
|