object-all-values-equal-to 4.1.3 → 4.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,25 @@
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
- ## 4.1.0 (2025-10-15)
6
+ ## 4.2.0 (2026-08-19)
7
+
8
+ ### Bug Fixes
9
+
10
+ - make validation diagnostics safe ([7b01074](https://github.com/codsen/codsen/commit/7b0107476f12734aeb8e82852ba980b187280110))
11
+ - resolve review findings REV-004 through REV-007 ([b60e9ee](https://github.com/codsen/codsen/commit/b60e9eeb499af94685cfb87b4970fe025be1fc10))
12
+ - retire direct publish aliases ([f98e31e](https://github.com/codsen/codsen/commit/f98e31eb89bc185471225664e610b55f34fbf648))
13
+ - standardise allEq validtion errors ([620d3c6](https://github.com/codsen/codsen/commit/620d3c6d9b89cc8de6db05acea68b0ea5265d5ee))
14
+ - trim production type dependencies ([426e081](https://github.com/codsen/codsen/commit/426e081f78e72bf3caecc138b339722309630dd8))
7
15
 
8
16
  ### Features
9
17
 
10
- - if value to be added is a number, keep it as is, don't stringify ([ce3e1a5](https://github.com/codsen/codsen/commit/ce3e1a525998ca3c0abf0142affef95b14cd1990))
18
+ - add codsen-glob and migrate glob consumers ([5595a2b](https://github.com/codsen/codsen/commit/5595a2b267eaa6cb60072d037aef00b7a28edd42))
19
+ - refresh the tooling and generate with the latest dependencies ([781f802](https://github.com/codsen/codsen/commit/781f802911066a82a4533b0e5a3fcbd742d0dd83))
20
+
21
+ ### Reverts
22
+
23
+ - 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)
24
+ - 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
25
 
12
26
  ## 4.0.0 (2022-12-01)
13
27
 
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,45 +32,17 @@ npm i object-all-values-equal-to
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 { allEq } from "object-all-values-equal-to";
38
38
 
39
- // are all values equal to null:
40
39
  assert.equal(allEq({ a: null, c: null }, null), true);
41
- // yes
42
-
43
- // are all values equal to "false":
44
- assert.equal(allEq({ a: false, c: "zzz" }, false), false);
45
- // no
46
-
47
- // are all values equal to "false"?
48
- assert.equal(
49
- allEq(
50
- {
51
- a: {
52
- b: false,
53
- c: [
54
- {
55
- d: false,
56
- e: false,
57
- },
58
- {
59
- g: false,
60
- },
61
- ],
62
- },
63
- c: false,
64
- },
65
- false, // reference value to check
66
- ),
67
- true, // answer is, yes
68
- );
69
40
  ```
70
41
 
42
+
71
43
  ## Documentation
72
44
 
73
- Please [visit codsen.com](https://codsen.com/os/object-all-values-equal-to/) for a full description of the API.
45
+ Please [visit codsen.com](https://codsen.com/os/object-all-values-equal-to/) 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-all-values-equal-to/CHANGELOG.md).
74
46
 
75
47
  ## Contributing
76
48
 
@@ -80,6 +52,6 @@ To report bugs or request features or assistance, [raise an issue](https://githu
80
52
 
81
53
  MIT License
82
54
 
83
- Copyright © 2010-2025 Roy Revelt and other contributors
55
+ Copyright © 2010-2026 Roy Revelt and other contributors
84
56
 
85
57
  <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,11 +1,11 @@
1
1
  /**
2
2
  * @name object-all-values-equal-to
3
3
  * @fileoverview Does the AST/nested-plain-object/array/whatever contain only one kind of value?
4
- * @version 4.1.3
4
+ * @version 4.2.0
5
5
  * @author Roy Revelt
6
6
  * @license MIT
7
7
  * {@link https://codsen.com/os/object-all-values-equal-to/}
8
8
  */
9
9
 
10
- import{isPlainObject as i}from"codsen-utils";import{isEqual as a}from"lodash-es";var l="4.1.3";var h=l,c={arraysMustNotContainPlaceholders:!0};function n(e,s,r){if(Array.isArray(e)){if(e.length===0)return!0;if(r.arraysMustNotContainPlaceholders&&e.length&&e.some(t=>a(t,s)))return!1;for(let t=e.length;t--;)if(!n(e[t],s,r))return!1;return!0}if(i(e)){let t=Object.keys(e);if(t.length===0)return!0;for(let o=t.length;o--;)if(!n(e[t[o]],s,r))return!1;return!0}return a(e,s)}function y(e,s,r){if(e===void 0)throw new Error("object-all-values-equal-to: [THROW_ID_01] The first input is undefined! Please provide the first argument.");if(s===void 0)throw new Error("object-all-values-equal-to: [THROW_ID_02] The second input is undefined! Please provide the second argument.");if(r&&!i(r))throw new Error(`object-all-values-equal-to: [THROW_ID_03] The third argument, options object, was given not as a plain object but as a ${typeof r}, equal to:
11
- ${JSON.stringify(r,null,4)}`);let t={...c,...r};return n(e,s,t)}export{y as allEq,c as defaults,h as version};
10
+ import{formatDiagnosticValue as u,isPlainObject as i}from"codsen-utils";import{isEqual as a}from"lodash-es";var l="4.2.0";var y=l,d={arraysMustNotContainPlaceholders:!0};function o(e,r,s){if(Array.isArray(e)){if(e.length===0)return!0;if(s.arraysMustNotContainPlaceholders&&e.length&&e.some(t=>a(t,r)))return!1;for(let t=e.length;t--;)if(!o(e[t],r,s))return!1;return!0}if(i(e)){let t=Object.keys(e);if(t.length===0)return!0;for(let n=t.length;n--;)if(!o(e[t[n]],r,s))return!1;return!0}return a(e,r)}function b(e,r,s){if(e===void 0)throw new Error("object-all-values-equal-to/allEq(): [THROW_ID_01] The first input is undefined! Please provide the first argument.");if(r===void 0)throw new Error("object-all-values-equal-to/allEq(): [THROW_ID_02] The second input is undefined! Please provide the second argument.");if(s&&!i(s))throw new Error(`object-all-values-equal-to/allEq(): [THROW_ID_03] The third argument, options object, was given not as a plain object but as a ${typeof s}, equal to:
11
+ ${u(s,4)}`);let t={...d,...s};return o(e,r,t)}export{b as allEq,d as defaults,y as version};
@@ -1,17 +1,17 @@
1
1
  /**
2
2
  * @name object-all-values-equal-to
3
3
  * @fileoverview Does the AST/nested-plain-object/array/whatever contain only one kind of value?
4
- * @version 4.1.3
4
+ * @version 4.2.0
5
5
  * @author Roy Revelt
6
6
  * @license MIT
7
7
  * {@link https://codsen.com/os/object-all-values-equal-to/}
8
8
  */
9
9
 
10
- "use strict";var objectAllValuesEqualTo=(()=>{var Jt=Object.create;var F=Object.defineProperty;var Qt=Object.getOwnPropertyDescriptor;var Zt=Object.getOwnPropertyNames,be=Object.getOwnPropertySymbols,Xt=Object.getPrototypeOf,Ae=Object.prototype.hasOwnProperty,Yt=Object.prototype.propertyIsEnumerable;var ve=(e,t,r)=>t in e?F(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ne=(e,t)=>{for(var r in t||(t={}))Ae.call(t,r)&&ve(e,r,t[r]);if(be)for(var r of be(t))Yt.call(t,r)&&ve(e,r,t[r]);return e};var er=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),tr=(e,t)=>{for(var r in t)F(e,r,{get:t[r],enumerable:!0})},_e=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Zt(t))!Ae.call(e,i)&&i!==r&&F(e,i,{get:()=>t[i],enumerable:!(o=Qt(t,i))||o.enumerable});return e};var rr=(e,t,r)=>(r=e!=null?Jt(Xt(e)):{},_e(t||!e||!e.__esModule?F(r,"default",{value:e,enumerable:!0}):r,e)),or=e=>_e(F({},"__esModule",{value:!0}),e);var Oe=er((Pf,we)=>{"use strict";we.exports=ar;function B(e){return e instanceof Buffer?Buffer.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}function ar(e){if(e=e||{},e.circles)return fr(e);let t=new Map;if(t.set(Date,s=>new Date(s)),t.set(Map,(s,l)=>new Map(o(Array.from(s),l))),t.set(Set,(s,l)=>new Set(o(Array.from(s),l))),e.constructorHandlers)for(let s of e.constructorHandlers)t.set(s[0],s[1]);let r=null;return e.proto?n:i;function o(s,l){let f=Object.keys(s),a=new Array(f.length);for(let m=0;m<f.length;m++){let u=f[m],p=s[u];typeof p!="object"||p===null?a[u]=p:p.constructor!==Object&&(r=t.get(p.constructor))?a[u]=r(p,l):ArrayBuffer.isView(p)?a[u]=B(p):a[u]=l(p)}return a}function i(s){if(typeof s!="object"||s===null)return s;if(Array.isArray(s))return o(s,i);if(s.constructor!==Object&&(r=t.get(s.constructor)))return r(s,i);let l={};for(let f in s){if(Object.hasOwnProperty.call(s,f)===!1)continue;let a=s[f];typeof a!="object"||a===null?l[f]=a:a.constructor!==Object&&(r=t.get(a.constructor))?l[f]=r(a,i):ArrayBuffer.isView(a)?l[f]=B(a):l[f]=i(a)}return l}function n(s){if(typeof s!="object"||s===null)return s;if(Array.isArray(s))return o(s,n);if(s.constructor!==Object&&(r=t.get(s.constructor)))return r(s,n);let l={};for(let f in s){let a=s[f];typeof a!="object"||a===null?l[f]=a:a.constructor!==Object&&(r=t.get(a.constructor))?l[f]=r(a,n):ArrayBuffer.isView(a)?l[f]=B(a):l[f]=n(a)}return l}}function fr(e){let t=[],r=[],o=new Map;if(o.set(Date,f=>new Date(f)),o.set(Map,(f,a)=>new Map(n(Array.from(f),a))),o.set(Set,(f,a)=>new Set(n(Array.from(f),a))),e.constructorHandlers)for(let f of e.constructorHandlers)o.set(f[0],f[1]);let i=null;return e.proto?l:s;function n(f,a){let m=Object.keys(f),u=new Array(m.length);for(let p=0;p<m.length;p++){let g=m[p],c=f[g];if(typeof c!="object"||c===null)u[g]=c;else if(c.constructor!==Object&&(i=o.get(c.constructor)))u[g]=i(c,a);else if(ArrayBuffer.isView(c))u[g]=B(c);else{let h=t.indexOf(c);h!==-1?u[g]=r[h]:u[g]=a(c)}}return u}function s(f){if(typeof f!="object"||f===null)return f;if(Array.isArray(f))return n(f,s);if(f.constructor!==Object&&(i=o.get(f.constructor)))return i(f,s);let a={};t.push(f),r.push(a);for(let m in f){if(Object.hasOwnProperty.call(f,m)===!1)continue;let u=f[m];if(typeof u!="object"||u===null)a[m]=u;else if(u.constructor!==Object&&(i=o.get(u.constructor)))a[m]=i(u,s);else if(ArrayBuffer.isView(u))a[m]=B(u);else{let p=t.indexOf(u);p!==-1?a[m]=r[p]:a[m]=s(u)}}return t.pop(),r.pop(),a}function l(f){if(typeof f!="object"||f===null)return f;if(Array.isArray(f))return n(f,l);if(f.constructor!==Object&&(i=o.get(f.constructor)))return i(f,l);let a={};t.push(f),r.push(a);for(let m in f){let u=f[m];if(typeof u!="object"||u===null)a[m]=u;else if(u.constructor!==Object&&(i=o.get(u.constructor)))a[m]=i(u,l);else if(ArrayBuffer.isView(u))a[m]=B(u);else{let p=t.indexOf(u);p!==-1?a[m]=r[p]:a[m]=l(u)}}return t.pop(),r.pop(),a}}});var Sf={};tr(Sf,{allEq:()=>Tf,defaults:()=>Vt,version:()=>jf});var je=rr(Oe(),1);var If=(0,je.default)();function ie(e){if(e==null||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null?!1:!(Symbol.iterator in e)&&!(Symbol.toStringTag in e)}var sr=typeof global=="object"&&global&&global.Object===Object&&global,z=sr;var nr=typeof self=="object"&&self&&self.Object===Object&&self,ir=z||nr||Function("return this")(),x=ir;var ur=x.Symbol,b=ur;var Te=Object.prototype,lr=Te.hasOwnProperty,pr=Te.toString,q=b?b.toStringTag:void 0;function mr(e){var t=lr.call(e,q),r=e[q];try{e[q]=void 0;var o=!0}catch(n){}var i=pr.call(e);return o&&(t?e[q]=r:delete e[q]),i}var Se=mr;var dr=Object.prototype,cr=dr.toString;function xr(e){return cr.call(e)}var Ce=xr;var gr="[object Null]",hr="[object Undefined]",Pe=b?b.toStringTag:void 0;function yr(e){return e==null?e===void 0?hr:gr:Pe&&Pe in Object(e)?Se(e):Ce(e)}var v=yr;function br(e){return e!=null&&typeof e=="object"}var A=br;var vr=Array.isArray,E=vr;function Ar(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var k=Ar;var _r="[object AsyncFunction]",wr="[object Function]",Or="[object GeneratorFunction]",jr="[object Proxy]";function Tr(e){if(!k(e))return!1;var t=v(e);return t==wr||t==Or||t==_r||t==jr}var $=Tr;var Sr=x["__core-js_shared__"],K=Sr;var Ie=(function(){var e=/[^.]+$/.exec(K&&K.keys&&K.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function Cr(e){return!!Ie&&Ie in e}var Ee=Cr;var Pr=Function.prototype,Ir=Pr.toString;function Er(e){if(e!=null){try{return Ir.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var _=Er;var Dr=/[\\^$.*+?()[\]{}|]/g,Br=/^\[object .+?Constructor\]$/,Lr=Function.prototype,Mr=Object.prototype,Rr=Lr.toString,Nr=Mr.hasOwnProperty,Fr=RegExp("^"+Rr.call(Nr).replace(Dr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function qr(e){if(!k(e)||Ee(e))return!1;var t=$(e)?Fr:Br;return t.test(_(e))}var De=qr;function Wr(e,t){return e==null?void 0:e[t]}var Be=Wr;function Hr(e,t){var r=Be(e,t);return De(r)?r:void 0}var y=Hr;var Gr=y(x,"WeakMap"),V=Gr;var Ur=9007199254740991,zr=/^(?:0|[1-9]\d*)$/;function kr(e,t){var r=typeof e;return t=t==null?Ur:t,!!t&&(r=="number"||r!="symbol"&&zr.test(e))&&e>-1&&e%1==0&&e<t}var Le=kr;function $r(e,t){return e===t||e!==e&&t!==t}var J=$r;var Kr=9007199254740991;function Vr(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Kr}var Q=Vr;function Jr(e){return e!=null&&Q(e.length)&&!$(e)}var Me=Jr;var Qr=Object.prototype;function Zr(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Qr;return e===r}var Re=Zr;function Xr(e,t){for(var r=-1,o=Array(e);++r<e;)o[r]=t(r);return o}var Ne=Xr;var Yr="[object Arguments]";function eo(e){return A(e)&&v(e)==Yr}var ue=eo;var Fe=Object.prototype,to=Fe.hasOwnProperty,ro=Fe.propertyIsEnumerable,oo=ue((function(){return arguments})())?ue:function(e){return A(e)&&to.call(e,"callee")&&!ro.call(e,"callee")},qe=oo;function ao(){return!1}var We=ao;var Ue=typeof exports=="object"&&exports&&!exports.nodeType&&exports,He=Ue&&typeof module=="object"&&module&&!module.nodeType&&module,fo=He&&He.exports===Ue,Ge=fo?x.Buffer:void 0,so=Ge?Ge.isBuffer:void 0,no=so||We,W=no;var io="[object Arguments]",uo="[object Array]",lo="[object Boolean]",po="[object Date]",mo="[object Error]",co="[object Function]",xo="[object Map]",go="[object Number]",ho="[object Object]",yo="[object RegExp]",bo="[object Set]",vo="[object String]",Ao="[object WeakMap]",_o="[object ArrayBuffer]",wo="[object DataView]",Oo="[object Float32Array]",jo="[object Float64Array]",To="[object Int8Array]",So="[object Int16Array]",Co="[object Int32Array]",Po="[object Uint8Array]",Io="[object Uint8ClampedArray]",Eo="[object Uint16Array]",Do="[object Uint32Array]",d={};d[Oo]=d[jo]=d[To]=d[So]=d[Co]=d[Po]=d[Io]=d[Eo]=d[Do]=!0;d[io]=d[uo]=d[_o]=d[lo]=d[wo]=d[po]=d[mo]=d[co]=d[xo]=d[go]=d[ho]=d[yo]=d[bo]=d[vo]=d[Ao]=!1;function Bo(e){return A(e)&&Q(e.length)&&!!d[v(e)]}var ze=Bo;function Lo(e){return function(t){return e(t)}}var ke=Lo;var $e=typeof exports=="object"&&exports&&!exports.nodeType&&exports,H=$e&&typeof module=="object"&&module&&!module.nodeType&&module,Mo=H&&H.exports===$e,le=Mo&&z.process,Ro=(function(){try{var e=H&&H.require&&H.require("util").types;return e||le&&le.binding&&le.binding("util")}catch(t){}})(),pe=Ro;var Ke=pe&&pe.isTypedArray,No=Ke?ke(Ke):ze,Z=No;var Fo=Object.prototype,qo=Fo.hasOwnProperty;function Wo(e,t){var r=E(e),o=!r&&qe(e),i=!r&&!o&&W(e),n=!r&&!o&&!i&&Z(e),s=r||o||i||n,l=s?Ne(e.length,String):[],f=l.length;for(var a in e)(t||qo.call(e,a))&&!(s&&(a=="length"||i&&(a=="offset"||a=="parent")||n&&(a=="buffer"||a=="byteLength"||a=="byteOffset")||Le(a,f)))&&l.push(a);return l}var Ve=Wo;function Ho(e,t){return function(r){return e(t(r))}}var Je=Ho;var Go=Je(Object.keys,Object),Qe=Go;var Uo=Object.prototype,zo=Uo.hasOwnProperty;function ko(e){if(!Re(e))return Qe(e);var t=[];for(var r in Object(e))zo.call(e,r)&&r!="constructor"&&t.push(r);return t}var Ze=ko;function $o(e){return Me(e)?Ve(e):Ze(e)}var Xe=$o;var Ko=y(Object,"create"),w=Ko;function Vo(){this.__data__=w?w(null):{},this.size=0}var Ye=Vo;function Jo(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var et=Jo;var Qo="__lodash_hash_undefined__",Zo=Object.prototype,Xo=Zo.hasOwnProperty;function Yo(e){var t=this.__data__;if(w){var r=t[e];return r===Qo?void 0:r}return Xo.call(t,e)?t[e]:void 0}var tt=Yo;var ea=Object.prototype,ta=ea.hasOwnProperty;function ra(e){var t=this.__data__;return w?t[e]!==void 0:ta.call(t,e)}var rt=ra;var oa="__lodash_hash_undefined__";function aa(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=w&&t===void 0?oa:t,this}var ot=aa;function L(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}L.prototype.clear=Ye;L.prototype.delete=et;L.prototype.get=tt;L.prototype.has=rt;L.prototype.set=ot;var me=L;function fa(){this.__data__=[],this.size=0}var at=fa;function sa(e,t){for(var r=e.length;r--;)if(J(e[r][0],t))return r;return-1}var j=sa;var na=Array.prototype,ia=na.splice;function ua(e){var t=this.__data__,r=j(t,e);if(r<0)return!1;var o=t.length-1;return r==o?t.pop():ia.call(t,r,1),--this.size,!0}var ft=ua;function la(e){var t=this.__data__,r=j(t,e);return r<0?void 0:t[r][1]}var st=la;function pa(e){return j(this.__data__,e)>-1}var nt=pa;function ma(e,t){var r=this.__data__,o=j(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}var it=ma;function M(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}M.prototype.clear=at;M.prototype.delete=ft;M.prototype.get=st;M.prototype.has=nt;M.prototype.set=it;var T=M;var da=y(x,"Map"),S=da;function ca(){this.size=0,this.__data__={hash:new me,map:new(S||T),string:new me}}var ut=ca;function xa(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var lt=xa;function ga(e,t){var r=e.__data__;return lt(t)?r[typeof t=="string"?"string":"hash"]:r.map}var C=ga;function ha(e){var t=C(this,e).delete(e);return this.size-=t?1:0,t}var pt=ha;function ya(e){return C(this,e).get(e)}var mt=ya;function ba(e){return C(this,e).has(e)}var dt=ba;function va(e,t){var r=C(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}var ct=va;function R(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}R.prototype.clear=ut;R.prototype.delete=pt;R.prototype.get=mt;R.prototype.has=dt;R.prototype.set=ct;var X=R;function Aa(e,t){for(var r=-1,o=t.length,i=e.length;++r<o;)e[i+r]=t[r];return e}var xt=Aa;function _a(){this.__data__=new T,this.size=0}var gt=_a;function wa(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var ht=wa;function Oa(e){return this.__data__.get(e)}var yt=Oa;function ja(e){return this.__data__.has(e)}var bt=ja;var Ta=200;function Sa(e,t){var r=this.__data__;if(r instanceof T){var o=r.__data__;if(!S||o.length<Ta-1)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new X(o)}return r.set(e,t),this.size=r.size,this}var vt=Sa;function N(e){var t=this.__data__=new T(e);this.size=t.size}N.prototype.clear=gt;N.prototype.delete=ht;N.prototype.get=yt;N.prototype.has=bt;N.prototype.set=vt;var Y=N;function Ca(e,t){for(var r=-1,o=e==null?0:e.length,i=0,n=[];++r<o;){var s=e[r];t(s,r,e)&&(n[i++]=s)}return n}var At=Ca;function Pa(){return[]}var _t=Pa;var Ia=Object.prototype,Ea=Ia.propertyIsEnumerable,wt=Object.getOwnPropertySymbols,Da=wt?function(e){return e==null?[]:(e=Object(e),At(wt(e),function(t){return Ea.call(e,t)}))}:_t,Ot=Da;function Ba(e,t,r){var o=t(e);return E(e)?o:xt(o,r(e))}var jt=Ba;function La(e){return jt(e,Xe,Ot)}var de=La;var Ma=y(x,"DataView"),ee=Ma;var Ra=y(x,"Promise"),te=Ra;var Na=y(x,"Set"),re=Na;var Tt="[object Map]",Fa="[object Object]",St="[object Promise]",Ct="[object Set]",Pt="[object WeakMap]",It="[object DataView]",qa=_(ee),Wa=_(S),Ha=_(te),Ga=_(re),Ua=_(V),D=v;(ee&&D(new ee(new ArrayBuffer(1)))!=It||S&&D(new S)!=Tt||te&&D(te.resolve())!=St||re&&D(new re)!=Ct||V&&D(new V)!=Pt)&&(D=function(e){var t=v(e),r=t==Fa?e.constructor:void 0,o=r?_(r):"";if(o)switch(o){case qa:return It;case Wa:return Tt;case Ha:return St;case Ga:return Ct;case Ua:return Pt}return t});var ce=D;var za=x.Uint8Array,xe=za;var ka="__lodash_hash_undefined__";function $a(e){return this.__data__.set(e,ka),this}var Et=$a;function Ka(e){return this.__data__.has(e)}var Dt=Ka;function oe(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new X;++t<r;)this.add(e[t])}oe.prototype.add=oe.prototype.push=Et;oe.prototype.has=Dt;var Bt=oe;function Va(e,t){for(var r=-1,o=e==null?0:e.length;++r<o;)if(t(e[r],r,e))return!0;return!1}var Lt=Va;function Ja(e,t){return e.has(t)}var Mt=Ja;var Qa=1,Za=2;function Xa(e,t,r,o,i,n){var s=r&Qa,l=e.length,f=t.length;if(l!=f&&!(s&&f>l))return!1;var a=n.get(e),m=n.get(t);if(a&&m)return a==t&&m==e;var u=-1,p=!0,g=r&Za?new Bt:void 0;for(n.set(e,t),n.set(t,e);++u<l;){var c=e[u],h=t[u];if(o)var O=s?o(h,c,u,t,e,n):o(c,h,u,e,t,n);if(O!==void 0){if(O)continue;p=!1;break}if(g){if(!Lt(t,function(P,I){if(!Mt(g,I)&&(c===P||i(c,P,r,o,n)))return g.push(I)})){p=!1;break}}else if(!(c===h||i(c,h,r,o,n))){p=!1;break}}return n.delete(e),n.delete(t),p}var ae=Xa;function Ya(e){var t=-1,r=Array(e.size);return e.forEach(function(o,i){r[++t]=[i,o]}),r}var Rt=Ya;function ef(e){var t=-1,r=Array(e.size);return e.forEach(function(o){r[++t]=o}),r}var Nt=ef;var tf=1,rf=2,of="[object Boolean]",af="[object Date]",ff="[object Error]",sf="[object Map]",nf="[object Number]",uf="[object RegExp]",lf="[object Set]",pf="[object String]",mf="[object Symbol]",df="[object ArrayBuffer]",cf="[object DataView]",Ft=b?b.prototype:void 0,ge=Ft?Ft.valueOf:void 0;function xf(e,t,r,o,i,n,s){switch(r){case cf:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case df:return!(e.byteLength!=t.byteLength||!n(new xe(e),new xe(t)));case of:case af:case nf:return J(+e,+t);case ff:return e.name==t.name&&e.message==t.message;case uf:case pf:return e==t+"";case sf:var l=Rt;case lf:var f=o&tf;if(l||(l=Nt),e.size!=t.size&&!f)return!1;var a=s.get(e);if(a)return a==t;o|=rf,s.set(e,t);var m=ae(l(e),l(t),o,i,n,s);return s.delete(e),m;case mf:if(ge)return ge.call(e)==ge.call(t)}return!1}var qt=xf;var gf=1,hf=Object.prototype,yf=hf.hasOwnProperty;function bf(e,t,r,o,i,n){var s=r&gf,l=de(e),f=l.length,a=de(t),m=a.length;if(f!=m&&!s)return!1;for(var u=f;u--;){var p=l[u];if(!(s?p in t:yf.call(t,p)))return!1}var g=n.get(e),c=n.get(t);if(g&&c)return g==t&&c==e;var h=!0;n.set(e,t),n.set(t,e);for(var O=s;++u<f;){p=l[u];var P=e[p],I=t[p];if(o)var ye=s?o(I,P,p,t,e,n):o(P,I,p,e,t,n);if(!(ye===void 0?P===I||i(P,I,r,o,n):ye)){h=!1;break}O||(O=p=="constructor")}if(h&&!O){var G=e.constructor,U=t.constructor;G!=U&&"constructor"in e&&"constructor"in t&&!(typeof G=="function"&&G instanceof G&&typeof U=="function"&&U instanceof U)&&(h=!1)}return n.delete(e),n.delete(t),h}var Wt=bf;var vf=1,Ht="[object Arguments]",Gt="[object Array]",fe="[object Object]",Af=Object.prototype,Ut=Af.hasOwnProperty;function _f(e,t,r,o,i,n){var s=E(e),l=E(t),f=s?Gt:ce(e),a=l?Gt:ce(t);f=f==Ht?fe:f,a=a==Ht?fe:a;var m=f==fe,u=a==fe,p=f==a;if(p&&W(e)){if(!W(t))return!1;s=!0,m=!1}if(p&&!m)return n||(n=new Y),s||Z(e)?ae(e,t,r,o,i,n):qt(e,t,f,r,o,i,n);if(!(r&vf)){var g=m&&Ut.call(e,"__wrapped__"),c=u&&Ut.call(t,"__wrapped__");if(g||c){var h=g?e.value():e,O=c?t.value():t;return n||(n=new Y),i(h,O,r,o,n)}}return p?(n||(n=new Y),Wt(e,t,r,o,i,n)):!1}var zt=_f;function kt(e,t,r,o,i){return e===t?!0:e==null||t==null||!A(e)&&!A(t)?e!==e&&t!==t:zt(e,t,r,o,kt,i)}var $t=kt;function wf(e,t){return $t(e,t)}var se=wf;var Kt="4.1.3";var jf=Kt,Vt={arraysMustNotContainPlaceholders:!0};function he(e,t,r){if(Array.isArray(e)){if(e.length===0)return!0;if(r.arraysMustNotContainPlaceholders&&e.length&&e.some(o=>se(o,t)))return!1;for(let o=e.length;o--;)if(!he(e[o],t,r))return!1;return!0}if(ie(e)){let o=Object.keys(e);if(o.length===0)return!0;for(let i=o.length;i--;)if(!he(e[o[i]],t,r))return!1;return!0}return se(e,t)}function Tf(e,t,r){if(e===void 0)throw new Error("object-all-values-equal-to: [THROW_ID_01] The first input is undefined! Please provide the first argument.");if(t===void 0)throw new Error("object-all-values-equal-to: [THROW_ID_02] The second input is undefined! Please provide the second argument.");if(r&&!ie(r))throw new Error("object-all-values-equal-to: [THROW_ID_03] The third argument, options object, was given not as a plain object but as a ".concat(typeof r,", equal to:\n").concat(JSON.stringify(r,null,4)));let o=ne(ne({},Vt),r);return he(e,t,o)}return or(Sf);})();
10
+ "use strict";var objectAllValuesEqualTo=(()=>{var $=Object.defineProperty;var Vt=Object.getOwnPropertyDescriptor;var Qt=Object.getOwnPropertyNames,be=Object.getOwnPropertySymbols;var Ae=Object.prototype.hasOwnProperty,Jt=Object.prototype.propertyIsEnumerable;var ve=(e,t,r)=>t in e?$(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ie=(e,t)=>{for(var r in t||(t={}))Ae.call(t,r)&&ve(e,r,t[r]);if(be)for(var r of be(t))Jt.call(t,r)&&ve(e,r,t[r]);return e};var Zt=(e,t)=>{for(var r in t)$(e,r,{get:t[r],enumerable:!0})},Xt=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Qt(t))!Ae.call(e,n)&&n!==r&&$(e,n,{get:()=>t[n],enumerable:!(o=Vt(t,n))||o.enumerable});return e};var Yt=e=>Xt($({},"__esModule",{value:!0}),e);var Of={};Zt(Of,{allEq:()=>wf,defaults:()=>Kt,version:()=>_f});function er(){let e=[],t=0,r=!1;return{append(o){return r?!1:t+o.length>1999?(e.push("\u2026"),t+=1,r=!0,!1):(e.push(o),t+=o.length,!0)},result(){return e.join("")},stopped(){return r}}}function tr(e){return"\\u".concat(e.toString(16).padStart(4,"0"))}function G(e,t){if(e.append('"')){for(let r=0;r<t.length&&!e.stopped();r+=1){let o=t.charCodeAt(r);o===34?e.append('\\"'):o===92?e.append("\\\\"):o===8?e.append("\\b"):o===9?e.append("\\t"):o===10?e.append("\\n"):o===12?e.append("\\f"):o===13?e.append("\\r"):o<32||o===8232||o===8233||o>=55296&&o<=57343?e.append(tr(o)):e.append(t[r])}e.append('"')}}function rr(e){return e.get&&e.set?"[Getter/Setter]":e.get?"[Getter]":e.set?"[Setter]":"[Accessor]"}function we(e,t){e.append("Symbol(");let r=String(t);r.length>8&&G(e,r.slice(7,-1)),e.append(")")}function _e(e,t){typeof t=="symbol"?we(e,t):G(e,String(t))}function Oe(e,t=0){let r=er(),o=t===4?4:0,n=new WeakSet,f=0;function l(a){o&&r.append(" ".repeat(a*o))}function p(a,s){a&&r.append(","),o&&(r.append("\n"),l(s+1))}function m(a,s,d){o&&s&&(r.append("\n"),l(d)),r.append(a)}function i(a,s){Object.prototype.hasOwnProperty.call(a,"value")?A(a.value,s):r.append(rr(a))}function v(a,s){let d;try{d=Reflect.getOwnPropertyDescriptor(a,"length")}catch(b){r.append("[Uninspectable]");return}let c=d==null?void 0:d.value;if(!Number.isSafeInteger(c)||c<0){r.append("[Uninspectable]");return}r.append("[");let g=!1;for(let b=0;b<c&&!r.stopped();b+=1){if(p(g,s),g=!0,f>=50){r.append("[MaxEntries]");break}f+=1;let w;try{w=Reflect.getOwnPropertyDescriptor(a,String(b))}catch(k){r.append("[Uninspectable]");continue}w!=null&&w.enumerable?i(w,s+1):r.append("[Empty]")}m("]",g,s)}function y(a,s){let d;try{d=Reflect.ownKeys(a)}catch(g){r.append("[Uninspectable]");return}r.append("{");let c=!1;for(let g of d){if(r.stopped())break;if(f>=50){p(c,s),c=!0,G(r,"\u2026"),r.append(o?": ":":"),r.append("[MaxEntries]");break}f+=1;let b;try{b=Reflect.getOwnPropertyDescriptor(a,g)}catch(w){p(c,s),c=!0,_e(r,g),r.append(o?": ":":"),r.append("[Uninspectable]");continue}b!=null&&b.enumerable&&(p(c,s),c=!0,_e(r,g),r.append(o?": ":":"),i(b,s+1))}m("}",c,s)}function x(a,s){if(n.has(a)){r.append("[Circular]");return}if(s>=5){r.append("[MaxDepth]");return}let d;try{d=Array.isArray(a)}catch(c){r.append("[Uninspectable]");return}n.add(a);try{d?v(a,s):y(a,s)}finally{n.delete(a)}}function A(a,s){a===null?r.append("null"):typeof a=="string"?G(r,a):typeof a=="number"?r.append(Object.is(a,-0)?"-0":String(a)):typeof a=="boolean"?r.append(a?"true":"false"):typeof a>"u"?r.append("undefined"):typeof a=="bigint"?r.append("".concat(a,"n")):typeof a=="symbol"?we(r,a):typeof a=="function"?r.append("[Function]"):x(a,s)}try{return A(e,0),r.result()}catch(a){return"[Uninspectable]"}}var Sf=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"]);function le(e){if(e==null||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null?!1:!(Symbol.iterator in e)&&!(Symbol.toStringTag in e)}var or=typeof global=="object"&&global&&global.Object===Object&&global,H=or;var ar=typeof self=="object"&&self&&self.Object===Object&&self,fr=H||ar||Function("return this")(),h=fr;var nr=h.Symbol,O=nr;var je=Object.prototype,sr=je.hasOwnProperty,ir=je.toString,F=O?O.toStringTag:void 0;function lr(e){var t=sr.call(e,F),r=e[F];try{e[F]=void 0;var o=!0}catch(f){}var n=ir.call(e);return o&&(t?e[F]=r:delete e[F]),n}var Te=lr;var ur=Object.prototype,pr=ur.toString;function dr(e){return pr.call(e)}var Se=dr;var mr="[object Null]",cr="[object Undefined]",Ce=O?O.toStringTag:void 0;function xr(e){return e==null?e===void 0?cr:mr:Ce&&Ce in Object(e)?Te(e):Se(e)}var j=xr;function hr(e){return e!=null&&typeof e=="object"}var T=hr;var gr=Array.isArray,M=gr;function yr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var z=yr;var br="[object AsyncFunction]",vr="[object Function]",Ar="[object GeneratorFunction]",_r="[object Proxy]";function wr(e){if(!z(e))return!1;var t=j(e);return t==vr||t==Ar||t==br||t==_r}var K=wr;var Or=h["__core-js_shared__"],V=Or;var Ie=(function(){var e=/[^.]+$/.exec(V&&V.keys&&V.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function jr(e){return!!Ie&&Ie in e}var Pe=jr;var Tr=Function.prototype,Sr=Tr.toString;function Cr(e){if(e!=null){try{return Sr.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var S=Cr;var Ir=/[\\^$.*+?()[\]{}|]/g,Pr=/^\[object .+?Constructor\]$/,Er=Function.prototype,Dr=Object.prototype,Mr=Er.toString,Lr=Dr.hasOwnProperty,Rr=RegExp("^"+Mr.call(Lr).replace(Ir,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Br(e){if(!z(e)||Pe(e))return!1;var t=K(e)?Rr:Pr;return t.test(S(e))}var Ee=Br;function Wr(e,t){return e==null?void 0:e[t]}var De=Wr;function Nr(e,t){var r=De(e,t);return Ee(r)?r:void 0}var _=Nr;var kr=_(h,"WeakMap"),Q=kr;var Fr=9007199254740991,qr=/^(?:0|[1-9]\d*)$/;function Ur(e,t){var r=typeof e;return t=t==null?Fr:t,!!t&&(r=="number"||r!="symbol"&&qr.test(e))&&e>-1&&e%1==0&&e<t}var Me=Ur;function $r(e,t){return e===t||e!==e&&t!==t}var J=$r;var Gr=9007199254740991;function Hr(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Gr}var Z=Hr;function zr(e){return e!=null&&Z(e.length)&&!K(e)}var Le=zr;var Kr=Object.prototype;function Vr(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Kr;return e===r}var Re=Vr;function Qr(e,t){for(var r=-1,o=Array(e);++r<e;)o[r]=t(r);return o}var Be=Qr;var Jr="[object Arguments]";function Zr(e){return T(e)&&j(e)==Jr}var ue=Zr;var We=Object.prototype,Xr=We.hasOwnProperty,Yr=We.propertyIsEnumerable,eo=ue((function(){return arguments})())?ue:function(e){return T(e)&&Xr.call(e,"callee")&&!Yr.call(e,"callee")},Ne=eo;function to(){return!1}var ke=to;var Ue=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Fe=Ue&&typeof module=="object"&&module&&!module.nodeType&&module,ro=Fe&&Fe.exports===Ue,qe=ro?h.Buffer:void 0,oo=qe?qe.isBuffer:void 0,ao=oo||ke,q=ao;var fo="[object Arguments]",no="[object Array]",so="[object Boolean]",io="[object Date]",lo="[object Error]",uo="[object Function]",po="[object Map]",mo="[object Number]",co="[object Object]",xo="[object RegExp]",ho="[object Set]",go="[object String]",yo="[object WeakMap]",bo="[object ArrayBuffer]",vo="[object DataView]",Ao="[object Float32Array]",_o="[object Float64Array]",wo="[object Int8Array]",Oo="[object Int16Array]",jo="[object Int32Array]",To="[object Uint8Array]",So="[object Uint8ClampedArray]",Co="[object Uint16Array]",Io="[object Uint32Array]",u={};u[Ao]=u[_o]=u[wo]=u[Oo]=u[jo]=u[To]=u[So]=u[Co]=u[Io]=!0;u[fo]=u[no]=u[bo]=u[so]=u[vo]=u[io]=u[lo]=u[uo]=u[po]=u[mo]=u[co]=u[xo]=u[ho]=u[go]=u[yo]=!1;function Po(e){return T(e)&&Z(e.length)&&!!u[j(e)]}var $e=Po;function Eo(e){return function(t){return e(t)}}var Ge=Eo;var He=typeof exports=="object"&&exports&&!exports.nodeType&&exports,U=He&&typeof module=="object"&&module&&!module.nodeType&&module,Do=U&&U.exports===He,pe=Do&&H.process,Mo=(function(){try{var e=U&&U.require&&U.require("util").types;return e||pe&&pe.binding&&pe.binding("util")}catch(t){}})(),de=Mo;var ze=de&&de.isTypedArray,Lo=ze?Ge(ze):$e,X=Lo;var Ro=Object.prototype,Bo=Ro.hasOwnProperty;function Wo(e,t){var r=M(e),o=!r&&Ne(e),n=!r&&!o&&q(e),f=!r&&!o&&!n&&X(e),l=r||o||n||f,p=l?Be(e.length,String):[],m=p.length;for(var i in e)(t||Bo.call(e,i))&&!(l&&(i=="length"||n&&(i=="offset"||i=="parent")||f&&(i=="buffer"||i=="byteLength"||i=="byteOffset")||Me(i,m)))&&p.push(i);return p}var Ke=Wo;function No(e,t){return function(r){return e(t(r))}}var Ve=No;var ko=Ve(Object.keys,Object),Qe=ko;var Fo=Object.prototype,qo=Fo.hasOwnProperty;function Uo(e){if(!Re(e))return Qe(e);var t=[];for(var r in Object(e))qo.call(e,r)&&r!="constructor"&&t.push(r);return t}var Je=Uo;function $o(e){return Le(e)?Ke(e):Je(e)}var Ze=$o;var Go=_(Object,"create"),C=Go;function Ho(){this.__data__=C?C(null):{},this.size=0}var Xe=Ho;function zo(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Ye=zo;var Ko="__lodash_hash_undefined__",Vo=Object.prototype,Qo=Vo.hasOwnProperty;function Jo(e){var t=this.__data__;if(C){var r=t[e];return r===Ko?void 0:r}return Qo.call(t,e)?t[e]:void 0}var et=Jo;var Zo=Object.prototype,Xo=Zo.hasOwnProperty;function Yo(e){var t=this.__data__;return C?t[e]!==void 0:Xo.call(t,e)}var tt=Yo;var ea="__lodash_hash_undefined__";function ta(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=C&&t===void 0?ea:t,this}var rt=ta;function R(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}R.prototype.clear=Xe;R.prototype.delete=Ye;R.prototype.get=et;R.prototype.has=tt;R.prototype.set=rt;var me=R;function ra(){this.__data__=[],this.size=0}var ot=ra;function oa(e,t){for(var r=e.length;r--;)if(J(e[r][0],t))return r;return-1}var I=oa;var aa=Array.prototype,fa=aa.splice;function na(e){var t=this.__data__,r=I(t,e);if(r<0)return!1;var o=t.length-1;return r==o?t.pop():fa.call(t,r,1),--this.size,!0}var at=na;function sa(e){var t=this.__data__,r=I(t,e);return r<0?void 0:t[r][1]}var ft=sa;function ia(e){return I(this.__data__,e)>-1}var nt=ia;function la(e,t){var r=this.__data__,o=I(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}var st=la;function B(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}B.prototype.clear=ot;B.prototype.delete=at;B.prototype.get=ft;B.prototype.has=nt;B.prototype.set=st;var P=B;var ua=_(h,"Map"),E=ua;function pa(){this.size=0,this.__data__={hash:new me,map:new(E||P),string:new me}}var it=pa;function da(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var lt=da;function ma(e,t){var r=e.__data__;return lt(t)?r[typeof t=="string"?"string":"hash"]:r.map}var D=ma;function ca(e){var t=D(this,e).delete(e);return this.size-=t?1:0,t}var ut=ca;function xa(e){return D(this,e).get(e)}var pt=xa;function ha(e){return D(this,e).has(e)}var dt=ha;function ga(e,t){var r=D(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}var mt=ga;function W(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}W.prototype.clear=it;W.prototype.delete=ut;W.prototype.get=pt;W.prototype.has=dt;W.prototype.set=mt;var Y=W;function ya(e,t){for(var r=-1,o=t.length,n=e.length;++r<o;)e[n+r]=t[r];return e}var ct=ya;function ba(){this.__data__=new P,this.size=0}var xt=ba;function va(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var ht=va;function Aa(e){return this.__data__.get(e)}var gt=Aa;function _a(e){return this.__data__.has(e)}var yt=_a;var wa=200;function Oa(e,t){var r=this.__data__;if(r instanceof P){var o=r.__data__;if(!E||o.length<wa-1)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new Y(o)}return r.set(e,t),this.size=r.size,this}var bt=Oa;function N(e){var t=this.__data__=new P(e);this.size=t.size}N.prototype.clear=xt;N.prototype.delete=ht;N.prototype.get=gt;N.prototype.has=yt;N.prototype.set=bt;var ee=N;function ja(e,t){for(var r=-1,o=e==null?0:e.length,n=0,f=[];++r<o;){var l=e[r];t(l,r,e)&&(f[n++]=l)}return f}var vt=ja;function Ta(){return[]}var At=Ta;var Sa=Object.prototype,Ca=Sa.propertyIsEnumerable,_t=Object.getOwnPropertySymbols,Ia=_t?function(e){return e==null?[]:(e=Object(e),vt(_t(e),function(t){return Ca.call(e,t)}))}:At,wt=Ia;function Pa(e,t,r){var o=t(e);return M(e)?o:ct(o,r(e))}var Ot=Pa;function Ea(e){return Ot(e,Ze,wt)}var ce=Ea;var Da=_(h,"DataView"),te=Da;var Ma=_(h,"Promise"),re=Ma;var La=_(h,"Set"),oe=La;var jt="[object Map]",Ra="[object Object]",Tt="[object Promise]",St="[object Set]",Ct="[object WeakMap]",It="[object DataView]",Ba=S(te),Wa=S(E),Na=S(re),ka=S(oe),Fa=S(Q),L=j;(te&&L(new te(new ArrayBuffer(1)))!=It||E&&L(new E)!=jt||re&&L(re.resolve())!=Tt||oe&&L(new oe)!=St||Q&&L(new Q)!=Ct)&&(L=function(e){var t=j(e),r=t==Ra?e.constructor:void 0,o=r?S(r):"";if(o)switch(o){case Ba:return It;case Wa:return jt;case Na:return Tt;case ka:return St;case Fa:return Ct}return t});var xe=L;var qa=h.Uint8Array,he=qa;var Ua="__lodash_hash_undefined__";function $a(e){return this.__data__.set(e,Ua),this}var Pt=$a;function Ga(e){return this.__data__.has(e)}var Et=Ga;function ae(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new Y;++t<r;)this.add(e[t])}ae.prototype.add=ae.prototype.push=Pt;ae.prototype.has=Et;var Dt=ae;function Ha(e,t){for(var r=-1,o=e==null?0:e.length;++r<o;)if(t(e[r],r,e))return!0;return!1}var Mt=Ha;function za(e,t){return e.has(t)}var Lt=za;var Ka=1,Va=2;function Qa(e,t,r,o,n,f){var l=r&Ka,p=e.length,m=t.length;if(p!=m&&!(l&&m>p))return!1;var i=f.get(e),v=f.get(t);if(i&&v)return i==t&&v==e;var y=-1,x=!0,A=r&Va?new Dt:void 0;for(f.set(e,t),f.set(t,e);++y<p;){var a=e[y],s=t[y];if(o)var d=l?o(s,a,y,t,e,f):o(a,s,y,e,t,f);if(d!==void 0){if(d)continue;x=!1;break}if(A){if(!Mt(t,function(c,g){if(!Lt(A,g)&&(a===c||n(a,c,r,o,f)))return A.push(g)})){x=!1;break}}else if(!(a===s||n(a,s,r,o,f))){x=!1;break}}return f.delete(e),f.delete(t),x}var fe=Qa;function Ja(e){var t=-1,r=Array(e.size);return e.forEach(function(o,n){r[++t]=[n,o]}),r}var Rt=Ja;function Za(e){var t=-1,r=Array(e.size);return e.forEach(function(o){r[++t]=o}),r}var Bt=Za;var Xa=1,Ya=2,ef="[object Boolean]",tf="[object Date]",rf="[object Error]",of="[object Map]",af="[object Number]",ff="[object RegExp]",nf="[object Set]",sf="[object String]",lf="[object Symbol]",uf="[object ArrayBuffer]",pf="[object DataView]",Wt=O?O.prototype:void 0,ge=Wt?Wt.valueOf:void 0;function df(e,t,r,o,n,f,l){switch(r){case pf:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case uf:return!(e.byteLength!=t.byteLength||!f(new he(e),new he(t)));case ef:case tf:case af:return J(+e,+t);case rf:return e.name==t.name&&e.message==t.message;case ff:case sf:return e==t+"";case of:var p=Rt;case nf:var m=o&Xa;if(p||(p=Bt),e.size!=t.size&&!m)return!1;var i=l.get(e);if(i)return i==t;o|=Ya,l.set(e,t);var v=fe(p(e),p(t),o,n,f,l);return l.delete(e),v;case lf:if(ge)return ge.call(e)==ge.call(t)}return!1}var Nt=df;var mf=1,cf=Object.prototype,xf=cf.hasOwnProperty;function hf(e,t,r,o,n,f){var l=r&mf,p=ce(e),m=p.length,i=ce(t),v=i.length;if(m!=v&&!l)return!1;for(var y=m;y--;){var x=p[y];if(!(l?x in t:xf.call(t,x)))return!1}var A=f.get(e),a=f.get(t);if(A&&a)return A==t&&a==e;var s=!0;f.set(e,t),f.set(t,e);for(var d=l;++y<m;){x=p[y];var c=e[x],g=t[x];if(o)var b=l?o(g,c,x,t,e,f):o(c,g,x,e,t,f);if(!(b===void 0?c===g||n(c,g,r,o,f):b)){s=!1;break}d||(d=x=="constructor")}if(s&&!d){var w=e.constructor,k=t.constructor;w!=k&&"constructor"in e&&"constructor"in t&&!(typeof w=="function"&&w instanceof w&&typeof k=="function"&&k instanceof k)&&(s=!1)}return f.delete(e),f.delete(t),s}var kt=hf;var gf=1,Ft="[object Arguments]",qt="[object Array]",ne="[object Object]",yf=Object.prototype,Ut=yf.hasOwnProperty;function bf(e,t,r,o,n,f){var l=M(e),p=M(t),m=l?qt:xe(e),i=p?qt:xe(t);m=m==Ft?ne:m,i=i==Ft?ne:i;var v=m==ne,y=i==ne,x=m==i;if(x&&q(e)){if(!q(t))return!1;l=!0,v=!1}if(x&&!v)return f||(f=new ee),l||X(e)?fe(e,t,r,o,n,f):Nt(e,t,m,r,o,n,f);if(!(r&gf)){var A=v&&Ut.call(e,"__wrapped__"),a=y&&Ut.call(t,"__wrapped__");if(A||a){var s=A?e.value():e,d=a?t.value():t;return f||(f=new ee),n(s,d,r,o,f)}}return x?(f||(f=new ee),kt(e,t,r,o,n,f)):!1}var $t=bf;function Gt(e,t,r,o,n){return e===t?!0:e==null||t==null||!T(e)&&!T(t)?e!==e&&t!==t:$t(e,t,r,o,Gt,n)}var Ht=Gt;function vf(e,t){return Ht(e,t)}var se=vf;var zt="4.2.0";var _f=zt,Kt={arraysMustNotContainPlaceholders:!0};function ye(e,t,r){if(Array.isArray(e)){if(e.length===0)return!0;if(r.arraysMustNotContainPlaceholders&&e.length&&e.some(o=>se(o,t)))return!1;for(let o=e.length;o--;)if(!ye(e[o],t,r))return!1;return!0}if(le(e)){let o=Object.keys(e);if(o.length===0)return!0;for(let n=o.length;n--;)if(!ye(e[o[n]],t,r))return!1;return!0}return se(e,t)}function wf(e,t,r){if(e===void 0)throw new Error("object-all-values-equal-to/allEq(): [THROW_ID_01] The first input is undefined! Please provide the first argument.");if(t===void 0)throw new Error("object-all-values-equal-to/allEq(): [THROW_ID_02] The second input is undefined! Please provide the second argument.");if(r&&!le(r))throw new Error("object-all-values-equal-to/allEq(): [THROW_ID_03] The third argument, options object, was given not as a plain object but as a ".concat(typeof r,", equal to:\n").concat(Oe(r,4)));let o=ie(ie({},Kt),r);return ye(e,t,o)}return Yt(Of);})();
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-all-values-equal-to",
3
- "version": "4.1.3",
3
+ "version": "4.2.0",
4
4
  "description": "Does the AST/nested-plain-object/array/whatever contain only one kind of value?",
5
5
  "keywords": [
6
6
  "all",
@@ -35,45 +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"
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"
77
78
  },
78
79
  "publishConfig": {
79
80
  "registry": "https://registry.npmjs.org/"