object-flatten-all-arrays 7.1.3 → 7.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,11 +3,27 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## 7.1.0 (2025-10-15)
6
+ ## 7.2.0 (2026-08-19)
7
+
8
+ ### Bug Fixes
9
+
10
+ - resolve review findings REV-004 through REV-007 ([b60e9ee](https://github.com/codsen/codsen/commit/b60e9eeb499af94685cfb87b4970fe025be1fc10))
11
+ - retire direct publish aliases ([f98e31e](https://github.com/codsen/codsen/commit/f98e31eb89bc185471225664e610b55f34fbf648))
12
+ - trim production type dependencies ([426e081](https://github.com/codsen/codsen/commit/426e081f78e72bf3caecc138b339722309630dd8))
7
13
 
8
14
  ### Features
9
15
 
10
- - if value to be added is a number, keep it as is, don't stringify ([ce3e1a5](https://github.com/codsen/codsen/commit/ce3e1a525998ca3c0abf0142affef95b14cd1990))
16
+ - add codsen-glob and migrate glob consumers ([5595a2b](https://github.com/codsen/codsen/commit/5595a2b267eaa6cb60072d037aef00b7a28edd42))
17
+ - refresh the tooling and generate with the latest dependencies ([781f802](https://github.com/codsen/codsen/commit/781f802911066a82a4533b0e5a3fcbd742d0dd83))
18
+
19
+ ### Performance Improvements
20
+
21
+ - flatten arrays from a single cloned input ([e1cbcd8](https://github.com/codsen/codsen/commit/e1cbcd81e72719374b2357a4847ed8edd2274ea0))
22
+
23
+ ### Reverts
24
+
25
+ - Revert "Merge pull request #128 from codsen/release/npm-32198404552-1" ([5baeeaa](https://github.com/codsen/codsen/commit/5baeeaaa677b86f1eaa6396cadf3aea32b06416e)), closes [#128](https://github.com/codsen/codsen/issues/128)
26
+ - Revert "Merge pull request #127 from codsen/release/npm-32194020886-1" ([5f1e94d](https://github.com/codsen/codsen/commit/5f1e94deef910ce735266b16aeee08a76de7a862)), closes [#127](https://github.com/codsen/codsen/issues/127)
11
27
 
12
28
  ## 7.0.19 (2024-03-30)
13
29
 
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright © 2010-2025 Roy Revelt and other contributors
3
+ Copyright © 2010-2026 Roy Revelt and other contributors
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining
6
6
  a copy of this software and associated documentation files (the
package/README.md CHANGED
@@ -32,7 +32,7 @@ npm i object-flatten-all-arrays
32
32
  ## Quick Take
33
33
 
34
34
  ```js
35
- import { strict as assert } from "assert";
35
+ import { strict as assert } from "node:assert";
36
36
 
37
37
  import { flattenAllArrays } from "object-flatten-all-arrays";
38
38
 
@@ -66,9 +66,10 @@ assert.deepEqual(
66
66
  );
67
67
  ```
68
68
 
69
+
69
70
  ## Documentation
70
71
 
71
- Please [visit codsen.com](https://codsen.com/os/object-flatten-all-arrays/) for a full description of the API.
72
+ Please [visit codsen.com](https://codsen.com/os/object-flatten-all-arrays/) for a full description of the API. If you’re looking for the **Changelog**, it’s [here](https://github.com/codsen/codsen/blob/main/packages/object-flatten-all-arrays/CHANGELOG.md).
72
73
 
73
74
  ## Contributing
74
75
 
@@ -78,6 +79,6 @@ To report bugs or request features or assistance, [raise an issue](https://githu
78
79
 
79
80
  MIT License
80
81
 
81
- Copyright © 2010-2025 Roy Revelt and other contributors
82
+ Copyright © 2010-2026 Roy Revelt and other contributors
82
83
 
83
84
  <p align="center"><img src="https://codsen.com/images/png-codsen-ok.png" width="98" alt="ok" align="center"> <img src="https://codsen.com/images/png-codsen-1.png" width="148" alt="codsen" align="center"> <img src="https://codsen.com/images/png-codsen-star-small.png" width="32" alt="star" align="center"></p>
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * @name object-flatten-all-arrays
3
3
  * @fileoverview Merge and flatten any arrays found in all values within plain objects
4
- * @version 7.1.3
4
+ * @version 7.2.0
5
5
  * @author Roy Revelt
6
6
  * @license MIT
7
7
  * {@link https://codsen.com/os/object-flatten-all-arrays/}
8
8
  */
9
9
 
10
- import{merge as y}from"lodash-es";import b from"rfdc";import{isPlainObject as i}from"codsen-utils";var a="7.1.3";var p=b(),A=a,g={flattenArraysContainingStringsToBeEmpty:!1};function c(d,u){function m(t){return t.some(r=>typeof r=="string")}let l={...g,...u},e=p(d),s,n,o;if(Array.isArray(e)){if(l.flattenArraysContainingStringsToBeEmpty&&m(e))return[];s=null,n={},o=0;for(let t=0,r=e.length;t<r;t++)i(e[t])&&(n=y(n,e[t]),s===null?(s=!0,o=t):(e.splice(t,1),t-=1));s!==null&&(e[o]=p(n))}return i(e)?Object.keys(e).forEach(t=>{(i(e[t])||Array.isArray(e[t]))&&(e[t]=c(e[t],l))}):Array.isArray(e)&&e.forEach((t,r)=>{(i(e[r])||Array.isArray(e[r]))&&(e[r]=c(e[r],l))}),e}export{g as defaults,c as flattenAllArrays,A as version};
10
+ import{deepClone as d,isPlainObject as r}from"codsen-utils";import{merge as f}from"lodash-es";var l="7.2.0";var h=l,y={flattenArraysContainingStringsToBeEmpty:!1};function v(o,p){let i={...y,...p};function n(e){if(Array.isArray(e)){if(i.flattenArraysContainingStringsToBeEmpty&&e.some(t=>typeof t=="string"))return[];let s=-1,a={};for(let t=0;t<e.length;t++)r(e[t])&&(a=f(a,e[t]),s===-1?s=t:(e.splice(t,1),t-=1));s!==-1&&(e[s]=a);for(let t=0;t<e.length;t++)(r(e[t])||Array.isArray(e[t]))&&(e[t]=n(e[t]))}else if(r(e))for(let s of Object.keys(e))(r(e[s])||Array.isArray(e[s]))&&(e[s]=n(e[s]));return e}return n(d(o))}export{y as defaults,v as flattenAllArrays,h as version};
@@ -1,17 +1,17 @@
1
1
  /**
2
2
  * @name object-flatten-all-arrays
3
3
  * @fileoverview Merge and flatten any arrays found in all values within plain objects
4
- * @version 7.1.3
4
+ * @version 7.2.0
5
5
  * @author Roy Revelt
6
6
  * @license MIT
7
7
  * {@link https://codsen.com/os/object-flatten-all-arrays/}
8
8
  */
9
9
 
10
- "use strict";var objectFlattenAllArrays=(()=>{var Ve=Object.create;var R=Object.defineProperty;var qe=Object.getOwnPropertyDescriptor;var Ke=Object.getOwnPropertyNames,lt=Object.getOwnPropertySymbols,Je=Object.getPrototypeOf,dt=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable;var mt=(t,e,r)=>e in t?R(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,et=(t,e)=>{for(var r in e||(e={}))dt.call(e,r)&&mt(t,r,e[r]);if(lt)for(var r of lt(e))Qe.call(e,r)&&mt(t,r,e[r]);return t};var Ze=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Xe=(t,e)=>{for(var r in e)R(t,r,{get:e[r],enumerable:!0})},ct=(t,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let f of Ke(e))!dt.call(t,f)&&f!==r&&R(t,f,{get:()=>e[f],enumerable:!(a=qe(e,f))||a.enumerable});return t};var xt=(t,e,r)=>(r=t!=null?Ve(Je(t)):{},ct(e||!t||!t.__esModule?R(r,"default",{value:t,enumerable:!0}):r,t)),Ye=t=>ct(R({},"__esModule",{value:!0}),t);var it=Ze((Qu,We)=>{"use strict";We.exports=uf;function L(t){return t instanceof Buffer?Buffer.from(t):new t.constructor(t.buffer.slice(),t.byteOffset,t.length)}function uf(t){if(t=t||{},t.circles)return pf(t);let e=new Map;if(e.set(Date,s=>new Date(s)),e.set(Map,(s,i)=>new Map(a(Array.from(s),i))),e.set(Set,(s,i)=>new Set(a(Array.from(s),i))),t.constructorHandlers)for(let s of t.constructorHandlers)e.set(s[0],s[1]);let r=null;return t.proto?u:f;function a(s,i){let o=Object.keys(s),n=new Array(o.length);for(let l=0;l<o.length;l++){let p=o[l],d=s[p];typeof d!="object"||d===null?n[p]=d:d.constructor!==Object&&(r=e.get(d.constructor))?n[p]=r(d,i):ArrayBuffer.isView(d)?n[p]=L(d):n[p]=i(d)}return n}function f(s){if(typeof s!="object"||s===null)return s;if(Array.isArray(s))return a(s,f);if(s.constructor!==Object&&(r=e.get(s.constructor)))return r(s,f);let i={};for(let o in s){if(Object.hasOwnProperty.call(s,o)===!1)continue;let n=s[o];typeof n!="object"||n===null?i[o]=n:n.constructor!==Object&&(r=e.get(n.constructor))?i[o]=r(n,f):ArrayBuffer.isView(n)?i[o]=L(n):i[o]=f(n)}return i}function u(s){if(typeof s!="object"||s===null)return s;if(Array.isArray(s))return a(s,u);if(s.constructor!==Object&&(r=e.get(s.constructor)))return r(s,u);let i={};for(let o in s){let n=s[o];typeof n!="object"||n===null?i[o]=n:n.constructor!==Object&&(r=e.get(n.constructor))?i[o]=r(n,u):ArrayBuffer.isView(n)?i[o]=L(n):i[o]=u(n)}return i}}function pf(t){let e=[],r=[],a=new Map;if(a.set(Date,o=>new Date(o)),a.set(Map,(o,n)=>new Map(u(Array.from(o),n))),a.set(Set,(o,n)=>new Set(u(Array.from(o),n))),t.constructorHandlers)for(let o of t.constructorHandlers)a.set(o[0],o[1]);let f=null;return t.proto?i:s;function u(o,n){let l=Object.keys(o),p=new Array(l.length);for(let d=0;d<l.length;d++){let y=l[d],x=o[y];if(typeof x!="object"||x===null)p[y]=x;else if(x.constructor!==Object&&(f=a.get(x.constructor)))p[y]=f(x,n);else if(ArrayBuffer.isView(x))p[y]=L(x);else{let pt=e.indexOf(x);pt!==-1?p[y]=r[pt]:p[y]=n(x)}}return p}function s(o){if(typeof o!="object"||o===null)return o;if(Array.isArray(o))return u(o,s);if(o.constructor!==Object&&(f=a.get(o.constructor)))return f(o,s);let n={};e.push(o),r.push(n);for(let l in o){if(Object.hasOwnProperty.call(o,l)===!1)continue;let p=o[l];if(typeof p!="object"||p===null)n[l]=p;else if(p.constructor!==Object&&(f=a.get(p.constructor)))n[l]=f(p,s);else if(ArrayBuffer.isView(p))n[l]=L(p);else{let d=e.indexOf(p);d!==-1?n[l]=r[d]:n[l]=s(p)}}return e.pop(),r.pop(),n}function i(o){if(typeof o!="object"||o===null)return o;if(Array.isArray(o))return u(o,i);if(o.constructor!==Object&&(f=a.get(o.constructor)))return f(o,i);let n={};e.push(o),r.push(n);for(let l in o){let p=o[l];if(typeof p!="object"||p===null)n[l]=p;else if(p.constructor!==Object&&(f=a.get(p.constructor)))n[l]=f(p,i);else if(ArrayBuffer.isView(p))n[l]=L(p);else{let d=e.indexOf(p);d!==-1?n[l]=r[d]:n[l]=i(p)}}return e.pop(),r.pop(),n}}});var df={};Xe(df,{defaults:()=>$e,flattenAllArrays:()=>ut,version:()=>mf});var tr=typeof global=="object"&&global&&global.Object===Object&&global,G=tr;var er=typeof self=="object"&&self&&self.Object===Object&&self,rr=G||er||Function("return this")(),h=rr;var or=h.Symbol,w=or;var ht=Object.prototype,ar=ht.hasOwnProperty,fr=ht.toString,F=w?w.toStringTag:void 0;function sr(t){var e=ar.call(t,F),r=t[F];try{t[F]=void 0;var a=!0}catch(u){}var f=fr.call(t);return a&&(e?t[F]=r:delete t[F]),f}var yt=sr;var nr=Object.prototype,ir=nr.toString;function ur(t){return ir.call(t)}var gt=ur;var pr="[object Null]",lr="[object Undefined]",bt=w?w.toStringTag:void 0;function mr(t){return t==null?t===void 0?lr:pr:bt&&bt in Object(t)?yt(t):gt(t)}var v=mr;function dr(t){return t!=null&&typeof t=="object"}var g=dr;var cr=Array.isArray,N=cr;function xr(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var c=xr;function hr(t){return t}var $=hr;var yr="[object AsyncFunction]",gr="[object Function]",br="[object GeneratorFunction]",vr="[object Proxy]";function Or(t){if(!c(t))return!1;var e=v(t);return e==gr||e==br||e==yr||e==vr}var C=Or;var Ar=h["__core-js_shared__"],V=Ar;var vt=(function(){var t=/[^.]+$/.exec(V&&V.keys&&V.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})();function jr(t){return!!vt&&vt in t}var Ot=jr;var _r=Function.prototype,wr=_r.toString;function Cr(t){if(t!=null){try{return wr.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var At=Cr;var Tr=/[\\^$.*+?()[\]{}|]/g,Sr=/^\[object .+?Constructor\]$/,Ir=Function.prototype,Pr=Object.prototype,Br=Ir.toString,Er=Pr.hasOwnProperty,Dr=RegExp("^"+Br.call(Er).replace(Tr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Mr(t){if(!c(t)||Ot(t))return!1;var e=C(t)?Dr:Sr;return e.test(At(t))}var jt=Mr;function Lr(t,e){return t==null?void 0:t[e]}var _t=Lr;function Rr(t,e){var r=_t(t,e);return jt(r)?r:void 0}var T=Rr;var wt=Object.create,Fr=(function(){function t(){}return function(e){if(!c(e))return{};if(wt)return wt(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}})(),Ct=Fr;function Nr(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var Tt=Nr;function kr(t,e){var r=-1,a=t.length;for(e||(e=Array(a));++r<a;)e[r]=t[r];return e}var St=kr;var Wr=800,zr=16,Ur=Date.now;function Hr(t){var e=0,r=0;return function(){var a=Ur(),f=zr-(a-r);if(r=a,f>0){if(++e>=Wr)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var It=Hr;function Gr(t){return function(){return t}}var Pt=Gr;var $r=(function(){try{var t=T(Object,"defineProperty");return t({},"",{}),t}catch(e){}})(),S=$r;var Vr=S?function(t,e){return S(t,"toString",{configurable:!0,enumerable:!1,value:Pt(e),writable:!0})}:$,Bt=Vr;var qr=It(Bt),Et=qr;var Kr=9007199254740991,Jr=/^(?:0|[1-9]\d*)$/;function Qr(t,e){var r=typeof t;return e=e==null?Kr:e,!!e&&(r=="number"||r!="symbol"&&Jr.test(t))&&t>-1&&t%1==0&&t<e}var q=Qr;function Zr(t,e,r){e=="__proto__"&&S?S(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var I=Zr;function Xr(t,e){return t===e||t!==t&&e!==e}var O=Xr;var Yr=Object.prototype,to=Yr.hasOwnProperty;function eo(t,e,r){var a=t[e];(!(to.call(t,e)&&O(a,r))||r===void 0&&!(e in t))&&I(t,e,r)}var Dt=eo;function ro(t,e,r,a){var f=!r;r||(r={});for(var u=-1,s=e.length;++u<s;){var i=e[u],o=a?a(r[i],t[i],i,r,t):void 0;o===void 0&&(o=t[i]),f?I(r,i,o):Dt(r,i,o)}return r}var Mt=ro;var Lt=Math.max;function oo(t,e,r){return e=Lt(e===void 0?t.length-1:e,0),function(){for(var a=arguments,f=-1,u=Lt(a.length-e,0),s=Array(u);++f<u;)s[f]=a[e+f];f=-1;for(var i=Array(e+1);++f<e;)i[f]=a[f];return i[e]=r(s),Tt(t,this,i)}}var Rt=oo;function ao(t,e){return Et(Rt(t,e,$),t+"")}var Ft=ao;var fo=9007199254740991;function so(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=fo}var K=so;function no(t){return t!=null&&K(t.length)&&!C(t)}var P=no;function io(t,e,r){if(!c(r))return!1;var a=typeof e;return(a=="number"?P(r)&&q(e,r.length):a=="string"&&e in r)?O(r[e],t):!1}var Nt=io;function uo(t){return Ft(function(e,r){var a=-1,f=r.length,u=f>1?r[f-1]:void 0,s=f>2?r[2]:void 0;for(u=t.length>3&&typeof u=="function"?(f--,u):void 0,s&&Nt(r[0],r[1],s)&&(u=f<3?void 0:u,f=1),e=Object(e);++a<f;){var i=r[a];i&&t(e,i,a,u)}return e})}var kt=uo;var po=Object.prototype;function lo(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||po;return t===r}var J=lo;function mo(t,e){for(var r=-1,a=Array(t);++r<t;)a[r]=e(r);return a}var Wt=mo;var co="[object Arguments]";function xo(t){return g(t)&&v(t)==co}var rt=xo;var zt=Object.prototype,ho=zt.hasOwnProperty,yo=zt.propertyIsEnumerable,go=rt((function(){return arguments})())?rt:function(t){return g(t)&&ho.call(t,"callee")&&!yo.call(t,"callee")},k=go;function bo(){return!1}var Ut=bo;var $t=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ht=$t&&typeof module=="object"&&module&&!module.nodeType&&module,vo=Ht&&Ht.exports===$t,Gt=vo?h.Buffer:void 0,Oo=Gt?Gt.isBuffer:void 0,Ao=Oo||Ut,Q=Ao;var jo="[object Arguments]",_o="[object Array]",wo="[object Boolean]",Co="[object Date]",To="[object Error]",So="[object Function]",Io="[object Map]",Po="[object Number]",Bo="[object Object]",Eo="[object RegExp]",Do="[object Set]",Mo="[object String]",Lo="[object WeakMap]",Ro="[object ArrayBuffer]",Fo="[object DataView]",No="[object Float32Array]",ko="[object Float64Array]",Wo="[object Int8Array]",zo="[object Int16Array]",Uo="[object Int32Array]",Ho="[object Uint8Array]",Go="[object Uint8ClampedArray]",$o="[object Uint16Array]",Vo="[object Uint32Array]",m={};m[No]=m[ko]=m[Wo]=m[zo]=m[Uo]=m[Ho]=m[Go]=m[$o]=m[Vo]=!0;m[jo]=m[_o]=m[Ro]=m[wo]=m[Fo]=m[Co]=m[To]=m[So]=m[Io]=m[Po]=m[Bo]=m[Eo]=m[Do]=m[Mo]=m[Lo]=!1;function qo(t){return g(t)&&K(t.length)&&!!m[v(t)]}var Vt=qo;function Ko(t){return function(e){return t(e)}}var qt=Ko;var Kt=typeof exports=="object"&&exports&&!exports.nodeType&&exports,W=Kt&&typeof module=="object"&&module&&!module.nodeType&&module,Jo=W&&W.exports===Kt,ot=Jo&&G.process,Qo=(function(){try{var t=W&&W.require&&W.require("util").types;return t||ot&&ot.binding&&ot.binding("util")}catch(e){}})(),at=Qo;var Jt=at&&at.isTypedArray,Zo=Jt?qt(Jt):Vt,Z=Zo;var Xo=Object.prototype,Yo=Xo.hasOwnProperty;function ta(t,e){var r=N(t),a=!r&&k(t),f=!r&&!a&&Q(t),u=!r&&!a&&!f&&Z(t),s=r||a||f||u,i=s?Wt(t.length,String):[],o=i.length;for(var n in t)(e||Yo.call(t,n))&&!(s&&(n=="length"||f&&(n=="offset"||n=="parent")||u&&(n=="buffer"||n=="byteLength"||n=="byteOffset")||q(n,o)))&&i.push(n);return i}var Qt=ta;function ea(t,e){return function(r){return t(e(r))}}var Zt=ea;function ra(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}var Xt=ra;var oa=Object.prototype,aa=oa.hasOwnProperty;function fa(t){if(!c(t))return Xt(t);var e=J(t),r=[];for(var a in t)a=="constructor"&&(e||!aa.call(t,a))||r.push(a);return r}var Yt=fa;function sa(t){return P(t)?Qt(t,!0):Yt(t)}var X=sa;var na=T(Object,"create"),b=na;function ia(){this.__data__=b?b(null):{},this.size=0}var te=ia;function ua(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var ee=ua;var pa="__lodash_hash_undefined__",la=Object.prototype,ma=la.hasOwnProperty;function da(t){var e=this.__data__;if(b){var r=e[t];return r===pa?void 0:r}return ma.call(e,t)?e[t]:void 0}var re=da;var ca=Object.prototype,xa=ca.hasOwnProperty;function ha(t){var e=this.__data__;return b?e[t]!==void 0:xa.call(e,t)}var oe=ha;var ya="__lodash_hash_undefined__";function ga(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=b&&e===void 0?ya:e,this}var ae=ga;function B(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var a=t[e];this.set(a[0],a[1])}}B.prototype.clear=te;B.prototype.delete=ee;B.prototype.get=re;B.prototype.has=oe;B.prototype.set=ae;var ft=B;function ba(){this.__data__=[],this.size=0}var fe=ba;function va(t,e){for(var r=t.length;r--;)if(O(t[r][0],e))return r;return-1}var A=va;var Oa=Array.prototype,Aa=Oa.splice;function ja(t){var e=this.__data__,r=A(e,t);if(r<0)return!1;var a=e.length-1;return r==a?e.pop():Aa.call(e,r,1),--this.size,!0}var se=ja;function _a(t){var e=this.__data__,r=A(e,t);return r<0?void 0:e[r][1]}var ne=_a;function wa(t){return A(this.__data__,t)>-1}var ie=wa;function Ca(t,e){var r=this.__data__,a=A(r,t);return a<0?(++this.size,r.push([t,e])):r[a][1]=e,this}var ue=Ca;function E(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var a=t[e];this.set(a[0],a[1])}}E.prototype.clear=fe;E.prototype.delete=se;E.prototype.get=ne;E.prototype.has=ie;E.prototype.set=ue;var j=E;var Ta=T(h,"Map"),Y=Ta;function Sa(){this.size=0,this.__data__={hash:new ft,map:new(Y||j),string:new ft}}var pe=Sa;function Ia(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var le=Ia;function Pa(t,e){var r=t.__data__;return le(e)?r[typeof e=="string"?"string":"hash"]:r.map}var _=Pa;function Ba(t){var e=_(this,t).delete(t);return this.size-=e?1:0,e}var me=Ba;function Ea(t){return _(this,t).get(t)}var de=Ea;function Da(t){return _(this,t).has(t)}var ce=Da;function Ma(t,e){var r=_(this,t),a=r.size;return r.set(t,e),this.size+=r.size==a?0:1,this}var xe=Ma;function D(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var a=t[e];this.set(a[0],a[1])}}D.prototype.clear=pe;D.prototype.delete=me;D.prototype.get=de;D.prototype.has=ce;D.prototype.set=xe;var he=D;var La=Zt(Object.getPrototypeOf,Object),tt=La;var Ra="[object Object]",Fa=Function.prototype,Na=Object.prototype,ye=Fa.toString,ka=Na.hasOwnProperty,Wa=ye.call(Object);function za(t){if(!g(t)||v(t)!=Ra)return!1;var e=tt(t);if(e===null)return!0;var r=ka.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&ye.call(r)==Wa}var ge=za;function Ua(){this.__data__=new j,this.size=0}var be=Ua;function Ha(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}var ve=Ha;function Ga(t){return this.__data__.get(t)}var Oe=Ga;function $a(t){return this.__data__.has(t)}var Ae=$a;var Va=200;function qa(t,e){var r=this.__data__;if(r instanceof j){var a=r.__data__;if(!Y||a.length<Va-1)return a.push([t,e]),this.size=++r.size,this;r=this.__data__=new he(a)}return r.set(t,e),this.size=r.size,this}var je=qa;function M(t){var e=this.__data__=new j(t);this.size=e.size}M.prototype.clear=be;M.prototype.delete=ve;M.prototype.get=Oe;M.prototype.has=Ae;M.prototype.set=je;var _e=M;var Se=typeof exports=="object"&&exports&&!exports.nodeType&&exports,we=Se&&typeof module=="object"&&module&&!module.nodeType&&module,Ka=we&&we.exports===Se,Ce=Ka?h.Buffer:void 0,Te=Ce?Ce.allocUnsafe:void 0;function Ja(t,e){if(e)return t.slice();var r=t.length,a=Te?Te(r):new t.constructor(r);return t.copy(a),a}var Ie=Ja;var Qa=h.Uint8Array,st=Qa;function Za(t){var e=new t.constructor(t.byteLength);return new st(e).set(new st(t)),e}var Pe=Za;function Xa(t,e){var r=e?Pe(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var Be=Xa;function Ya(t){return typeof t.constructor=="function"&&!J(t)?Ct(tt(t)):{}}var Ee=Ya;function tf(t){return function(e,r,a){for(var f=-1,u=Object(e),s=a(e),i=s.length;i--;){var o=s[t?i:++f];if(r(u[o],o,u)===!1)break}return e}}var De=tf;var ef=De(),Me=ef;function rf(t,e,r){(r!==void 0&&!O(t[e],r)||r===void 0&&!(e in t))&&I(t,e,r)}var z=rf;function of(t){return g(t)&&P(t)}var Le=of;function af(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}var U=af;function ff(t){return Mt(t,X(t))}var Re=ff;function sf(t,e,r,a,f,u,s){var i=U(t,r),o=U(e,r),n=s.get(o);if(n){z(t,r,n);return}var l=u?u(i,o,r+"",t,e,s):void 0,p=l===void 0;if(p){var d=N(o),y=!d&&Q(o),x=!d&&!y&&Z(o);l=o,d||y||x?N(i)?l=i:Le(i)?l=St(i):y?(p=!1,l=Ie(o,!0)):x?(p=!1,l=Be(o,!0)):l=[]:ge(o)||k(o)?(l=i,k(i)?l=Re(i):(!c(i)||C(i))&&(l=Ee(o))):p=!1}p&&(s.set(o,l),f(l,o,a,u,s),s.delete(o)),z(t,r,l)}var Fe=sf;function Ne(t,e,r,a,f){t!==e&&Me(e,function(u,s){if(f||(f=new _e),c(u))Fe(t,e,s,r,Ne,a,f);else{var i=a?a(U(t,s),u,s+"",t,e,f):void 0;i===void 0&&(i=u),z(t,s,i)}},X)}var ke=Ne;var nf=kt(function(t,e,r){ke(t,e,r)}),nt=nf;var Ge=xt(it(),1);var ze=xt(it(),1);var Zu=(0,ze.default)();function H(t){if(t==null||typeof t!="object")return!1;let e=Object.getPrototypeOf(t);return e!==null&&e!==Object.prototype&&Object.getPrototypeOf(e)!==null?!1:!(Symbol.iterator in t)&&!(Symbol.toStringTag in t)}var Ue="7.1.3";var He=(0,Ge.default)(),mf=Ue,$e={flattenArraysContainingStringsToBeEmpty:!1};function ut(t,e){function r(o){return o.some(n=>typeof n=="string")}let a=et(et({},$e),e),f=He(t),u,s,i;if(Array.isArray(f)){if(a.flattenArraysContainingStringsToBeEmpty&&r(f))return[];u=null,s={},i=0;for(let o=0,n=f.length;o<n;o++)H(f[o])&&(s=nt(s,f[o]),u===null?(u=!0,i=o):(f.splice(o,1),o-=1));u!==null&&(f[i]=He(s))}return H(f)?Object.keys(f).forEach(o=>{(H(f[o])||Array.isArray(f[o]))&&(f[o]=ut(f[o],a))}):Array.isArray(f)&&f.forEach((o,n)=>{(H(f[n])||Array.isArray(f[n]))&&(f[n]=ut(f[n],a))}),f}return Ye(df);})();
10
+ "use strict";var objectFlattenAllArrays=(()=>{var U=Object.defineProperty;var Ue=Object.getOwnPropertyDescriptor;var $e=Object.getOwnPropertyNames,pt=Object.getOwnPropertySymbols;var dt=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable;var et=(t,e,r)=>e in t?U(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,rt=(t,e)=>{for(var r in e||(e={}))dt.call(e,r)&&et(t,r,e[r]);if(pt)for(var r of pt(e))ze.call(e,r)&&et(t,r,e[r]);return t};var Ge=(t,e)=>{for(var r in e)U(t,r,{get:e[r],enumerable:!0})},He=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of $e(e))!dt.call(t,a)&&a!==r&&U(t,a,{get:()=>e[a],enumerable:!(o=Ue(e,a))||o.enumerable});return t};var Ve=t=>He(U({},"__esModule",{value:!0}),t);var D=(t,e,r)=>et(t,typeof e!="symbol"?e+"":e,r);var nf={};Ge(nf,{defaults:()=>Ne,flattenAllArrays:()=>ff,version:()=>af});var lf=new Set([..."\u060B$\u20BC\u17DB\xA5\u20A1\u20B1\xA3\u20AC\xA2\u20B9\uFDFC\u20AA\u20A9\u20AD\u20A8\u20AE\u20A6\u20BD\u20AB\u0E3F\u20A9\u20BA\u20B4","$U","$b","B/.","BZ$","Br","Bs","C$","CHF","Ft","Gs","J$","KM","K\u010D","L","MT","NT$","P","Q","R","R$","RD$","RM","Rp","S","S/.","TT$","Z$","kn","kr","lei","z\u0142","\u0192","\u0414\u0438\u043D.","\u0434\u0435\u043D","\u043B\u0432","\u062F.\u0625","Lek"]);var qe=class{constructor(){D(this,"hasRepeatedReferences",!1);D(this,"clones",[]);D(this,"index");D(this,"sources",[])}get(t){if(this.index){let r=this.index.get(t);return r!==void 0&&(this.hasRepeatedReferences=!0),r}let e=this.sources.indexOf(t);if(e!==-1)return this.hasRepeatedReferences=!0,this.clones[e]}set(t,e){if(this.index){this.index.set(t,e);return}if(this.sources.push(t),this.clones.push(e),this.sources.length===32){this.index=new WeakMap;for(let r=0;r<this.sources.length;r++)this.index.set(this.sources[r],this.clones[r]);this.sources=[],this.clones=[]}}};function mt(t,e){let r=e.get(t);if(r!==void 0)return r;let o=t.slice(0);return e.set(t,o),o}function Ke(t,e){if(typeof Buffer<"u"&&Buffer.isBuffer(t)){let f=Buffer.from(t);return e.set(t,f),f}let r=mt(t.buffer,e);if(t instanceof DataView){let f=new DataView(r,t.byteOffset,t.byteLength);return e.set(t,f),f}let o=t.constructor,a=new o(r,t.byteOffset,t.length);return e.set(t,a),a}function ot(t,e,r,o){for(let a of r){let f=e[a];t[a]=typeof f!="object"||f===null?f:O(f,o)}}function O(t,e){if(typeof t!="object"||t===null)return t;let r=e.get(t);if(r!==void 0)return r;if(Array.isArray(t)){let f=t.length,s=new Array(f);e.set(t,s);let n=t,i=Object.keys(t);if(i.length===f&&(f===0||i[f-1]==="".concat(f-1)))for(let p=0;p<f;p++){let u=n[p];s[p]=typeof u!="object"||u===null?u:O(u,e)}else ot(s,n,i,e);return s}let o=Object.getPrototypeOf(t);if(o===Object.prototype||o===null){let f={};return e.set(t,f),ot(f,t,Object.keys(t),e),f}if(t instanceof Date){let f=new Date(t.getTime());return e.set(t,f),f}if(ArrayBuffer.isView(t))return Ke(t,e);if(t instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&t instanceof SharedArrayBuffer)return mt(t,e);if(t instanceof Map){let f=new Map;e.set(t,f);for(let[s,n]of t)f.set(O(s,e),O(n,e));return f}if(t instanceof Set){let f=new Set;e.set(t,f);for(let s of t)f.add(O(s,e));return f}let a={};return e.set(t,a),ot(a,t,Object.keys(t),e),a}function ct(t){return O(t,new qe)}function L(t){if(t==null||typeof t!="object")return!1;let e=Object.getPrototypeOf(t);return e!==null&&e!==Object.prototype&&Object.getPrototypeOf(e)!==null?!1:!(Symbol.iterator in t)&&!(Symbol.toStringTag in t)}var Qe=typeof global=="object"&&global&&global.Object===Object&&global,$=Qe;var Je=typeof self=="object"&&self&&self.Object===Object&&self,Ze=$||Je||Function("return this")(),m=Ze;var Xe=m.Symbol,A=Xe;var xt=Object.prototype,Ye=xt.hasOwnProperty,tr=xt.toString,k=A?A.toStringTag:void 0;function er(t){var e=Ye.call(t,k),r=t[k];try{t[k]=void 0;var o=!0}catch(f){}var a=tr.call(t);return o&&(e?t[k]=r:delete t[k]),a}var ht=er;var rr=Object.prototype,or=rr.toString;function ar(t){return or.call(t)}var gt=ar;var fr="[object Null]",nr="[object Undefined]",yt=A?A.toStringTag:void 0;function sr(t){return t==null?t===void 0?nr:fr:yt&&yt in Object(t)?ht(t):gt(t)}var h=sr;function ir(t){return t!=null&&typeof t=="object"}var c=ir;var lr=Array.isArray,R=lr;function ur(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var d=ur;function pr(t){return t}var z=pr;var dr="[object AsyncFunction]",mr="[object Function]",cr="[object GeneratorFunction]",xr="[object Proxy]";function hr(t){if(!d(t))return!1;var e=h(t);return e==mr||e==cr||e==dr||e==xr}var j=hr;var gr=m["__core-js_shared__"],G=gr;var bt=(function(){var t=/[^.]+$/.exec(G&&G.keys&&G.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})();function yr(t){return!!bt&&bt in t}var vt=yr;var br=Function.prototype,vr=br.toString;function Or(t){if(t!=null){try{return vr.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var Ot=Or;var Ar=/[\\^$.*+?()[\]{}|]/g,jr=/^\[object .+?Constructor\]$/,wr=Function.prototype,_r=Object.prototype,Cr=wr.toString,Sr=_r.hasOwnProperty,Tr=RegExp("^"+Cr.call(Sr).replace(Ar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Ir(t){if(!d(t)||vt(t))return!1;var e=j(t)?Tr:jr;return e.test(Ot(t))}var At=Ir;function Pr(t,e){return t==null?void 0:t[e]}var jt=Pr;function Mr(t,e){var r=jt(t,e);return At(r)?r:void 0}var w=Mr;var wt=Object.create,Br=(function(){function t(){}return function(e){if(!d(e))return{};if(wt)return wt(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}})(),_t=Br;function Dr(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var Ct=Dr;function Lr(t,e){var r=-1,o=t.length;for(e||(e=Array(o));++r<o;)e[r]=t[r];return e}var St=Lr;var kr=800,Rr=16,Wr=Date.now;function Er(t){var e=0,r=0;return function(){var o=Wr(),a=Rr-(o-r);if(r=o,a>0){if(++e>=kr)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var Tt=Er;function Fr(t){return function(){return t}}var It=Fr;var Nr=(function(){try{var t=w(Object,"defineProperty");return t({},"",{}),t}catch(e){}})(),_=Nr;var Ur=_?function(t,e){return _(t,"toString",{configurable:!0,enumerable:!1,value:It(e),writable:!0})}:z,Pt=Ur;var $r=Tt(Pt),Mt=$r;var zr=9007199254740991,Gr=/^(?:0|[1-9]\d*)$/;function Hr(t,e){var r=typeof t;return e=e==null?zr:e,!!e&&(r=="number"||r!="symbol"&&Gr.test(t))&&t>-1&&t%1==0&&t<e}var H=Hr;function Vr(t,e,r){e=="__proto__"&&_?_(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var C=Vr;function qr(t,e){return t===e||t!==t&&e!==e}var g=qr;var Kr=Object.prototype,Qr=Kr.hasOwnProperty;function Jr(t,e,r){var o=t[e];(!(Qr.call(t,e)&&g(o,r))||r===void 0&&!(e in t))&&C(t,e,r)}var Bt=Jr;function Zr(t,e,r,o){var a=!r;r||(r={});for(var f=-1,s=e.length;++f<s;){var n=e[f],i=o?o(r[n],t[n],n,r,t):void 0;i===void 0&&(i=t[n]),a?C(r,n,i):Bt(r,n,i)}return r}var Dt=Zr;var Lt=Math.max;function Xr(t,e,r){return e=Lt(e===void 0?t.length-1:e,0),function(){for(var o=arguments,a=-1,f=Lt(o.length-e,0),s=Array(f);++a<f;)s[a]=o[e+a];a=-1;for(var n=Array(e+1);++a<e;)n[a]=o[a];return n[e]=r(s),Ct(t,this,n)}}var kt=Xr;function Yr(t,e){return Mt(kt(t,e,z),t+"")}var Rt=Yr;var to=9007199254740991;function eo(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=to}var V=eo;function ro(t){return t!=null&&V(t.length)&&!j(t)}var S=ro;function oo(t,e,r){if(!d(r))return!1;var o=typeof e;return(o=="number"?S(r)&&H(e,r.length):o=="string"&&e in r)?g(r[e],t):!1}var Wt=oo;function ao(t){return Rt(function(e,r){var o=-1,a=r.length,f=a>1?r[a-1]:void 0,s=a>2?r[2]:void 0;for(f=t.length>3&&typeof f=="function"?(a--,f):void 0,s&&Wt(r[0],r[1],s)&&(f=a<3?void 0:f,a=1),e=Object(e);++o<a;){var n=r[o];n&&t(e,n,o,f)}return e})}var Et=ao;var fo=Object.prototype;function no(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||fo;return t===r}var q=no;function so(t,e){for(var r=-1,o=Array(t);++r<t;)o[r]=e(r);return o}var Ft=so;var io="[object Arguments]";function lo(t){return c(t)&&h(t)==io}var at=lo;var Nt=Object.prototype,uo=Nt.hasOwnProperty,po=Nt.propertyIsEnumerable,mo=at((function(){return arguments})())?at:function(t){return c(t)&&uo.call(t,"callee")&&!po.call(t,"callee")},W=mo;function co(){return!1}var Ut=co;var Gt=typeof exports=="object"&&exports&&!exports.nodeType&&exports,$t=Gt&&typeof module=="object"&&module&&!module.nodeType&&module,xo=$t&&$t.exports===Gt,zt=xo?m.Buffer:void 0,ho=zt?zt.isBuffer:void 0,go=ho||Ut,K=go;var yo="[object Arguments]",bo="[object Array]",vo="[object Boolean]",Oo="[object Date]",Ao="[object Error]",jo="[object Function]",wo="[object Map]",_o="[object Number]",Co="[object Object]",So="[object RegExp]",To="[object Set]",Io="[object String]",Po="[object WeakMap]",Mo="[object ArrayBuffer]",Bo="[object DataView]",Do="[object Float32Array]",Lo="[object Float64Array]",ko="[object Int8Array]",Ro="[object Int16Array]",Wo="[object Int32Array]",Eo="[object Uint8Array]",Fo="[object Uint8ClampedArray]",No="[object Uint16Array]",Uo="[object Uint32Array]",l={};l[Do]=l[Lo]=l[ko]=l[Ro]=l[Wo]=l[Eo]=l[Fo]=l[No]=l[Uo]=!0;l[yo]=l[bo]=l[Mo]=l[vo]=l[Bo]=l[Oo]=l[Ao]=l[jo]=l[wo]=l[_o]=l[Co]=l[So]=l[To]=l[Io]=l[Po]=!1;function $o(t){return c(t)&&V(t.length)&&!!l[h(t)]}var Ht=$o;function zo(t){return function(e){return t(e)}}var Vt=zo;var qt=typeof exports=="object"&&exports&&!exports.nodeType&&exports,E=qt&&typeof module=="object"&&module&&!module.nodeType&&module,Go=E&&E.exports===qt,ft=Go&&$.process,Ho=(function(){try{var t=E&&E.require&&E.require("util").types;return t||ft&&ft.binding&&ft.binding("util")}catch(e){}})(),nt=Ho;var Kt=nt&&nt.isTypedArray,Vo=Kt?Vt(Kt):Ht,Q=Vo;var qo=Object.prototype,Ko=qo.hasOwnProperty;function Qo(t,e){var r=R(t),o=!r&&W(t),a=!r&&!o&&K(t),f=!r&&!o&&!a&&Q(t),s=r||o||a||f,n=s?Ft(t.length,String):[],i=n.length;for(var p in t)(e||Ko.call(t,p))&&!(s&&(p=="length"||a&&(p=="offset"||p=="parent")||f&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||H(p,i)))&&n.push(p);return n}var Qt=Qo;function Jo(t,e){return function(r){return t(e(r))}}var Jt=Jo;function Zo(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}var Zt=Zo;var Xo=Object.prototype,Yo=Xo.hasOwnProperty;function ta(t){if(!d(t))return Zt(t);var e=q(t),r=[];for(var o in t)o=="constructor"&&(e||!Yo.call(t,o))||r.push(o);return r}var Xt=ta;function ea(t){return S(t)?Qt(t,!0):Xt(t)}var J=ea;var ra=w(Object,"create"),x=ra;function oa(){this.__data__=x?x(null):{},this.size=0}var Yt=oa;function aa(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var te=aa;var fa="__lodash_hash_undefined__",na=Object.prototype,sa=na.hasOwnProperty;function ia(t){var e=this.__data__;if(x){var r=e[t];return r===fa?void 0:r}return sa.call(e,t)?e[t]:void 0}var ee=ia;var la=Object.prototype,ua=la.hasOwnProperty;function pa(t){var e=this.__data__;return x?e[t]!==void 0:ua.call(e,t)}var re=pa;var da="__lodash_hash_undefined__";function ma(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=x&&e===void 0?da:e,this}var oe=ma;function T(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}T.prototype.clear=Yt;T.prototype.delete=te;T.prototype.get=ee;T.prototype.has=re;T.prototype.set=oe;var st=T;function ca(){this.__data__=[],this.size=0}var ae=ca;function xa(t,e){for(var r=t.length;r--;)if(g(t[r][0],e))return r;return-1}var y=xa;var ha=Array.prototype,ga=ha.splice;function ya(t){var e=this.__data__,r=y(e,t);if(r<0)return!1;var o=e.length-1;return r==o?e.pop():ga.call(e,r,1),--this.size,!0}var fe=ya;function ba(t){var e=this.__data__,r=y(e,t);return r<0?void 0:e[r][1]}var ne=ba;function va(t){return y(this.__data__,t)>-1}var se=va;function Oa(t,e){var r=this.__data__,o=y(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}var ie=Oa;function I(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}I.prototype.clear=ae;I.prototype.delete=fe;I.prototype.get=ne;I.prototype.has=se;I.prototype.set=ie;var b=I;var Aa=w(m,"Map"),Z=Aa;function ja(){this.size=0,this.__data__={hash:new st,map:new(Z||b),string:new st}}var le=ja;function wa(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var ue=wa;function _a(t,e){var r=t.__data__;return ue(e)?r[typeof e=="string"?"string":"hash"]:r.map}var v=_a;function Ca(t){var e=v(this,t).delete(t);return this.size-=e?1:0,e}var pe=Ca;function Sa(t){return v(this,t).get(t)}var de=Sa;function Ta(t){return v(this,t).has(t)}var me=Ta;function Ia(t,e){var r=v(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}var ce=Ia;function P(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}P.prototype.clear=le;P.prototype.delete=pe;P.prototype.get=de;P.prototype.has=me;P.prototype.set=ce;var xe=P;var Pa=Jt(Object.getPrototypeOf,Object),X=Pa;var Ma="[object Object]",Ba=Function.prototype,Da=Object.prototype,he=Ba.toString,La=Da.hasOwnProperty,ka=he.call(Object);function Ra(t){if(!c(t)||h(t)!=Ma)return!1;var e=X(t);if(e===null)return!0;var r=La.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&he.call(r)==ka}var ge=Ra;function Wa(){this.__data__=new b,this.size=0}var ye=Wa;function Ea(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}var be=Ea;function Fa(t){return this.__data__.get(t)}var ve=Fa;function Na(t){return this.__data__.has(t)}var Oe=Na;var Ua=200;function $a(t,e){var r=this.__data__;if(r instanceof b){var o=r.__data__;if(!Z||o.length<Ua-1)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new xe(o)}return r.set(t,e),this.size=r.size,this}var Ae=$a;function M(t){var e=this.__data__=new b(t);this.size=e.size}M.prototype.clear=ye;M.prototype.delete=be;M.prototype.get=ve;M.prototype.has=Oe;M.prototype.set=Ae;var je=M;var Se=typeof exports=="object"&&exports&&!exports.nodeType&&exports,we=Se&&typeof module=="object"&&module&&!module.nodeType&&module,za=we&&we.exports===Se,_e=za?m.Buffer:void 0,Ce=_e?_e.allocUnsafe:void 0;function Ga(t,e){if(e)return t.slice();var r=t.length,o=Ce?Ce(r):new t.constructor(r);return t.copy(o),o}var Te=Ga;var Ha=m.Uint8Array,it=Ha;function Va(t){var e=new t.constructor(t.byteLength);return new it(e).set(new it(t)),e}var Ie=Va;function qa(t,e){var r=e?Ie(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var Pe=qa;function Ka(t){return typeof t.constructor=="function"&&!q(t)?_t(X(t)):{}}var Me=Ka;function Qa(t){return function(e,r,o){for(var a=-1,f=Object(e),s=o(e),n=s.length;n--;){var i=s[t?n:++a];if(r(f[i],i,f)===!1)break}return e}}var Be=Qa;var Ja=Be(),De=Ja;function Za(t,e,r){(r!==void 0&&!g(t[e],r)||r===void 0&&!(e in t))&&C(t,e,r)}var F=Za;function Xa(t){return c(t)&&S(t)}var Le=Xa;function Ya(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}var N=Ya;function tf(t){return Dt(t,J(t))}var ke=tf;function ef(t,e,r,o,a,f,s){var n=N(t,r),i=N(e,r),p=s.get(i);if(p){F(t,r,p);return}var u=f?f(n,i,r+"",t,e,s):void 0,B=u===void 0;if(B){var Y=R(i),tt=!Y&&K(i),ut=!Y&&!tt&&Q(i);u=i,Y||tt||ut?R(n)?u=n:Le(n)?u=St(n):tt?(B=!1,u=Te(i,!0)):ut?(B=!1,u=Pe(i,!0)):u=[]:ge(i)||W(i)?(u=n,W(n)?u=ke(n):(!d(n)||j(n))&&(u=Me(i))):B=!1}B&&(s.set(i,u),a(u,i,o,f,s),s.delete(i)),F(t,r,u)}var Re=ef;function We(t,e,r,o,a){t!==e&&De(e,function(f,s){if(a||(a=new je),d(f))Re(t,e,s,r,We,o,a);else{var n=o?o(N(t,s),f,s+"",t,e,a):void 0;n===void 0&&(n=f),F(t,s,n)}},J)}var Ee=We;var rf=Et(function(t,e,r){Ee(t,e,r)}),lt=rf;var Fe="7.2.0";var af=Fe,Ne={flattenArraysContainingStringsToBeEmpty:!1};function ff(t,e){let r=rt(rt({},Ne),e);function o(a){if(Array.isArray(a)){if(r.flattenArraysContainingStringsToBeEmpty&&a.some(n=>typeof n=="string"))return[];let f=-1,s={};for(let n=0;n<a.length;n++)L(a[n])&&(s=lt(s,a[n]),f===-1?f=n:(a.splice(n,1),n-=1));f!==-1&&(a[f]=s);for(let n=0;n<a.length;n++)(L(a[n])||Array.isArray(a[n]))&&(a[n]=o(a[n]))}else if(L(a))for(let f of Object.keys(a))(L(a[f])||Array.isArray(a[f]))&&(a[f]=o(a[f]));return a}return o(ct(t))}return Ve(nf);})();
11
11
  /**
12
12
  * @name codsen-utils
13
13
  * @fileoverview Various utility functions
14
- * @version 1.7.3
14
+ * @version 1.8.0
15
15
  * @author Roy Revelt
16
16
  * @license MIT
17
17
  * {@link https://codsen.com/os/codsen-utils/}
@@ -22,7 +22,7 @@ lodash-es/lodash.js:
22
22
  (**
23
23
  * @license
24
24
  * Lodash (Custom Build) <https://lodash.com/>
25
- * Build: `lodash modularize exports="es" -o ./`
25
+ * Build: `lodash modularize exports="es" --repo lodash/lodash#4.18.1 -o ./`
26
26
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
27
27
  * Released under MIT license <https://lodash.com/license>
28
28
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "object-flatten-all-arrays",
3
- "version": "7.1.3",
3
+ "version": "7.2.0",
4
4
  "description": "Merge and flatten any arrays found in all values within plain objects",
5
5
  "keywords": [
6
6
  "arrays",
@@ -35,46 +35,46 @@
35
35
  },
36
36
  "types": "types/index.d.ts",
37
37
  "scripts": {
38
- "build": "node '../../ops/scripts/esbuild.js' && npm run dts",
39
- "cjs-off": "exit 0",
40
- "cjs-on": "exit 0",
41
- "dev": "DEV=true node '../../ops/scripts/esbuild.js' && npm run dts",
38
+ "build": "node ../../ops/scripts/esbuild.js && npm run dts",
39
+ "coverage": "c8 uvu test",
40
+ "dev": "node ../../ops/scripts/esbuild.js --dev && npm run dts",
42
41
  "devtest": "c8 npm run unit && npm run examples && npm run lint",
43
- "dts": "rollup -c && npm run prettier -- 'types/index.d.ts' --write --log-level 'silent'",
42
+ "dts": "rollup -c && biome format --write --config-path=../../biome.json --vcs-enabled=false --use-editorconfig=false types/index.d.ts",
44
43
  "examples": "node '../../ops/scripts/run-examples.js'",
45
- "lect": "node '../../ops/lect/lect.js' && npm run prettier -- 'README.md' '.all-contributorsrc' 'rollup.config.js' --write",
46
- "letspublish": "npm publish --provenance || :",
47
- "lint": "eslint . --fix --concurrency=auto --cache",
44
+ "lect": "node '../../ops/lect/lect.js'",
45
+ "lect:check": "node '../../ops/lect/lect.js' --check",
46
+ "lint": "biome lint --error-on-warnings . && npm run typecheck",
47
+ "lint:fix": "biome lint --write --error-on-warnings . && npm run typecheck",
48
48
  "perf": "node perf/check.js",
49
49
  "prep": "echo 'ready'",
50
- "prettier": "prettier",
51
- "prettier:format": "npm run prettier -- --write '**/*.{ts,tsx,md}' --no-error-on-unmatched-pattern --log-level 'silent'",
52
- "pretest": "npm run lect && npm run build",
50
+ "prettier": "biome format",
51
+ "prettier:format": "biome format --write .",
52
+ "pretest": "npm run lect:check && npm run build",
53
53
  "test": "npm run devtest",
54
+ "typecheck": "tsc --noEmit --pretty false --project tsconfig.json",
54
55
  "unit": "uvu test"
55
56
  },
56
- "engines": {
57
- "node": ">=14.18.0"
58
- },
59
57
  "c8": {
58
+ "all": true,
60
59
  "check-coverage": true,
61
- "exclude": [
62
- "**/test/**/*.*"
63
- ],
60
+ "exclude": ["**/test/**/*.*"],
61
+ "include": ["dist/*.esm.js"],
64
62
  "lines": 100
65
63
  },
66
64
  "lect": {
67
65
  "licence": {
68
- "extras": [
69
- ""
70
- ]
66
+ "extras": [""]
71
67
  }
72
68
  },
73
69
  "dependencies": {
74
- "@types/lodash-es": "^4.17.12",
75
- "codsen-utils": "^1.7.3",
76
- "lodash-es": "^4.17.22",
77
- "rfdc": "^1.4.1"
70
+ "codsen-utils": "^1.8.0",
71
+ "lodash-es": "^4.18.1"
72
+ },
73
+ "devDependencies": {
74
+ "@types/lodash-es": "^4.17.12"
75
+ },
76
+ "engines": {
77
+ "node": ">=18.20.8"
78
78
  },
79
79
  "publishConfig": {
80
80
  "registry": "https://registry.npmjs.org/"