ast-get-values-by-key 5.0.13 → 5.0.14

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/README.md CHANGED
@@ -49,9 +49,9 @@ assert.deepEqual(
49
49
  },
50
50
  ],
51
51
  },
52
- "tag" // value to search for
52
+ "tag", // value to search for
53
53
  ),
54
- [{ val: "html", path: "parsed.0.tag" }]
54
+ [{ val: "html", path: "parsed.0.tag" }],
55
55
  );
56
56
 
57
57
  // SETTER
@@ -73,7 +73,7 @@ assert.deepEqual(
73
73
  },
74
74
  },
75
75
  "tag", // value to search for
76
- [123, 456] // pot of values to pick from (one result not enough)
76
+ [123, 456], // pot of values to pick from (one result not enough)
77
77
  ),
78
78
  {
79
79
  parsed: [
@@ -87,7 +87,7 @@ assert.deepEqual(
87
87
  bar: {
88
88
  tag: null, // value pot was depleted and there was nothing left to put here
89
89
  },
90
- }
90
+ },
91
91
  );
92
92
  ```
93
93
 
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * @name ast-get-values-by-key
3
3
  * @fileoverview Extract values and paths from AST by keys OR set them by keys
4
- * @version 5.0.13
4
+ * @version 5.0.14
5
5
  * @author Roy Revelt, Codsen Ltd
6
6
  * @license MIT
7
7
  * {@link https://codsen.com/os/ast-get-values-by-key/}
8
8
  */
9
9
 
10
- import{traverse as m}from"ast-monkey-traverse";import{isMatch as y}from"matcher";import f from"rfdc";var i="5.0.13";var p=f(),j=i;function k(o,d,t){let e;t!==void 0&&(e=Array.isArray(t)?p(t):[p(t)]);let r=[],l=m(o,(n,s,u)=>{let c=s!==void 0?s:n;if(s!==void 0&&y(n,d,{caseSensitive:!0})){if(e===void 0)r.push({val:s,path:u.path});else if(e.length)return e.shift()}return c});return e===void 0?r:l}export{k as getByKey,j as version};
10
+ import{traverse as m}from"ast-monkey-traverse";import{isMatch as y}from"matcher";import f from"rfdc";var i="5.0.14";var p=f(),j=i;function k(o,d,t){let e;t!==void 0&&(e=Array.isArray(t)?p(t):[p(t)]);let r=[],l=m(o,(n,s,u)=>{let c=s!==void 0?s:n;if(s!==void 0&&y(n,d,{caseSensitive:!0})){if(e===void 0)r.push({val:s,path:u.path});else if(e.length)return e.shift()}return c});return e===void 0?r:l}export{k as getByKey,j as version};
@@ -1,17 +1,17 @@
1
1
  /**
2
2
  * @name ast-get-values-by-key
3
3
  * @fileoverview Extract values and paths from AST by keys OR set them by keys
4
- * @version 5.0.13
4
+ * @version 5.0.14
5
5
  * @author Roy Revelt, Codsen Ltd
6
6
  * @license MIT
7
7
  * {@link https://codsen.com/os/ast-get-values-by-key/}
8
8
  */
9
9
 
10
- "use strict";var astGetValuesByKey=(()=>{var L=Object.create;var h=Object.defineProperty,K=Object.defineProperties,V=Object.getOwnPropertyDescriptor,Q=Object.getOwnPropertyDescriptors,U=Object.getOwnPropertyNames,D=Object.getOwnPropertySymbols,J=Object.getPrototypeOf,j=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var $=(e,t,s)=>t in e?h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,d=(e,t)=>{for(var s in t||(t={}))j.call(t,s)&&$(e,s,t[s]);if(D)for(var s of D(t))W.call(t,s)&&$(e,s,t[s]);return e},g=(e,t)=>K(e,Q(t));var q=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),z=(e,t)=>{for(var s in t)h(e,s,{get:t[s],enumerable:!0})},O=(e,t,s,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of U(t))!j.call(e,a)&&a!==s&&h(e,a,{get:()=>t[a],enumerable:!(l=V(t,a))||l.enumerable});return e};var v=(e,t,s)=>(s=e!=null?L(J(e)):{},O(t||!e||!e.__esModule?h(s,"default",{value:e,enumerable:!0}):s,e)),H=e=>O(h({},"__esModule",{value:!0}),e);var b=q((se,C)=>{"use strict";C.exports=Z;function m(e){return e instanceof Buffer?Buffer.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}function Z(e){if(e=e||{},e.circles)return _(e);return e.proto?l:s;function t(a,u){for(var n=Object.keys(a),r=new Array(n.length),f=0;f<n.length;f++){var i=n[f],o=a[i];typeof o!="object"||o===null?r[i]=o:o instanceof Date?r[i]=new Date(o):ArrayBuffer.isView(o)?r[i]=m(o):r[i]=u(o)}return r}function s(a){if(typeof a!="object"||a===null)return a;if(a instanceof Date)return new Date(a);if(Array.isArray(a))return t(a,s);if(a instanceof Map)return new Map(t(Array.from(a),s));if(a instanceof Set)return new Set(t(Array.from(a),s));var u={};for(var n in a)if(Object.hasOwnProperty.call(a,n)!==!1){var r=a[n];typeof r!="object"||r===null?u[n]=r:r instanceof Date?u[n]=new Date(r):r instanceof Map?u[n]=new Map(t(Array.from(r),s)):r instanceof Set?u[n]=new Set(t(Array.from(r),s)):ArrayBuffer.isView(r)?u[n]=m(r):u[n]=s(r)}return u}function l(a){if(typeof a!="object"||a===null)return a;if(a instanceof Date)return new Date(a);if(Array.isArray(a))return t(a,l);if(a instanceof Map)return new Map(t(Array.from(a),l));if(a instanceof Set)return new Set(t(Array.from(a),l));var u={};for(var n in a){var r=a[n];typeof r!="object"||r===null?u[n]=r:r instanceof Date?u[n]=new Date(r):r instanceof Map?u[n]=new Map(t(Array.from(r),l)):r instanceof Set?u[n]=new Set(t(Array.from(r),l)):ArrayBuffer.isView(r)?u[n]=m(r):u[n]=l(r)}return u}}function _(e){var t=[],s=[];return e.proto?u:a;function l(n,r){for(var f=Object.keys(n),i=new Array(f.length),o=0;o<f.length;o++){var p=f[o],c=n[p];if(typeof c!="object"||c===null)i[p]=c;else if(c instanceof Date)i[p]=new Date(c);else if(ArrayBuffer.isView(c))i[p]=m(c);else{var y=t.indexOf(c);y!==-1?i[p]=s[y]:i[p]=r(c)}}return i}function a(n){if(typeof n!="object"||n===null)return n;if(n instanceof Date)return new Date(n);if(Array.isArray(n))return l(n,a);if(n instanceof Map)return new Map(l(Array.from(n),a));if(n instanceof Set)return new Set(l(Array.from(n),a));var r={};t.push(n),s.push(r);for(var f in n)if(Object.hasOwnProperty.call(n,f)!==!1){var i=n[f];if(typeof i!="object"||i===null)r[f]=i;else if(i instanceof Date)r[f]=new Date(i);else if(i instanceof Map)r[f]=new Map(l(Array.from(i),a));else if(i instanceof Set)r[f]=new Set(l(Array.from(i),a));else if(ArrayBuffer.isView(i))r[f]=m(i);else{var o=t.indexOf(i);o!==-1?r[f]=s[o]:r[f]=a(i)}}return t.pop(),s.pop(),r}function u(n){if(typeof n!="object"||n===null)return n;if(n instanceof Date)return new Date(n);if(Array.isArray(n))return l(n,u);if(n instanceof Map)return new Map(l(Array.from(n),u));if(n instanceof Set)return new Set(l(Array.from(n),u));var r={};t.push(n),s.push(r);for(var f in n){var i=n[f];if(typeof i!="object"||i===null)r[f]=i;else if(i instanceof Date)r[f]=new Date(i);else if(i instanceof Map)r[f]=new Map(l(Array.from(i),u));else if(i instanceof Set)r[f]=new Set(l(Array.from(i),u));else if(ArrayBuffer.isView(i))r[f]=m(i);else{var o=t.indexOf(i);o!==-1?r[f]=s[o]:r[f]=u(i)}}return t.pop(),s.pop(),r}}});var re={};z(re,{getByKey:()=>te,version:()=>ee});var E=v(b(),1);var M=v(b(),1);var ae=(0,M.default)();function B(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 G(e){if(e.includes(".")){let t=e.lastIndexOf(".");if(!e.slice(0,t).includes("."))return e.slice(0,t);for(let s=t-1;s--;)if(e[s]===".")return e.slice(s+1,t)}return null}var w=G;var A=(0,E.default)();function N(e,t){let s={now:!1};function l(a,u,n,r){let f=A(a),i,o=d({depth:-1,path:""},n);if(o.depth+=1,Array.isArray(f))for(let p=0,c=f.length;p<c&&!r.now;p++){let y=o.path?`${o.path}.${p}`:`${p}`;f[p]!==void 0?(o.parent=A(f),o.parentType="array",o.parentKey=w(y),i=l(u(f[p],void 0,g(d({},o),{path:y}),r),u,g(d({},o),{path:y}),r),Number.isNaN(i)&&p<f.length?(f.splice(p,1),p-=1):f[p]=i):f.splice(p,1)}else if(B(f))for(let p in f){if(r.now&&p!=null)break;let c=o.path?`${o.path}.${p}`:p;o.depth===0&&p!=null&&(o.topmostKey=p),o.parent=A(f),o.parentType="object",o.parentKey=w(c),i=l(u(p,f[p],g(d({},o),{path:c}),r),u,g(d({},o),{path:c}),r),Number.isNaN(i)?delete f[p]:f[p]=i}return f}return l(e,t,{},s)}function x(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var S=new Map,T=(e,t)=>{if(!Array.isArray(e))switch(typeof e){case"string":e=[e];break;case"undefined":e=[];break;default:throw new TypeError(`Expected '${t}' to be a string or an array, but got a type of '${typeof e}'`)}return e.filter(s=>{if(typeof s!="string"){if(typeof s>"u")return!1;throw new TypeError(`Expected '${t}' to be an array of strings, but found a type of '${typeof s}' in the array`)}return!0})},X=(e,t)=>{t=d({caseSensitive:!1},t);let s=e+JSON.stringify(t);if(S.has(s))return S.get(s);let l=e[0]==="!";l&&(e=e.slice(1)),e=x(e).replace(/\\\*/g,"[\\s\\S]*");let a=new RegExp(`^${e}$`,t.caseSensitive?"":"i");return a.negated=l,S.set(s,a),a},Y=(e,t,s,l)=>{if(e=T(e,"inputs"),t=T(t,"patterns"),t.length===0)return[];t=t.map(n=>X(n,s));let{allPatterns:a}=s||{},u=[];for(let n of e){let r,f=[...t].fill(!1);for(let[i,o]of t.entries())if(o.test(n)&&(f[i]=!0,r=!o.negated,!r))break;if(!(r===!1||r===void 0&&t.some(i=>!i.negated)||a&&f.some((i,o)=>!i&&!t[o].negated))&&(u.push(n),l))break}return u};function F(e,t,s){return Y(e,t,s,!0).length>0}var R=v(b(),1);var I="5.0.13";var P=(0,R.default)(),ee=I;function te(e,t,s){let l;s!==void 0&&(l=Array.isArray(s)?P(s):[P(s)]);let a=[],u=N(e,(n,r,f)=>{let i=r!==void 0?r:n;if(r!==void 0&&F(n,t,{caseSensitive:!0})){if(l===void 0)a.push({val:r,path:f.path});else if(l.length)return l.shift()}return i});return l===void 0?a:u}return H(re);})();
10
+ "use strict";var astGetValuesByKey=(()=>{var L=Object.create;var h=Object.defineProperty,K=Object.defineProperties,V=Object.getOwnPropertyDescriptor,Q=Object.getOwnPropertyDescriptors,U=Object.getOwnPropertyNames,D=Object.getOwnPropertySymbols,J=Object.getPrototypeOf,j=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var $=(e,t,s)=>t in e?h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,d=(e,t)=>{for(var s in t||(t={}))j.call(t,s)&&$(e,s,t[s]);if(D)for(var s of D(t))W.call(t,s)&&$(e,s,t[s]);return e},g=(e,t)=>K(e,Q(t));var q=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),z=(e,t)=>{for(var s in t)h(e,s,{get:t[s],enumerable:!0})},O=(e,t,s,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of U(t))!j.call(e,a)&&a!==s&&h(e,a,{get:()=>t[a],enumerable:!(l=V(t,a))||l.enumerable});return e};var v=(e,t,s)=>(s=e!=null?L(J(e)):{},O(t||!e||!e.__esModule?h(s,"default",{value:e,enumerable:!0}):s,e)),H=e=>O(h({},"__esModule",{value:!0}),e);var b=q((se,C)=>{"use strict";C.exports=Z;function m(e){return e instanceof Buffer?Buffer.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}function Z(e){if(e=e||{},e.circles)return _(e);return e.proto?l:s;function t(a,u){for(var n=Object.keys(a),r=new Array(n.length),f=0;f<n.length;f++){var i=n[f],o=a[i];typeof o!="object"||o===null?r[i]=o:o instanceof Date?r[i]=new Date(o):ArrayBuffer.isView(o)?r[i]=m(o):r[i]=u(o)}return r}function s(a){if(typeof a!="object"||a===null)return a;if(a instanceof Date)return new Date(a);if(Array.isArray(a))return t(a,s);if(a instanceof Map)return new Map(t(Array.from(a),s));if(a instanceof Set)return new Set(t(Array.from(a),s));var u={};for(var n in a)if(Object.hasOwnProperty.call(a,n)!==!1){var r=a[n];typeof r!="object"||r===null?u[n]=r:r instanceof Date?u[n]=new Date(r):r instanceof Map?u[n]=new Map(t(Array.from(r),s)):r instanceof Set?u[n]=new Set(t(Array.from(r),s)):ArrayBuffer.isView(r)?u[n]=m(r):u[n]=s(r)}return u}function l(a){if(typeof a!="object"||a===null)return a;if(a instanceof Date)return new Date(a);if(Array.isArray(a))return t(a,l);if(a instanceof Map)return new Map(t(Array.from(a),l));if(a instanceof Set)return new Set(t(Array.from(a),l));var u={};for(var n in a){var r=a[n];typeof r!="object"||r===null?u[n]=r:r instanceof Date?u[n]=new Date(r):r instanceof Map?u[n]=new Map(t(Array.from(r),l)):r instanceof Set?u[n]=new Set(t(Array.from(r),l)):ArrayBuffer.isView(r)?u[n]=m(r):u[n]=l(r)}return u}}function _(e){var t=[],s=[];return e.proto?u:a;function l(n,r){for(var f=Object.keys(n),i=new Array(f.length),o=0;o<f.length;o++){var p=f[o],c=n[p];if(typeof c!="object"||c===null)i[p]=c;else if(c instanceof Date)i[p]=new Date(c);else if(ArrayBuffer.isView(c))i[p]=m(c);else{var y=t.indexOf(c);y!==-1?i[p]=s[y]:i[p]=r(c)}}return i}function a(n){if(typeof n!="object"||n===null)return n;if(n instanceof Date)return new Date(n);if(Array.isArray(n))return l(n,a);if(n instanceof Map)return new Map(l(Array.from(n),a));if(n instanceof Set)return new Set(l(Array.from(n),a));var r={};t.push(n),s.push(r);for(var f in n)if(Object.hasOwnProperty.call(n,f)!==!1){var i=n[f];if(typeof i!="object"||i===null)r[f]=i;else if(i instanceof Date)r[f]=new Date(i);else if(i instanceof Map)r[f]=new Map(l(Array.from(i),a));else if(i instanceof Set)r[f]=new Set(l(Array.from(i),a));else if(ArrayBuffer.isView(i))r[f]=m(i);else{var o=t.indexOf(i);o!==-1?r[f]=s[o]:r[f]=a(i)}}return t.pop(),s.pop(),r}function u(n){if(typeof n!="object"||n===null)return n;if(n instanceof Date)return new Date(n);if(Array.isArray(n))return l(n,u);if(n instanceof Map)return new Map(l(Array.from(n),u));if(n instanceof Set)return new Set(l(Array.from(n),u));var r={};t.push(n),s.push(r);for(var f in n){var i=n[f];if(typeof i!="object"||i===null)r[f]=i;else if(i instanceof Date)r[f]=new Date(i);else if(i instanceof Map)r[f]=new Map(l(Array.from(i),u));else if(i instanceof Set)r[f]=new Set(l(Array.from(i),u));else if(ArrayBuffer.isView(i))r[f]=m(i);else{var o=t.indexOf(i);o!==-1?r[f]=s[o]:r[f]=u(i)}}return t.pop(),s.pop(),r}}});var re={};z(re,{getByKey:()=>te,version:()=>ee});var E=v(b(),1);var M=v(b(),1);var ae=(0,M.default)();function B(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 G(e){if(e.includes(".")){let t=e.lastIndexOf(".");if(!e.slice(0,t).includes("."))return e.slice(0,t);for(let s=t-1;s--;)if(e[s]===".")return e.slice(s+1,t)}return null}var w=G;var A=(0,E.default)();function N(e,t){let s={now:!1};function l(a,u,n,r){let f=A(a),i,o=d({depth:-1,path:""},n);if(o.depth+=1,Array.isArray(f))for(let p=0,c=f.length;p<c&&!r.now;p++){let y=o.path?`${o.path}.${p}`:`${p}`;f[p]!==void 0?(o.parent=A(f),o.parentType="array",o.parentKey=w(y),i=l(u(f[p],void 0,g(d({},o),{path:y}),r),u,g(d({},o),{path:y}),r),Number.isNaN(i)&&p<f.length?(f.splice(p,1),p-=1):f[p]=i):f.splice(p,1)}else if(B(f))for(let p in f){if(r.now&&p!=null)break;let c=o.path?`${o.path}.${p}`:p;o.depth===0&&p!=null&&(o.topmostKey=p),o.parent=A(f),o.parentType="object",o.parentKey=w(c),i=l(u(p,f[p],g(d({},o),{path:c}),r),u,g(d({},o),{path:c}),r),Number.isNaN(i)?delete f[p]:f[p]=i}return f}return l(e,t,{},s)}function x(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var S=new Map,T=(e,t)=>{if(!Array.isArray(e))switch(typeof e){case"string":e=[e];break;case"undefined":e=[];break;default:throw new TypeError(`Expected '${t}' to be a string or an array, but got a type of '${typeof e}'`)}return e.filter(s=>{if(typeof s!="string"){if(typeof s>"u")return!1;throw new TypeError(`Expected '${t}' to be an array of strings, but found a type of '${typeof s}' in the array`)}return!0})},X=(e,t)=>{t=d({caseSensitive:!1},t);let s=e+JSON.stringify(t);if(S.has(s))return S.get(s);let l=e[0]==="!";l&&(e=e.slice(1)),e=x(e).replace(/\\\*/g,"[\\s\\S]*");let a=new RegExp(`^${e}$`,t.caseSensitive?"":"i");return a.negated=l,S.set(s,a),a},Y=(e,t,s,l)=>{if(e=T(e,"inputs"),t=T(t,"patterns"),t.length===0)return[];t=t.map(n=>X(n,s));let{allPatterns:a}=s||{},u=[];for(let n of e){let r,f=[...t].fill(!1);for(let[i,o]of t.entries())if(o.test(n)&&(f[i]=!0,r=!o.negated,!r))break;if(!(r===!1||r===void 0&&t.some(i=>!i.negated)||a&&f.some((i,o)=>!i&&!t[o].negated))&&(u.push(n),l))break}return u};function F(e,t,s){return Y(e,t,s,!0).length>0}var R=v(b(),1);var I="5.0.14";var P=(0,R.default)(),ee=I;function te(e,t,s){let l;s!==void 0&&(l=Array.isArray(s)?P(s):[P(s)]);let a=[],u=N(e,(n,r,f)=>{let i=r!==void 0?r:n;if(r!==void 0&&F(n,t,{caseSensitive:!0})){if(l===void 0)a.push({val:r,path:f.path});else if(l.length)return l.shift()}return i});return l===void 0?a:u}return H(re);})();
11
11
  /**
12
12
  * @name codsen-utils
13
13
  * @fileoverview Various utility functions
14
- * @version 1.6.0
14
+ * @version 1.6.1
15
15
  * @author Roy Revelt, Codsen Ltd
16
16
  * @license MIT
17
17
  * {@link https://codsen.com/os/codsen-utils/}
@@ -19,7 +19,7 @@
19
19
  /**
20
20
  * @name ast-monkey-util
21
21
  * @fileoverview Utility library of AST helper functions
22
- * @version 3.0.6
22
+ * @version 3.0.7
23
23
  * @author Roy Revelt, Codsen Ltd
24
24
  * @license MIT
25
25
  * {@link https://codsen.com/os/ast-monkey-util/}
@@ -27,7 +27,7 @@
27
27
  /**
28
28
  * @name ast-monkey-traverse
29
29
  * @fileoverview Utility library to traverse AST
30
- * @version 4.0.11
30
+ * @version 4.0.12
31
31
  * @author Roy Revelt, Codsen Ltd
32
32
  * @license MIT
33
33
  * {@link https://codsen.com/os/ast-monkey-traverse/}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ast-get-values-by-key",
3
- "version": "5.0.13",
3
+ "version": "5.0.14",
4
4
  "description": "Extract values and paths from AST by keys OR set them by keys",
5
5
  "keywords": [
6
6
  "ast",
@@ -49,7 +49,7 @@
49
49
  "cjs-on": "exit 0",
50
50
  "dev": "DEV=true node '../../ops/scripts/esbuild.js' && npm run dts",
51
51
  "devtest": "c8 npm run unit && npm run examples && npm run lint",
52
- "dts": "rollup -c && npm run prettier -- 'types/index.d.ts' --write --loglevel 'silent'",
52
+ "dts": "rollup -c && npm run prettier -- 'types/index.d.ts' --write --log-level 'silent'",
53
53
  "examples": "node '../../ops/scripts/run-examples.js'",
54
54
  "lect": "node '../../ops/lect/lect.js' && npm run prettier -- 'README.md' '.all-contributorsrc' 'rollup.config.js' --write",
55
55
  "letspublish": "npm publish || :",
@@ -57,7 +57,7 @@
57
57
  "perf": "node perf/check.js",
58
58
  "prep": "echo 'ready'",
59
59
  "prettier": "prettier",
60
- "prettier:format": "npm run prettier -- --write '**/*.{ts,tsx,md}' --no-error-on-unmatched-pattern --loglevel 'silent'",
60
+ "prettier:format": "npm run prettier -- --write '**/*.{ts,tsx,md}' --no-error-on-unmatched-pattern --log-level 'silent'",
61
61
  "pretest": "npm run lect && npm run build",
62
62
  "test": "npm run devtest",
63
63
  "unit": "uvu test"
@@ -80,7 +80,7 @@
80
80
  }
81
81
  },
82
82
  "dependencies": {
83
- "ast-monkey-traverse": "^4.0.11",
83
+ "ast-monkey-traverse": "^4.0.12",
84
84
  "matcher": "^5.0.0",
85
85
  "rfdc": "^1.3.0"
86
86
  }
package/types/index.d.ts CHANGED
@@ -9,7 +9,7 @@ interface Findings {
9
9
  declare function getByKey(
10
10
  originalInput: any,
11
11
  whatToFind: string | string[],
12
- originalReplacement?: any
12
+ originalReplacement?: any,
13
13
  ): any;
14
14
 
15
15
  export { Findings, getByKey, version };