Comparing version 0.4.1 to 0.5.0
@@ -43,5 +43,7 @@ "use strict"; | ||
memo.fn = arg; | ||
} else if (!memo.options && (0, _typeof2.default)(arg) === "object" && arg !== null && arg.constructor === Object) { | ||
memo.options = arg; | ||
} else { | ||
if (!memo.options && (0, _typeof2.default)(arg) === "object" && arg !== null && arg.constructor === Object) { | ||
memo.options = arg; | ||
} | ||
memo.extras.push(arg); | ||
@@ -48,0 +50,0 @@ } |
@@ -40,10 +40,12 @@ // Helpers | ||
memo.fn = arg | ||
} else if ( | ||
!memo.options && | ||
typeof arg === "object" && | ||
arg !== null && | ||
arg.constructor === Object | ||
) { | ||
memo.options = arg | ||
} else { | ||
if ( | ||
!memo.options && | ||
typeof arg === "object" && | ||
arg !== null && | ||
arg.constructor === Object | ||
) { | ||
memo.options = arg | ||
} | ||
memo.extras.push(arg) | ||
@@ -50,0 +52,0 @@ } |
@@ -15,3 +15,3 @@ { | ||
], | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"description": "Build beautiful and extensible eventing APIs", | ||
@@ -18,0 +18,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
105825
1891