reshow-flux-base
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -78,9 +78,9 @@ "use strict"; | ||
* @param {T} state | ||
* @param {any=} reason | ||
* @param {string} cause | ||
* @returns {T} | ||
*/ | ||
var checkReturnState = function checkReturnState(state, reason) { | ||
var checkReturnState = function checkReturnState(state, cause) { | ||
if (state === undefined) { | ||
throw new Error("Reducer change return undefined.", { | ||
cause: reason + "" | ||
cause: new Error(cause) | ||
}); | ||
@@ -87,0 +87,0 @@ } |
{ | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"name": "reshow-flux-base", | ||
@@ -4,0 +4,0 @@ "repository": { |
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
29141