diff --git a/dist/mudder.cjs b/dist/mudder.cjs index f074c59..35bbdb7 100644 --- a/dist/mudder.cjs +++ b/dist/mudder.cjs @@ -69,7 +69,9 @@ SymbolTable.prototype.digitsToString = function(digits) { }; SymbolTable.prototype.stringToDigits = function(string) { if (!this.isPrefixCode && typeof string === "string") { - throw new TypeError("parsing string without prefix code is unsupported. Pass in array of stringy symbols?"); + throw new TypeError( + "parsing string without prefix code is unsupported. Pass in array of stringy symbols?" + ); } if (typeof string === "string") { const re = new RegExp("(" + Array.from(this.sym2num.keys()).join("|") + ")", "g"); @@ -218,7 +220,12 @@ function chopSuccessiveDigits(strings, placesToKeep = 0) { if (reversed) { strings.reverse(); } - const result = strings.slice(1).reduce((accum, curr) => accum.concat([chopDigits(accum[accum.length - 1], curr, placesToKeep)]), [strings[0]]); + const result = strings.slice(1).reduce( + (accum, curr) => accum.concat( + [chopDigits(accum[accum.length - 1], curr, placesToKeep)] + ), + [strings[0]] + ); if (reversed) { result.reverse(); } @@ -249,12 +256,17 @@ SymbolTable.prototype.mudder = function(a, b, numStrings, base, numDivisions, pl const ad = this.stringToDigits(a, base); const bd = this.stringToDigits(b, base); const intermediateDigits = longLinspace(ad, bd, base, numStrings, numDivisions); - let finalDigits = intermediateDigits.map((v) => v.res.concat(this.roundFraction(v.rem, v.den, base))); + let finalDigits = intermediateDigits.map( + (v) => v.res.concat(this.roundFraction(v.rem, v.den, base)) + ); finalDigits.unshift(ad); finalDigits.push(bd); return chopSuccessiveDigits(finalDigits, placesToKeep).slice(1, finalDigits.length - 1).map((v) => this.digitsToString(v)); }; -var iter = (char, len) => Array.from(Array(len), (_, i) => String.fromCharCode(char.charCodeAt(0) + i)); +var iter = (char, len) => Array.from( + Array(len), + (_, i) => String.fromCharCode(char.charCodeAt(0) + i) +); var base62 = new SymbolTable(iter("0", 10).concat(iter("A", 26)).concat(iter("a", 26))); var base36arr = iter("0", 10).concat(iter("a", 26)); var base36keys = base36arr.concat(iter("A", 26)); @@ -266,5 +278,11 @@ function zip(a, b) { return Array.from(Array(a.length), (_, i) => [a[i], b[i]]); } var base36 = new SymbolTable(base36arr, new Map(zip(base36keys, base36vals))); -var alphabet = new SymbolTable(iter("a", 26), new Map(zip(iter("a", 26).concat(iter("A", 26)), range(26).concat(range(26))))); +var alphabet = new SymbolTable( + iter("a", 26), + new Map(zip( + iter("a", 26).concat(iter("A", 26)), + range(26).concat(range(26)) + )) +); module.exports = { SymbolTable, base62, base36, alphabet, longLinspace }; diff --git a/dist/mudder.min.js b/dist/mudder.min.js index 0565657..e0677db 100644 --- a/dist/mudder.min.js +++ b/dist/mudder.min.js @@ -1,2 +1,2 @@ -(()=>{var E=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var O=E((F,A)=>{function d(t){for(const e of t)for(const n of t)if(n!==e&&e.startsWith(n))return!1;return!0}function S(t){t=Array.from(t).sort();for(const[e,n]of t.entries()){const r=t[e-1];if(r!==n&&n.startsWith(r))return!1}return!0}d=S;function u(t,e){"use strict";if(typeof this=="undefined")throw new TypeError("constructor called as a function");if(typeof t=="string")t=t.split("");else if(!Array.isArray(t))throw new TypeError("symbolsArr must be string or array");if(typeof e=="undefined")e=new Map(t.map((r,i)=>[r,i]));else if(e instanceof Object&&!(e instanceof Map))e=new Map(Object.entries(e));else if(!(e instanceof Map))throw new TypeError("symbolsMap can be omitted, a Map, or an Object");let n=new Set(e.values());for(let r=0;r=1;)n.push(t%e),t=Math.floor(t/e);return n.length?n.reverse():[0]};u.prototype.digitsToString=function(t){return t.map(e=>this.num2sym[e]).join("")};u.prototype.stringToDigits=function(t){if(!this.isPrefixCode&&typeof t=="string")throw new TypeError("parsing string without prefix code is unsupported. Pass in array of stringy symbols?");if(typeof t=="string"){const e=new RegExp("("+Array.from(this.sym2num.keys()).join("|")+")","g");t=t.match(e)}return t.map(e=>this.sym2num.get(e))};u.prototype.digitsToNumber=function(t,e){e=e||this.maxBase;let n=1;return t.reduceRight((r,i)=>{let o=r+i*n;return n*=e,o},0)};u.prototype.numberToString=function(t,e){return this.digitsToString(this.numberToDigits(t,e))};u.prototype.stringToNumber=function(t,e){return this.digitsToNumber(this.stringToDigits(t),e)};function m(t,e,n){return t.reduce((r,i)=>{let o=i+r.rem*n;return{res:r.res.concat(Math.floor(o/e)),rem:o%e,den:e}},{res:[],rem:0,den:e})}function y(t,e,n,r=[],i=0){if(t.length!==e.length)throw new Error("same length arrays needed");if(r.length!==0&&r.length!==2)throw new Error("zero or two remainders expected");t=t.slice(),r.length&&(t=t.concat(r[0]),e=e.slice().concat(r[1]));const o=Array(t.length).fill(0);t:for(let c=t.length-1;c>=0;--c){if(t[c]>=e[c]){o[c]=t[c]-e[c];continue}if(c===0)throw new Error("cannot go negative");for(let s=c-1;s>=0;--s)if(t[s]>0){t[s]--;for(let h=s+1;h0&&c===t.length-1?i:n)-e[c];continue t}throw new Error("failed to find digit to borrow from")}return r.length?{res:o.slice(0,-1),rem:o[o.length-1],den:i}:{res:o,rem:0,den:i}}function w(t,e,n,r,i){if(t.length!==e.length)throw new Error("same length arrays needed");let o=r>=i,c=e.slice();return o&&(r-=i),t.reduceRight((s,h,l)=>{const f=h+e[l]+o;o=f>=n,c[l]=o?f-n:f},null),{res:c,carry:o,rem:r,den:i}}function v(t,e,n){const r=Math.max(0,e-t.length);return t.concat(Array(r).fill(n||0))}function x(t,e,n,r,i){if(t.lengthf===e[p]))throw new Error("Start and end strings lexicographically inseparable");const o=m(t,i,n),c=m(e,i,n);let s=y(t,o.res,n,[0,o.rem],i),h=c;const l=[];for(let f=1;f<=r;++f){const p=w(s.res,h.res,n,s.rem+h.rem,i);l.push(p),s=y(s.res,o.res,n,[s.rem,o.rem],i),h=w(h.res,c.res,n,h.rem+c.rem,i)}return l}function j(t,e,n){const r=Math.max(0,e-t.length);return Array(r).fill(n||0).concat(t)}u.prototype.roundFraction=function(t,e,n){n=n||this.maxBase;var r=Math.ceil(Math.log(e)/Math.log(n)),i=Math.pow(n,r),o=Math.round(t/e*i),c=this.numberToDigits(o,n);return j(c,r,0)};function C(t,e,n=0){for(let r=n;ri.concat([C(i[i.length-1],o,e)]),[t[0]]);return n&&r.reverse(),r}function B(t,e){const n=t>e;return n&&([t,e]=[e,t]),n?[e,t]:[t,e]}u.prototype.mudder=function(t,e,n,r,i,o=0){typeof t=="number"&&(n=t,t="",e=""),t=t||this.num2sym[0],e=e||this.num2sym[this.num2sym.length-1].repeat(t.length+6),n=typeof n=="number"?n:1,r=r||this.maxBase,i=i||n+1,[t,e]=B(t,e);const c=this.stringToDigits(t,r),s=this.stringToDigits(e,r);let l=x(c,s,r,n,i).map(f=>f.res.concat(this.roundFraction(f.rem,f.den,r)));return l.unshift(c),l.push(s),P(l,o).slice(1,l.length-1).map(f=>this.digitsToString(f))};var a=(t,e)=>Array.from(Array(e),(n,r)=>String.fromCharCode(t.charCodeAt(0)+r)),M=new u(a("0",10).concat(a("A",26)).concat(a("a",26))),T=a("0",10).concat(a("a",26)),N=T.concat(a("A",26));function g(t){return Array.from(Array(t),(e,n)=>n)}var R=g(10).concat(g(26).map(t=>t+10)).concat(g(26).map(t=>t+10));function D(t,e){return Array.from(Array(t.length),(n,r)=>[t[r],e[r]])}var _=new u(T,new Map(D(N,R))),k=new u(a("a",26),new Map(D(a("a",26).concat(a("A",26)),g(26).concat(g(26)))));A.exports={SymbolTable:u,base62:M,base36:_,alphabet:k,longLinspace:x}});O();})(); +(()=>{var E=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var O=E((F,A)=>{function v(t){for(const e of t)for(const n of t)if(n!==e&&e.startsWith(n))return!1;return!0}function S(t){t=Array.from(t).sort();for(const[e,n]of t.entries()){const r=t[e-1];if(r!==n&&n.startsWith(r))return!1}return!0}v=S;function u(t,e){"use strict";if(typeof this>"u")throw new TypeError("constructor called as a function");if(typeof t=="string")t=t.split("");else if(!Array.isArray(t))throw new TypeError("symbolsArr must be string or array");if(typeof e>"u")e=new Map(t.map((r,i)=>[r,i]));else if(e instanceof Object&&!(e instanceof Map))e=new Map(Object.entries(e));else if(!(e instanceof Map))throw new TypeError("symbolsMap can be omitted, a Map, or an Object");let n=new Set(e.values());for(let r=0;r=1;)n.push(t%e),t=Math.floor(t/e);return n.length?n.reverse():[0]};u.prototype.digitsToString=function(t){return t.map(e=>this.num2sym[e]).join("")};u.prototype.stringToDigits=function(t){if(!this.isPrefixCode&&typeof t=="string")throw new TypeError("parsing string without prefix code is unsupported. Pass in array of stringy symbols?");if(typeof t=="string"){const e=new RegExp("("+Array.from(this.sym2num.keys()).join("|")+")","g");t=t.match(e)}return t.map(e=>this.sym2num.get(e))};u.prototype.digitsToNumber=function(t,e){e=e||this.maxBase;let n=1;return t.reduceRight((r,i)=>{let o=r+i*n;return n*=e,o},0)};u.prototype.numberToString=function(t,e){return this.digitsToString(this.numberToDigits(t,e))};u.prototype.stringToNumber=function(t,e){return this.digitsToNumber(this.stringToDigits(t),e)};function d(t,e,n){return t.reduce((r,i)=>{let o=i+r.rem*n;return{res:r.res.concat(Math.floor(o/e)),rem:o%e,den:e}},{res:[],rem:0,den:e})}function m(t,e,n,r=[],i=0){if(t.length!==e.length)throw new Error("same length arrays needed");if(r.length!==0&&r.length!==2)throw new Error("zero or two remainders expected");t=t.slice(),r.length&&(t=t.concat(r[0]),e=e.slice().concat(r[1]));const o=Array(t.length).fill(0);t:for(let c=t.length-1;c>=0;--c){if(t[c]>=e[c]){o[c]=t[c]-e[c];continue}if(c===0)throw new Error("cannot go negative");for(let s=c-1;s>=0;--s)if(t[s]>0){t[s]--;for(let h=s+1;h0&&c===t.length-1?i:n)-e[c];continue t}throw new Error("failed to find digit to borrow from")}return r.length?{res:o.slice(0,-1),rem:o[o.length-1],den:i}:{res:o,rem:0,den:i}}function y(t,e,n,r,i){if(t.length!==e.length)throw new Error("same length arrays needed");let o=r>=i,c=e.slice();return o&&(r-=i),t.reduceRight((s,h,l)=>{const f=h+e[l]+o;o=f>=n,c[l]=o?f-n:f},null),{res:c,carry:o,rem:r,den:i}}function w(t,e,n){const r=Math.max(0,e-t.length);return t.concat(Array(r).fill(n||0))}function x(t,e,n,r,i){if(t.lengthf===e[p]))throw new Error("Start and end strings lexicographically inseparable");const o=d(t,i,n),c=d(e,i,n);let s=m(t,o.res,n,[0,o.rem],i),h=c;const l=[];for(let f=1;f<=r;++f){const p=y(s.res,h.res,n,s.rem+h.rem,i);l.push(p),s=m(s.res,o.res,n,[s.rem,o.rem],i),h=y(h.res,c.res,n,h.rem+c.rem,i)}return l}function j(t,e,n){const r=Math.max(0,e-t.length);return Array(r).fill(n||0).concat(t)}u.prototype.roundFraction=function(t,e,n){n=n||this.maxBase;var r=Math.ceil(Math.log(e)/Math.log(n)),i=Math.pow(n,r),o=Math.round(t/e*i),c=this.numberToDigits(o,n);return j(c,r,0)};function C(t,e,n=0){for(let r=n;ri.concat([C(i[i.length-1],o,e)]),[t[0]]);return n&&r.reverse(),r}function B(t,e){const n=t>e;return n&&([t,e]=[e,t]),n?[e,t]:[t,e]}u.prototype.mudder=function(t,e,n,r,i,o=0){typeof t=="number"&&(n=t,t="",e=""),t=t||this.num2sym[0],e=e||this.num2sym[this.num2sym.length-1].repeat(t.length+6),n=typeof n=="number"?n:1,r=r||this.maxBase,i=i||n+1,[t,e]=B(t,e);const c=this.stringToDigits(t,r),s=this.stringToDigits(e,r);let l=x(c,s,r,n,i).map(f=>f.res.concat(this.roundFraction(f.rem,f.den,r)));return l.unshift(c),l.push(s),P(l,o).slice(1,l.length-1).map(f=>this.digitsToString(f))};var a=(t,e)=>Array.from(Array(e),(n,r)=>String.fromCharCode(t.charCodeAt(0)+r)),M=new u(a("0",10).concat(a("A",26)).concat(a("a",26))),T=a("0",10).concat(a("a",26)),N=T.concat(a("A",26));function g(t){return Array.from(Array(t),(e,n)=>n)}var R=g(10).concat(g(26).map(t=>t+10)).concat(g(26).map(t=>t+10));function D(t,e){return Array.from(Array(t.length),(n,r)=>[t[r],e[r]])}var _=new u(T,new Map(D(N,R))),k=new u(a("a",26),new Map(D(a("a",26).concat(a("A",26)),g(26).concat(g(26)))));A.exports={SymbolTable:u,base62:M,base36:_,alphabet:k,longLinspace:x}});O();})(); //# sourceMappingURL=mudder.min.js.map diff --git a/dist/mudder.min.js.map b/dist/mudder.min.js.map index 76cac03..fa3902d 100644 --- a/dist/mudder.min.js.map +++ b/dist/mudder.min.js.map @@ -2,6 +2,6 @@ "version": 3, "sources": ["../index.js"], "sourcesContent": ["function isPrefixCode(strings) {\n // Note: we skip checking for prefixness if two symbols are equal to each\n // other. This implies that repeated symbols in the input are *silently\n // ignored*!\n for (const i of strings) {\n for (const j of strings) {\n if (j === i) { // [\uD83C\uDF45]\n continue;\n }\n if (i.startsWith(j)) {\n return false;\n }\n }\n }\n return true;\n}\n// < export mudder.js\n\nfunction isPrefixCodeLogLinear(strings) {\n strings = Array.from(strings).sort(); // set->array or array->copy\n for (const [i, curr] of strings.entries()) {\n const prev = strings[i - 1]; // undefined for first iteration\n if (prev === curr) { // Skip repeated entries, match quadratic API\n continue;\n }\n if (curr.startsWith(prev)) { // str.startsWith(undefined) always false\n return false;\n };\n }\n return true;\n}\n// < export mudder.js\n\nisPrefixCode = isPrefixCodeLogLinear;\n// < export mudder.js\n\n/* Constructor:\nsymbolsArr is a string (split into an array) or an array. In either case, it\nmaps numbers (array indexes) to stringy symbols. Its length defines the max\nradix the symbol table can handle.\n\nsymbolsMap is optional, but goes the other way, so it can be an object or Map.\nIts keys are stringy symbols and its values are numbers. If omitted, the\nimplied map goes from the indexes of symbolsArr to the symbols.\n\nWhen symbolsMap is provided, its values are checked to ensure that each number\nfrom 0 to max radix minus one is present. If you had a symbol as an entry in\nsymbolsArr, then number->string would use that symbol, but the resulting\nstring couldn't be parsed because that symbol wasn't in symbolMap.\n*/\nfunction SymbolTable(symbolsArr, symbolsMap) {\n 'use strict'; // [\u26C8]\n if (typeof this === 'undefined') {\n throw new TypeError('constructor called as a function')\n };\n\n // Condition the input `symbolsArr`\n if (typeof symbolsArr === 'string') {\n symbolsArr = symbolsArr.split('');\n } else if (!Array.isArray(symbolsArr)) {\n throw new TypeError('symbolsArr must be string or array');\n }\n\n // Condition the second input, `symbolsMap`. If no symbolsMap passed in, make\n // it by inverting symbolsArr. If it's an object (and not a Map), convert its\n // own-properties to a Map.\n if (typeof symbolsMap === 'undefined') {\n symbolsMap = new Map(symbolsArr.map((str, idx) => [str, idx]));\n } else if (symbolsMap instanceof Object && !(symbolsMap instanceof Map)) {\n symbolsMap = new Map(Object.entries(symbolsMap));\n } else if (!(symbolsMap instanceof Map) ){\n throw new TypeError('symbolsMap can be omitted, a Map, or an Object');\n }\n\n // Ensure that each integer from 0 to `symbolsArr.length - 1` is a value in\n // `symbolsMap`\n let symbolsValuesSet = new Set(symbolsMap.values());\n for (let i = 0; i < symbolsArr.length; i++) {\n if (!symbolsValuesSet.has(i)) {\n throw new RangeError(symbolsArr.length + ' symbols given but ' + i +\n ' not found in symbol table');\n }\n }\n\n this.num2sym = symbolsArr;\n this.sym2num = symbolsMap;\n this.maxBase = this.num2sym.length;\n this.isPrefixCode = isPrefixCode(symbolsArr);\n}\n// < export mudder.js\n\nSymbolTable.prototype.numberToDigits = function(num, base) {\n base = base || this.maxBase;\n let digits = [];\n while (num >= 1) {\n digits.push(num % base);\n num = Math.floor(num / base);\n }\n return digits.length ? digits.reverse() : [ 0 ];\n};\n// < export mudder.js\n\nSymbolTable.prototype.digitsToString = function(digits) {\n return digits.map(n => this.num2sym[n]).join('');\n};\n// < export mudder.js\n\nSymbolTable.prototype.stringToDigits = function(string) {\n if (!this.isPrefixCode && typeof string === 'string') {\n throw new TypeError(\n 'parsing string without prefix code is unsupported. Pass in array of stringy symbols?');\n }\n if (typeof string === 'string') {\n const re =\n new RegExp('(' + Array.from(this.sym2num.keys()).join('|') + ')', 'g');\n string = string.match(re);\n }\n return string.map(symbol => this.sym2num.get(symbol));\n};\n// < export mudder.js\n\nSymbolTable.prototype.digitsToNumber = function(digits, base) {\n base = base || this.maxBase;\n let currBase = 1;\n return digits.reduceRight((accum, curr) => {\n let ret = accum + curr * currBase;\n currBase *= base;\n return ret;\n }, 0);\n};\n// < export mudder.js\n\nSymbolTable.prototype.numberToString = function(num, base) {\n return this.digitsToString(this.numberToDigits(num, base));\n};\nSymbolTable.prototype.stringToNumber = function(num, base) {\n return this.digitsToNumber(this.stringToDigits(num), base);\n};\n// < export mudder.js\n\nfunction longDiv(numeratorArr, den, base) {\n return numeratorArr.reduce((prev, curr) => {\n let newNum = curr + prev.rem * base;\n return {\n res : prev.res.concat(Math.floor(newNum / den)),\n rem : newNum % den, den\n };\n }, {res : [], rem : 0, den});\n}\n// < export mudder.js\n\n/**\n *\n * @param {number[]} a larger number, as digits array\n * @param {number[]} b smaller number, as digits array\n * @param {number} base\n * @param {[number, number]} rem `a` and `b`'s remainders\n * @param {number} den denominator for the remainders\n * @returns {{res: number[], den: number, rem: number}}\n */\nfunction longSubSameLen(a, b, base, rem = [], den = 0) {\n if (a.length !== b.length) { throw new Error('same length arrays needed'); }\n if (rem.length !== 0 && rem.length !== 2) { throw new Error('zero or two remainders expected'); }\n a = a.slice(); // pre-emptively copy\n if (rem.length) {\n a = a.concat(rem[0]);\n b = b.slice().concat(rem[1]);\n }\n const ret = Array(a.length).fill(0);\n\n // this is a LOOP LABEL! https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/label\n OUTER: for (let i = a.length - 1; i >= 0; --i) {\n // console.log({a, ret})\n if (a[i] >= b[i]) {\n ret[i] = a[i] - b[i];\n continue;\n }\n if (i === 0) { throw new Error('cannot go negative'); }\n // look for a digit to the left to borrow from\n for (let j = i - 1; j >= 0; --j) {\n if (a[j] > 0) {\n // found a non-zero digit. Decrement it\n a[j]--;\n // increment digits to its right by `base-1`\n for (let k = j + 1; k < i; ++k) { a[k] += base - 1; }\n // until you reach the digit you couldn't subtract\n ret[i] = a[i] + (rem.length > 0 && i === a.length - 1 ? den : base) - b[i];\n continue OUTER;\n }\n }\n // should have `continue`d `OUTER` loop\n throw new Error('failed to find digit to borrow from');\n }\n if (rem.length) { return {res: ret.slice(0, -1), rem: ret[ret.length - 1], den}; }\n return {res: ret, rem: 0, den};\n}\n\n/**\n *\n * @param {number[]} a array of digits\n * @param {number[]} b array of digits\n * @param {number} base\n * @param {number} rem remainder\n * @param {number} den denominator under remainder\n */\nfunction longAddSameLen(a, b, base, rem, den) {\n if (a.length !== b.length) {\n throw new Error('same length arrays needed');\n }\n let carry = rem >= den, res = b.slice();\n if (carry) {\n rem -= den;\n }\n a.reduceRight((_, ai, i) => {\n const result = ai + b[i] + carry;\n carry = result >= base;\n res[i] = carry ? result - base : result;\n }, null);\n return {res, carry, rem, den};\n};\n\nfunction rightpad(arr, finalLength, val) {\n const padlen = Math.max(0, finalLength - arr.length);\n return arr.concat(Array(padlen).fill(val || 0));\n}\n\n/**\n * Returns `(a + (b-a)/M*n)` for n=[1, 2, ..., N], where `NN`\n * @returns {{res: number[]; rem: number; den: number;}[]} `N` numbers\n */\nfunction longLinspace(a, b, base, N, M) {\n if (a.length < b.length) {\n a = rightpad(a, b.length);\n } else if (b.length < a.length) {\n b = rightpad(b, a.length);\n }\n if (a.length === b.length && a.every((a, i) => a === b[i])) {\n throw new Error('Start and end strings lexicographically inseparable');\n }\n const aDiv = longDiv(a, M, base);\n const bDiv = longDiv(b, M, base);\n let aPrev = longSubSameLen(a, aDiv.res, base, [0, aDiv.rem], M);\n let bPrev = bDiv;\n const ret = [];\n for (let n = 1; n <= N; ++n) {\n const x = longAddSameLen(aPrev.res, bPrev.res, base, aPrev.rem + bPrev.rem, M);\n ret.push(x);\n aPrev = longSubSameLen(aPrev.res, aDiv.res, base, [aPrev.rem, aDiv.rem], M);\n bPrev = longAddSameLen(bPrev.res, bDiv.res, base, bPrev.rem + bDiv.rem, M);\n }\n return ret;\n}\nfunction leftpad(arr, finalLength, val) {\n const padlen = Math.max(0, finalLength - arr.length);\n return Array(padlen).fill(val || 0).concat(arr);\n}\n\nSymbolTable.prototype.roundFraction = function(numerator, denominator, base) {\n base = base || this.maxBase;\n var places = Math.ceil(Math.log(denominator) / Math.log(base));\n var scale = Math.pow(base, places);\n var scaled = Math.round(numerator / denominator * scale);\n var digits = this.numberToDigits(scaled, base);\n return leftpad(digits, places, 0);\n};\n\nfunction chopDigits(rock, water, placesToKeep = 0) {\n for (let idx = placesToKeep; idx < water.length; idx++) {\n if (water[idx] && rock[idx] !== water[idx]) {\n return water.slice(0, idx + 1);\n }\n }\n return water;\n}\n\nfunction lexicographicLessThanArray(a, b) {\n const n = Math.min(a.length, b.length);\n for (let i = 0; i < n; i++) {\n if (a[i] === b[i]) {\n continue;\n }\n return a[i] < b[i];\n }\n return a.length < b.length;\n}\n\nfunction chopSuccessiveDigits(strings, placesToKeep = 0) {\n const reversed = !lexicographicLessThanArray(strings[0], strings[1]);\n if (reversed) {\n strings.reverse();\n }\n const result =\n strings.slice(1).reduce((accum, curr) => accum.concat(\n [ chopDigits(accum[accum.length - 1], curr, placesToKeep ) ]),\n [ strings[0] ]);\n if (reversed) {\n result.reverse();\n }\n return result;\n}\n\nfunction truncateLexHigher(lo, hi) {\n const swapped = lo > hi;\n if (swapped) {\n [lo, hi] = [ hi, lo ];\n }\n if (swapped) {\n return [ hi, lo ];\n }\n return [ lo, hi ];\n}\n\nSymbolTable.prototype.mudder = function(a, b, numStrings, base, numDivisions, placesToKeep = 0) {\n if (typeof a === 'number'){\n numStrings = a;\n a = '';\n b = '';\n }\n a = a || this.num2sym[0];\n b = b || this.num2sym[this.num2sym.length - 1].repeat(a.length + 6);\n numStrings = typeof numStrings === 'number' ? numStrings : 1;\n base = base || this.maxBase;\n numDivisions = numDivisions || numStrings + 1;\n\n [a, b] = truncateLexHigher(a, b);\n const ad = this.stringToDigits(a, base);\n const bd = this.stringToDigits(b, base);\n const intermediateDigits = longLinspace(ad, bd, base, numStrings, numDivisions);\n let finalDigits = intermediateDigits.map(\n v => v.res.concat(this.roundFraction(v.rem, v.den, base)));\n finalDigits.unshift(ad);\n finalDigits.push(bd);\n return chopSuccessiveDigits(finalDigits, placesToKeep)\n .slice(1, finalDigits.length - 1)\n .map(v => this.digitsToString(v));\n};\n// < export mudder.js\n\nvar iter = (char, len) => Array.from(\n Array(len), (_, i) => String.fromCharCode(char.charCodeAt(0) + i));\n\nvar base62 =\n new SymbolTable(iter('0', 10).concat(iter('A', 26)).concat(iter('a', 26)));\n\n// Base36 should use lowercase since that\u2019s what Number.toString outputs.\nvar base36arr = iter('0', 10).concat(iter('a', 26));\nvar base36keys = base36arr.concat(iter('A', 26));\nfunction range(n) { return Array.from(Array(n), (_, i) => i); }\nvar base36vals = range(10)\n .concat(range(26).map(i => i + 10))\n .concat(range(26).map(i => i + 10));\nfunction zip(a, b) {\n return Array.from(Array(a.length), (_, i) => [a[i], b[i]]);\n}\nvar base36 = new SymbolTable(base36arr, new Map(zip(base36keys, base36vals)));\n\nvar alphabet = new SymbolTable(iter('a', 26),\n new Map(zip(iter('a', 26).concat(iter('A', 26)),\n range(26).concat(range(26)))));\n\n// < export mudder.js\n\nmodule.exports = {SymbolTable, base62, base36, alphabet, longLinspace};\n// < export mudder.js\n"], - "mappings": "oEAAA,2BAAsB,EAAS,CAI7B,SAAW,KAAK,GACd,SAAW,KAAK,GACd,GAAI,IAAM,GAGN,EAAE,WAAW,GACf,MAAO,GAIb,MAAO,GAIT,WAA+B,EAAS,CACtC,EAAU,MAAM,KAAK,GAAS,OAC9B,SAAW,CAAC,EAAG,IAAS,GAAQ,UAAW,CACzC,KAAM,GAAO,EAAQ,EAAI,GACzB,GAAI,IAAS,GAGT,EAAK,WAAW,GAClB,MAAO,GAGX,MAAO,GAIT,EAAe,EAiBf,WAAqB,EAAY,EAAY,CAC3C,aACA,GAAI,MAAO,OAAS,YAClB,KAAM,IAAI,WAAU,oCAItB,GAAI,MAAO,IAAe,SACxB,EAAa,EAAW,MAAM,YACrB,CAAC,MAAM,QAAQ,GACxB,KAAM,IAAI,WAAU,sCAMtB,GAAI,MAAO,IAAe,YACxB,EAAa,GAAI,KAAI,EAAW,IAAI,CAAC,EAA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OA,EAAK,IAAK,EAAE,CAAC,CAAC,EAGzEI,EAAYJ,EAAK,IAAK,EAAE,EAAE,OAAOA,EAAK,IAAK,EAAE,CAAC,EAC9CK,EAAaD,EAAU,OAAOJ,EAAK,IAAK,EAAE,CAAC,EAC/C,SAASM,EAAMjE,EAAG,CAAE,OAAO,MAAM,KAAK,MAAMA,CAAC,EAAG,CAACoB,EAAGlC,IAAMA,CAAC,CAAG,CAC9D,IAAIgF,EAAaD,EAAM,EAAE,EACH,OAAOA,EAAM,EAAE,EAAE,IAAI/E,GAAKA,EAAI,EAAE,CAAC,EACjC,OAAO+E,EAAM,EAAE,EAAE,IAAI/E,GAAKA,EAAI,EAAE,CAAC,EACvD,SAASiF,EAAIvD,EAAGC,EAAG,CACjB,OAAO,MAAM,KAAK,MAAMD,EAAE,MAAM,EAAG,CAACQ,EAAGlC,IAAM,CAAC0B,EAAE1B,CAAC,EAAG2B,EAAE3B,CAAC,CAAC,CAAC,CAC3D,CACA,IAAIkF,EAAS,IAAI7E,EAAYwE,EAAW,IAAI,IAAII,EAAIH,EAAYE,CAAU,CAAC,CAAC,EAExEG,EAAW,IAAI9E,EAAYoE,EAAK,IAAK,EAAE,EACZ,IAAI,IAAIQ,EAAIR,EAAK,IAAK,EAAE,EAAE,OAAOA,EAAK,IAAK,EAAE,CAAC,EAClCM,EAAM,EAAE,EAAE,OAAOA,EAAM,EAAE,CAAC,CAAC,CAAC,CAAC,EAIxElF,EAAO,QAAU,CAAC,YAAAQ,EAAa,OAAAuE,EAAQ,OAAAM,EAAQ,SAAAC,EAAU,aAAAzC,CAAY", + "names": ["require_mudderjs", "__commonJSMin", "exports", "module", "isPrefixCode", "strings", "i", "j", "isPrefixCodeLogLinear", "curr", "prev", "SymbolTable", "symbolsArr", "symbolsMap", "str", "idx", "symbolsValuesSet", "num", "base", "digits", "n", "string", "re", "symbol", "currBase", "accum", "ret", "longDiv", "numeratorArr", "den", "newNum", "longSubSameLen", "a", "b", "rem", "OUTER", "k", "longAddSameLen", "carry", "res", "_", "ai", "result", "rightpad", "arr", "finalLength", "val", "padlen", "longLinspace", "N", "M", "aDiv", "bDiv", "aPrev", "bPrev", "x", "leftpad", "numerator", "denominator", "places", "scale", "scaled", "chopDigits", "rock", "water", "placesToKeep", "lexicographicLessThanArray", "chopSuccessiveDigits", "reversed", "truncateLexHigher", "lo", "hi", "swapped", "numStrings", "numDivisions", "ad", "bd", "finalDigits", "v", "iter", "char", "len", "base62", "base36arr", "base36keys", "range", "base36vals", "zip", "base36", "alphabet"] } diff --git a/dist/mudder.min.mjs b/dist/mudder.min.mjs index 6f255a4..fc91800 100644 --- a/dist/mudder.min.mjs +++ b/dist/mudder.min.mjs @@ -1,2 +1,2 @@ -var m={},u={get exports(){return m},set exports(t){m=t}};function y(t){for(let e of t)for(let n of t)if(n!==e&&e.startsWith(n))return!1;return!0}function A(t){t=Array.from(t).sort();for(let[e,n]of t.entries()){let r=t[e-1];if(r!==n&&n.startsWith(r))return!1}return!0}y=A;function f(t,e){"use strict";if(typeof this=="undefined")throw new TypeError("constructor called as a function");if(typeof t=="string")t=t.split("");else if(!Array.isArray(t))throw new TypeError("symbolsArr must be string or array");if(typeof e=="undefined")e=new Map(t.map((r,o)=>[r,o]));else if(e instanceof Object&&!(e instanceof Map))e=new Map(Object.entries(e));else if(!(e instanceof Map))throw new TypeError("symbolsMap can be omitted, a Map, or an Object");let n=new Set(e.values());for(let r=0;r=1;)n.push(t%e),t=Math.floor(t/e);return n.length?n.reverse():[0]};f.prototype.digitsToString=function(t){return t.map(e=>this.num2sym[e]).join("")};f.prototype.stringToDigits=function(t){if(!this.isPrefixCode&&typeof t=="string")throw new TypeError("parsing string without prefix code is unsupported. Pass in array of stringy symbols?");if(typeof t=="string"){let e=new RegExp("("+Array.from(this.sym2num.keys()).join("|")+")","g");t=t.match(e)}return t.map(e=>this.sym2num.get(e))};f.prototype.digitsToNumber=function(t,e){e=e||this.maxBase;let n=1;return t.reduceRight((r,o)=>{let i=r+o*n;return n*=e,i},0)};f.prototype.numberToString=function(t,e){return this.digitsToString(this.numberToDigits(t,e))};f.prototype.stringToNumber=function(t,e){return this.digitsToNumber(this.stringToDigits(t),e)};function x(t,e,n){return t.reduce((r,o)=>{let i=o+r.rem*n;return{res:r.res.concat(Math.floor(i/e)),rem:i%e,den:e}},{res:[],rem:0,den:e})}function w(t,e,n,r=[],o=0){if(t.length!==e.length)throw new Error("same length arrays needed");if(r.length!==0&&r.length!==2)throw new Error("zero or two remainders expected");t=t.slice(),r.length&&(t=t.concat(r[0]),e=e.slice().concat(r[1]));let i=Array(t.length).fill(0);t:for(let s=t.length-1;s>=0;--s){if(t[s]>=e[s]){i[s]=t[s]-e[s];continue}if(s===0)throw new Error("cannot go negative");for(let c=s-1;c>=0;--c)if(t[c]>0){t[c]--;for(let l=c+1;l0&&s===t.length-1?o:n)-e[s];continue t}throw new Error("failed to find digit to borrow from")}return r.length?{res:i.slice(0,-1),rem:i[i.length-1],den:o}:{res:i,rem:0,den:o}}function v(t,e,n,r,o){if(t.length!==e.length)throw new Error("same length arrays needed");let i=r>=o,s=e.slice();return i&&(r-=o),t.reduceRight((c,l,h)=>{let a=l+e[h]+i;i=a>=n,s[h]=i?a-n:a},null),{res:s,carry:i,rem:r,den:o}}function T(t,e,n){let r=Math.max(0,e-t.length);return t.concat(Array(r).fill(n||0))}function _(t,e,n,r,o){if(t.lengtha===e[d]))throw new Error("Start and end strings lexicographically inseparable");let i=x(t,o,n),s=x(e,o,n),c=w(t,i.res,n,[0,i.rem],o),l=s,h=[];for(let a=1;a<=r;++a){let d=v(c.res,l.res,n,c.rem+l.rem,o);h.push(d),c=w(c.res,i.res,n,[c.rem,i.rem],o),l=v(l.res,s.res,n,l.rem+s.rem,o)}return h}function S(t,e,n){let r=Math.max(0,e-t.length);return Array(r).fill(n||0).concat(t)}f.prototype.roundFraction=function(t,e,n){n=n||this.maxBase;var r=Math.ceil(Math.log(e)/Math.log(n)),o=Math.pow(n,r),i=Math.round(t/e*o),s=this.numberToDigits(i,n);return S(s,r,0)};function j(t,e,n=0){for(let r=n;ro.concat([j(o[o.length-1],i,e)]),[t[0]]);return n&&r.reverse(),r}function P(t,e){let n=t>e;return n&&([t,e]=[e,t]),n?[e,t]:[t,e]}f.prototype.mudder=function(t,e,n,r,o,i=0){typeof t=="number"&&(n=t,t="",e=""),t=t||this.num2sym[0],e=e||this.num2sym[this.num2sym.length-1].repeat(t.length+6),n=typeof n=="number"?n:1,r=r||this.maxBase,o=o||n+1,[t,e]=P(t,e);let s=this.stringToDigits(t,r),c=this.stringToDigits(e,r),h=_(s,c,r,n,o).map(a=>a.res.concat(this.roundFraction(a.rem,a.den,r)));return h.unshift(s),h.push(c),C(h,i).slice(1,h.length-1).map(a=>this.digitsToString(a))};var g=(t,e)=>Array.from(Array(e),(n,r)=>String.fromCharCode(t.charCodeAt(0)+r)),B=new f(g("0",10).concat(g("A",26)).concat(g("a",26))),D=g("0",10).concat(g("a",26)),M=D.concat(g("A",26));function p(t){return Array.from(Array(t),(e,n)=>n)}var O=p(10).concat(p(26).map(t=>t+10)).concat(p(26).map(t=>t+10));function E(t,e){return Array.from(Array(t.length),(n,r)=>[t[r],e[r]])}var k=new f(D,new Map(E(M,O))),N=new f(g("a",26),new Map(E(g("a",26).concat(g("A",26)),p(26).concat(p(26)))));u.exports={SymbolTable:f,base62:B,base36:k,alphabet:N,longLinspace:_};var R,z,F,W,H;Object.isExtensible(u.exports)&&Object.keys(u.exports).length===5&&(R=u.exports.SymbolTable,z=u.exports.base62,F=u.exports.base36,W=u.exports.alphabet,H=u.exports.longLinspace);var V=u.exports;export{R as SymbolTable,W as alphabet,F as base36,z as base62,V as default,H as longLinspace}; +var y={},u={get exports(){return y},set exports(e){y=e}};function T(e){for(let t of e)for(let n of e)if(n!==t&&t.startsWith(n))return!1;return!0}function A(e){e=Array.from(e).sort();for(let[t,n]of e.entries()){let r=e[t-1];if(r!==n&&n.startsWith(r))return!1}return!0}T=A;function a(e,t){"use strict";if(typeof this>"u")throw new TypeError("constructor called as a function");if(typeof e=="string")e=e.split("");else if(!Array.isArray(e))throw new TypeError("symbolsArr must be string or array");if(typeof t>"u")t=new Map(e.map((r,o)=>[r,o]));else if(t instanceof Object&&!(t instanceof Map))t=new Map(Object.entries(t));else if(!(t instanceof Map))throw new TypeError("symbolsMap can be omitted, a Map, or an Object");let n=new Set(t.values());for(let r=0;r=1;)n.push(e%t),e=Math.floor(e/t);return n.length?n.reverse():[0]};a.prototype.digitsToString=function(e){return e.map(t=>this.num2sym[t]).join("")};a.prototype.stringToDigits=function(e){if(!this.isPrefixCode&&typeof e=="string")throw new TypeError("parsing string without prefix code is unsupported. Pass in array of stringy symbols?");if(typeof e=="string"){let t=new RegExp("("+Array.from(this.sym2num.keys()).join("|")+")","g");e=e.match(t)}return e.map(t=>this.sym2num.get(t))};a.prototype.digitsToNumber=function(e,t){t=t||this.maxBase;let n=1;return e.reduceRight((r,o)=>{let i=r+o*n;return n*=t,i},0)};a.prototype.numberToString=function(e,t){return this.digitsToString(this.numberToDigits(e,t))};a.prototype.stringToNumber=function(e,t){return this.digitsToNumber(this.stringToDigits(e),t)};function m(e,t,n){return e.reduce((r,o)=>{let i=o+r.rem*n;return{res:r.res.concat(Math.floor(i/t)),rem:i%t,den:t}},{res:[],rem:0,den:t})}function x(e,t,n,r=[],o=0){if(e.length!==t.length)throw new Error("same length arrays needed");if(r.length!==0&&r.length!==2)throw new Error("zero or two remainders expected");e=e.slice(),r.length&&(e=e.concat(r[0]),t=t.slice().concat(r[1]));let i=Array(e.length).fill(0);e:for(let s=e.length-1;s>=0;--s){if(e[s]>=t[s]){i[s]=e[s]-t[s];continue}if(s===0)throw new Error("cannot go negative");for(let c=s-1;c>=0;--c)if(e[c]>0){e[c]--;for(let l=c+1;l0&&s===e.length-1?o:n)-t[s];continue e}throw new Error("failed to find digit to borrow from")}return r.length?{res:i.slice(0,-1),rem:i[i.length-1],den:o}:{res:i,rem:0,den:o}}function w(e,t,n,r,o){if(e.length!==t.length)throw new Error("same length arrays needed");let i=r>=o,s=t.slice();return i&&(r-=o),e.reduceRight((c,l,h)=>{let f=l+t[h]+i;i=f>=n,s[h]=i?f-n:f},null),{res:s,carry:i,rem:r,den:o}}function v(e,t,n){let r=Math.max(0,t-e.length);return e.concat(Array(r).fill(n||0))}function _(e,t,n,r,o){if(e.lengthf===t[d]))throw new Error("Start and end strings lexicographically inseparable");let i=m(e,o,n),s=m(t,o,n),c=x(e,i.res,n,[0,i.rem],o),l=s,h=[];for(let f=1;f<=r;++f){let d=w(c.res,l.res,n,c.rem+l.rem,o);h.push(d),c=x(c.res,i.res,n,[c.rem,i.rem],o),l=w(l.res,s.res,n,l.rem+s.rem,o)}return h}function S(e,t,n){let r=Math.max(0,t-e.length);return Array(r).fill(n||0).concat(e)}a.prototype.roundFraction=function(e,t,n){n=n||this.maxBase;var r=Math.ceil(Math.log(t)/Math.log(n)),o=Math.pow(n,r),i=Math.round(e/t*o),s=this.numberToDigits(i,n);return S(s,r,0)};function j(e,t,n=0){for(let r=n;ro.concat([j(o[o.length-1],i,t)]),[e[0]]);return n&&r.reverse(),r}function P(e,t){let n=e>t;return n&&([e,t]=[t,e]),n?[t,e]:[e,t]}a.prototype.mudder=function(e,t,n,r,o,i=0){typeof e=="number"&&(n=e,e="",t=""),e=e||this.num2sym[0],t=t||this.num2sym[this.num2sym.length-1].repeat(e.length+6),n=typeof n=="number"?n:1,r=r||this.maxBase,o=o||n+1,[e,t]=P(e,t);let s=this.stringToDigits(e,r),c=this.stringToDigits(t,r),h=_(s,c,r,n,o).map(f=>f.res.concat(this.roundFraction(f.rem,f.den,r)));return h.unshift(s),h.push(c),C(h,i).slice(1,h.length-1).map(f=>this.digitsToString(f))};var g=(e,t)=>Array.from(Array(t),(n,r)=>String.fromCharCode(e.charCodeAt(0)+r)),B=new a(g("0",10).concat(g("A",26)).concat(g("a",26))),D=g("0",10).concat(g("a",26)),M=D.concat(g("A",26));function p(e){return Array.from(Array(e),(t,n)=>n)}var O=p(10).concat(p(26).map(e=>e+10)).concat(p(26).map(e=>e+10));function E(e,t){return Array.from(Array(e.length),(n,r)=>[e[r],t[r]])}var k=new a(D,new Map(E(M,O))),N=new a(g("a",26),new Map(E(g("a",26).concat(g("A",26)),p(26).concat(p(26)))));u.exports={SymbolTable:a,base62:B,base36:k,alphabet:N,longLinspace:_};var R,z,F,W,H;Object.isExtensible(u.exports)&&Object.keys(u.exports).length===5&&(R=u.exports.SymbolTable,z=u.exports.base62,F=u.exports.base36,W=u.exports.alphabet,H=u.exports.longLinspace);var V=u.exports;export{R as SymbolTable,W as alphabet,F as base36,z as base62,V as default,H as longLinspace}; //# sourceMappingURL=mudder.min.mjs.map diff --git a/dist/mudder.min.mjs.map b/dist/mudder.min.mjs.map index f9e7df3..c16c3e0 100644 --- a/dist/mudder.min.mjs.map +++ b/dist/mudder.min.mjs.map @@ -1,7 +1,7 @@ { "version": 3, - "sources": ["../Users/fasih/Dropbox/src/mudderjs/index.js"], + "sources": ["../index.js"], "sourcesContent": [null], - "mappings": "yDAAA,WAAsB,EAAS,CAI7B,OAAW,KAAK,GACd,OAAW,KAAK,GACd,GAAI,IAAM,GAGN,EAAE,WAAW,GACf,MAAO,GAIb,MAAO,GAIT,WAA+B,EAAS,CACtC,EAAU,MAAM,KAAK,GAAS,OAC9B,OAAW,CAAC,EAAG,IAAS,GAAQ,UAAW,CACzC,GAAM,GAAO,EAAQ,EAAI,GACzB,GAAI,IAAS,GAGT,EAAK,WAAW,GAClB,MAAO,GAGX,MAAO,GAIT,EAAe,EAiBf,WAAqB,EAAY,EAAY,CAC3C,aACA,GAAI,MAAO,OAAS,YAClB,KAAM,IAAI,WAAU,oCAItB,GAAI,MAAO,IAAe,SACxB,EAAa,EAAW,MAAM,YACrB,CAAC,MAAM,QAAQ,GACxB,KAAM,IAAI,WAAU,sCAMtB,GAAI,MAAO,IAAe,YACxB,EAAa,GAAI,KAAI,EAAW,IAAI,CAAC,EAAK,IAAQ,CAAC,EAAK,aAC/C,YAAsB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EAAaD,EAAU,OAAOJ,EAAK,IAAK,EAAE,CAAC,EAC/C,SAASM,EAAMjE,EAAG,CAAE,OAAO,MAAM,KAAK,MAAMA,CAAC,EAAG,CAACoB,EAAGlC,IAAMA,CAAC,CAAG,CAC9D,IAAIgF,EAAaD,EAAM,EAAE,EACH,OAAOA,EAAM,EAAE,EAAE,IAAI/E,GAAKA,EAAI,EAAE,CAAC,EACjC,OAAO+E,EAAM,EAAE,EAAE,IAAI/E,GAAKA,EAAI,EAAE,CAAC,EACvD,SAASiF,EAAIvD,EAAGC,EAAG,CACjB,OAAO,MAAM,KAAK,MAAMD,EAAE,MAAM,EAAG,CAACQ,EAAGlC,IAAM,CAAC0B,EAAE1B,CAAC,EAAG2B,EAAE3B,CAAC,CAAC,CAAC,CAC3D,CACA,IAAIkF,EAAS,IAAI7E,EAAYwE,EAAW,IAAI,IAAII,EAAIH,EAAYE,CAAU,CAAC,CAAC,EAExEG,EAAW,IAAI9E,EAAYoE,EAAK,IAAK,EAAE,EACZ,IAAI,IAAIQ,EAAIR,EAAK,IAAK,EAAE,EAAE,OAAOA,EAAK,IAAK,EAAE,CAAC,EAClCM,EAAM,EAAE,EAAE,OAAOA,EAAM,EAAE,CAAC,CAAC,CAAC,CAAC,EAIxEK,EAAO,QAAU,CAAC,YAAA/E,EAAa,OAAAuE,EAAQ,OAAAM,EAAQ,SAAAC,EAAU,aAAAzC,CAAY", + "names": ["isPrefixCode", "strings", "i", "j", "isPrefixCodeLogLinear", "curr", "prev", "SymbolTable", "symbolsArr", "symbolsMap", "str", "idx", "symbolsValuesSet", "num", "base", "digits", "n", "string", "re", "symbol", "currBase", "accum", "ret", "longDiv", "numeratorArr", "den", "newNum", "longSubSameLen", "a", "b", "rem", "OUTER", "k", "longAddSameLen", "carry", "res", "_", "ai", "result", "rightpad", "arr", "finalLength", "val", "padlen", "longLinspace", "N", "M", "aDiv", "bDiv", "aPrev", "bPrev", "x", "leftpad", "numerator", "denominator", "places", "scale", "scaled", "chopDigits", "rock", "water", "placesToKeep", "lexicographicLessThanArray", "chopSuccessiveDigits", "reversed", "truncateLexHigher", "lo", "hi", "swapped", "numStrings", "numDivisions", "ad", "bd", "finalDigits", "v", "iter", "char", "len", "base62", "base36arr", "base36keys", "range", "base36vals", "zip", "base36", "alphabet", "module"] } diff --git a/package-lock.json b/package-lock.json index 80e3579..1d030bd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,62 +1,62 @@ { "name": "mudder", - "version": "2.0.0", + "version": "2.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "mudder", - "version": "2.0.0", + "version": "2.1.0", "license": "Unlicense", "devDependencies": { - "@chialab/esbuild-plugin-commonjs": "^0.14.10", - "esbuild": "^0.14.10", + "@chialab/esbuild-plugin-commonjs": "^0.17.2", + "esbuild": "^0.16.17", "tape": "^4.6.0" } }, "node_modules/@chialab/cjs-to-esm": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/@chialab/cjs-to-esm/-/cjs-to-esm-0.14.10.tgz", - "integrity": "sha512-RNn6LcA68oX56n+q9pQnoSR2sQpC9rlFt9BEd7asMj0Atm9UZfMfi+C0vEW/Bxy+x1VvUMM0qQayshcBPhWUUA==", + "version": "0.17.6", + "resolved": "https://registry.npmjs.org/@chialab/cjs-to-esm/-/cjs-to-esm-0.17.6.tgz", + "integrity": "sha512-3L/zkOeRK/BTHjo06nMj5KoOec9EU1kVApCSHcJppr22F+FjjvQzY/zdt7safvx3LL7VvArQFSMIT7HlHFax/A==", "dev": true, "dependencies": { - "@chialab/estransform": "^0.14.10" + "@chialab/estransform": "^0.17.3" }, "engines": { "node": ">=13" } }, "node_modules/@chialab/esbuild-plugin-commonjs": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/@chialab/esbuild-plugin-commonjs/-/esbuild-plugin-commonjs-0.14.10.tgz", - "integrity": "sha512-8Np0HO+9d0ZlE9l3EjDrPQ6h0TMrT52CvQRBca2FF8U/Giss2l7pkI+FXl5g/GTnjsri8N1EILC3//pkg8t7LA==", + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/@chialab/esbuild-plugin-commonjs/-/esbuild-plugin-commonjs-0.17.2.tgz", + "integrity": "sha512-C30UShSb89PJiO+mJTwAS1ei6aKVxMcxZQrl0g1JAJVd4d1AE6OjcbYlCs4847PcbmMNqYZrTcWpgIg+zRQL3Q==", "dev": true, "dependencies": { - "@chialab/cjs-to-esm": "^0.14.10", - "@chialab/esbuild-rna": "^0.14.10", - "@chialab/node-resolve": "^0.14.10" + "@chialab/cjs-to-esm": "^0.17.0", + "@chialab/esbuild-rna": "^0.17.0", + "@chialab/node-resolve": "^0.17.0" }, "engines": { "node": ">=13" } }, "node_modules/@chialab/esbuild-rna": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/@chialab/esbuild-rna/-/esbuild-rna-0.14.10.tgz", - "integrity": "sha512-iaF6njdmB9dbjnb4cLViA32WlmQRJxgiiIXDSTQpP9z97NQYEwDLgjarJi8T1XBwe7xlXKZOM91mJYzJLS8NoQ==", + "version": "0.17.3", + "resolved": "https://registry.npmjs.org/@chialab/esbuild-rna/-/esbuild-rna-0.17.3.tgz", + "integrity": "sha512-LwPGDBeRnCNSkUfCEXYWKf7iORt6JCbmCLvEaeZnqle2Tm5yNRtZjCnQHdG9D4UpY9YQgrlZQnF785yOnKwL7Q==", "dev": true, "dependencies": { - "@chialab/estransform": "^0.14.10", - "@chialab/node-resolve": "^0.14.10" + "@chialab/estransform": "^0.17.2", + "@chialab/node-resolve": "^0.17.0" }, "engines": { "node": ">=13" } }, "node_modules/@chialab/estransform": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/@chialab/estransform/-/estransform-0.14.10.tgz", - "integrity": "sha512-MJtLK4h+EFIsdJ+JXLH0EzSSVdwlnOColy92qllygi79Y9cuzWUpvEIBkbtdfG50m8G70hiJbs3rGc7GmyAuFg==", + "version": "0.17.3", + "resolved": "https://registry.npmjs.org/@chialab/estransform/-/estransform-0.17.3.tgz", + "integrity": "sha512-ZFCcDk85ZllhUiAMIzRFsLhrA2z8xwRyXyJBNMP/84+3czLEydSTzzBK9nXNGloOspwp+lL+EgPlFY8Ry693Bg==", "dev": true, "dependencies": { "@parcel/source-map": "^2.0.0" @@ -66,231 +66,82 @@ } }, "node_modules/@chialab/node-resolve": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/@chialab/node-resolve/-/node-resolve-0.14.10.tgz", - "integrity": "sha512-I/rNiWVUOgbLBMeJJlndl9HXKd6vS+jw6XTHsYJDWE//1mKxh5yuLZbfeVvawa3Tngc3NbWxbdrYyDyl29lncQ==", + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/@chialab/node-resolve/-/node-resolve-0.17.0.tgz", + "integrity": "sha512-u9VwO/0djjXsM70aH/Wrx0BrXjtjhfNOxaDks32xa1mZP9T0CXZ0be5Sv3hXI9g5UeJbfvCyFJS2hfJEu7Ifgg==", "dev": true, "engines": { "node": ">=13" } }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", - "dev": true, - "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", - "dev": true, - "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@parcel/source-map": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@parcel/source-map/-/source-map-2.0.0.tgz", - "integrity": "sha512-njoUJpj2646NebfHp5zKJeYD1KwhsfQIoU9TnCTHmF9fGOaPbClmeq12G6/4ZqGASftRq+YhhukFBi/ncWKGvw==", - "dev": true, - "dependencies": { - "detect-libc": "^1.0.3", - "globby": "^11.0.3" - }, - "engines": { - "node": "^12.18.3 || >=14" - } - }, - "node_modules/array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/balanced-match": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", - "dev": true - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, - "dependencies": { - "fill-range": "^7.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true - }, - "node_modules/deep-equal": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.0.1.tgz", - "integrity": "sha1-9dJgKStmDghO/0zbyfCK0yR0SLU=", - "dev": true - }, - "node_modules/define-properties": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.2.tgz", - "integrity": "sha1-g6c/L+pWmJj7c3GTyPhzyvbUXJQ=", - "dev": true, - "dependencies": { - "foreach": "^2.0.5", - "object-keys": "^1.0.8" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/defined": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz", - "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=", - "dev": true - }, - "node_modules/detect-libc": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", - "dev": true, - "bin": { - "detect-libc": "bin/detect-libc.js" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "node_modules/@esbuild/android-arm": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.16.17.tgz", + "integrity": "sha512-N9x1CMXVhtWEAMS7pNNONyA14f71VPQN9Cnavj1XQh6T7bskqiLLrSca4O0Vr8Wdcga943eThxnVp3JLnBMYtw==", + "cpu": [ + "arm" + ], "dev": true, - "dependencies": { - "path-type": "^4.0.0" - }, + "optional": true, + "os": [ + "android" + ], "engines": { - "node": ">=8" + "node": ">=12" } }, - "node_modules/es-abstract": { - "version": "1.12.0", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.12.0.tgz", - "integrity": "sha512-C8Fx/0jFmV5IPoMOFPA9P9G5NtqW+4cOPit3MIuvR2t7Ag2K15EJTpxnHAYTzL+aYQJIESYeXZmDBfOBE1HcpA==", + "node_modules/@esbuild/android-arm64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.16.17.tgz", + "integrity": "sha512-MIGl6p5sc3RDTLLkYL1MyL8BMRN4tLMRCn+yRJJmEDvYZ2M7tmAf80hx1kbNEUX2KJ50RRtxZ4JHLvCfuB6kBg==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "es-to-primitive": "^1.1.1", - "function-bind": "^1.1.1", - "has": "^1.0.1", - "is-callable": "^1.1.3", - "is-regex": "^1.0.4" - }, + "optional": true, + "os": [ + "android" + ], "engines": { - "node": ">= 0.4" + "node": ">=12" } }, - "node_modules/es-to-primitive": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.1.1.tgz", - "integrity": "sha1-RTVSSKiJeQNLZ5Lhm7gfK3l13Q0=", + "node_modules/@esbuild/android-x64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.16.17.tgz", + "integrity": "sha512-a3kTv3m0Ghh4z1DaFEuEDfz3OLONKuFvI4Xqczqx4BqLyuFaFkuaG4j2MtA6fuWEFeC5x9IvqnX7drmRq/fyAQ==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "is-callable": "^1.1.1", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.1" - }, + "optional": true, + "os": [ + "android" + ], "engines": { - "node": ">= 0.4" + "node": ">=12" } }, - "node_modules/esbuild": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.14.10.tgz", - "integrity": "sha512-ibZb+NwFqBwHHJlpnFMtg4aNmVK+LUtYMFC9CuKs6lDCBEvCHpqCFZFEirpqt1jOugwKGx8gALNGvX56lQyfew==", - "dev": true, - "hasInstallScript": true, - "bin": { - "esbuild": "bin/esbuild" - }, - "optionalDependencies": { - "esbuild-android-arm64": "0.14.10", - "esbuild-darwin-64": "0.14.10", - "esbuild-darwin-arm64": "0.14.10", - "esbuild-freebsd-64": "0.14.10", - "esbuild-freebsd-arm64": "0.14.10", - "esbuild-linux-32": "0.14.10", - "esbuild-linux-64": "0.14.10", - "esbuild-linux-arm": "0.14.10", - "esbuild-linux-arm64": "0.14.10", - "esbuild-linux-mips64le": "0.14.10", - "esbuild-linux-ppc64le": "0.14.10", - "esbuild-linux-s390x": "0.14.10", - "esbuild-netbsd-64": "0.14.10", - "esbuild-openbsd-64": "0.14.10", - "esbuild-sunos-64": "0.14.10", - "esbuild-windows-32": "0.14.10", - "esbuild-windows-64": "0.14.10", - "esbuild-windows-arm64": "0.14.10" - } - }, - "node_modules/esbuild-android-arm64": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-android-arm64/-/esbuild-android-arm64-0.14.10.tgz", - "integrity": "sha512-vzkTafHKoiMX4uIN1kBnE/HXYLpNT95EgGanVk6DHGeYgDolU0NBxjO7yZpq4ZGFPOx8384eAdDrBYhO11TAlQ==", + "node_modules/@esbuild/darwin-arm64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.16.17.tgz", + "integrity": "sha512-/2agbUEfmxWHi9ARTX6OQ/KgXnOWfsNlTeLcoV7HSuSTv63E4DqtAc+2XqGw1KHxKMHGZgbVCZge7HXWX9Vn+w==", "cpu": [ "arm64" ], "dev": true, "optional": true, "os": [ - "android" - ] + "darwin" + ], + "engines": { + "node": ">=12" + } }, - "node_modules/esbuild-darwin-64": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.14.10.tgz", - "integrity": "sha512-DJwzFVB95ZV7C3PQbf052WqaUuuMFXJeZJ0LKdnP1w+QOU0rlbKfX0tzuhoS//rOXUj1TFIwRuRsd0FX6skR7A==", + "node_modules/@esbuild/darwin-x64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.16.17.tgz", + "integrity": "sha512-2By45OBHulkd9Svy5IOCZt376Aa2oOkiE9QWUK9fe6Tb+WDr8hXL3dpqi+DeLiMed8tVXspzsTAvd0jUl96wmg==", "cpu": [ "x64" ], @@ -298,25 +149,31 @@ "optional": true, "os": [ "darwin" - ] + ], + "engines": { + "node": ">=12" + } }, - "node_modules/esbuild-darwin-arm64": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.10.tgz", - "integrity": "sha512-RNaaoZDg3nsqs5z56vYCjk/VJ76npf752W0rOaCl5lO5TsgV9zecfdYgt7dtUrIx8b7APhVaNYud+tGsDOVC9g==", + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.16.17.tgz", + "integrity": "sha512-mt+cxZe1tVx489VTb4mBAOo2aKSnJ33L9fr25JXpqQqzbUIw/yzIzi+NHwAXK2qYV1lEFp4OoVeThGjUbmWmdw==", "cpu": [ "arm64" ], "dev": true, "optional": true, "os": [ - "darwin" - ] + "freebsd" + ], + "engines": { + "node": ">=12" + } }, - "node_modules/esbuild-freebsd-64": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.10.tgz", - "integrity": "sha512-10B3AzW894u6bGZZhWiJOHw1uEHb4AFbUuBdyml1Ht0vIqd+KqWW+iY/yMwQAzILr2WJZqEhbOXRkJtY8aRqOw==", + "node_modules/@esbuild/freebsd-x64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.16.17.tgz", + "integrity": "sha512-8ScTdNJl5idAKjH8zGAsN7RuWcyHG3BAvMNpKOBaqqR7EbUhhVHOqXRdL7oZvz8WNHL2pr5+eIT5c65kA6NHug==", "cpu": [ "x64" ], @@ -324,25 +181,47 @@ "optional": true, "os": [ "freebsd" - ] + ], + "engines": { + "node": ">=12" + } }, - "node_modules/esbuild-freebsd-arm64": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.14.10.tgz", - "integrity": "sha512-mSQrKB7UaWvuryBTCo9leOfY2uEUSimAvcKIaUWbk5Hth9Sg+Try+qNA/NibPgs/vHkX0KFo/Rce6RPea+P15g==", + "node_modules/@esbuild/linux-arm": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.16.17.tgz", + "integrity": "sha512-iihzrWbD4gIT7j3caMzKb/RsFFHCwqqbrbH9SqUSRrdXkXaygSZCZg1FybsZz57Ju7N/SHEgPyaR0LZ8Zbe9gQ==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.16.17.tgz", + "integrity": "sha512-7S8gJnSlqKGVJunnMCrXHU9Q8Q/tQIxk/xL8BqAP64wchPCTzuM6W3Ra8cIa1HIflAvDnNOt2jaL17vaW+1V0g==", "cpu": [ "arm64" ], "dev": true, "optional": true, "os": [ - "freebsd" - ] + "linux" + ], + "engines": { + "node": ">=12" + } }, - "node_modules/esbuild-linux-32": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.14.10.tgz", - "integrity": "sha512-lktF09JgJLZ63ANYHIPdYe339PDuVn19Q/FcGKkXWf+jSPkn5xkYzAabboNGZNUgNqSJ/vY7VrOn6UrBbJjgYA==", + "node_modules/@esbuild/linux-ia32": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.16.17.tgz", + "integrity": "sha512-kiX69+wcPAdgl3Lonh1VI7MBr16nktEvOfViszBSxygRQqSpzv7BffMKRPMFwzeJGPxcio0pdD3kYQGpqQ2SSg==", "cpu": [ "ia32" ], @@ -350,90 +229,111 @@ "optional": true, "os": [ "linux" - ] + ], + "engines": { + "node": ">=12" + } }, - "node_modules/esbuild-linux-64": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.14.10.tgz", - "integrity": "sha512-K+gCQz2oLIIBI8ZM77e9sYD5/DwEpeYCrOQ2SYXx+R4OU2CT9QjJDi4/OpE7ko4AcYMlMW7qrOCuLSgAlEj4Wg==", + "node_modules/@esbuild/linux-loong64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.16.17.tgz", + "integrity": "sha512-dTzNnQwembNDhd654cA4QhbS9uDdXC3TKqMJjgOWsC0yNCbpzfWoXdZvp0mY7HU6nzk5E0zpRGGx3qoQg8T2DQ==", "cpu": [ - "x64" + "loong64" ], "dev": true, "optional": true, "os": [ "linux" - ] + ], + "engines": { + "node": ">=12" + } }, - "node_modules/esbuild-linux-arm": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.14.10.tgz", - "integrity": "sha512-BYa60dZ/KPmNKYxtHa3LSEdfKWHcm/RzP0MjB4AeBPhjS0D6/okhaBesZIY9kVIGDyeenKsJNOmnVt4+dhNnvQ==", + "node_modules/@esbuild/linux-mips64el": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.16.17.tgz", + "integrity": "sha512-ezbDkp2nDl0PfIUn0CsQ30kxfcLTlcx4Foz2kYv8qdC6ia2oX5Q3E/8m6lq84Dj/6b0FrkgD582fJMIfHhJfSw==", "cpu": [ - "arm" + "mips64el" ], "dev": true, "optional": true, "os": [ "linux" - ] + ], + "engines": { + "node": ">=12" + } }, - "node_modules/esbuild-linux-arm64": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-arm64/-/esbuild-linux-arm64-0.14.10.tgz", - "integrity": "sha512-+qocQuQvcp5wo/V+OLXxqHPc+gxHttJEvbU/xrCGE03vIMqraL4wMua8JQx0SWEnJCWP+Nhf//v8OSwz1Xr5kA==", + "node_modules/@esbuild/linux-ppc64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.16.17.tgz", + "integrity": "sha512-dzS678gYD1lJsW73zrFhDApLVdM3cUF2MvAa1D8K8KtcSKdLBPP4zZSLy6LFZ0jYqQdQ29bjAHJDgz0rVbLB3g==", "cpu": [ - "arm64" + "ppc64" ], "dev": true, "optional": true, "os": [ "linux" - ] + ], + "engines": { + "node": ">=12" + } }, - "node_modules/esbuild-linux-mips64le": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.10.tgz", - "integrity": "sha512-nmUd2xoBXpGo4NJCEWoaBj+n4EtDoLEvEYc8Z3aSJrY0Oa6s04czD1flmhd0I/d6QEU8b7GQ9U0g/rtBfhtxBg==", + "node_modules/@esbuild/linux-riscv64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.16.17.tgz", + "integrity": "sha512-ylNlVsxuFjZK8DQtNUwiMskh6nT0vI7kYl/4fZgV1llP5d6+HIeL/vmmm3jpuoo8+NuXjQVZxmKuhDApK0/cKw==", "cpu": [ - "mips64el" + "riscv64" ], "dev": true, "optional": true, "os": [ "linux" - ] + ], + "engines": { + "node": ">=12" + } }, - "node_modules/esbuild-linux-ppc64le": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.14.10.tgz", - "integrity": "sha512-vsOWZjm0rZix7HSmqwPph9arRVCyPtUpcURdayQDuIhMG2/UxJxpbdRaa//w4zYqcJzAWwuyH2PAlyy0ZNuxqQ==", + "node_modules/@esbuild/linux-s390x": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.16.17.tgz", + "integrity": "sha512-gzy7nUTO4UA4oZ2wAMXPNBGTzZFP7mss3aKR2hH+/4UUkCOyqmjXiKpzGrY2TlEUhbbejzXVKKGazYcQTZWA/w==", "cpu": [ - "ppc64" + "s390x" ], "dev": true, "optional": true, "os": [ "linux" - ] + ], + "engines": { + "node": ">=12" + } }, - "node_modules/esbuild-linux-s390x": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-s390x/-/esbuild-linux-s390x-0.14.10.tgz", - "integrity": "sha512-knArKKZm0ypIYWOWyOT7+accVwbVV1LZnl2FWWy05u9Tyv5oqJ2F5+X2Vqe/gqd61enJXQWqoufXopvG3zULOg==", + "node_modules/@esbuild/linux-x64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.16.17.tgz", + "integrity": "sha512-mdPjPxfnmoqhgpiEArqi4egmBAMYvaObgn4poorpUaqmvzzbvqbowRllQ+ZgzGVMGKaPkqUmPDOOFQRUFDmeUw==", "cpu": [ - "s390x" + "x64" ], "dev": true, "optional": true, "os": [ "linux" - ] + ], + "engines": { + "node": ">=12" + } }, - "node_modules/esbuild-netbsd-64": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.14.10.tgz", - "integrity": "sha512-6Gg8neVcLeyq0yt9bZpReb8ntZ8LBEjthxrcYWVrBElcltnDjIy1hrzsujt0+sC2rL+TlSsE9dzgyuvlDdPp2w==", + "node_modules/@esbuild/netbsd-x64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.16.17.tgz", + "integrity": "sha512-/PzmzD/zyAeTUsduZa32bn0ORug+Jd1EGGAUJvqfeixoEISYpGnAezN6lnJoskauoai0Jrs+XSyvDhppCPoKOA==", "cpu": [ "x64" ], @@ -441,12 +341,15 @@ "optional": true, "os": [ "netbsd" - ] + ], + "engines": { + "node": ">=12" + } }, - "node_modules/esbuild-openbsd-64": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.10.tgz", - "integrity": "sha512-9rkHZzp10zI90CfKbFrwmQjqZaeDmyQ6s9/hvCwRkbOCHuto6RvMYH9ghQpcr5cUxD5OQIA+sHXi0zokRNXjcg==", + "node_modules/@esbuild/openbsd-x64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.16.17.tgz", + "integrity": "sha512-2yaWJhvxGEz2RiftSk0UObqJa/b+rIAjnODJgv2GbGGpRwAfpgzyrg1WLK8rqA24mfZa9GvpjLcBBg8JHkoodg==", "cpu": [ "x64" ], @@ -454,12 +357,15 @@ "optional": true, "os": [ "openbsd" - ] + ], + "engines": { + "node": ">=12" + } }, - "node_modules/esbuild-sunos-64": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.14.10.tgz", - "integrity": "sha512-mEU+pqkhkhbwpJj5DiN3vL0GUFR/yrL3qj8ER1amIVyRibKbj02VM1QaIuk1sy5DRVIKiFXXgCaHvH3RNWCHIw==", + "node_modules/@esbuild/sunos-x64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.16.17.tgz", + "integrity": "sha512-xtVUiev38tN0R3g8VhRfN7Zl42YCJvyBhRKw1RJjwE1d2emWTVToPLNEQj/5Qxc6lVFATDiy6LjVHYhIPrLxzw==", "cpu": [ "x64" ], @@ -467,82 +373,195 @@ "optional": true, "os": [ "sunos" - ] + ], + "engines": { + "node": ">=12" + } }, - "node_modules/esbuild-windows-32": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-windows-32/-/esbuild-windows-32-0.14.10.tgz", - "integrity": "sha512-Z5DieUL1N6s78dOSdL95KWf8Y89RtPGxIoMF+LEy8ChDsX+pZpz6uAVCn+YaWpqQXO+2TnrcbgBIoprq2Mco1g==", + "node_modules/@esbuild/win32-arm64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.16.17.tgz", + "integrity": "sha512-ga8+JqBDHY4b6fQAmOgtJJue36scANy4l/rL97W+0wYmijhxKetzZdKOJI7olaBaMhWt8Pac2McJdZLxXWUEQw==", "cpu": [ - "ia32" + "arm64" ], "dev": true, "optional": true, "os": [ "win32" - ] + ], + "engines": { + "node": ">=12" + } }, - "node_modules/esbuild-windows-64": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.14.10.tgz", - "integrity": "sha512-LE5Mm62y0Bilu7RDryBhHIX8rK3at5VwJ6IGM3BsASidCfOBTzqcs7Yy0/Vkq39VKeTmy9/66BAfVoZRNznoDw==", + "node_modules/@esbuild/win32-ia32": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.16.17.tgz", + "integrity": "sha512-WnsKaf46uSSF/sZhwnqE4L/F89AYNMiD4YtEcYekBt9Q7nj0DiId2XH2Ng2PHM54qi5oPrQ8luuzGszqi/veig==", "cpu": [ - "x64" + "ia32" ], "dev": true, "optional": true, "os": [ "win32" - ] + ], + "engines": { + "node": ">=12" + } }, - "node_modules/esbuild-windows-arm64": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-windows-arm64/-/esbuild-windows-arm64-0.14.10.tgz", - "integrity": "sha512-OJOyxDtabvcUYTc+O4dR0JMzLBz6G9+gXIHA7Oc5d5Fv1xiYa0nUeo8+W5s2e6ZkPRdIwOseYoL70rZz80S5BA==", + "node_modules/@esbuild/win32-x64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.16.17.tgz", + "integrity": "sha512-y+EHuSchhL7FjHgvQL/0fnnFmO4T1bhvWANX6gcnqTjtnKWbTvUMCpGnv2+t+31d7RzyEAYAd4u2fnIhHL6N/Q==", "cpu": [ - "arm64" + "x64" ], "dev": true, "optional": true, "os": [ "win32" - ] + ], + "engines": { + "node": ">=12" + } }, - "node_modules/fast-glob": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz", - "integrity": "sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q==", + "node_modules/@parcel/source-map": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@parcel/source-map/-/source-map-2.1.1.tgz", + "integrity": "sha512-Ejx1P/mj+kMjQb8/y5XxDUn4reGdr+WyKYloBljpppUy8gs42T+BNoEOuRYqDVdgPc6NxduzIDoJS9pOFfV5Ew==", "dev": true, "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" + "detect-libc": "^1.0.3" }, "engines": { - "node": ">=8" + "node": "^12.18.3 || >=14" } }, - "node_modules/fastq": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", - "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", + "node_modules/balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "dev": true + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, "dependencies": { - "reusify": "^1.0.4" + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" } }, - "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "node_modules/deep-equal": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.0.1.tgz", + "integrity": "sha1-9dJgKStmDghO/0zbyfCK0yR0SLU=", + "dev": true + }, + "node_modules/define-properties": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.2.tgz", + "integrity": "sha1-g6c/L+pWmJj7c3GTyPhzyvbUXJQ=", + "dev": true, + "dependencies": { + "foreach": "^2.0.5", + "object-keys": "^1.0.8" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/defined": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz", + "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=", + "dev": true + }, + "node_modules/detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", + "dev": true, + "bin": { + "detect-libc": "bin/detect-libc.js" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/es-abstract": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.12.0.tgz", + "integrity": "sha512-C8Fx/0jFmV5IPoMOFPA9P9G5NtqW+4cOPit3MIuvR2t7Ag2K15EJTpxnHAYTzL+aYQJIESYeXZmDBfOBE1HcpA==", + "dev": true, + "dependencies": { + "es-to-primitive": "^1.1.1", + "function-bind": "^1.1.1", + "has": "^1.0.1", + "is-callable": "^1.1.3", + "is-regex": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-to-primitive": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.1.1.tgz", + "integrity": "sha1-RTVSSKiJeQNLZ5Lhm7gfK3l13Q0=", "dev": true, "dependencies": { - "to-regex-range": "^5.0.1" + "is-callable": "^1.1.1", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/esbuild": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.16.17.tgz", + "integrity": "sha512-G8LEkV0XzDMNwXKgM0Jwu3nY3lSTwSGY6XbxM9cr9+s0T/qSV1q1JVPBGzm3dcjhCic9+emZDmMffkwgPeOeLg==", + "dev": true, + "hasInstallScript": true, + "bin": { + "esbuild": "bin/esbuild" }, "engines": { - "node": ">=8" + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/android-arm": "0.16.17", + "@esbuild/android-arm64": "0.16.17", + "@esbuild/android-x64": "0.16.17", + "@esbuild/darwin-arm64": "0.16.17", + "@esbuild/darwin-x64": "0.16.17", + "@esbuild/freebsd-arm64": "0.16.17", + "@esbuild/freebsd-x64": "0.16.17", + "@esbuild/linux-arm": "0.16.17", + "@esbuild/linux-arm64": "0.16.17", + "@esbuild/linux-ia32": "0.16.17", + "@esbuild/linux-loong64": "0.16.17", + "@esbuild/linux-mips64el": "0.16.17", + "@esbuild/linux-ppc64": "0.16.17", + "@esbuild/linux-riscv64": "0.16.17", + "@esbuild/linux-s390x": "0.16.17", + "@esbuild/linux-x64": "0.16.17", + "@esbuild/netbsd-x64": "0.16.17", + "@esbuild/openbsd-x64": "0.16.17", + "@esbuild/sunos-x64": "0.16.17", + "@esbuild/win32-arm64": "0.16.17", + "@esbuild/win32-ia32": "0.16.17", + "@esbuild/win32-x64": "0.16.17" } }, "node_modules/for-each": { @@ -586,39 +605,7 @@ "path-is-absolute": "^1.0.0" }, "engines": { - "node": "*" - } - }, - "node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/globby": { - "version": "11.0.4", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.4.tgz", - "integrity": "sha512-9O4MVG9ioZJ08ffbcyVYyLOJLk5JQ688pJ4eMGLpdWLHq/Wr1D9BlriLQyL0E+jbkuePVZXYFj47QM/v093wHg==", - "dev": true, - "dependencies": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.1.1", - "ignore": "^5.1.4", - "merge2": "^1.3.0", - "slash": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": "*" } }, "node_modules/has": { @@ -633,15 +620,6 @@ "node": ">= 0.4.0" } }, - "node_modules/ignore": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", - "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, "node_modules/inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", @@ -676,36 +654,6 @@ "node": ">= 0.4" } }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "engines": { - "node": ">=0.12.0" - } - }, "node_modules/is-regex": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz", @@ -727,32 +675,10 @@ "node": ">= 0.4" } }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, - "node_modules/micromatch": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", - "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", - "dev": true, - "dependencies": { - "braces": "^3.0.1", - "picomatch": "^2.2.3" - }, - "engines": { - "node": ">=8.6" - } - }, "node_modules/minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, "dependencies": { "brace-expansion": "^1.1.7" @@ -762,10 +688,13 @@ } }, "node_modules/minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", - "dev": true + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz", + "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, "node_modules/object-inspect": { "version": "1.6.0", @@ -801,52 +730,11 @@ } }, "node_modules/path-parse": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.5.tgz", - "integrity": "sha1-PBrfhx6pzWyUMbbqK9dKD/BVxME=", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", "dev": true }, - "node_modules/path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "dev": true, - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, "node_modules/resumer": { "version": "0.0.0", "resolved": "https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz", @@ -856,48 +744,6 @@ "through": "~2.3.4" } }, - "node_modules/reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", - "dev": true, - "engines": { - "iojs": ">=1.0.0", - "node": ">=0.10.0" - } - }, - "node_modules/run-parallel": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "queue-microtask": "^1.2.2" - } - }, - "node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/string.prototype.trim": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.1.2.tgz", @@ -951,18 +797,6 @@ "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", "dev": true }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -972,92 +806,213 @@ }, "dependencies": { "@chialab/cjs-to-esm": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/@chialab/cjs-to-esm/-/cjs-to-esm-0.14.10.tgz", - "integrity": "sha512-RNn6LcA68oX56n+q9pQnoSR2sQpC9rlFt9BEd7asMj0Atm9UZfMfi+C0vEW/Bxy+x1VvUMM0qQayshcBPhWUUA==", + "version": "0.17.6", + "resolved": "https://registry.npmjs.org/@chialab/cjs-to-esm/-/cjs-to-esm-0.17.6.tgz", + "integrity": "sha512-3L/zkOeRK/BTHjo06nMj5KoOec9EU1kVApCSHcJppr22F+FjjvQzY/zdt7safvx3LL7VvArQFSMIT7HlHFax/A==", "dev": true, "requires": { - "@chialab/estransform": "^0.14.10" + "@chialab/estransform": "^0.17.3" } }, "@chialab/esbuild-plugin-commonjs": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/@chialab/esbuild-plugin-commonjs/-/esbuild-plugin-commonjs-0.14.10.tgz", - "integrity": "sha512-8Np0HO+9d0ZlE9l3EjDrPQ6h0TMrT52CvQRBca2FF8U/Giss2l7pkI+FXl5g/GTnjsri8N1EILC3//pkg8t7LA==", + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/@chialab/esbuild-plugin-commonjs/-/esbuild-plugin-commonjs-0.17.2.tgz", + "integrity": "sha512-C30UShSb89PJiO+mJTwAS1ei6aKVxMcxZQrl0g1JAJVd4d1AE6OjcbYlCs4847PcbmMNqYZrTcWpgIg+zRQL3Q==", "dev": true, "requires": { - "@chialab/cjs-to-esm": "^0.14.10", - "@chialab/esbuild-rna": "^0.14.10", - "@chialab/node-resolve": "^0.14.10" + "@chialab/cjs-to-esm": "^0.17.0", + "@chialab/esbuild-rna": "^0.17.0", + "@chialab/node-resolve": "^0.17.0" } }, "@chialab/esbuild-rna": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/@chialab/esbuild-rna/-/esbuild-rna-0.14.10.tgz", - "integrity": "sha512-iaF6njdmB9dbjnb4cLViA32WlmQRJxgiiIXDSTQpP9z97NQYEwDLgjarJi8T1XBwe7xlXKZOM91mJYzJLS8NoQ==", + "version": "0.17.3", + "resolved": "https://registry.npmjs.org/@chialab/esbuild-rna/-/esbuild-rna-0.17.3.tgz", + "integrity": "sha512-LwPGDBeRnCNSkUfCEXYWKf7iORt6JCbmCLvEaeZnqle2Tm5yNRtZjCnQHdG9D4UpY9YQgrlZQnF785yOnKwL7Q==", "dev": true, "requires": { - "@chialab/estransform": "^0.14.10", - "@chialab/node-resolve": "^0.14.10" + "@chialab/estransform": "^0.17.2", + "@chialab/node-resolve": "^0.17.0" } }, "@chialab/estransform": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/@chialab/estransform/-/estransform-0.14.10.tgz", - "integrity": "sha512-MJtLK4h+EFIsdJ+JXLH0EzSSVdwlnOColy92qllygi79Y9cuzWUpvEIBkbtdfG50m8G70hiJbs3rGc7GmyAuFg==", + "version": "0.17.3", + "resolved": "https://registry.npmjs.org/@chialab/estransform/-/estransform-0.17.3.tgz", + "integrity": "sha512-ZFCcDk85ZllhUiAMIzRFsLhrA2z8xwRyXyJBNMP/84+3czLEydSTzzBK9nXNGloOspwp+lL+EgPlFY8Ry693Bg==", "dev": true, "requires": { "@parcel/source-map": "^2.0.0" } }, "@chialab/node-resolve": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/@chialab/node-resolve/-/node-resolve-0.14.10.tgz", - "integrity": "sha512-I/rNiWVUOgbLBMeJJlndl9HXKd6vS+jw6XTHsYJDWE//1mKxh5yuLZbfeVvawa3Tngc3NbWxbdrYyDyl29lncQ==", + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/@chialab/node-resolve/-/node-resolve-0.17.0.tgz", + "integrity": "sha512-u9VwO/0djjXsM70aH/Wrx0BrXjtjhfNOxaDks32xa1mZP9T0CXZ0be5Sv3hXI9g5UeJbfvCyFJS2hfJEu7Ifgg==", "dev": true }, - "@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "@esbuild/android-arm": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.16.17.tgz", + "integrity": "sha512-N9x1CMXVhtWEAMS7pNNONyA14f71VPQN9Cnavj1XQh6T7bskqiLLrSca4O0Vr8Wdcga943eThxnVp3JLnBMYtw==", "dev": true, - "requires": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - } + "optional": true }, - "@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", - "dev": true + "@esbuild/android-arm64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.16.17.tgz", + "integrity": "sha512-MIGl6p5sc3RDTLLkYL1MyL8BMRN4tLMRCn+yRJJmEDvYZ2M7tmAf80hx1kbNEUX2KJ50RRtxZ4JHLvCfuB6kBg==", + "dev": true, + "optional": true }, - "@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "@esbuild/android-x64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.16.17.tgz", + "integrity": "sha512-a3kTv3m0Ghh4z1DaFEuEDfz3OLONKuFvI4Xqczqx4BqLyuFaFkuaG4j2MtA6fuWEFeC5x9IvqnX7drmRq/fyAQ==", "dev": true, - "requires": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - } + "optional": true + }, + "@esbuild/darwin-arm64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.16.17.tgz", + "integrity": "sha512-/2agbUEfmxWHi9ARTX6OQ/KgXnOWfsNlTeLcoV7HSuSTv63E4DqtAc+2XqGw1KHxKMHGZgbVCZge7HXWX9Vn+w==", + "dev": true, + "optional": true + }, + "@esbuild/darwin-x64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.16.17.tgz", + "integrity": "sha512-2By45OBHulkd9Svy5IOCZt376Aa2oOkiE9QWUK9fe6Tb+WDr8hXL3dpqi+DeLiMed8tVXspzsTAvd0jUl96wmg==", + "dev": true, + "optional": true + }, + "@esbuild/freebsd-arm64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.16.17.tgz", + "integrity": "sha512-mt+cxZe1tVx489VTb4mBAOo2aKSnJ33L9fr25JXpqQqzbUIw/yzIzi+NHwAXK2qYV1lEFp4OoVeThGjUbmWmdw==", + "dev": true, + "optional": true + }, + "@esbuild/freebsd-x64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.16.17.tgz", + "integrity": "sha512-8ScTdNJl5idAKjH8zGAsN7RuWcyHG3BAvMNpKOBaqqR7EbUhhVHOqXRdL7oZvz8WNHL2pr5+eIT5c65kA6NHug==", + "dev": true, + "optional": true + }, + "@esbuild/linux-arm": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.16.17.tgz", + "integrity": "sha512-iihzrWbD4gIT7j3caMzKb/RsFFHCwqqbrbH9SqUSRrdXkXaygSZCZg1FybsZz57Ju7N/SHEgPyaR0LZ8Zbe9gQ==", + "dev": true, + "optional": true + }, + "@esbuild/linux-arm64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.16.17.tgz", + "integrity": "sha512-7S8gJnSlqKGVJunnMCrXHU9Q8Q/tQIxk/xL8BqAP64wchPCTzuM6W3Ra8cIa1HIflAvDnNOt2jaL17vaW+1V0g==", + "dev": true, + "optional": true + }, + "@esbuild/linux-ia32": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.16.17.tgz", + "integrity": "sha512-kiX69+wcPAdgl3Lonh1VI7MBr16nktEvOfViszBSxygRQqSpzv7BffMKRPMFwzeJGPxcio0pdD3kYQGpqQ2SSg==", + "dev": true, + "optional": true + }, + "@esbuild/linux-loong64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.16.17.tgz", + "integrity": "sha512-dTzNnQwembNDhd654cA4QhbS9uDdXC3TKqMJjgOWsC0yNCbpzfWoXdZvp0mY7HU6nzk5E0zpRGGx3qoQg8T2DQ==", + "dev": true, + "optional": true + }, + "@esbuild/linux-mips64el": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.16.17.tgz", + "integrity": "sha512-ezbDkp2nDl0PfIUn0CsQ30kxfcLTlcx4Foz2kYv8qdC6ia2oX5Q3E/8m6lq84Dj/6b0FrkgD582fJMIfHhJfSw==", + "dev": true, + "optional": true + }, + "@esbuild/linux-ppc64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.16.17.tgz", + "integrity": "sha512-dzS678gYD1lJsW73zrFhDApLVdM3cUF2MvAa1D8K8KtcSKdLBPP4zZSLy6LFZ0jYqQdQ29bjAHJDgz0rVbLB3g==", + "dev": true, + "optional": true + }, + "@esbuild/linux-riscv64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.16.17.tgz", + "integrity": "sha512-ylNlVsxuFjZK8DQtNUwiMskh6nT0vI7kYl/4fZgV1llP5d6+HIeL/vmmm3jpuoo8+NuXjQVZxmKuhDApK0/cKw==", + "dev": true, + "optional": true + }, + "@esbuild/linux-s390x": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.16.17.tgz", + "integrity": "sha512-gzy7nUTO4UA4oZ2wAMXPNBGTzZFP7mss3aKR2hH+/4UUkCOyqmjXiKpzGrY2TlEUhbbejzXVKKGazYcQTZWA/w==", + "dev": true, + "optional": true + }, + "@esbuild/linux-x64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.16.17.tgz", + "integrity": "sha512-mdPjPxfnmoqhgpiEArqi4egmBAMYvaObgn4poorpUaqmvzzbvqbowRllQ+ZgzGVMGKaPkqUmPDOOFQRUFDmeUw==", + "dev": true, + "optional": true + }, + "@esbuild/netbsd-x64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.16.17.tgz", + "integrity": "sha512-/PzmzD/zyAeTUsduZa32bn0ORug+Jd1EGGAUJvqfeixoEISYpGnAezN6lnJoskauoai0Jrs+XSyvDhppCPoKOA==", + "dev": true, + "optional": true + }, + "@esbuild/openbsd-x64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.16.17.tgz", + "integrity": "sha512-2yaWJhvxGEz2RiftSk0UObqJa/b+rIAjnODJgv2GbGGpRwAfpgzyrg1WLK8rqA24mfZa9GvpjLcBBg8JHkoodg==", + "dev": true, + "optional": true + }, + "@esbuild/sunos-x64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.16.17.tgz", + "integrity": "sha512-xtVUiev38tN0R3g8VhRfN7Zl42YCJvyBhRKw1RJjwE1d2emWTVToPLNEQj/5Qxc6lVFATDiy6LjVHYhIPrLxzw==", + "dev": true, + "optional": true + }, + "@esbuild/win32-arm64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.16.17.tgz", + "integrity": "sha512-ga8+JqBDHY4b6fQAmOgtJJue36scANy4l/rL97W+0wYmijhxKetzZdKOJI7olaBaMhWt8Pac2McJdZLxXWUEQw==", + "dev": true, + "optional": true + }, + "@esbuild/win32-ia32": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.16.17.tgz", + "integrity": "sha512-WnsKaf46uSSF/sZhwnqE4L/F89AYNMiD4YtEcYekBt9Q7nj0DiId2XH2Ng2PHM54qi5oPrQ8luuzGszqi/veig==", + "dev": true, + "optional": true + }, + "@esbuild/win32-x64": { + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.16.17.tgz", + "integrity": "sha512-y+EHuSchhL7FjHgvQL/0fnnFmO4T1bhvWANX6gcnqTjtnKWbTvUMCpGnv2+t+31d7RzyEAYAd4u2fnIhHL6N/Q==", + "dev": true, + "optional": true }, "@parcel/source-map": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@parcel/source-map/-/source-map-2.0.0.tgz", - "integrity": "sha512-njoUJpj2646NebfHp5zKJeYD1KwhsfQIoU9TnCTHmF9fGOaPbClmeq12G6/4ZqGASftRq+YhhukFBi/ncWKGvw==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@parcel/source-map/-/source-map-2.1.1.tgz", + "integrity": "sha512-Ejx1P/mj+kMjQb8/y5XxDUn4reGdr+WyKYloBljpppUy8gs42T+BNoEOuRYqDVdgPc6NxduzIDoJS9pOFfV5Ew==", "dev": true, "requires": { - "detect-libc": "^1.0.3", - "globby": "^11.0.3" + "detect-libc": "^1.0.3" } }, - "array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "dev": true - }, "balanced-match": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", @@ -1074,15 +1029,6 @@ "concat-map": "0.0.1" } }, - "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, - "requires": { - "fill-range": "^7.0.1" - } - }, "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -1114,18 +1060,9 @@ "detect-libc": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", + "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", "dev": true }, - "dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", - "dev": true, - "requires": { - "path-type": "^4.0.0" - } - }, "es-abstract": { "version": "1.12.0", "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.12.0.tgz", @@ -1151,186 +1088,33 @@ } }, "esbuild": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.14.10.tgz", - "integrity": "sha512-ibZb+NwFqBwHHJlpnFMtg4aNmVK+LUtYMFC9CuKs6lDCBEvCHpqCFZFEirpqt1jOugwKGx8gALNGvX56lQyfew==", - "dev": true, - "requires": { - "esbuild-android-arm64": "0.14.10", - "esbuild-darwin-64": "0.14.10", - "esbuild-darwin-arm64": "0.14.10", - "esbuild-freebsd-64": "0.14.10", - "esbuild-freebsd-arm64": "0.14.10", - "esbuild-linux-32": "0.14.10", - "esbuild-linux-64": "0.14.10", - "esbuild-linux-arm": "0.14.10", - "esbuild-linux-arm64": "0.14.10", - "esbuild-linux-mips64le": "0.14.10", - "esbuild-linux-ppc64le": "0.14.10", - "esbuild-linux-s390x": "0.14.10", - "esbuild-netbsd-64": "0.14.10", - "esbuild-openbsd-64": "0.14.10", - "esbuild-sunos-64": "0.14.10", - "esbuild-windows-32": "0.14.10", - "esbuild-windows-64": "0.14.10", - "esbuild-windows-arm64": "0.14.10" - } - }, - "esbuild-android-arm64": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-android-arm64/-/esbuild-android-arm64-0.14.10.tgz", - "integrity": "sha512-vzkTafHKoiMX4uIN1kBnE/HXYLpNT95EgGanVk6DHGeYgDolU0NBxjO7yZpq4ZGFPOx8384eAdDrBYhO11TAlQ==", - "dev": true, - "optional": true - }, - "esbuild-darwin-64": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.14.10.tgz", - "integrity": "sha512-DJwzFVB95ZV7C3PQbf052WqaUuuMFXJeZJ0LKdnP1w+QOU0rlbKfX0tzuhoS//rOXUj1TFIwRuRsd0FX6skR7A==", - "dev": true, - "optional": true - }, - "esbuild-darwin-arm64": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.10.tgz", - "integrity": "sha512-RNaaoZDg3nsqs5z56vYCjk/VJ76npf752W0rOaCl5lO5TsgV9zecfdYgt7dtUrIx8b7APhVaNYud+tGsDOVC9g==", - "dev": true, - "optional": true - }, - "esbuild-freebsd-64": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.10.tgz", - "integrity": "sha512-10B3AzW894u6bGZZhWiJOHw1uEHb4AFbUuBdyml1Ht0vIqd+KqWW+iY/yMwQAzILr2WJZqEhbOXRkJtY8aRqOw==", - "dev": true, - "optional": true - }, - "esbuild-freebsd-arm64": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.14.10.tgz", - "integrity": "sha512-mSQrKB7UaWvuryBTCo9leOfY2uEUSimAvcKIaUWbk5Hth9Sg+Try+qNA/NibPgs/vHkX0KFo/Rce6RPea+P15g==", - "dev": true, - "optional": true - }, - "esbuild-linux-32": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.14.10.tgz", - "integrity": "sha512-lktF09JgJLZ63ANYHIPdYe339PDuVn19Q/FcGKkXWf+jSPkn5xkYzAabboNGZNUgNqSJ/vY7VrOn6UrBbJjgYA==", - "dev": true, - "optional": true - }, - "esbuild-linux-64": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.14.10.tgz", - "integrity": "sha512-K+gCQz2oLIIBI8ZM77e9sYD5/DwEpeYCrOQ2SYXx+R4OU2CT9QjJDi4/OpE7ko4AcYMlMW7qrOCuLSgAlEj4Wg==", - "dev": true, - "optional": true - }, - "esbuild-linux-arm": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.14.10.tgz", - "integrity": "sha512-BYa60dZ/KPmNKYxtHa3LSEdfKWHcm/RzP0MjB4AeBPhjS0D6/okhaBesZIY9kVIGDyeenKsJNOmnVt4+dhNnvQ==", - "dev": true, - "optional": true - }, - "esbuild-linux-arm64": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-arm64/-/esbuild-linux-arm64-0.14.10.tgz", - "integrity": "sha512-+qocQuQvcp5wo/V+OLXxqHPc+gxHttJEvbU/xrCGE03vIMqraL4wMua8JQx0SWEnJCWP+Nhf//v8OSwz1Xr5kA==", - "dev": true, - "optional": true - }, - "esbuild-linux-mips64le": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.10.tgz", - "integrity": "sha512-nmUd2xoBXpGo4NJCEWoaBj+n4EtDoLEvEYc8Z3aSJrY0Oa6s04czD1flmhd0I/d6QEU8b7GQ9U0g/rtBfhtxBg==", - "dev": true, - "optional": true - }, - "esbuild-linux-ppc64le": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.14.10.tgz", - "integrity": "sha512-vsOWZjm0rZix7HSmqwPph9arRVCyPtUpcURdayQDuIhMG2/UxJxpbdRaa//w4zYqcJzAWwuyH2PAlyy0ZNuxqQ==", - "dev": true, - "optional": true - }, - "esbuild-linux-s390x": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-s390x/-/esbuild-linux-s390x-0.14.10.tgz", - "integrity": "sha512-knArKKZm0ypIYWOWyOT7+accVwbVV1LZnl2FWWy05u9Tyv5oqJ2F5+X2Vqe/gqd61enJXQWqoufXopvG3zULOg==", - "dev": true, - "optional": true - }, - "esbuild-netbsd-64": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.14.10.tgz", - "integrity": "sha512-6Gg8neVcLeyq0yt9bZpReb8ntZ8LBEjthxrcYWVrBElcltnDjIy1hrzsujt0+sC2rL+TlSsE9dzgyuvlDdPp2w==", - "dev": true, - "optional": true - }, - "esbuild-openbsd-64": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.10.tgz", - "integrity": "sha512-9rkHZzp10zI90CfKbFrwmQjqZaeDmyQ6s9/hvCwRkbOCHuto6RvMYH9ghQpcr5cUxD5OQIA+sHXi0zokRNXjcg==", - "dev": true, - "optional": true - }, - "esbuild-sunos-64": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.14.10.tgz", - "integrity": "sha512-mEU+pqkhkhbwpJj5DiN3vL0GUFR/yrL3qj8ER1amIVyRibKbj02VM1QaIuk1sy5DRVIKiFXXgCaHvH3RNWCHIw==", - "dev": true, - "optional": true - }, - "esbuild-windows-32": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-windows-32/-/esbuild-windows-32-0.14.10.tgz", - "integrity": "sha512-Z5DieUL1N6s78dOSdL95KWf8Y89RtPGxIoMF+LEy8ChDsX+pZpz6uAVCn+YaWpqQXO+2TnrcbgBIoprq2Mco1g==", - "dev": true, - "optional": true - }, - "esbuild-windows-64": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.14.10.tgz", - "integrity": "sha512-LE5Mm62y0Bilu7RDryBhHIX8rK3at5VwJ6IGM3BsASidCfOBTzqcs7Yy0/Vkq39VKeTmy9/66BAfVoZRNznoDw==", - "dev": true, - "optional": true - }, - "esbuild-windows-arm64": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/esbuild-windows-arm64/-/esbuild-windows-arm64-0.14.10.tgz", - "integrity": "sha512-OJOyxDtabvcUYTc+O4dR0JMzLBz6G9+gXIHA7Oc5d5Fv1xiYa0nUeo8+W5s2e6ZkPRdIwOseYoL70rZz80S5BA==", - "dev": true, - "optional": true - }, - "fast-glob": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz", - "integrity": "sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q==", - "dev": true, - "requires": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" - } - }, - "fastq": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", - "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", + "version": "0.16.17", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.16.17.tgz", + "integrity": "sha512-G8LEkV0XzDMNwXKgM0Jwu3nY3lSTwSGY6XbxM9cr9+s0T/qSV1q1JVPBGzm3dcjhCic9+emZDmMffkwgPeOeLg==", "dev": true, "requires": { - "reusify": "^1.0.4" - } - }, - "fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, - "requires": { - "to-regex-range": "^5.0.1" + "@esbuild/android-arm": "0.16.17", + "@esbuild/android-arm64": "0.16.17", + "@esbuild/android-x64": "0.16.17", + "@esbuild/darwin-arm64": "0.16.17", + "@esbuild/darwin-x64": "0.16.17", + "@esbuild/freebsd-arm64": "0.16.17", + "@esbuild/freebsd-x64": "0.16.17", + "@esbuild/linux-arm": "0.16.17", + "@esbuild/linux-arm64": "0.16.17", + "@esbuild/linux-ia32": "0.16.17", + "@esbuild/linux-loong64": "0.16.17", + "@esbuild/linux-mips64el": "0.16.17", + "@esbuild/linux-ppc64": "0.16.17", + "@esbuild/linux-riscv64": "0.16.17", + "@esbuild/linux-s390x": "0.16.17", + "@esbuild/linux-x64": "0.16.17", + "@esbuild/netbsd-x64": "0.16.17", + "@esbuild/openbsd-x64": "0.16.17", + "@esbuild/sunos-x64": "0.16.17", + "@esbuild/win32-arm64": "0.16.17", + "@esbuild/win32-ia32": "0.16.17", + "@esbuild/win32-x64": "0.16.17" } }, "for-each": { @@ -1374,29 +1158,6 @@ "path-is-absolute": "^1.0.0" } }, - "glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "requires": { - "is-glob": "^4.0.1" - } - }, - "globby": { - "version": "11.0.4", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.4.tgz", - "integrity": "sha512-9O4MVG9ioZJ08ffbcyVYyLOJLk5JQ688pJ4eMGLpdWLHq/Wr1D9BlriLQyL0E+jbkuePVZXYFj47QM/v093wHg==", - "dev": true, - "requires": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.1.1", - "ignore": "^5.1.4", - "merge2": "^1.3.0", - "slash": "^3.0.0" - } - }, "has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", @@ -1406,12 +1167,6 @@ "function-bind": "^1.1.1" } }, - "ignore": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", - "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", - "dev": true - }, "inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", @@ -1440,27 +1195,6 @@ "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=", "dev": true }, - "is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", - "dev": true - }, - "is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, - "requires": { - "is-extglob": "^2.1.1" - } - }, - "is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true - }, "is-regex": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz", @@ -1476,35 +1210,19 @@ "integrity": "sha1-PMWfAAJRlLarLjjbrmaJJWtmBXI=", "dev": true }, - "merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "dev": true - }, - "micromatch": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", - "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", - "dev": true, - "requires": { - "braces": "^3.0.1", - "picomatch": "^2.2.3" - } - }, "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, "requires": { "brace-expansion": "^1.1.7" } }, "minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz", + "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==", "dev": true }, "object-inspect": { @@ -1535,27 +1253,9 @@ "dev": true }, "path-parse": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.5.tgz", - "integrity": "sha1-PBrfhx6pzWyUMbbqK9dKD/BVxME=", - "dev": true - }, - "path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "dev": true - }, - "picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "dev": true - }, - "queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", "dev": true }, "resumer": { @@ -1567,27 +1267,6 @@ "through": "~2.3.4" } }, - "reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", - "dev": true - }, - "run-parallel": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "dev": true, - "requires": { - "queue-microtask": "^1.2.2" - } - }, - "slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true - }, "string.prototype.trim": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.1.2.tgz", @@ -1637,15 +1316,6 @@ "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", "dev": true }, - "to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "requires": { - "is-number": "^7.0.0" - } - }, "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", diff --git a/package.json b/package.json index b05c511..b6c2eef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mudder", - "version": "2.1.0", + "version": "2.1.1", "description": "Find lexicographical points between strings", "main": "dist/mudder.min.js", "module": "dist/mudder.min.mjs", @@ -38,8 +38,8 @@ "url": "https://github.com/fasiha/mudderjs.git" }, "devDependencies": { - "@chialab/esbuild-plugin-commonjs": "^0.14.10", - "esbuild": "^0.14.10", + "@chialab/esbuild-plugin-commonjs": "^0.17.2", + "esbuild": "^0.16.17", "tape": "^4.6.0" } } \ No newline at end of file