stylelint-config-silverwind 40.0.2 → 40.0.3
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.js +1 -1
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -83,4 +83,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
83
83
|
`:s(e.children):(0,n.isCDATA)(e)?s(e.children):(0,n.isText)(e)?e.data:``}function c(e){return Array.isArray(e)?e.map(c).join(``):(0,n.hasChildren)(e)&&!(0,n.isComment)(e)?c(e.children):(0,n.isText)(e)?e.data:``}function l(e){return Array.isArray(e)?e.map(l).join(``):(0,n.hasChildren)(e)&&(e.type===i.ElementType.Tag||(0,n.isCDATA)(e))?l(e.children):(0,n.isText)(e)?e.data:``}})),RC=p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getChildren=n,e.getParent=r,e.getSiblings=i,e.getAttributeValue=a,e.hasAttrib=o,e.getName=s,e.nextElementSibling=c,e.prevElementSibling=l;var t=AC();function n(e){return(0,t.hasChildren)(e)?e.children:[]}function r(e){return e.parent||null}function i(e){var t,i,a=r(e);if(a!=null)return n(a);for(var o=[e],s=e.prev,c=e.next;s!=null;)o.unshift(s),t=s,s=t.prev;for(;c!=null;)o.push(c),i=c,c=i.next;return o}function a(e,t){return e.attribs?.[t]}function o(e,t){return e.attribs!=null&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&e.attribs[t]!=null}function s(e){return e.name}function c(e){for(var n,r=e.next;r!==null&&!(0,t.isTag)(r);)n=r,r=n.next;return r}function l(e){for(var n,r=e.prev;r!==null&&!(0,t.isTag)(r);)n=r,r=n.prev;return r}})),zC=p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.removeElement=t,e.replaceElement=n,e.appendChild=r,e.append=i,e.prependChild=a,e.prepend=o;function t(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children,n=t.lastIndexOf(e);n>=0&&t.splice(n,1)}e.next=null,e.prev=null,e.parent=null}function n(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var i=t.parent=e.parent;if(i){var a=i.children;a[a.lastIndexOf(e)]=t,e.parent=null}}function r(e,n){if(t(n),n.next=null,n.parent=e,e.children.push(n)>1){var r=e.children[e.children.length-2];r.next=n,n.prev=r}else n.prev=null}function i(e,n){t(n);var r=e.parent,i=e.next;if(n.next=i,n.prev=e,e.next=n,n.parent=r,i){if(i.prev=n,r){var a=r.children;a.splice(a.lastIndexOf(i),0,n)}}else r&&r.children.push(n)}function a(e,n){if(t(n),n.parent=e,n.prev=null,e.children.unshift(n)!==1){var r=e.children[1];r.prev=n,n.next=r}else n.next=null}function o(e,n){t(n);var r=e.parent;if(r){var i=r.children;i.splice(i.indexOf(e),0,n)}e.prev&&(e.prev.next=n),n.parent=r,n.prev=e.prev,n.next=e,e.prev=n}})),BC=p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.filter=n,e.find=r,e.findOneChild=i,e.findOne=a,e.existsOne=o,e.findAll=s;var t=AC();function n(e,t,n,i){return n===void 0&&(n=!0),i===void 0&&(i=1/0),r(e,Array.isArray(t)?t:[t],n,i)}function r(e,n,r,i){for(var a=[],o=[Array.isArray(n)?n:[n]],s=[0];;){if(s[0]>=o[0].length){if(s.length===1)return a;o.shift(),s.shift();continue}var c=o[0][s[0]++];if(e(c)&&(a.push(c),--i<=0))return a;r&&(0,t.hasChildren)(c)&&c.children.length>0&&(s.unshift(0),o.unshift(c.children))}}function i(e,t){return t.find(e)}function a(e,n,r){r===void 0&&(r=!0);for(var i=Array.isArray(n)?n:[n],o=0;o<i.length;o++){var s=i[o];if((0,t.isTag)(s)&&e(s))return s;if(r&&(0,t.hasChildren)(s)&&s.children.length>0){var c=a(e,s.children,!0);if(c)return c}}return null}function o(e,n){return(Array.isArray(n)?n:[n]).some(function(n){return(0,t.isTag)(n)&&e(n)||(0,t.hasChildren)(n)&&o(e,n.children)})}function s(e,n){for(var r=[],i=[Array.isArray(n)?n:[n]],a=[0];;){if(a[0]>=i[0].length){if(i.length===1)return r;i.shift(),a.shift();continue}var o=i[0][a[0]++];(0,t.isTag)(o)&&e(o)&&r.push(o),(0,t.hasChildren)(o)&&o.children.length>0&&(a.unshift(0),i.unshift(o.children))}}})),VC=p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.testElement=s,e.getElements=c,e.getElementById=l,e.getElementsByTagName=u,e.getElementsByClassName=d,e.getElementsByTagType=f;var t=AC(),n=BC(),r={tag_name:function(e){return typeof e==`function`?function(n){return(0,t.isTag)(n)&&e(n.name)}:e===`*`?t.isTag:function(n){return(0,t.isTag)(n)&&n.name===e}},tag_type:function(e){return typeof e==`function`?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return typeof e==`function`?function(n){return(0,t.isText)(n)&&e(n.data)}:function(n){return(0,t.isText)(n)&&n.data===e}}};function i(e,n){return typeof n==`function`?function(r){return(0,t.isTag)(r)&&n(r.attribs[e])}:function(r){return(0,t.isTag)(r)&&r.attribs[e]===n}}function a(e,t){return function(n){return e(n)||t(n)}}function o(e){var t=Object.keys(e).map(function(t){var n=e[t];return Object.prototype.hasOwnProperty.call(r,t)?r[t](n):i(t,n)});return t.length===0?null:t.reduce(a)}function s(e,t){var n=o(e);return n?n(t):!0}function c(e,t,r,i){i===void 0&&(i=1/0);var a=o(e);return a?(0,n.filter)(a,t,r,i):[]}function l(e,t,r){return r===void 0&&(r=!0),Array.isArray(t)||(t=[t]),(0,n.findOne)(i(`id`,e),t,r)}function u(e,t,i,a){return i===void 0&&(i=!0),a===void 0&&(a=1/0),(0,n.filter)(r.tag_name(e),t,i,a)}function d(e,t,r,a){return r===void 0&&(r=!0),a===void 0&&(a=1/0),(0,n.filter)(i(`class`,e),t,r,a)}function f(e,t,i,a){return i===void 0&&(i=!0),a===void 0&&(a=1/0),(0,n.filter)(r.tag_type(e),t,i,a)}})),HC=p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.DocumentPosition=void 0,e.removeSubsets=n,e.compareDocumentPosition=i,e.uniqueSort=a;var t=AC();function n(e){for(var t=e.length;--t>=0;){var n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0){e.splice(t,1);continue}for(var r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e}var r;(function(e){e[e.DISCONNECTED=1]=`DISCONNECTED`,e[e.PRECEDING=2]=`PRECEDING`,e[e.FOLLOWING=4]=`FOLLOWING`,e[e.CONTAINS=8]=`CONTAINS`,e[e.CONTAINED_BY=16]=`CONTAINED_BY`})(r||(e.DocumentPosition=r={}));function i(e,n){var i=[],a=[];if(e===n)return 0;for(var o=(0,t.hasChildren)(e)?e:e.parent;o;)i.unshift(o),o=o.parent;for(o=(0,t.hasChildren)(n)?n:n.parent;o;)a.unshift(o),o=o.parent;for(var s=Math.min(i.length,a.length),c=0;c<s&&i[c]===a[c];)c++;if(c===0)return r.DISCONNECTED;var l=i[c-1],u=l.children,d=i[c],f=a[c];return u.indexOf(d)>u.indexOf(f)?l===n?r.FOLLOWING|r.CONTAINED_BY:r.FOLLOWING:l===e?r.PRECEDING|r.CONTAINS:r.PRECEDING}function a(e){return e=e.filter(function(e,t,n){return!n.includes(e,t+1)}),e.sort(function(e,t){var n=i(e,t);return n&r.PRECEDING?-1:n&r.FOLLOWING?1:0}),e}})),UC=p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getFeed=r;var t=LC(),n=VC();function r(e){var t=l(f,e);return t?t.name===`feed`?i(t):a(t):null}function i(e){var t=e.children,r={type:`atom`,items:(0,n.getElementsByTagName)(`entry`,t).map(function(e){var t=e.children,n={media:c(t)};d(n,`id`,`id`,t),d(n,`title`,`title`,t);var r=l(`link`,t)?.attribs.href;r&&(n.link=r);var i=u(`summary`,t)||u(`content`,t);i&&(n.description=i);var a=u(`updated`,t);return a&&(n.pubDate=new Date(a)),n})};d(r,`id`,`id`,t),d(r,`title`,`title`,t);var i=l(`link`,t)?.attribs.href;i&&(r.link=i),d(r,`description`,`subtitle`,t);var a=u(`updated`,t);return a&&(r.updated=new Date(a)),d(r,`author`,`email`,t,!0),r}function a(e){var t=l(`channel`,e.children)?.children??[],r={type:e.name.substr(0,3),id:``,items:(0,n.getElementsByTagName)(`item`,e.children).map(function(e){var t=e.children,n={media:c(t)};d(n,`id`,`guid`,t),d(n,`title`,`title`,t),d(n,`link`,`link`,t),d(n,`description`,`description`,t);var r=u(`pubDate`,t)||u(`dc:date`,t);return r&&(n.pubDate=new Date(r)),n})};d(r,`title`,`title`,t),d(r,`link`,`link`,t),d(r,`description`,`description`,t);var i=u(`lastBuildDate`,t);return i&&(r.updated=new Date(i)),d(r,`author`,`managingEditor`,t,!0),r}var o=[`url`,`type`,`lang`],s=[`fileSize`,`bitrate`,`framerate`,`samplingrate`,`channels`,`duration`,`height`,`width`];function c(e){return(0,n.getElementsByTagName)(`media:content`,e).map(function(e){for(var t=e.attribs,n={medium:t.medium,isDefault:!!t.isDefault},r=0,i=o;r<i.length;r++){var a=i[r];t[a]&&(n[a]=t[a])}for(var c=0,l=s;c<l.length;c++){var a=l[c];t[a]&&(n[a]=parseInt(t[a],10))}return t.expression&&(n.expression=t.expression),n})}function l(e,t){return(0,n.getElementsByTagName)(e,t,!0,1)[0]}function u(e,r,i){return i===void 0&&(i=!1),(0,t.textContent)((0,n.getElementsByTagName)(e,r,i,1)).trim()}function d(e,t,n,r,i){i===void 0&&(i=!1);var a=u(n,r,i);a&&(e[t]=a)}function f(e){return e===`rss`||e===`feed`||e===`rdf:RDF`}})),WC=p((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__exportStar||function(e,n){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.hasChildren=e.isDocument=e.isComment=e.isText=e.isCDATA=e.isTag=void 0,n(LC(),e),n(RC(),e),n(zC(),e),n(BC(),e),n(VC(),e),n(HC(),e),n(UC(),e);var r=AC();Object.defineProperty(e,"isTag",{enumerable:!0,get:function(){return r.isTag}}),Object.defineProperty(e,"isCDATA",{enumerable:!0,get:function(){return r.isCDATA}}),Object.defineProperty(e,"isText",{enumerable:!0,get:function(){return r.isText}}),Object.defineProperty(e,"isComment",{enumerable:!0,get:function(){return r.isComment}}),Object.defineProperty(e,"isDocument",{enumerable:!0,get:function(){return r.isDocument}}),Object.defineProperty(e,"hasChildren",{enumerable:!0,get:function(){return r.hasChildren}})})),GC=p((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var i in e)i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r},i=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.DomUtils=e.parseFeed=e.getFeed=e.ElementType=e.Tokenizer=e.createDomStream=e.parseDOM=e.parseDocument=e.DefaultHandler=e.DomHandler=e.Parser=void 0;var a=DC(),o=DC();Object.defineProperty(e,"Parser",{enumerable:!0,get:function(){return o.Parser}});var s=AC(),c=AC();Object.defineProperty(e,"DomHandler",{enumerable:!0,get:function(){return c.DomHandler}}),Object.defineProperty(e,"DefaultHandler",{enumerable:!0,get:function(){return c.DomHandler}});function l(e,t){var n=new s.DomHandler(void 0,t);return new a.Parser(n,t).end(e),n.root}e.parseDocument=l;function u(e,t){return l(e,t).children}e.parseDOM=u;function d(e,t,n){var r=new s.DomHandler(e,t,n);return new a.Parser(r,t)}e.createDomStream=d;var f=EC();Object.defineProperty(e,"Tokenizer",{enumerable:!0,get:function(){return i(f).default}}),e.ElementType=r(OC());var p=WC(),m=WC();Object.defineProperty(e,"getFeed",{enumerable:!0,get:function(){return m.getFeed}});var h={xmlMode:!0};function g(e,t){return t===void 0&&(t=h),(0,p.getFeed)(u(e,t))}e.parseFeed=g,e.DomUtils=r(WC())})),KC=p(((e,t)=>{let n=$i(),r=oa(),i=Aa();t.exports=class extends i{createTokenizer(){this.tokenizer=n(this.input,{ignoreErrors:!0})}comment(e){let t=new r;this.init(t,e[2]);let n=this.input.fromOffset(e[3])||this.input.fromOffset(this.input.css.length-1);t.source.end={offset:e[3],line:n.line,column:n.col};let i=e[1].slice(2);if(i.slice(-2)===`*/`&&(i=i.slice(0,-2)),/^\s*$/.test(i))t.text=``,t.raws.left=i,t.raws.right=``;else{let e=i.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}decl(e){e.length>1&&e.some(e=>e[0]===`word`)&&super.decl(e)}unclosedBracket(){}unknownWord(e){this.spaces+=e.map(e=>e[1]).join(``)}unexpectedClose(){this.current.raws.after+=`}`}doubleColon(){}unnamedAtrule(e){e.name=``}precheckMissedSemicolon(e){let t=this.colon(e);if(t===!1)return;let n,r;for(n=t-1;n>=0&&e[n][0]!==`word`;n--);if(n===0)return;for(r=n-1;r>=0;r--)if(e[r][0]!==`space`){r+=1;break}let i=e.slice(n),a=e.slice(r,n);e.splice(r,e.length-r),this.spaces=a.map(e=>e[1]).join(``),this.decl(i)}checkMissedSemicolon(){}endFile(){for(this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||``)+this.spaces;this.current.parent;)this.current=this.current.parent,this.current.raws.after=``}}})),qC=p(((e,t)=>{let{Input:n}=Ra(),r=KC();t.exports=function(e,t){let i=new r(new n(e,t));return i.parse(),i.root}})),JC=p(((e,t)=>{let n=ja(),r=ra(),i=qC();t.exports={cssSyntax:{parse:n,stringify:r},cssSafeSyntax:{parse:i,stringify:r}}})),YC=p(((e,t)=>{let n=g(`path`);t.exports={loadModule:r,isModuleNotFoundError:i};function r(e){try{let t=g(`module`),r=process.cwd(),i=n.join(r,`__placeholder__.js`);return t.createRequire(i)(e)}catch(e){if(!i(e))throw e}return null}function i(e){return e&&typeof e==`object`&&e.code===`MODULE_NOT_FOUND`}})),XC=p(((e,t)=>{let n=g(`path`),r=qC(),{cssSyntax:i,cssSafeSyntax:a}=JC(),{loadModule:o,isModuleNotFoundError:s}=YC(),c=[{test:/^sass$/i,lang:`sass`},{test:/^scss$/i,lang:`scss`},{test:/^less$/i,lang:`less`},{test:/^s(?:ugar)?ss$/i,lang:`sugarss`},{test:/^styl(?:us)?$/i,lang:`stylus`},{test:/^postcss$/i,lang:`css`}],l={sass:`postcss-sass`,scss:`postcss-scss`,less:`postcss-less`,sugarss:`sugarss`,stylus:`postcss-styl`};t.exports=function(e){let{rules:t=[],...o}=e||{},s=[...t,...c],u=new Set([`css`,...t.map(e=>e.lang),...Object.keys(o)]);return function(e,t){let c=e||`css`,f=t||{},p=process.cwd(),m=n.join(p,`__placeholder__.${c}`);for(let e of s){let t=new RegExp(e.test);if(t.test(c)||t.test(m)){c=e.lang;break}}c=c.toLowerCase();let h=o[c]||l[c];if(h){if(typeof h==`string`){let e=d(h,f);if(e)return e;if(u.has(c))throw Error(`Cannot resolve module "${h}". It's likely that the module isn't installed correctly. Try reinstalling by running the \`npm install ${h}@latest --save-dev\``)}if(h===r)return a;if(typeof h.parse==`function`)return h}return u.has(c)?f.defaultSyntax||i:null}};let u={};function d(e,t){if(e===`postcss`)return t.defaultSyntax||i;if(e===`postcss-safe-parser`)return a;let n=o(e);if(n)return n;if(u[e])try{return u[e]()}catch(e){if(!s(e))throw e}return null}})),ZC=p(((e,t)=>{let n=$i();function r(...e){let t=n(...e);function r(...e){let n=[],r,i,a=0;for(;(r=t.nextToken.apply(t,e))&&(r[0]!==`word`&&(r[0]===`{`?++a:r[0]===`}`&&--a),(a||n.length)&&(i=r[3]||r[2]||i,n.push(r)),a););return n.length&&(r=[`word`,n.map(e=>e[1]).join(``),n[0][2],i]),r}return Object.assign({},t,{nextToken:r})}t.exports=r})),QC=p(((e,t)=>{let n=Aa(),r=ZC();t.exports=class extends n{createTokenizer(){this.tokenizer=r(this.input)}}})),$C=p(((e,t)=>{let n=KC(),r=ZC();t.exports=class extends n{createTokenizer(){this.tokenizer=r(this.input,{ignoreErrors:!0})}}})),ew=p(((e,t)=>{let n=ja(),r=QC(),i=$C(),a=wa();function o(e,t,n){let r=new n(new a(e,t));return r.parse(),r.root}t.exports=function(e){return{parse(t,a){return o(t,a,e.parse===n?r:i)},stringify(...t){return e.stringify(...t)}}}})),tw=p(((e,t)=>{var n,r,i,a,o,s,c,l,u,d,f,p,m,h=/\/(?![*\/])(?:\[(?:[^\]\\\n\r\u2028\u2029]+|\\.)*\]?|[^\/[\\\n\r\u2028\u2029]+|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/uy,g,_,v,y,b,x;m=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,r=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]+|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/uy,_=/(['"])(?:[^'"\\\n\r]+|(?!\1)['"]|\\(?:\r\n|[^]))*(\1)?/y,p=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,v=/[`}](?:[^`\\$]+|\\[^]|\$(?!\{))*(`|\$\{)?/y,x=/[\t\v\f\ufeff\p{Zs}]+/uy,u=/\r?\n|[\r\u2028\u2029]/y,d=/\/\*(?:[^*]+|\*(?!\/))*(\*\/)?/y,g=/\/\/.*/y,n=/^#!.*/,a=/[<>.:={}]|\/(?![\/*])/y,i=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/uy,o=/(['"])(?:[^'"]+|(?!\1)['"])*(\1)?/y,s=/[^<>{}]+/y,b=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,y=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,c=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,l=/^(?:return|throw|yield)$/,f=RegExp(u.source),t.exports=function*(e,{jsx:t=!1}={}){var S,C,w,T,E,D,O,k,A,j,M,N,ee,P;for({length:D}=e,T=0,E=``,P=[{tag:`JS`}],S=[],M=0,N=!1,(O=n.exec(e))&&(yield{type:`HashbangComment`,value:O[0]},T=O[0].length);T<D;){switch(k=P[P.length-1],k.tag){case`JS`:case`JSNonExpressionParen`:case`InterpolationInTemplate`:case`InterpolationInJSX`:if(e[T]===`/`&&(b.test(E)||c.test(E))&&(h.lastIndex=T,O=h.exec(e))){T=h.lastIndex,E=O[0],N=!0,yield{type:`RegularExpressionLiteral`,value:O[0],closed:O[1]!==void 0&&O[1]!==`\\`};continue}if(m.lastIndex=T,O=m.exec(e)){switch(ee=O[0],A=m.lastIndex,j=ee,ee){case`(`:E===`?NonExpressionParenKeyword`&&P.push({tag:`JSNonExpressionParen`,nesting:M}),M++,N=!1;break;case`)`:M--,N=!0,k.tag===`JSNonExpressionParen`&&M===k.nesting&&(P.pop(),j=`?NonExpressionParenEnd`,N=!1);break;case`{`:m.lastIndex=0,w=!y.test(E)&&(b.test(E)||c.test(E)),S.push(w),N=!1;break;case`}`:switch(k.tag){case`InterpolationInTemplate`:if(S.length===k.nesting){v.lastIndex=T,O=v.exec(e),T=v.lastIndex,E=O[0],O[1]==="${"?(E=`?InterpolationInTemplate`,N=!1,yield{type:`TemplateMiddle`,value:O[0]}):(P.pop(),N=!0,yield{type:`TemplateTail`,value:O[0],closed:O[1]==="`"});continue}break;case`InterpolationInJSX`:if(S.length===k.nesting){P.pop(),T+=1,E=`}`,yield{type:`JSXPunctuator`,value:`}`};continue}}N=S.pop(),j=N?`?ExpressionBraceEnd`:`}`;break;case`]`:N=!0;break;case`++`:case`--`:j=N?`?PostfixIncDec`:`?UnaryIncDec`;break;case`<`:if(t&&(b.test(E)||c.test(E))){P.push({tag:`JSXTag`}),T+=1,E=`<`,yield{type:`JSXPunctuator`,value:ee};continue}N=!1;break;default:N=!1}T=A,E=j,yield{type:`Punctuator`,value:ee};continue}if(r.lastIndex=T,O=r.exec(e)){switch(T=r.lastIndex,j=O[0],O[0]){case`for`:case`if`:case`while`:case`with`:E!==`.`&&E!==`?.`&&(j=`?NonExpressionParenKeyword`)}E=j,N=!c.test(O[0]),yield{type:O[1]===`#`?`PrivateIdentifier`:`IdentifierName`,value:O[0]};continue}if(_.lastIndex=T,O=_.exec(e)){T=_.lastIndex,E=O[0],N=!0,yield{type:`StringLiteral`,value:O[0],closed:O[2]!==void 0};continue}if(p.lastIndex=T,O=p.exec(e)){T=p.lastIndex,E=O[0],N=!0,yield{type:`NumericLiteral`,value:O[0]};continue}if(v.lastIndex=T,O=v.exec(e)){T=v.lastIndex,E=O[0],O[1]==="${"?(E=`?InterpolationInTemplate`,P.push({tag:`InterpolationInTemplate`,nesting:S.length}),N=!1,yield{type:`TemplateHead`,value:O[0]}):(N=!0,yield{type:`NoSubstitutionTemplate`,value:O[0],closed:O[1]==="`"});continue}break;case`JSXTag`:case`JSXTagEnd`:if(a.lastIndex=T,O=a.exec(e)){switch(T=a.lastIndex,j=O[0],O[0]){case`<`:P.push({tag:`JSXTag`});break;case`>`:P.pop(),E===`/`||k.tag===`JSXTagEnd`?(j=`?JSX`,N=!0):P.push({tag:`JSXChildren`});break;case`{`:P.push({tag:`InterpolationInJSX`,nesting:S.length}),j=`?InterpolationInJSX`,N=!1;break;case`/`:E===`<`&&(P.pop(),P[P.length-1].tag===`JSXChildren`&&P.pop(),P.push({tag:`JSXTagEnd`}))}E=j,yield{type:`JSXPunctuator`,value:O[0]};continue}if(i.lastIndex=T,O=i.exec(e)){T=i.lastIndex,E=O[0],yield{type:`JSXIdentifier`,value:O[0]};continue}if(o.lastIndex=T,O=o.exec(e)){T=o.lastIndex,E=O[0],yield{type:`JSXString`,value:O[0],closed:O[2]!==void 0};continue}break;case`JSXChildren`:if(s.lastIndex=T,O=s.exec(e)){T=s.lastIndex,E=O[0],yield{type:`JSXText`,value:O[0]};continue}switch(e[T]){case`<`:P.push({tag:`JSXTag`}),T++,E=`<`,yield{type:`JSXPunctuator`,value:`<`};continue;case`{`:P.push({tag:`InterpolationInJSX`,nesting:S.length}),T++,E=`?InterpolationInJSX`,N=!1,yield{type:`JSXPunctuator`,value:`{`};continue}}if(x.lastIndex=T,O=x.exec(e)){T=x.lastIndex,yield{type:`WhiteSpace`,value:O[0]};continue}if(u.lastIndex=T,O=u.exec(e)){T=u.lastIndex,N=!1,l.test(E)&&(E=`?NoLineTerminatorHere`),yield{type:`LineTerminatorSequence`,value:O[0]};continue}if(d.lastIndex=T,O=d.exec(e)){T=d.lastIndex,f.test(O[0])&&(N=!1,l.test(E)&&(E=`?NoLineTerminatorHere`)),yield{type:`MultiLineComment`,value:O[0],closed:O[1]!==void 0};continue}if(g.lastIndex=T,O=g.exec(e)){T=g.lastIndex,N=!1,yield{type:`SingleLineComment`,value:O[0]};continue}C=String.fromCodePoint(e.codePointAt(T)),T+=C.length,E=C,N=!1,yield{type:k.tag.startsWith(`JSX`)?`JSXInvalid`:`Invalid`,value:C}}}})),nw=p(((e,t)=>{let n=GC(),r=tw();t.exports=class extends n.Tokenizer{stateBeforeAttributeValue(e){if(e===123){let e=this.index,t=i(this.buffer,e+1);if(t!=null){this.sectionStart=e,this.index=t+1,this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=8,this.stateBeforeAttributeName(this.buffer.charCodeAt(this.index));return}}super.stateBeforeAttributeValue(e)}};function i(e,t){let n=t,i=0;for(let a of r(e.slice(t))){if(a.value===`}`){if(i===0)return n;i--}else a.value===`{`&&i++;n+=a.value.length}return null}})),rw=p(((e,t)=>{let n=nw();t.exports=class extends n{constructor(...e){super(...e),this._hasFrontmatter=!1}parse(){super.parse()}stateText(e){if(!this._hasFrontmatter){if(e===45){let e=this.index-this.offset;if(e===0&&this.buffer.slice(e,e+3)===`---`){let t=this.buffer.indexOf(`
|
|
84
84
|
---`,e+3);if(t>=0){this.index=t+3,this._hasFrontmatter=!0;return}}}if(e===10){let e=this.index-this.offset;if(this.buffer.slice(e,e+4)===`
|
|
85
85
|
---`){let t=this.buffer.indexOf(`
|
|
86
|
-
---`,e+4);if(t>=0){this.index=t+3,this._hasFrontmatter=!0;return}}}}super.stateText(e)}}})),iw=p(((e,t)=>{let n=GC(),r=XC(),i=ew(),a=nw(),o=rw(),{cssSafeSyntax:s}=JC();function c(e,{onStyleTag:t,onStyleAttribute:r,svelte:i,astro:s}){let c={},l,u,d,f=new n.Parser({oncomment:e=>{u=!1;let t=/(?:^|\s+)postcss-(\w+)(?:\s+|$)/i.exec(e);if(!t)return;let n=t[1].toLowerCase();n===`enable`?l=!1:n===`disable`?l=!0:n===`ignore`&&(u=!0)},onopentag(e,t){c[e]=!0;let n=u;u=!1,!n&&/^style$/i.test(e)&&(d={inXsls:c[`xsl:stylesheet`],inXslt:c[`xsl:template`],inHtml:c.html,tagName:e,attribute:t,startIndex:f.endIndex+1})},onclosetag(n){if(c[n]=!1,u=!1,l||!d||n!==d.tagName)return;let r=e.slice(d.startIndex,f.startIndex),i=/^[\t ]*\r?\n/.exec(r);if(i){let e=i[0].length;d.startIndex+=e,r=r.slice(e)}d.content=r.replace(/[\t ]*$/,``),t(d),d=null},onattribute(t,n){if(l||u||t!==`style`)return;let i=f.endIndex,a=i-n.length;e[a-1]!==e[i]||!/\S/.test(e[i])||r({content:n,startIndex:a,inline:!0,inTemplate:c.template})}},{Tokenizer:i?a:s?o:void 0});f.parseComplete(e)}function l(e,t){let n=e&&t.exec(e);if(n)return n[1].toLowerCase()}function u(e){return l(e.type,/^\w+\/(?:x-)?(\w+)$/i)||l(e.lang,/^(\w+)(?:\?.+)?$/)||`css`}function d(e,t){let n=[],a=r(t.config),o=t.from&&/\.(?:\w*html?|xht|xslt?|jsp|aspx?|ejs|php\d*|twig|liquid|m(?:ark)?d(?:ow)?n|mk?d)$/i.test(t.from),l=t.from&&/\.svelte$/i.test(t.from),d=t.from&&/\.astro$/i.test(t.from);function f(e){!(e.inHtml||e.inXsls||e.inXslt||o)&&(e.attribute.src||e.attribute.href)&&!e.content.trim()||(e.lang=u(e.attribute),e.syntax=a(e.lang),e.syntax&&n.push(e))}function p(e){/\{[\s\S]*?\}/.test(e.content)?(e.syntax=i(a(`css`,{defaultSyntax:l?s:void 0})),e.lang=`custom-template`):(e.syntax=a(),e.lang=`css`),n.push(e)}return c(e,{onStyleTag:f,onStyleAttribute:p,svelte:l,astro:d}),n}t.exports=d})),aw=p(((e,t)=>{let n=ra(),r=ow();t.exports=i;function i(e,t){if(!(e instanceof r)){let r=e.source.syntax||e.root().source.syntax;r&&r.stringify?r.stringify(e,t):n(e,t);return}e.nodes.length?e.nodes.forEach(e=>{t(e.raws.codeBefore,e,`codeBefore`),e.source.syntax?e.source.syntax.stringify(e,t):n(e,t),t(e.raws.codeAfter||``,e,`codeAfter`)}):t(e.source.input.css)}})),ow=p(((e,t)=>{let{Document:n}=Ra();t.exports=class extends n{toString(e){return super.toString(e||{stringify:aw()})}each(e){let t=this.nodes.map(t=>t.each(e));return t.every(e=>e!==!1)&&t.pop()}append(...e){return this.last.append.apply(this.last,e),this}prepend(...e){return this.first.prepend.apply(this.first,e),this}insertBefore(e,t){return e.prepend(t),this}insertAfter(e,t){return e.append(t),this}}})),sw=p(((e,t)=>{let n=wa(),r=ow(),i=/\r?\n|\r/g;var a=class{constructor(e){let t,n=[];for(i.lastIndex=0;t=i.exec(e);)n.push(t.index);n.push(e.length),this.lines=n,this.source=e}getOffsetFromLoc(e){let t=e.line-2;return(t>=0?this.lines[t]:-1)+e.column}getLocFromOffset(e){let t=this.lines;for(let n=0;n<t.length;n++)if(t[n]>=e){let t=this.lines[n-1];return{line:n+1,column:e-(t??-1)}}let n=this.lines[this.lines.length-2];return{line:t.length,column:e-(n??-1)}}},o=class{constructor(e,t){let{line:n,column:r}=e.getLocFromOffset(t.startIndex);this.line=n-1,this.column=r-1,this.style=t,this.source=e.source}fixLocation(e){e&&(e.line===1&&(e.column+=this.column),e.line+=this.line,typeof e.offset==`number`&&(e.offset+=this.style.startIndex),typeof e.endLine==`number`&&(e.endLine===1&&(e.endColumn+=this.column),e.endLine+=this.line))}node(e){this.fixLocation(e.source.start),this.fixLocation(e.source.end)}root(e){this.node(e),e.walk(e=>{this.node(e)})}error(e){return e&&e.name===`CssSyntaxError`&&(this.fixLocation(e),this.fixLocation(e.input),e.message=e.message.replace(/:\d+:\d+:/,`:${e.line}:${e.column}:`)),e}parse(e){let t=this.style,n=t.syntax,r;try{r=n.parse(t.content,Object.assign({},e,{document:this.source,map:!1},t.opts))}catch(e){throw this.error(e),e}return this.root(r),r.source.inline=!!t.inline,r.source.lang=t.lang,r.source.syntax=n,l(r,n),r}};function s(e,t){let n=new a(e);return function(e){return new o(n,e).parse(t)}}function c(e,t,i){let a=new r,o=0;if(i.length){let n=s(e,t);i.sort((e,t)=>e.startIndex-t.startIndex).forEach(t=>{let r=n(t);if(r){r.raws.codeBefore=e.slice(o,t.startIndex);try{Object.defineProperty(r.raws,"beforeStart",{configurable:!0,get(){return r.raws.codeBefore},set(e){r.raws.codeBefore=e}})}catch{}o=t.startIndex+(t.content||r.source.input.css).length,r.document=a,a.nodes.push(r)}})}let c=a.nodes[a.nodes.length-1];return c&&(c.raws.codeAfter=o?e.slice(o):e),a.source={input:new n(e,t),start:{line:1,column:1},opts:t},a}t.exports=c;function l(e,t){let n=e.toString;try{Object.defineProperty(e,"toString",{configurable:!0,enumerable:!1,value(e){return n.call(this,e||t)}})}catch{}}})),cw=p(((e,t)=>{let n=iw(),r=sw();t.exports=function(e,t){let i=r(e,t,n(e,t));return i.source.lang=`html`,i.source.syntax=t.syntax,i}})),lw=h(p(((e,t)=>{let n=cw(),r=aw();function i(e){let t={parse:(r,i)=>n(String(r),{config:e,syntax:t,...i||{}}),stringify:r};return t}let a=i();i.parse=a.parse,i.stringify=a.stringify,t.exports=i}))(),1),uw={reportUnscopedDisables:!0,reportNeedlessDisables:!0,reportInvalidScopeDisables:!0,plugins:[Bi,Zi,No,xC],overrides:[{files:[`**/*.html`],customSyntax:lw.default}],ignoreFiles:[`**/.air/**`,`**/.git/**`,`**/.make/**`,`**/.playwright-mcp/**`,`**/.ruff_cache/**`,`**/.swc/**`,`**/.venv/**`,`**/build/**`,`**/dist/**`,`**/node_modules/**`,`**/persistent/**`],rules:{...{rules:{"annotation-no-unknown":!0,"at-rule-descriptor-no-unknown":!0,"at-rule-descriptor-value-no-unknown":!0,"at-rule-no-deprecated":!0,"at-rule-no-unknown":!0,"at-rule-prelude-no-invalid":[!0,{ignoreAtRules:[`media`]}],"block-no-empty":!0,"comment-no-empty":!0,"custom-property-no-missing-var-function":!0,"declaration-block-no-duplicate-custom-properties":!0,"declaration-block-no-duplicate-properties":[!0,{ignore:[`consecutive-duplicates-with-different-syntaxes`]}],"declaration-block-no-shorthand-property-overrides":!0,"declaration-property-value-keyword-no-deprecated":!0,"declaration-property-value-no-unknown":!0,"font-family-no-duplicate-names":!0,"font-family-no-missing-generic-family-keyword":!0,"function-calc-no-unspaced-operator":!0,"keyframe-block-no-duplicate-selectors":!0,"keyframe-declaration-no-important":!0,"media-feature-name-no-unknown":!0,"media-feature-name-value-no-unknown":!0,"media-query-no-invalid":!0,"media-type-no-deprecated":!0,"named-grid-areas-no-invalid":!0,"nesting-selector-no-missing-scoping-root":!0,"no-descending-specificity":!0,"no-duplicate-at-import-rules":!0,"no-duplicate-selectors":!0,"no-empty-source":!0,"no-invalid-double-slash-comments":!0,"no-invalid-position-at-import-rule":!0,"no-invalid-position-declaration":!0,"no-irregular-whitespace":!0,"property-no-deprecated":!0,"property-no-unknown":!0,"selector-anb-no-unmatchable":!0,"selector-pseudo-class-no-unknown":!0,"selector-pseudo-element-no-unknown":!0,"selector-type-no-unknown":[!0,{ignore:[`custom-elements`]}],"string-no-newline":[!0,{ignore:[`at-rule-preludes`,`declaration-values`]}],"syntax-string-no-invalid":!0}}.rules,"@stylistic/at-rule-name-case":null,"@stylistic/at-rule-name-newline-after":null,"@stylistic/at-rule-name-space-after":null,"@stylistic/at-rule-semicolon-newline-after":null,"@stylistic/at-rule-semicolon-space-before":null,"@stylistic/block-closing-brace-empty-line-before":null,"@stylistic/block-closing-brace-newline-after":null,"@stylistic/block-closing-brace-newline-before":null,"@stylistic/block-closing-brace-space-after":null,"@stylistic/block-closing-brace-space-before":null,"@stylistic/block-opening-brace-newline-after":null,"@stylistic/block-opening-brace-newline-before":null,"@stylistic/block-opening-brace-space-after":null,"@stylistic/block-opening-brace-space-before":`always-multi-line`,"@stylistic/color-hex-case":null,"@stylistic/declaration-bang-space-after":`never`,"@stylistic/declaration-bang-space-before":`always`,"@stylistic/declaration-block-semicolon-newline-after":null,"@stylistic/declaration-block-semicolon-newline-before":null,"@stylistic/declaration-block-semicolon-space-after":null,"@stylistic/declaration-block-semicolon-space-before":`never`,"@stylistic/declaration-block-trailing-semicolon":null,"@stylistic/declaration-colon-newline-after":null,"@stylistic/declaration-colon-space-after":null,"@stylistic/declaration-colon-space-before":`never`,"@stylistic/function-comma-newline-after":null,"@stylistic/function-comma-newline-before":null,"@stylistic/function-comma-space-after":null,"@stylistic/function-comma-space-before":null,"@stylistic/function-max-empty-lines":0,"@stylistic/function-parentheses-newline-inside":null,"@stylistic/function-parentheses-space-inside":null,"@stylistic/function-whitespace-after":null,"@stylistic/indentation":2,"@stylistic/linebreaks":null,"@stylistic/max-empty-lines":2,"@stylistic/max-line-length":null,"@stylistic/media-feature-colon-space-after":null,"@stylistic/media-feature-colon-space-before":`never`,"@stylistic/media-feature-name-case":null,"@stylistic/media-feature-parentheses-space-inside":null,"@stylistic/media-feature-range-operator-space-after":`always`,"@stylistic/media-feature-range-operator-space-before":`always`,"@stylistic/media-query-list-comma-newline-after":null,"@stylistic/media-query-list-comma-newline-before":null,"@stylistic/media-query-list-comma-space-after":null,"@stylistic/media-query-list-comma-space-before":null,"@stylistic/named-grid-areas-alignment":null,"@stylistic/no-empty-first-line":null,"@stylistic/no-eol-whitespace":!0,"@stylistic/no-extra-semicolons":!0,"@stylistic/no-missing-end-of-source-newline":null,"@stylistic/number-leading-zero":null,"@stylistic/number-no-trailing-zeros":null,"@stylistic/property-case":`lower`,"@stylistic/selector-attribute-brackets-space-inside":null,"@stylistic/selector-attribute-operator-space-after":null,"@stylistic/selector-attribute-operator-space-before":null,"@stylistic/selector-combinator-space-after":null,"@stylistic/selector-combinator-space-before":null,"@stylistic/selector-descendant-combinator-no-non-space":!0,"@stylistic/selector-list-comma-newline-after":null,"@stylistic/selector-list-comma-newline-before":null,"@stylistic/selector-list-comma-space-after":`always-single-line`,"@stylistic/selector-list-comma-space-before":`never-single-line`,"@stylistic/selector-max-empty-lines":0,"@stylistic/selector-pseudo-class-case":`lower`,"@stylistic/selector-pseudo-class-parentheses-space-inside":`never`,"@stylistic/selector-pseudo-element-case":`lower`,"@stylistic/string-quotes":`double`,"@stylistic/unicode-bom":null,"@stylistic/unit-case":`lower`,"@stylistic/value-list-comma-newline-after":null,"@stylistic/value-list-comma-newline-before":null,"@stylistic/value-list-comma-space-after":null,"@stylistic/value-list-comma-space-before":null,"@stylistic/value-list-max-empty-lines":0,"at-rule-no-unknown":[!0,{ignoreAtRules:[`tailwind`,`unocss`,`config`,`source`]}],"at-rule-no-vendor-prefix":!0,"block-no-redundant-nested-style-rules":!0,"color-function-notation":null,"color-no-invalid-hex":!0,"declaration-property-value-no-unknown":!0,"declaration-block-no-duplicate-properties":[!0,{ignore:[`consecutive-duplicates-with-different-values`]}],"declaration-block-no-redundant-longhand-properties":[!0,{ignoreShorthands:[`flex-flow`,`overflow`,`grid-template`]}],"declaration-property-unit-disallowed-list":{"line-height":[`em`]},"declaration-property-value-disallowed-list":{"word-break":[`break-word`]},"font-family-name-quotes":`always-where-recommended`,"function-calc-no-unspaced-operator":!0,"function-linear-gradient-no-nonstandard-direction":!0,"function-name-case":`lower`,"function-no-unknown":!0,"function-url-quotes":`always`,"import-notation":`string`,"keyframe-block-no-duplicate-selectors":!0,"keyframe-declaration-no-important":!0,"length-zero-no-unit":[!0,{ignore:[`custom-properties`],ignoreFunctions:[`var`]}],"media-feature-name-no-vendor-prefix":!0,"no-descending-specificity":null,"no-empty-source":null,"no-invalid-double-slash-comments":!0,"no-invalid-position-at-import-rule":[!0,{ignoreAtRules:[`tailwind`]}],"no-unknown-animations":null,"no-unknown-custom-media":null,"no-unknown-custom-properties":null,"plugin/declaration-block-no-ignored-properties":!0,"property-no-deprecated":!0,"scale-unlimited/declaration-strict-value":[[`/color$/`,`fill`,`stroke`],{ignoreValues:`/^(inherit|transparent|unset|initial|currentcolor|none)$/`,ignoreFunctions:!0,disableFix:!0,expandShorthand:!0}],"selector-attribute-quotes":`always`,"selector-no-deprecated":null,"selector-no-vendor-prefix":!0,"selector-type-case":`lower`,"selector-type-no-unknown":[!0,{ignore:[`custom-elements`]}],"shorthand-property-no-redundant-values":!0,"unit-no-unknown":!0,"value-no-vendor-prefix":[!0,{ignoreValues:[`box`,`inline-box`]}]}};export{uw as default};
|
|
86
|
+
---`,e+4);if(t>=0){this.index=t+3,this._hasFrontmatter=!0;return}}}}super.stateText(e)}}})),iw=p(((e,t)=>{let n=GC(),r=XC(),i=ew(),a=nw(),o=rw(),{cssSafeSyntax:s}=JC();function c(e,{onStyleTag:t,onStyleAttribute:r,svelte:i,astro:s}){let c={},l,u,d,f=new n.Parser({oncomment:e=>{u=!1;let t=/(?:^|\s+)postcss-(\w+)(?:\s+|$)/i.exec(e);if(!t)return;let n=t[1].toLowerCase();n===`enable`?l=!1:n===`disable`?l=!0:n===`ignore`&&(u=!0)},onopentag(e,t){c[e]=!0;let n=u;u=!1,!n&&/^style$/i.test(e)&&(d={inXsls:c[`xsl:stylesheet`],inXslt:c[`xsl:template`],inHtml:c.html,tagName:e,attribute:t,startIndex:f.endIndex+1})},onclosetag(n){if(c[n]=!1,u=!1,l||!d||n!==d.tagName)return;let r=e.slice(d.startIndex,f.startIndex),i=/^[\t ]*\r?\n/.exec(r);if(i){let e=i[0].length;d.startIndex+=e,r=r.slice(e)}d.content=r.replace(/[\t ]*$/,``),t(d),d=null},onattribute(t,n){if(l||u||t!==`style`)return;let i=f.endIndex,a=i-n.length;e[a-1]!==e[i]||!/\S/.test(e[i])||r({content:n,startIndex:a,inline:!0,inTemplate:c.template})}},{Tokenizer:i?a:s?o:void 0});f.parseComplete(e)}function l(e,t){let n=e&&t.exec(e);if(n)return n[1].toLowerCase()}function u(e){return l(e.type,/^\w+\/(?:x-)?(\w+)$/i)||l(e.lang,/^(\w+)(?:\?.+)?$/)||`css`}function d(e,t){let n=[],a=r(t.config),o=t.from&&/\.(?:\w*html?|xht|xslt?|jsp|aspx?|ejs|php\d*|twig|liquid|m(?:ark)?d(?:ow)?n|mk?d)$/i.test(t.from),l=t.from&&/\.svelte$/i.test(t.from),d=t.from&&/\.astro$/i.test(t.from);function f(e){!(e.inHtml||e.inXsls||e.inXslt||o)&&(e.attribute.src||e.attribute.href)&&!e.content.trim()||(e.lang=u(e.attribute),e.syntax=a(e.lang),e.syntax&&n.push(e))}function p(e){/\{[\s\S]*?\}/.test(e.content)?(e.syntax=i(a(`css`,{defaultSyntax:l?s:void 0})),e.lang=`custom-template`):(e.syntax=a(),e.lang=`css`),n.push(e)}return c(e,{onStyleTag:f,onStyleAttribute:p,svelte:l,astro:d}),n}t.exports=d})),aw=p(((e,t)=>{let n=ra(),r=ow();t.exports=i;function i(e,t){if(!(e instanceof r)){let r=e.source.syntax||e.root().source.syntax;r&&r.stringify?r.stringify(e,t):n(e,t);return}e.nodes.length?e.nodes.forEach(e=>{t(e.raws.codeBefore,e,`codeBefore`),e.source.syntax?e.source.syntax.stringify(e,t):n(e,t),t(e.raws.codeAfter||``,e,`codeAfter`)}):t(e.source.input.css)}})),ow=p(((e,t)=>{let{Document:n}=Ra();t.exports=class extends n{toString(e){return super.toString(e||{stringify:aw()})}each(e){let t=this.nodes.map(t=>t.each(e));return t.every(e=>e!==!1)&&t.pop()}append(...e){return this.last.append.apply(this.last,e),this}prepend(...e){return this.first.prepend.apply(this.first,e),this}insertBefore(e,t){return e.prepend(t),this}insertAfter(e,t){return e.append(t),this}}})),sw=p(((e,t)=>{let n=wa(),r=ow(),i=/\r?\n|\r/g;var a=class{constructor(e){let t,n=[];for(i.lastIndex=0;t=i.exec(e);)n.push(t.index);n.push(e.length),this.lines=n,this.source=e}getOffsetFromLoc(e){let t=e.line-2;return(t>=0?this.lines[t]:-1)+e.column}getLocFromOffset(e){let t=this.lines;for(let n=0;n<t.length;n++)if(t[n]>=e){let t=this.lines[n-1];return{line:n+1,column:e-(t??-1)}}let n=this.lines[this.lines.length-2];return{line:t.length,column:e-(n??-1)}}},o=class{constructor(e,t){let{line:n,column:r}=e.getLocFromOffset(t.startIndex);this.line=n-1,this.column=r-1,this.style=t,this.source=e.source}fixLocation(e){e&&(e.line===1&&(e.column+=this.column),e.line+=this.line,typeof e.offset==`number`&&(e.offset+=this.style.startIndex),typeof e.endLine==`number`&&(e.endLine===1&&(e.endColumn+=this.column),e.endLine+=this.line))}node(e){this.fixLocation(e.source.start),this.fixLocation(e.source.end)}root(e){this.node(e),e.walk(e=>{this.node(e)})}error(e){return e&&e.name===`CssSyntaxError`&&(this.fixLocation(e),this.fixLocation(e.input),e.message=e.message.replace(/:\d+:\d+:/,`:${e.line}:${e.column}:`)),e}parse(e){let t=this.style,n=t.syntax,r;try{r=n.parse(t.content,Object.assign({},e,{document:this.source,map:!1},t.opts))}catch(e){throw this.error(e),e}return this.root(r),r.source.inline=!!t.inline,r.source.lang=t.lang,r.source.syntax=n,l(r,n),r}};function s(e,t){let n=new a(e);return function(e){return new o(n,e).parse(t)}}function c(e,t,i){let a=new r,o=0;if(i.length){let n=s(e,t);i.sort((e,t)=>e.startIndex-t.startIndex).forEach(t=>{let r=n(t);if(r){r.raws.codeBefore=e.slice(o,t.startIndex);try{Object.defineProperty(r.raws,"beforeStart",{configurable:!0,get(){return r.raws.codeBefore},set(e){r.raws.codeBefore=e}})}catch{}o=t.startIndex+(t.content||r.source.input.css).length,r.document=a,a.nodes.push(r)}})}let c=a.nodes[a.nodes.length-1];return c&&(c.raws.codeAfter=o?e.slice(o):e),a.source={input:new n(e,t),start:{line:1,column:1},opts:t},a}t.exports=c;function l(e,t){let n=e.toString;try{Object.defineProperty(e,"toString",{configurable:!0,enumerable:!1,value(e){return n.call(this,e||t)}})}catch{}}})),cw=p(((e,t)=>{let n=iw(),r=sw();t.exports=function(e,t){let i=r(e,t,n(e,t));return i.source.lang=`html`,i.source.syntax=t.syntax,i}})),lw=h(p(((e,t)=>{let n=cw(),r=aw();function i(e){let t={parse:(r,i)=>n(String(r),{config:e,syntax:t,...i||{}}),stringify:r};return t}let a=i();i.parse=a.parse,i.stringify=a.stringify,t.exports=i}))(),1),uw={reportUnscopedDisables:!0,reportNeedlessDisables:!0,reportInvalidScopeDisables:!0,plugins:[Bi,Zi,No,xC],overrides:[{files:[`**/*.html`],customSyntax:lw.default}],ignoreFiles:[`**/.air/**`,`**/.claude/**`,`**/.git/**`,`**/.make/**`,`**/.playwright-mcp/**`,`**/.ruff_cache/**`,`**/.swc/**`,`**/.venv/**`,`**/build/**`,`**/dist/**`,`**/node_modules/**`,`**/persistent/**`],rules:{...{rules:{"annotation-no-unknown":!0,"at-rule-descriptor-no-unknown":!0,"at-rule-descriptor-value-no-unknown":!0,"at-rule-no-deprecated":!0,"at-rule-no-unknown":!0,"at-rule-prelude-no-invalid":[!0,{ignoreAtRules:[`media`]}],"block-no-empty":!0,"comment-no-empty":!0,"custom-property-no-missing-var-function":!0,"declaration-block-no-duplicate-custom-properties":!0,"declaration-block-no-duplicate-properties":[!0,{ignore:[`consecutive-duplicates-with-different-syntaxes`]}],"declaration-block-no-shorthand-property-overrides":!0,"declaration-property-value-keyword-no-deprecated":!0,"declaration-property-value-no-unknown":!0,"font-family-no-duplicate-names":!0,"font-family-no-missing-generic-family-keyword":!0,"function-calc-no-unspaced-operator":!0,"keyframe-block-no-duplicate-selectors":!0,"keyframe-declaration-no-important":!0,"media-feature-name-no-unknown":!0,"media-feature-name-value-no-unknown":!0,"media-query-no-invalid":!0,"media-type-no-deprecated":!0,"named-grid-areas-no-invalid":!0,"nesting-selector-no-missing-scoping-root":!0,"no-descending-specificity":!0,"no-duplicate-at-import-rules":!0,"no-duplicate-selectors":!0,"no-empty-source":!0,"no-invalid-double-slash-comments":!0,"no-invalid-position-at-import-rule":!0,"no-invalid-position-declaration":!0,"no-irregular-whitespace":!0,"property-no-deprecated":!0,"property-no-unknown":!0,"selector-anb-no-unmatchable":!0,"selector-pseudo-class-no-unknown":!0,"selector-pseudo-element-no-unknown":!0,"selector-type-no-unknown":[!0,{ignore:[`custom-elements`]}],"string-no-newline":[!0,{ignore:[`at-rule-preludes`,`declaration-values`]}],"syntax-string-no-invalid":!0}}.rules,"@stylistic/at-rule-name-case":null,"@stylistic/at-rule-name-newline-after":null,"@stylistic/at-rule-name-space-after":null,"@stylistic/at-rule-semicolon-newline-after":null,"@stylistic/at-rule-semicolon-space-before":null,"@stylistic/block-closing-brace-empty-line-before":null,"@stylistic/block-closing-brace-newline-after":null,"@stylistic/block-closing-brace-newline-before":null,"@stylistic/block-closing-brace-space-after":null,"@stylistic/block-closing-brace-space-before":null,"@stylistic/block-opening-brace-newline-after":null,"@stylistic/block-opening-brace-newline-before":null,"@stylistic/block-opening-brace-space-after":null,"@stylistic/block-opening-brace-space-before":`always-multi-line`,"@stylistic/color-hex-case":null,"@stylistic/declaration-bang-space-after":`never`,"@stylistic/declaration-bang-space-before":`always`,"@stylistic/declaration-block-semicolon-newline-after":null,"@stylistic/declaration-block-semicolon-newline-before":null,"@stylistic/declaration-block-semicolon-space-after":null,"@stylistic/declaration-block-semicolon-space-before":`never`,"@stylistic/declaration-block-trailing-semicolon":null,"@stylistic/declaration-colon-newline-after":null,"@stylistic/declaration-colon-space-after":null,"@stylistic/declaration-colon-space-before":`never`,"@stylistic/function-comma-newline-after":null,"@stylistic/function-comma-newline-before":null,"@stylistic/function-comma-space-after":null,"@stylistic/function-comma-space-before":null,"@stylistic/function-max-empty-lines":0,"@stylistic/function-parentheses-newline-inside":null,"@stylistic/function-parentheses-space-inside":null,"@stylistic/function-whitespace-after":null,"@stylistic/indentation":2,"@stylistic/linebreaks":null,"@stylistic/max-empty-lines":2,"@stylistic/max-line-length":null,"@stylistic/media-feature-colon-space-after":null,"@stylistic/media-feature-colon-space-before":`never`,"@stylistic/media-feature-name-case":null,"@stylistic/media-feature-parentheses-space-inside":null,"@stylistic/media-feature-range-operator-space-after":`always`,"@stylistic/media-feature-range-operator-space-before":`always`,"@stylistic/media-query-list-comma-newline-after":null,"@stylistic/media-query-list-comma-newline-before":null,"@stylistic/media-query-list-comma-space-after":null,"@stylistic/media-query-list-comma-space-before":null,"@stylistic/named-grid-areas-alignment":null,"@stylistic/no-empty-first-line":null,"@stylistic/no-eol-whitespace":!0,"@stylistic/no-extra-semicolons":!0,"@stylistic/no-missing-end-of-source-newline":null,"@stylistic/number-leading-zero":null,"@stylistic/number-no-trailing-zeros":null,"@stylistic/property-case":`lower`,"@stylistic/selector-attribute-brackets-space-inside":null,"@stylistic/selector-attribute-operator-space-after":null,"@stylistic/selector-attribute-operator-space-before":null,"@stylistic/selector-combinator-space-after":null,"@stylistic/selector-combinator-space-before":null,"@stylistic/selector-descendant-combinator-no-non-space":!0,"@stylistic/selector-list-comma-newline-after":null,"@stylistic/selector-list-comma-newline-before":null,"@stylistic/selector-list-comma-space-after":`always-single-line`,"@stylistic/selector-list-comma-space-before":`never-single-line`,"@stylistic/selector-max-empty-lines":0,"@stylistic/selector-pseudo-class-case":`lower`,"@stylistic/selector-pseudo-class-parentheses-space-inside":`never`,"@stylistic/selector-pseudo-element-case":`lower`,"@stylistic/string-quotes":`double`,"@stylistic/unicode-bom":null,"@stylistic/unit-case":`lower`,"@stylistic/value-list-comma-newline-after":null,"@stylistic/value-list-comma-newline-before":null,"@stylistic/value-list-comma-space-after":null,"@stylistic/value-list-comma-space-before":null,"@stylistic/value-list-max-empty-lines":0,"at-rule-no-unknown":[!0,{ignoreAtRules:[`tailwind`,`unocss`,`config`,`source`]}],"at-rule-no-vendor-prefix":!0,"block-no-redundant-nested-style-rules":!0,"color-function-notation":null,"color-no-invalid-hex":!0,"declaration-property-value-no-unknown":!0,"declaration-block-no-duplicate-properties":[!0,{ignore:[`consecutive-duplicates-with-different-values`]}],"declaration-block-no-redundant-longhand-properties":[!0,{ignoreShorthands:[`flex-flow`,`overflow`,`grid-template`]}],"declaration-property-unit-disallowed-list":{"line-height":[`em`]},"declaration-property-value-disallowed-list":{"word-break":[`break-word`]},"font-family-name-quotes":`always-where-recommended`,"function-calc-no-unspaced-operator":!0,"function-linear-gradient-no-nonstandard-direction":!0,"function-name-case":`lower`,"function-no-unknown":!0,"function-url-quotes":`always`,"import-notation":`string`,"keyframe-block-no-duplicate-selectors":!0,"keyframe-declaration-no-important":!0,"length-zero-no-unit":[!0,{ignore:[`custom-properties`],ignoreFunctions:[`var`]}],"media-feature-name-no-vendor-prefix":!0,"no-descending-specificity":null,"no-empty-source":null,"no-invalid-double-slash-comments":!0,"no-invalid-position-at-import-rule":[!0,{ignoreAtRules:[`tailwind`]}],"no-unknown-animations":null,"no-unknown-custom-media":null,"no-unknown-custom-properties":null,"plugin/declaration-block-no-ignored-properties":!0,"property-no-deprecated":!0,"scale-unlimited/declaration-strict-value":[[`/color$/`,`fill`,`stroke`],{ignoreValues:`/^(inherit|transparent|unset|initial|currentcolor|none)$/`,ignoreFunctions:!0,disableFix:!0,expandShorthand:!0}],"selector-attribute-quotes":`always`,"selector-no-deprecated":null,"selector-no-vendor-prefix":!0,"selector-type-case":`lower`,"selector-type-no-unknown":[!0,{ignore:[`custom-elements`]}],"shorthand-property-no-redundant-values":!0,"unit-no-unknown":!0,"value-no-vendor-prefix":[!0,{ignoreValues:[`box`,`inline-box`]}]}};export{uw as default};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stylelint-config-silverwind",
|
|
3
|
-
"version": "40.0.
|
|
3
|
+
"version": "40.0.3",
|
|
4
4
|
"description": "Extensive stylelint configuration",
|
|
5
5
|
"author": "silverwind <me@silverwind.io>",
|
|
6
6
|
"repository": "silverwind/stylelint-config-silverwind",
|
|
@@ -19,22 +19,22 @@
|
|
|
19
19
|
"@silverwind/postcss-html": "1.8.3",
|
|
20
20
|
"@stylelint-types/stylelint-stylistic": "5.1.0",
|
|
21
21
|
"@stylistic/stylelint-plugin": "5.2.0",
|
|
22
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
23
|
-
"eslint": "10.4.
|
|
24
|
-
"eslint-config-silverwind": "133.0.
|
|
22
|
+
"@typescript/native-preview": "7.0.0-dev.20260608.1",
|
|
23
|
+
"eslint": "10.4.1",
|
|
24
|
+
"eslint-config-silverwind": "133.0.6",
|
|
25
25
|
"jest-extended": "7.0.0",
|
|
26
26
|
"postcss": "8.5.15",
|
|
27
|
-
"stylelint": "17.
|
|
27
|
+
"stylelint": "17.13.0",
|
|
28
28
|
"stylelint-config-recommended": "18.0.0",
|
|
29
29
|
"stylelint-declaration-block-no-ignored-properties": "3.0.0",
|
|
30
30
|
"stylelint-declaration-strict-value": "1.11.1",
|
|
31
31
|
"stylelint-value-no-unknown-custom-properties": "6.1.1",
|
|
32
|
-
"tsdown": "0.22.
|
|
33
|
-
"tsdown-config-silverwind": "3.0.
|
|
32
|
+
"tsdown": "0.22.2",
|
|
33
|
+
"tsdown-config-silverwind": "3.0.2",
|
|
34
34
|
"typescript": "6.0.3",
|
|
35
|
-
"typescript-config-silverwind": "
|
|
35
|
+
"typescript-config-silverwind": "20.0.0",
|
|
36
36
|
"updates": "17.17.3",
|
|
37
37
|
"updates-config-silverwind": "3.0.2",
|
|
38
|
-
"versions": "15.0
|
|
38
|
+
"versions": "15.1.0"
|
|
39
39
|
}
|
|
40
40
|
}
|