object-delete-key
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -8,2 +8,9 @@ # Change Log | ||
## [1.4.0] - 2018-06-19 | ||
GitHub sold us out. In the meantime, we: | ||
- ✨ Migrated to Bitbucket (to host repo + perform CI) and Codacy (for code quality audit) | ||
- ✨ Dropped BitHound (RIP) and Travis | ||
## [1.3.0] - 2018-05-25 | ||
@@ -13,6 +20,6 @@ | ||
* ✨ Set up [Prettier](https://prettier.io) on a custom ESLint rule set. | ||
* ✨ Removed `package.lock` and `.editorconfig` | ||
* ✨ Wired Rollup to remove comments from non-dev builds. This means we can now leave the `console.log`s in the source code — there's no need to comment-out `console.log` statements or care about them not spilling into production. Now it's done automatically. | ||
* ✨ Unit tests are pointing at ES modules build, which means that code coverage is correct now, without Babel functions being missed. This is important because now code coverage is real again and now there are no excuses not to perfect it. | ||
- ✨ Set up [Prettier](https://prettier.io) on a custom ESLint rule set. | ||
- ✨ Removed `package.lock` and `.editorconfig` | ||
- ✨ Wired Rollup to remove comments from non-dev builds. This means we can now leave the `console.log`s in the source code — there's no need to comment-out `console.log` statements or care about them not spilling into production. Now it's done automatically. | ||
- ✨ Unit tests are pointing at ES modules build, which means that code coverage is correct now, without Babel functions being missed. This is important because now code coverage is real again and now there are no excuses not to perfect it. | ||
@@ -23,4 +30,4 @@ ## [1.2.0] - 2018-03-11 | ||
* ✨ Updated all dependencies | ||
* ✨ Switched from deprecated [posthtml-ast-is-empty](https://github.com/codsen/posthtml-ast-is-empty) to [ast-is-empty](https://github.com/codsen/ast-is-empty) | ||
- ✨ Updated all dependencies | ||
- ✨ Switched from deprecated [posthtml-ast-is-empty](https://bitbucket.org/codsen/posthtml-ast-is-empty) to [ast-is-empty](https://bitbucket.org/codsen/ast-is-empty) | ||
@@ -31,3 +38,3 @@ ## [1.1.0] - 2017-10-30 | ||
* ✨ Now accepts globs everywhere, see [matcher](https://github.com/sindresorhus/matcher)'s API which is driving the globbing. This comes from [ast-monkey](https://github.com/codsen/ast-monkey) tapping `matcher`. | ||
- ✨ Now accepts globs everywhere, see [matcher](https://github.com/sindresorhus/matcher)'s API which is driving the globbing. This comes from [ast-monkey](https://bitbucket.org/codsen/ast-monkey) tapping `matcher`. | ||
@@ -38,6 +45,7 @@ ## 1.0.0 - 2017-10-23 | ||
* ✨ First public release | ||
- ✨ First public release | ||
[1.1.0]: https://github.com/codsen/object-delete-key/compare/v1.0.2...v1.1.0 | ||
[1.2.0]: https://github.com/codsen/object-delete-key/compare/v1.1.0...v1.2.0 | ||
[1.3.0]: https://github.com/codsen/object-delete-key/compare/v1.2.0...v1.3.0 | ||
[1.1.0]: https://bitbucket.org/codsen/object-delete-key/branches/compare/v1.1.0%0Dv1.0.2#diff | ||
[1.2.0]: https://bitbucket.org/codsen/object-delete-key/branches/compare/v1.2.0%0Dv1.1.9#diff | ||
[1.3.0]: https://bitbucket.org/codsen/object-delete-key/branches/compare/v1.3.0%0Dv1.2.0#diff | ||
[1.4.0]: https://bitbucket.org/codsen/object-delete-key/branches/compare/v1.4.0%0Dv1.3.0#diff |
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.objectDeleteKey=t()}(this,function(){"use strict";var ze="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(e,t){return e(t={exports:{}},t.exports),t.exports}var Qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O=e(function(e,t){var n="__lodash_hash_undefined__",r=9007199254740991,j="[object Arguments]",O="[object Boolean]",S="[object Date]",k="[object Function]",T="[object GeneratorFunction]",A="[object Map]",x="[object Number]",E="[object Object]",o="[object Promise]",N="[object RegExp]",W="[object Set]",I="[object String]",M="[object Symbol]",i="[object WeakMap]",P="[object ArrayBuffer]",D="[object DataView]",R="[object Float32Array]",H="[object Float64Array]",F="[object Int8Array]",J="[object Int16Array]",V="[object Int32Array]",K="[object Uint8Array]",$="[object Uint8ClampedArray]",C="[object Uint16Array]",L="[object Uint32Array]",q=/\w*$/,a=/^\[object .+?Constructor\]$/,u=/^(?:0|[1-9]\d*)$/,B={};B[j]=B["[object Array]"]=B[P]=B[D]=B[O]=B[S]=B[R]=B[H]=B[F]=B[J]=B[V]=B[A]=B[x]=B[E]=B[N]=B[W]=B[I]=B[M]=B[K]=B[$]=B[C]=B[L]=!0,B["[object Error]"]=B[k]=B[i]=!1;var c="object"==Qe(ze)&&ze&&ze.Object===Object&&ze,s="object"==("undefined"==typeof self?"undefined":Qe(self))&&self&&self.Object===Object&&self,f=c||s||Function("return this")(),l=t&&!t.nodeType&&t,y=l&&e&&!e.nodeType&&e,p=y&&y.exports===l;function Z(e,t){return e.set(t[0],t[1]),e}function U(e,t){return e.add(t),e}function G(e,t,r,n){var o=-1,i=e?e.length:0;for(n&&i&&(r=e[++o]);++o<i;)r=t(r,e[o],o,e);return r}function z(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function Q(e){var r=-1,n=Array(e.size);return e.forEach(function(e,t){n[++r]=[t,e]}),n}function h(t,r){return function(e){return t(r(e))}}function X(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}var d,g=Array.prototype,v=Function.prototype,b=Object.prototype,m=f["__core-js_shared__"],_=(d=/[^.]+$/.exec(m&&m.keys&&m.keys.IE_PROTO||""))?"Symbol(src)_1."+d:"",w=v.toString,Y=b.hasOwnProperty,ee=b.toString,te=RegExp("^"+w.call(Y).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),re=p?f.Buffer:void 0,ne=f.Symbol,oe=f.Uint8Array,ie=h(Object.getPrototypeOf,Object),ae=Object.create,ue=b.propertyIsEnumerable,ce=g.splice,se=Object.getOwnPropertySymbols,fe=re?re.isBuffer:void 0,le=h(Object.keys,Object),ye=He(f,"DataView"),pe=He(f,"Map"),he=He(f,"Promise"),de=He(f,"Set"),ge=He(f,"WeakMap"),ve=He(Object,"create"),be=$e(ye),me=$e(pe),_e=$e(he),we=$e(de),je=$e(ge),Oe=ne?ne.prototype:void 0,Se=Oe?Oe.valueOf:void 0;function ke(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Te(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Ae(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function xe(e){this.__data__=new Te(e)}function Ee(e,t){var r,n,o,i=Le(e)||(o=n=r=e)&&"object"==(void 0===o?"undefined":Qe(o))&&qe(n)&&Y.call(r,"callee")&&(!ue.call(r,"callee")||ee.call(r)==j)?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],a=i.length,u=!!a;for(var c in e)!t&&!Y.call(e,c)||u&&("length"==c||Ve(c,a))||i.push(c);return i}function Ne(e,t,r){var n=e[t];Y.call(e,t)&&Ce(n,r)&&(void 0!==r||t in e)||(e[t]=r)}function We(e,t){for(var r=e.length;r--;)if(Ce(e[r][0],t))return r;return-1}function Ie(r,n,o,i,e,t,a){var u;if(i&&(u=t?i(r,e,t,a):i(r)),void 0!==u)return u;if(!Ue(r))return r;var c,s,f,l,y,p,h=Le(r);if(h){if(u=function(e){var t=e.length,r=e.constructor(t);t&&"string"==typeof e[0]&&Y.call(e,"index")&&(r.index=e.index,r.input=e.input);return r}(r),!n)return function(e,t){var r=-1,n=e.length;t||(t=Array(n));for(;++r<n;)t[r]=e[r];return t}(r,u)}else{var d=Je(r),g=d==k||d==T;if(Be(r))return function(e,t){if(t)return e.slice();var r=new e.constructor(e.length);return e.copy(r),r}(r,n);if(d==E||d==j||g&&!t){if(z(r))return t?r:{};if(u="function"!=typeof(y=g?{}:r).constructor||Ke(y)?{}:Ue(p=ie(y))?ae(p):{},!n)return l=c=r,s=(f=u)&&De(l,Ge(l),f),De(c,Fe(c),s)}else{if(!B[d])return t?r:{};u=function(e,t,r,n){var o=e.constructor;switch(t){case P:return Pe(e);case O:case S:return new o(+e);case D:return h=e,d=n?Pe(h.buffer):h.buffer,new h.constructor(d,h.byteOffset,h.byteLength);case R:case H:case F:case J:case V:case K:case $:case C:case L:return y=e,p=n?Pe(y.buffer):y.buffer,new y.constructor(p,y.byteOffset,y.length);case A:return f=e,l=r,G(n?l(Q(f),!0):Q(f),Z,new f.constructor);case x:case I:return new o(e);case N:return(s=new(c=e).constructor(c.source,q.exec(c))).lastIndex=c.lastIndex,s;case W:return a=e,u=r,G(n?u(X(a),!0):X(a),U,new a.constructor);case M:return i=e,Se?Object(Se.call(i)):{}}var i;var a,u;var c,s;var f,l;var y,p;var h,d}(r,d,Ie,n)}}a||(a=new xe);var v,b,m,_=a.get(r);if(_)return _;if(a.set(r,u),!h)var w=o?(b=Fe,m=Ge(v=r),Le(v)?m:function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}(m,b(v))):Ge(r);return function(e,t){for(var r=-1,n=e?e.length:0;++r<n&&!1!==t(e[r],r,e););}(w||r,function(e,t){w&&(e=r[t=e]),Ne(u,t,Ie(e,n,o,i,t,r,a))}),u}function Me(e){return!(!Ue(e)||(t=e,_&&_ in t))&&(Ze(e)||z(e)?te:a).test($e(e));var t}function Pe(e){var t=new e.constructor(e.byteLength);return new oe(t).set(new oe(e)),t}function De(e,t,r,n){r||(r={});for(var o=-1,i=t.length;++o<i;){var a=t[o],u=n?n(r[a],e[a],a,r,e):void 0;Ne(r,a,void 0===u?e[a]:u)}return r}function Re(e,t){var r,n,o=e.__data__;return("string"==(n=void 0===(r=t)?"undefined":Qe(r))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof t?"string":"hash"]:o.map}function He(e,t){var r,n,o=(n=t,null==(r=e)?void 0:r[n]);return Me(o)?o:void 0}ke.prototype.clear=function(){this.__data__=ve?ve(null):{}},ke.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},ke.prototype.get=function(e){var t=this.__data__;if(ve){var r=t[e];return r===n?void 0:r}return Y.call(t,e)?t[e]:void 0},ke.prototype.has=function(e){var t=this.__data__;return ve?void 0!==t[e]:Y.call(t,e)},ke.prototype.set=function(e,t){return this.__data__[e]=ve&&void 0===t?n:t,this},Te.prototype.clear=function(){this.__data__=[]},Te.prototype.delete=function(e){var t=this.__data__,r=We(t,e);return!(r<0||(r==t.length-1?t.pop():ce.call(t,r,1),0))},Te.prototype.get=function(e){var t=this.__data__,r=We(t,e);return r<0?void 0:t[r][1]},Te.prototype.has=function(e){return-1<We(this.__data__,e)},Te.prototype.set=function(e,t){var r=this.__data__,n=We(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},Ae.prototype.clear=function(){this.__data__={hash:new ke,map:new(pe||Te),string:new ke}},Ae.prototype.delete=function(e){return Re(this,e).delete(e)},Ae.prototype.get=function(e){return Re(this,e).get(e)},Ae.prototype.has=function(e){return Re(this,e).has(e)},Ae.prototype.set=function(e,t){return Re(this,e).set(e,t),this},xe.prototype.clear=function(){this.__data__=new Te},xe.prototype.delete=function(e){return this.__data__.delete(e)},xe.prototype.get=function(e){return this.__data__.get(e)},xe.prototype.has=function(e){return this.__data__.has(e)},xe.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Te){var n=r.__data__;if(!pe||n.length<199)return n.push([e,t]),this;r=this.__data__=new Ae(n)}return r.set(e,t),this};var Fe=se?h(se,Object):function(){return[]},Je=function(e){return ee.call(e)};function Ve(e,t){return!!(t=null==t?r:t)&&("number"==typeof e||u.test(e))&&-1<e&&e%1==0&&e<t}function Ke(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||b)}function $e(e){if(null!=e){try{return w.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ce(e,t){return e===t||e!=e&&t!=t}(ye&&Je(new ye(new ArrayBuffer(1)))!=D||pe&&Je(new pe)!=A||he&&Je(he.resolve())!=o||de&&Je(new de)!=W||ge&&Je(new ge)!=i)&&(Je=function(e){var t=ee.call(e),r=t==E?e.constructor:void 0,n=r?$e(r):void 0;if(n)switch(n){case be:return D;case me:return A;case _e:return o;case we:return W;case je:return i}return t});var Le=Array.isArray;function qe(e){return null!=e&&("number"==typeof(t=e.length)&&-1<t&&t%1==0&&t<=r)&&!Ze(e);var t}var Be=fe||function(){return!1};function Ze(e){var t=Ue(e)?ee.call(e):"";return t==k||t==T}function Ue(e){var t=void 0===e?"undefined":Qe(e);return!!e&&("object"==t||"function"==t)}function Ge(e){return qe(e)?Ee(e):function(e){if(!Ke(e))return le(e);var t=[];for(var r in Object(e))Y.call(e,r)&&"constructor"!=r&&t.push(r);return t}(e)}e.exports=function(e){return Ie(e,!0,!0)}}),f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l=1/0,o=9007199254740991,y=17976931348623157e292,p=NaN,c="[object Arguments]",i="[object Function]",a="[object GeneratorFunction]",h="[object String]",d="[object Symbol]",g=/^\s+|\s+$/g,v=/^[-+]0x[0-9a-f]+$/i,b=/^0b[01]+$/i,m=/^0o[0-7]+$/i,r=/^(?:0|[1-9]\d*)$/,_=parseInt;function w(e){return e!=e}function j(t,e){return function(e,t){for(var r=-1,n=e?e.length:0,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}(e,function(e){return t[e]})}var t,n,u=Object.prototype,s=u.hasOwnProperty,S=u.toString,k=u.propertyIsEnumerable,T=(t=Object.keys,n=Object,function(e){return t(n(e))}),A=Math.max;function x(e,t){var r,n,o=W(e)||P(n=r=e)&&I(n)&&s.call(r,"callee")&&(!k.call(r,"callee")||S.call(r)==c)?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],i=o.length,a=!!i;for(var u in e)!t&&!s.call(e,u)||a&&("length"==u||N(u,i))||o.push(u);return o}function E(e){if(r=(t=e)&&t.constructor,n="function"==typeof r&&r.prototype||u,t!==n)return T(e);var t,r,n,o=[];for(var i in Object(e))s.call(e,i)&&"constructor"!=i&&o.push(i);return o}function N(e,t){return!!(t=null==t?o:t)&&("number"==typeof e||r.test(e))&&-1<e&&e%1==0&&e<t}var W=Array.isArray;function I(e){return null!=e&&("number"==typeof(n=e.length)&&-1<n&&n%1==0&&n<=o)&&!((r=M(t=e)?S.call(t):"")==i||r==a);var t,r,n}function M(e){var t=void 0===e?"undefined":f(e);return!!e&&("object"==t||"function"==t)}function P(e){return!!e&&"object"==(void 0===e?"undefined":f(e))}var D=function(e,t,r,n){var o,i,a,u;e=I(e)?e:(o=e)?j(o,I(i=o)?x(i):E(i)):[],r=r&&!n?(a=function(e){if(!e)return 0===e?e:0;if((e=function(e){if("number"==typeof e)return e;if("symbol"==(void 0===(t=e)?"undefined":f(t))||P(t)&&S.call(t)==d)return p;var t;if(M(e)){var r="function"==typeof e.valueOf?e.valueOf():e;e=M(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(g,"");var n=b.test(e);return n||m.test(e)?_(e.slice(2),n?2:8):v.test(e)?p:+e}(e))===l||e===-l){var t=e<0?-1:1;return t*y}return e==e?e:0}(r),u=a%1,a==a?u?a-u:a:0):0;var c,s=e.length;return r<0&&(r=A(s+r,0)),"string"==typeof(c=e)||!W(c)&&P(c)&&S.call(c)==h?r<=s&&-1<e.indexOf(t,r):!!s&&-1<function(e,t,r){if(t!=t)return function(e,t,r,n){for(var o=e.length,i=r+(n?1:-1);n?i--:++i<o;)if(t(e[i],i,e))return i;return-1}(e,w,r);for(var n=r-1,o=e.length;++n<o;)if(e[n]===t)return n;return-1}(e,t,r)},R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},H=e(function(e,t){var o,i,r,a,u,c,s,f,n,l,y,p,h,d,g,v,b,m;e.exports=(o="function"==typeof Promise,i="object"===("undefined"==typeof self?"undefined":R(self))?self:ze,r="undefined"!=typeof Symbol,a="undefined"!=typeof Map,u="undefined"!=typeof Set,c="undefined"!=typeof WeakMap,s="undefined"!=typeof WeakSet,f="undefined"!=typeof DataView,n=r&&void 0!==Symbol.iterator,l=r&&void 0!==Symbol.toStringTag,y=u&&"function"==typeof Set.prototype.entries,p=a&&"function"==typeof Map.prototype.entries,h=y&&Object.getPrototypeOf((new Set).entries()),d=p&&Object.getPrototypeOf((new Map).entries()),g=n&&"function"==typeof Array.prototype[Symbol.iterator],v=g&&Object.getPrototypeOf([][Symbol.iterator]()),b=n&&"function"==typeof String.prototype[Symbol.iterator],m=b&&Object.getPrototypeOf(""[Symbol.iterator]()),function(e){var t=void 0===e?"undefined":R(e);if("object"!==t)return t;if(null===e)return"null";if(e===i)return"global";if(Array.isArray(e)&&(!1===l||!(Symbol.toStringTag in e)))return"Array";if("object"===("undefined"==typeof window?"undefined":R(window))&&null!==window){if("object"===R(window.location)&&e===window.location)return"Location";if("object"===R(window.document)&&e===window.document)return"Document";if("object"===R(window.navigator)){if("object"===R(window.navigator.mimeTypes)&&e===window.navigator.mimeTypes)return"MimeTypeArray";if("object"===R(window.navigator.plugins)&&e===window.navigator.plugins)return"PluginArray"}if(("function"==typeof window.HTMLElement||"object"===R(window.HTMLElement))&&e instanceof window.HTMLElement){if("BLOCKQUOTE"===e.tagName)return"HTMLQuoteElement";if("TD"===e.tagName)return"HTMLTableDataCellElement";if("TH"===e.tagName)return"HTMLTableHeaderCellElement"}}var r=l&&e[Symbol.toStringTag];if("string"==typeof r)return r;var n=Object.getPrototypeOf(e);return n===RegExp.prototype?"RegExp":n===Date.prototype?"Date":o&&n===Promise.prototype?"Promise":u&&n===Set.prototype?"Set":a&&n===Map.prototype?"Map":s&&n===WeakSet.prototype?"WeakSet":c&&n===WeakMap.prototype?"WeakMap":f&&n===DataView.prototype?"DataView":a&&n===d?"Map Iterator":u&&n===h?"Set Iterator":g&&n===v?"Array Iterator":b&&n===m?"String Iterator":null===n?"Object":Object.prototype.toString.call(e).slice(8,-1)})});function F(e,t,r){if(t!=t)return function(e,t,r,n){for(var o=e.length,i=r+(n?1:-1);n?i--:++i<o;)if(t(e[i],i,e))return i;return-1}(e,V,r);for(var n=r-1,o=e.length;++n<o;)if(e[n]===t)return n;return-1}function J(e,t,r,n){for(var o=r-1,i=e.length;++o<i;)if(n(e[o],t))return o;return-1}function V(e){return e!=e}var K=Array.prototype.splice;function $(e,t,r,n){var o,i=n?J:F,a=-1,u=t.length,c=e;for(e===t&&(t=function(e,t){var r=-1,n=e.length;t||(t=Array(n));for(;++r<n;)t[r]=e[r];return t}(t)),r&&(c=function(e,t){for(var r=-1,n=e?e.length:0,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}(e,(o=r,function(e){return o(e)})));++a<u;)for(var s=0,f=t[a],l=r?r(f):f;-1<(s=i(c,l,s,n));)c!==e&&K.call(c,s,1),K.call(e,s,1);return e}var C=function(e,t){return e&&e.length&&t&&t.length?$(e,t):e},L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},q="__lodash_hash_undefined__",B=9007199254740991,Z="[object Function]",U="[object GeneratorFunction]",G=/^\[object .+?Constructor\]$/,z="object"==L(ze)&&ze&&ze.Object===Object&&ze,Q="object"==("undefined"==typeof self?"undefined":L(self))&&self&&self.Object===Object&&self,X=z||Q||Function("return this")();function Y(e,t){return!!(e?e.length:0)&&-1<function(e,t,r){if(t!=t)return function(e,t,r,n){var o=e.length,i=r+(n?1:-1);for(;n?i--:++i<o;)if(t(e[i],i,e))return i;return-1}(e,re,r);var n=r-1,o=e.length;for(;++n<o;)if(e[n]===t)return n;return-1}(e,t,0)}function ee(e,t,r){for(var n=-1,o=e?e.length:0;++n<o;)if(r(t,e[n]))return!0;return!1}function te(e,t){for(var r=-1,n=e?e.length:0,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}function re(e){return e!=e}function ne(t){return function(e){return t(e)}}function oe(e,t){return e.has(t)}var ie,ae,ue,ce=Array.prototype,se=Function.prototype,fe=Object.prototype,le=X["__core-js_shared__"],ye=(ie=/[^.]+$/.exec(le&&le.keys&&le.keys.IE_PROTO||""))?"Symbol(src)_1."+ie:"",pe=se.toString,he=fe.hasOwnProperty,de=fe.toString,ge=RegExp("^"+pe.call(he).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ve=ce.splice,be=Math.max,me=Math.min,_e=Ne(X,"Map"),we=Ne(Object,"create");function je(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Oe(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Se(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function ke(e){var t=-1,r=e?e.length:0;for(this.__data__=new Se;++t<r;)this.add(e[t])}function Te(e,t){for(var r,n,o=e.length;o--;)if((r=e[o][0])===(n=t)||r!=r&&n!=n)return o;return-1}function Ae(e){return!(!Ie(e)||(t=e,ye&&ye in t))&&(We(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?ge:G).test(function(e){if(null!=e){try{return pe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}function xe(e){return(o=t=e)&&"object"==(void 0===o?"undefined":L(o))&&(null!=(r=t)&&("number"==typeof(n=r.length)&&-1<n&&n%1==0&&n<=B)&&!We(r))?e:[];var t,r,n,o}function Ee(e,t){var r,n,o=e.__data__;return("string"==(n=void 0===(r=t)?"undefined":L(r))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof t?"string":"hash"]:o.map}function Ne(e,t){var r,n,o=(n=t,null==(r=e)?void 0:r[n]);return Ae(o)?o:void 0}function We(e){var t=Ie(e)?de.call(e):"";return t==Z||t==U}function Ie(e){var t=void 0===e?"undefined":L(e);return!!e&&("object"==t||"function"==t)}je.prototype.clear=function(){this.__data__=we?we(null):{}},je.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},je.prototype.get=function(e){var t=this.__data__;if(we){var r=t[e];return r===q?void 0:r}return he.call(t,e)?t[e]:void 0},je.prototype.has=function(e){var t=this.__data__;return we?void 0!==t[e]:he.call(t,e)},je.prototype.set=function(e,t){return this.__data__[e]=we&&void 0===t?q:t,this},Oe.prototype.clear=function(){this.__data__=[]},Oe.prototype.delete=function(e){var t=this.__data__,r=Te(t,e);return!(r<0||(r==t.length-1?t.pop():ve.call(t,r,1),0))},Oe.prototype.get=function(e){var t=this.__data__,r=Te(t,e);return r<0?void 0:t[r][1]},Oe.prototype.has=function(e){return-1<Te(this.__data__,e)},Oe.prototype.set=function(e,t){var r=this.__data__,n=Te(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},Se.prototype.clear=function(){this.__data__={hash:new je,map:new(_e||Oe),string:new je}},Se.prototype.delete=function(e){return Ee(this,e).delete(e)},Se.prototype.get=function(e){return Ee(this,e).get(e)},Se.prototype.has=function(e){return Ee(this,e).has(e)},Se.prototype.set=function(e,t){return Ee(this,e).set(e,t),this},ke.prototype.add=ke.prototype.push=function(e){return this.__data__.set(e,q),this},ke.prototype.has=function(e){return this.__data__.has(e)};var Me=(ae=function(e){var t=te(e,xe);return t.length&&t[0]===e[0]?function(e,t,r){for(var n=r?ee:Y,o=e[0].length,i=e.length,a=i,u=Array(i),c=1/0,s=[];a--;){var f=e[a];a&&t&&(f=te(f,ne(t))),c=me(f.length,c),u[a]=!r&&(t||120<=o&&120<=f.length)?new ke(a&&f):void 0}f=e[0];var l=-1,y=u[0];e:for(;++l<o&&s.length<c;){var p=f[l],h=t?t(p):p;if(p=r||0!==p?p:0,!(y?oe(y,h):n(s,h,r))){for(a=i;--a;){var d=u[a];if(!(d?oe(d,h):n(e[a],h,r)))continue e}y&&y.push(h),s.push(p)}}return s}(t):[]},ue=be(void 0===ue?ae.length-1:ue,0),function(){for(var e=arguments,t=-1,r=be(e.length-ue,0),n=Array(r);++t<r;)n[t]=e[ue+t];t=-1;for(var o=Array(ue+1);++t<ue;)o[t]=e[t];return o[ue]=n,function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}(ae,this,o)});function Pe(e){return"string"==typeof e?0<e.length?[e]:[]:e}function De(n,e,t){function o(e){return null!=e}function r(e){return"boolean"===H(e)}function i(e){return"string"===H(e)}function a(e){return"Object"===H(e)}var u=["any","anything","every","everything","all","whatever","whatevs"],c=Array.isArray;if(0===arguments.length)throw new Error("check-types-mini: [THROW_ID_01] Missing all arguments!");if(1===arguments.length)throw new Error("check-types-mini: [THROW_ID_02] Missing second argument!");var s=a(e)?e:{},f={ignoreKeys:[],acceptArrays:!1,acceptArraysIgnore:[],enforceStrictKeyset:!0,schema:{},msg:"check-types-mini",optsVarName:"opts"},l=void 0;if(!i((l=o(t)&&a(t)?Object.assign({},f,t):Object.assign({},f)).msg))throw new Error("check-types-mini: [THROW_ID_03] opts.msg must be string! Currently it's: "+H(l.msg)+", equal to "+JSON.stringify(l.msg,null,4));if(l.msg=l.msg.trim(),":"===l.msg[l.msg.length-1]&&(l.msg=l.msg.slice(0,l.msg.length-1)),!i(l.optsVarName))throw new Error("check-types-mini: [THROW_ID_04] opts.optsVarName must be string! Currently it's: "+H(l.optsVarName)+", equal to "+JSON.stringify(l.optsVarName,null,4));if(l.ignoreKeys=Pe(l.ignoreKeys),l.acceptArraysIgnore=Pe(l.acceptArraysIgnore),!c(l.ignoreKeys))throw new TypeError("check-types-mini: [THROW_ID_05] opts.ignoreKeys should be an array, currently it's: "+H(l.ignoreKeys));if(!r(l.acceptArrays))throw new TypeError("check-types-mini: [THROW_ID_06] opts.acceptArrays should be a Boolean, currently it's: "+H(l.acceptArrays));if(!c(l.acceptArraysIgnore))throw new TypeError("check-types-mini: [THROW_ID_07] opts.acceptArraysIgnore should be an array, currently it's: "+H(l.acceptArraysIgnore));if(!r(l.enforceStrictKeyset))throw new TypeError("check-types-mini: [THROW_ID_08] opts.enforceStrictKeyset should be a Boolean, currently it's: "+H(l.enforceStrictKeyset));if(Object.keys(l.schema).forEach(function(e){c(l.schema[e])||(l.schema[e]=[l.schema[e]]),l.schema[e]=l.schema[e].map(String).map(function(e){return e.toLowerCase()}).map(function(e){return e.trim()})}),l.enforceStrictKeyset)if(o(l.schema)&&0<Object.keys(l.schema).length){if(0!==C(Object.keys(n),Object.keys(s).concat(Object.keys(l.schema))).length)throw new TypeError(l.msg+": "+l.optsVarName+".enforceStrictKeyset is on and the following keys are not covered by schema and/or reference objects: "+JSON.stringify(C(Object.keys(n),Object.keys(s).concat(Object.keys(l.schema))),null,4))}else{if(!(o(s)&&0<Object.keys(s).length))throw new TypeError(l.msg+": Both "+l.optsVarName+".schema and reference objects are missing! We don't have anything to match the keys as you requested via opts.enforceStrictKeyset!");if(0!==C(Object.keys(n),Object.keys(s)).length)throw new TypeError(l.msg+": The input object has keys that are not covered by reference object: "+JSON.stringify(C(Object.keys(n),Object.keys(s)),null,4));if(0!==C(Object.keys(s),Object.keys(n)).length)throw new TypeError(l.msg+": The reference object has keys that are not present in the input object: "+JSON.stringify(C(Object.keys(s),Object.keys(n)),null,4))}Object.keys(n).forEach(function(t){if(o(l.schema)&&Object.prototype.hasOwnProperty.call(l.schema,t)){if(l.schema[t]=Pe(l.schema[t]).map(String).map(function(e){return e.toLowerCase()}),!(Me(l.schema[t],u).length||(!0===n[t]||!1===n[t]||l.schema[t].includes(H(n[t]).toLowerCase()))&&(!0!==n[t]&&!1!==n[t]||l.schema[t].includes(String(n[t]))||l.schema[t].includes("boolean")))){if(!c(n[t])||!l.acceptArrays)throw new TypeError(l.msg+": "+l.optsVarName+"."+t+" was customised to "+JSON.stringify(n[t],null,4)+" which is not among the allowed types in schema ("+l.schema[t]+") but "+H(n[t]));for(var e=0,r=n[t].length;e<r;e++)if(!l.schema[t].includes(H(n[t][e]).toLowerCase()))throw new TypeError(l.msg+": "+l.optsVarName+"."+t+" is of type "+H(n[t][e]).toLowerCase()+", but only the following are allowed in "+l.optsVarName+".schema: "+l.schema[t])}}else if(o(s)&&Object.prototype.hasOwnProperty.call(s,t)&&H(n[t])!==H(s[t])&&!l.ignoreKeys.includes(t)){if(!l.acceptArrays||!c(n[t])||l.acceptArraysIgnore.includes(t))throw new TypeError(l.msg+": "+l.optsVarName+"."+t+" was customised to "+JSON.stringify(n[t],null,4)+" which is not "+H(s[t])+" but "+H(n[t]));if(!n[t].every(function(e){return H(e)===H(s[t])}))throw new TypeError(l.msg+": "+l.optsVarName+"."+t+" was customised to be array, but not all of its elements are "+H(s[t])+"-type")}})}var Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var He,Fe,Je=Function.prototype,Ve=Object.prototype,Ke=Je.toString,$e=Ve.hasOwnProperty,Ce=Ke.call(Object),Le=Ve.toString,qe=(He=Object.getPrototypeOf,Fe=Object,function(e){return He(Fe(e))});var Be=function(e){if(!(t=e)||"object"!=(void 0===t?"undefined":Re(t))||"[object Object]"!=Le.call(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e))return!1;var t,r=qe(e);if(null===r)return!0;var n=$e.call(r,"constructor")&&r.constructor;return"function"==typeof n&&n instanceof n&&Ke.call(n)==Ce},Ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ue="function"==typeof Symbol&&"symbol"===Ze(Symbol.iterator)?function(e){return void 0===e?"undefined":Ze(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":Ze(e)};function Ge(e,t){function r(e){return null!=e}if(!r(e))throw new Error("util-array-object-or-both/validate(): [THROW_ID_01] Please provide a string to work on. Currently it's equal to "+JSON.stringify(e,null,4));if("string"!=typeof e)throw new Error("util-array-object-or-both/validate(): [THROW_ID_02] Input must be string! Currently it's "+(void 0===e?"undefined":Ue(e))+", equal to: "+JSON.stringify(e,null,4));if(r(t)&&!Be(t))throw new Error("util-array-object-or-both/validate(): [THROW_ID_03] Second argument, options object, must be, well, object! Currenlty it's: "+(void 0===t?"undefined":Ue(t))+", equal to: "+JSON.stringify(t,null,4));var n={msg:"",optsVarName:"given variable"},o=Object.assign({},n,t);if(De(o,n,{msg:"util-array-object-or-both/validate(): [THROW_ID_03]",optsVarName:"opts",schema:{msg:["string",null],optsVarName:["string",null]}}),r(o.msg)&&0<o.msg.length&&(o.msg=o.msg.trim()+" "),"given variable"!==o.optsVarName&&(o.optsVarName='variable "'+o.optsVarName+'"'),D(["object","objects","obj","ob","o"],e.toLowerCase().trim()))return"object";if(D(["array","arrays","arr","aray","arr","a"],e.toLowerCase().trim()))return"array";if(D(["any","all","everything","both","either","each","whatever","whatevs","e"],e.toLowerCase().trim()))return"any";throw new TypeError(o.msg+"The "+o.optsVarName+" was customised to an unrecognised value: "+e+". Please check it against the API documentation.")}var Xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ye=function(e,t){if(t){if("object"!==(void 0===t?"undefined":Xe(t)))throw new TypeError(String(t)+" is not an object. Expected an object that has boolean `includeZero` property.");if("includeZero"in t){if("boolean"!=typeof t.includeZero)throw new TypeError(String(t.includeZero)+" is neither true nor false. `includeZero` option must be a Boolean value.");if(t.includeZero&&0===e)return!0}}return Number.isSafeInteger(e)&&1<=e},et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tt=1/0,rt="[object Symbol]",nt=/^\s+|\s+$/g,ot="\\ud800-\\udfff",it="\\u0300-\\u036f\\ufe20-\\ufe23",at="\\u20d0-\\u20f0",ut="\\ufe0e\\ufe0f",ct="["+ot+"]",st="["+it+at+"]",ft="\\ud83c[\\udffb-\\udfff]",lt="[^"+ot+"]",yt="(?:\\ud83c[\\udde6-\\uddff]){2}",pt="[\\ud800-\\udbff][\\udc00-\\udfff]",ht="\\u200d",dt="(?:"+st+"|"+ft+")"+"?",gt="["+ut+"]?",vt=gt+dt+("(?:"+ht+"(?:"+[lt,yt,pt].join("|")+")"+gt+dt+")*"),bt="(?:"+[lt+st+"?",st,yt,pt,ct].join("|")+")",mt=RegExp(ft+"(?="+ft+")|"+bt+vt,"g"),_t=RegExp("["+ht+ot+it+at+ut+"]"),wt="object"==et(ze)&&ze&&ze.Object===Object&&ze,jt="object"==("undefined"==typeof self?"undefined":et(self))&&self&&self.Object===Object&&self,Ot=wt||jt||Function("return this")();function St(e,t,r){if(t!=t)return function(e,t,r,n){for(var o=e.length,i=r+(n?1:-1);n?i--:++i<o;)if(t(e[i],i,e))return i;return-1}(e,kt,r);for(var n=r-1,o=e.length;++n<o;)if(e[n]===t)return n;return-1}function kt(e){return e!=e}function Tt(e){return t=e,_t.test(t)?e.match(mt)||[]:e.split("");var t}var At=Object.prototype.toString,xt=Ot.Symbol,Et=xt?xt.prototype:void 0,Nt=Et?Et.toString:void 0;function Wt(e){if("string"==typeof e)return e;if("symbol"==(void 0===(t=e)?"undefined":et(t))||(r=t)&&"object"==(void 0===r?"undefined":et(r))&&At.call(t)==rt)return Nt?Nt.call(e):"";var t,r,n=e+"";return"0"==n&&1/e==-tt?"-0":n}function It(e,t,r){var n=e.length;return r=void 0===r?n:r,!t&&n<=r?e:function(e,t,r){var n=-1,o=e.length;t<0&&(t=o<-t?0:o+t),(r=o<r?o:r)<0&&(r+=o),o=r<t?0:r-t>>>0,t>>>=0;for(var i=Array(o);++n<o;)i[n]=e[n+t];return i}(e,t,r)}var Mt=function(e,t,r){var n;if((e=null==(n=e)?"":Wt(n))&&(r||void 0===t))return e.replace(nt,"");if(!e||!(t=Wt(t)))return e;var o=Tt(e),i=Tt(t);return It(o,function(e,t){for(var r=-1,n=e.length;++r<n&&-1<St(t,e[r],0););return r}(o,i),function(e,t){for(var r=e.length;r--&&-1<St(t,e[r],0););return r}(o,i)+1).join("")},Pt=Array.isArray;function Dt(e){return"string"==typeof e&&0<e.length&&"."===e[0]?e.slice(1):e}function Rt(e,t){return function e(t,r,n){var o=O(t),i=void 0,a=void 0,u=void 0,c=void 0,s=void 0;if((n=Object.assign({depth:-1,path:""},n)).depth+=1,Pt(o))for(i=0,a=o.length;i<a;i++){var f=n.path+"."+i;void 0!==o[i]?(n.parent=O(o),u=e(r(o[i],void 0,Object.assign({},n,{path:Dt(f)})),r,Object.assign({},n,{path:Dt(f)})),Number.isNaN(u)&&i<o.length?(o.splice(i,1),i-=1):o[i]=u):o.splice(i,1)}else if(Be(o))for(i=0,a=(c=Object.keys(o)).length;i<a;i++){s=c[i];var l=n.path+"."+s;0===n.depth&&null!=s&&(n.topmostKey=s),n.parent=O(o),u=e(r(s,o[s],Object.assign({},n,{path:Dt(l)})),r,Object.assign({},n,{path:Dt(l)})),Number.isNaN(u)?delete o[s]:o[s]=u}return o}(e,t,{})}function Ht(e){function n(e){return"string"==typeof e}var t=Array.isArray,o=!0;return!!(t(e)||Be(e)||n(e))&&(n(e)?0===Mt(e).length:(e=Rt(e,function(e,t){var r=void 0!==t?t:e;return n(r)&&""!==Mt(r)&&(o=!1),r}),o))}var Ft=/[|\\{}()[\]^$+*?.]/g,Jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vt=new Map;function Kt(e,t){var r=Object.assign({caseSensitive:!1},t),n=e+JSON.stringify(r);if(Vt.has(n))return Vt.get(n);var o="!"===e[0];o&&(e=e.slice(1)),e=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(Ft,"\\$&")}(e).replace(/\\\*/g,".*");var i=new RegExp("^"+e+"$",r.caseSensitive?"":"i");return i.negated=o,Vt.set(n,i),i}var $t=function(e,t,r){if(!Array.isArray(e)||!Array.isArray(t))throw new TypeError("Expected two arrays, got "+(void 0===e?"undefined":Jt(e))+" "+(void 0===t?"undefined":Jt(t)));if(0===t.length)return e;var n="!"===t[0][0];t=t.map(function(e){return Kt(e,r)});var o=[],i=!0,a=!1,u=void 0;try{for(var c,s=e[Symbol.iterator]();!(i=(c=s.next()).done);i=!0){var f=c.value,l=n,y=!0,p=!1,h=void 0;try{for(var d,g=t[Symbol.iterator]();!(y=(d=g.next()).done);y=!0){var v=d.value;v.test(f)&&(l=!v.negated)}}catch(e){p=!0,h=e}finally{try{!y&&g.return&&g.return()}finally{if(p)throw h}}l&&o.push(f)}}catch(e){a=!0,u=e}finally{try{!i&&s.return&&s.return()}finally{if(a)throw u}}return o};$t.isMatch=function(e,t,r){var n=Kt(t,r),o=n.test(e);return n.negated?!o:o};var Ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Lt=Array.isArray;function qt(e){return null!=e}function Bt(e){return"Object"===H(e)}function Zt(e){return"string"===H(e)}function Ut(e){return Bt(e)||Zt(e)||"number"===H(e)||"boolean"===H(e)||Lt(e)||null===e}var Gt=Array.isArray;function zt(e,t,r){if(void 0===e)throw new TypeError("ast-compare/compare(): [THROW_ID_01] first argument is missing!");if(void 0===t)throw new TypeError("ast-compare/compare(): [THROW_ID_02] second argument is missing!");if(qt(e)&&!Ut(e))throw new TypeError("ast-compare/compare(): [THROW_ID_03] first input argument is of a wrong type, "+H(e)+", equal to: "+JSON.stringify(e,null,4));if(qt(t)&&!Ut(t))throw new TypeError("ast-compare/compare(): [THROW_ID_04] second input argument is of a wrong type, "+H(t)+", equal to: "+JSON.stringify(t,null,4));if(qt(r)&&!Bt(r))throw new TypeError("ast-compare/compare(): [THROW_ID_05] third argument, options object, must, well, be an object! Currently it's: "+H(r)+" and equal to: "+JSON.stringify(r,null,4));var n,o=O(t),i=O(e),a=void 0,u=void 0,c=void 0,s=0,f={hungryForWhitespace:!1,matchStrictly:!1,verboseWhenMismatches:!1,useWildcards:!1},l=Object.assign({},f,r);if(De(l,f,{msg:"ast-compare/compare(): [THROW_ID_06*]"}),l.hungryForWhitespace&&l.matchStrictly&&Bt(e)&&Ht(e)&&Bt(t)&&0===Object.keys(t).length)return!0;if((!l.hungryForWhitespace||l.hungryForWhitespace&&!Ht(e)&&Ht(t))&&Bt(e)&&0!==Object.keys(e).length&&Bt(t)&&0===Object.keys(t).length||H(e)!==H(t)&&(!l.hungryForWhitespace||l.hungryForWhitespace&&!Ht(e)))return!1;if(Zt(i)&&Zt(o))return!!(l.hungryForWhitespace&&Ht(i)&&Ht(o))||(l.verboseWhenMismatches?i===o||"Given string "+o+" is not matched! We have "+i+" on the other end.":l.useWildcards?$t.isMatch(i,o,{caseSensitive:!0}):i===o);if(Gt(i)&&Gt(o)){if(l.hungryForWhitespace&&Ht(o)&&(!l.matchStrictly||l.matchStrictly&&i.length===o.length))return!0;if(!l.hungryForWhitespace&&o.length>i.length||l.matchStrictly&&o.length!==i.length)return!!l.verboseWhenMismatches&&"The length of a given array, "+JSON.stringify(o,null,4)+" is "+o.length+" but the length of an array on the other end, "+JSON.stringify(i,null,4)+" is "+i.length;if(0===o.length)return 0===i.length||!!l.verboseWhenMismatches&&"The given array has no elements, but the array on the other end, "+JSON.stringify(i,null,4)+" does have some";for(var y=0,p=o.length;y<p;y++){c=!1;for(var h=s,d=i.length;h<d;h++)if(s+=1,!0===zt(i[h],o[y],l)){c=!0;break}if(!c)return!!l.verboseWhenMismatches&&"The given array "+JSON.stringify(o,null,4)+" is not a subset of an array on the other end, "+JSON.stringify(i,null,4)}}else{if(!Bt(i)||!Bt(o))return!!(l.hungryForWhitespace&&Ht(i)&&Ht(o)&&(!l.matchStrictly||l.matchStrictly&&(Bt(n=o)?0===Object.keys(n).length:(Lt(n)||Zt(n))&&0===n.length)))||i===o;if(a=Object.keys(o),u=Object.keys(i),l.matchStrictly&&a.length!==u.length){if(!l.verboseWhenMismatches)return!1;var g=C(O(a),O(u)),v=0<g.length?"First object has unique keys: "+JSON.stringify(g,null,4)+".":"",b=C(O(u),O(a));return"When matching strictly, we found that both objects have different amount of keys. "+v+" "+(0<b.length?"Second object has unique keys:\n "+JSON.stringify(b,null,4)+".":"")}for(var m=function(e,t){if(!qt(i[a[t]]))return!l.useWildcards||l.useWildcards&&!a[t].includes("*")?l.verboseWhenMismatches?{v:"The given object has key "+a[t]+" which the other-one does not have."}:{v:!1}:Object.keys(i).some(function(e){return $t.isMatch(e,a[t],{caseSensitive:!0})})?{v:!0}:l.verboseWhenMismatches?{v:"The given object has key "+a[t]+" which the other-one does not have."}:{v:!1};if(void 0!==i[a[t]]&&!Ut(i[a[t]]))throw new TypeError("ast-compare/compare(): [THROW_ID_07] The input "+JSON.stringify(i,null,4)+" contains a value of a wrong type, "+H(i[a[t]])+" at index "+t+", equal to: "+JSON.stringify(i[a[t]],null,4));if(!Ut(o[a[t]]))throw new TypeError("ast-compare/compare(): [THROW_ID_08] The input "+JSON.stringify(o,null,4)+" contains a value of a wrong type, "+H(o[a[t]])+" at index "+t+", equal to: "+JSON.stringify(o[a[t]],null,4));if(qt(i[a[t]])&&H(i[a[t]])!==H(o[a[t]])){if(!(Ht(i[a[t]])&&Ht(o[a[t]])&&l.hungryForWhitespace))return l.verboseWhenMismatches?{v:"The given key "+a[t]+" is of a different type on both objects. On the first-one, it's "+H(o[a[t]])+", on the second-one, it's "+H(i[a[t]])}:{v:!1}}else if(!0!==zt(i[a[t]],o[a[t]],l))return l.verboseWhenMismatches?{v:"The given piece "+JSON.stringify(o[a[t]],null,4)+" and "+JSON.stringify(i[a[t]],null,4)+" don't match."}:{v:!1}},_=0,w=a.length;_<w;_++){var j=m(0,_);if("object"===(void 0===j?"undefined":Ct(j)))return j.v}}return!0}function Qt(e){return null!=e}function Xt(e){return void 0!==e}function Yt(e,t){return H(e)===H(t)&&zt(e,t,{matchStrictly:!0,useWildcards:!0})}function er(e,o){if(!Qt(e))throw new Error("ast-monkey/index.js/monkey(): Please provide an input");var t=O(e);(o=Object.assign({key:null,val:void 0},o)).mode;var i={count:0,gatherPath:[],finding:null},a=[],u=!1,c=!1;return Qt(o.key)&&!Xt(o.val)&&(u=!0),!Qt(o.key)&&Xt(o.val)&&(c=!0),o.mode,o.mode,"arrayFirstOnly"===o.mode&&Array.isArray(t)&&0<t.length&&(t=[t[0]]),t=Rt(t,function(e,t,r){var n=void 0;if(i.count+=1,o.mode,o.mode,o.mode,i.gatherPath.length=r.depth,i.gatherPath.push(i.count),o.mode,"get"===o.mode)i.count===o.index&&(Xt(t)?(i.finding={},i.finding[e]=t):i.finding=e);else if("find"===o.mode||"del"===o.mode){if(!("any"===o.only||"array"===o.only&&void 0===t||"object"===o.only&&void 0!==t)||!(u&&Yt(e,o.key)||c&&Yt(t,o.val)||!u&&!c&&Yt(e,o.key)&&Yt(t,o.val)))return void 0!==t?t:e;if("find"!==o.mode)return NaN;(n={}).index=i.count,n.key=e,n.val=t,n.path=O(i.gatherPath),a.push(n)}return o.mode,"set"===o.mode&&i.count===o.index?o.val:"drop"===o.mode&&i.count===o.index?NaN:"arrayFirstOnly"===o.mode?Xt(t)&&Array.isArray(t)?[t[0]]:Qt(e)&&Array.isArray(e)?[e[0]]:void 0!==t?t:e:void 0!==t?t:e}),"get"===o.mode?i.finding:"find"===o.mode?0<a.length?a:null:t}function tr(e,t){if(!Xt(t.key)&&!Xt(t.val))throw new Error("ast-monkey/index.js/find(): Please provide opts.key or opts.val");return De(t,null,{schema:{key:["null","string"],val:"any",only:["undefined","null","string"]}}),"string"==typeof t.only&&0<t.only.length?t.only=Ge(t.only,{msg:"ast-monkey/find():",optsVarName:"opts.only"}):t.only="any",er(e,Object.assign({},t,{mode:"find"}))}function rr(e,t){if(!Qt(t.index))throw new Error("ast-monkey/index.js/get(): Please provide opts.index");if("string"==typeof t.index){if(!Ye(parseFloat(t.index,10),{includeZero:!0}))throw new Error("ast-monkey/index.js/get(): opts.index must be a natural number. It was given as: "+t.index);t.index=parseInt(t.index,10)}if(De(t,null,{schema:{index:"number"}}),!Ye(t.index,{includeZero:!0}))throw new Error("ast-monkey/index.js/get(): opts.index must be a natural number. It was given as: "+t.index);return er(e,Object.assign({},t,{mode:"get"}))}function nr(e,t){if(!Qt(t.index))throw new Error("ast-monkey/index.js/drop(): Please provide opts.index");if("string"==typeof t.index){if(!Ye(parseFloat(t.index,10),{includeZero:!0}))throw new Error("ast-monkey/index.js/drop(): opts.index must be a natural number. It was given as: "+t.index);t.index=parseInt(t.index,10)}if(!Ye(t.index,{includeZero:!0}))throw new Error("ast-monkey/index.js/get(): opts.index must be a natural number. It was given as: "+t.index);return De(t,null,{schema:{index:"number"}}),er(e,Object.assign({},t,{mode:"drop"}))}function or(e,t){if(!Qt(t.key)&&!Xt(t.val))throw new Error("ast-monkey/index.js/del(): Please provide opts.key or opts.val");return De(t,null,{schema:{key:[null,"string"],val:"any",only:["undefined","null","string"]}}),"string"==typeof t.only&&0<t.only.length?t.only=Ge(t.only,{msg:"ast-monkey/del():",optsVarName:"opts.only"}):t.only="any",er(e,Object.assign({},t,{mode:"del"}))}function ir(e){var t=void 0,r=void 0,n=!0;if(Array.isArray(e)){if(0===e.length)return!0;for(t=0,r=e.length;t<r;t++){if(null===(n=ir(e[t])))return null;if(!n)return!1}}else if(Be(e)){if(0===Object.keys(e).length)return!0;for(t=0,r=Object.keys(e).length;t<r;t++){if(null===(n=ir(e[Object.keys(e)[t]])))return null;if(!n)return!1}}else{if("string"!=typeof e)return null;if(0!==e.length)return!1}return n}return function(e,t){function r(e){return null!=e}if(!r(e))throw new Error("object-delete-key/deleteKey(): [THROW_ID_01] Please provide the first argument, something to work upon.");if(2<arguments.length)throw new Error("object-delete-key/deleteKey(): [THROW_ID_02] Third argument detected! Computer does not like this...");var n={key:null,val:void 0,cleanup:!0,only:"any"},o=Object.assign({},n,t);if(De(o,n,{msg:"object-delete-key/deleteKey(): [THROW_ID_00*]",ignoreKeys:"val",schema:{key:["null","string"],val:"whatever"}}),o.only=Ge(o.only,{msg:"object-delete-key/deleteKey(): [THROW_ID_03]",optsVarName:"opts.only"}),!r(o.key)&&!r(o.val))throw new Error("object-delete-key/deleteKey(): [THROW_ID_04] Please provide at least a key or a value.");var i=O(e);if(o.cleanup){for(var a=tr(i,{key:o.key,val:o.val,only:o.only}),u=void 0,c=void 0;a;){c=a[0].index;for(var s=1,f=a[0].path.length;s<f;s++)ir(or(rr(i,{index:u=a[0].path[f-1-s]}),{key:o.key,val:o.val,only:o.only}))&&(c=u);a=tr(i=nr(i,{index:c}),{key:o.key,val:o.val,only:o.only})}return i}return or(i,{key:o.key,val:o.val,only:o.only})}}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.objectDeleteKey=t()}(this,function(){"use strict";var ze="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(e,t){return e(t={exports:{}},t.exports),t.exports}var Qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O=e(function(e,t){var n="__lodash_hash_undefined__",r=9007199254740991,j="[object Arguments]",O="[object Boolean]",S="[object Date]",k="[object Function]",T="[object GeneratorFunction]",A="[object Map]",E="[object Number]",x="[object Object]",o="[object Promise]",N="[object RegExp]",W="[object Set]",I="[object String]",M="[object Symbol]",i="[object WeakMap]",P="[object ArrayBuffer]",D="[object DataView]",R="[object Float32Array]",H="[object Float64Array]",F="[object Int8Array]",J="[object Int16Array]",V="[object Int32Array]",K="[object Uint8Array]",$="[object Uint8ClampedArray]",C="[object Uint16Array]",L="[object Uint32Array]",q=/\w*$/,a=/^\[object .+?Constructor\]$/,u=/^(?:0|[1-9]\d*)$/,B={};B[j]=B["[object Array]"]=B[P]=B[D]=B[O]=B[S]=B[R]=B[H]=B[F]=B[J]=B[V]=B[A]=B[E]=B[x]=B[N]=B[W]=B[I]=B[M]=B[K]=B[$]=B[C]=B[L]=!0,B["[object Error]"]=B[k]=B[i]=!1;var c="object"==Qe(ze)&&ze&&ze.Object===Object&&ze,s="object"==("undefined"==typeof self?"undefined":Qe(self))&&self&&self.Object===Object&&self,f=c||s||Function("return this")(),l=t&&!t.nodeType&&t,y=l&&e&&!e.nodeType&&e,p=y&&y.exports===l;function Z(e,t){return e.set(t[0],t[1]),e}function U(e,t){return e.add(t),e}function G(e,t,r,n){var o=-1,i=e?e.length:0;for(n&&i&&(r=e[++o]);++o<i;)r=t(r,e[o],o,e);return r}function z(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function Q(e){var r=-1,n=Array(e.size);return e.forEach(function(e,t){n[++r]=[t,e]}),n}function h(t,r){return function(e){return t(r(e))}}function X(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}var d,g=Array.prototype,v=Function.prototype,m=Object.prototype,b=f["__core-js_shared__"],_=(d=/[^.]+$/.exec(b&&b.keys&&b.keys.IE_PROTO||""))?"Symbol(src)_1."+d:"",w=v.toString,Y=m.hasOwnProperty,ee=m.toString,te=RegExp("^"+w.call(Y).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),re=p?f.Buffer:void 0,ne=f.Symbol,oe=f.Uint8Array,ie=h(Object.getPrototypeOf,Object),ae=Object.create,ue=m.propertyIsEnumerable,ce=g.splice,se=Object.getOwnPropertySymbols,fe=re?re.isBuffer:void 0,le=h(Object.keys,Object),ye=He(f,"DataView"),pe=He(f,"Map"),he=He(f,"Promise"),de=He(f,"Set"),ge=He(f,"WeakMap"),ve=He(Object,"create"),me=$e(ye),be=$e(pe),_e=$e(he),we=$e(de),je=$e(ge),Oe=ne?ne.prototype:void 0,Se=Oe?Oe.valueOf:void 0;function ke(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Te(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Ae(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Ee(e){this.__data__=new Te(e)}function xe(e,t){var r,n,o,i=Le(e)||(o=n=r=e)&&"object"==(void 0===o?"undefined":Qe(o))&&qe(n)&&Y.call(r,"callee")&&(!ue.call(r,"callee")||ee.call(r)==j)?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],a=i.length,u=!!a;for(var c in e)!t&&!Y.call(e,c)||u&&("length"==c||Ve(c,a))||i.push(c);return i}function Ne(e,t,r){var n=e[t];Y.call(e,t)&&Ce(n,r)&&(void 0!==r||t in e)||(e[t]=r)}function We(e,t){for(var r=e.length;r--;)if(Ce(e[r][0],t))return r;return-1}function Ie(r,n,o,i,e,t,a){var u;if(i&&(u=t?i(r,e,t,a):i(r)),void 0!==u)return u;if(!Ue(r))return r;var c,s,f,l,y,p,h=Le(r);if(h){if(u=function(e){var t=e.length,r=e.constructor(t);t&&"string"==typeof e[0]&&Y.call(e,"index")&&(r.index=e.index,r.input=e.input);return r}(r),!n)return function(e,t){var r=-1,n=e.length;t||(t=Array(n));for(;++r<n;)t[r]=e[r];return t}(r,u)}else{var d=Je(r),g=d==k||d==T;if(Be(r))return function(e,t){if(t)return e.slice();var r=new e.constructor(e.length);return e.copy(r),r}(r,n);if(d==x||d==j||g&&!t){if(z(r))return t?r:{};if(u="function"!=typeof(y=g?{}:r).constructor||Ke(y)?{}:Ue(p=ie(y))?ae(p):{},!n)return l=c=r,s=(f=u)&&De(l,Ge(l),f),De(c,Fe(c),s)}else{if(!B[d])return t?r:{};u=function(e,t,r,n){var o=e.constructor;switch(t){case P:return Pe(e);case O:case S:return new o(+e);case D:return h=e,d=n?Pe(h.buffer):h.buffer,new h.constructor(d,h.byteOffset,h.byteLength);case R:case H:case F:case J:case V:case K:case $:case C:case L:return y=e,p=n?Pe(y.buffer):y.buffer,new y.constructor(p,y.byteOffset,y.length);case A:return f=e,l=r,G(n?l(Q(f),!0):Q(f),Z,new f.constructor);case E:case I:return new o(e);case N:return(s=new(c=e).constructor(c.source,q.exec(c))).lastIndex=c.lastIndex,s;case W:return a=e,u=r,G(n?u(X(a),!0):X(a),U,new a.constructor);case M:return i=e,Se?Object(Se.call(i)):{}}var i;var a,u;var c,s;var f,l;var y,p;var h,d}(r,d,Ie,n)}}a||(a=new Ee);var v,m,b,_=a.get(r);if(_)return _;if(a.set(r,u),!h)var w=o?(m=Fe,b=Ge(v=r),Le(v)?b:function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}(b,m(v))):Ge(r);return function(e,t){for(var r=-1,n=e?e.length:0;++r<n&&!1!==t(e[r],r,e););}(w||r,function(e,t){w&&(e=r[t=e]),Ne(u,t,Ie(e,n,o,i,t,r,a))}),u}function Me(e){return!(!Ue(e)||(t=e,_&&_ in t))&&(Ze(e)||z(e)?te:a).test($e(e));var t}function Pe(e){var t=new e.constructor(e.byteLength);return new oe(t).set(new oe(e)),t}function De(e,t,r,n){r||(r={});for(var o=-1,i=t.length;++o<i;){var a=t[o],u=n?n(r[a],e[a],a,r,e):void 0;Ne(r,a,void 0===u?e[a]:u)}return r}function Re(e,t){var r,n,o=e.__data__;return("string"==(n=void 0===(r=t)?"undefined":Qe(r))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof t?"string":"hash"]:o.map}function He(e,t){var r,n,o=(n=t,null==(r=e)?void 0:r[n]);return Me(o)?o:void 0}ke.prototype.clear=function(){this.__data__=ve?ve(null):{}},ke.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},ke.prototype.get=function(e){var t=this.__data__;if(ve){var r=t[e];return r===n?void 0:r}return Y.call(t,e)?t[e]:void 0},ke.prototype.has=function(e){var t=this.__data__;return ve?void 0!==t[e]:Y.call(t,e)},ke.prototype.set=function(e,t){return this.__data__[e]=ve&&void 0===t?n:t,this},Te.prototype.clear=function(){this.__data__=[]},Te.prototype.delete=function(e){var t=this.__data__,r=We(t,e);return!(r<0||(r==t.length-1?t.pop():ce.call(t,r,1),0))},Te.prototype.get=function(e){var t=this.__data__,r=We(t,e);return r<0?void 0:t[r][1]},Te.prototype.has=function(e){return-1<We(this.__data__,e)},Te.prototype.set=function(e,t){var r=this.__data__,n=We(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},Ae.prototype.clear=function(){this.__data__={hash:new ke,map:new(pe||Te),string:new ke}},Ae.prototype.delete=function(e){return Re(this,e).delete(e)},Ae.prototype.get=function(e){return Re(this,e).get(e)},Ae.prototype.has=function(e){return Re(this,e).has(e)},Ae.prototype.set=function(e,t){return Re(this,e).set(e,t),this},Ee.prototype.clear=function(){this.__data__=new Te},Ee.prototype.delete=function(e){return this.__data__.delete(e)},Ee.prototype.get=function(e){return this.__data__.get(e)},Ee.prototype.has=function(e){return this.__data__.has(e)},Ee.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Te){var n=r.__data__;if(!pe||n.length<199)return n.push([e,t]),this;r=this.__data__=new Ae(n)}return r.set(e,t),this};var Fe=se?h(se,Object):function(){return[]},Je=function(e){return ee.call(e)};function Ve(e,t){return!!(t=null==t?r:t)&&("number"==typeof e||u.test(e))&&-1<e&&e%1==0&&e<t}function Ke(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||m)}function $e(e){if(null!=e){try{return w.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ce(e,t){return e===t||e!=e&&t!=t}(ye&&Je(new ye(new ArrayBuffer(1)))!=D||pe&&Je(new pe)!=A||he&&Je(he.resolve())!=o||de&&Je(new de)!=W||ge&&Je(new ge)!=i)&&(Je=function(e){var t=ee.call(e),r=t==x?e.constructor:void 0,n=r?$e(r):void 0;if(n)switch(n){case me:return D;case be:return A;case _e:return o;case we:return W;case je:return i}return t});var Le=Array.isArray;function qe(e){return null!=e&&("number"==typeof(t=e.length)&&-1<t&&t%1==0&&t<=r)&&!Ze(e);var t}var Be=fe||function(){return!1};function Ze(e){var t=Ue(e)?ee.call(e):"";return t==k||t==T}function Ue(e){var t=void 0===e?"undefined":Qe(e);return!!e&&("object"==t||"function"==t)}function Ge(e){return qe(e)?xe(e):function(e){if(!Ke(e))return le(e);var t=[];for(var r in Object(e))Y.call(e,r)&&"constructor"!=r&&t.push(r);return t}(e)}e.exports=function(e){return Ie(e,!0,!0)}}),f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l=1/0,o=9007199254740991,y=17976931348623157e292,p=NaN,c="[object Arguments]",i="[object Function]",a="[object GeneratorFunction]",h="[object String]",d="[object Symbol]",g=/^\s+|\s+$/g,v=/^[-+]0x[0-9a-f]+$/i,m=/^0b[01]+$/i,b=/^0o[0-7]+$/i,r=/^(?:0|[1-9]\d*)$/,_=parseInt;function w(e){return e!=e}function j(t,e){return function(e,t){for(var r=-1,n=e?e.length:0,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}(e,function(e){return t[e]})}var t,n,u=Object.prototype,s=u.hasOwnProperty,S=u.toString,k=u.propertyIsEnumerable,T=(t=Object.keys,n=Object,function(e){return t(n(e))}),A=Math.max;function E(e,t){var r,n,o=W(e)||P(n=r=e)&&I(n)&&s.call(r,"callee")&&(!k.call(r,"callee")||S.call(r)==c)?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],i=o.length,a=!!i;for(var u in e)!t&&!s.call(e,u)||a&&("length"==u||N(u,i))||o.push(u);return o}function x(e){if(r=(t=e)&&t.constructor,n="function"==typeof r&&r.prototype||u,t!==n)return T(e);var t,r,n,o=[];for(var i in Object(e))s.call(e,i)&&"constructor"!=i&&o.push(i);return o}function N(e,t){return!!(t=null==t?o:t)&&("number"==typeof e||r.test(e))&&-1<e&&e%1==0&&e<t}var W=Array.isArray;function I(e){return null!=e&&("number"==typeof(n=e.length)&&-1<n&&n%1==0&&n<=o)&&!((r=M(t=e)?S.call(t):"")==i||r==a);var t,r,n}function M(e){var t=void 0===e?"undefined":f(e);return!!e&&("object"==t||"function"==t)}function P(e){return!!e&&"object"==(void 0===e?"undefined":f(e))}var D=function(e,t,r,n){var o,i,a,u;e=I(e)?e:(o=e)?j(o,I(i=o)?E(i):x(i)):[],r=r&&!n?(a=function(e){if(!e)return 0===e?e:0;if((e=function(e){if("number"==typeof e)return e;if("symbol"==(void 0===(t=e)?"undefined":f(t))||P(t)&&S.call(t)==d)return p;var t;if(M(e)){var r="function"==typeof e.valueOf?e.valueOf():e;e=M(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(g,"");var n=m.test(e);return n||b.test(e)?_(e.slice(2),n?2:8):v.test(e)?p:+e}(e))===l||e===-l){var t=e<0?-1:1;return t*y}return e==e?e:0}(r),u=a%1,a==a?u?a-u:a:0):0;var c,s=e.length;return r<0&&(r=A(s+r,0)),"string"==typeof(c=e)||!W(c)&&P(c)&&S.call(c)==h?r<=s&&-1<e.indexOf(t,r):!!s&&-1<function(e,t,r){if(t!=t)return function(e,t,r,n){for(var o=e.length,i=r+(n?1:-1);n?i--:++i<o;)if(t(e[i],i,e))return i;return-1}(e,w,r);for(var n=r-1,o=e.length;++n<o;)if(e[n]===t)return n;return-1}(e,t,r)},R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},H=e(function(e,t){var o,i,r,a,u,c,s,f,n,l,y,p,h,d,g,v,m,b;e.exports=(o="function"==typeof Promise,i="object"===("undefined"==typeof self?"undefined":R(self))?self:ze,r="undefined"!=typeof Symbol,a="undefined"!=typeof Map,u="undefined"!=typeof Set,c="undefined"!=typeof WeakMap,s="undefined"!=typeof WeakSet,f="undefined"!=typeof DataView,n=r&&void 0!==Symbol.iterator,l=r&&void 0!==Symbol.toStringTag,y=u&&"function"==typeof Set.prototype.entries,p=a&&"function"==typeof Map.prototype.entries,h=y&&Object.getPrototypeOf((new Set).entries()),d=p&&Object.getPrototypeOf((new Map).entries()),g=n&&"function"==typeof Array.prototype[Symbol.iterator],v=g&&Object.getPrototypeOf([][Symbol.iterator]()),m=n&&"function"==typeof String.prototype[Symbol.iterator],b=m&&Object.getPrototypeOf(""[Symbol.iterator]()),function(e){var t=void 0===e?"undefined":R(e);if("object"!==t)return t;if(null===e)return"null";if(e===i)return"global";if(Array.isArray(e)&&(!1===l||!(Symbol.toStringTag in e)))return"Array";if("object"===("undefined"==typeof window?"undefined":R(window))&&null!==window){if("object"===R(window.location)&&e===window.location)return"Location";if("object"===R(window.document)&&e===window.document)return"Document";if("object"===R(window.navigator)){if("object"===R(window.navigator.mimeTypes)&&e===window.navigator.mimeTypes)return"MimeTypeArray";if("object"===R(window.navigator.plugins)&&e===window.navigator.plugins)return"PluginArray"}if(("function"==typeof window.HTMLElement||"object"===R(window.HTMLElement))&&e instanceof window.HTMLElement){if("BLOCKQUOTE"===e.tagName)return"HTMLQuoteElement";if("TD"===e.tagName)return"HTMLTableDataCellElement";if("TH"===e.tagName)return"HTMLTableHeaderCellElement"}}var r=l&&e[Symbol.toStringTag];if("string"==typeof r)return r;var n=Object.getPrototypeOf(e);return n===RegExp.prototype?"RegExp":n===Date.prototype?"Date":o&&n===Promise.prototype?"Promise":u&&n===Set.prototype?"Set":a&&n===Map.prototype?"Map":s&&n===WeakSet.prototype?"WeakSet":c&&n===WeakMap.prototype?"WeakMap":f&&n===DataView.prototype?"DataView":a&&n===d?"Map Iterator":u&&n===h?"Set Iterator":g&&n===v?"Array Iterator":m&&n===b?"String Iterator":null===n?"Object":Object.prototype.toString.call(e).slice(8,-1)})});function F(e,t,r){if(t!=t)return function(e,t,r,n){for(var o=e.length,i=r+(n?1:-1);n?i--:++i<o;)if(t(e[i],i,e))return i;return-1}(e,V,r);for(var n=r-1,o=e.length;++n<o;)if(e[n]===t)return n;return-1}function J(e,t,r,n){for(var o=r-1,i=e.length;++o<i;)if(n(e[o],t))return o;return-1}function V(e){return e!=e}var K=Array.prototype.splice;function $(e,t,r,n){var o,i=n?J:F,a=-1,u=t.length,c=e;for(e===t&&(t=function(e,t){var r=-1,n=e.length;t||(t=Array(n));for(;++r<n;)t[r]=e[r];return t}(t)),r&&(c=function(e,t){for(var r=-1,n=e?e.length:0,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}(e,(o=r,function(e){return o(e)})));++a<u;)for(var s=0,f=t[a],l=r?r(f):f;-1<(s=i(c,l,s,n));)c!==e&&K.call(c,s,1),K.call(e,s,1);return e}var C=function(e,t){return e&&e.length&&t&&t.length?$(e,t):e},L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},q="__lodash_hash_undefined__",B=9007199254740991,Z="[object Function]",U="[object GeneratorFunction]",G=/^\[object .+?Constructor\]$/,z="object"==L(ze)&&ze&&ze.Object===Object&&ze,Q="object"==("undefined"==typeof self?"undefined":L(self))&&self&&self.Object===Object&&self,X=z||Q||Function("return this")();function Y(e,t){return!!(e?e.length:0)&&-1<function(e,t,r){if(t!=t)return function(e,t,r,n){var o=e.length,i=r+(n?1:-1);for(;n?i--:++i<o;)if(t(e[i],i,e))return i;return-1}(e,re,r);var n=r-1,o=e.length;for(;++n<o;)if(e[n]===t)return n;return-1}(e,t,0)}function ee(e,t,r){for(var n=-1,o=e?e.length:0;++n<o;)if(r(t,e[n]))return!0;return!1}function te(e,t){for(var r=-1,n=e?e.length:0,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}function re(e){return e!=e}function ne(t){return function(e){return t(e)}}function oe(e,t){return e.has(t)}var ie,ae,ue,ce=Array.prototype,se=Function.prototype,fe=Object.prototype,le=X["__core-js_shared__"],ye=(ie=/[^.]+$/.exec(le&&le.keys&&le.keys.IE_PROTO||""))?"Symbol(src)_1."+ie:"",pe=se.toString,he=fe.hasOwnProperty,de=fe.toString,ge=RegExp("^"+pe.call(he).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ve=ce.splice,me=Math.max,be=Math.min,_e=Ne(X,"Map"),we=Ne(Object,"create");function je(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Oe(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Se(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function ke(e){var t=-1,r=e?e.length:0;for(this.__data__=new Se;++t<r;)this.add(e[t])}function Te(e,t){for(var r,n,o=e.length;o--;)if((r=e[o][0])===(n=t)||r!=r&&n!=n)return o;return-1}function Ae(e){return!(!Ie(e)||(t=e,ye&&ye in t))&&(We(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?ge:G).test(function(e){if(null!=e){try{return pe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}function Ee(e){return(o=t=e)&&"object"==(void 0===o?"undefined":L(o))&&(null!=(r=t)&&("number"==typeof(n=r.length)&&-1<n&&n%1==0&&n<=B)&&!We(r))?e:[];var t,r,n,o}function xe(e,t){var r,n,o=e.__data__;return("string"==(n=void 0===(r=t)?"undefined":L(r))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof t?"string":"hash"]:o.map}function Ne(e,t){var r,n,o=(n=t,null==(r=e)?void 0:r[n]);return Ae(o)?o:void 0}function We(e){var t=Ie(e)?de.call(e):"";return t==Z||t==U}function Ie(e){var t=void 0===e?"undefined":L(e);return!!e&&("object"==t||"function"==t)}je.prototype.clear=function(){this.__data__=we?we(null):{}},je.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},je.prototype.get=function(e){var t=this.__data__;if(we){var r=t[e];return r===q?void 0:r}return he.call(t,e)?t[e]:void 0},je.prototype.has=function(e){var t=this.__data__;return we?void 0!==t[e]:he.call(t,e)},je.prototype.set=function(e,t){return this.__data__[e]=we&&void 0===t?q:t,this},Oe.prototype.clear=function(){this.__data__=[]},Oe.prototype.delete=function(e){var t=this.__data__,r=Te(t,e);return!(r<0||(r==t.length-1?t.pop():ve.call(t,r,1),0))},Oe.prototype.get=function(e){var t=this.__data__,r=Te(t,e);return r<0?void 0:t[r][1]},Oe.prototype.has=function(e){return-1<Te(this.__data__,e)},Oe.prototype.set=function(e,t){var r=this.__data__,n=Te(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},Se.prototype.clear=function(){this.__data__={hash:new je,map:new(_e||Oe),string:new je}},Se.prototype.delete=function(e){return xe(this,e).delete(e)},Se.prototype.get=function(e){return xe(this,e).get(e)},Se.prototype.has=function(e){return xe(this,e).has(e)},Se.prototype.set=function(e,t){return xe(this,e).set(e,t),this},ke.prototype.add=ke.prototype.push=function(e){return this.__data__.set(e,q),this},ke.prototype.has=function(e){return this.__data__.has(e)};var Me=(ae=function(e){var t=te(e,Ee);return t.length&&t[0]===e[0]?function(e,t,r){for(var n=r?ee:Y,o=e[0].length,i=e.length,a=i,u=Array(i),c=1/0,s=[];a--;){var f=e[a];a&&t&&(f=te(f,ne(t))),c=be(f.length,c),u[a]=!r&&(t||120<=o&&120<=f.length)?new ke(a&&f):void 0}f=e[0];var l=-1,y=u[0];e:for(;++l<o&&s.length<c;){var p=f[l],h=t?t(p):p;if(p=r||0!==p?p:0,!(y?oe(y,h):n(s,h,r))){for(a=i;--a;){var d=u[a];if(!(d?oe(d,h):n(e[a],h,r)))continue e}y&&y.push(h),s.push(p)}}return s}(t):[]},ue=me(void 0===ue?ae.length-1:ue,0),function(){for(var e=arguments,t=-1,r=me(e.length-ue,0),n=Array(r);++t<r;)n[t]=e[ue+t];t=-1;for(var o=Array(ue+1);++t<ue;)o[t]=e[t];return o[ue]=n,function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}(ae,this,o)});function Pe(e){return"string"==typeof e?0<e.length?[e]:[]:e}function De(n,e,t){function o(e){return null!=e}function r(e){return"boolean"===H(e)}function i(e){return"string"===H(e)}function a(e){return"Object"===H(e)}var u=["any","anything","every","everything","all","whatever","whatevs"],c=Array.isArray;if(0===arguments.length)throw new Error("check-types-mini: [THROW_ID_01] Missing all arguments!");if(1===arguments.length)throw new Error("check-types-mini: [THROW_ID_02] Missing second argument!");var s=a(e)?e:{},f={ignoreKeys:[],acceptArrays:!1,acceptArraysIgnore:[],enforceStrictKeyset:!0,schema:{},msg:"check-types-mini",optsVarName:"opts"},l=void 0;if(!i((l=o(t)&&a(t)?Object.assign({},f,t):Object.assign({},f)).msg))throw new Error("check-types-mini: [THROW_ID_03] opts.msg must be string! Currently it's: "+H(l.msg)+", equal to "+JSON.stringify(l.msg,null,4));if(l.msg=l.msg.trim(),":"===l.msg[l.msg.length-1]&&(l.msg=l.msg.slice(0,l.msg.length-1)),!i(l.optsVarName))throw new Error("check-types-mini: [THROW_ID_04] opts.optsVarName must be string! Currently it's: "+H(l.optsVarName)+", equal to "+JSON.stringify(l.optsVarName,null,4));if(l.ignoreKeys=Pe(l.ignoreKeys),l.acceptArraysIgnore=Pe(l.acceptArraysIgnore),!c(l.ignoreKeys))throw new TypeError("check-types-mini: [THROW_ID_05] opts.ignoreKeys should be an array, currently it's: "+H(l.ignoreKeys));if(!r(l.acceptArrays))throw new TypeError("check-types-mini: [THROW_ID_06] opts.acceptArrays should be a Boolean, currently it's: "+H(l.acceptArrays));if(!c(l.acceptArraysIgnore))throw new TypeError("check-types-mini: [THROW_ID_07] opts.acceptArraysIgnore should be an array, currently it's: "+H(l.acceptArraysIgnore));if(!r(l.enforceStrictKeyset))throw new TypeError("check-types-mini: [THROW_ID_08] opts.enforceStrictKeyset should be a Boolean, currently it's: "+H(l.enforceStrictKeyset));if(Object.keys(l.schema).forEach(function(e){c(l.schema[e])||(l.schema[e]=[l.schema[e]]),l.schema[e]=l.schema[e].map(String).map(function(e){return e.toLowerCase()}).map(function(e){return e.trim()})}),l.enforceStrictKeyset)if(o(l.schema)&&0<Object.keys(l.schema).length){if(0!==C(Object.keys(n),Object.keys(s).concat(Object.keys(l.schema))).length)throw new TypeError(l.msg+": "+l.optsVarName+".enforceStrictKeyset is on and the following keys are not covered by schema and/or reference objects: "+JSON.stringify(C(Object.keys(n),Object.keys(s).concat(Object.keys(l.schema))),null,4))}else{if(!(o(s)&&0<Object.keys(s).length))throw new TypeError(l.msg+": Both "+l.optsVarName+".schema and reference objects are missing! We don't have anything to match the keys as you requested via opts.enforceStrictKeyset!");if(0!==C(Object.keys(n),Object.keys(s)).length)throw new TypeError(l.msg+": The input object has keys that are not covered by reference object: "+JSON.stringify(C(Object.keys(n),Object.keys(s)),null,4));if(0!==C(Object.keys(s),Object.keys(n)).length)throw new TypeError(l.msg+": The reference object has keys that are not present in the input object: "+JSON.stringify(C(Object.keys(s),Object.keys(n)),null,4))}Object.keys(n).forEach(function(t){if(o(l.schema)&&Object.prototype.hasOwnProperty.call(l.schema,t)){if(l.schema[t]=Pe(l.schema[t]).map(String).map(function(e){return e.toLowerCase()}),!(Me(l.schema[t],u).length||(!0===n[t]||!1===n[t]||l.schema[t].includes(H(n[t]).toLowerCase()))&&(!0!==n[t]&&!1!==n[t]||l.schema[t].includes(String(n[t]))||l.schema[t].includes("boolean")))){if(!c(n[t])||!l.acceptArrays)throw new TypeError(l.msg+": "+l.optsVarName+"."+t+" was customised to "+JSON.stringify(n[t],null,4)+" which is not among the allowed types in schema ("+l.schema[t]+") but "+H(n[t]));for(var e=0,r=n[t].length;e<r;e++)if(!l.schema[t].includes(H(n[t][e]).toLowerCase()))throw new TypeError(l.msg+": "+l.optsVarName+"."+t+" is of type "+H(n[t][e]).toLowerCase()+", but only the following are allowed in "+l.optsVarName+".schema: "+l.schema[t])}}else if(o(s)&&Object.prototype.hasOwnProperty.call(s,t)&&H(n[t])!==H(s[t])&&!l.ignoreKeys.includes(t)){if(!l.acceptArrays||!c(n[t])||l.acceptArraysIgnore.includes(t))throw new TypeError(l.msg+": "+l.optsVarName+"."+t+" was customised to "+JSON.stringify(n[t],null,4)+" which is not "+H(s[t])+" but "+H(n[t]));if(!n[t].every(function(e){return H(e)===H(s[t])}))throw new TypeError(l.msg+": "+l.optsVarName+"."+t+" was customised to be array, but not all of its elements are "+H(s[t])+"-type")}})}var Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var He,Fe,Je=Function.prototype,Ve=Object.prototype,Ke=Je.toString,$e=Ve.hasOwnProperty,Ce=Ke.call(Object),Le=Ve.toString,qe=(He=Object.getPrototypeOf,Fe=Object,function(e){return He(Fe(e))});var Be=function(e){if(!(t=e)||"object"!=(void 0===t?"undefined":Re(t))||"[object Object]"!=Le.call(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e))return!1;var t,r=qe(e);if(null===r)return!0;var n=$e.call(r,"constructor")&&r.constructor;return"function"==typeof n&&n instanceof n&&Ke.call(n)==Ce},Ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function Ue(e,t){function r(e){return null!=e}if(!r(e))throw new Error("util-array-object-or-both/validate(): [THROW_ID_01] Please provide a string to work on. Currently it's equal to "+JSON.stringify(e,null,4));if("string"!=typeof e)throw new Error("util-array-object-or-both/validate(): [THROW_ID_02] Input must be string! Currently it's "+(void 0===e?"undefined":Ze(e))+", equal to: "+JSON.stringify(e,null,4));if(r(t)&&!Be(t))throw new Error("util-array-object-or-both/validate(): [THROW_ID_03] Second argument, options object, must be, well, object! Currenlty it's: "+(void 0===t?"undefined":Ze(t))+", equal to: "+JSON.stringify(t,null,4));var n={msg:"",optsVarName:"given variable"},o=Object.assign({},n,t);if(De(o,n,{msg:"util-array-object-or-both/validate(): [THROW_ID_03]",optsVarName:"opts",schema:{msg:["string",null],optsVarName:["string",null]}}),r(o.msg)&&0<o.msg.length&&(o.msg=o.msg.trim()+" "),"given variable"!==o.optsVarName&&(o.optsVarName='variable "'+o.optsVarName+'"'),D(["object","objects","obj","ob","o"],e.toLowerCase().trim()))return"object";if(D(["array","arrays","arr","aray","arr","a"],e.toLowerCase().trim()))return"array";if(D(["any","all","everything","both","either","each","whatever","whatevs","e"],e.toLowerCase().trim()))return"any";throw new TypeError(o.msg+"The "+o.optsVarName+" was customised to an unrecognised value: "+e+". Please check it against the API documentation.")}var Ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xe=function(e,t){if(t){if("object"!==(void 0===t?"undefined":Ge(t)))throw new TypeError(String(t)+" is not an object. Expected an object that has boolean `includeZero` property.");if("includeZero"in t){if("boolean"!=typeof t.includeZero)throw new TypeError(String(t.includeZero)+" is neither true nor false. `includeZero` option must be a Boolean value.");if(t.includeZero&&0===e)return!0}}return Number.isSafeInteger(e)&&1<=e},Ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},et=1/0,tt="[object Symbol]",rt=/^\s+|\s+$/g,nt="\\ud800-\\udfff",ot="\\u0300-\\u036f\\ufe20-\\ufe23",it="\\u20d0-\\u20f0",at="\\ufe0e\\ufe0f",ut="["+nt+"]",ct="["+ot+it+"]",st="\\ud83c[\\udffb-\\udfff]",ft="[^"+nt+"]",lt="(?:\\ud83c[\\udde6-\\uddff]){2}",yt="[\\ud800-\\udbff][\\udc00-\\udfff]",pt="\\u200d",ht="(?:"+ct+"|"+st+")"+"?",dt="["+at+"]?",gt=dt+ht+("(?:"+pt+"(?:"+[ft,lt,yt].join("|")+")"+dt+ht+")*"),vt="(?:"+[ft+ct+"?",ct,lt,yt,ut].join("|")+")",mt=RegExp(st+"(?="+st+")|"+vt+gt,"g"),bt=RegExp("["+pt+nt+ot+it+at+"]"),_t="object"==Ye(ze)&&ze&&ze.Object===Object&&ze,wt="object"==("undefined"==typeof self?"undefined":Ye(self))&&self&&self.Object===Object&&self,jt=_t||wt||Function("return this")();function Ot(e,t,r){if(t!=t)return function(e,t,r,n){for(var o=e.length,i=r+(n?1:-1);n?i--:++i<o;)if(t(e[i],i,e))return i;return-1}(e,St,r);for(var n=r-1,o=e.length;++n<o;)if(e[n]===t)return n;return-1}function St(e){return e!=e}function kt(e){return t=e,bt.test(t)?e.match(mt)||[]:e.split("");var t}var Tt=Object.prototype.toString,At=jt.Symbol,Et=At?At.prototype:void 0,xt=Et?Et.toString:void 0;function Nt(e){if("string"==typeof e)return e;if("symbol"==(void 0===(t=e)?"undefined":Ye(t))||(r=t)&&"object"==(void 0===r?"undefined":Ye(r))&&Tt.call(t)==tt)return xt?xt.call(e):"";var t,r,n=e+"";return"0"==n&&1/e==-et?"-0":n}function Wt(e,t,r){var n=e.length;return r=void 0===r?n:r,!t&&n<=r?e:function(e,t,r){var n=-1,o=e.length;t<0&&(t=o<-t?0:o+t),(r=o<r?o:r)<0&&(r+=o),o=r<t?0:r-t>>>0,t>>>=0;for(var i=Array(o);++n<o;)i[n]=e[n+t];return i}(e,t,r)}var It=function(e,t,r){var n;if((e=null==(n=e)?"":Nt(n))&&(r||void 0===t))return e.replace(rt,"");if(!e||!(t=Nt(t)))return e;var o=kt(e),i=kt(t);return Wt(o,function(e,t){for(var r=-1,n=e.length;++r<n&&-1<Ot(t,e[r],0););return r}(o,i),function(e,t){for(var r=e.length;r--&&-1<Ot(t,e[r],0););return r}(o,i)+1).join("")},Mt=Array.isArray;function Pt(e){return"string"==typeof e&&0<e.length&&"."===e[0]?e.slice(1):e}function Dt(e,t){return function e(t,r,n){var o=O(t),i=void 0,a=void 0,u=void 0,c=void 0,s=void 0;if((n=Object.assign({depth:-1,path:""},n)).depth+=1,Mt(o))for(i=0,a=o.length;i<a;i++){var f=n.path+"."+i;void 0!==o[i]?(n.parent=O(o),u=e(r(o[i],void 0,Object.assign({},n,{path:Pt(f)})),r,Object.assign({},n,{path:Pt(f)})),Number.isNaN(u)&&i<o.length?(o.splice(i,1),i-=1):o[i]=u):o.splice(i,1)}else if(Be(o))for(i=0,a=(c=Object.keys(o)).length;i<a;i++){s=c[i];var l=n.path+"."+s;0===n.depth&&null!=s&&(n.topmostKey=s),n.parent=O(o),u=e(r(s,o[s],Object.assign({},n,{path:Pt(l)})),r,Object.assign({},n,{path:Pt(l)})),Number.isNaN(u)?delete o[s]:o[s]=u}return o}(e,t,{})}function Rt(e){function n(e){return"string"==typeof e}var t=Array.isArray,o=!0;return!!(t(e)||Be(e)||n(e))&&(n(e)?0===It(e).length:(e=Dt(e,function(e,t){var r=void 0!==t?t:e;return n(r)&&""!==It(r)&&(o=!1),r}),o))}var Ht=/[|\\{}()[\]^$+*?.]/g,Ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jt=new Map;function Vt(e,t){var r=Object.assign({caseSensitive:!1},t),n=e+JSON.stringify(r);if(Jt.has(n))return Jt.get(n);var o="!"===e[0];o&&(e=e.slice(1)),e=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(Ht,"\\$&")}(e).replace(/\\\*/g,".*");var i=new RegExp("^"+e+"$",r.caseSensitive?"":"i");return i.negated=o,Jt.set(n,i),i}var Kt=function(e,t,r){if(!Array.isArray(e)||!Array.isArray(t))throw new TypeError("Expected two arrays, got "+(void 0===e?"undefined":Ft(e))+" "+(void 0===t?"undefined":Ft(t)));if(0===t.length)return e;var n="!"===t[0][0];t=t.map(function(e){return Vt(e,r)});var o=[],i=!0,a=!1,u=void 0;try{for(var c,s=e[Symbol.iterator]();!(i=(c=s.next()).done);i=!0){var f=c.value,l=n,y=!0,p=!1,h=void 0;try{for(var d,g=t[Symbol.iterator]();!(y=(d=g.next()).done);y=!0){var v=d.value;v.test(f)&&(l=!v.negated)}}catch(e){p=!0,h=e}finally{try{!y&&g.return&&g.return()}finally{if(p)throw h}}l&&o.push(f)}}catch(e){a=!0,u=e}finally{try{!i&&s.return&&s.return()}finally{if(a)throw u}}return o};Kt.isMatch=function(e,t,r){var n=Vt(t,r),o=n.test(e);return n.negated?!o:o};var $t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ct=Array.isArray;function Lt(e){return null!=e}function qt(e){return"Object"===H(e)}function Bt(e){return"string"===H(e)}function Zt(e){return qt(e)||Bt(e)||"number"===H(e)||"boolean"===H(e)||Ct(e)||null===e}var Ut=Array.isArray;function Gt(e,t,r){if(void 0===e)throw new TypeError("ast-compare/compare(): [THROW_ID_01] first argument is missing!");if(void 0===t)throw new TypeError("ast-compare/compare(): [THROW_ID_02] second argument is missing!");if(Lt(e)&&!Zt(e))throw new TypeError("ast-compare/compare(): [THROW_ID_03] first input argument is of a wrong type, "+H(e)+", equal to: "+JSON.stringify(e,null,4));if(Lt(t)&&!Zt(t))throw new TypeError("ast-compare/compare(): [THROW_ID_04] second input argument is of a wrong type, "+H(t)+", equal to: "+JSON.stringify(t,null,4));if(Lt(r)&&!qt(r))throw new TypeError("ast-compare/compare(): [THROW_ID_05] third argument, options object, must, well, be an object! Currently it's: "+H(r)+" and equal to: "+JSON.stringify(r,null,4));var n,o=O(t),i=O(e),a=void 0,u=void 0,c=void 0,s=0,f={hungryForWhitespace:!1,matchStrictly:!1,verboseWhenMismatches:!1,useWildcards:!1},l=Object.assign({},f,r);if(De(l,f,{msg:"ast-compare/compare(): [THROW_ID_06*]"}),l.hungryForWhitespace&&l.matchStrictly&&qt(e)&&Rt(e)&&qt(t)&&0===Object.keys(t).length)return!0;if((!l.hungryForWhitespace||l.hungryForWhitespace&&!Rt(e)&&Rt(t))&&qt(e)&&0!==Object.keys(e).length&&qt(t)&&0===Object.keys(t).length||H(e)!==H(t)&&(!l.hungryForWhitespace||l.hungryForWhitespace&&!Rt(e)))return!1;if(Bt(i)&&Bt(o))return!!(l.hungryForWhitespace&&Rt(i)&&Rt(o))||(l.verboseWhenMismatches?i===o||"Given string "+o+" is not matched! We have "+i+" on the other end.":l.useWildcards?Kt.isMatch(i,o,{caseSensitive:!0}):i===o);if(Ut(i)&&Ut(o)){if(l.hungryForWhitespace&&Rt(o)&&(!l.matchStrictly||l.matchStrictly&&i.length===o.length))return!0;if(!l.hungryForWhitespace&&o.length>i.length||l.matchStrictly&&o.length!==i.length)return!!l.verboseWhenMismatches&&"The length of a given array, "+JSON.stringify(o,null,4)+" is "+o.length+" but the length of an array on the other end, "+JSON.stringify(i,null,4)+" is "+i.length;if(0===o.length)return 0===i.length||!!l.verboseWhenMismatches&&"The given array has no elements, but the array on the other end, "+JSON.stringify(i,null,4)+" does have some";for(var y=0,p=o.length;y<p;y++){c=!1;for(var h=s,d=i.length;h<d;h++)if(s+=1,!0===Gt(i[h],o[y],l)){c=!0;break}if(!c)return!!l.verboseWhenMismatches&&"The given array "+JSON.stringify(o,null,4)+" is not a subset of an array on the other end, "+JSON.stringify(i,null,4)}}else{if(!qt(i)||!qt(o))return!!(l.hungryForWhitespace&&Rt(i)&&Rt(o)&&(!l.matchStrictly||l.matchStrictly&&(qt(n=o)?0===Object.keys(n).length:(Ct(n)||Bt(n))&&0===n.length)))||i===o;if(a=Object.keys(o),u=Object.keys(i),l.matchStrictly&&a.length!==u.length){if(!l.verboseWhenMismatches)return!1;var g=C(O(a),O(u)),v=0<g.length?"First object has unique keys: "+JSON.stringify(g,null,4)+".":"",m=C(O(u),O(a));return"When matching strictly, we found that both objects have different amount of keys. "+v+" "+(0<m.length?"Second object has unique keys:\n "+JSON.stringify(m,null,4)+".":"")}for(var b=function(e,t){if(!Lt(i[a[t]]))return!l.useWildcards||l.useWildcards&&!a[t].includes("*")?l.verboseWhenMismatches?{v:"The given object has key "+a[t]+" which the other-one does not have."}:{v:!1}:Object.keys(i).some(function(e){return Kt.isMatch(e,a[t],{caseSensitive:!0})})?{v:!0}:l.verboseWhenMismatches?{v:"The given object has key "+a[t]+" which the other-one does not have."}:{v:!1};if(void 0!==i[a[t]]&&!Zt(i[a[t]]))throw new TypeError("ast-compare/compare(): [THROW_ID_07] The input "+JSON.stringify(i,null,4)+" contains a value of a wrong type, "+H(i[a[t]])+" at index "+t+", equal to: "+JSON.stringify(i[a[t]],null,4));if(!Zt(o[a[t]]))throw new TypeError("ast-compare/compare(): [THROW_ID_08] The input "+JSON.stringify(o,null,4)+" contains a value of a wrong type, "+H(o[a[t]])+" at index "+t+", equal to: "+JSON.stringify(o[a[t]],null,4));if(Lt(i[a[t]])&&H(i[a[t]])!==H(o[a[t]])){if(!(Rt(i[a[t]])&&Rt(o[a[t]])&&l.hungryForWhitespace))return l.verboseWhenMismatches?{v:"The given key "+a[t]+" is of a different type on both objects. On the first-one, it's "+H(o[a[t]])+", on the second-one, it's "+H(i[a[t]])}:{v:!1}}else if(!0!==Gt(i[a[t]],o[a[t]],l))return l.verboseWhenMismatches?{v:"The given piece "+JSON.stringify(o[a[t]],null,4)+" and "+JSON.stringify(i[a[t]],null,4)+" don't match."}:{v:!1}},_=0,w=a.length;_<w;_++){var j=b(0,_);if("object"===(void 0===j?"undefined":$t(j)))return j.v}}return!0}function zt(e){return null!=e}function Qt(e){return void 0!==e}function Xt(e,t){return H(e)===H(t)&&Gt(e,t,{matchStrictly:!0,useWildcards:!0})}function Yt(e,o){if(!zt(e))throw new Error("ast-monkey/main.js/monkey(): Please provide an input");var t=O(e);(o=Object.assign({key:null,val:void 0},o)).mode;var i={count:0,gatherPath:[],finding:null},a=[],u=!1,c=!1;return zt(o.key)&&!Qt(o.val)&&(u=!0),!zt(o.key)&&Qt(o.val)&&(c=!0),o.mode,o.mode,"arrayFirstOnly"===o.mode&&Array.isArray(t)&&0<t.length&&(t=[t[0]]),t=Dt(t,function(e,t,r){var n=void 0;if(i.count+=1,o.mode,o.mode,o.mode,i.gatherPath.length=r.depth,i.gatherPath.push(i.count),o.mode,"get"===o.mode)i.count===o.index&&(Qt(t)?(i.finding={},i.finding[e]=t):i.finding=e);else if("find"===o.mode||"del"===o.mode){if(!("any"===o.only||"array"===o.only&&void 0===t||"object"===o.only&&void 0!==t)||!(u&&Xt(e,o.key)||c&&Xt(t,o.val)||!u&&!c&&Xt(e,o.key)&&Xt(t,o.val)))return void 0!==t?t:e;if("find"!==o.mode)return NaN;(n={}).index=i.count,n.key=e,n.val=t,n.path=O(i.gatherPath),a.push(n)}return o.mode,"set"===o.mode&&i.count===o.index?o.val:"drop"===o.mode&&i.count===o.index?NaN:"arrayFirstOnly"===o.mode?Qt(t)&&Array.isArray(t)?[t[0]]:zt(e)&&Array.isArray(e)?[e[0]]:void 0!==t?t:e:void 0!==t?t:e}),"get"===o.mode?i.finding:"find"===o.mode?0<a.length?a:null:t}function er(e,t){if(!Qt(t.key)&&!Qt(t.val))throw new Error("ast-monkey/main.js/find(): Please provide opts.key or opts.val");return De(t,null,{schema:{key:["null","string"],val:"any",only:["undefined","null","string"]}}),"string"==typeof t.only&&0<t.only.length?t.only=Ue(t.only,{msg:"ast-monkey/find():",optsVarName:"opts.only"}):t.only="any",Yt(e,Object.assign({},t,{mode:"find"}))}function tr(e,t){if(!zt(t.index))throw new Error("ast-monkey/main.js/get(): Please provide opts.index");if("string"==typeof t.index){if(!Xe(parseFloat(t.index,10),{includeZero:!0}))throw new Error("ast-monkey/main.js/get(): opts.index must be a natural number. It was given as: "+t.index);t.index=parseInt(t.index,10)}if(De(t,null,{schema:{index:"number"}}),!Xe(t.index,{includeZero:!0}))throw new Error("ast-monkey/main.js/get(): opts.index must be a natural number. It was given as: "+t.index);return Yt(e,Object.assign({},t,{mode:"get"}))}function rr(e,t){if(!zt(t.index))throw new Error("ast-monkey/main.js/drop(): Please provide opts.index");if("string"==typeof t.index){if(!Xe(parseFloat(t.index,10),{includeZero:!0}))throw new Error("ast-monkey/main.js/drop(): opts.index must be a natural number. It was given as: "+t.index);t.index=parseInt(t.index,10)}if(!Xe(t.index,{includeZero:!0}))throw new Error("ast-monkey/main.js/get(): opts.index must be a natural number. It was given as: "+t.index);return De(t,null,{schema:{index:"number"}}),Yt(e,Object.assign({},t,{mode:"drop"}))}function nr(e,t){if(!zt(t.key)&&!Qt(t.val))throw new Error("ast-monkey/main.js/del(): Please provide opts.key or opts.val");return De(t,null,{schema:{key:[null,"string"],val:"any",only:["undefined","null","string"]}}),"string"==typeof t.only&&0<t.only.length?t.only=Ue(t.only,{msg:"ast-monkey/del():",optsVarName:"opts.only"}):t.only="any",Yt(e,Object.assign({},t,{mode:"del"}))}function or(e){var t=void 0,r=void 0,n=!0;if(Array.isArray(e)){if(0===e.length)return!0;for(t=0,r=e.length;t<r;t++){if(null===(n=or(e[t])))return null;if(!n)return!1}}else if(Be(e)){if(0===Object.keys(e).length)return!0;for(t=0,r=Object.keys(e).length;t<r;t++){if(null===(n=or(e[Object.keys(e)[t]])))return null;if(!n)return!1}}else{if("string"!=typeof e)return null;if(0!==e.length)return!1}return n}return function(e,t){function r(e){return null!=e}if(!r(e))throw new Error("object-delete-key/deleteKey(): [THROW_ID_01] Please provide the first argument, something to work upon.");if(2<arguments.length)throw new Error("object-delete-key/deleteKey(): [THROW_ID_02] Third argument detected! Computer does not like this...");var n={key:null,val:void 0,cleanup:!0,only:"any"},o=Object.assign({},n,t);if(De(o,n,{msg:"object-delete-key/deleteKey(): [THROW_ID_00*]",ignoreKeys:"val",schema:{key:["null","string"],val:"whatever"}}),o.only=Ue(o.only,{msg:"object-delete-key/deleteKey(): [THROW_ID_03]",optsVarName:"opts.only"}),!r(o.key)&&!r(o.val))throw new Error("object-delete-key/deleteKey(): [THROW_ID_04] Please provide at least a key or a value.");var i=O(e);if(o.cleanup){for(var a=er(i,{key:o.key,val:o.val,only:o.only}),u=void 0,c=void 0;a;){c=a[0].index;for(var s=1,f=a[0].path.length;s<f;s++)or(nr(tr(i,{index:u=a[0].path[f-1-s]}),{key:o.key,val:o.val,only:o.only}))&&(c=u);a=er(i=rr(i,{index:c}),{key:o.key,val:o.val,only:o.only})}return i}return nr(i,{key:o.key,val:o.val,only:o.only})}}); |
{ | ||
"name": "object-delete-key", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "Delete keys from all arrays or plain objects, nested within anything, by key or by value or by both, and clean up afterwards. Accepts wildcards.", | ||
@@ -13,8 +13,5 @@ "license": "MIT", | ||
"type": "git", | ||
"url": "git+https://github.com/codsen/object-delete-key.git" | ||
"url": "https://bitbucket.org/codsen/object-delete-key.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/codsen/object-delete-key/issues" | ||
}, | ||
"homepage": "https://github.com/codsen/object-delete-key#readme", | ||
"homepage": "https://bitbucket.org/codsen/object-delete-key/", | ||
"author": { | ||
@@ -163,11 +160,12 @@ "email": "roy@codsen.com", | ||
"posthtml-parser" | ||
] | ||
], | ||
"travisVersionsOverride": [] | ||
} | ||
}, | ||
"dependencies": { | ||
"ast-is-empty": "^1.1.0", | ||
"ast-monkey": "^7.4.2", | ||
"ast-is-empty": "^1.2.1", | ||
"ast-monkey": "^7.5.0", | ||
"check-types-mini": "latest", | ||
"lodash.clonedeep": "*", | ||
"util-array-object-or-both": "^2.0.3" | ||
"util-array-object-or-both": "^2.2.1" | ||
}, | ||
@@ -177,8 +175,12 @@ "devDependencies": { | ||
"babel-preset-env": "latest", | ||
"codacy-coverage": "latest", | ||
"coveralls": "latest", | ||
"eslint": "^4.19.1", | ||
"eslint-config-prettier": "^2.9.0", | ||
"eslint-plugin-ava": "^4.5.1", | ||
"eslint-plugin-import": "^2.12.0", | ||
"eslint-plugin-prettier": "^2.6.0", | ||
"eslint": "latest", | ||
"eslint-config-prettier": "latest", | ||
"eslint-plugin-ava": "latest", | ||
"eslint-plugin-import": "latest", | ||
"eslint-plugin-no-unsanitized": "latest", | ||
"eslint-plugin-no-wildcard-postmessage": "latest", | ||
"eslint-plugin-prettier": "latest", | ||
"eslint-plugin-scanjs-rules": "latest", | ||
"esm": "latest", | ||
@@ -189,3 +191,3 @@ "husky": "latest", | ||
"prettier": "latest", | ||
"rollup": "^0.59.1", | ||
"rollup": "latest", | ||
"rollup-plugin-babel": "^3.0.4", | ||
@@ -192,0 +194,0 @@ "rollup-plugin-commonjs": "^9.1.3", |
106
readme.md
@@ -6,9 +6,5 @@ # object-delete-key | ||
[![Minimum Node version required][node-img]][node-url] | ||
[![Build Status][travis-img]][travis-url] | ||
[![Repository is on BitBucket][bitbucket-img]][bitbucket-url] | ||
[![Coverage][cov-img]][cov-url] | ||
[![bitHound Overall Score][overall-img]][overall-url] | ||
[![bitHound Dependencies][deps-img]][deps-url] | ||
[![View dependencies as 2D chart][deps2d-img]][deps2d-url] | ||
[![bitHound Dev Dependencies][dev-img]][dev-url] | ||
[![Known Vulnerabilities][vulnerabilities-img]][vulnerabilities-url] | ||
[![Downloads/Month][downloads-img]][downloads-url] | ||
@@ -21,22 +17,12 @@ [![Test in browser][runkit-img]][runkit-url] | ||
<!-- prettier-ignore-start --> | ||
- [Install](#markdown-header-install) | ||
- [Deleting](#markdown-header-deleting) | ||
- [API](#markdown-header-api) | ||
- [Example](#markdown-header-example) | ||
- [Wildcards](#markdown-header-wildcards) | ||
- [Rationale](#markdown-header-rationale) | ||
- [This library vs. \_.omit](#markdown-header-this-library-vs-_omit) | ||
- [Contributing](#markdown-header-contributing) | ||
- [Licence](#markdown-header-licence) | ||
<!-- START doctoc generated TOC please keep comment here to allow auto update --> | ||
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> | ||
- [Install](#install) | ||
- [Deleting](#deleting) | ||
- [API](#api) | ||
- [Example](#example) | ||
- [Wildcards](#wildcards) | ||
- [Rationale](#rationale) | ||
- [This library vs. \_.omit](#this-library-vs-%5C_omit) | ||
- [Contributing](#contributing) | ||
- [Licence](#licence) | ||
<!-- END doctoc generated TOC please keep comment here to allow auto update --> | ||
<!-- prettier-ignore-end --> | ||
## Install | ||
@@ -58,9 +44,9 @@ | ||
| Type | Key in `package.json` | Path | Size | | ||
| ------------------------------------------------------------------------------------------------------- | --------------------- | ------------------------------- | ---------- | | ||
| Main export - **CommonJS version**, transpiled to ES5, contains `require` and `module.exports` | `main` | `dist/object-delete-key.cjs.js` | 3 KB | | ||
| **ES module** build that Webpack/Rollup understands. Untranspiled ES6 code with `import`/`export`. | `module` | `dist/object-delete-key.esm.js` | 2 KB | | ||
| **UMD build** for browsers, transpiled, minified, containing `iife`'s and has all dependencies baked-in | `browser` | `dist/object-delete-key.umd.js` | 40 KB | | ||
| Type | Key in `package.json` | Path | Size | | ||
| ------------------------------------------------------------------------------------------------------- | --------------------- | ------------------------------- | ----- | | ||
| Main export - **CommonJS version**, transpiled to ES5, contains `require` and `module.exports` | `main` | `dist/object-delete-key.cjs.js` | 3 KB | | ||
| **ES module** build that Webpack/Rollup understands. Untranspiled ES6 code with `import`/`export`. | `module` | `dist/object-delete-key.esm.js` | 2 KB | | ||
| **UMD build** for browsers, transpiled, minified, containing `iife`'s and has all dependencies baked-in | `browser` | `dist/object-delete-key.umd.js` | 40 KB | | ||
**[⬆ back to top](#)** | ||
**[⬆ back to top](#markdown-header-object-delete-key)** | ||
@@ -71,11 +57,11 @@ ## Deleting | ||
* Delete all `key`/`value` pairs found in any nested plain objects where `key` equals `value`. | ||
* Delete all `key`/`value` pairs found in any nested plain objects where `key` is equal to a certain thing. `value` doesn't matter. | ||
* Delete all `key`/`value` pairs found in any nested plain objects where `value` is equal to a certain thing. `key` doesn't matter. | ||
- Delete all `key`/`value` pairs found in any nested plain objects where `key` equals `value`. | ||
- Delete all `key`/`value` pairs found in any nested plain objects where `key` is equal to a certain thing. `value` doesn't matter. | ||
- Delete all `key`/`value` pairs found in any nested plain objects where `value` is equal to a certain thing. `key` doesn't matter. | ||
This library accepts anything as input, including [parsed](https://github.com/posthtml/posthtml-parser) HTML, which is _deeply_ nested arrays of plain objects, arrays and strings. You can feed anything as input into this library - if it's traversable, it will be traversed and searched for your `key` and/or `value` in any plain objects. | ||
If you want to delete any nested objects that contain certain `key`/`value` pair(s), check out [ast-delete-object](https://github.com/codsen/ast-delete-object). | ||
If you want to delete any nested objects that contain certain `key`/`value` pair(s), check out [ast-delete-object](https://bitbucket.org/codsen/ast-delete-object). | ||
**[⬆ back to top](#)** | ||
**[⬆ back to top](#markdown-header-object-delete-key)** | ||
@@ -108,3 +94,3 @@ ## API | ||
**[⬆ back to top](#)** | ||
**[⬆ back to top](#markdown-header-object-delete-key)** | ||
@@ -128,3 +114,3 @@ #### Accepted `opts.only` values | ||
**[⬆ back to top](#)** | ||
**[⬆ back to top](#markdown-header-object-delete-key)** | ||
@@ -239,7 +225,7 @@ ### API - Output | ||
**[⬆ back to top](#)** | ||
**[⬆ back to top](#markdown-header-object-delete-key)** | ||
## Wildcards | ||
Wildcards can be used in keys and/or values. This library feeds inputs to [ast-monkey](https://github.com/codsen/ast-monkey) which is doing all the heavy lifting, which, in turn, is using [matcher](https://github.com/sindresorhus/matcher). | ||
Wildcards can be used in keys and/or values. This library feeds inputs to [ast-monkey](https://bitbucket.org/codsen/ast-monkey) which is doing all the heavy lifting, which, in turn, is using [matcher](https://github.com/sindresorhus/matcher). | ||
@@ -266,3 +252,3 @@ ```js | ||
**[⬆ back to top](#)** | ||
**[⬆ back to top](#markdown-header-object-delete-key)** | ||
@@ -275,5 +261,5 @@ ## Rationale | ||
I use this library in [email-remove-unused-css](https://github.com/codsen/email-remove-unused-css) to delete empty carcases of style tags without any selectors or empty class attributes in the inline HTML CSS. | ||
I use this library in [email-remove-unused-css](https://bitbucket.org/codsen/email-remove-unused-css) to delete empty carcases of style tags without any selectors or empty class attributes in the inline HTML CSS. | ||
**[⬆ back to top](#)** | ||
**[⬆ back to top](#markdown-header-object-delete-key)** | ||
@@ -331,18 +317,18 @@ ## This library vs. \_.omit | ||
* `_.omit` will not work on parsed HTML trees, consisting of nested arrays/plain objects | ||
* `_.omit` will not clean up any stumps left after the deletion. | ||
- `_.omit` will not work on parsed HTML trees, consisting of nested arrays/plain objects | ||
- `_.omit` will not clean up any stumps left after the deletion. | ||
If you want to save time, `object-delete-key` is better than Lodash because former is _specialised tool for dealing with AST's_. | ||
**[⬆ back to top](#)** | ||
**[⬆ back to top](#markdown-header-object-delete-key)** | ||
## Contributing | ||
* If you **want a new feature** in this package or you would like us to change some of its functionality, raise an [issue on this repo](https://github.com/codsen/object-delete-key/issues). | ||
- If you **want a new feature** in this package or you would like us to change some of its functionality, raise an [issue on this repo](https://bitbucket.org/codsen/object-delete-key/issues/new). | ||
* If you tried to use this library but it misbehaves, or **you need advice setting it up**, and its readme doesn't make sense, just document it and raise an [issue on this repo](https://github.com/codsen/object-delete-key/issues). | ||
- If you tried to use this library but it misbehaves, or **you need advice setting it up**, and its readme doesn't make sense, just document it and raise an [issue on this repo](https://bitbucket.org/codsen/object-delete-key/issues/new). | ||
* If you would like to **add or change some features**, just fork it, hack away, and file a pull request. We'll do our best to merge it quickly. _Prettier_ is enabled, so you don't need to worry about the code style. | ||
- If you would like to **add or change some features**, just fork it, hack away, and file a pull request. We'll do our best to merge it quickly. _Prettier_ is enabled, so you don't need to worry about the code style. | ||
**[⬆ back to top](#)** | ||
**[⬆ back to top](#markdown-header-object-delete-key)** | ||
@@ -357,16 +343,8 @@ ## Licence | ||
[node-url]: https://www.npmjs.com/package/object-delete-key | ||
[travis-img]: https://img.shields.io/travis/codsen/object-delete-key.svg?style=flat-square | ||
[travis-url]: https://travis-ci.org/codsen/object-delete-key | ||
[cov-img]: https://coveralls.io/repos/github/codsen/object-delete-key/badge.svg?style=flat-square?branch=master | ||
[cov-url]: https://coveralls.io/github/codsen/object-delete-key?branch=master | ||
[overall-img]: https://img.shields.io/bithound/code/github/codsen/object-delete-key.svg?style=flat-square | ||
[overall-url]: https://www.bithound.io/github/codsen/object-delete-key | ||
[deps-img]: https://img.shields.io/bithound/dependencies/github/codsen/object-delete-key.svg?style=flat-square | ||
[deps-url]: https://www.bithound.io/github/codsen/object-delete-key/master/dependencies/npm | ||
[bitbucket-img]: https://img.shields.io/badge/repo-on%20BitBucket-brightgreen.svg?style=flat-square | ||
[bitbucket-url]: https://bitbucket.org/codsen/object-delete-key | ||
[cov-img]: https://coveralls.io/repos/bitbucket/codsen/object-delete-key/badge.svg?style=flat-square&branch=master | ||
[cov-url]: https://coveralls.io/bitbucket/codsen/object-delete-key?branch=master | ||
[deps2d-img]: https://img.shields.io/badge/deps%20in%202D-see_here-08f0fd.svg?style=flat-square | ||
[deps2d-url]: http://npm.anvaka.com/#/view/2d/object-delete-key | ||
[dev-img]: https://img.shields.io/bithound/devDependencies/github/codsen/object-delete-key.svg?style=flat-square | ||
[dev-url]: https://www.bithound.io/github/codsen/object-delete-key/master/dependencies/npm | ||
[vulnerabilities-img]: https://snyk.io/test/github/codsen/object-delete-key/badge.svg?style=flat-square | ||
[vulnerabilities-url]: https://snyk.io/test/github/codsen/object-delete-key | ||
[downloads-img]: https://img.shields.io/npm/dm/object-delete-key.svg?style=flat-square | ||
@@ -377,4 +355,4 @@ [downloads-url]: https://npmcharts.com/compare/object-delete-key | ||
[prettier-img]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square | ||
[prettier-url]: https://github.com/prettier/prettier | ||
[license-img]: https://img.shields.io/npm/l/object-delete-key.svg?style=flat-square | ||
[license-url]: https://github.com/codsen/object-delete-key/blob/master/license.md | ||
[prettier-url]: https://prettier.io | ||
[license-img]: https://img.shields.io/badge/licence-MIT-51c838.svg?style=flat-square | ||
[license-url]: https://bitbucket.org/codsen/object-delete-key |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
67873
23
304
347
Updatedast-is-empty@^1.2.1
Updatedast-monkey@^7.5.0