WordPress/wp-includes/js/dist/is-shallow-equal.min.js
atimmer a603510b73 Build Tools: Upgrade @wordpress packages to the latest version.
This also includes the new @wordpress/format-library and @wordpress/notices packages.

package-lock.json has been completely regenerated in this commit.

Props pento.
Merges [43840] to trunk.
See #45145.

Built from https://develop.svn.wordpress.org/trunk@44177


git-svn-id: http://core.svn.wordpress.org/trunk@44007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 10:55:01 +00:00

1 line
1.5 KiB
JavaScript

this.wp=this.wp||{},this.wp.isShallowEqual=function(t){var r={};function e(n){if(r[n])return r[n].exports;var u=r[n]={i:n,l:!1,exports:{}};return t[n].call(u.exports,u,u.exports,e),u.l=!0,u.exports}return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var u in t)e.d(n,u,function(r){return t[r]}.bind(null,u));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=277)}({277:function(t,r,e){"use strict";var n=e(278),u=e(279),o=Array.isArray;t.exports=function(t,r){if(t&&r){if(t.constructor===Object&&r.constructor===Object)return n(t,r);if(o(t)&&o(r))return u(t,r)}return t===r}},278:function(t,r,e){"use strict";var n=Object.keys;t.exports=function(t,r){var e,u,o,i;if(t===r)return!0;if(e=n(t),u=n(r),e.length!==u.length)return!1;for(o=0;o<e.length;){if(t[i=e[o]]!==r[i])return!1;o++}return!0}},279:function(t,r,e){"use strict";t.exports=function(t,r){var e;if(t===r)return!0;if(t.length!==r.length)return!1;for(e=0;e<t.length;e++)if(t[e]!==r[e])return!1;return!0}}});