pickier 0.1.63 → 0.1.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{N as I}from"./chunk-3j5z4940.js";import{Q as dt}from"./chunk-awmb5sg5.js";function ue(e){let s=e.length,n=Array.from({length:s},(r,i)=>e[i]),t=0;while(t<s){let r=e[t];if(r==="#"&&(t===0||/\s/.test(e[t-1]))){while(t<s)n[t]=" ",t++;break}if(r==="$"&&e[t+1]==="'"){t+=2;while(t<s){if(e[t]==="\\"&&t+1<s){n[t]=" ",n[t+1]=" ",t+=2;continue}if(e[t]==="'"){t++;break}n[t]=" ",t++}continue}if(r==="$"&&e[t+1]==='"'){t++,t=A(e,t,n);continue}if(r==="$"&&e[t+1]==="{"){t+=2;let i=1;while(t<s&&i>0){let o=e[t];if(o==="\\"&&t+1<s){n[t]=" ",n[t+1]=" ",t+=2;continue}if(o==="'"){t++;while(t<s&&e[t]!=="'")n[t]=" ",t++;if(t<s)t++;continue}if(o==='"'){t=A(e,t,n);continue}if(o==="{"){i++,t++;continue}if(o==="}"){i--,t++;continue}n[t]=" ",t++}continue}if(r==="$"&&e[t+1]==="("&&e[t+2]==="("){t+=3;let i=2;while(t<s&&i>0){let o=e[t];if(o==="("){i++,t++;continue}if(o===")"){i--,t++;continue}n[t]=" ",t++}continue}if(r==="$"&&e[t+1]==="("){t+=2;let i=1;while(t<s&&i>0){let o=e[t];if(o==="\\"&&t+1<s){n[t]=" ",n[t+1]=" ",t+=2;continue}if(o==="'"){t++;while(t<s&&e[t]!=="'")n[t]=" ",t++;if(t<s)t++;continue}if(o==='"'){t=A(e,t,n);continue}if(o==="("){i++,t++;continue}if(o===")"){i--,t++;continue}n[t]=" ",t++}continue}if(r==="'"){t++;while(t<s&&e[t]!=="'")n[t]=" ",t++;if(t<s)t++;continue}if(r==='"'){t=A(e,t,n);continue}if(r==="`"){t++;while(t<s&&e[t]!=="`"){if(e[t]==="\\"&&t+1<s){n[t]=" ",n[t+1]=" ",t+=2;continue}n[t]=" ",t++}if(t<s)t++;continue}t++}return n.join("")}function A(e,s,n){let t=e.length,r=s+1;while(r<t){let i=e[r];if(i==="\\"&&r+1<t){n[r]=" ",n[r+1]=" ",r+=2;continue}if(i==='"')return r+1;if(i==="$"&&e[r+1]==="("&&e[r+2]==="("){r+=3;let o=2;while(r<t&&o>0){let c=e[r];if(c==="("){o++,r++;continue}if(c===")"){o--,r++;continue}n[r]=" ",r++}continue}if(i==="$"&&e[r+1]==="("){r+=2;let o=1;while(r<t&&o>0){let c=e[r];if(c==="\\"&&r+1<t){n[r]=" ",n[r+1]=" ",r+=2;continue}if(c==="'"){r++;while(r<t&&e[r]!=="'")n[r]=" ",r++;if(r<t)r++;continue}if(c==='"'){r=A(e,r,n);continue}if(c==="("){o++,r++;continue}if(c===")"){o--,r++;continue}n[r]=" ",r++}continue}if(i==="$"&&e[r+1]==="{"){r+=2;let o=1;while(r<t&&o>0){let c=e[r];if(c==="{"){o++,r++;continue}if(c==="}"){o--,r++;continue}n[r]=" ",r++}continue}n[r]=" ",r++}return r}function Y(e){let n=ue(e).match(/<<-?/);if(!n||n.index===void 0)return null;let r=e.slice(n.index+n[0].length).match(/^\s*(['"]?)(\w+)\1/);if(!r)return null;return r[2]}var ge=new Set([".ts",".js"]),pe=new Set([".json",".jsonc"]),de=new Set([".yaml",".yml"]),me=new Set([".sh",".bash",".zsh",".ksh",".dash"]),he=/^#!\s*(?:\/usr\/bin\/env\s+)?(?:ba|z|k|da)?sh\b/;var ye=/^[}\])]/,be=/[{[(]\s*$/,we=/\s*\/\/.*$/,Se=/^(?:if|else\s+if|for|while)\s*\(/,xe=/^(?:\.[\w$[]|\?[\s.:]|:\s|&&|\|\|)/;function Ce(e){let s=Se.exec(e);if(!s)return/^(?:else|do)\s*$/.test(e);let n=0,t=null;for(let r=s[0].length-1;r<e.length;r++){let i=e[r];if(t){if(i==="\\"){r++;continue}if(i===t)t=null;continue}if(i==="'"||i==='"'||i==="`"){t=i;continue}if(i==="(")n++;else if(i===")"){if(n--,n===0)return e.slice(r+1).trim().length===0}}return!1}var Ee=/^\s*for\s*\(/,ke=new RegExp("^\\s*;\\s*$"),$e=new RegExp(";{2,}\\s*$"),Re=/([\w)])\{/g,_e=/\{(return|if|for|while|switch|const|let|var|function)\b/g,Ie=/,(\S)/g,Oe=/(?<![=!<>+\-*/%&|^?])=(?![=><])/g,Te=/(\w)\+(\w)/g,Ne=/(\w)-(\w)/g,ve=/(\w)\*(\w)/g,Ae=/(\w)\/(\w)/g,Pe=new RegExp("(?<=\\S);([^\\s;])","g"),Me=/([\w)\]])<(\d)/g,Le=/([\w)\]])>(\d)/g,H=/\s{2,}/g,Q=/^\s*$/,je=/^\s*\/\//,X=/^\s*\/\*/,De=/^\s*import\b/,V=/\bfrom\s*['"][^'"]+['"]|^\s*import\s+['"][^'"]+['"]/,Fe=/package\.json$/i,Ue=/[jt]sconfig(?:\..+)?\.json$/i,D=/[ \t]+$/,Ge=/^\n+/;function L(e){let s=e.lastIndexOf(".");return s>=0?e.slice(s):""}function F(e){return ge.has(L(e))}function We(e){return pe.has(L(e))}function Be(e){return de.has(L(e))}function Je(e){return me.has(L(e))}function Ke(e,s){return Je(e)||he.test(s)}function ze(e,s){let n=e.split(`
2
+ import{N as I}from"./chunk-gy6wyx8t.js";import{Q as dt}from"./chunk-awmb5sg5.js";function ue(e){let s=e.length,n=Array.from({length:s},(r,i)=>e[i]),t=0;while(t<s){let r=e[t];if(r==="#"&&(t===0||/\s/.test(e[t-1]))){while(t<s)n[t]=" ",t++;break}if(r==="$"&&e[t+1]==="'"){t+=2;while(t<s){if(e[t]==="\\"&&t+1<s){n[t]=" ",n[t+1]=" ",t+=2;continue}if(e[t]==="'"){t++;break}n[t]=" ",t++}continue}if(r==="$"&&e[t+1]==='"'){t++,t=A(e,t,n);continue}if(r==="$"&&e[t+1]==="{"){t+=2;let i=1;while(t<s&&i>0){let o=e[t];if(o==="\\"&&t+1<s){n[t]=" ",n[t+1]=" ",t+=2;continue}if(o==="'"){t++;while(t<s&&e[t]!=="'")n[t]=" ",t++;if(t<s)t++;continue}if(o==='"'){t=A(e,t,n);continue}if(o==="{"){i++,t++;continue}if(o==="}"){i--,t++;continue}n[t]=" ",t++}continue}if(r==="$"&&e[t+1]==="("&&e[t+2]==="("){t+=3;let i=2;while(t<s&&i>0){let o=e[t];if(o==="("){i++,t++;continue}if(o===")"){i--,t++;continue}n[t]=" ",t++}continue}if(r==="$"&&e[t+1]==="("){t+=2;let i=1;while(t<s&&i>0){let o=e[t];if(o==="\\"&&t+1<s){n[t]=" ",n[t+1]=" ",t+=2;continue}if(o==="'"){t++;while(t<s&&e[t]!=="'")n[t]=" ",t++;if(t<s)t++;continue}if(o==='"'){t=A(e,t,n);continue}if(o==="("){i++,t++;continue}if(o===")"){i--,t++;continue}n[t]=" ",t++}continue}if(r==="'"){t++;while(t<s&&e[t]!=="'")n[t]=" ",t++;if(t<s)t++;continue}if(r==='"'){t=A(e,t,n);continue}if(r==="`"){t++;while(t<s&&e[t]!=="`"){if(e[t]==="\\"&&t+1<s){n[t]=" ",n[t+1]=" ",t+=2;continue}n[t]=" ",t++}if(t<s)t++;continue}t++}return n.join("")}function A(e,s,n){let t=e.length,r=s+1;while(r<t){let i=e[r];if(i==="\\"&&r+1<t){n[r]=" ",n[r+1]=" ",r+=2;continue}if(i==='"')return r+1;if(i==="$"&&e[r+1]==="("&&e[r+2]==="("){r+=3;let o=2;while(r<t&&o>0){let c=e[r];if(c==="("){o++,r++;continue}if(c===")"){o--,r++;continue}n[r]=" ",r++}continue}if(i==="$"&&e[r+1]==="("){r+=2;let o=1;while(r<t&&o>0){let c=e[r];if(c==="\\"&&r+1<t){n[r]=" ",n[r+1]=" ",r+=2;continue}if(c==="'"){r++;while(r<t&&e[r]!=="'")n[r]=" ",r++;if(r<t)r++;continue}if(c==='"'){r=A(e,r,n);continue}if(c==="("){o++,r++;continue}if(c===")"){o--,r++;continue}n[r]=" ",r++}continue}if(i==="$"&&e[r+1]==="{"){r+=2;let o=1;while(r<t&&o>0){let c=e[r];if(c==="{"){o++,r++;continue}if(c==="}"){o--,r++;continue}n[r]=" ",r++}continue}n[r]=" ",r++}return r}function Y(e){let n=ue(e).match(/<<-?/);if(!n||n.index===void 0)return null;let r=e.slice(n.index+n[0].length).match(/^\s*(['"]?)(\w+)\1/);if(!r)return null;return r[2]}var ge=new Set([".ts",".js"]),pe=new Set([".json",".jsonc"]),de=new Set([".yaml",".yml"]),me=new Set([".sh",".bash",".zsh",".ksh",".dash"]),he=/^#!\s*(?:\/usr\/bin\/env\s+)?(?:ba|z|k|da)?sh\b/;var ye=/^[}\])]/,be=/[{[(]\s*$/,we=/\s*\/\/.*$/,Se=/^(?:if|else\s+if|for|while)\s*\(/,xe=/^(?:\.[\w$[]|\?[\s.:]|:\s|&&|\|\|)/;function Ce(e){let s=Se.exec(e);if(!s)return/^(?:else|do)\s*$/.test(e);let n=0,t=null;for(let r=s[0].length-1;r<e.length;r++){let i=e[r];if(t){if(i==="\\"){r++;continue}if(i===t)t=null;continue}if(i==="'"||i==='"'||i==="`"){t=i;continue}if(i==="(")n++;else if(i===")"){if(n--,n===0)return e.slice(r+1).trim().length===0}}return!1}var Ee=/^\s*for\s*\(/,ke=new RegExp("^\\s*;\\s*$"),$e=new RegExp(";{2,}\\s*$"),Re=/([\w)])\{/g,_e=/\{(return|if|for|while|switch|const|let|var|function)\b/g,Ie=/,(\S)/g,Oe=/(?<![=!<>+\-*/%&|^?])=(?![=><])/g,Te=/(\w)\+(\w)/g,Ne=/(\w)-(\w)/g,ve=/(\w)\*(\w)/g,Ae=/(\w)\/(\w)/g,Pe=new RegExp("(?<=\\S);([^\\s;])","g"),Me=/([\w)\]])<(\d)/g,Le=/([\w)\]])>(\d)/g,H=/\s{2,}/g,Q=/^\s*$/,je=/^\s*\/\//,X=/^\s*\/\*/,De=/^\s*import\b/,V=/\bfrom\s*['"][^'"]+['"]|^\s*import\s+['"][^'"]+['"]/,Fe=/package\.json$/i,Ue=/[jt]sconfig(?:\..+)?\.json$/i,D=/[ \t]+$/,Ge=/^\n+/;function L(e){let s=e.lastIndexOf(".");return s>=0?e.slice(s):""}function F(e){return ge.has(L(e))}function We(e){return pe.has(L(e))}function Be(e){return de.has(L(e))}function Je(e){return me.has(L(e))}function Ke(e,s){return Je(e)||he.test(s)}function ze(e,s){let n=e.split(`
3
3
  `),t=n.length,r=Array(t),i=s.format.indent,o=s.format.indentStyle==="tabs",c=0,f=!1,g="",p=!1,m=0;for(let a=0;a<t;a++){let h=n[a];if(h.length===0||/^\s*$/.test(h)){r[a]="";continue}if(f){if(r[a]=h,h.trim()===g)f=!1,g="";continue}let b=Y(h);if(b)f=!0,g=b;let w=0;while(w<h.length&&(h.charCodeAt(w)===32||h.charCodeAt(w)===9))w++;let d=h.slice(w).trimEnd();if(d.startsWith("#")&&a>0){let v=o?"\t".repeat(c):" ".repeat(c*i);r[a]=v+d;continue}if(/^case\b/.test(d)&&/\bin\s*$/.test(d))m++,p=!0;if(/^esac\b/.test(d)){if(m=Math.max(0,m-1),m===0)p=!1}let C=p&&/\)\s*$/.test(d)&&!/\$\(/.test(d)&&!/^\s*\(/.test(d)&&!d.startsWith("#"),E=/^;[;&]\s*$/.test(d);if(/^(?:fi|done|esac|elif|else)\b/.test(d)||/^\}/.test(d))c=Math.max(0,c-1);if(E)c=Math.max(0,c-1);let N=o?"\t".repeat(c):" ".repeat(c*i);if(r[a]=N+d,/^then\b/.test(d)||/^do\b/.test(d)||/^else\b/.test(d))c++;else if(/^if\b/.test(d)&&/\bthen\s*$/.test(d))c++;else if(/^elif\b/.test(d)&&/\bthen\s*$/.test(d))c++;else if(/^(?:while|for|until)\b/.test(d)&&/\bdo\s*$/.test(d))c++;else if(/^case\b/.test(d)&&/\bin\s*$/.test(d))c++;else if(C)c++;else if(/\{\s*$/.test(d)&&!d.startsWith("#"))c++}return r.join(`
4
4
  `)}function Ye(e,s){try{let n=Bun.YAML.parse(e),t=s.format.indentStyle==="tabs"?"\t":s.format.indent;return Bun.YAML.stringify(n,null,t).split(`
5
5
  `).map((i)=>i.replace(/[ \t]+$/,"")).join(`
@@ -29,5 +29,5 @@ ${i.join(`
29
29
  `)}`:"",_=m.replace(/^\n+/,""),fe=_.length>0?`
30
30
 
31
31
  `:`
32
- `;return`${k}${N}${v}${fe}${_}`}function lt(e){if(e.kind==="side-effect")return`import '${e.source}'`;if(e.kind==="type")return`import type { ${e.namedTypes.map((r)=>r.alias?`${r.name} as ${r.alias}`:r.name).join(", ")} } from '${e.source}'`;let s=[];if(e.defaultName)s.push(e.defaultName);if(e.namespaceName)s.push(`* as ${e.namespaceName}`);if(e.named.length>0){let t=e.named.map((r)=>r.alias?`${r.name} as ${r.alias}`:r.name).join(", ");s.push(`{ ${t} }`)}return`import ${s.join(", ")} from '${e.source}'`}function ft(e){let s=e.match(/^\s*import\s+['"]([^'"]+)['"]/);if(s)return{kind:"side-effect",source:s[1],named:[],namedTypes:[],original:e};if(s=e.match(/^\s*import\s+type\s+\{([^}]*)\}\s+from\s+['"]([^'"]+)['"]/),s){let a=s[1],h=s[2],b=a.split(",").map((w)=>w.trim()).filter(Boolean).map((w)=>{let d=w.match(/^(\w+)(?:\s+as\s+(\w+))?$/);return{name:d?.[1]||w,alias:d?.[2]}});return{kind:"type",source:h,named:[],namedTypes:b,original:e}}let n=e.match(/^\s*import\s+/),t=new RegExp(`\\sfrom\\s+['"]([^'"]+)['"]\\s*;?$`),r=e.match(t);if(!n||!r)return;let i=r[1],o=e.slice(n[0].length,r.index).trim(),c,f,g=[],p=[],m=o.match(/\{([^}]*)\}/);if(m){let h=m[1].split(",").map((b)=>b.trim()).filter(Boolean);for(let b of h){let w=/^type\s+/.test(b),C=b.replace(/^type\s+/,"").match(/^(\w+)(?:\s+as\s+(\w+))?$/);if(!C)continue;let E={name:C[1],alias:C[2]};if(w)p.push(E);else g.push(E)}o=o.replace(/\{[\s\S]*?\}/,"").trim()}if(o.length>0){let a=o.split(",").map((h)=>h.trim()).filter(Boolean);for(let h of a)if(h.startsWith("* as "))f=h.slice(5).trim();else if(/^\w+$/.test(h))c=h}return{kind:"value",source:i,defaultName:c,namespaceName:f,named:g,namedTypes:p,original:e}}function ut(e,s){if(Fe.test(s))return gt(e);if(Ue.test(s))return pt(e);return null}function oe(e){try{return JSON.parse(e)}catch{return null}}function P(e,s,n=[]){let t={};for(let i of s)if(Object.prototype.hasOwnProperty.call(e,i))t[i]=e[i];for(let i of n){let o=Object.keys(e).filter((c)=>i.test(c)&&!(c in t)).sort();for(let c of o)t[c]=e[c]}let r=Object.keys(e).filter((i)=>!(i in t)).sort();for(let i of r)t[i]=e[i];return t}function ee(e){let s={};for(let n of Object.keys(e).sort())s[n]=e[n];return s}function gt(e){let s=oe(e);if(!s||typeof s!=="object")return e;let t=P(s,["publisher","name","displayName","type","version","private","packageManager","description","author","contributors","license","funding","homepage","repository","bugs","keywords","categories","sideEffects","imports","exports","main","module","unpkg","jsdelivr","types","typesVersions","bin","icon","files","engines","activationEvents","contributes","scripts","peerDependencies","peerDependenciesMeta","dependencies","optionalDependencies","devDependencies","pnpm","overrides","resolutions","husky","simple-git-hooks","lint-staged","eslintConfig"]);if(Array.isArray(t.files)){if(t.files.every((o)=>typeof o==="string"))t.files=[...t.files].sort()}for(let i of Object.keys(t))if(/^(?:dev|peer|optional|bundled)?[Dd]ependencies(?:Meta)?$/.test(i)||/^(?:resolutions|overrides|pnpm\.overrides)$/.test(i)){if(t[i]&&typeof t[i]==="object")t[i]=ee(t[i])}if(t.pnpm&&typeof t.pnpm==="object"&&t.pnpm.overrides&&typeof t.pnpm.overrides==="object")t.pnpm.overrides=ee(t.pnpm.overrides);if(t.exports&&typeof t.exports==="object"){let i=t.exports,o=["types","import","require","default"];if(!Array.isArray(i)){let c={};for(let f of Object.keys(i)){let g=i[f];if(g&&typeof g==="object"&&!Array.isArray(g))c[f]=P(g,o);else c[f]=g}t.exports=c}}let r=["pre-commit","prepare-commit-msg","commit-msg","post-commit","pre-rebase","post-rewrite","post-checkout","post-merge","pre-push","pre-auto-gc"];for(let i of["gitHooks","husky","simple-git-hooks"])if(t[i]&&typeof t[i]==="object")t[i]=P(t[i],r);return JSON.stringify(t,null,2)}function pt(e){let s=oe(e);if(!s||typeof s!=="object")return e;let t=P(s,["extends","compilerOptions","references","files","include","exclude"]);if(t.compilerOptions&&typeof t.compilerOptions==="object"){let r=["incremental","composite","tsBuildInfoFile","disableSourceOfProjectReferenceRedirect","disableSolutionSearching","disableReferencedProjectLoad","target","jsx","jsxFactory","jsxFragmentFactory","jsxImportSource","lib","moduleDetection","noLib","reactNamespace","useDefineForClassFields","emitDecoratorMetadata","experimentalDecorators","libReplacement","baseUrl","rootDir","rootDirs","customConditions","module","moduleResolution","moduleSuffixes","noResolve","paths","resolveJsonModule","resolvePackageJsonExports","resolvePackageJsonImports","typeRoots","types","allowArbitraryExtensions","allowImportingTsExtensions","allowUmdGlobalAccess","allowJs","checkJs","maxNodeModuleJsDepth","strict","strictBindCallApply","strictFunctionTypes","strictNullChecks","strictPropertyInitialization","allowUnreachableCode","allowUnusedLabels","alwaysStrict","exactOptionalPropertyTypes","noFallthroughCasesInSwitch","noImplicitAny","noImplicitOverride","noImplicitReturns","noImplicitThis","noPropertyAccessFromIndexSignature","noUncheckedIndexedAccess","noUnusedLocals","noUnusedParameters","useUnknownInCatchVariables","declaration","declarationDir","declarationMap","downlevelIteration","emitBOM","emitDeclarationOnly","importHelpers","importsNotUsedAsValues","inlineSourceMap","inlineSources","mapRoot","newLine","noEmit","noEmitHelpers","noEmitOnError","outDir","outFile","preserveConstEnums","preserveValueImports","removeComments","sourceMap","sourceRoot","stripInternal","allowSyntheticDefaultImports","esModuleInterop","forceConsistentCasingInFileNames","isolatedDeclarations","isolatedModules","preserveSymlinks","verbatimModuleSyntax","erasableSyntaxOnly","skipDefaultLibCheck","skipLibCheck"];t.compilerOptions=P(t.compilerOptions,r)}return JSON.stringify(t,null,2)}import{readdirSync as mt,readFileSync as ht,statSync as ae}from"fs";import{extname as yt,isAbsolute as W,join as B,resolve as bt}from"path";var Dt=5;function wt(e){let s="",n=0;while(n<e.length){let t=e[n];if(t==="*")if(e[n+1]==="*"){if(s+=".*",n+=2,e[n]==="/")n++}else s+="[^/]*",n++;else if(t==="?")s+="[^/]",n++;else if(t==="["){let r=e.indexOf("]",n);if(r===-1)s+="\\[",n++;else s+=e.slice(n,r+1),n=r+1}else if(".+^${}()|\\".includes(t))s+=`\\${t}`,n++;else s+=t,n++}return new RegExp(`^${s}$`)}function*le(e,s,n){let t;try{t=mt(e)}catch{return}for(let r of t){if(!n&&r.startsWith("."))continue;let i=B(e,r);if(s(i))continue;let o;try{o=ae(i)}catch{continue}if(o.isDirectory())yield*le(i,s,n);else yield i}}function*ce(e,s,n,t){yield*le(e,z(s,t),n)}async function Ft(e,s={}){let n=s.cwd??process.cwd(),t=s.ignore??[],r=s.dot??!1,i=s.absolute??!0,o=z(t,n);if(typeof globalThis.Bun?.Glob<"u"){let f=globalThis.Bun.Glob,g=[];for(let p of e){let m=new f(p);for await(let a of m.scan({cwd:n,dot:r,onlyFiles:s.onlyFiles??!0,followSymlinks:!1})){let h=W(a)?a:B(n,a),b=h.startsWith(`${n}/`)?h.slice(n.length+1):h;if(o(h))continue;g.push(i?h:b)}}return g}let c=[];for(let f of e){if(!/[*?[{]/.test(f)){let p=W(f)?f:B(n,f);try{if(!ae(p).isDirectory()){let a=p.startsWith(`${n}/`)?p.slice(n.length+1):p;if(!o(p))c.push(i?p:a)}else for(let a of ce(p,t,r,n))c.push(i?a:a.startsWith(`${n}/`)?a.slice(n.length+1):a)}catch{}continue}let g=wt(f);for(let p of ce(n,t,r,n)){let m=p.startsWith(`${n}/`)?p.slice(n.length+1):p;if(g.test(m)||g.test(m.replace(/\\/g,"/")))c.push(i?p:m)}}return c}function Ut(e){let s=0,n=[],t=()=>{if(n.length>0&&s<e)s++,n.shift()()};return(r)=>new Promise((i,o)=>{let c=()=>{r().then((f)=>{s--,i(f),t()},(f)=>{s--,o(f),t()})};if(s<e)s++,c();else n.push(c)})}var St={get TRACE(){return process.env.PICKIER_TRACE==="1"},get TIMEOUT_MS(){return Number(process.env.PICKIER_TIMEOUT_MS||"8000")},get RULE_TIMEOUT_MS(){return Number(process.env.PICKIER_RULE_TIMEOUT_MS||"5000")},get CONCURRENCY(){return Number(process.env.PICKIER_CONCURRENCY)||8},get DIAGNOSTICS(){return process.env.PICKIER_DIAGNOSTICS==="1"},get FAIL_ON_WARNINGS(){return process.env.PICKIER_FAIL_ON_WARNINGS==="1"},get NO_AUTO_CONFIG(){return process.env.PICKIER_NO_AUTO_CONFIG==="1"}},J=["**/node_modules/**","**/.git/**"],xt=["**/node_modules/**","**/dist/**","**/build/**","**/.git/**","**/.next/**","**/.nuxt/**","**/.output/**","**/.vercel/**","**/.netlify/**","**/.cache/**","**/.turbo/**","**/.vscode/**","**/.idea/**","**/.zed/**","**/.cursor/**","**/.claude/**","**/.github/**","**/coverage/**","**/.nyc_output/**","**/.tmp/**","**/.temp/**","**/vendor/**","**/pantry/**","**/target/**","**/zig-cache/**","**/zig-out/**","**/.zig-cache/**","**/__pycache__/**","**/.pytest_cache/**","**/venv/**","**/.venv/**","**/out/**","**/.DS_Store","**/Thumbs.db"];function Gt(e,s){let n=e[s];if(n===void 0){let i=s.indexOf("/");if(i>0){let o=s.slice(0,i),c=s.slice(i+1),f=o==="general"?"pickier":o==="pickier"?"general":null;if(f)n=e[`${f}/${c}`];if(n===void 0)n=e[c]}}let t,r;if(typeof n==="string"){if(n==="error")t="error";else if(n==="warn"||n==="warning")t="warning"}else if(Array.isArray(n)&&typeof n[0]==="string"){let i=n[0];if(i==="error")t="error";else if(i==="warn"||i==="warning")t="warning";r=n[1]}return{enabled:!!t,severity:t,options:r}}function M(e){let s=Array.isArray(e)?e[0]:e;if(typeof s!=="string")return;if(s==="off")return"off";if(s==="error")return"error";if(s==="warn"||s==="warning")return"warning";return}function Wt(e,s,n=[],t){for(let i of[s,...n]){let o=M(e.rules?.[i])??M(e.pluginRules?.[i]);if(o)return o==="off"?void 0:o}let r=M(t);return r==="off"?void 0:r}function Bt(e,s){return M(e.rules?.[s])==="off"||M(e.pluginRules?.[s])==="off"}function T(e,s){return`\x1B[${e}m${s}\x1B[0m`}function Ct(e){return T("32",e)}function Et(e){return T("31",e)}function kt(e){return T("33",e)}function $t(e){return T("34",e)}function Rt(e){return T("90",e)}function _t(e){return T("1",e)}var Jt={green:Ct,red:Et,yellow:kt,blue:$t,gray:Rt,bold:_t};function O(e,s){let n=s.ignores?[...new Set([...e.ignores||[],...s.ignores])]:e.ignores,t={...e.pluginRules||{},...s.pluginRules||{}};if((s.tailwind??e.tailwind)?.enabled&&!Object.prototype.hasOwnProperty.call(t,"pickier/sort-tailwind-classes"))t["pickier/sort-tailwind-classes"]="warn";return{...e,...s,verbose:s.verbose??e.verbose,ignores:n,lint:{...e.lint,...s.lint||{}},format:{...e.format,...s.format||{}},rules:{...e.rules,...s.rules||{}},pluginRules:t}}var G=null;async function Kt(e){if(!e){if(St.NO_AUTO_CONFIG){if(!G)G=O(I,{});return G}try{let{getConfig:t}=await import("./chunk-mat3gcn4.js"),r=await t();return O(I,r)}catch{}return O(I,{})}let s=W(e)?e:bt(process.cwd(),e);if(yt(s).toLowerCase()===".json")try{let t=ht(s,"utf8");return O(I,JSON.parse(t))}catch{return console.warn(`[pickier:warn] Config file not found: ${s}. Using default config values.`),O(I,{})}try{let t=await import(s);return O(I,t.default||t)}catch{return console.warn(`[pickier:warn] Config file not found: ${s}. Using default config values.`),O(I,{})}}function zt(e){return e.map((s)=>{if(/[*?[\]{}()!]/.test(s))return s;if(/\.[A-Z0-9]+$/i.test(s))return s;return`${s.replace(/\/$/,"")}/**/*`})}function Yt(e,s){let n=e.lastIndexOf(".");if(n<0)return!1;let t=e.slice(n);return s.has(t)}function K(e){return e.replace(/\\/g,"/").replace(/\/+/g,"/")}function It(e){let s=[];for(let n of e){let t=K(n.trim());if(!t)continue;let r=t.match(/\*\*\/\*\.(.+)$/);if(r){s.push({raw:t,kind:"extension",value:r[1]});continue}let i=t.match(/\*\*\/(.+?)\/\*\*$/);if(i){s.push({raw:t,kind:"segment",value:i[1]});continue}let o=t.match(/\*\*\/(.+)$/);if(o)s.push({raw:t,kind:"suffix",value:o[1].replace(/\/$/,"")})}return s}function Ht(e){return[...new Set([...J,...e])]}function z(e,s=process.cwd()){let n=It([...J,...e]);if(n.length===0)return()=>!1;let t=new Set([...xt,...J]);return(r)=>{let i=K(r),o=K(s).replace(/\/$/,""),c=i!==o&&!i.startsWith(`${o}/`),f=c?i:i.slice(o.length);for(let g of n){if(c&&!t.has(g.raw))continue;if(g.kind==="extension"){if(f.endsWith(`.${g.value}`))return!0;continue}if(g.kind==="segment"||g.kind==="suffix"){let p=g.value;if(f.includes(`/${p}/`)||f.endsWith(`/${p}`))return!0}}return!1}}function Qt(e,s){return z(s)(e)}
32
+ `;return`${k}${N}${v}${fe}${_}`}function lt(e){if(e.kind==="side-effect")return`import '${e.source}'`;if(e.kind==="type")return`import type { ${e.namedTypes.map((r)=>r.alias?`${r.name} as ${r.alias}`:r.name).join(", ")} } from '${e.source}'`;let s=[];if(e.defaultName)s.push(e.defaultName);if(e.namespaceName)s.push(`* as ${e.namespaceName}`);if(e.named.length>0){let t=e.named.map((r)=>r.alias?`${r.name} as ${r.alias}`:r.name).join(", ");s.push(`{ ${t} }`)}return`import ${s.join(", ")} from '${e.source}'`}function ft(e){let s=e.match(/^\s*import\s+['"]([^'"]+)['"]/);if(s)return{kind:"side-effect",source:s[1],named:[],namedTypes:[],original:e};if(s=e.match(/^\s*import\s+type\s+\{([^}]*)\}\s+from\s+['"]([^'"]+)['"]/),s){let a=s[1],h=s[2],b=a.split(",").map((w)=>w.trim()).filter(Boolean).map((w)=>{let d=w.match(/^(\w+)(?:\s+as\s+(\w+))?$/);return{name:d?.[1]||w,alias:d?.[2]}});return{kind:"type",source:h,named:[],namedTypes:b,original:e}}let n=e.match(/^\s*import\s+/),t=new RegExp(`\\sfrom\\s+['"]([^'"]+)['"]\\s*;?$`),r=e.match(t);if(!n||!r)return;let i=r[1],o=e.slice(n[0].length,r.index).trim(),c,f,g=[],p=[],m=o.match(/\{([^}]*)\}/);if(m){let h=m[1].split(",").map((b)=>b.trim()).filter(Boolean);for(let b of h){let w=/^type\s+/.test(b),C=b.replace(/^type\s+/,"").match(/^(\w+)(?:\s+as\s+(\w+))?$/);if(!C)continue;let E={name:C[1],alias:C[2]};if(w)p.push(E);else g.push(E)}o=o.replace(/\{[\s\S]*?\}/,"").trim()}if(o.length>0){let a=o.split(",").map((h)=>h.trim()).filter(Boolean);for(let h of a)if(h.startsWith("* as "))f=h.slice(5).trim();else if(/^\w+$/.test(h))c=h}return{kind:"value",source:i,defaultName:c,namespaceName:f,named:g,namedTypes:p,original:e}}function ut(e,s){if(Fe.test(s))return gt(e);if(Ue.test(s))return pt(e);return null}function oe(e){try{return JSON.parse(e)}catch{return null}}function P(e,s,n=[]){let t={};for(let i of s)if(Object.prototype.hasOwnProperty.call(e,i))t[i]=e[i];for(let i of n){let o=Object.keys(e).filter((c)=>i.test(c)&&!(c in t)).sort();for(let c of o)t[c]=e[c]}let r=Object.keys(e).filter((i)=>!(i in t)).sort();for(let i of r)t[i]=e[i];return t}function ee(e){let s={};for(let n of Object.keys(e).sort())s[n]=e[n];return s}function gt(e){let s=oe(e);if(!s||typeof s!=="object")return e;let t=P(s,["publisher","name","displayName","type","version","private","packageManager","description","author","contributors","license","funding","homepage","repository","bugs","keywords","categories","sideEffects","imports","exports","main","module","unpkg","jsdelivr","types","typesVersions","bin","icon","files","engines","activationEvents","contributes","scripts","peerDependencies","peerDependenciesMeta","dependencies","optionalDependencies","devDependencies","pnpm","overrides","resolutions","husky","simple-git-hooks","lint-staged","eslintConfig"]);if(Array.isArray(t.files)){if(t.files.every((o)=>typeof o==="string"))t.files=[...t.files].sort()}for(let i of Object.keys(t))if(/^(?:dev|peer|optional|bundled)?[Dd]ependencies(?:Meta)?$/.test(i)||/^(?:resolutions|overrides|pnpm\.overrides)$/.test(i)){if(t[i]&&typeof t[i]==="object")t[i]=ee(t[i])}if(t.pnpm&&typeof t.pnpm==="object"&&t.pnpm.overrides&&typeof t.pnpm.overrides==="object")t.pnpm.overrides=ee(t.pnpm.overrides);if(t.exports&&typeof t.exports==="object"){let i=t.exports,o=["types","import","require","default"];if(!Array.isArray(i)){let c={};for(let f of Object.keys(i)){let g=i[f];if(g&&typeof g==="object"&&!Array.isArray(g))c[f]=P(g,o);else c[f]=g}t.exports=c}}let r=["pre-commit","prepare-commit-msg","commit-msg","post-commit","pre-rebase","post-rewrite","post-checkout","post-merge","pre-push","pre-auto-gc"];for(let i of["gitHooks","husky","simple-git-hooks"])if(t[i]&&typeof t[i]==="object")t[i]=P(t[i],r);return JSON.stringify(t,null,2)}function pt(e){let s=oe(e);if(!s||typeof s!=="object")return e;let t=P(s,["extends","compilerOptions","references","files","include","exclude"]);if(t.compilerOptions&&typeof t.compilerOptions==="object"){let r=["incremental","composite","tsBuildInfoFile","disableSourceOfProjectReferenceRedirect","disableSolutionSearching","disableReferencedProjectLoad","target","jsx","jsxFactory","jsxFragmentFactory","jsxImportSource","lib","moduleDetection","noLib","reactNamespace","useDefineForClassFields","emitDecoratorMetadata","experimentalDecorators","libReplacement","baseUrl","rootDir","rootDirs","customConditions","module","moduleResolution","moduleSuffixes","noResolve","paths","resolveJsonModule","resolvePackageJsonExports","resolvePackageJsonImports","typeRoots","types","allowArbitraryExtensions","allowImportingTsExtensions","allowUmdGlobalAccess","allowJs","checkJs","maxNodeModuleJsDepth","strict","strictBindCallApply","strictFunctionTypes","strictNullChecks","strictPropertyInitialization","allowUnreachableCode","allowUnusedLabels","alwaysStrict","exactOptionalPropertyTypes","noFallthroughCasesInSwitch","noImplicitAny","noImplicitOverride","noImplicitReturns","noImplicitThis","noPropertyAccessFromIndexSignature","noUncheckedIndexedAccess","noUnusedLocals","noUnusedParameters","useUnknownInCatchVariables","declaration","declarationDir","declarationMap","downlevelIteration","emitBOM","emitDeclarationOnly","importHelpers","importsNotUsedAsValues","inlineSourceMap","inlineSources","mapRoot","newLine","noEmit","noEmitHelpers","noEmitOnError","outDir","outFile","preserveConstEnums","preserveValueImports","removeComments","sourceMap","sourceRoot","stripInternal","allowSyntheticDefaultImports","esModuleInterop","forceConsistentCasingInFileNames","isolatedDeclarations","isolatedModules","preserveSymlinks","verbatimModuleSyntax","erasableSyntaxOnly","skipDefaultLibCheck","skipLibCheck"];t.compilerOptions=P(t.compilerOptions,r)}return JSON.stringify(t,null,2)}import{readdirSync as mt,readFileSync as ht,statSync as ae}from"fs";import{extname as yt,isAbsolute as W,join as B,resolve as bt}from"path";var Dt=5;function wt(e){let s="",n=0;while(n<e.length){let t=e[n];if(t==="*")if(e[n+1]==="*"){if(s+=".*",n+=2,e[n]==="/")n++}else s+="[^/]*",n++;else if(t==="?")s+="[^/]",n++;else if(t==="["){let r=e.indexOf("]",n);if(r===-1)s+="\\[",n++;else s+=e.slice(n,r+1),n=r+1}else if(".+^${}()|\\".includes(t))s+=`\\${t}`,n++;else s+=t,n++}return new RegExp(`^${s}$`)}function*le(e,s,n){let t;try{t=mt(e)}catch{return}for(let r of t){if(!n&&r.startsWith("."))continue;let i=B(e,r);if(s(i))continue;let o;try{o=ae(i)}catch{continue}if(o.isDirectory())yield*le(i,s,n);else yield i}}function*ce(e,s,n,t){yield*le(e,z(s,t),n)}async function Ft(e,s={}){let n=s.cwd??process.cwd(),t=s.ignore??[],r=s.dot??!1,i=s.absolute??!0,o=z(t,n);if(typeof globalThis.Bun?.Glob<"u"){let f=globalThis.Bun.Glob,g=[];for(let p of e){let m=new f(p);for await(let a of m.scan({cwd:n,dot:r,onlyFiles:s.onlyFiles??!0,followSymlinks:!1})){let h=W(a)?a:B(n,a),b=h.startsWith(`${n}/`)?h.slice(n.length+1):h;if(o(h))continue;g.push(i?h:b)}}return g}let c=[];for(let f of e){if(!/[*?[{]/.test(f)){let p=W(f)?f:B(n,f);try{if(!ae(p).isDirectory()){let a=p.startsWith(`${n}/`)?p.slice(n.length+1):p;if(!o(p))c.push(i?p:a)}else for(let a of ce(p,t,r,n))c.push(i?a:a.startsWith(`${n}/`)?a.slice(n.length+1):a)}catch{}continue}let g=wt(f);for(let p of ce(n,t,r,n)){let m=p.startsWith(`${n}/`)?p.slice(n.length+1):p;if(g.test(m)||g.test(m.replace(/\\/g,"/")))c.push(i?p:m)}}return c}function Ut(e){let s=0,n=[],t=()=>{if(n.length>0&&s<e)s++,n.shift()()};return(r)=>new Promise((i,o)=>{let c=()=>{r().then((f)=>{s--,i(f),t()},(f)=>{s--,o(f),t()})};if(s<e)s++,c();else n.push(c)})}var St={get TRACE(){return process.env.PICKIER_TRACE==="1"},get TIMEOUT_MS(){return Number(process.env.PICKIER_TIMEOUT_MS||"8000")},get RULE_TIMEOUT_MS(){return Number(process.env.PICKIER_RULE_TIMEOUT_MS||"5000")},get CONCURRENCY(){return Number(process.env.PICKIER_CONCURRENCY)||8},get DIAGNOSTICS(){return process.env.PICKIER_DIAGNOSTICS==="1"},get FAIL_ON_WARNINGS(){return process.env.PICKIER_FAIL_ON_WARNINGS==="1"},get NO_AUTO_CONFIG(){return process.env.PICKIER_NO_AUTO_CONFIG==="1"}},J=["**/node_modules/**","**/.git/**"],xt=["**/node_modules/**","**/dist/**","**/build/**","**/.git/**","**/.next/**","**/.nuxt/**","**/.output/**","**/.vercel/**","**/.netlify/**","**/.cache/**","**/.turbo/**","**/.vscode/**","**/.idea/**","**/.zed/**","**/.cursor/**","**/.claude/**","**/.github/**","**/coverage/**","**/.nyc_output/**","**/.tmp/**","**/.temp/**","**/vendor/**","**/pantry/**","**/target/**","**/zig-cache/**","**/zig-out/**","**/.zig-cache/**","**/__pycache__/**","**/.pytest_cache/**","**/venv/**","**/.venv/**","**/out/**","**/.DS_Store","**/Thumbs.db"];function Gt(e,s){let n=e[s];if(n===void 0){let i=s.indexOf("/");if(i>0){let o=s.slice(0,i),c=s.slice(i+1),f=o==="general"?"pickier":o==="pickier"?"general":null;if(f)n=e[`${f}/${c}`];if(n===void 0)n=e[c]}}let t,r;if(typeof n==="string"){if(n==="error")t="error";else if(n==="warn"||n==="warning")t="warning"}else if(Array.isArray(n)&&typeof n[0]==="string"){let i=n[0];if(i==="error")t="error";else if(i==="warn"||i==="warning")t="warning";r=n[1]}return{enabled:!!t,severity:t,options:r}}function M(e){let s=Array.isArray(e)?e[0]:e;if(typeof s!=="string")return;if(s==="off")return"off";if(s==="error")return"error";if(s==="warn"||s==="warning")return"warning";return}function Wt(e,s,n=[],t){for(let i of[s,...n]){let o=M(e.rules?.[i])??M(e.pluginRules?.[i]);if(o)return o==="off"?void 0:o}let r=M(t);return r==="off"?void 0:r}function Bt(e,s){return M(e.rules?.[s])==="off"||M(e.pluginRules?.[s])==="off"}function T(e,s){return`\x1B[${e}m${s}\x1B[0m`}function Ct(e){return T("32",e)}function Et(e){return T("31",e)}function kt(e){return T("33",e)}function $t(e){return T("34",e)}function Rt(e){return T("90",e)}function _t(e){return T("1",e)}var Jt={green:Ct,red:Et,yellow:kt,blue:$t,gray:Rt,bold:_t};function O(e,s){let n=s.ignores?[...new Set([...e.ignores||[],...s.ignores])]:e.ignores,t={...e.pluginRules||{},...s.pluginRules||{}};if((s.tailwind??e.tailwind)?.enabled&&!Object.prototype.hasOwnProperty.call(t,"pickier/sort-tailwind-classes"))t["pickier/sort-tailwind-classes"]="warn";return{...e,...s,verbose:s.verbose??e.verbose,ignores:n,lint:{...e.lint,...s.lint||{}},format:{...e.format,...s.format||{}},rules:{...e.rules,...s.rules||{}},pluginRules:t}}var G=null;async function Kt(e){if(!e){if(St.NO_AUTO_CONFIG){if(!G)G=O(I,{});return G}try{let{getConfig:t}=await import("./chunk-z7exyj5z.js"),r=await t();return O(I,r)}catch{}return O(I,{})}let s=W(e)?e:bt(process.cwd(),e);if(yt(s).toLowerCase()===".json")try{let t=ht(s,"utf8");return O(I,JSON.parse(t))}catch{return console.warn(`[pickier:warn] Config file not found: ${s}. Using default config values.`),O(I,{})}try{let t=await import(s);return O(I,t.default||t)}catch{return console.warn(`[pickier:warn] Config file not found: ${s}. Using default config values.`),O(I,{})}}function zt(e){return e.map((s)=>{if(/[*?[\]{}()!]/.test(s))return s;if(/\.[A-Z0-9]+$/i.test(s))return s;return`${s.replace(/\/$/,"")}/**/*`})}function Yt(e,s){let n=e.lastIndexOf(".");if(n<0)return!1;let t=e.slice(n);return s.has(t)}function K(e){return e.replace(/\\/g,"/").replace(/\/+/g,"/")}function It(e){let s=[];for(let n of e){let t=K(n.trim());if(!t)continue;let r=t.match(/\*\*\/\*\.(.+)$/);if(r){s.push({raw:t,kind:"extension",value:r[1]});continue}let i=t.match(/\*\*\/(.+?)\/\*\*$/);if(i){s.push({raw:t,kind:"segment",value:i[1]});continue}let o=t.match(/\*\*\/(.+)$/);if(o)s.push({raw:t,kind:"suffix",value:o[1].replace(/\/$/,"")})}return s}function Ht(e){return[...new Set([...J,...e])]}function z(e,s=process.cwd()){let n=It([...J,...e]);if(n.length===0)return()=>!1;let t=new Set([...xt,...J]);return(r)=>{let i=K(r),o=K(s).replace(/\/$/,""),c=i!==o&&!i.startsWith(`${o}/`),f=c?i:i.slice(o.length);for(let g of n){if(c&&!t.has(g.raw))continue;if(g.kind==="extension"){if(f.endsWith(`.${g.value}`))return!0;continue}if(g.kind==="segment"||g.kind==="suffix"){let p=g.value;if(f.includes(`/${p}/`)||f.endsWith(`/${p}`))return!0}}return!1}}function Qt(e,s){return z(s)(e)}
33
33
  export{ue as i,Y as j,Nt as k,vt as l,At as m,at as n,Dt as o,Ft as p,Ut as q,St as r,J as s,xt as t,Gt as u,M as v,Wt as w,Bt as x,T as y,Ct as z,Et as A,kt as B,$t as C,Rt as D,_t as E,Jt as F,O as G,Kt as H,zt as I,Yt as J,Ht as K,z as L,Qt as M};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{h as a}from"./chunk-sj3ctzyt.js";import"./chunk-vdbbvx8x.js";import"./chunk-gy6wyx8t.js";import"./chunk-awmb5sg5.js";export{a as runUnified};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{N as a,O as b,P as c}from"./chunk-3j5z4940.js";import"./chunk-awmb5sg5.js";export{c as config,a as defaultConfig,b as getConfig};
2
+ import{N as a,O as b,P as c}from"./chunk-gy6wyx8t.js";import"./chunk-awmb5sg5.js";export{c as config,a as defaultConfig,b as getConfig};
package/dist/src/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{a as i,b as r,c as t,g as o}from"../chunk-qakf04d3.js";import{h as s}from"../chunk-7z24ymeh.js";import{A as F,B as I,C as O,D as A,E,F as W,G as U,H as q,I as z,J as B,K as D,L as G,M as N,k as m,l as b,m as P,n as C,o as R,p as d,q as y,r as k,s as h,t as v,u as w,v as S,w as L,x as M,y as T,z as j}from"../chunk-b369mtka.js";import{N as e,P as n}from"../chunk-3j5z4940.js";import"../chunk-awmb5sg5.js";export{h as ALWAYS_IGNORES,k as ENV,R as MAX_FIXER_PASSES,v as UNIVERSAL_IGNORES,O as blue,E as bold,T as colorize,W as colors,n as config,G as createIgnoreMatcher,y as createLimiter,e as defaultConfig,b as detectQuoteIssues,z as expandPatterns,m as formatCode,C as formatImports,w as getRuleSetting,d as glob,A as gray,j as green,P as hasIndentIssue,B as isCodeFile,M as isRuleOff,r as lintText,q as loadConfigFromPath,U as mergeConfig,S as normalizeRuleSeverity,F as red,L as resolveRuleSeverity,s as run,i as runFormat,o as runLint,t as runLintProgrammatic,N as shouldIgnorePath,D as withAlwaysIgnores,I as yellow};
2
+ import{a as i,b as r,c as t,g as o}from"../chunk-tskywgx9.js";import{h as s}from"../chunk-sj3ctzyt.js";import{A as F,B as I,C as O,D as A,E,F as W,G as U,H as q,I as z,J as B,K as D,L as G,M as N,k as m,l as b,m as P,n as C,o as R,p as d,q as y,r as k,s as h,t as v,u as w,v as S,w as L,x as M,y as T,z as j}from"../chunk-vdbbvx8x.js";import{N as e,P as n}from"../chunk-gy6wyx8t.js";import"../chunk-awmb5sg5.js";export{h as ALWAYS_IGNORES,k as ENV,R as MAX_FIXER_PASSES,v as UNIVERSAL_IGNORES,O as blue,E as bold,T as colorize,W as colors,n as config,G as createIgnoreMatcher,y as createLimiter,e as defaultConfig,b as detectQuoteIssues,z as expandPatterns,m as formatCode,C as formatImports,w as getRuleSetting,d as glob,A as gray,j as green,P as hasIndentIssue,B as isCodeFile,M as isRuleOff,r as lintText,q as loadConfigFromPath,U as mergeConfig,S as normalizeRuleSeverity,F as red,L as resolveRuleSeverity,s as run,i as runFormat,o as runLint,t as runLintProgrammatic,N as shouldIgnorePath,D as withAlwaysIgnores,I as yellow};
@@ -0,0 +1,2 @@
1
+ import type { RuleModule } from '../../types';
2
+ export declare const noUnusedImportsRule: RuleModule;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pickier",
3
3
  "type": "module",
4
- "version": "0.1.63",
4
+ "version": "0.1.65",
5
5
  "description": "Format, lint and more in a fraction of seconds.",
6
6
  "author": "Chris Breuer <chris@stacksjs.org>",
7
7
  "license": "MIT",
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{h as a}from"./chunk-7z24ymeh.js";import"./chunk-b369mtka.js";import"./chunk-3j5z4940.js";import"./chunk-awmb5sg5.js";export{a as runUnified};