eslint-formatter-sukka 6.12.0 → 6.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";var e,r,t,n,i,o,l=require("node:path"),a=require("node:process"),s=require("picocolors"),u=require("os"),c=require("tty"),f=require("ci-info"),p=require("node:url"),d=require("node:os");function h(e){var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var m=/*#__PURE__*/h(u),y=/*#__PURE__*/h(c);const E=e=>161===e||164===e||167===e||168===e||170===e||173===e||174===e||e>=176&&e<=180||e>=182&&e<=186||e>=188&&e<=191||198===e||208===e||215===e||216===e||e>=222&&e<=225||230===e||e>=232&&e<=234||236===e||237===e||240===e||242===e||243===e||e>=247&&e<=250||252===e||254===e||257===e||273===e||275===e||283===e||294===e||295===e||299===e||e>=305&&e<=307||312===e||e>=319&&e<=322||324===e||e>=328&&e<=331||333===e||338===e||339===e||358===e||359===e||363===e||462===e||464===e||466===e||468===e||470===e||472===e||474===e||476===e||593===e||609===e||708===e||711===e||e>=713&&e<=715||717===e||720===e||e>=728&&e<=731||733===e||735===e||e>=768&&e<=879||e>=913&&e<=929||e>=931&&e<=937||e>=945&&e<=961||e>=963&&e<=969||1025===e||e>=1040&&e<=1103||1105===e||8208===e||e>=8211&&e<=8214||8216===e||8217===e||8220===e||8221===e||e>=8224&&e<=8226||e>=8228&&e<=8231||8240===e||8242===e||8243===e||8245===e||8251===e||8254===e||8308===e||8319===e||e>=8321&&e<=8324||8364===e||8451===e||8453===e||8457===e||8467===e||8470===e||8481===e||8482===e||8486===e||8491===e||8531===e||8532===e||e>=8539&&e<=8542||e>=8544&&e<=8555||e>=8560&&e<=8569||8585===e||e>=8592&&e<=8601||8632===e||8633===e||8658===e||8660===e||8679===e||8704===e||8706===e||8707===e||8711===e||8712===e||8715===e||8719===e||8721===e||8725===e||8730===e||e>=8733&&e<=8736||8739===e||8741===e||e>=8743&&e<=8748||8750===e||e>=8756&&e<=8759||8764===e||8765===e||8776===e||8780===e||8786===e||8800===e||8801===e||e>=8804&&e<=8807||8810===e||8811===e||8814===e||8815===e||8834===e||8835===e||8838===e||8839===e||8853===e||8857===e||8869===e||8895===e||8978===e||e>=9312&&e<=9449||e>=9451&&e<=9547||e>=9552&&e<=9587||e>=9600&&e<=9615||e>=9618&&e<=9621||9632===e||9633===e||e>=9635&&e<=9641||9650===e||9651===e||9654===e||9655===e||9660===e||9661===e||9664===e||9665===e||e>=9670&&e<=9672||9675===e||e>=9678&&e<=9681||e>=9698&&e<=9701||9711===e||9733===e||9734===e||9737===e||9742===e||9743===e||9756===e||9758===e||9792===e||9794===e||9824===e||9825===e||e>=9827&&e<=9829||e>=9831&&e<=9834||9836===e||9837===e||9839===e||9886===e||9887===e||9919===e||e>=9926&&e<=9933||e>=9935&&e<=9939||e>=9941&&e<=9953||9955===e||9960===e||9961===e||e>=9963&&e<=9969||9972===e||e>=9974&&e<=9977||9979===e||9980===e||9982===e||9983===e||10045===e||e>=10102&&e<=10111||e>=11094&&e<=11097||e>=12872&&e<=12879||e>=57344&&e<=63743||e>=65024&&e<=65039||65533===e||e>=127232&&e<=127242||e>=127248&&e<=127277||e>=127280&&e<=127337||e>=127344&&e<=127373||127375===e||127376===e||e>=127387&&e<=127404||e>=917760&&e<=917999||e>=983040&&e<=1048573||e>=1048576&&e<=1114109,O=e=>12288===e||e>=65281&&e<=65376||e>=65504&&e<=65510,g=e=>e>=4352&&e<=4447||8986===e||8987===e||9001===e||9002===e||e>=9193&&e<=9196||9200===e||9203===e||9725===e||9726===e||9748===e||9749===e||e>=9800&&e<=9811||9855===e||9875===e||9889===e||9898===e||9899===e||9917===e||9918===e||9924===e||9925===e||9934===e||9940===e||9962===e||9970===e||9971===e||9973===e||9978===e||9981===e||9989===e||9994===e||9995===e||10024===e||10060===e||10062===e||e>=10067&&e<=10069||10071===e||e>=10133&&e<=10135||10160===e||10175===e||11035===e||11036===e||11088===e||11093===e||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||94192===e||94193===e||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||110589===e||110590===e||e>=110592&&e<=110882||110898===e||e>=110928&&e<=110930||110933===e||e>=110948&&e<=110951||e>=110960&&e<=111355||126980===e||127183===e||127374===e||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||127568===e||127569===e||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||127988===e||e>=127992&&e<=128062||128064===e||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||128378===e||128405===e||128406===e||128420===e||e>=128507&&e<=128591||e>=128640&&e<=128709||128716===e||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||128747===e||128748===e||e>=128756&&e<=128764||e>=128992&&e<=129003||129008===e||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141,C=/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/y,I=/[\x00-\x1F\x7F-\x9F]{1,1000}/y,x=/(?:\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation}|\p{Emoji}\uFE0F)(?:\u200d(?:\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation}|\p{Emoji}\uFE0F))*/yu,b=/[\x20-\x7E\xA0-\xFF]{1,1000}/y,R=/\p{M}+/gu,M={limit:1/0,ellipsis:""},v=(e,r={},t={})=>{let n=r.limit??1/0,i=r.ellipsis??"",o=r?.ellipsisWidth??(i?v(i,M,t).width:0),l=t.ansiWidth??0,a=t.controlWidth??0,s=t.ambiguousWidth??1,u=t.emojiWidth??2,c=t.fullWidthWidth??2,f=t.regularWidth??1,p=t.wideWidth??2,d=0,h=0,m=e.length,y=0,j=!1,T=m,_=Math.max(0,n-o),w=0,F=0,A=0,P=0;e:for(;;){if(F>w||h>=m&&h>d){for(let r of(y=0,(e.slice(w,F)||e.slice(d,h)).replaceAll(R,""))){let e=r.codePointAt(0)||0;if(A+(P=O(e)?c:g(e)?p:s!==f&&E(e)?s:f)>_&&(T=Math.min(T,Math.max(w,d)+y)),A+P>n){j=!0;break e}y+=r.length,A+=P}w=F=0}if(h>=m)break;if(b.lastIndex=h,b.test(e)){if(A+(P=(y=b.lastIndex-h)*f)>_&&(T=Math.min(T,h+Math.floor((_-A)/f))),A+P>n){j=!0;break}A+=P,w=d,F=h,h=d=b.lastIndex;continue}if(C.lastIndex=h,C.test(e)){if(A+l>_&&(T=Math.min(T,h)),A+l>n){j=!0;break}A+=l,w=d,F=h,h=d=C.lastIndex;continue}if(I.lastIndex=h,I.test(e)){if(A+(P=(y=I.lastIndex-h)*a)>_&&(T=Math.min(T,h+Math.floor((_-A)/a))),A+P>n){j=!0;break}A+=P,w=d,F=h,h=d=I.lastIndex;continue}if(x.lastIndex=h,x.test(e)){if(A+u>_&&(T=Math.min(T,h)),A+u>n){j=!0;break}A+=u,w=d,F=h,h=d=x.lastIndex;continue}h+=1}return{width:j?_:A,index:j?T:m,truncated:j,ellipsed:j&&n>=o}},j={limit:1/0,ellipsis:""},T=(e,r={})=>v(e,j,r).width;function _(e){if(e.__esModule)return e;var r=e.default;if("function"==typeof r){var t=function e(){return this instanceof e?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};t.prototype=r.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}),t}var w=/*@__PURE__*/_(m),F=/*@__PURE__*/_(y);function A(){return r?e:(r=1,e=(e,r=process.argv)=>{let t=e.startsWith("-")?"":1===e.length?"-":"--",n=r.indexOf(t+e),i=r.indexOf("--");return -1!==n&&(-1===i||n<i)})}var P=/*@__PURE__*/function(){if(o)return i;o=1;let e=function(){let e;if(n)return t;n=1;let r=A(),{env:i}=process;function o(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function l(t,n){if(0===e)return 0;if(r("color=16m")||r("color=full")||r("color=truecolor"))return 3;if(r("color=256"))return 2;if(t&&!n&&void 0===e)return 0;let o=e||0;if("dumb"===i.TERM)return o;if("win32"===process.platform){let e=w.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(e=>e in i)||"codeship"===i.CI_NAME?1:o;if("TEAMCITY_VERSION"in i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0;if("truecolor"===i.COLORTERM)return 3;if("TERM_PROGRAM"in i){let e=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)||"COLORTERM"in i?1:o}return r("no-color")||r("no-colors")||r("color=false")||r("color=never")?e=0:(r("color")||r("colors")||r("color=true")||r("color=always"))&&(e=1),"FORCE_COLOR"in i&&(e="true"===i.FORCE_COLOR?1:"false"===i.FORCE_COLOR?0:0===i.FORCE_COLOR.length?1:Math.min(parseInt(i.FORCE_COLOR,10),3)),t={supportsColor:function(e){return o(l(e,e&&e.isTTY))},stdout:o(l(!0,F.isatty(1))),stderr:o(l(!0,F.isatty(2)))}}(),r=A();function l(e){if(/^\d{3,4}$/.test(e)){let r=/(\d{1,2})(\d{2})/.exec(e)||[];return{major:0,minor:parseInt(r[1],10),patch:parseInt(r[2],10)}}let r=(e||"").split(".").map(e=>parseInt(e,10));return{major:r[0],minor:r[1],patch:r[2]}}function a(t){let{CI:n,FORCE_HYPERLINK:i,NETLIFY:o,TEAMCITY_VERSION:a,TERM_PROGRAM:s,TERM_PROGRAM_VERSION:u,VTE_VERSION:c}=process.env;if(i)return!(i.length>0&&0===parseInt(i,10));if(r("no-hyperlink")||r("no-hyperlinks")||r("hyperlink=false")||r("hyperlink=never"))return!1;if(r("hyperlink=true")||r("hyperlink=always")||o)return!0;if(!e.supportsColor(t)||t&&!t.isTTY)return!1;if("WT_SESSION"in process.env)return!0;if("win32"===process.platform||n||a)return!1;if(s){let e=l(u||"");switch(s){case"iTerm.app":if(3===e.major)return e.minor>=1;return e.major>3;case"WezTerm":return e.major>=0x1343cac;case"vscode":return e.major>1||1===e.major&&e.minor>=72}}if(c){if("0.50.0"===c)return!1;let e=l(c);return e.major>0||e.minor>=50}return!1}return i={supportsHyperlink:a,stdout:a(process.stdout),stderr:a(process.stderr)}}();function k(e,r,t={}){return"\x1b]8;"+Object.keys(t).map(e=>e+"="+t[e]).join(":")+";"+r+"\x07"+e+"\x1b]8;;\x07"}const W={type:"separator"};module.exports=(e,r)=>{let t=[],n=0,i=0,o=0,u=0,c=0,h={},m=0,y=0,E=0,O=!1;e.sort((e,r)=>e.errorCount===r.errorCount?r.warningCount-e.warningCount:0===e.errorCount?-1:0===r.errorCount?1:r.errorCount-e.errorCount).forEach(e=>{let{messages:r,filePath:a,usedDeprecatedRules:f}=e;if(0===r.length)return;n+=e.errorCount,i+=e.warningCount,o+=e.fatalErrorCount,u+=e.fixableWarningCount,c+=e.fixableErrorCount,f.forEach(e=>{var r;h[r=e.ruleId]||(h[r]=e.replacedBy)}),0!==t.length&&t.push(W);let p=r.find(({severity:e})=>2===e)||r[0];t.push({type:"header",filePath:a,relativeFilePath:l.relative(".",a),firstLineCol:`${p.line}:${p.column}`}),r.sort((e,r)=>e.fatal===r.fatal&&e.severity===r.severity?e.line===r.line?e.column<r.column?-1:1:e.line<r.line?-1:1:(e.fatal||2===e.severity)&&(!r.fatal||2!==r.severity)?1:-1).forEach(e=>{let r=e.message.replaceAll(/\B`(.*?)`\B|\B'(.*?)'\B/g,(e,r,t)=>s.bold(r||t)),n=String(e.line||0),i=String(e.column||0),o=T(n),l=T(i),a=T(r);o>m&&(m=o),l>y&&(y=l),a>E&&(E=a),O||(O=e.line||e.column),t.push({type:"message",severity:e.fatal?"fatal":2===e.severity||"error"===e.severity?"error":"warning",line:n,lineWidth:o,column:i,columnWidth:l,message:r,messageWidth:a,ruleId:e.ruleId||""})})});let g="\n";a.stdout.isTTY&&!f.isCI&&(g+=function(e=a.cwd()){return"\x1b]50;CurrentDir="+e+"\x07"}());let C=!f.isCI&&P.supportsHyperlink(a.stdout),I=d.hostname(),x=a.env.GNOME_TERMINAL_SCREEN;g+=`${t.map(e=>{if("header"===e.type){let r=O?s.hidden(s.dim(s.gray(`:${e.firstLineCol}`))):"";if(x){let t=p.pathToFileURL(e.filePath,{});return t.hostname=I,k(e.relativeFilePath,t.href)+r}return s.underline(e.relativeFilePath)+r}if("message"===e.type){let t;try{r&&"rulesMeta"in r&&(t=r.rulesMeta[e.ruleId].docs?.url)}catch{}let n=["","warning"===e.severity?s.yellow("warn "):s.red("error")," ".repeat(m-e.lineWidth)+s.dim(e.line+s.gray(":")+e.column)," ".repeat(y-e.columnWidth)+e.message," ".repeat(E-e.messageWidth)+(t&&C?k(s.dim(e.ruleId),t):s.dim(e.ruleId))];return O||n.splice(2,1),n.join(" ")}return""}).join("\n")}
1
+ "use strict";var e,r,t,n,i,o,l=require("node:path"),a=require("node:process"),s=require("picocolors"),u=require("os"),c=require("tty"),f=require("ci-info"),p=require("node:url"),d=require("node:os");function h(e){var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var m=h(u),y=h(c);const E=e=>161===e||164===e||167===e||168===e||170===e||173===e||174===e||e>=176&&e<=180||e>=182&&e<=186||e>=188&&e<=191||198===e||208===e||215===e||216===e||e>=222&&e<=225||230===e||e>=232&&e<=234||236===e||237===e||240===e||242===e||243===e||e>=247&&e<=250||252===e||254===e||257===e||273===e||275===e||283===e||294===e||295===e||299===e||e>=305&&e<=307||312===e||e>=319&&e<=322||324===e||e>=328&&e<=331||333===e||338===e||339===e||358===e||359===e||363===e||462===e||464===e||466===e||468===e||470===e||472===e||474===e||476===e||593===e||609===e||708===e||711===e||e>=713&&e<=715||717===e||720===e||e>=728&&e<=731||733===e||735===e||e>=768&&e<=879||e>=913&&e<=929||e>=931&&e<=937||e>=945&&e<=961||e>=963&&e<=969||1025===e||e>=1040&&e<=1103||1105===e||8208===e||e>=8211&&e<=8214||8216===e||8217===e||8220===e||8221===e||e>=8224&&e<=8226||e>=8228&&e<=8231||8240===e||8242===e||8243===e||8245===e||8251===e||8254===e||8308===e||8319===e||e>=8321&&e<=8324||8364===e||8451===e||8453===e||8457===e||8467===e||8470===e||8481===e||8482===e||8486===e||8491===e||8531===e||8532===e||e>=8539&&e<=8542||e>=8544&&e<=8555||e>=8560&&e<=8569||8585===e||e>=8592&&e<=8601||8632===e||8633===e||8658===e||8660===e||8679===e||8704===e||8706===e||8707===e||8711===e||8712===e||8715===e||8719===e||8721===e||8725===e||8730===e||e>=8733&&e<=8736||8739===e||8741===e||e>=8743&&e<=8748||8750===e||e>=8756&&e<=8759||8764===e||8765===e||8776===e||8780===e||8786===e||8800===e||8801===e||e>=8804&&e<=8807||8810===e||8811===e||8814===e||8815===e||8834===e||8835===e||8838===e||8839===e||8853===e||8857===e||8869===e||8895===e||8978===e||e>=9312&&e<=9449||e>=9451&&e<=9547||e>=9552&&e<=9587||e>=9600&&e<=9615||e>=9618&&e<=9621||9632===e||9633===e||e>=9635&&e<=9641||9650===e||9651===e||9654===e||9655===e||9660===e||9661===e||9664===e||9665===e||e>=9670&&e<=9672||9675===e||e>=9678&&e<=9681||e>=9698&&e<=9701||9711===e||9733===e||9734===e||9737===e||9742===e||9743===e||9756===e||9758===e||9792===e||9794===e||9824===e||9825===e||e>=9827&&e<=9829||e>=9831&&e<=9834||9836===e||9837===e||9839===e||9886===e||9887===e||9919===e||e>=9926&&e<=9933||e>=9935&&e<=9939||e>=9941&&e<=9953||9955===e||9960===e||9961===e||e>=9963&&e<=9969||9972===e||e>=9974&&e<=9977||9979===e||9980===e||9982===e||9983===e||10045===e||e>=10102&&e<=10111||e>=11094&&e<=11097||e>=12872&&e<=12879||e>=57344&&e<=63743||e>=65024&&e<=65039||65533===e||e>=127232&&e<=127242||e>=127248&&e<=127277||e>=127280&&e<=127337||e>=127344&&e<=127373||127375===e||127376===e||e>=127387&&e<=127404||e>=917760&&e<=917999||e>=983040&&e<=1048573||e>=1048576&&e<=1114109,O=e=>12288===e||e>=65281&&e<=65376||e>=65504&&e<=65510,g=e=>e>=4352&&e<=4447||8986===e||8987===e||9001===e||9002===e||e>=9193&&e<=9196||9200===e||9203===e||9725===e||9726===e||9748===e||9749===e||e>=9800&&e<=9811||9855===e||9875===e||9889===e||9898===e||9899===e||9917===e||9918===e||9924===e||9925===e||9934===e||9940===e||9962===e||9970===e||9971===e||9973===e||9978===e||9981===e||9989===e||9994===e||9995===e||10024===e||10060===e||10062===e||e>=10067&&e<=10069||10071===e||e>=10133&&e<=10135||10160===e||10175===e||11035===e||11036===e||11088===e||11093===e||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||94192===e||94193===e||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||110589===e||110590===e||e>=110592&&e<=110882||110898===e||e>=110928&&e<=110930||110933===e||e>=110948&&e<=110951||e>=110960&&e<=111355||126980===e||127183===e||127374===e||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||127568===e||127569===e||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||127988===e||e>=127992&&e<=128062||128064===e||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||128378===e||128405===e||128406===e||128420===e||e>=128507&&e<=128591||e>=128640&&e<=128709||128716===e||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||128747===e||128748===e||e>=128756&&e<=128764||e>=128992&&e<=129003||129008===e||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141,C=/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/y,I=/[\x00-\x1F\x7F-\x9F]{1,1000}/y,R=/(?:\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation}|\p{Emoji}\uFE0F)(?:\u200d(?:\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation}|\p{Emoji}\uFE0F))*/yu,x=/[\x20-\x7E\xA0-\xFF]{1,1000}/y,b=/\p{M}+/gu,M={limit:1/0,ellipsis:""},v=(e,r={},t={})=>{let n=r.limit??1/0,i=r.ellipsis??"",o=r?.ellipsisWidth??(i?v(i,M,t).width:0),l=t.ansiWidth??0,a=t.controlWidth??0,s=t.ambiguousWidth??1,u=t.emojiWidth??2,c=t.fullWidthWidth??2,f=t.regularWidth??1,p=t.wideWidth??2,d=0,h=0,m=e.length,y=0,j=!1,T=m,_=Math.max(0,n-o),w=0,A=0,F=0,P=0;e:for(;;){if(A>w||h>=m&&h>d){for(let r of(y=0,(e.slice(w,A)||e.slice(d,h)).replaceAll(b,""))){let e=r.codePointAt(0)||0;if(F+(P=O(e)?c:g(e)?p:s!==f&&E(e)?s:f)>_&&(T=Math.min(T,Math.max(w,d)+y)),F+P>n){j=!0;break e}y+=r.length,F+=P}w=A=0}if(h>=m)break;if(x.lastIndex=h,x.test(e)){if(F+(P=(y=x.lastIndex-h)*f)>_&&(T=Math.min(T,h+Math.floor((_-F)/f))),F+P>n){j=!0;break}F+=P,w=d,A=h,h=d=x.lastIndex;continue}if(C.lastIndex=h,C.test(e)){if(F+l>_&&(T=Math.min(T,h)),F+l>n){j=!0;break}F+=l,w=d,A=h,h=d=C.lastIndex;continue}if(I.lastIndex=h,I.test(e)){if(F+(P=(y=I.lastIndex-h)*a)>_&&(T=Math.min(T,h+Math.floor((_-F)/a))),F+P>n){j=!0;break}F+=P,w=d,A=h,h=d=I.lastIndex;continue}if(R.lastIndex=h,R.test(e)){if(F+u>_&&(T=Math.min(T,h)),F+u>n){j=!0;break}F+=u,w=d,A=h,h=d=R.lastIndex;continue}h+=1}return{width:j?_:F,index:j?T:m,truncated:j,ellipsed:j&&n>=o}},j={limit:1/0,ellipsis:""},T=(e,r={})=>v(e,j,r).width;function _(e){if(e.__esModule)return e;var r=e.default;if("function"==typeof r){var t=function e(){return this instanceof e?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};t.prototype=r.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}),t}var w=_(m),A=_(y);function F(){return r?e:(r=1,e=(e,r=process.argv)=>{let t=e.startsWith("-")?"":1===e.length?"-":"--",n=r.indexOf(t+e),i=r.indexOf("--");return -1!==n&&(-1===i||n<i)})}var P=function(){if(o)return i;o=1;let e=function(){let e;if(n)return t;n=1;let r=F(),{env:i}=process;function o(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function l(t,n){if(0===e)return 0;if(r("color=16m")||r("color=full")||r("color=truecolor"))return 3;if(r("color=256"))return 2;if(t&&!n&&void 0===e)return 0;let o=e||0;if("dumb"===i.TERM)return o;if("win32"===process.platform){let e=w.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(e=>e in i)||"codeship"===i.CI_NAME?1:o;if("TEAMCITY_VERSION"in i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0;if("truecolor"===i.COLORTERM)return 3;if("TERM_PROGRAM"in i){let e=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)||"COLORTERM"in i?1:o}return r("no-color")||r("no-colors")||r("color=false")||r("color=never")?e=0:(r("color")||r("colors")||r("color=true")||r("color=always"))&&(e=1),"FORCE_COLOR"in i&&(e="true"===i.FORCE_COLOR?1:"false"===i.FORCE_COLOR?0:0===i.FORCE_COLOR.length?1:Math.min(parseInt(i.FORCE_COLOR,10),3)),t={supportsColor:function(e){return o(l(e,e&&e.isTTY))},stdout:o(l(!0,A.isatty(1))),stderr:o(l(!0,A.isatty(2)))}}(),r=F();function l(e){if(/^\d{3,4}$/.test(e)){let r=/(\d{1,2})(\d{2})/.exec(e)||[];return{major:0,minor:parseInt(r[1],10),patch:parseInt(r[2],10)}}let r=(e||"").split(".").map(e=>parseInt(e,10));return{major:r[0],minor:r[1],patch:r[2]}}function a(t){let{CI:n,FORCE_HYPERLINK:i,NETLIFY:o,TEAMCITY_VERSION:a,TERM_PROGRAM:s,TERM_PROGRAM_VERSION:u,VTE_VERSION:c}=process.env;if(i)return!(i.length>0&&0===parseInt(i,10));if(r("no-hyperlink")||r("no-hyperlinks")||r("hyperlink=false")||r("hyperlink=never"))return!1;if(r("hyperlink=true")||r("hyperlink=always")||o)return!0;if(!e.supportsColor(t)||t&&!t.isTTY)return!1;if("WT_SESSION"in process.env)return!0;if("win32"===process.platform||n||a)return!1;if(s){let e=l(u||"");switch(s){case"iTerm.app":if(3===e.major)return e.minor>=1;return e.major>3;case"WezTerm":return e.major>=0x1343cac;case"vscode":return e.major>1||1===e.major&&e.minor>=72}}if(c){if("0.50.0"===c)return!1;let e=l(c);return e.major>0||e.minor>=50}return!1}return i={supportsHyperlink:a,stdout:a(process.stdout),stderr:a(process.stderr)}}();function k(e,r,t={}){return"\x1b]8;"+Object.keys(t).map(e=>e+"="+t[e]).join(":")+";"+r+"\x07"+e+"\x1b]8;;\x07"}const W={type:"separator"};module.exports=(e,r)=>{let t=[],n=0,i=0,o=0,u=0,c=0,h={},m=0,y=0,E=0,O=!1;e.sort((e,r)=>e.errorCount===r.errorCount?r.warningCount-e.warningCount:0===e.errorCount?-1:0===r.errorCount?1:r.errorCount-e.errorCount).forEach(e=>{let{messages:r,filePath:a,usedDeprecatedRules:f}=e;if(0===r.length)return;n+=e.errorCount,i+=e.warningCount,o+=e.fatalErrorCount,u+=e.fixableWarningCount,c+=e.fixableErrorCount,f.forEach(e=>{var r;h[r=e.ruleId]||(h[r]=e.replacedBy)}),0!==t.length&&t.push(W);let p=r.find(({severity:e})=>2===e)||r[0];t.push({type:"header",filePath:a,relativeFilePath:l.relative(".",a),firstLineCol:`${p.line}:${p.column}`}),r.sort((e,r)=>e.fatal===r.fatal&&e.severity===r.severity?e.line===r.line?e.column<r.column?-1:1:e.line<r.line?-1:1:(e.fatal||2===e.severity)&&(!r.fatal||2!==r.severity)?1:-1).forEach(e=>{let r=e.message.replaceAll(/\B`(.*?)`\B|\B'(.*?)'\B/g,(e,r,t)=>s.bold(r||t)),n=String(e.line||0),i=String(e.column||0),o=T(n),l=T(i),a=T(r);o>m&&(m=o),l>y&&(y=l),a>E&&(E=a),O||(O=e.line||e.column),t.push({type:"message",severity:e.fatal?"fatal":2===e.severity||"error"===e.severity?"error":"warning",line:n,lineWidth:o,column:i,columnWidth:l,message:r,messageWidth:a,ruleId:e.ruleId||""})})});let g="\n";a.stdout.isTTY&&!f.isCI&&"iTerm.app"===a.env.TERM_PROGRAM&&(g+=function(e=a.cwd()){return"\x1b]50;CurrentDir="+e+"\x07"}());let C=!f.isCI&&P.supportsHyperlink(a.stdout),I=d.hostname(),R=a.env.GNOME_TERMINAL_SCREEN;g+=`${t.map(e=>{if("header"===e.type){let r=O?s.hidden(s.dim(s.gray(`:${e.firstLineCol}`))):"";if(R){let t=p.pathToFileURL(e.filePath,{});return t.hostname=I,k(e.relativeFilePath,t.href)+r}return s.underline(e.relativeFilePath)+r}if("message"===e.type){let t;try{r&&"rulesMeta"in r&&(t=r.rulesMeta[e.ruleId].docs?.url)}catch{}let n=["","warning"===e.severity?s.yellow("warn "):s.red("error")," ".repeat(m-e.lineWidth)+s.dim(e.line+s.gray(":")+e.column)," ".repeat(y-e.columnWidth)+e.message," ".repeat(E-e.messageWidth)+(t&&C?k(s.dim(e.ruleId),t):s.dim(e.ruleId))];return O||n.splice(2,1),n.join(" ")}return""}).join("\n")}
2
2
 
3
- `;let b=Object.entries(h),R=b.length,M=Object.entries({problem:[!0,n+i+o],warning:[!0,i>0?s.yellow(i):s.green(0)],error:[!0,n>0?s.red(n):s.green(0)],fatal:[o>0,s.red(o)],fixable:[c+u>0,c+u],deprecated:[R>0,s.bold(s.gray(R))]}).filter(([,[e]])=>e),v=Math.max(...M.map(([e])=>e.length));return M.forEach(e=>{let[r,[,t]]=e;g+=`${" ".repeat(v-r.length)}${s.bold(`${r}:`)} ${t}
4
- `}),R>0&&b.forEach(([e,r])=>{g+="\n",g+=`${s.gray("deprecated:")} ${e}`,g+=r.length>0?s.gray(` (replaced by ${r.map(s.white).join(", ")})`):""}),g+="\n",n+i+o+R>0?g:""};
3
+ `;let x=Object.entries(h),b=x.length,M=Object.entries({problem:[!0,n+i+o],warning:[!0,i>0?s.yellow(i):s.green(0)],error:[!0,n>0?s.red(n):s.green(0)],fatal:[o>0,s.red(o)],fixable:[c+u>0,c+u],deprecated:[b>0,s.bold(s.gray(b))]}).filter(([,[e]])=>e),v=Math.max(...M.map(([e])=>e.length));return M.forEach(e=>{let[r,[,t]]=e;g+=`${" ".repeat(v-r.length)}${s.bold(`${r}:`)} ${t}
4
+ `}),b>0&&x.forEach(([e,r])=>{g+="\n",g+=`${s.gray("deprecated:")} ${e}`,g+=r.length>0?s.gray(` (replaced by ${r.map(s.white).join(", ")})`):""}),g+="\n",n+i+o+b>0?g:""};
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import e from"node:path";import r from"node:process";import t from"picocolors";import*as n from"os";import*as i from"tty";import{isCI as o}from"ci-info";import{pathToFileURL as l}from"node:url";import{hostname as a}from"node:os";let s=e=>161===e||164===e||167===e||168===e||170===e||173===e||174===e||e>=176&&e<=180||e>=182&&e<=186||e>=188&&e<=191||198===e||208===e||215===e||216===e||e>=222&&e<=225||230===e||e>=232&&e<=234||236===e||237===e||240===e||242===e||243===e||e>=247&&e<=250||252===e||254===e||257===e||273===e||275===e||283===e||294===e||295===e||299===e||e>=305&&e<=307||312===e||e>=319&&e<=322||324===e||e>=328&&e<=331||333===e||338===e||339===e||358===e||359===e||363===e||462===e||464===e||466===e||468===e||470===e||472===e||474===e||476===e||593===e||609===e||708===e||711===e||e>=713&&e<=715||717===e||720===e||e>=728&&e<=731||733===e||735===e||e>=768&&e<=879||e>=913&&e<=929||e>=931&&e<=937||e>=945&&e<=961||e>=963&&e<=969||1025===e||e>=1040&&e<=1103||1105===e||8208===e||e>=8211&&e<=8214||8216===e||8217===e||8220===e||8221===e||e>=8224&&e<=8226||e>=8228&&e<=8231||8240===e||8242===e||8243===e||8245===e||8251===e||8254===e||8308===e||8319===e||e>=8321&&e<=8324||8364===e||8451===e||8453===e||8457===e||8467===e||8470===e||8481===e||8482===e||8486===e||8491===e||8531===e||8532===e||e>=8539&&e<=8542||e>=8544&&e<=8555||e>=8560&&e<=8569||8585===e||e>=8592&&e<=8601||8632===e||8633===e||8658===e||8660===e||8679===e||8704===e||8706===e||8707===e||8711===e||8712===e||8715===e||8719===e||8721===e||8725===e||8730===e||e>=8733&&e<=8736||8739===e||8741===e||e>=8743&&e<=8748||8750===e||e>=8756&&e<=8759||8764===e||8765===e||8776===e||8780===e||8786===e||8800===e||8801===e||e>=8804&&e<=8807||8810===e||8811===e||8814===e||8815===e||8834===e||8835===e||8838===e||8839===e||8853===e||8857===e||8869===e||8895===e||8978===e||e>=9312&&e<=9449||e>=9451&&e<=9547||e>=9552&&e<=9587||e>=9600&&e<=9615||e>=9618&&e<=9621||9632===e||9633===e||e>=9635&&e<=9641||9650===e||9651===e||9654===e||9655===e||9660===e||9661===e||9664===e||9665===e||e>=9670&&e<=9672||9675===e||e>=9678&&e<=9681||e>=9698&&e<=9701||9711===e||9733===e||9734===e||9737===e||9742===e||9743===e||9756===e||9758===e||9792===e||9794===e||9824===e||9825===e||e>=9827&&e<=9829||e>=9831&&e<=9834||9836===e||9837===e||9839===e||9886===e||9887===e||9919===e||e>=9926&&e<=9933||e>=9935&&e<=9939||e>=9941&&e<=9953||9955===e||9960===e||9961===e||e>=9963&&e<=9969||9972===e||e>=9974&&e<=9977||9979===e||9980===e||9982===e||9983===e||10045===e||e>=10102&&e<=10111||e>=11094&&e<=11097||e>=12872&&e<=12879||e>=57344&&e<=63743||e>=65024&&e<=65039||65533===e||e>=127232&&e<=127242||e>=127248&&e<=127277||e>=127280&&e<=127337||e>=127344&&e<=127373||127375===e||127376===e||e>=127387&&e<=127404||e>=917760&&e<=917999||e>=983040&&e<=1048573||e>=1048576&&e<=1114109,u=e=>12288===e||e>=65281&&e<=65376||e>=65504&&e<=65510,f=e=>e>=4352&&e<=4447||8986===e||8987===e||9001===e||9002===e||e>=9193&&e<=9196||9200===e||9203===e||9725===e||9726===e||9748===e||9749===e||e>=9800&&e<=9811||9855===e||9875===e||9889===e||9898===e||9899===e||9917===e||9918===e||9924===e||9925===e||9934===e||9940===e||9962===e||9970===e||9971===e||9973===e||9978===e||9981===e||9989===e||9994===e||9995===e||10024===e||10060===e||10062===e||e>=10067&&e<=10069||10071===e||e>=10133&&e<=10135||10160===e||10175===e||11035===e||11036===e||11088===e||11093===e||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||94192===e||94193===e||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||110589===e||110590===e||e>=110592&&e<=110882||110898===e||e>=110928&&e<=110930||110933===e||e>=110948&&e<=110951||e>=110960&&e<=111355||126980===e||127183===e||127374===e||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||127568===e||127569===e||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||127988===e||e>=127992&&e<=128062||128064===e||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||128378===e||128405===e||128406===e||128420===e||e>=128507&&e<=128591||e>=128640&&e<=128709||128716===e||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||128747===e||128748===e||e>=128756&&e<=128764||e>=128992&&e<=129003||129008===e||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141,c=/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/y,p=/[\x00-\x1F\x7F-\x9F]{1,1000}/y,d=/(?:\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation}|\p{Emoji}\uFE0F)(?:\u200d(?:\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation}|\p{Emoji}\uFE0F))*/yu,m=/[\x20-\x7E\xA0-\xFF]{1,1000}/y,h=/\p{M}+/gu,y={limit:1/0,ellipsis:""},E=(e,r={},t={})=>{let n=r.limit??1/0,i=r.ellipsis??"",o=r?.ellipsisWidth??(i?E(i,y,t).width:0),l=t.ansiWidth??0,a=t.controlWidth??0,g=t.ambiguousWidth??1,C=t.emojiWidth??2,I=t.fullWidthWidth??2,O=t.regularWidth??1,x=t.wideWidth??2,M=0,R=0,b=e.length,v=0,_=!1,T=b,j=Math.max(0,n-o),w=0,A=0,F=0,W=0;e:for(;;){if(A>w||R>=b&&R>M){for(let r of(v=0,(e.slice(w,A)||e.slice(M,R)).replaceAll(h,""))){let e=r.codePointAt(0)||0;if(F+(W=u(e)?I:f(e)?x:g!==O&&s(e)?g:O)>j&&(T=Math.min(T,Math.max(w,M)+v)),F+W>n){_=!0;break e}v+=r.length,F+=W}w=A=0}if(R>=b)break;if(m.lastIndex=R,m.test(e)){if(F+(W=(v=m.lastIndex-R)*O)>j&&(T=Math.min(T,R+Math.floor((j-F)/O))),F+W>n){_=!0;break}F+=W,w=M,A=R,R=M=m.lastIndex;continue}if(c.lastIndex=R,c.test(e)){if(F+l>j&&(T=Math.min(T,R)),F+l>n){_=!0;break}F+=l,w=M,A=R,R=M=c.lastIndex;continue}if(p.lastIndex=R,p.test(e)){if(F+(W=(v=p.lastIndex-R)*a)>j&&(T=Math.min(T,R+Math.floor((j-F)/a))),F+W>n){_=!0;break}F+=W,w=M,A=R,R=M=p.lastIndex;continue}if(d.lastIndex=R,d.test(e)){if(F+C>j&&(T=Math.min(T,R)),F+C>n){_=!0;break}F+=C,w=M,A=R,R=M=d.lastIndex;continue}R+=1}return{width:_?j:F,index:_?T:b,truncated:_,ellipsed:_&&n>=o}},g={limit:1/0,ellipsis:""},C=(e,r={})=>E(e,g,r).width;function I(e){if(e.__esModule)return e;var r=e.default;if("function"==typeof r){var t=function e(){return this instanceof e?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};t.prototype=r.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}),t}var O,x,M,R,b,v,_=/*@__PURE__*/I(n),T=/*@__PURE__*/I(i);function j(){return x?O:(x=1,O=(e,r=process.argv)=>{let t=e.startsWith("-")?"":1===e.length?"-":"--",n=r.indexOf(t+e),i=r.indexOf("--");return -1!==n&&(-1===i||n<i)})}var w=/*@__PURE__*/function(){if(v)return b;v=1;let e=function(){let e;if(R)return M;R=1;let r=j(),{env:t}=process;function n(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function i(n,i){if(0===e)return 0;if(r("color=16m")||r("color=full")||r("color=truecolor"))return 3;if(r("color=256"))return 2;if(n&&!i&&void 0===e)return 0;let o=e||0;if("dumb"===t.TERM)return o;if("win32"===process.platform){let e=_.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in t)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(e=>e in t)||"codeship"===t.CI_NAME?1:o;if("TEAMCITY_VERSION"in t)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(t.TEAMCITY_VERSION)?1:0;if("truecolor"===t.COLORTERM)return 3;if("TERM_PROGRAM"in t){let e=parseInt((t.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(t.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(t.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(t.TERM)||"COLORTERM"in t?1:o}return r("no-color")||r("no-colors")||r("color=false")||r("color=never")?e=0:(r("color")||r("colors")||r("color=true")||r("color=always"))&&(e=1),"FORCE_COLOR"in t&&(e="true"===t.FORCE_COLOR?1:"false"===t.FORCE_COLOR?0:0===t.FORCE_COLOR.length?1:Math.min(parseInt(t.FORCE_COLOR,10),3)),M={supportsColor:function(e){return n(i(e,e&&e.isTTY))},stdout:n(i(!0,T.isatty(1))),stderr:n(i(!0,T.isatty(2)))}}(),r=j();function t(e){if(/^\d{3,4}$/.test(e)){let r=/(\d{1,2})(\d{2})/.exec(e)||[];return{major:0,minor:parseInt(r[1],10),patch:parseInt(r[2],10)}}let r=(e||"").split(".").map(e=>parseInt(e,10));return{major:r[0],minor:r[1],patch:r[2]}}function n(n){let{CI:i,FORCE_HYPERLINK:o,NETLIFY:l,TEAMCITY_VERSION:a,TERM_PROGRAM:s,TERM_PROGRAM_VERSION:u,VTE_VERSION:f}=process.env;if(o)return!(o.length>0&&0===parseInt(o,10));if(r("no-hyperlink")||r("no-hyperlinks")||r("hyperlink=false")||r("hyperlink=never"))return!1;if(r("hyperlink=true")||r("hyperlink=always")||l)return!0;if(!e.supportsColor(n)||n&&!n.isTTY)return!1;if("WT_SESSION"in process.env)return!0;if("win32"===process.platform||i||a)return!1;if(s){let e=t(u||"");switch(s){case"iTerm.app":if(3===e.major)return e.minor>=1;return e.major>3;case"WezTerm":return e.major>=0x1343cac;case"vscode":return e.major>1||1===e.major&&e.minor>=72}}if(f){if("0.50.0"===f)return!1;let e=t(f);return e.major>0||e.minor>=50}return!1}return b={supportsHyperlink:n,stdout:n(process.stdout),stderr:n(process.stderr)}}();function A(e,r,t={}){return"\x1b]8;"+Object.keys(t).map(e=>e+"="+t[e]).join(":")+";"+r+"\x07"+e+"\x1b]8;;\x07"}let F={type:"separator"},W=(n,i)=>{let s=[],u=0,f=0,c=0,p=0,d=0,m={},h=0,y=0,E=0,g=!1;n.sort((e,r)=>e.errorCount===r.errorCount?r.warningCount-e.warningCount:0===e.errorCount?-1:0===r.errorCount?1:r.errorCount-e.errorCount).forEach(r=>{let{messages:n,filePath:i,usedDeprecatedRules:o}=r;if(0===n.length)return;u+=r.errorCount,f+=r.warningCount,c+=r.fatalErrorCount,p+=r.fixableWarningCount,d+=r.fixableErrorCount,o.forEach(e=>{var r;m[r=e.ruleId]||(m[r]=e.replacedBy)}),0!==s.length&&s.push(F);let l=n.find(({severity:e})=>2===e)||n[0];s.push({type:"header",filePath:i,relativeFilePath:e.relative(".",i),firstLineCol:`${l.line}:${l.column}`}),n.sort((e,r)=>e.fatal===r.fatal&&e.severity===r.severity?e.line===r.line?e.column<r.column?-1:1:e.line<r.line?-1:1:(e.fatal||2===e.severity)&&(!r.fatal||2!==r.severity)?1:-1).forEach(e=>{let r=e.message.replaceAll(/\B`(.*?)`\B|\B'(.*?)'\B/g,(e,r,n)=>t.bold(r||n)),n=String(e.line||0),i=String(e.column||0),o=C(n),l=C(i),a=C(r);o>h&&(h=o),l>y&&(y=l),a>E&&(E=a),g||(g=e.line||e.column),s.push({type:"message",severity:e.fatal?"fatal":2===e.severity||"error"===e.severity?"error":"warning",line:n,lineWidth:o,column:i,columnWidth:l,message:r,messageWidth:a,ruleId:e.ruleId||""})})});let I="\n";r.stdout.isTTY&&!o&&(I+=function(e=r.cwd()){return"\x1b]50;CurrentDir="+e+"\x07"}());let O=!o&&w.supportsHyperlink(r.stdout),x=a(),M=r.env.GNOME_TERMINAL_SCREEN;I+=`${s.map(e=>{if("header"===e.type){let r=g?t.hidden(t.dim(t.gray(`:${e.firstLineCol}`))):"";if(M){let t=l(e.filePath,{});return t.hostname=x,A(e.relativeFilePath,t.href)+r}return t.underline(e.relativeFilePath)+r}if("message"===e.type){let r;try{i&&"rulesMeta"in i&&(r=i.rulesMeta[e.ruleId].docs?.url)}catch{}let n=["","warning"===e.severity?t.yellow("warn "):t.red("error")," ".repeat(h-e.lineWidth)+t.dim(e.line+t.gray(":")+e.column)," ".repeat(y-e.columnWidth)+e.message," ".repeat(E-e.messageWidth)+(r&&O?A(t.dim(e.ruleId),r):t.dim(e.ruleId))];return g||n.splice(2,1),n.join(" ")}return""}).join("\n")}
1
+ import e from"node:path";import r from"node:process";import t from"picocolors";import*as n from"os";import*as i from"tty";import{isCI as o}from"ci-info";import{pathToFileURL as l}from"node:url";import{hostname as a}from"node:os";let s=e=>161===e||164===e||167===e||168===e||170===e||173===e||174===e||e>=176&&e<=180||e>=182&&e<=186||e>=188&&e<=191||198===e||208===e||215===e||216===e||e>=222&&e<=225||230===e||e>=232&&e<=234||236===e||237===e||240===e||242===e||243===e||e>=247&&e<=250||252===e||254===e||257===e||273===e||275===e||283===e||294===e||295===e||299===e||e>=305&&e<=307||312===e||e>=319&&e<=322||324===e||e>=328&&e<=331||333===e||338===e||339===e||358===e||359===e||363===e||462===e||464===e||466===e||468===e||470===e||472===e||474===e||476===e||593===e||609===e||708===e||711===e||e>=713&&e<=715||717===e||720===e||e>=728&&e<=731||733===e||735===e||e>=768&&e<=879||e>=913&&e<=929||e>=931&&e<=937||e>=945&&e<=961||e>=963&&e<=969||1025===e||e>=1040&&e<=1103||1105===e||8208===e||e>=8211&&e<=8214||8216===e||8217===e||8220===e||8221===e||e>=8224&&e<=8226||e>=8228&&e<=8231||8240===e||8242===e||8243===e||8245===e||8251===e||8254===e||8308===e||8319===e||e>=8321&&e<=8324||8364===e||8451===e||8453===e||8457===e||8467===e||8470===e||8481===e||8482===e||8486===e||8491===e||8531===e||8532===e||e>=8539&&e<=8542||e>=8544&&e<=8555||e>=8560&&e<=8569||8585===e||e>=8592&&e<=8601||8632===e||8633===e||8658===e||8660===e||8679===e||8704===e||8706===e||8707===e||8711===e||8712===e||8715===e||8719===e||8721===e||8725===e||8730===e||e>=8733&&e<=8736||8739===e||8741===e||e>=8743&&e<=8748||8750===e||e>=8756&&e<=8759||8764===e||8765===e||8776===e||8780===e||8786===e||8800===e||8801===e||e>=8804&&e<=8807||8810===e||8811===e||8814===e||8815===e||8834===e||8835===e||8838===e||8839===e||8853===e||8857===e||8869===e||8895===e||8978===e||e>=9312&&e<=9449||e>=9451&&e<=9547||e>=9552&&e<=9587||e>=9600&&e<=9615||e>=9618&&e<=9621||9632===e||9633===e||e>=9635&&e<=9641||9650===e||9651===e||9654===e||9655===e||9660===e||9661===e||9664===e||9665===e||e>=9670&&e<=9672||9675===e||e>=9678&&e<=9681||e>=9698&&e<=9701||9711===e||9733===e||9734===e||9737===e||9742===e||9743===e||9756===e||9758===e||9792===e||9794===e||9824===e||9825===e||e>=9827&&e<=9829||e>=9831&&e<=9834||9836===e||9837===e||9839===e||9886===e||9887===e||9919===e||e>=9926&&e<=9933||e>=9935&&e<=9939||e>=9941&&e<=9953||9955===e||9960===e||9961===e||e>=9963&&e<=9969||9972===e||e>=9974&&e<=9977||9979===e||9980===e||9982===e||9983===e||10045===e||e>=10102&&e<=10111||e>=11094&&e<=11097||e>=12872&&e<=12879||e>=57344&&e<=63743||e>=65024&&e<=65039||65533===e||e>=127232&&e<=127242||e>=127248&&e<=127277||e>=127280&&e<=127337||e>=127344&&e<=127373||127375===e||127376===e||e>=127387&&e<=127404||e>=917760&&e<=917999||e>=983040&&e<=1048573||e>=1048576&&e<=1114109,u=e=>12288===e||e>=65281&&e<=65376||e>=65504&&e<=65510,f=e=>e>=4352&&e<=4447||8986===e||8987===e||9001===e||9002===e||e>=9193&&e<=9196||9200===e||9203===e||9725===e||9726===e||9748===e||9749===e||e>=9800&&e<=9811||9855===e||9875===e||9889===e||9898===e||9899===e||9917===e||9918===e||9924===e||9925===e||9934===e||9940===e||9962===e||9970===e||9971===e||9973===e||9978===e||9981===e||9989===e||9994===e||9995===e||10024===e||10060===e||10062===e||e>=10067&&e<=10069||10071===e||e>=10133&&e<=10135||10160===e||10175===e||11035===e||11036===e||11088===e||11093===e||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||94192===e||94193===e||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||110589===e||110590===e||e>=110592&&e<=110882||110898===e||e>=110928&&e<=110930||110933===e||e>=110948&&e<=110951||e>=110960&&e<=111355||126980===e||127183===e||127374===e||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||127568===e||127569===e||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||127988===e||e>=127992&&e<=128062||128064===e||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||128378===e||128405===e||128406===e||128420===e||e>=128507&&e<=128591||e>=128640&&e<=128709||128716===e||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||128747===e||128748===e||e>=128756&&e<=128764||e>=128992&&e<=129003||129008===e||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141,c=/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/y,p=/[\x00-\x1F\x7F-\x9F]{1,1000}/y,d=/(?:\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation}|\p{Emoji}\uFE0F)(?:\u200d(?:\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation}|\p{Emoji}\uFE0F))*/yu,m=/[\x20-\x7E\xA0-\xFF]{1,1000}/y,h=/\p{M}+/gu,y={limit:1/0,ellipsis:""},E=(e,r={},t={})=>{let n=r.limit??1/0,i=r.ellipsis??"",o=r?.ellipsisWidth??(i?E(i,y,t).width:0),l=t.ansiWidth??0,a=t.controlWidth??0,g=t.ambiguousWidth??1,O=t.emojiWidth??2,C=t.fullWidthWidth??2,I=t.regularWidth??1,x=t.wideWidth??2,R=0,M=0,b=e.length,v=0,T=!1,_=b,j=Math.max(0,n-o),w=0,A=0,F=0,P=0;e:for(;;){if(A>w||M>=b&&M>R){for(let r of(v=0,(e.slice(w,A)||e.slice(R,M)).replaceAll(h,""))){let e=r.codePointAt(0)||0;if(F+(P=u(e)?C:f(e)?x:g!==I&&s(e)?g:I)>j&&(_=Math.min(_,Math.max(w,R)+v)),F+P>n){T=!0;break e}v+=r.length,F+=P}w=A=0}if(M>=b)break;if(m.lastIndex=M,m.test(e)){if(F+(P=(v=m.lastIndex-M)*I)>j&&(_=Math.min(_,M+Math.floor((j-F)/I))),F+P>n){T=!0;break}F+=P,w=R,A=M,M=R=m.lastIndex;continue}if(c.lastIndex=M,c.test(e)){if(F+l>j&&(_=Math.min(_,M)),F+l>n){T=!0;break}F+=l,w=R,A=M,M=R=c.lastIndex;continue}if(p.lastIndex=M,p.test(e)){if(F+(P=(v=p.lastIndex-M)*a)>j&&(_=Math.min(_,M+Math.floor((j-F)/a))),F+P>n){T=!0;break}F+=P,w=R,A=M,M=R=p.lastIndex;continue}if(d.lastIndex=M,d.test(e)){if(F+O>j&&(_=Math.min(_,M)),F+O>n){T=!0;break}F+=O,w=R,A=M,M=R=d.lastIndex;continue}M+=1}return{width:T?j:F,index:T?_:b,truncated:T,ellipsed:T&&n>=o}},g={limit:1/0,ellipsis:""},O=(e,r={})=>E(e,g,r).width;function C(e){if(e.__esModule)return e;var r=e.default;if("function"==typeof r){var t=function e(){return this instanceof e?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};t.prototype=r.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}),t}var I,x,R,M,b,v,T=C(n),_=C(i);function j(){return x?I:(x=1,I=(e,r=process.argv)=>{let t=e.startsWith("-")?"":1===e.length?"-":"--",n=r.indexOf(t+e),i=r.indexOf("--");return -1!==n&&(-1===i||n<i)})}var w=function(){if(v)return b;v=1;let e=function(){let e;if(M)return R;M=1;let r=j(),{env:t}=process;function n(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function i(n,i){if(0===e)return 0;if(r("color=16m")||r("color=full")||r("color=truecolor"))return 3;if(r("color=256"))return 2;if(n&&!i&&void 0===e)return 0;let o=e||0;if("dumb"===t.TERM)return o;if("win32"===process.platform){let e=T.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in t)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(e=>e in t)||"codeship"===t.CI_NAME?1:o;if("TEAMCITY_VERSION"in t)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(t.TEAMCITY_VERSION)?1:0;if("truecolor"===t.COLORTERM)return 3;if("TERM_PROGRAM"in t){let e=parseInt((t.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(t.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(t.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(t.TERM)||"COLORTERM"in t?1:o}return r("no-color")||r("no-colors")||r("color=false")||r("color=never")?e=0:(r("color")||r("colors")||r("color=true")||r("color=always"))&&(e=1),"FORCE_COLOR"in t&&(e="true"===t.FORCE_COLOR?1:"false"===t.FORCE_COLOR?0:0===t.FORCE_COLOR.length?1:Math.min(parseInt(t.FORCE_COLOR,10),3)),R={supportsColor:function(e){return n(i(e,e&&e.isTTY))},stdout:n(i(!0,_.isatty(1))),stderr:n(i(!0,_.isatty(2)))}}(),r=j();function t(e){if(/^\d{3,4}$/.test(e)){let r=/(\d{1,2})(\d{2})/.exec(e)||[];return{major:0,minor:parseInt(r[1],10),patch:parseInt(r[2],10)}}let r=(e||"").split(".").map(e=>parseInt(e,10));return{major:r[0],minor:r[1],patch:r[2]}}function n(n){let{CI:i,FORCE_HYPERLINK:o,NETLIFY:l,TEAMCITY_VERSION:a,TERM_PROGRAM:s,TERM_PROGRAM_VERSION:u,VTE_VERSION:f}=process.env;if(o)return!(o.length>0&&0===parseInt(o,10));if(r("no-hyperlink")||r("no-hyperlinks")||r("hyperlink=false")||r("hyperlink=never"))return!1;if(r("hyperlink=true")||r("hyperlink=always")||l)return!0;if(!e.supportsColor(n)||n&&!n.isTTY)return!1;if("WT_SESSION"in process.env)return!0;if("win32"===process.platform||i||a)return!1;if(s){let e=t(u||"");switch(s){case"iTerm.app":if(3===e.major)return e.minor>=1;return e.major>3;case"WezTerm":return e.major>=0x1343cac;case"vscode":return e.major>1||1===e.major&&e.minor>=72}}if(f){if("0.50.0"===f)return!1;let e=t(f);return e.major>0||e.minor>=50}return!1}return b={supportsHyperlink:n,stdout:n(process.stdout),stderr:n(process.stderr)}}();function A(e,r,t={}){return"\x1b]8;"+Object.keys(t).map(e=>e+"="+t[e]).join(":")+";"+r+"\x07"+e+"\x1b]8;;\x07"}let F={type:"separator"},P=(n,i)=>{let s=[],u=0,f=0,c=0,p=0,d=0,m={},h=0,y=0,E=0,g=!1;n.sort((e,r)=>e.errorCount===r.errorCount?r.warningCount-e.warningCount:0===e.errorCount?-1:0===r.errorCount?1:r.errorCount-e.errorCount).forEach(r=>{let{messages:n,filePath:i,usedDeprecatedRules:o}=r;if(0===n.length)return;u+=r.errorCount,f+=r.warningCount,c+=r.fatalErrorCount,p+=r.fixableWarningCount,d+=r.fixableErrorCount,o.forEach(e=>{var r;m[r=e.ruleId]||(m[r]=e.replacedBy)}),0!==s.length&&s.push(F);let l=n.find(({severity:e})=>2===e)||n[0];s.push({type:"header",filePath:i,relativeFilePath:e.relative(".",i),firstLineCol:`${l.line}:${l.column}`}),n.sort((e,r)=>e.fatal===r.fatal&&e.severity===r.severity?e.line===r.line?e.column<r.column?-1:1:e.line<r.line?-1:1:(e.fatal||2===e.severity)&&(!r.fatal||2!==r.severity)?1:-1).forEach(e=>{let r=e.message.replaceAll(/\B`(.*?)`\B|\B'(.*?)'\B/g,(e,r,n)=>t.bold(r||n)),n=String(e.line||0),i=String(e.column||0),o=O(n),l=O(i),a=O(r);o>h&&(h=o),l>y&&(y=l),a>E&&(E=a),g||(g=e.line||e.column),s.push({type:"message",severity:e.fatal?"fatal":2===e.severity||"error"===e.severity?"error":"warning",line:n,lineWidth:o,column:i,columnWidth:l,message:r,messageWidth:a,ruleId:e.ruleId||""})})});let C="\n";r.stdout.isTTY&&!o&&"iTerm.app"===r.env.TERM_PROGRAM&&(C+=function(e=r.cwd()){return"\x1b]50;CurrentDir="+e+"\x07"}());let I=!o&&w.supportsHyperlink(r.stdout),x=a(),R=r.env.GNOME_TERMINAL_SCREEN;C+=`${s.map(e=>{if("header"===e.type){let r=g?t.hidden(t.dim(t.gray(`:${e.firstLineCol}`))):"";if(R){let t=l(e.filePath,{});return t.hostname=x,A(e.relativeFilePath,t.href)+r}return t.underline(e.relativeFilePath)+r}if("message"===e.type){let r;try{i&&"rulesMeta"in i&&(r=i.rulesMeta[e.ruleId].docs?.url)}catch{}let n=["","warning"===e.severity?t.yellow("warn "):t.red("error")," ".repeat(h-e.lineWidth)+t.dim(e.line+t.gray(":")+e.column)," ".repeat(y-e.columnWidth)+e.message," ".repeat(E-e.messageWidth)+(r&&I?A(t.dim(e.ruleId),r):t.dim(e.ruleId))];return g||n.splice(2,1),n.join(" ")}return""}).join("\n")}
2
2
 
3
- `;let R=Object.entries(m),b=R.length,v=Object.entries({problem:[!0,u+f+c],warning:[!0,f>0?t.yellow(f):t.green(0)],error:[!0,u>0?t.red(u):t.green(0)],fatal:[c>0,t.red(c)],fixable:[d+p>0,d+p],deprecated:[b>0,t.bold(t.gray(b))]}).filter(([,[e]])=>e),_=Math.max(...v.map(([e])=>e.length));return v.forEach(e=>{let[r,[,n]]=e;I+=`${" ".repeat(_-r.length)}${t.bold(`${r}:`)} ${n}
4
- `}),b>0&&R.forEach(([e,r])=>{I+="\n",I+=`${t.gray("deprecated:")} ${e}`,I+=r.length>0?t.gray(` (replaced by ${r.map(t.white).join(", ")})`):""}),I+="\n",u+f+c+b>0?I:""};export{W as default};
3
+ `;let M=Object.entries(m),b=M.length,v=Object.entries({problem:[!0,u+f+c],warning:[!0,f>0?t.yellow(f):t.green(0)],error:[!0,u>0?t.red(u):t.green(0)],fatal:[c>0,t.red(c)],fixable:[d+p>0,d+p],deprecated:[b>0,t.bold(t.gray(b))]}).filter(([,[e]])=>e),T=Math.max(...v.map(([e])=>e.length));return v.forEach(e=>{let[r,[,n]]=e;C+=`${" ".repeat(T-r.length)}${t.bold(`${r}:`)} ${n}
4
+ `}),b>0&&M.forEach(([e,r])=>{C+="\n",C+=`${t.gray("deprecated:")} ${e}`,C+=r.length>0?t.gray(` (replaced by ${r.map(t.white).join(", ")})`):""}),C+="\n",u+f+c+b>0?C:""};export{P as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-formatter-sukka",
3
- "version": "6.12.0",
3
+ "version": "6.13.0",
4
4
  "description": "Sukka's ESLint config",
5
5
  "homepage": "https://github.com/SukkaW/eslint-config-sukka",
6
6
  "repository": {
@@ -34,7 +34,7 @@
34
34
  "devDependencies": {
35
35
  "fast-string-width": "^1.0.5",
36
36
  "supports-hyperlinks": "^3.1.0",
37
- "@eslint-sukka/rollup-config": "6.12.0"
37
+ "@eslint-sukka/rollup-config": "6.13.0"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "rollup -c rollup.config.ts --configPlugin swc3"