redux-zero
Advanced tools
Comparing version 4.4.0 to 4.4.1
# Changelog | ||
### 4.4.1 | ||
- Fixes Svelte connect function date object change detection | ||
### 4.4.0 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "redux-zero", | ||
"version": "4.4.0", | ||
"version": "4.4.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/redux-zero.js", |
@@ -16,6 +16,9 @@ 'use strict'; | ||
function differs(a, b) { | ||
if (a && typeof a === "object") { | ||
if (a !== b) { | ||
return true; | ||
} | ||
else if (a && typeof a === "object") { | ||
return !shallowEqual(a, b); | ||
} | ||
return a !== b; | ||
return false; | ||
} | ||
@@ -22,0 +25,0 @@ function getDiff(newData, oldData) { |
@@ -1,2 +0,2 @@ | ||
!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(n["redux-zero"]={})}(this,function(n){"use strict";function t(n,t){for(var e in n)if(n[e]!==t[e])return!1;for(var e in t)if(!(e in n))return!1;return!0}function e(n,e){return n&&"object"==typeof n?!t(n,e):n!==e}function r(n,t){var r={},o=!1;for(var f in n)e(t[f],n[f])&&(o=!0,r[f]=n[f]);return{diff:r,changed:o}}function o(n,t){var e={};for(var r in n)!function(r){e[r]=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];var f=n[r].apply(n,[t.getState()].concat(e));null!=f&&t.setState(f)}}(r);return e}n.connect=function(n,t,e){function o(){var o=r(e(t.getState()),n.get()),f=o.diff;o.changed&&n.set(f)}o(),n.on("destroy",t.subscribe(o))},n.getActions=function(n,t){return o("function"==typeof t?t(n):t,n)},Object.defineProperty(n,"__esModule",{value:!0})}); | ||
!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(n["redux-zero"]={})}(this,function(n){"use strict";function t(n,t){for(var e in n)if(n[e]!==t[e])return!1;for(var e in t)if(!(e in n))return!1;return!0}function e(n,e){return n!==e||!(!n||"object"!=typeof n)&&!t(n,e)}function r(n,t){var r={},o=!1;for(var f in n)e(t[f],n[f])&&(o=!0,r[f]=n[f]);return{diff:r,changed:o}}function o(n,t){var e={};for(var r in n)!function(r){e[r]=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];var f=n[r].apply(n,[t.getState()].concat(e));null!=f&&t.setState(f)}}(r);return e}n.connect=function(n,t,e){function o(){var o=r(e(t.getState()),n.get()),f=o.diff;o.changed&&n.set(f)}o(),n.on("destroy",t.subscribe(o))},n.getActions=function(n,t){return o("function"==typeof t?t(n):t,n)},Object.defineProperty(n,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=index.min.js.map |
Sorry, the diff of this file is not supported yet
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
63341
582