ast-loose-compare 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,23 @@
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
+ - repair representative perf workloads ([975e958](https://github.com/codsen/codsen/commit/975e958c0794ec256eba84e088b472483fb69e52))
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))
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
+ ### Reverts
20
+
21
+ - 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)
22
+ - 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
23
 
12
24
  ## 4.0.0 (2022-12-01)
13
25
 
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 ast-loose-compare
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 { looseCompare } from "ast-loose-compare";
38
38
 
@@ -57,9 +57,10 @@ assert.equal(
57
57
  );
58
58
  ```
59
59
 
60
+
60
61
  ## Documentation
61
62
 
62
- Please [visit codsen.com](https://codsen.com/os/ast-loose-compare/) for a full description of the API.
63
+ Please [visit codsen.com](https://codsen.com/os/ast-loose-compare/) 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/ast-loose-compare/CHANGELOG.md).
63
64
 
64
65
  ## Contributing
65
66
 
@@ -69,6 +70,6 @@ To report bugs or request features or assistance, [raise an issue](https://githu
69
70
 
70
71
  MIT License
71
72
 
72
- Copyright © 2010-2025 Roy Revelt and other contributors
73
+ Copyright © 2010-2026 Roy Revelt and other contributors
73
74
 
74
75
  <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 ast-loose-compare
3
3
  * @fileoverview Compare anything: AST, objects, arrays and strings
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/ast-loose-compare/}
8
8
  */
9
9
 
10
- import{empty as r}from"ast-contains-only-empty-space";import{isPlainObject as p}from"codsen-utils";var c="4.1.3";var m=c;function a(t,e,s){function u(o){return o!=null}let n,i;if(s===void 0){if(!u(t)||!u(e))return}else if(!u(t)||!u(e))return!1;if(s=s||!0,typeof t!=typeof e)return!!(r(t)&&r(e));if(Array.isArray(t)&&Array.isArray(e))if(e.length){for(n=0,i=e.length;n<i;n++)if(Array.isArray(e[n])||p(e[n])){if(s=a(t[n],e[n],s),!s)return!1}else if(e[n]!==t[n])return!!(r(e[n])&&r(t[n]))}else return!!(e.length===0&&t.length===0||r(e)&&r(t));else if(p(t)&&p(e))if(Object.keys(e).length){let o=Object.keys(e);for(n=0,i=o.length;n<i;n++)if(Array.isArray(e[o[n]])||p(e[o[n]])||typeof e[o[n]]=="string"){if(s=a(t[o[n]],e[o[n]],s),!s)return!1}else if(e[o[n]]!==t[o[n]]&&(!r(e[o[n]])||!r(t[o[n]])))return!1}else return!!(Object.keys(e).length===0&&Object.keys(t).length===0||r(e)&&r(t));else if(typeof t=="string"&&typeof e=="string"){if(t!==e)return!!(r(e)&&r(t))}else return!!(r(e)&&r(t));return s}function k(t,e){return a(t,e)}export{k as looseCompare,m as version};
10
+ import{empty as n}from"ast-contains-only-empty-space";import{isPlainObject as c}from"codsen-utils";var a="4.2.0";var h=a;function u(r,e,s){function i(o){return o!=null}let t,p;if(s===void 0){if(!i(r)||!i(e))return}else if(!i(r)||!i(e))return!1;if(s=s||!0,typeof r!=typeof e)return!!(n(r)&&n(e));if(Array.isArray(r)&&Array.isArray(e))if(e.length){for(t=0,p=e.length;t<p;t++)if(Array.isArray(e[t])||c(e[t])){if(s=u(r[t],e[t],s),!s)return!1}else if(e[t]!==r[t])return!!(n(e[t])&&n(r[t]))}else return!!(e.length===0&&r.length===0||n(e)&&n(r));else if(c(r)&&c(e))if(Object.keys(e).length){let o=Object.keys(e);for(t=0,p=o.length;t<p;t++)if(Array.isArray(e[o[t]])||c(e[o[t]])||typeof e[o[t]]=="string"){if(s=u(r[o[t]],e[o[t]],s),!s)return!1}else if(e[o[t]]!==r[o[t]]&&(!n(e[o[t]])||!n(r[o[t]])))return!1}else return!!(Object.keys(e).length===0&&Object.keys(r).length===0||n(e)&&n(r));else if(typeof r=="string"&&typeof e=="string"){if(r!==e)return!!(n(e)&&n(r))}else return!!(n(e)&&n(r));return s}function x(r,e){return u(r,e)}export{x as looseCompare,h as version};
@@ -1,42 +1,26 @@
1
1
  /**
2
2
  * @name ast-loose-compare
3
3
  * @fileoverview Compare anything: AST, objects, arrays and strings
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/ast-loose-compare/}
8
8
  */
9
9
 
10
- "use strict";var astLooseCompare=(()=>{var J=Object.create;var w=Object.defineProperty,P=Object.defineProperties,M=Object.getOwnPropertyDescriptor,T=Object.getOwnPropertyDescriptors,L=Object.getOwnPropertyNames,S=Object.getOwnPropertySymbols,R=Object.getPrototypeOf,B=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable;var V=(r,e,s)=>e in r?w(r,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[e]=s,g=(r,e)=>{for(var s in e||(e={}))B.call(e,s)&&V(r,s,e[s]);if(S)for(var s of S(e))F.call(e,s)&&V(r,s,e[s]);return r},x=(r,e)=>P(r,T(e));var H=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),K=(r,e)=>{for(var s in e)w(r,s,{get:e[s],enumerable:!0})},D=(r,e,s,l)=>{if(e&&typeof e=="object"||typeof e=="function")for(let u of L(e))!B.call(r,u)&&u!==s&&w(r,u,{get:()=>e[u],enumerable:!(l=M(e,u))||l.enumerable});return r};var j=(r,e,s)=>(s=r!=null?J(R(r)):{},D(e||!r||!r.__esModule?w(s,"default",{value:r,enumerable:!0}):s,r)),Q=r=>D(w({},"__esModule",{value:!0}),r);var b=H((Y,U)=>{"use strict";U.exports=q;function A(r){return r instanceof Buffer?Buffer.from(r):new r.constructor(r.buffer.slice(),r.byteOffset,r.length)}function q(r){if(r=r||{},r.circles)return W(r);let e=new Map;if(e.set(Date,n=>new Date(n)),e.set(Map,(n,c)=>new Map(l(Array.from(n),c))),e.set(Set,(n,c)=>new Set(l(Array.from(n),c))),r.constructorHandlers)for(let n of r.constructorHandlers)e.set(n[0],n[1]);let s=null;return r.proto?p:u;function l(n,c){let t=Object.keys(n),i=new Array(t.length);for(let a=0;a<t.length;a++){let o=t[a],f=n[o];typeof f!="object"||f===null?i[o]=f:f.constructor!==Object&&(s=e.get(f.constructor))?i[o]=s(f,c):ArrayBuffer.isView(f)?i[o]=A(f):i[o]=c(f)}return i}function u(n){if(typeof n!="object"||n===null)return n;if(Array.isArray(n))return l(n,u);if(n.constructor!==Object&&(s=e.get(n.constructor)))return s(n,u);let c={};for(let t in n){if(Object.hasOwnProperty.call(n,t)===!1)continue;let i=n[t];typeof i!="object"||i===null?c[t]=i:i.constructor!==Object&&(s=e.get(i.constructor))?c[t]=s(i,u):ArrayBuffer.isView(i)?c[t]=A(i):c[t]=u(i)}return c}function p(n){if(typeof n!="object"||n===null)return n;if(Array.isArray(n))return l(n,p);if(n.constructor!==Object&&(s=e.get(n.constructor)))return s(n,p);let c={};for(let t in n){let i=n[t];typeof i!="object"||i===null?c[t]=i:i.constructor!==Object&&(s=e.get(i.constructor))?c[t]=s(i,p):ArrayBuffer.isView(i)?c[t]=A(i):c[t]=p(i)}return c}}function W(r){let e=[],s=[],l=new Map;if(l.set(Date,t=>new Date(t)),l.set(Map,(t,i)=>new Map(p(Array.from(t),i))),l.set(Set,(t,i)=>new Set(p(Array.from(t),i))),r.constructorHandlers)for(let t of r.constructorHandlers)l.set(t[0],t[1]);let u=null;return r.proto?c:n;function p(t,i){let a=Object.keys(t),o=new Array(a.length);for(let f=0;f<a.length;f++){let y=a[f],h=t[y];if(typeof h!="object"||h===null)o[y]=h;else if(h.constructor!==Object&&(u=l.get(h.constructor)))o[y]=u(h,i);else if(ArrayBuffer.isView(h))o[y]=A(h);else{let $=e.indexOf(h);$!==-1?o[y]=s[$]:o[y]=i(h)}}return o}function n(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return p(t,n);if(t.constructor!==Object&&(u=l.get(t.constructor)))return u(t,n);let i={};e.push(t),s.push(i);for(let a in t){if(Object.hasOwnProperty.call(t,a)===!1)continue;let o=t[a];if(typeof o!="object"||o===null)i[a]=o;else if(o.constructor!==Object&&(u=l.get(o.constructor)))i[a]=u(o,n);else if(ArrayBuffer.isView(o))i[a]=A(o);else{let f=e.indexOf(o);f!==-1?i[a]=s[f]:i[a]=n(o)}}return e.pop(),s.pop(),i}function c(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return p(t,c);if(t.constructor!==Object&&(u=l.get(t.constructor)))return u(t,c);let i={};e.push(t),s.push(i);for(let a in t){let o=t[a];if(typeof o!="object"||o===null)i[a]=o;else if(o.constructor!==Object&&(u=l.get(o.constructor)))i[a]=u(o,c);else if(ArrayBuffer.isView(o))i[a]=A(o);else{let f=e.indexOf(o);f!==-1?i[a]=s[f]:i[a]=c(o)}}return e.pop(),s.pop(),i}}});var G={};K(G,{looseCompare:()=>z,version:()=>_});var O=j(b(),1);var N=j(b(),1);var ee=(0,N.default)();function m(r){if(r==null||typeof r!="object")return!1;let e=Object.getPrototypeOf(r);return e!==null&&e!==Object.prototype&&Object.getPrototypeOf(e)!==null?!1:!(Symbol.iterator in r)&&!(Symbol.toStringTag in r)}function k(r){if(r.includes(".")){let e=r.lastIndexOf(".");if(!r.slice(0,e).includes("."))return r.slice(0,e);for(let s=e-1;s--;)if(r[s]===".")return r.slice(s+1,e)}return null}var v=(0,O.default)();function E(r,e){let s={now:!1};function l(u,p,n,c){let t=v(u),i,a=g({depth:-1,path:""},n);if(a.depth+=1,Array.isArray(t))for(let o=0,f=t.length;o<f&&!c.now;o++){let y=a.path?"".concat(a.path,".").concat(o):"".concat(o);t[o]!==void 0?(a.parent=v(t),a.parentType="array",a.parentKey=k(y),i=l(p(t[o],void 0,x(g({},a),{path:y}),c),p,x(g({},a),{path:y}),c),Number.isNaN(i)&&o<t.length?(t.splice(o,1),o-=1):t[o]=i):t.splice(o,1)}else if(m(t))for(let o in t){if(c.now&&o!=null)break;let f=a.path?"".concat(a.path,".").concat(o):o;a.depth===0&&o!=null&&(a.topmostKey=o),a.parent=v(t),a.parentType="object",a.parentKey=k(f),i=l(p(o,t[o],x(g({},a),{path:f}),c),p,x(g({},a),{path:f}),c),Number.isNaN(i)?delete t[o]:t[o]=i}return t}return l(r,e,{},s)}function d(r){if(typeof r=="string")return!r.trim();if(!["object","string"].includes(typeof r)||!r)return!1;let e=!0;return r=E(r,(s,l,u,p)=>{let n=l!==void 0?l:s;return typeof n=="string"&&n.trim()&&(e=!1,p.now=!0),n}),e}var I="4.1.3";var _=I;function C(r,e,s){function l(n){return n!=null}let u,p;if(s===void 0){if(!l(r)||!l(e))return}else if(!l(r)||!l(e))return!1;if(s=s||!0,typeof r!=typeof e)return!!(d(r)&&d(e));if(Array.isArray(r)&&Array.isArray(e))if(e.length){for(u=0,p=e.length;u<p;u++)if(Array.isArray(e[u])||m(e[u])){if(s=C(r[u],e[u],s),!s)return!1}else if(e[u]!==r[u])return!!(d(e[u])&&d(r[u]))}else return!!(e.length===0&&r.length===0||d(e)&&d(r));else if(m(r)&&m(e))if(Object.keys(e).length){let n=Object.keys(e);for(u=0,p=n.length;u<p;u++)if(Array.isArray(e[n[u]])||m(e[n[u]])||typeof e[n[u]]=="string"){if(s=C(r[n[u]],e[n[u]],s),!s)return!1}else if(e[n[u]]!==r[n[u]]&&(!d(e[n[u]])||!d(r[n[u]])))return!1}else return!!(Object.keys(e).length===0&&Object.keys(r).length===0||d(e)&&d(r));else if(typeof r=="string"&&typeof e=="string"){if(r!==e)return!!(d(e)&&d(r))}else return!!(d(e)&&d(r));return s}function z(r,e){return C(r,e)}return Q(G);})();
10
+ "use strict";var astLooseCompare=(()=>{var a=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var y=(e,t)=>{for(var n in t)a(e,n,{get:t[n],enumerable:!0})},m=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of d(t))!g.call(e,r)&&r!==n&&a(e,r,{get:()=>t[r],enumerable:!(o=h(t,r))||o.enumerable});return e};var v=e=>m(a({},"__esModule",{value:!0}),e);var k={};y(k,{looseCompare:()=>x,version:()=>w});function A(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)}function f(e){if(typeof e=="string")return!e.trim();if(Array.isArray(e)){for(let t of e)if(!f(t))return!1}else if(A(e)){for(let t of Object.keys(e))if(!f(e[t]))return!1}return!0}function i(e){return typeof e=="string"?!e.trim():typeof e!="object"||!e?!1:f(e)}var D=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 l(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 p="4.2.0";var w=p;function c(e,t,n){function o(s){return s!=null}let r,u;if(n===void 0){if(!o(e)||!o(t))return}else if(!o(e)||!o(t))return!1;if(n=n||!0,typeof e!=typeof t)return!!(i(e)&&i(t));if(Array.isArray(e)&&Array.isArray(t))if(t.length){for(r=0,u=t.length;r<u;r++)if(Array.isArray(t[r])||l(t[r])){if(n=c(e[r],t[r],n),!n)return!1}else if(t[r]!==e[r])return!!(i(t[r])&&i(e[r]))}else return!!(t.length===0&&e.length===0||i(t)&&i(e));else if(l(e)&&l(t))if(Object.keys(t).length){let s=Object.keys(t);for(r=0,u=s.length;r<u;r++)if(Array.isArray(t[s[r]])||l(t[s[r]])||typeof t[s[r]]=="string"){if(n=c(e[s[r]],t[s[r]],n),!n)return!1}else if(t[s[r]]!==e[s[r]]&&(!i(t[s[r]])||!i(e[s[r]])))return!1}else return!!(Object.keys(t).length===0&&Object.keys(e).length===0||i(t)&&i(e));else if(typeof e=="string"&&typeof t=="string"){if(e!==t)return!!(i(t)&&i(e))}else return!!(i(t)&&i(e));return n}function x(e,t){return c(e,t)}return v(k);})();
11
11
  /**
12
- * @name codsen-utils
13
- * @fileoverview Various utility functions
14
- * @version 1.7.3
15
- * @author Roy Revelt
16
- * @license MIT
17
- * {@link https://codsen.com/os/codsen-utils/}
18
- */
19
- /**
20
- * @name ast-monkey-util
21
- * @fileoverview Utility library of AST helper functions
22
- * @version 3.1.3
23
- * @author Roy Revelt
24
- * @license MIT
25
- * {@link https://codsen.com/os/ast-monkey-util/}
26
- */
27
- /**
28
- * @name ast-monkey-traverse
29
- * @fileoverview Utility library to traverse AST
30
- * @version 4.1.3
12
+ * @name ast-contains-only-empty-space
13
+ * @fileoverview Does AST contain only empty space?
14
+ * @version 4.2.0
31
15
  * @author Roy Revelt
32
16
  * @license MIT
33
- * {@link https://codsen.com/os/ast-monkey-traverse/}
17
+ * {@link https://codsen.com/os/ast-contains-only-empty-space/}
34
18
  */
35
19
  /**
36
- * @name ast-contains-only-empty-space
37
- * @fileoverview Does AST contain only empty space?
38
- * @version 4.1.3
20
+ * @name codsen-utils
21
+ * @fileoverview Various utility functions
22
+ * @version 1.8.0
39
23
  * @author Roy Revelt
40
24
  * @license MIT
41
- * {@link https://codsen.com/os/ast-contains-only-empty-space/}
25
+ * {@link https://codsen.com/os/codsen-utils/}
42
26
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ast-loose-compare",
3
- "version": "4.1.3",
3
+ "version": "4.2.0",
4
4
  "description": "Compare anything: AST, objects, arrays and strings",
5
5
  "keywords": [
6
6
  "array",
@@ -43,44 +43,43 @@
43
43
  },
44
44
  "types": "types/index.d.ts",
45
45
  "scripts": {
46
- "build": "node '../../ops/scripts/esbuild.js' && npm run dts",
47
- "cjs-off": "exit 0",
48
- "cjs-on": "exit 0",
49
- "dev": "DEV=true node '../../ops/scripts/esbuild.js' && npm run dts",
46
+ "build": "node ../../ops/scripts/esbuild.js && npm run dts",
47
+ "coverage": "c8 uvu test",
48
+ "dev": "node ../../ops/scripts/esbuild.js --dev && npm run dts",
50
49
  "devtest": "c8 npm run unit && npm run examples && npm run lint",
51
- "dts": "rollup -c && npm run prettier -- 'types/index.d.ts' --write --log-level 'silent'",
50
+ "dts": "rollup -c && biome format --write --config-path=../../biome.json --vcs-enabled=false --use-editorconfig=false types/index.d.ts",
52
51
  "examples": "node '../../ops/scripts/run-examples.js'",
53
- "lect": "node '../../ops/lect/lect.js' && npm run prettier -- 'README.md' '.all-contributorsrc' 'rollup.config.js' --write",
54
- "letspublish": "npm publish --provenance || :",
55
- "lint": "eslint . --fix --concurrency=auto --cache",
52
+ "lect": "node '../../ops/lect/lect.js'",
53
+ "lect:check": "node '../../ops/lect/lect.js' --check",
54
+ "lint": "biome lint --error-on-warnings . && npm run typecheck",
55
+ "lint:fix": "biome lint --write --error-on-warnings . && npm run typecheck",
56
56
  "perf": "node perf/check.js",
57
57
  "prep": "echo 'ready'",
58
- "prettier": "prettier",
59
- "prettier:format": "npm run prettier -- --write '**/*.{ts,tsx,md}' --no-error-on-unmatched-pattern --log-level 'silent'",
60
- "pretest": "npm run lect && npm run build",
58
+ "prettier": "biome format",
59
+ "prettier:format": "biome format --write .",
60
+ "pretest": "npm run lect:check && npm run build",
61
61
  "test": "npm run devtest",
62
+ "typecheck": "tsc --noEmit --pretty false --project tsconfig.json",
62
63
  "unit": "uvu test"
63
64
  },
64
- "engines": {
65
- "node": ">=14.18.0"
66
- },
67
65
  "c8": {
66
+ "all": true,
68
67
  "check-coverage": true,
69
- "exclude": [
70
- "**/test/**/*.*"
71
- ],
68
+ "exclude": ["**/test/**/*.*"],
69
+ "include": ["dist/*.esm.js"],
72
70
  "lines": 100
73
71
  },
74
72
  "lect": {
75
73
  "licence": {
76
- "extras": [
77
- ""
78
- ]
74
+ "extras": [""]
79
75
  }
80
76
  },
81
77
  "dependencies": {
82
- "ast-contains-only-empty-space": "^4.1.3",
83
- "codsen-utils": "^1.7.3"
78
+ "ast-contains-only-empty-space": "^4.2.0",
79
+ "codsen-utils": "^1.8.0"
80
+ },
81
+ "engines": {
82
+ "node": ">=18.20.8"
84
83
  },
85
84
  "publishConfig": {
86
85
  "registry": "https://registry.npmjs.org/"