stylelint-config-silverwind 35.0.0 → 35.0.1
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 +49 -42
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -19068,6 +19068,9 @@ function isIdentCodePoint(e3) {
|
|
|
19068
19068
|
function isNonASCII_IdentCodePoint(e3) {
|
|
19069
19069
|
return 183 === e3 || 8204 === e3 || 8205 === e3 || 8255 === e3 || 8256 === e3 || 8204 === e3 || (192 <= e3 && e3 <= 214 || 216 <= e3 && e3 <= 246 || 248 <= e3 && e3 <= 893 || 895 <= e3 && e3 <= 8191 || 8304 <= e3 && e3 <= 8591 || 11264 <= e3 && e3 <= 12271 || 12289 <= e3 && e3 <= 55295 || 63744 <= e3 && e3 <= 64975 || 65008 <= e3 && e3 <= 65533 || (0 === e3 || (!!isSurrogate(e3) || e3 >= 65536)));
|
|
19070
19070
|
}
|
|
19071
|
+
function isNonPrintableCodePoint(e3) {
|
|
19072
|
+
return 11 === e3 || 127 === e3 || 0 <= e3 && e3 <= 8 || 14 <= e3 && e3 <= 31;
|
|
19073
|
+
}
|
|
19071
19074
|
function isNewLine(e3) {
|
|
19072
19075
|
return e3 === r || e3 === t || 12 === e3;
|
|
19073
19076
|
}
|
|
@@ -19293,13 +19296,13 @@ function consumeUrlToken(n2, t2) {
|
|
|
19293
19296
|
}
|
|
19294
19297
|
return 41 === t2.source.codePointAt(t2.cursor) ? (t2.advanceCodePoint(), [c.URL, t2.source.slice(t2.representationStart, t2.representationEnd + 1), t2.representationStart, t2.representationEnd, { value: o2 }]) : (consumeBadURL(n2, t2), [c.BadURL, t2.source.slice(t2.representationStart, t2.representationEnd + 1), t2.representationStart, t2.representationEnd, void 0]);
|
|
19295
19298
|
}
|
|
19296
|
-
const
|
|
19297
|
-
if (34 ===
|
|
19299
|
+
const r2 = t2.source.codePointAt(t2.cursor);
|
|
19300
|
+
if (34 === r2 || 39 === r2 || 40 === r2 || isNonPrintableCodePoint(r2 ?? -1)) {
|
|
19298
19301
|
consumeBadURL(n2, t2);
|
|
19299
19302
|
const o3 = [c.BadURL, t2.source.slice(t2.representationStart, t2.representationEnd + 1), t2.representationStart, t2.representationEnd, void 0];
|
|
19300
19303
|
return n2.onParseError(new ParseErrorWithToken(e2.UnexpectedCharacterInURL, t2.representationStart, t2.representationEnd, ["4.3.6. Consume a url token", `Unexpected U+0022 QUOTATION MARK ("), U+0027 APOSTROPHE ('), U+0028 LEFT PARENTHESIS (() or non-printable code point`], o3)), o3;
|
|
19301
19304
|
}
|
|
19302
|
-
if (92 ===
|
|
19305
|
+
if (92 === r2) {
|
|
19303
19306
|
if (checkIfTwoCodePointsAreAValidEscape(t2)) {
|
|
19304
19307
|
t2.advanceCodePoint(), o2 += String.fromCodePoint(consumeEscapedCodePoint(n2, t2));
|
|
19305
19308
|
continue;
|
|
@@ -19310,7 +19313,6 @@ function consumeUrlToken(n2, t2) {
|
|
|
19310
19313
|
}
|
|
19311
19314
|
0 === t2.source.codePointAt(t2.cursor) || isSurrogate(t2.source.codePointAt(t2.cursor) ?? -1) ? (o2 += String.fromCodePoint(s), t2.advanceCodePoint()) : (o2 += t2.source[t2.cursor], t2.advanceCodePoint());
|
|
19312
19315
|
}
|
|
19313
|
-
var r2;
|
|
19314
19316
|
}
|
|
19315
19317
|
function consumeIdentLikeToken(e3, n2) {
|
|
19316
19318
|
const t2 = consumeIdentSequence(e3, n2);
|
|
@@ -19555,7 +19557,7 @@ class ContainerNodeBaseClass {
|
|
|
19555
19557
|
}
|
|
19556
19558
|
}
|
|
19557
19559
|
walk(e3, n2) {
|
|
19558
|
-
0 !== this.value.length && this.forEach((
|
|
19560
|
+
0 !== this.value.length && this.forEach((n3, t2) => false !== e3(n3, t2) && ((!("walk" in n3.node) || !this.value.includes(n3.node) || false !== n3.node.walk(e3, n3.state)) && void 0), n2);
|
|
19559
19561
|
}
|
|
19560
19562
|
}
|
|
19561
19563
|
class FunctionNode extends ContainerNodeBaseClass {
|
|
@@ -19572,14 +19574,14 @@ class FunctionNode extends ContainerNodeBaseClass {
|
|
|
19572
19574
|
isTokenEOF(this.endToken) && (this.endToken = [c.CloseParen, ")", -1, -1, void 0]);
|
|
19573
19575
|
}
|
|
19574
19576
|
tokens() {
|
|
19575
|
-
return isTokenEOF(this.endToken) ? [this.name, ...this.value.flatMap((
|
|
19577
|
+
return isTokenEOF(this.endToken) ? [this.name, ...this.value.flatMap((e3) => e3.tokens())] : [this.name, ...this.value.flatMap((e3) => e3.tokens()), this.endToken];
|
|
19576
19578
|
}
|
|
19577
19579
|
toString() {
|
|
19578
|
-
const e3 = this.value.map((
|
|
19580
|
+
const e3 = this.value.map((e4) => isToken(e4) ? stringify(e4) : e4.toString()).join("");
|
|
19579
19581
|
return stringify(this.name) + e3 + stringify(this.endToken);
|
|
19580
19582
|
}
|
|
19581
19583
|
toJSON() {
|
|
19582
|
-
return { type: this.type, name: this.getName(), tokens: this.tokens(), value: this.value.map((
|
|
19584
|
+
return { type: this.type, name: this.getName(), tokens: this.tokens(), value: this.value.map((e3) => e3.toJSON()) };
|
|
19583
19585
|
}
|
|
19584
19586
|
isFunctionNode() {
|
|
19585
19587
|
return FunctionNode.isFunctionNode(this);
|
|
@@ -19618,14 +19620,14 @@ class SimpleBlockNode extends ContainerNodeBaseClass {
|
|
|
19618
19620
|
}
|
|
19619
19621
|
}
|
|
19620
19622
|
tokens() {
|
|
19621
|
-
return isTokenEOF(this.endToken) ? [this.startToken, ...this.value.flatMap((
|
|
19623
|
+
return isTokenEOF(this.endToken) ? [this.startToken, ...this.value.flatMap((e3) => e3.tokens())] : [this.startToken, ...this.value.flatMap((e3) => e3.tokens()), this.endToken];
|
|
19622
19624
|
}
|
|
19623
19625
|
toString() {
|
|
19624
|
-
const e3 = this.value.map((
|
|
19626
|
+
const e3 = this.value.map((e4) => isToken(e4) ? stringify(e4) : e4.toString()).join("");
|
|
19625
19627
|
return stringify(this.startToken) + e3 + stringify(this.endToken);
|
|
19626
19628
|
}
|
|
19627
19629
|
toJSON() {
|
|
19628
|
-
return { type: this.type, startToken: this.startToken, tokens: this.tokens(), value: this.value.map((
|
|
19630
|
+
return { type: this.type, startToken: this.startToken, tokens: this.tokens(), value: this.value.map((e3) => e3.toJSON()) };
|
|
19629
19631
|
}
|
|
19630
19632
|
isSimpleBlockNode() {
|
|
19631
19633
|
return SimpleBlockNode.isSimpleBlockNode(this);
|
|
@@ -19710,10 +19712,12 @@ function consumeComment(e3, n2) {
|
|
|
19710
19712
|
function consumeAllCommentsAndWhitespace(e3, n2) {
|
|
19711
19713
|
const t2 = [];
|
|
19712
19714
|
let o2 = 0;
|
|
19713
|
-
for (; ; )
|
|
19714
|
-
|
|
19715
|
-
|
|
19716
|
-
|
|
19715
|
+
for (; ; ) {
|
|
19716
|
+
if (isTokenWhitespace(n2[o2])) {
|
|
19717
|
+
const e4 = consumeWhitespace(0, n2.slice(o2));
|
|
19718
|
+
o2 += e4.advance, t2.push(e4.node);
|
|
19719
|
+
continue;
|
|
19720
|
+
}
|
|
19717
19721
|
if (!isTokenComment(n2[o2])) return { advance: o2, nodes: t2 };
|
|
19718
19722
|
t2.push(new CommentNode(n2[o2])), o2++;
|
|
19719
19723
|
}
|
|
@@ -19954,10 +19958,10 @@ class MediaQueryInvalid {
|
|
|
19954
19958
|
return [new MediaQueryInvalid(this.media)];
|
|
19955
19959
|
}
|
|
19956
19960
|
tokens() {
|
|
19957
|
-
return this.media.flatMap((
|
|
19961
|
+
return this.media.flatMap((e3) => e3.tokens());
|
|
19958
19962
|
}
|
|
19959
19963
|
toString() {
|
|
19960
|
-
return this.media.map((
|
|
19964
|
+
return this.media.map((e3) => e3.toString()).join("");
|
|
19961
19965
|
}
|
|
19962
19966
|
walk(t2, i2) {
|
|
19963
19967
|
if (0 === this.media.length) return;
|
|
@@ -20062,10 +20066,10 @@ class MediaConditionListWithAnd {
|
|
|
20062
20066
|
this.leading = e3, this.list = t2, this.before = i2, this.after = a2;
|
|
20063
20067
|
}
|
|
20064
20068
|
tokens() {
|
|
20065
|
-
return [...this.before, ...this.leading.tokens(), ...this.list.flatMap((
|
|
20069
|
+
return [...this.before, ...this.leading.tokens(), ...this.list.flatMap((e3) => e3.tokens()), ...this.after];
|
|
20066
20070
|
}
|
|
20067
20071
|
toString() {
|
|
20068
|
-
return stringify(...this.before) + this.leading.toString() + this.list.map((
|
|
20072
|
+
return stringify(...this.before) + this.leading.toString() + this.list.map((e3) => e3.toString()).join("") + stringify(...this.after);
|
|
20069
20073
|
}
|
|
20070
20074
|
hasLeadingSpace() {
|
|
20071
20075
|
return this.before.length ? isTokenWhiteSpaceOrComment(this.before[0]) : this.leading.hasLeadingSpace();
|
|
@@ -20091,7 +20095,7 @@ class MediaConditionListWithAnd {
|
|
|
20091
20095
|
}
|
|
20092
20096
|
}
|
|
20093
20097
|
toJSON() {
|
|
20094
|
-
return { type: this.type, leading: this.leading.toJSON(), list: this.list.map((
|
|
20098
|
+
return { type: this.type, leading: this.leading.toJSON(), list: this.list.map((e3) => e3.toJSON()), before: this.before, after: this.after };
|
|
20095
20099
|
}
|
|
20096
20100
|
isMediaConditionListWithAnd() {
|
|
20097
20101
|
return MediaConditionListWithAnd.isMediaConditionListWithAnd(this);
|
|
@@ -20110,10 +20114,10 @@ class MediaConditionListWithOr {
|
|
|
20110
20114
|
this.leading = e3, this.list = t2, this.before = i2, this.after = a2;
|
|
20111
20115
|
}
|
|
20112
20116
|
tokens() {
|
|
20113
|
-
return [...this.before, ...this.leading.tokens(), ...this.list.flatMap((
|
|
20117
|
+
return [...this.before, ...this.leading.tokens(), ...this.list.flatMap((e3) => e3.tokens()), ...this.after];
|
|
20114
20118
|
}
|
|
20115
20119
|
toString() {
|
|
20116
|
-
return stringify(...this.before) + this.leading.toString() + this.list.map((
|
|
20120
|
+
return stringify(...this.before) + this.leading.toString() + this.list.map((e3) => e3.toString()).join("") + stringify(...this.after);
|
|
20117
20121
|
}
|
|
20118
20122
|
hasLeadingSpace() {
|
|
20119
20123
|
return this.before.length ? isTokenWhiteSpaceOrComment(this.before[0]) : this.leading.hasLeadingSpace();
|
|
@@ -20139,7 +20143,7 @@ class MediaConditionListWithOr {
|
|
|
20139
20143
|
}
|
|
20140
20144
|
}
|
|
20141
20145
|
toJSON() {
|
|
20142
|
-
return { type: this.type, leading: this.leading.toJSON(), list: this.list.map((
|
|
20146
|
+
return { type: this.type, leading: this.leading.toJSON(), list: this.list.map((e3) => e3.toJSON()), before: this.before, after: this.after };
|
|
20143
20147
|
}
|
|
20144
20148
|
isMediaConditionListWithOr() {
|
|
20145
20149
|
return MediaConditionListWithOr.isMediaConditionListWithOr(this);
|
|
@@ -20207,7 +20211,7 @@ function parseMediaFeatureName(e3) {
|
|
|
20207
20211
|
t2 = i2;
|
|
20208
20212
|
}
|
|
20209
20213
|
}
|
|
20210
|
-
return -1 !== t2 && new MediaFeatureName(e3[t2], e3.slice(0, t2).flatMap((
|
|
20214
|
+
return -1 !== t2 && new MediaFeatureName(e3[t2], e3.slice(0, t2).flatMap((e4) => e4.tokens()), e3.slice(t2 + 1).flatMap((e4) => e4.tokens()));
|
|
20211
20215
|
}
|
|
20212
20216
|
class MediaFeatureBoolean {
|
|
20213
20217
|
type = O.MediaFeatureBoolean;
|
|
@@ -20256,10 +20260,10 @@ class MediaFeatureValue {
|
|
|
20256
20260
|
Array.isArray(e3) && 1 === e3.length ? this.value = e3[0] : this.value = e3, this.before = t2, this.after = i2;
|
|
20257
20261
|
}
|
|
20258
20262
|
tokens() {
|
|
20259
|
-
return Array.isArray(this.value) ? [...this.before, ...this.value.flatMap((
|
|
20263
|
+
return Array.isArray(this.value) ? [...this.before, ...this.value.flatMap((e3) => e3.tokens()), ...this.after] : [...this.before, ...this.value.tokens(), ...this.after];
|
|
20260
20264
|
}
|
|
20261
20265
|
toString() {
|
|
20262
|
-
return Array.isArray(this.value) ? stringify(...this.before) + this.value.map((
|
|
20266
|
+
return Array.isArray(this.value) ? stringify(...this.before) + this.value.map((e3) => e3.toString()).join("") + stringify(...this.after) : stringify(...this.before) + this.value.toString() + stringify(...this.after);
|
|
20263
20267
|
}
|
|
20264
20268
|
indexOf(e3) {
|
|
20265
20269
|
return e3 === this.value ? "value" : -1;
|
|
@@ -20286,7 +20290,7 @@ class MediaFeatureValue {
|
|
|
20286
20290
|
}
|
|
20287
20291
|
}
|
|
20288
20292
|
toJSON() {
|
|
20289
|
-
return Array.isArray(this.value) ? { type: this.type, value: this.value.map((
|
|
20293
|
+
return Array.isArray(this.value) ? { type: this.type, value: this.value.map((e3) => e3.toJSON()), tokens: this.tokens() } : { type: this.type, value: this.value.toJSON(), tokens: this.tokens() };
|
|
20290
20294
|
}
|
|
20291
20295
|
isMediaFeatureValue() {
|
|
20292
20296
|
return MediaFeatureValue.isMediaFeatureValue(this);
|
|
@@ -20308,7 +20312,9 @@ function parseMediaFeatureValue(e3, t2 = false) {
|
|
|
20308
20312
|
continue;
|
|
20309
20313
|
}
|
|
20310
20314
|
i2 = r2, n2 = r2;
|
|
20311
|
-
|
|
20315
|
+
continue;
|
|
20316
|
+
}
|
|
20317
|
+
if (isEnvironmentVariable(s2)) i2 = r2, n2 = r2;
|
|
20312
20318
|
else if (isDimension(s2)) i2 = r2, n2 = r2;
|
|
20313
20319
|
else {
|
|
20314
20320
|
if (t2 || !isIdent(s2)) return false;
|
|
@@ -20316,7 +20322,7 @@ function parseMediaFeatureValue(e3, t2 = false) {
|
|
|
20316
20322
|
}
|
|
20317
20323
|
}
|
|
20318
20324
|
}
|
|
20319
|
-
return -1 !== i2 && new MediaFeatureValue(e3.slice(i2, n2 + 1), e3.slice(0, i2).flatMap((
|
|
20325
|
+
return -1 !== i2 && new MediaFeatureValue(e3.slice(i2, n2 + 1), e3.slice(0, i2).flatMap((e4) => e4.tokens()), e3.slice(n2 + 1).flatMap((e4) => e4.tokens()));
|
|
20320
20326
|
}
|
|
20321
20327
|
function matchesRatioExactly(e3) {
|
|
20322
20328
|
let t2 = -1, i2 = -1;
|
|
@@ -20807,9 +20813,9 @@ function parseMediaQuery(e3) {
|
|
|
20807
20813
|
}
|
|
20808
20814
|
}
|
|
20809
20815
|
let r2 = [], s2 = [];
|
|
20810
|
-
-1 !== i2 ? (r2 = e3.slice(0, i2 + 1).flatMap((
|
|
20816
|
+
-1 !== i2 ? (r2 = e3.slice(0, i2 + 1).flatMap((e4) => e4.tokens()), -1 !== a2 && (s2 = e3.slice(i2 + 1, a2 + 1).flatMap((e4) => e4.tokens()))) : -1 !== a2 && (s2 = e3.slice(0, a2 + 1).flatMap((e4) => e4.tokens()));
|
|
20811
20817
|
const d2 = parseMediaConditionWithoutOr(e3.slice(Math.max(i2, a2, n2) + 1));
|
|
20812
|
-
return false === d2 ? new MediaQueryWithType(r2, [...s2, ...e3.slice(a2 + 1).flatMap((
|
|
20818
|
+
return false === d2 ? new MediaQueryWithType(r2, [...s2, ...e3.slice(a2 + 1).flatMap((e4) => e4.tokens())]) : new MediaQueryWithType(r2, s2, e3.slice(a2 + 1, n2 + 1).flatMap((e4) => e4.tokens()), d2);
|
|
20813
20819
|
}
|
|
20814
20820
|
}
|
|
20815
20821
|
function parseMediaConditionListWithOr(e3) {
|
|
@@ -20832,7 +20838,7 @@ function parseMediaConditionListWithOr(e3) {
|
|
|
20832
20838
|
n2 = s2;
|
|
20833
20839
|
}
|
|
20834
20840
|
}
|
|
20835
|
-
return !(!t2 || !i2.length) && new MediaConditionListWithOr(t2, i2, e3.slice(0, n2).flatMap((
|
|
20841
|
+
return !(!t2 || !i2.length) && new MediaConditionListWithOr(t2, i2, e3.slice(0, n2).flatMap((e4) => e4.tokens()), e3.slice(r2 + 1).flatMap((e4) => e4.tokens()));
|
|
20836
20842
|
}
|
|
20837
20843
|
function parseMediaConditionListWithAnd(e3) {
|
|
20838
20844
|
let t2 = false;
|
|
@@ -20854,7 +20860,7 @@ function parseMediaConditionListWithAnd(e3) {
|
|
|
20854
20860
|
n2 = s2;
|
|
20855
20861
|
}
|
|
20856
20862
|
}
|
|
20857
|
-
return !(!t2 || !i2.length) && new MediaConditionListWithAnd(t2, i2, e3.slice(0, n2).flatMap((
|
|
20863
|
+
return !(!t2 || !i2.length) && new MediaConditionListWithAnd(t2, i2, e3.slice(0, n2).flatMap((e4) => e4.tokens()), e3.slice(r2 + 1).flatMap((e4) => e4.tokens()));
|
|
20858
20864
|
}
|
|
20859
20865
|
function parseMediaCondition(e3) {
|
|
20860
20866
|
const t2 = parseMediaNot(e3);
|
|
@@ -20888,10 +20894,10 @@ function parseMediaInParens(e3) {
|
|
|
20888
20894
|
const i2 = e3[t2];
|
|
20889
20895
|
if (!isTokenOpenParen(i2.startToken)) return false;
|
|
20890
20896
|
i2.normalize();
|
|
20891
|
-
const n2 = [...e3.slice(0, t2).flatMap((
|
|
20897
|
+
const n2 = [...e3.slice(0, t2).flatMap((e4) => e4.tokens()), i2.startToken], r2 = [i2.endToken, ...e3.slice(t2 + 1).flatMap((e4) => e4.tokens())], s2 = parseMediaFeature(i2, n2, r2);
|
|
20892
20898
|
if (false !== s2) return new MediaInParens(s2);
|
|
20893
20899
|
const o2 = parseMediaCondition(i2.value);
|
|
20894
|
-
return false !== o2 ? new MediaInParens(o2, n2, r2) : new MediaInParens(new GeneralEnclosed(i2), e3.slice(0, t2).flatMap((
|
|
20900
|
+
return false !== o2 ? new MediaInParens(o2, n2, r2) : new MediaInParens(new GeneralEnclosed(i2), e3.slice(0, t2).flatMap((e4) => e4.tokens()), e3.slice(t2 + 1).flatMap((e4) => e4.tokens()));
|
|
20895
20901
|
}
|
|
20896
20902
|
function parseMediaInParensFromSimpleBlock(e3) {
|
|
20897
20903
|
if (!isTokenOpenParen(e3.startToken)) return false;
|
|
@@ -20918,13 +20924,14 @@ function parseMediaNot(e3) {
|
|
|
20918
20924
|
}
|
|
20919
20925
|
return false;
|
|
20920
20926
|
}
|
|
20921
|
-
if (
|
|
20922
|
-
{
|
|
20927
|
+
if (t2 && isSimpleBlockNode(r2)) {
|
|
20923
20928
|
r2.normalize();
|
|
20924
20929
|
const t3 = parseMediaInParensFromSimpleBlock(r2);
|
|
20925
20930
|
if (false === t3) return false;
|
|
20926
|
-
i2 = new MediaNot(e3.slice(0, n2).flatMap((
|
|
20931
|
+
i2 = new MediaNot(e3.slice(0, n2).flatMap((e4) => e4.tokens()), t3);
|
|
20932
|
+
continue;
|
|
20927
20933
|
}
|
|
20934
|
+
return false;
|
|
20928
20935
|
}
|
|
20929
20936
|
}
|
|
20930
20937
|
return i2 || false;
|
|
@@ -20947,7 +20954,7 @@ function parseMediaOr(e3) {
|
|
|
20947
20954
|
if (t2 && isSimpleBlockNode(n2)) {
|
|
20948
20955
|
n2.normalize();
|
|
20949
20956
|
const t3 = parseMediaInParensFromSimpleBlock(n2);
|
|
20950
|
-
return false !== t3 && { advance: i2, node: new MediaOr(e3.slice(0, i2).flatMap((
|
|
20957
|
+
return false !== t3 && { advance: i2, node: new MediaOr(e3.slice(0, i2).flatMap((e4) => e4.tokens()), t3) };
|
|
20951
20958
|
}
|
|
20952
20959
|
return false;
|
|
20953
20960
|
}
|
|
@@ -20972,7 +20979,7 @@ function parseMediaAnd(e3) {
|
|
|
20972
20979
|
if (t2 && isSimpleBlockNode(n2)) {
|
|
20973
20980
|
n2.normalize();
|
|
20974
20981
|
const t3 = parseMediaInParensFromSimpleBlock(n2);
|
|
20975
|
-
return false !== t3 && { advance: i2, node: new MediaAnd(e3.slice(0, i2).flatMap((
|
|
20982
|
+
return false !== t3 && { advance: i2, node: new MediaAnd(e3.slice(0, i2).flatMap((e4) => e4.tokens()), t3) };
|
|
20976
20983
|
}
|
|
20977
20984
|
return false;
|
|
20978
20985
|
}
|
|
@@ -20981,10 +20988,10 @@ function parseMediaAnd(e3) {
|
|
|
20981
20988
|
}
|
|
20982
20989
|
function parseFromTokens(e3, t2) {
|
|
20983
20990
|
const i2 = parseCommaSeparatedListOfComponentValues(e3, { onParseError: t2?.onParseError });
|
|
20984
|
-
return i2.map((
|
|
20991
|
+
return i2.map((e4, a2) => {
|
|
20985
20992
|
const n2 = parseMediaQuery(e4);
|
|
20986
20993
|
return false === n2 && true === t2?.preserveInvalidMediaQueries ? new MediaQueryInvalid(i2[a2]) : n2;
|
|
20987
|
-
})
|
|
20994
|
+
}).filter((e4) => !!e4);
|
|
20988
20995
|
}
|
|
20989
20996
|
function isGeneralEnclosed(e3) {
|
|
20990
20997
|
return GeneralEnclosed.isGeneralEnclosed(e3);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stylelint-config-silverwind",
|
|
3
|
-
"version": "35.0.
|
|
3
|
+
"version": "35.0.1",
|
|
4
4
|
"description": "Extensive stylelint configuration",
|
|
5
5
|
"author": "silverwind <me@silverwind.io>",
|
|
6
6
|
"repository": "silverwind/stylelint-config-silverwind",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@silverwind/postcss-html": "1.8.3",
|
|
21
|
-
"@stylelint-types/stylelint-stylistic": "
|
|
22
|
-
"@stylistic/stylelint-plugin": "
|
|
21
|
+
"@stylelint-types/stylelint-stylistic": "5.0.0",
|
|
22
|
+
"@stylistic/stylelint-plugin": "5.0.0",
|
|
23
23
|
"eslint": "9.39.2",
|
|
24
|
-
"eslint-config-silverwind": "117.0.
|
|
24
|
+
"eslint-config-silverwind": "117.0.3",
|
|
25
25
|
"stylelint": "17.0.0",
|
|
26
26
|
"stylelint-declaration-block-no-ignored-properties": "2.8.0",
|
|
27
27
|
"stylelint-declaration-strict-value": "1.10.11",
|