sass 1.61.0 → 1.62.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/package.json +1 -1
- package/sass.dart.js +194 -48
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"sass","description":"A pure JavaScript implementation of Sass.","license":"MIT","bugs":"https://github.com/sass/dart-sass/issues","homepage":"https://github.com/sass/dart-sass","repository":{"type":"git","url":"https://github.com/sass/dart-sass"},"author":{"name":"Natalie Weizenbaum","email":"nweiz@google.com","url":"https://github.com/nex3"},"engines":{"node":">=14.0.0"},"dependencies":{"chokidar":">=3.0.0 <4.0.0","immutable":"^4.0.0","source-map-js":">=0.6.2 <2.0.0"},"keywords":["style","scss","sass","preprocessor","css"],"types":"types/index.d.ts","exports":{"types":"./types/index.d.ts","default":"./sass.default.js"},"version":"1.
|
|
1
|
+
{"name":"sass","description":"A pure JavaScript implementation of Sass.","license":"MIT","bugs":"https://github.com/sass/dart-sass/issues","homepage":"https://github.com/sass/dart-sass","repository":{"type":"git","url":"https://github.com/sass/dart-sass"},"author":{"name":"Natalie Weizenbaum","email":"nweiz@google.com","url":"https://github.com/nex3"},"engines":{"node":">=14.0.0"},"dependencies":{"chokidar":">=3.0.0 <4.0.0","immutable":"^4.0.0","source-map-js":">=0.6.2 <2.0.0"},"keywords":["style","scss","sass","preprocessor","css"],"types":"types/index.d.ts","exports":{"types":"./types/index.d.ts","default":"./sass.default.js"},"version":"1.62.0","bin":{"sass":"sass.js"},"main":"sass.default.js"}
|
package/sass.dart.js
CHANGED
|
@@ -9181,13 +9181,13 @@ self.fs = _cliPkgRequires.fs;
|
|
|
9181
9181
|
this.assignmentNode = t2;
|
|
9182
9182
|
},
|
|
9183
9183
|
Deprecation_fromId(id) {
|
|
9184
|
-
return A.IterableExtension_firstWhereOrNull(B.
|
|
9184
|
+
return A.IterableExtension_firstWhereOrNull(B.List_4mn, new A.Deprecation_fromId_closure(id));
|
|
9185
9185
|
},
|
|
9186
9186
|
Deprecation_forVersion(version) {
|
|
9187
9187
|
var t2, _i, deprecation, $self, t3,
|
|
9188
9188
|
t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
|
|
9189
|
-
for (t2 = new A.VersionRange(null, version, false, true).get$allows(), _i = 0; _i <
|
|
9190
|
-
deprecation = B.
|
|
9189
|
+
for (t2 = new A.VersionRange(null, version, false, true).get$allows(), _i = 0; _i < 13; ++_i) {
|
|
9190
|
+
deprecation = B.List_4mn[_i];
|
|
9191
9191
|
$self = deprecation._deprecatedIn;
|
|
9192
9192
|
if ($self == null)
|
|
9193
9193
|
t3 = null;
|
|
@@ -21486,7 +21486,7 @@ self.fs = _cliPkgRequires.fs;
|
|
|
21486
21486
|
J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
|
|
21487
21487
|
J.set$Exception$x(self.exports, $.$get$exceptionClass());
|
|
21488
21488
|
J.set$Logger$x(self.exports, {silent: {warn: A.allowInteropNamed("sass.Logger.silent.warn", new A.main_closure0()), debug: A.allowInteropNamed("sass.Logger.silent.debug", new A.main_closure1())}});
|
|
21489
|
-
J.set$info$x(self.exports, "dart-sass\t1.
|
|
21489
|
+
J.set$info$x(self.exports, "dart-sass\t1.62.0\t(Sass Compiler)\t[Dart]\ndart2js\t2.19.6\t(Dart Compiler)\t[Dart]");
|
|
21490
21490
|
A.updateSourceSpanPrototype();
|
|
21491
21491
|
J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
|
|
21492
21492
|
J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
|
|
@@ -22183,7 +22183,7 @@ self.fs = _cliPkgRequires.fs;
|
|
|
22183
22183
|
switch ($async$goto) {
|
|
22184
22184
|
case 0:
|
|
22185
22185
|
// Function start
|
|
22186
|
-
$async$returnValue = "1.
|
|
22186
|
+
$async$returnValue = "1.62.0 compiled with dart2js 2.19.6";
|
|
22187
22187
|
// goto return
|
|
22188
22188
|
$async$goto = 1;
|
|
22189
22189
|
break;
|
|
@@ -23884,7 +23884,7 @@ self.fs = _cliPkgRequires.fs;
|
|
|
23884
23884
|
},
|
|
23885
23885
|
IterableExtension_firstWhereOrNull(_this, test) {
|
|
23886
23886
|
var _i, element;
|
|
23887
|
-
for (_i = 0; _i <
|
|
23887
|
+
for (_i = 0; _i < 13; ++_i) {
|
|
23888
23888
|
element = _this[_i];
|
|
23889
23889
|
if (test.call$1(element))
|
|
23890
23890
|
return element;
|
|
@@ -36641,6 +36641,16 @@ self.fs = _cliPkgRequires.fs;
|
|
|
36641
36641
|
accept$1(visitor) {
|
|
36642
36642
|
return this.accept$1$1(visitor, type$.dynamic);
|
|
36643
36643
|
},
|
|
36644
|
+
equalsIgnoringChildren$1(other) {
|
|
36645
|
+
var t1, t2;
|
|
36646
|
+
if (other instanceof A.ModifiableCssAtRule) {
|
|
36647
|
+
t1 = this.name;
|
|
36648
|
+
t2 = other.name;
|
|
36649
|
+
t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value) && J.$eq$(this.value, other.value) && this.isChildless === other.isChildless;
|
|
36650
|
+
} else
|
|
36651
|
+
t1 = false;
|
|
36652
|
+
return t1;
|
|
36653
|
+
},
|
|
36644
36654
|
copyWithoutChildren$0() {
|
|
36645
36655
|
var _this = this;
|
|
36646
36656
|
return A.ModifiableCssAtRule$(_this.name, _this.span, _this.isChildless, _this.value);
|
|
@@ -36701,6 +36711,9 @@ self.fs = _cliPkgRequires.fs;
|
|
|
36701
36711
|
accept$1(visitor) {
|
|
36702
36712
|
return this.accept$1$1(visitor, type$.dynamic);
|
|
36703
36713
|
},
|
|
36714
|
+
equalsIgnoringChildren$1(other) {
|
|
36715
|
+
return other instanceof A.ModifiableCssKeyframeBlock && B.C_ListEquality.equals$2(0, this.selector.value, other.selector.value);
|
|
36716
|
+
},
|
|
36704
36717
|
copyWithoutChildren$0() {
|
|
36705
36718
|
return A.ModifiableCssKeyframeBlock$(this.selector, this.span);
|
|
36706
36719
|
},
|
|
@@ -36715,6 +36728,9 @@ self.fs = _cliPkgRequires.fs;
|
|
|
36715
36728
|
accept$1(visitor) {
|
|
36716
36729
|
return this.accept$1$1(visitor, type$.dynamic);
|
|
36717
36730
|
},
|
|
36731
|
+
equalsIgnoringChildren$1(other) {
|
|
36732
|
+
return other instanceof A.ModifiableCssMediaRule && B.C_ListEquality.equals$2(0, this.queries, other.queries);
|
|
36733
|
+
},
|
|
36718
36734
|
copyWithoutChildren$0() {
|
|
36719
36735
|
return A.ModifiableCssMediaRule$(this.queries, this.span);
|
|
36720
36736
|
},
|
|
@@ -36770,6 +36786,14 @@ self.fs = _cliPkgRequires.fs;
|
|
|
36770
36786
|
accept$1(visitor) {
|
|
36771
36787
|
return this.accept$1$1(visitor, type$.dynamic);
|
|
36772
36788
|
},
|
|
36789
|
+
equalsIgnoringChildren$1(other) {
|
|
36790
|
+
var t1;
|
|
36791
|
+
if (other instanceof A.ModifiableCssStyleRule)
|
|
36792
|
+
t1 = B.C_ListEquality.equals$2(0, other._style_rule$_selector._box$_inner.value.components, this._style_rule$_selector._box$_inner.value.components);
|
|
36793
|
+
else
|
|
36794
|
+
t1 = false;
|
|
36795
|
+
return t1;
|
|
36796
|
+
},
|
|
36773
36797
|
copyWithoutChildren$0() {
|
|
36774
36798
|
return A.ModifiableCssStyleRule$(this._style_rule$_selector, this.span, this.originalSelector);
|
|
36775
36799
|
},
|
|
@@ -36785,6 +36809,9 @@ self.fs = _cliPkgRequires.fs;
|
|
|
36785
36809
|
accept$1(visitor) {
|
|
36786
36810
|
return this.accept$1$1(visitor, type$.dynamic);
|
|
36787
36811
|
},
|
|
36812
|
+
equalsIgnoringChildren$1(other) {
|
|
36813
|
+
return other instanceof A.ModifiableCssStylesheet;
|
|
36814
|
+
},
|
|
36788
36815
|
copyWithoutChildren$0() {
|
|
36789
36816
|
return A.ModifiableCssStylesheet$(this.span);
|
|
36790
36817
|
},
|
|
@@ -36800,6 +36827,16 @@ self.fs = _cliPkgRequires.fs;
|
|
|
36800
36827
|
accept$1(visitor) {
|
|
36801
36828
|
return this.accept$1$1(visitor, type$.dynamic);
|
|
36802
36829
|
},
|
|
36830
|
+
equalsIgnoringChildren$1(other) {
|
|
36831
|
+
var t1, t2;
|
|
36832
|
+
if (other instanceof A.ModifiableCssSupportsRule) {
|
|
36833
|
+
t1 = this.condition;
|
|
36834
|
+
t2 = other.condition;
|
|
36835
|
+
t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value);
|
|
36836
|
+
} else
|
|
36837
|
+
t1 = false;
|
|
36838
|
+
return t1;
|
|
36839
|
+
},
|
|
36803
36840
|
copyWithoutChildren$0() {
|
|
36804
36841
|
return A.ModifiableCssSupportsRule$(this.condition, this.span);
|
|
36805
36842
|
},
|
|
@@ -41835,8 +41872,8 @@ self.fs = _cliPkgRequires.fs;
|
|
|
41835
41872
|
parser.addFlag$2$help("quiet-deps", "Don't print compiler warnings from dependencies.\nStylesheets imported through load paths count as dependencies.");
|
|
41836
41873
|
parser.addFlag$2$help("verbose", "Print all deprecation warnings even when they're repetitive.");
|
|
41837
41874
|
t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
|
|
41838
|
-
for (_i = 0; _i <
|
|
41839
|
-
deprecation = B.
|
|
41875
|
+
for (_i = 0; _i < 13; ++_i) {
|
|
41876
|
+
deprecation = B.List_4mn[_i];
|
|
41840
41877
|
$self = deprecation._deprecatedIn;
|
|
41841
41878
|
if ($self == null)
|
|
41842
41879
|
t4 = _null;
|
|
@@ -41850,8 +41887,8 @@ self.fs = _cliPkgRequires.fs;
|
|
|
41850
41887
|
}
|
|
41851
41888
|
parser.addMultiOption$3$allowedHelp$help("fatal-deprecation", t2, "Deprecations to treat as errors. You may also pass a Sass\nversion to include any behavior deprecated in or before it.\nSee https://sass-lang.com/documentation/breaking-changes for \na complete list.");
|
|
41852
41889
|
t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
|
|
41853
|
-
for (_i = 0; _i <
|
|
41854
|
-
deprecation = B.
|
|
41890
|
+
for (_i = 0; _i < 13; ++_i) {
|
|
41891
|
+
deprecation = B.List_4mn[_i];
|
|
41855
41892
|
$self = deprecation._deprecatedIn;
|
|
41856
41893
|
if ($self == null)
|
|
41857
41894
|
t2 = _null;
|
|
@@ -41914,7 +41951,7 @@ self.fs = _cliPkgRequires.fs;
|
|
|
41914
41951
|
else
|
|
41915
41952
|
try {
|
|
41916
41953
|
argVersion = A.Version_Version$parse(id);
|
|
41917
|
-
sassVersion = A.Version_Version$parse("1.
|
|
41954
|
+
sassVersion = A.Version_Version$parse("1.62.0");
|
|
41918
41955
|
if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
|
|
41919
41956
|
A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
|
|
41920
41957
|
J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
|
|
@@ -43912,7 +43949,7 @@ self.fs = _cliPkgRequires.fs;
|
|
|
43912
43949
|
var color, t2,
|
|
43913
43950
|
t1 = J.getInterceptor$asx($arguments),
|
|
43914
43951
|
weight = t1.$index($arguments, 1).assertNumber$1("weight");
|
|
43915
|
-
if (t1.$index($arguments, 0) instanceof A.SassNumber) {
|
|
43952
|
+
if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber()) {
|
|
43916
43953
|
if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
|
|
43917
43954
|
throw A.wrapException(string$.Only_oa);
|
|
43918
43955
|
return A._functionString("invert", t1.take$1($arguments, 1));
|
|
@@ -43985,7 +44022,7 @@ self.fs = _cliPkgRequires.fs;
|
|
|
43985
44022
|
A.global_closure16.prototype = {
|
|
43986
44023
|
call$1($arguments) {
|
|
43987
44024
|
var t1 = J.getInterceptor$asx($arguments);
|
|
43988
|
-
if (t1.$index($arguments, 0) instanceof A.SassNumber)
|
|
44025
|
+
if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
|
|
43989
44026
|
return A._functionString("grayscale", $arguments);
|
|
43990
44027
|
return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
|
|
43991
44028
|
},
|
|
@@ -44020,7 +44057,10 @@ self.fs = _cliPkgRequires.fs;
|
|
|
44020
44057
|
};
|
|
44021
44058
|
A.global_closure20.prototype = {
|
|
44022
44059
|
call$1($arguments) {
|
|
44023
|
-
|
|
44060
|
+
var t1 = J.getInterceptor$asx($arguments);
|
|
44061
|
+
if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
|
|
44062
|
+
return A._functionString("saturate", $arguments);
|
|
44063
|
+
return new A.SassString("saturate(" + A.serializeValue(t1.$index($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
|
|
44024
44064
|
},
|
|
44025
44065
|
$signature: 16
|
|
44026
44066
|
};
|
|
@@ -44074,7 +44114,7 @@ self.fs = _cliPkgRequires.fs;
|
|
|
44074
44114
|
A.global_closure25.prototype = {
|
|
44075
44115
|
call$1($arguments) {
|
|
44076
44116
|
var t1 = J.getInterceptor$asx($arguments);
|
|
44077
|
-
if (t1.$index($arguments, 0) instanceof A.SassNumber)
|
|
44117
|
+
if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
|
|
44078
44118
|
return A._functionString("opacity", $arguments);
|
|
44079
44119
|
return A.SassNumber_SassNumber(t1.$index($arguments, 0).assertColor$1("color")._alpha, null);
|
|
44080
44120
|
},
|
|
@@ -48556,7 +48596,9 @@ self.fs = _cliPkgRequires.fs;
|
|
|
48556
48596
|
return this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
|
|
48557
48597
|
},
|
|
48558
48598
|
variableDeclarationWithoutNamespace$2(namespace, start_) {
|
|
48559
|
-
var t1, start, $name, t2, value, flagStart, t3, guarded, global, flag, endPosition, t4, t5, t6, declaration, _this = this,
|
|
48599
|
+
var t1, start, $name, t2, value, flagStart, t3, $self, guarded, global, flag, endPosition, t4, t5, t6, declaration, _this = this, _null = null,
|
|
48600
|
+
_s97_ = string$.x21defau,
|
|
48601
|
+
_s96_ = string$.x21globas,
|
|
48560
48602
|
precedingComment = _this.lastSilentComment;
|
|
48561
48603
|
_this.lastSilentComment = null;
|
|
48562
48604
|
if (start_ == null) {
|
|
@@ -48576,18 +48618,39 @@ self.fs = _cliPkgRequires.fs;
|
|
|
48576
48618
|
_this.whitespace$0();
|
|
48577
48619
|
value = _this._expression$0();
|
|
48578
48620
|
flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
|
|
48579
|
-
for (t3 = t2.string, guarded = false, global = false; t2.scanChar$1(33);) {
|
|
48621
|
+
for (t3 = t2.string, $self = _this.logger, guarded = false, global = false; t2.scanChar$1(33);) {
|
|
48580
48622
|
flag = _this.identifier$0();
|
|
48581
|
-
if (flag === "default")
|
|
48623
|
+
if (flag === "default") {
|
|
48624
|
+
if (guarded) {
|
|
48625
|
+
endPosition = t2._string_scanner$_position;
|
|
48626
|
+
t4 = t2._sourceFile;
|
|
48627
|
+
t5 = flagStart.position;
|
|
48628
|
+
t6 = new A._FileSpan(t4, t5, endPosition);
|
|
48629
|
+
t6._FileSpan$3(t4, t5, endPosition);
|
|
48630
|
+
if ($self instanceof A.DeprecationHandlingLogger)
|
|
48631
|
+
$self.warnForDeprecation$4$span$trace(B.Deprecation_Auo, _s97_, t6, _null);
|
|
48632
|
+
else
|
|
48633
|
+
$self.warn$4$deprecation$span$trace(0, _s97_, true, t6, _null);
|
|
48634
|
+
}
|
|
48582
48635
|
guarded = true;
|
|
48583
|
-
else if (flag === "global") {
|
|
48636
|
+
} else if (flag === "global") {
|
|
48584
48637
|
if (t1) {
|
|
48585
48638
|
endPosition = t2._string_scanner$_position;
|
|
48586
48639
|
t4 = t2._sourceFile;
|
|
48587
48640
|
t5 = flagStart.position;
|
|
48588
48641
|
t6 = new A._FileSpan(t4, t5, endPosition);
|
|
48589
48642
|
t6._FileSpan$3(t4, t5, endPosition);
|
|
48590
|
-
A.throwExpression(new A.StringScannerException(t3, string$.
|
|
48643
|
+
A.throwExpression(new A.StringScannerException(t3, string$.x21globai, t6));
|
|
48644
|
+
} else if (global) {
|
|
48645
|
+
endPosition = t2._string_scanner$_position;
|
|
48646
|
+
t4 = t2._sourceFile;
|
|
48647
|
+
t5 = flagStart.position;
|
|
48648
|
+
t6 = new A._FileSpan(t4, t5, endPosition);
|
|
48649
|
+
t6._FileSpan$3(t4, t5, endPosition);
|
|
48650
|
+
if ($self instanceof A.DeprecationHandlingLogger)
|
|
48651
|
+
$self.warnForDeprecation$4$span$trace(B.Deprecation_Auo, _s96_, t6, _null);
|
|
48652
|
+
else
|
|
48653
|
+
$self.warn$4$deprecation$span$trace(0, _s96_, true, t6, _null);
|
|
48591
48654
|
}
|
|
48592
48655
|
global = true;
|
|
48593
48656
|
} else {
|
|
@@ -58776,10 +58839,14 @@ self.fs = _cliPkgRequires.fs;
|
|
|
58776
58839
|
throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
|
|
58777
58840
|
}
|
|
58778
58841
|
if ($parent.get$hasFollowingSibling()) {
|
|
58779
|
-
|
|
58780
|
-
t1.
|
|
58781
|
-
|
|
58782
|
-
|
|
58842
|
+
grandparent = $parent._parent;
|
|
58843
|
+
t1 = grandparent.children;
|
|
58844
|
+
if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
|
|
58845
|
+
$parent = type$.ModifiableCssParentNode._as(t1.get$last(t1));
|
|
58846
|
+
else {
|
|
58847
|
+
$parent = $parent.copyWithoutChildren$0();
|
|
58848
|
+
grandparent.addChild$1($parent);
|
|
58849
|
+
}
|
|
58783
58850
|
}
|
|
58784
58851
|
}
|
|
58785
58852
|
$parent.addChild$1(node);
|
|
@@ -64010,10 +64077,14 @@ self.fs = _cliPkgRequires.fs;
|
|
|
64010
64077
|
throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
|
|
64011
64078
|
}
|
|
64012
64079
|
if ($parent.get$hasFollowingSibling()) {
|
|
64013
|
-
|
|
64014
|
-
t1.
|
|
64015
|
-
|
|
64016
|
-
|
|
64080
|
+
grandparent = $parent._parent;
|
|
64081
|
+
t1 = grandparent.children;
|
|
64082
|
+
if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
|
|
64083
|
+
$parent = type$.ModifiableCssParentNode._as(t1.get$last(t1));
|
|
64084
|
+
else {
|
|
64085
|
+
$parent = $parent.copyWithoutChildren$0();
|
|
64086
|
+
grandparent.addChild$1($parent);
|
|
64087
|
+
}
|
|
64017
64088
|
}
|
|
64018
64089
|
}
|
|
64019
64090
|
$parent.addChild$1(node);
|
|
@@ -75089,10 +75160,14 @@ self.fs = _cliPkgRequires.fs;
|
|
|
75089
75160
|
throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
|
|
75090
75161
|
}
|
|
75091
75162
|
if ($parent.get$hasFollowingSibling()) {
|
|
75092
|
-
|
|
75093
|
-
t1.
|
|
75094
|
-
|
|
75095
|
-
|
|
75163
|
+
grandparent = $parent._node0$_parent;
|
|
75164
|
+
t1 = grandparent.children;
|
|
75165
|
+
if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
|
|
75166
|
+
$parent = type$.ModifiableCssParentNode_2._as(t1.get$last(t1));
|
|
75167
|
+
else {
|
|
75168
|
+
$parent = $parent.copyWithoutChildren$0();
|
|
75169
|
+
grandparent.addChild$1($parent);
|
|
75170
|
+
}
|
|
75096
75171
|
}
|
|
75097
75172
|
}
|
|
75098
75173
|
$parent.addChild$1(node);
|
|
@@ -79065,6 +79140,16 @@ self.fs = _cliPkgRequires.fs;
|
|
|
79065
79140
|
accept$1(visitor) {
|
|
79066
79141
|
return this.accept$1$1(visitor, type$.dynamic);
|
|
79067
79142
|
},
|
|
79143
|
+
equalsIgnoringChildren$1(other) {
|
|
79144
|
+
var t1, t2;
|
|
79145
|
+
if (other instanceof A.ModifiableCssAtRule0) {
|
|
79146
|
+
t1 = this.name;
|
|
79147
|
+
t2 = other.name;
|
|
79148
|
+
t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value) && J.$eq$(this.value, other.value) && this.isChildless === other.isChildless;
|
|
79149
|
+
} else
|
|
79150
|
+
t1 = false;
|
|
79151
|
+
return t1;
|
|
79152
|
+
},
|
|
79068
79153
|
copyWithoutChildren$0() {
|
|
79069
79154
|
var _this = this;
|
|
79070
79155
|
return A.ModifiableCssAtRule$0(_this.name, _this.span, _this.isChildless, _this.value);
|
|
@@ -79618,7 +79703,7 @@ self.fs = _cliPkgRequires.fs;
|
|
|
79618
79703
|
var color, t2,
|
|
79619
79704
|
t1 = J.getInterceptor$asx($arguments),
|
|
79620
79705
|
weight = t1.$index($arguments, 1).assertNumber$1("weight");
|
|
79621
|
-
if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
|
|
79706
|
+
if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber()) {
|
|
79622
79707
|
if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
|
|
79623
79708
|
throw A.wrapException(string$.Only_oa);
|
|
79624
79709
|
return A._functionString0("invert", t1.take$1($arguments, 1));
|
|
@@ -79691,7 +79776,7 @@ self.fs = _cliPkgRequires.fs;
|
|
|
79691
79776
|
A.global_closure47.prototype = {
|
|
79692
79777
|
call$1($arguments) {
|
|
79693
79778
|
var t1 = J.getInterceptor$asx($arguments);
|
|
79694
|
-
if (t1.$index($arguments, 0) instanceof A.SassNumber0)
|
|
79779
|
+
if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
|
|
79695
79780
|
return A._functionString0("grayscale", $arguments);
|
|
79696
79781
|
return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
|
|
79697
79782
|
},
|
|
@@ -79726,7 +79811,10 @@ self.fs = _cliPkgRequires.fs;
|
|
|
79726
79811
|
};
|
|
79727
79812
|
A.global_closure51.prototype = {
|
|
79728
79813
|
call$1($arguments) {
|
|
79729
|
-
|
|
79814
|
+
var t1 = J.getInterceptor$asx($arguments);
|
|
79815
|
+
if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
|
|
79816
|
+
return A._functionString0("saturate", $arguments);
|
|
79817
|
+
return new A.SassString0("saturate(" + A.serializeValue0(t1.$index($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
|
|
79730
79818
|
},
|
|
79731
79819
|
$signature: 17
|
|
79732
79820
|
};
|
|
@@ -79780,7 +79868,7 @@ self.fs = _cliPkgRequires.fs;
|
|
|
79780
79868
|
A.global_closure56.prototype = {
|
|
79781
79869
|
call$1($arguments) {
|
|
79782
79870
|
var t1 = J.getInterceptor$asx($arguments);
|
|
79783
|
-
if (t1.$index($arguments, 0) instanceof A.SassNumber0)
|
|
79871
|
+
if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
|
|
79784
79872
|
return A._functionString0("opacity", $arguments);
|
|
79785
79873
|
return A.SassNumber_SassNumber0(t1.$index($arguments, 0).assertColor$1("color")._color1$_alpha, null);
|
|
79786
79874
|
},
|
|
@@ -83796,10 +83884,14 @@ self.fs = _cliPkgRequires.fs;
|
|
|
83796
83884
|
throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
|
|
83797
83885
|
}
|
|
83798
83886
|
if ($parent.get$hasFollowingSibling()) {
|
|
83799
|
-
|
|
83800
|
-
t1.
|
|
83801
|
-
|
|
83802
|
-
|
|
83887
|
+
grandparent = $parent._node0$_parent;
|
|
83888
|
+
t1 = grandparent.children;
|
|
83889
|
+
if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
|
|
83890
|
+
$parent = type$.ModifiableCssParentNode_2._as(t1.get$last(t1));
|
|
83891
|
+
else {
|
|
83892
|
+
$parent = $parent.copyWithoutChildren$0();
|
|
83893
|
+
grandparent.addChild$1($parent);
|
|
83894
|
+
}
|
|
83803
83895
|
}
|
|
83804
83896
|
}
|
|
83805
83897
|
$parent.addChild$1(node);
|
|
@@ -88178,6 +88270,9 @@ self.fs = _cliPkgRequires.fs;
|
|
|
88178
88270
|
accept$1(visitor) {
|
|
88179
88271
|
return this.accept$1$1(visitor, type$.dynamic);
|
|
88180
88272
|
},
|
|
88273
|
+
equalsIgnoringChildren$1(other) {
|
|
88274
|
+
return other instanceof A.ModifiableCssKeyframeBlock0 && B.C_ListEquality.equals$2(0, this.selector.value, other.selector.value);
|
|
88275
|
+
},
|
|
88181
88276
|
copyWithoutChildren$0() {
|
|
88182
88277
|
return A.ModifiableCssKeyframeBlock$0(this.selector, this.span);
|
|
88183
88278
|
},
|
|
@@ -90145,6 +90240,9 @@ self.fs = _cliPkgRequires.fs;
|
|
|
90145
90240
|
accept$1(visitor) {
|
|
90146
90241
|
return this.accept$1$1(visitor, type$.dynamic);
|
|
90147
90242
|
},
|
|
90243
|
+
equalsIgnoringChildren$1(other) {
|
|
90244
|
+
return other instanceof A.ModifiableCssMediaRule0 && B.C_ListEquality.equals$2(0, this.queries, other.queries);
|
|
90245
|
+
},
|
|
90148
90246
|
copyWithoutChildren$0() {
|
|
90149
90247
|
return A.ModifiableCssMediaRule$0(this.queries, this.span);
|
|
90150
90248
|
},
|
|
@@ -96503,6 +96601,14 @@ self.fs = _cliPkgRequires.fs;
|
|
|
96503
96601
|
accept$1(visitor) {
|
|
96504
96602
|
return this.accept$1$1(visitor, type$.dynamic);
|
|
96505
96603
|
},
|
|
96604
|
+
equalsIgnoringChildren$1(other) {
|
|
96605
|
+
var t1;
|
|
96606
|
+
if (other instanceof A.ModifiableCssStyleRule0)
|
|
96607
|
+
t1 = B.C_ListEquality.equals$2(0, other._style_rule0$_selector._box0$_inner.value.components, this._style_rule0$_selector._box0$_inner.value.components);
|
|
96608
|
+
else
|
|
96609
|
+
t1 = false;
|
|
96610
|
+
return t1;
|
|
96611
|
+
},
|
|
96506
96612
|
copyWithoutChildren$0() {
|
|
96507
96613
|
return A.ModifiableCssStyleRule$0(this._style_rule0$_selector, this.span, this.originalSelector);
|
|
96508
96614
|
},
|
|
@@ -96553,6 +96659,9 @@ self.fs = _cliPkgRequires.fs;
|
|
|
96553
96659
|
accept$1(visitor) {
|
|
96554
96660
|
return this.accept$1$1(visitor, type$.dynamic);
|
|
96555
96661
|
},
|
|
96662
|
+
equalsIgnoringChildren$1(other) {
|
|
96663
|
+
return other instanceof A.ModifiableCssStylesheet0;
|
|
96664
|
+
},
|
|
96556
96665
|
copyWithoutChildren$0() {
|
|
96557
96666
|
return A.ModifiableCssStylesheet$0(this.span);
|
|
96558
96667
|
},
|
|
@@ -96606,7 +96715,9 @@ self.fs = _cliPkgRequires.fs;
|
|
|
96606
96715
|
return this._stylesheet0$_statement$1$root(false);
|
|
96607
96716
|
},
|
|
96608
96717
|
variableDeclarationWithoutNamespace$2(namespace, start_) {
|
|
96609
|
-
var t1, start, $name, t2, value, flagStart, t3, guarded, global, flag, endPosition, t4, t5, t6, declaration, _this = this,
|
|
96718
|
+
var t1, start, $name, t2, value, flagStart, t3, $self, guarded, global, flag, endPosition, t4, t5, t6, declaration, _this = this, _null = null,
|
|
96719
|
+
_s97_ = string$.x21defau,
|
|
96720
|
+
_s96_ = string$.x21globas,
|
|
96610
96721
|
precedingComment = _this.lastSilentComment;
|
|
96611
96722
|
_this.lastSilentComment = null;
|
|
96612
96723
|
if (start_ == null) {
|
|
@@ -96626,18 +96737,39 @@ self.fs = _cliPkgRequires.fs;
|
|
|
96626
96737
|
_this.whitespace$0();
|
|
96627
96738
|
value = _this._stylesheet0$_expression$0();
|
|
96628
96739
|
flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
|
|
96629
|
-
for (t3 = t2.string, guarded = false, global = false; t2.scanChar$1(33);) {
|
|
96740
|
+
for (t3 = t2.string, $self = _this.logger, guarded = false, global = false; t2.scanChar$1(33);) {
|
|
96630
96741
|
flag = _this.identifier$0();
|
|
96631
|
-
if (flag === "default")
|
|
96742
|
+
if (flag === "default") {
|
|
96743
|
+
if (guarded) {
|
|
96744
|
+
endPosition = t2._string_scanner$_position;
|
|
96745
|
+
t4 = t2._sourceFile;
|
|
96746
|
+
t5 = flagStart.position;
|
|
96747
|
+
t6 = new A._FileSpan(t4, t5, endPosition);
|
|
96748
|
+
t6._FileSpan$3(t4, t5, endPosition);
|
|
96749
|
+
if ($self instanceof A.DeprecationHandlingLogger0)
|
|
96750
|
+
$self.warnForDeprecation$4$span$trace(B.Deprecation_ynv, _s97_, t6, _null);
|
|
96751
|
+
else
|
|
96752
|
+
$self.warn$4$deprecation$span$trace(0, _s97_, true, t6, _null);
|
|
96753
|
+
}
|
|
96632
96754
|
guarded = true;
|
|
96633
|
-
else if (flag === "global") {
|
|
96755
|
+
} else if (flag === "global") {
|
|
96634
96756
|
if (t1) {
|
|
96635
96757
|
endPosition = t2._string_scanner$_position;
|
|
96636
96758
|
t4 = t2._sourceFile;
|
|
96637
96759
|
t5 = flagStart.position;
|
|
96638
96760
|
t6 = new A._FileSpan(t4, t5, endPosition);
|
|
96639
96761
|
t6._FileSpan$3(t4, t5, endPosition);
|
|
96640
|
-
A.throwExpression(new A.StringScannerException(t3, string$.
|
|
96762
|
+
A.throwExpression(new A.StringScannerException(t3, string$.x21globai, t6));
|
|
96763
|
+
} else if (global) {
|
|
96764
|
+
endPosition = t2._string_scanner$_position;
|
|
96765
|
+
t4 = t2._sourceFile;
|
|
96766
|
+
t5 = flagStart.position;
|
|
96767
|
+
t6 = new A._FileSpan(t4, t5, endPosition);
|
|
96768
|
+
t6._FileSpan$3(t4, t5, endPosition);
|
|
96769
|
+
if ($self instanceof A.DeprecationHandlingLogger0)
|
|
96770
|
+
$self.warnForDeprecation$4$span$trace(B.Deprecation_ynv, _s96_, t6, _null);
|
|
96771
|
+
else
|
|
96772
|
+
$self.warn$4$deprecation$span$trace(0, _s96_, true, t6, _null);
|
|
96641
96773
|
}
|
|
96642
96774
|
global = true;
|
|
96643
96775
|
} else {
|
|
@@ -100297,6 +100429,16 @@ self.fs = _cliPkgRequires.fs;
|
|
|
100297
100429
|
accept$1(visitor) {
|
|
100298
100430
|
return this.accept$1$1(visitor, type$.dynamic);
|
|
100299
100431
|
},
|
|
100432
|
+
equalsIgnoringChildren$1(other) {
|
|
100433
|
+
var t1, t2;
|
|
100434
|
+
if (other instanceof A.ModifiableCssSupportsRule0) {
|
|
100435
|
+
t1 = this.condition;
|
|
100436
|
+
t2 = other.condition;
|
|
100437
|
+
t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value);
|
|
100438
|
+
} else
|
|
100439
|
+
t1 = false;
|
|
100440
|
+
return t1;
|
|
100441
|
+
},
|
|
100300
100442
|
copyWithoutChildren$0() {
|
|
100301
100443
|
return A.ModifiableCssSupportsRule$0(this.condition, this.span);
|
|
100302
100444
|
},
|
|
@@ -101940,7 +102082,9 @@ self.fs = _cliPkgRequires.fs;
|
|
|
101940
102082
|
x20was_a: ' was already loaded, so it can\'t be configured using "with".',
|
|
101941
102083
|
x20was_n: " was not declared with !default in the @used module.",
|
|
101942
102084
|
x20was_p: " was passed both by position and by name.",
|
|
101943
|
-
|
|
102085
|
+
x21defau: "!default should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",
|
|
102086
|
+
x21globai: "!global isn't allowed for variables in other modules.",
|
|
102087
|
+
x21globas: "!global should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",
|
|
101944
102088
|
x22x20can_: "\" can't be used as a parent in a compound selector.",
|
|
101945
102089
|
x22x20is_ix0a: '" is invalid CSS.\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators',
|
|
101946
102090
|
x22x20is_ix20: '" is invalid CSS. It will be omitted from the generated CSS.\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators',
|
|
@@ -102840,6 +102984,7 @@ self.fs = _cliPkgRequires.fs;
|
|
|
102840
102984
|
B.Deprecation_0bn = new A.Deprecation0("function-units", false, "functionUnits");
|
|
102841
102985
|
B.Deprecation_4iQ = new A.Deprecation0("call-string", false, "callString");
|
|
102842
102986
|
B.Deprecation_8WR = new A.Deprecation("function-units", "1.56.0", "Passing invalid units to built-in functions.", false, "functionUnits");
|
|
102987
|
+
B.Deprecation_Auo = new A.Deprecation("duplicate-var-flags", "1.62.0", "Using !default or !global multiple times for one variable.", false, "duplicateVariableFlags");
|
|
102843
102988
|
B.Deprecation_B8J = new A.Deprecation("import", null, "@import rules.", true, "import");
|
|
102844
102989
|
B.Deprecation_E5x = new A.Deprecation0("relative-canonical", false, "relativeCanonical");
|
|
102845
102990
|
B.Deprecation_EsU = new A.Deprecation0("strict-unary", false, "strictUnary");
|
|
@@ -102859,6 +103004,7 @@ self.fs = _cliPkgRequires.fs;
|
|
|
102859
103004
|
B.Deprecation_wKk = new A.Deprecation0("new-global", false, "newGlobal");
|
|
102860
103005
|
B.Deprecation_wWh = new A.Deprecation0("slash-div", false, "slashDiv");
|
|
102861
103006
|
B.Deprecation_xHK = new A.Deprecation("slash-div", "1.33.0", "/ operator for division.", false, "slashDiv");
|
|
103007
|
+
B.Deprecation_ynv = new A.Deprecation0("duplicate-var-flags", false, "duplicateVariableFlags");
|
|
102862
103008
|
B.Duration_0 = new A.Duration(0);
|
|
102863
103009
|
B.ExtendMode_allTargets_allTargets = new A.ExtendMode("allTargets", "allTargets");
|
|
102864
103010
|
B.ExtendMode_allTargets_allTargets0 = new A.ExtendMode0("allTargets", "allTargets");
|
|
@@ -102881,6 +103027,8 @@ self.fs = _cliPkgRequires.fs;
|
|
|
102881
103027
|
B.ListSeparator_zg9 = new A.ListSeparator("slash", "/", "slash");
|
|
102882
103028
|
B.ListSeparator_zg90 = new A.ListSeparator0("slash", "/", "slash");
|
|
102883
103029
|
B.List_2Vk = A._setArrayType(makeConstList([0, 0, 32776, 33792, 1, 10240, 0, 0]), type$.JSArray_int);
|
|
103030
|
+
B.Deprecation_A0N = new A.Deprecation("user-authored", null, null, false, "userAuthored");
|
|
103031
|
+
B.List_4mn = A._setArrayType(makeConstList([B.Deprecation_qVK, B.Deprecation_JAZ, B.Deprecation_gJ9, B.Deprecation_mFp, B.Deprecation_hzy, B.Deprecation_s4m, B.Deprecation_xHK, B.Deprecation_vrR, B.Deprecation_sIK, B.Deprecation_8WR, B.Deprecation_Auo, B.Deprecation_B8J, B.Deprecation_A0N]), A.findType("JSArray<Deprecation>"));
|
|
102884
103032
|
B.List_CVk = A._setArrayType(makeConstList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]), type$.JSArray_int);
|
|
102885
103033
|
B.List_map = A._setArrayType(makeConstList(["em", "rem", "ex", "rex", "cap", "rcap", "ch", "rch", "ic", "ric", "lh", "rlh", "vw", "lvw", "svw", "dvw", "vh", "lvh", "svh", "dvh", "vi", "lvi", "svi", "dvi", "vb", "lvb", "svb", "dvb", "vmin", "lvmin", "svmin", "dvmin", "vmax", "lvmax", "svmax", "dvmax", "cqw", "cqh", "cqi", "cqb", "cqmin", "cqmax", "cm", "mm", "q", "in", "pt", "pc", "px"]), type$.JSArray_String);
|
|
102886
103034
|
B.Map_maTLM = new A.ConstantStringMap(49, {em: null, rem: null, ex: null, rex: null, cap: null, rcap: null, ch: null, rch: null, ic: null, ric: null, lh: null, rlh: null, vw: null, lvw: null, svw: null, dvw: null, vh: null, lvh: null, svh: null, dvh: null, vi: null, lvi: null, svi: null, dvi: null, vb: null, lvb: null, svb: null, dvb: null, vmin: null, lvmin: null, svmin: null, dvmin: null, vmax: null, lvmax: null, svmax: null, dvmax: null, cqw: null, cqh: null, cqi: null, cqb: null, cqmin: null, cqmax: null, cm: null, mm: null, q: null, in: null, pt: null, pc: null, px: null}, B.List_map, type$.ConstantStringMap_String_Null);
|
|
@@ -102899,8 +103047,6 @@ self.fs = _cliPkgRequires.fs;
|
|
|
102899
103047
|
B.Set_H2nB4 = new A._UnmodifiableSet(B.Map_H20, type$._UnmodifiableSet_String);
|
|
102900
103048
|
B.List_ENR = A._setArrayType(makeConstList([B.Set_mapa9, B.Set_EGJh, B.Set_maSD, B.Set_kfn1, B.Set_H2nB4]), A.findType("JSArray<Set<String>>"));
|
|
102901
103049
|
B.List_JYB = A._setArrayType(makeConstList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]), type$.JSArray_int);
|
|
102902
|
-
B.Deprecation_A0N = new A.Deprecation("user-authored", null, null, false, "userAuthored");
|
|
102903
|
-
B.List_Uul = A._setArrayType(makeConstList([B.Deprecation_qVK, B.Deprecation_JAZ, B.Deprecation_gJ9, B.Deprecation_mFp, B.Deprecation_hzy, B.Deprecation_s4m, B.Deprecation_xHK, B.Deprecation_vrR, B.Deprecation_sIK, B.Deprecation_8WR, B.Deprecation_B8J, B.Deprecation_A0N]), A.findType("JSArray<Deprecation>"));
|
|
102904
103050
|
B.List_empty11 = A._setArrayType(makeConstList([]), type$.JSArray_Argument);
|
|
102905
103051
|
B.List_empty22 = A._setArrayType(makeConstList([]), type$.JSArray_Argument_2);
|
|
102906
103052
|
B.List_empty24 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncCallable_2);
|