New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

why-did-you-update

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

why-did-you-update - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

57

lib/index.js

@@ -7,2 +7,4 @@ 'use strict';

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

@@ -22,2 +24,6 @@

var _lodashIsString = require('lodash/isString');
var _lodashIsString2 = _interopRequireDefault(_lodashIsString);
var _lodashKeys = require('lodash/keys');

@@ -40,5 +46,11 @@

var deepDiff = function deepDiff(prev, next, name) {
var notify = function notify(type, status) {
var notify = function notify(status, bold) {
console.group(name);
console[type]('%c%s', 'font-weight: bold', status);
if (bold) {
console.warn('%c%s', 'font-weight: bold', status);
} else {
console.warn(status);
}
console.log('%cbefore', 'font-weight: bold', prev);

@@ -56,3 +68,3 @@ console.log('%cafter ', 'font-weight: bold', next);

if (prev.name === next.name) {
notify('warn', 'Value is a function. Possibly avoidable re-render?');
notify('Value is a function. Possibly avoidable re-render?', false);
}

@@ -66,3 +78,3 @@ } else if (isRefEntity) {

} else if (prev !== next) {
notify('error', 'Value did not change. Avoidable re-render!');
notify('Value did not change. Avoidable re-render!', true);

@@ -78,6 +90,41 @@ if (isRefEntity) {

var shouldIncludeDisplayName = function shouldIncludeDisplayName(displayName, _ref) {
var include = _ref.include;
var exclude = _ref.exclude;
var isIncluded = undefined;
var isExcluded = undefined;
if (include && (0, _lodashIsFunction2['default'])(include.test)) {
isIncluded = include.test(displayName);
} else {
isIncluded = true;
}
if (exclude && (0, _lodashIsFunction2['default'])(exclude.test)) {
isExcluded = exclude.test(displayName);
} else {
isExcluded = false;
}
return isIncluded && !isExcluded;
};
function createComponentDidUpdateProxy() {
var componentDidUpdate = arguments.length <= 0 || arguments[0] === undefined ? noop : arguments[0];
var opts = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
var _opts = opts;
var include = _opts.include;
var exclude = _opts.exclude;
if ((0, _lodashIsString2['default'])(include)) {
include = new RegExp(include);
}
if ((0, _lodashIsString2['default'])(exclude)) {
exclude = new RegExp(exclude);
}
opts = _extends({}, opts, { include: include, exclude: exclude });
return function componentDidUpdateProxy(prevProps, prevState) {

@@ -88,3 +135,3 @@ var displayName = getDisplayName(this);

if (opts.ignore && (0, _lodashIsFunction2['default'])(opts.ignore.test) && opts.ignore.test(displayName)) {
if (!shouldIncludeDisplayName(displayName, opts)) {
return;

@@ -91,0 +138,0 @@ }

2

package.json
{
"name": "why-did-you-update",
"version": "0.0.4",
"version": "0.0.5",
"description": "Patch React to discover unecessary re-renders",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -23,6 +23,6 @@ # Why did you update, bruh?

To ignore some component names, you can pass an ignore regex
You can include or exclude components by their displayName with the include and exclude options
```js
whyDidYouUpdate(React, { ignore: /^Connect/ })
whyDidYouUpdate(React, { include: /^pure/, exclude: /^Connect/ })
```

@@ -29,0 +29,0 @@

/*!
* why-did-you-update 0.0.3
* why-did-you-update 0.0.5
* MIT Licensed
*/
!function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.WhyDidYouUpdate=r():t.WhyDidYouUpdate=r()}(this,function(){return function(t){function r(e){if(n[e])return n[e].exports;var o=n[e]={exports:{},id:e,loaded:!1};return t[e].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}var n={};return r.m=t,r.c=n,r.p="",r(0)}([function(t,r,n){"use strict";function e(t){return t&&t.__esModule?t:{"default":t}}function o(){var t=arguments.length<=0||void 0===arguments[0]?_:arguments[0],r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return function(n,e){var o=y(this);t.call(this,n,e),r.ignore&&(0,c.default)(r.ignore.test)&&r.ignore.test(o)||(b(n,this.props,o+".props"),e&&this.state&&b(e,this.state,o+".state"))}}Object.defineProperty(r,"__esModule",{value:!0});var u=n(84),a=e(u),i=n(10),c=e(i),f=n(3),s=e(f),p=n(24),l=e(p),v=n(94),h=e(v),_=Object.freeze(function(){}),d=function(t){return Array.isArray(t)||(0,s.default)(t)},y=function(t){return t.displayName||t.constructor.displayName||t.constructor.name},b=function g(t,r,n){var e=function(e,o){console.group(n),console[e]("%c%s","font-weight: bold",o),console.log("%cbefore","font-weight: bold",t),console.log("%cafter ","font-weight: bold",r),console.groupEnd()},o=d(t)&&d(r);if((0,a.default)(t,r)){if(t!==r&&(e("error","Value did not change. Avoidable re-render!"),o)){var u=(0,h.default)((0,l.default)(t),(0,l.default)(r));u.forEach(function(e){return g(t[e],r[e],n+"."+e)})}}else{var i=(0,c.default)(t)&&(0,c.default)(r);if(i)t.name===r.name&&e("warn","Value is a function. Possibly avoidable re-render?");else if(o){var u=(0,h.default)((0,l.default)(t),(0,l.default)(r));u.forEach(function(e){return g(t[e],r[e],n+"."+e)})}}},x=function(t){var r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=t.Component.prototype.componentDidUpdate,e=t.createClass;return t.Component.prototype.componentDidUpdate=o(n,r),t.createClass=function(n){return n.componentDidUpdate=o(n.componentDidUpdate,r),e.call(t,n)},t.__WHY_DID_YOU_UPDATE_RESTORE_FN__=function(){t.Component.prototype.componentDidUpdate=n,t.createClass=e,delete t.__WHY_DID_YOU_UPDATE_RESTORE_FN__},t};r.whyDidYouUpdate=x,r.default=x},function(t,r,n){(function(t,e){var o=n(47),u={"function":!0,object:!0},a=u[typeof r]&&r&&!r.nodeType?r:void 0,i=u[typeof t]&&t&&!t.nodeType?t:void 0,c=o(a&&i&&"object"==typeof e&&e),f=o(u[typeof self]&&self),s=o(u[typeof window]&&window),p=o(u[typeof this]&&this),l=c||s!==(p&&p.window)&&s||f||p||Function("return this")();t.exports=l}).call(r,n(25)(t),function(){return this}())},function(t,r,n){function e(t,r){var n=t[r];return o(n)?n:void 0}var o=n(85);t.exports=e},function(t,r){function n(t){var r=typeof t;return!!t&&("object"==r||"function"==r)}t.exports=n},function(t,r){function n(t){return!!t&&"object"==typeof t}t.exports=n},function(t,r,n){function e(t){var r=-1,n=t?t.length:0;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}var o=n(65),u=n(66),a=n(67),i=n(68),c=n(69);e.prototype.clear=o,e.prototype.delete=u,e.prototype.get=a,e.prototype.has=i,e.prototype.set=c,t.exports=e},function(t,r,n){function e(t,r){for(var n=t.length;n--;)if(o(t[n][0],r))return n;return-1}var o=n(83);t.exports=e},function(t,r,n){function e(t,r){var n=t.__data__;return o(r)?n["string"==typeof r?"string":"hash"]:n.map}var o=n(63);t.exports=e},function(t,r,n){var e=n(2),o=e(Object,"create");t.exports=o},function(t,r){var n=Array.isArray;t.exports=n},function(t,r,n){function e(t){var r=o(t)?c.call(t):"";return r==u||r==a}var o=n(3),u="[object Function]",a="[object GeneratorFunction]",i=Object.prototype,c=i.toString;t.exports=e},function(t,r){function n(t){var r=-1,n=Array(t.size);return t.forEach(function(t){n[++r]=t}),n}t.exports=n},function(t,r){function n(t){return"number"==typeof t&&t>-1&&t%1==0&&e>=t}var e=9007199254740991;t.exports=n},function(t,r,n){var e=n(2),o=n(1),u=e(o,"Map");t.exports=u},function(t,r,n){function e(t){var r=-1,n=t?t.length:0;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}var o=n(70),u=n(71),a=n(72),i=n(73),c=n(74);e.prototype.clear=o,e.prototype.delete=u,e.prototype.get=a,e.prototype.has=i,e.prototype.set=c,t.exports=e},function(t,r,n){var e=n(2),o=n(1),u=e(o,"Set");t.exports=u},function(t,r,n){function e(t){var r=-1,n=t?t.length:0;for(this.__data__=new o;++r<n;)this.add(t[r])}var o=n(14),u=n(76),a=n(77);e.prototype.add=e.prototype.push=u,e.prototype.has=a,t.exports=e},function(t,r,n){function e(t,r){return a.call(t,r)||"object"==typeof t&&r in t&&null===o(t)}var o=n(52),u=Object.prototype,a=u.hasOwnProperty;t.exports=e},function(t,r,n){function e(t,r,n,e,c,f){var s=c&i,p=t.length,l=r.length;if(p!=l&&!(s&&l>p))return!1;var v=f.get(t);if(v)return v==r;var h=-1,_=!0,d=c&a?new o:void 0;for(f.set(t,r);++h<p;){var y=t[h],b=r[h];if(e)var x=s?e(b,y,h,r,t,f):e(y,b,h,t,r,f);if(void 0!==x){if(x)continue;_=!1;break}if(d){if(!u(r,function(t,r){return d.has(r)||y!==t&&!n(y,t,e,c,f)?void 0:d.add(r)})){_=!1;break}}else if(y!==b&&!n(y,b,e,c,f)){_=!1;break}}return f.delete(t),_}var o=n(16),u=n(37),a=1,i=2;t.exports=e},function(t,r){function n(t){var r=!1;if(null!=t&&"function"!=typeof t.toString)try{r=!!(t+"")}catch(n){}return r}t.exports=n},function(t,r){function n(t){if(null!=t){try{return e.call(t)}catch(r){}try{return t+""}catch(r){}}return""}var e=Function.prototype.toString;t.exports=n},function(t,r,n){function e(t){return o(t)&&i.call(t,"callee")&&(!f.call(t,"callee")||c.call(t)==u)}var o=n(23),u="[object Arguments]",a=Object.prototype,i=a.hasOwnProperty,c=a.toString,f=a.propertyIsEnumerable;t.exports=e},function(t,r,n){function e(t){return null!=t&&a(o(t))&&!u(t)}var o=n(51),u=n(10),a=n(12);t.exports=e},function(t,r,n){function e(t){return u(t)&&o(t)}var o=n(22),u=n(4);t.exports=e},function(t,r,n){function e(t){var r=f(t);if(!r&&!i(t))return u(t);var n=a(t),e=!!n,s=n||[],p=s.length;for(var l in t)!o(t,l)||e&&("length"==l||c(l,p))||r&&"constructor"==l||s.push(l);return s}var o=n(17),u=n(42),a=n(59),i=n(22),c=n(62),f=n(64);t.exports=e},function(t,r){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,r,n){var e=n(2),o=n(1),u=e(o,"DataView");t.exports=u},function(t,r,n){function e(t){var r=-1,n=t?t.length:0;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}var o=n(54),u=n(55),a=n(56),i=n(57),c=n(58);e.prototype.clear=o,e.prototype.delete=u,e.prototype.get=a,e.prototype.has=i,e.prototype.set=c,t.exports=e},function(t,r,n){var e=n(2),o=n(1),u=e(o,"Promise");t.exports=u},function(t,r,n){function e(t){this.__data__=new o(t)}var o=n(5),u=n(78),a=n(79),i=n(80),c=n(81),f=n(82);e.prototype.clear=u,e.prototype.delete=a,e.prototype.get=i,e.prototype.has=c,e.prototype.set=f,t.exports=e},function(t,r,n){var e=n(1),o=e.Symbol;t.exports=o},function(t,r,n){var e=n(1),o=e.Uint8Array;t.exports=o},function(t,r,n){var e=n(2),o=n(1),u=e(o,"WeakMap");t.exports=u},function(t,r){function n(t,r,n){var e=n.length;switch(e){case 0:return t.call(r);case 1:return t.call(r,n[0]);case 2:return t.call(r,n[0],n[1]);case 3:return t.call(r,n[0],n[1],n[2])}return t.apply(r,n)}t.exports=n},function(t,r,n){function e(t,r){return!!t.length&&o(t,r,0)>-1}var o=n(39);t.exports=e},function(t,r){function n(t,r,n){for(var e=-1,o=t.length;++e<o;)if(n(r,t[e]))return!0;return!1}t.exports=n},function(t,r){function n(t,r){for(var n=-1,e=r.length,o=t.length;++n<e;)t[o+n]=r[n];return t}t.exports=n},function(t,r){function n(t,r){for(var n=-1,e=t.length;++n<e;)if(r(t[n],n,t))return!0;return!1}t.exports=n},function(t,r,n){function e(t,r,n,a,i){var c=-1,f=t.length;for(n||(n=u),i||(i=[]);++c<f;){var s=t[c];r>0&&n(s)?r>1?e(s,r-1,n,a,i):o(i,s):a||(i[i.length]=s)}return i}var o=n(36),u=n(61);t.exports=e},function(t,r,n){function e(t,r,n){if(r!==r)return o(t,n);for(var e=n-1,u=t.length;++e<u;)if(t[e]===r)return e;return-1}var o=n(60);t.exports=e},function(t,r,n){function e(t,r,n,i,c){return t===r?!0:null==t||null==r||!u(t)&&!a(r)?t!==t&&r!==r:o(t,r,e,n,i,c)}var o=n(41),u=n(3),a=n(4);t.exports=e},function(t,r,n){function e(t,r,n,e,d,b){var x=f(t),g=f(r),j=h,w=h;x||(j=c(t),j=j==v?_:j),g||(w=c(r),w=w==v?_:w);var m=j==_&&!s(t),O=w==_&&!s(r),A=j==w;if(A&&!m)return b||(b=new o),x||p(t)?u(t,r,n,e,d,b):a(t,r,j,n,e,d,b);if(!(d&l)){var S=m&&y.call(t,"__wrapped__"),D=O&&y.call(r,"__wrapped__");if(S||D){var E=S?t.value():t,U=D?r.value():r;return b||(b=new o),n(E,U,e,d,b)}}return A?(b||(b=new o),i(t,r,n,e,d,b)):!1}var o=n(29),u=n(18),a=n(49),i=n(50),c=n(53),f=n(9),s=n(19),p=n(88),l=2,v="[object Arguments]",h="[object Array]",_="[object Object]",d=Object.prototype,y=d.hasOwnProperty;t.exports=e},function(t,r){function n(t){return e(Object(t))}var e=Object.keys;t.exports=n},function(t,r){function n(t){return function(r){return null==r?void 0:r[t]}}t.exports=n},function(t,r){function n(t,r){for(var n=-1,e=Array(t);++n<t;)e[n]=r(n);return e}t.exports=n},function(t,r,n){function e(t,r,n){var e=-1,p=u,l=t.length,v=!0,h=[],_=h;if(n)v=!1,p=a;else if(l>=s){var d=r?null:c(t);if(d)return f(d);v=!1,p=i,_=new o}else _=r?[]:h;t:for(;++e<l;){var y=t[e],b=r?r(y):y;if(y=n||0!==y?y:0,v&&b===b){for(var x=_.length;x--;)if(_[x]===b)continue t;r&&_.push(b),h.push(y)}else p(_,b,n)||(_!==h&&_.push(b),h.push(y))}return h}var o=n(16),u=n(34),a=n(35),i=n(46),c=n(48),f=n(11),s=200;t.exports=e},function(t,r){function n(t,r){return t.has(r)}t.exports=n},function(t,r){function n(t){return t&&t.Object===Object?t:null}t.exports=n},function(t,r,n){var e=n(15),o=n(89),u=n(11),a=1/0,i=e&&1/u(new e([,-0]))[1]==a?function(t){return new e(t)}:o;t.exports=i},function(t,r,n){function e(t,r,n,e,o,w,O){switch(n){case j:if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset)return!1;t=t.buffer,r=r.buffer;case g:return!(t.byteLength!=r.byteLength||!e(new u(t),new u(r)));case p:case l:return+t==+r;case v:return t.name==r.name&&t.message==r.message;case _:return t!=+t?r!=+r:t==+r;case d:case b:return t==r+"";case h:var A=i;case y:var S=w&s;if(A||(A=c),t.size!=r.size&&!S)return!1;var D=O.get(t);return D?D==r:(w|=f,O.set(t,r),a(A(t),A(r),e,o,w,O));case x:if(m)return m.call(t)==m.call(r)}return!1}var o=n(30),u=n(31),a=n(18),i=n(75),c=n(11),f=1,s=2,p="[object Boolean]",l="[object Date]",v="[object Error]",h="[object Map]",_="[object Number]",d="[object RegExp]",y="[object Set]",b="[object String]",x="[object Symbol]",g="[object ArrayBuffer]",j="[object DataView]",w=o?o.prototype:void 0,m=w?w.valueOf:void 0;t.exports=e},function(t,r,n){function e(t,r,n,e,i,c){var f=i&a,s=u(t),p=s.length,l=u(r),v=l.length;if(p!=v&&!f)return!1;for(var h=p;h--;){var _=s[h];if(!(f?_ in r:o(r,_)))return!1}var d=c.get(t);if(d)return d==r;var y=!0;c.set(t,r);for(var b=f;++h<p;){_=s[h];var x=t[_],g=r[_];if(e)var j=f?e(g,x,_,r,t,c):e(x,g,_,t,r,c);if(!(void 0===j?x===g||n(x,g,e,i,c):j)){y=!1;break}b||(b="constructor"==_)}if(y&&!b){var w=t.constructor,m=r.constructor;w!=m&&"constructor"in t&&"constructor"in r&&!("function"==typeof w&&w instanceof w&&"function"==typeof m&&m instanceof m)&&(y=!1)}return c.delete(t),y}var o=n(17),u=n(24),a=2;t.exports=e},function(t,r,n){var e=n(43),o=e("length");t.exports=o},function(t,r){function n(t){return e(Object(t))}var e=Object.getPrototypeOf;t.exports=n},function(t,r,n){function e(t){return y.call(t)}var o=n(26),u=n(13),a=n(28),i=n(15),c=n(32),f=n(20),s="[object Map]",p="[object Object]",l="[object Promise]",v="[object Set]",h="[object WeakMap]",_="[object DataView]",d=Object.prototype,y=d.toString,b=f(o),x=f(u),g=f(a),j=f(i),w=f(c);(o&&e(new o(new ArrayBuffer(1)))!=_||u&&e(new u)!=s||a&&e(a.resolve())!=l||i&&e(new i)!=v||c&&e(new c)!=h)&&(e=function(t){var r=y.call(t),n=r==p?t.constructor:void 0,e=n?f(n):void 0;if(e)switch(e){case b:return _;case x:return s;case g:return l;case j:return v;case w:return h}return r}),t.exports=e},function(t,r,n){function e(){this.__data__=o?o(null):{}}var o=n(8);t.exports=e},function(t,r){function n(t){return this.has(t)&&delete this.__data__[t]}t.exports=n},function(t,r,n){function e(t){var r=this.__data__;if(o){var n=r[t];return n===u?void 0:n}return i.call(r,t)?r[t]:void 0}var o=n(8),u="__lodash_hash_undefined__",a=Object.prototype,i=a.hasOwnProperty;t.exports=e},function(t,r,n){function e(t){var r=this.__data__;return o?void 0!==r[t]:a.call(r,t)}var o=n(8),u=Object.prototype,a=u.hasOwnProperty;t.exports=e},function(t,r,n){function e(t,r){var n=this.__data__;return n[t]=o&&void 0===r?u:r,this}var o=n(8),u="__lodash_hash_undefined__";t.exports=e},function(t,r,n){function e(t){var r=t?t.length:void 0;return i(r)&&(a(t)||c(t)||u(t))?o(r,String):null}var o=n(44),u=n(21),a=n(9),i=n(12),c=n(86);t.exports=e},function(t,r){function n(t,r,n){for(var e=t.length,o=r+(n?0:-1);n?o--:++o<e;){var u=t[o];if(u!==u)return o}return-1}t.exports=n},function(t,r,n){function e(t){return u(t)||o(t)}var o=n(21),u=n(9);t.exports=e},function(t,r){function n(t,r){return r=null==r?e:r,!!r&&("number"==typeof t||o.test(t))&&t>-1&&t%1==0&&r>t}var e=9007199254740991,o=/^(?:0|[1-9]\d*)$/;t.exports=n},function(t,r){function n(t){var r=typeof t;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}t.exports=n},function(t,r){function n(t){var r=t&&t.constructor,n="function"==typeof r&&r.prototype||e;return t===n}var e=Object.prototype;t.exports=n},function(t,r){function n(){this.__data__=[]}t.exports=n},function(t,r,n){function e(t){var r=this.__data__,n=o(r,t);if(0>n)return!1;var e=r.length-1;return n==e?r.pop():a.call(r,n,1),!0}var o=n(6),u=Array.prototype,a=u.splice;t.exports=e},function(t,r,n){function e(t){var r=this.__data__,n=o(r,t);return 0>n?void 0:r[n][1]}var o=n(6);t.exports=e},function(t,r,n){function e(t){return o(this.__data__,t)>-1}var o=n(6);t.exports=e},function(t,r,n){function e(t,r){var n=this.__data__,e=o(n,t);return 0>e?n.push([t,r]):n[e][1]=r,this}var o=n(6);t.exports=e},function(t,r,n){function e(){this.__data__={hash:new o,map:new(a||u),string:new o}}var o=n(27),u=n(5),a=n(13);t.exports=e},function(t,r,n){function e(t){return o(this,t).delete(t)}var o=n(7);t.exports=e},function(t,r,n){function e(t){return o(this,t).get(t)}var o=n(7);t.exports=e},function(t,r,n){function e(t){return o(this,t).has(t)}var o=n(7);t.exports=e},function(t,r,n){function e(t,r){return o(this,t).set(t,r),this}var o=n(7);t.exports=e},function(t,r){function n(t){var r=-1,n=Array(t.size);return t.forEach(function(t,e){n[++r]=[e,t]}),n}t.exports=n},function(t,r){function n(t){return this.__data__.set(t,e),this}var e="__lodash_hash_undefined__";t.exports=n},function(t,r){function n(t){return this.__data__.has(t)}t.exports=n},function(t,r,n){function e(){this.__data__=new o}var o=n(5);t.exports=e},function(t,r){function n(t){return this.__data__.delete(t)}t.exports=n},function(t,r){function n(t){return this.__data__.get(t)}t.exports=n},function(t,r){function n(t){return this.__data__.has(t)}t.exports=n},function(t,r,n){function e(t,r){var n=this.__data__;return n instanceof o&&n.__data__.length==a&&(n=this.__data__=new u(n.__data__)),n.set(t,r),this}var o=n(5),u=n(14),a=200;t.exports=e},function(t,r){function n(t,r){return t===r||t!==t&&r!==r}t.exports=n},function(t,r,n){function e(t,r){return o(t,r)}var o=n(40);t.exports=e},function(t,r,n){function e(t){if(!a(t))return!1;var r=o(t)||u(t)?v:f;return r.test(i(t))}var o=n(10),u=n(19),a=n(3),i=n(20),c=/[\\^$.*+?()[\]{}|]/g,f=/^\[object .+?Constructor\]$/,s=Object.prototype,p=Function.prototype.toString,l=s.hasOwnProperty,v=RegExp("^"+p.call(l).replace(c,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=e},function(t,r,n){function e(t){return"string"==typeof t||!o(t)&&u(t)&&c.call(t)==a}var o=n(9),u=n(4),a="[object String]",i=Object.prototype,c=i.toString;t.exports=e},function(t,r,n){function e(t){return"symbol"==typeof t||o(t)&&i.call(t)==u}var o=n(4),u="[object Symbol]",a=Object.prototype,i=a.toString;t.exports=e},function(t,r,n){function e(t){return u(t)&&o(t.length)&&!!P[F.call(t)]}var o=n(12),u=n(4),a="[object Arguments]",i="[object Array]",c="[object Boolean]",f="[object Date]",s="[object Error]",p="[object Function]",l="[object Map]",v="[object Number]",h="[object Object]",_="[object RegExp]",d="[object Set]",y="[object String]",b="[object WeakMap]",x="[object ArrayBuffer]",g="[object DataView]",j="[object Float32Array]",w="[object Float64Array]",m="[object Int8Array]",O="[object Int16Array]",A="[object Int32Array]",S="[object Uint8Array]",D="[object Uint8ClampedArray]",E="[object Uint16Array]",U="[object Uint32Array]",P={};P[j]=P[w]=P[m]=P[O]=P[A]=P[S]=P[D]=P[E]=P[U]=!0,P[a]=P[i]=P[x]=P[c]=P[g]=P[f]=P[s]=P[p]=P[l]=P[v]=P[h]=P[_]=P[d]=P[y]=P[b]=!1;var k=Object.prototype,F=k.toString;t.exports=e},function(t,r){function n(){}t.exports=n},function(t,r,n){function e(t,r){if("function"!=typeof t)throw new TypeError(a);return r=i(void 0===r?t.length-1:u(r),0),function(){for(var n=arguments,e=-1,u=i(n.length-r,0),a=Array(u);++e<u;)a[e]=n[r+e];switch(r){case 0:return t.call(this,a);case 1:return t.call(this,n[0],a);case 2:return t.call(this,n[0],n[1],a)}var c=Array(r+1);for(e=-1;++e<r;)c[e]=n[e];return c[r]=a,o(t,this,c)}}var o=n(33),u=n(92),a="Expected a function",i=Math.max;t.exports=e},function(t,r,n){function e(t){if(!t)return 0===t?t:0;if(t=o(t),t===u||t===-u){var r=0>t?-1:1;return r*a}return t===t?t:0}var o=n(93),u=1/0,a=1.7976931348623157e308;t.exports=e},function(t,r,n){function e(t){var r=o(t),n=r%1;return r===r?n?r-n:r:0}var o=n(91);t.exports=e},function(t,r,n){function e(t){if("number"==typeof t)return t;if(a(t))return i;if(u(t)){var r=o(t.valueOf)?t.valueOf():t;t=u(r)?r+"":r}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(c,"");var n=s.test(t);return n||p.test(t)?l(t.slice(2),n?2:8):f.test(t)?i:+t}var o=n(10),u=n(3),a=n(87),i=NaN,c=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,p=/^0o[0-7]+$/i,l=parseInt;t.exports=e},function(t,r,n){var e=n(38),o=n(45),u=n(23),a=n(90),i=a(function(t){return o(e(t,1,u,!0))});t.exports=i}])});
!function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.WhyDidYouUpdate=r():t.WhyDidYouUpdate=r()}(this,function(){return function(t){function r(e){if(n[e])return n[e].exports;var o=n[e]={exports:{},id:e,loaded:!1};return t[e].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}var n={};return r.m=t,r.c=n,r.p="",r(0)}([function(t,r,n){"use strict";function e(t){return t&&t.__esModule?t:{"default":t}}function o(){var t=arguments.length<=0||void 0===arguments[0]?b:arguments[0],r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=r,e=n.include,o=n.exclude;return(0,v.default)(e)&&(e=new RegExp(e)),(0,v.default)(o)&&(o=new RegExp(o)),r=u({},r,{include:e,exclude:o}),function(n,e){var o=g(this);t.call(this,n,e),w(o,r)&&(j(n,this.props,o+".props"),e&&this.state&&j(e,this.state,o+".state"))}}Object.defineProperty(r,"__esModule",{value:!0});var u=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])}return t},a=n(85),c=e(a),i=n(10),f=e(i),s=n(3),p=e(s),l=n(24),v=e(l),h=n(25),d=e(h),_=n(94),y=e(_),b=Object.freeze(function(){}),x=function(t){return Array.isArray(t)||(0,p.default)(t)},g=function(t){return t.displayName||t.constructor.displayName||t.constructor.name},j=function m(t,r,n){var e=function(e,o){console.group(n),o?console.warn("%c%s","font-weight: bold",e):console.warn(e),console.log("%cbefore","font-weight: bold",t),console.log("%cafter ","font-weight: bold",r),console.groupEnd()},o=x(t)&&x(r);if((0,c.default)(t,r)){if(t!==r&&(e("Value did not change. Avoidable re-render!",!0),o)){var u=(0,y.default)((0,d.default)(t),(0,d.default)(r));u.forEach(function(e){return m(t[e],r[e],n+"."+e)})}}else{var a=(0,f.default)(t)&&(0,f.default)(r);if(a)t.name===r.name&&e("Value is a function. Possibly avoidable re-render?",!1);else if(o){var u=(0,y.default)((0,d.default)(t),(0,d.default)(r));u.forEach(function(e){return m(t[e],r[e],n+"."+e)})}}},w=function(t,r){var n=r.include,e=r.exclude,o=void 0,u=void 0;return o=n&&(0,f.default)(n.test)?n.test(t):!0,u=e&&(0,f.default)(e.test)?e.test(t):!1,o&&!u},O=function(t){var r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=t.Component.prototype.componentDidUpdate,e=t.createClass;return t.Component.prototype.componentDidUpdate=o(n,r),t.createClass=function(n){return n.componentDidUpdate=o(n.componentDidUpdate,r),e.call(t,n)},t.__WHY_DID_YOU_UPDATE_RESTORE_FN__=function(){t.Component.prototype.componentDidUpdate=n,t.createClass=e,delete t.__WHY_DID_YOU_UPDATE_RESTORE_FN__},t};r.whyDidYouUpdate=O,r.default=O},function(t,r,n){(function(t,e){var o=n(48),u={"function":!0,object:!0},a=u[typeof r]&&r&&!r.nodeType?r:void 0,c=u[typeof t]&&t&&!t.nodeType?t:void 0,i=o(a&&c&&"object"==typeof e&&e),f=o(u[typeof self]&&self),s=o(u[typeof window]&&window),p=o(u[typeof this]&&this),l=i||s!==(p&&p.window)&&s||f||p||Function("return this")();t.exports=l}).call(r,n(26)(t),function(){return this}())},function(t,r,n){function e(t,r){var n=t[r];return o(n)?n:void 0}var o=n(86);t.exports=e},function(t,r){function n(t){var r=typeof t;return!!t&&("object"==r||"function"==r)}t.exports=n},function(t,r){function n(t){return!!t&&"object"==typeof t}t.exports=n},function(t,r,n){function e(t){var r=-1,n=t?t.length:0;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}var o=n(66),u=n(67),a=n(68),c=n(69),i=n(70);e.prototype.clear=o,e.prototype.delete=u,e.prototype.get=a,e.prototype.has=c,e.prototype.set=i,t.exports=e},function(t,r,n){function e(t,r){for(var n=t.length;n--;)if(o(t[n][0],r))return n;return-1}var o=n(84);t.exports=e},function(t,r,n){function e(t,r){var n=t.__data__;return o(r)?n["string"==typeof r?"string":"hash"]:n.map}var o=n(64);t.exports=e},function(t,r,n){var e=n(2),o=e(Object,"create");t.exports=o},function(t,r){var n=Array.isArray;t.exports=n},function(t,r,n){function e(t){var r=o(t)?i.call(t):"";return r==u||r==a}var o=n(3),u="[object Function]",a="[object GeneratorFunction]",c=Object.prototype,i=c.toString;t.exports=e},function(t,r){function n(t){var r=-1,n=Array(t.size);return t.forEach(function(t){n[++r]=t}),n}t.exports=n},function(t,r){function n(t){return"number"==typeof t&&t>-1&&t%1==0&&e>=t}var e=9007199254740991;t.exports=n},function(t,r,n){var e=n(2),o=n(1),u=e(o,"Map");t.exports=u},function(t,r,n){function e(t){var r=-1,n=t?t.length:0;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}var o=n(71),u=n(72),a=n(73),c=n(74),i=n(75);e.prototype.clear=o,e.prototype.delete=u,e.prototype.get=a,e.prototype.has=c,e.prototype.set=i,t.exports=e},function(t,r,n){var e=n(2),o=n(1),u=e(o,"Set");t.exports=u},function(t,r,n){function e(t){var r=-1,n=t?t.length:0;for(this.__data__=new o;++r<n;)this.add(t[r])}var o=n(14),u=n(77),a=n(78);e.prototype.add=e.prototype.push=u,e.prototype.has=a,t.exports=e},function(t,r,n){function e(t,r){return a.call(t,r)||"object"==typeof t&&r in t&&null===o(t)}var o=n(53),u=Object.prototype,a=u.hasOwnProperty;t.exports=e},function(t,r,n){function e(t,r,n,e,i,f){var s=i&c,p=t.length,l=r.length;if(p!=l&&!(s&&l>p))return!1;var v=f.get(t);if(v)return v==r;var h=-1,d=!0,_=i&a?new o:void 0;for(f.set(t,r);++h<p;){var y=t[h],b=r[h];if(e)var x=s?e(b,y,h,r,t,f):e(y,b,h,t,r,f);if(void 0!==x){if(x)continue;d=!1;break}if(_){if(!u(r,function(t,r){return _.has(r)||y!==t&&!n(y,t,e,i,f)?void 0:_.add(r)})){d=!1;break}}else if(y!==b&&!n(y,b,e,i,f)){d=!1;break}}return f.delete(t),d}var o=n(16),u=n(38),a=1,c=2;t.exports=e},function(t,r){function n(t){var r=!1;if(null!=t&&"function"!=typeof t.toString)try{r=!!(t+"")}catch(n){}return r}t.exports=n},function(t,r){function n(t){if(null!=t){try{return e.call(t)}catch(r){}try{return t+""}catch(r){}}return""}var e=Function.prototype.toString;t.exports=n},function(t,r,n){function e(t){return o(t)&&c.call(t,"callee")&&(!f.call(t,"callee")||i.call(t)==u)}var o=n(23),u="[object Arguments]",a=Object.prototype,c=a.hasOwnProperty,i=a.toString,f=a.propertyIsEnumerable;t.exports=e},function(t,r,n){function e(t){return null!=t&&a(o(t))&&!u(t)}var o=n(52),u=n(10),a=n(12);t.exports=e},function(t,r,n){function e(t){return u(t)&&o(t)}var o=n(22),u=n(4);t.exports=e},function(t,r,n){function e(t){return"string"==typeof t||!o(t)&&u(t)&&i.call(t)==a}var o=n(9),u=n(4),a="[object String]",c=Object.prototype,i=c.toString;t.exports=e},function(t,r,n){function e(t){var r=f(t);if(!r&&!c(t))return u(t);var n=a(t),e=!!n,s=n||[],p=s.length;for(var l in t)!o(t,l)||e&&("length"==l||i(l,p))||r&&"constructor"==l||s.push(l);return s}var o=n(17),u=n(43),a=n(60),c=n(22),i=n(63),f=n(65);t.exports=e},function(t,r){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,r,n){var e=n(2),o=n(1),u=e(o,"DataView");t.exports=u},function(t,r,n){function e(t){var r=-1,n=t?t.length:0;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}var o=n(55),u=n(56),a=n(57),c=n(58),i=n(59);e.prototype.clear=o,e.prototype.delete=u,e.prototype.get=a,e.prototype.has=c,e.prototype.set=i,t.exports=e},function(t,r,n){var e=n(2),o=n(1),u=e(o,"Promise");t.exports=u},function(t,r,n){function e(t){this.__data__=new o(t)}var o=n(5),u=n(79),a=n(80),c=n(81),i=n(82),f=n(83);e.prototype.clear=u,e.prototype.delete=a,e.prototype.get=c,e.prototype.has=i,e.prototype.set=f,t.exports=e},function(t,r,n){var e=n(1),o=e.Symbol;t.exports=o},function(t,r,n){var e=n(1),o=e.Uint8Array;t.exports=o},function(t,r,n){var e=n(2),o=n(1),u=e(o,"WeakMap");t.exports=u},function(t,r){function n(t,r,n){var e=n.length;switch(e){case 0:return t.call(r);case 1:return t.call(r,n[0]);case 2:return t.call(r,n[0],n[1]);case 3:return t.call(r,n[0],n[1],n[2])}return t.apply(r,n)}t.exports=n},function(t,r,n){function e(t,r){return!!t.length&&o(t,r,0)>-1}var o=n(40);t.exports=e},function(t,r){function n(t,r,n){for(var e=-1,o=t.length;++e<o;)if(n(r,t[e]))return!0;return!1}t.exports=n},function(t,r){function n(t,r){for(var n=-1,e=r.length,o=t.length;++n<e;)t[o+n]=r[n];return t}t.exports=n},function(t,r){function n(t,r){for(var n=-1,e=t.length;++n<e;)if(r(t[n],n,t))return!0;return!1}t.exports=n},function(t,r,n){function e(t,r,n,a,c){var i=-1,f=t.length;for(n||(n=u),c||(c=[]);++i<f;){var s=t[i];r>0&&n(s)?r>1?e(s,r-1,n,a,c):o(c,s):a||(c[c.length]=s)}return c}var o=n(37),u=n(62);t.exports=e},function(t,r,n){function e(t,r,n){if(r!==r)return o(t,n);for(var e=n-1,u=t.length;++e<u;)if(t[e]===r)return e;return-1}var o=n(61);t.exports=e},function(t,r,n){function e(t,r,n,c,i){return t===r?!0:null==t||null==r||!u(t)&&!a(r)?t!==t&&r!==r:o(t,r,e,n,c,i)}var o=n(42),u=n(3),a=n(4);t.exports=e},function(t,r,n){function e(t,r,n,e,_,b){var x=f(t),g=f(r),j=h,w=h;x||(j=i(t),j=j==v?d:j),g||(w=i(r),w=w==v?d:w);var O=j==d&&!s(t),m=w==d&&!s(r),A=j==w;if(A&&!O)return b||(b=new o),x||p(t)?u(t,r,n,e,_,b):a(t,r,j,n,e,_,b);if(!(_&l)){var S=O&&y.call(t,"__wrapped__"),E=m&&y.call(r,"__wrapped__");if(S||E){var D=S?t.value():t,P=E?r.value():r;return b||(b=new o),n(D,P,e,_,b)}}return A?(b||(b=new o),c(t,r,n,e,_,b)):!1}var o=n(30),u=n(18),a=n(50),c=n(51),i=n(54),f=n(9),s=n(19),p=n(88),l=2,v="[object Arguments]",h="[object Array]",d="[object Object]",_=Object.prototype,y=_.hasOwnProperty;t.exports=e},function(t,r){function n(t){return e(Object(t))}var e=Object.keys;t.exports=n},function(t,r){function n(t){return function(r){return null==r?void 0:r[t]}}t.exports=n},function(t,r){function n(t,r){for(var n=-1,e=Array(t);++n<t;)e[n]=r(n);return e}t.exports=n},function(t,r,n){function e(t,r,n){var e=-1,p=u,l=t.length,v=!0,h=[],d=h;if(n)v=!1,p=a;else if(l>=s){var _=r?null:i(t);if(_)return f(_);v=!1,p=c,d=new o}else d=r?[]:h;t:for(;++e<l;){var y=t[e],b=r?r(y):y;if(y=n||0!==y?y:0,v&&b===b){for(var x=d.length;x--;)if(d[x]===b)continue t;r&&d.push(b),h.push(y)}else p(d,b,n)||(d!==h&&d.push(b),h.push(y))}return h}var o=n(16),u=n(35),a=n(36),c=n(47),i=n(49),f=n(11),s=200;t.exports=e},function(t,r){function n(t,r){return t.has(r)}t.exports=n},function(t,r){function n(t){return t&&t.Object===Object?t:null}t.exports=n},function(t,r,n){var e=n(15),o=n(89),u=n(11),a=1/0,c=e&&1/u(new e([,-0]))[1]==a?function(t){return new e(t)}:o;t.exports=c},function(t,r,n){function e(t,r,n,e,o,w,m){switch(n){case j:if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset)return!1;t=t.buffer,r=r.buffer;case g:return!(t.byteLength!=r.byteLength||!e(new u(t),new u(r)));case p:case l:return+t==+r;case v:return t.name==r.name&&t.message==r.message;case d:return t!=+t?r!=+r:t==+r;case _:case b:return t==r+"";case h:var A=c;case y:var S=w&s;if(A||(A=i),t.size!=r.size&&!S)return!1;var E=m.get(t);return E?E==r:(w|=f,m.set(t,r),a(A(t),A(r),e,o,w,m));case x:if(O)return O.call(t)==O.call(r)}return!1}var o=n(31),u=n(32),a=n(18),c=n(76),i=n(11),f=1,s=2,p="[object Boolean]",l="[object Date]",v="[object Error]",h="[object Map]",d="[object Number]",_="[object RegExp]",y="[object Set]",b="[object String]",x="[object Symbol]",g="[object ArrayBuffer]",j="[object DataView]",w=o?o.prototype:void 0,O=w?w.valueOf:void 0;t.exports=e},function(t,r,n){function e(t,r,n,e,c,i){var f=c&a,s=u(t),p=s.length,l=u(r),v=l.length;if(p!=v&&!f)return!1;for(var h=p;h--;){var d=s[h];if(!(f?d in r:o(r,d)))return!1}var _=i.get(t);if(_)return _==r;var y=!0;i.set(t,r);for(var b=f;++h<p;){d=s[h];var x=t[d],g=r[d];if(e)var j=f?e(g,x,d,r,t,i):e(x,g,d,t,r,i);if(!(void 0===j?x===g||n(x,g,e,c,i):j)){y=!1;break}b||(b="constructor"==d)}if(y&&!b){var w=t.constructor,O=r.constructor;w!=O&&"constructor"in t&&"constructor"in r&&!("function"==typeof w&&w instanceof w&&"function"==typeof O&&O instanceof O)&&(y=!1)}return i.delete(t),y}var o=n(17),u=n(25),a=2;t.exports=e},function(t,r,n){var e=n(44),o=e("length");t.exports=o},function(t,r){function n(t){return e(Object(t))}var e=Object.getPrototypeOf;t.exports=n},function(t,r,n){function e(t){return y.call(t)}var o=n(27),u=n(13),a=n(29),c=n(15),i=n(33),f=n(20),s="[object Map]",p="[object Object]",l="[object Promise]",v="[object Set]",h="[object WeakMap]",d="[object DataView]",_=Object.prototype,y=_.toString,b=f(o),x=f(u),g=f(a),j=f(c),w=f(i);(o&&e(new o(new ArrayBuffer(1)))!=d||u&&e(new u)!=s||a&&e(a.resolve())!=l||c&&e(new c)!=v||i&&e(new i)!=h)&&(e=function(t){var r=y.call(t),n=r==p?t.constructor:void 0,e=n?f(n):void 0;if(e)switch(e){case b:return d;case x:return s;case g:return l;case j:return v;case w:return h}return r}),t.exports=e},function(t,r,n){function e(){this.__data__=o?o(null):{}}var o=n(8);t.exports=e},function(t,r){function n(t){return this.has(t)&&delete this.__data__[t]}t.exports=n},function(t,r,n){function e(t){var r=this.__data__;if(o){var n=r[t];return n===u?void 0:n}return c.call(r,t)?r[t]:void 0}var o=n(8),u="__lodash_hash_undefined__",a=Object.prototype,c=a.hasOwnProperty;t.exports=e},function(t,r,n){function e(t){var r=this.__data__;return o?void 0!==r[t]:a.call(r,t)}var o=n(8),u=Object.prototype,a=u.hasOwnProperty;t.exports=e},function(t,r,n){function e(t,r){var n=this.__data__;return n[t]=o&&void 0===r?u:r,this}var o=n(8),u="__lodash_hash_undefined__";t.exports=e},function(t,r,n){function e(t){var r=t?t.length:void 0;return c(r)&&(a(t)||i(t)||u(t))?o(r,String):null}var o=n(45),u=n(21),a=n(9),c=n(12),i=n(24);t.exports=e},function(t,r){function n(t,r,n){for(var e=t.length,o=r+(n?0:-1);n?o--:++o<e;){var u=t[o];if(u!==u)return o}return-1}t.exports=n},function(t,r,n){function e(t){return u(t)||o(t)}var o=n(21),u=n(9);t.exports=e},function(t,r){function n(t,r){return r=null==r?e:r,!!r&&("number"==typeof t||o.test(t))&&t>-1&&t%1==0&&r>t}var e=9007199254740991,o=/^(?:0|[1-9]\d*)$/;t.exports=n},function(t,r){function n(t){var r=typeof t;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}t.exports=n},function(t,r){function n(t){var r=t&&t.constructor,n="function"==typeof r&&r.prototype||e;return t===n}var e=Object.prototype;t.exports=n},function(t,r){function n(){this.__data__=[]}t.exports=n},function(t,r,n){function e(t){var r=this.__data__,n=o(r,t);if(0>n)return!1;var e=r.length-1;return n==e?r.pop():a.call(r,n,1),!0}var o=n(6),u=Array.prototype,a=u.splice;t.exports=e},function(t,r,n){function e(t){var r=this.__data__,n=o(r,t);return 0>n?void 0:r[n][1]}var o=n(6);t.exports=e},function(t,r,n){function e(t){return o(this.__data__,t)>-1}var o=n(6);t.exports=e},function(t,r,n){function e(t,r){var n=this.__data__,e=o(n,t);return 0>e?n.push([t,r]):n[e][1]=r,this}var o=n(6);t.exports=e},function(t,r,n){function e(){this.__data__={hash:new o,map:new(a||u),string:new o}}var o=n(28),u=n(5),a=n(13);t.exports=e},function(t,r,n){function e(t){return o(this,t).delete(t)}var o=n(7);t.exports=e},function(t,r,n){function e(t){return o(this,t).get(t)}var o=n(7);t.exports=e},function(t,r,n){function e(t){return o(this,t).has(t)}var o=n(7);t.exports=e},function(t,r,n){function e(t,r){return o(this,t).set(t,r),this}var o=n(7);t.exports=e},function(t,r){function n(t){var r=-1,n=Array(t.size);return t.forEach(function(t,e){n[++r]=[e,t]}),n}t.exports=n},function(t,r){function n(t){return this.__data__.set(t,e),this}var e="__lodash_hash_undefined__";t.exports=n},function(t,r){function n(t){return this.__data__.has(t)}t.exports=n},function(t,r,n){function e(){this.__data__=new o}var o=n(5);t.exports=e},function(t,r){function n(t){return this.__data__.delete(t)}t.exports=n},function(t,r){function n(t){return this.__data__.get(t)}t.exports=n},function(t,r){function n(t){return this.__data__.has(t)}t.exports=n},function(t,r,n){function e(t,r){var n=this.__data__;return n instanceof o&&n.__data__.length==a&&(n=this.__data__=new u(n.__data__)),n.set(t,r),this}var o=n(5),u=n(14),a=200;t.exports=e},function(t,r){function n(t,r){return t===r||t!==t&&r!==r}t.exports=n},function(t,r,n){function e(t,r){return o(t,r)}var o=n(41);t.exports=e},function(t,r,n){function e(t){if(!a(t))return!1;var r=o(t)||u(t)?v:f;return r.test(c(t))}var o=n(10),u=n(19),a=n(3),c=n(20),i=/[\\^$.*+?()[\]{}|]/g,f=/^\[object .+?Constructor\]$/,s=Object.prototype,p=Function.prototype.toString,l=s.hasOwnProperty,v=RegExp("^"+p.call(l).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=e},function(t,r,n){function e(t){return"symbol"==typeof t||o(t)&&c.call(t)==u}var o=n(4),u="[object Symbol]",a=Object.prototype,c=a.toString;t.exports=e},function(t,r,n){function e(t){return u(t)&&o(t.length)&&!!U[F.call(t)]}var o=n(12),u=n(4),a="[object Arguments]",c="[object Array]",i="[object Boolean]",f="[object Date]",s="[object Error]",p="[object Function]",l="[object Map]",v="[object Number]",h="[object Object]",d="[object RegExp]",_="[object Set]",y="[object String]",b="[object WeakMap]",x="[object ArrayBuffer]",g="[object DataView]",j="[object Float32Array]",w="[object Float64Array]",O="[object Int8Array]",m="[object Int16Array]",A="[object Int32Array]",S="[object Uint8Array]",E="[object Uint8ClampedArray]",D="[object Uint16Array]",P="[object Uint32Array]",U={};U[j]=U[w]=U[O]=U[m]=U[A]=U[S]=U[E]=U[D]=U[P]=!0,U[a]=U[c]=U[x]=U[i]=U[g]=U[f]=U[s]=U[p]=U[l]=U[v]=U[h]=U[d]=U[_]=U[y]=U[b]=!1;var k=Object.prototype,F=k.toString;t.exports=e},function(t,r){function n(){}t.exports=n},function(t,r,n){function e(t,r){if("function"!=typeof t)throw new TypeError(a);return r=c(void 0===r?t.length-1:u(r),0),function(){for(var n=arguments,e=-1,u=c(n.length-r,0),a=Array(u);++e<u;)a[e]=n[r+e];switch(r){case 0:return t.call(this,a);case 1:return t.call(this,n[0],a);case 2:return t.call(this,n[0],n[1],a)}var i=Array(r+1);for(e=-1;++e<r;)i[e]=n[e];return i[r]=a,o(t,this,i)}}var o=n(34),u=n(92),a="Expected a function",c=Math.max;t.exports=e},function(t,r,n){function e(t){if(!t)return 0===t?t:0;if(t=o(t),t===u||t===-u){var r=0>t?-1:1;return r*a}return t===t?t:0}var o=n(93),u=1/0,a=1.7976931348623157e308;t.exports=e},function(t,r,n){function e(t){var r=o(t),n=r%1;return r===r?n?r-n:r:0}var o=n(91);t.exports=e},function(t,r,n){function e(t){if("number"==typeof t)return t;if(a(t))return c;if(u(t)){var r=o(t.valueOf)?t.valueOf():t;t=u(r)?r+"":r}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(i,"");var n=s.test(t);return n||p.test(t)?l(t.slice(2),n?2:8):f.test(t)?c:+t}var o=n(10),u=n(3),a=n(87),c=NaN,i=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,p=/^0o[0-7]+$/i,l=parseInt;t.exports=e},function(t,r,n){var e=n(39),o=n(46),u=n(23),a=n(90),c=a(function(t){return o(e(t,1,u,!0))});t.exports=c}])});
//# sourceMappingURL=why-did-you-update.min.js.map

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc