sass 1.76.0 → 1.77.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/LICENSE +33 -0
- package/package.json +1 -1
- package/sass.dart.js +20 -65
package/LICENSE
CHANGED
|
@@ -1635,6 +1635,39 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
1635
1635
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1636
1636
|
|
|
1637
1637
|
|
|
1638
|
+
--------------------------------------------------------------------------------
|
|
1639
|
+
|
|
1640
|
+
web_socket license:
|
|
1641
|
+
|
|
1642
|
+
Copyright 2024, the Dart project authors.
|
|
1643
|
+
|
|
1644
|
+
Redistribution and use in source and binary forms, with or without
|
|
1645
|
+
modification, are permitted provided that the following conditions are
|
|
1646
|
+
met:
|
|
1647
|
+
|
|
1648
|
+
* Redistributions of source code must retain the above copyright
|
|
1649
|
+
notice, this list of conditions and the following disclaimer.
|
|
1650
|
+
* Redistributions in binary form must reproduce the above
|
|
1651
|
+
copyright notice, this list of conditions and the following
|
|
1652
|
+
disclaimer in the documentation and/or other materials provided
|
|
1653
|
+
with the distribution.
|
|
1654
|
+
* Neither the name of Google LLC nor the names of its
|
|
1655
|
+
contributors may be used to endorse or promote products derived
|
|
1656
|
+
from this software without specific prior written permission.
|
|
1657
|
+
|
|
1658
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
1659
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
1660
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
1661
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
1662
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
1663
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
1664
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
1665
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
1666
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
1667
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
1668
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1669
|
+
|
|
1670
|
+
|
|
1638
1671
|
--------------------------------------------------------------------------------
|
|
1639
1672
|
|
|
1640
1673
|
yaml license:
|
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","node":{"require":"./sass.node.js","default":"./sass.node.mjs"},"default":{"require":"./sass.default.cjs","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","node":{"require":"./sass.node.js","default":"./sass.node.mjs"},"default":{"require":"./sass.default.cjs","default":"./sass.default.js"}},"version":"1.77.0","bin":{"sass":"sass.js"},"main":"sass.node.js"}
|
package/sass.dart.js
CHANGED
|
@@ -27066,7 +27066,7 @@ self.util = _cliPkgRequires.util;
|
|
|
27066
27066
|
J.set$NodePackageImporter$x(self.exports, $.$get$nodePackageImporterClass());
|
|
27067
27067
|
J.set$deprecations$x(self.exports, A.jsify($.$get$deprecations()));
|
|
27068
27068
|
J.set$Version$x(self.exports, $.$get$versionClass());
|
|
27069
|
-
J.set$info$x(self.exports, "dart-sass\t1.
|
|
27069
|
+
J.set$info$x(self.exports, "dart-sass\t1.77.0\t(Sass Compiler)\t[Dart]\ndart2js\t3.3.4\t(Dart Compiler)\t[Dart]");
|
|
27070
27070
|
A.updateCanonicalizeContextPrototype();
|
|
27071
27071
|
A.updateSourceSpanPrototype();
|
|
27072
27072
|
J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
|
|
@@ -32034,7 +32034,7 @@ self.util = _cliPkgRequires.util;
|
|
|
32034
32034
|
switch ($async$goto) {
|
|
32035
32035
|
case 0:
|
|
32036
32036
|
// Function start
|
|
32037
|
-
$async$returnValue = "1.
|
|
32037
|
+
$async$returnValue = "1.77.0 compiled with dart2js 3.3.4";
|
|
32038
32038
|
// goto return
|
|
32039
32039
|
$async$goto = 1;
|
|
32040
32040
|
break;
|
|
@@ -49761,7 +49761,7 @@ self.util = _cliPkgRequires.util;
|
|
|
49761
49761
|
}
|
|
49762
49762
|
try {
|
|
49763
49763
|
argVersion = A.Version_Version$parse(id);
|
|
49764
|
-
sassVersion = A.Version_Version$parse("1.
|
|
49764
|
+
sassVersion = A.Version_Version$parse("1.77.0");
|
|
49765
49765
|
if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
|
|
49766
49766
|
A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
|
|
49767
49767
|
J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
|
|
@@ -64281,9 +64281,7 @@ self.util = _cliPkgRequires.util;
|
|
|
64281
64281
|
case 0:
|
|
64282
64282
|
// Function start
|
|
64283
64283
|
if ($async$self._async_evaluate$_declarationName != null)
|
|
64284
|
-
throw A.wrapException($async$self._async_evaluate$_exception$2(string$.
|
|
64285
|
-
else if ($async$self._async_evaluate$_inKeyframes && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
|
|
64286
|
-
throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rulk, node.span));
|
|
64284
|
+
throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
|
|
64287
64285
|
$async$goto = 3;
|
|
64288
64286
|
return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1(node.name), $async$visitAtRule$1);
|
|
64289
64287
|
case 3:
|
|
@@ -65101,8 +65099,6 @@ self.util = _cliPkgRequires.util;
|
|
|
65101
65099
|
// Function start
|
|
65102
65100
|
if ($async$self._async_evaluate$_declarationName != null)
|
|
65103
65101
|
throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
|
|
65104
|
-
else if ($async$self._async_evaluate$_inKeyframes && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
|
|
65105
|
-
throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rulk, node.span));
|
|
65106
65102
|
$async$goto = 3;
|
|
65107
65103
|
return A._asyncAwait($async$self._visitMediaQueries$1(node.query), $async$visitMediaRule$1);
|
|
65108
65104
|
case 3:
|
|
@@ -65392,8 +65388,6 @@ self.util = _cliPkgRequires.util;
|
|
|
65392
65388
|
// Function start
|
|
65393
65389
|
if ($async$self._async_evaluate$_declarationName != null)
|
|
65394
65390
|
throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
|
|
65395
|
-
else if ($async$self._async_evaluate$_inKeyframes && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
|
|
65396
|
-
throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rulk, node.span));
|
|
65397
65391
|
t1 = node.condition;
|
|
65398
65392
|
$async$temp1 = A;
|
|
65399
65393
|
$async$temp2 = A;
|
|
@@ -67619,9 +67613,7 @@ self.util = _cliPkgRequires.util;
|
|
|
67619
67613
|
case 0:
|
|
67620
67614
|
// Function start
|
|
67621
67615
|
if ($async$self._async_evaluate$_declarationName != null)
|
|
67622
|
-
throw A.wrapException($async$self._async_evaluate$_exception$2(string$.
|
|
67623
|
-
else if ($async$self._async_evaluate$_inKeyframes && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
|
|
67624
|
-
throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rulk, node.span));
|
|
67616
|
+
throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
|
|
67625
67617
|
if (node.isChildless) {
|
|
67626
67618
|
$async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
|
|
67627
67619
|
// goto return
|
|
@@ -67762,8 +67754,6 @@ self.util = _cliPkgRequires.util;
|
|
|
67762
67754
|
// Function start
|
|
67763
67755
|
if ($async$self._async_evaluate$_declarationName != null)
|
|
67764
67756
|
throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
|
|
67765
|
-
else if ($async$self._async_evaluate$_inKeyframes && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
|
|
67766
|
-
throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rulk, node.span));
|
|
67767
67757
|
mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure2($async$self, node));
|
|
67768
67758
|
t1 = mergedQueries == null;
|
|
67769
67759
|
if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
|
|
@@ -72533,17 +72523,14 @@ self.util = _cliPkgRequires.util;
|
|
|
72533
72523
|
return _null;
|
|
72534
72524
|
},
|
|
72535
72525
|
visitAtRule$1(node) {
|
|
72536
|
-
var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this
|
|
72537
|
-
_s8_ = "__parent";
|
|
72526
|
+
var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
|
|
72538
72527
|
if (_this._declarationName != null)
|
|
72539
|
-
throw A.wrapException(_this._evaluate$_exception$2(string$.
|
|
72540
|
-
else if (_this._inKeyframes && _this._assertInModule$2(_this.__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock)
|
|
72541
|
-
throw A.wrapException(_this._evaluate$_exception$2(string$.At_rulk, node.span));
|
|
72528
|
+
throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
|
|
72542
72529
|
$name = _this._interpolationToValue$1(node.name);
|
|
72543
72530
|
value = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure(_this));
|
|
72544
72531
|
children = node.children;
|
|
72545
72532
|
if (children == null) {
|
|
72546
|
-
_this._assertInModule$2(_this.__parent,
|
|
72533
|
+
_this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
|
|
72547
72534
|
return null;
|
|
72548
72535
|
}
|
|
72549
72536
|
wasInKeyframes = _this._inKeyframes;
|
|
@@ -72874,8 +72861,6 @@ self.util = _cliPkgRequires.util;
|
|
|
72874
72861
|
var _0_0, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
|
|
72875
72862
|
if (_this._declarationName != null)
|
|
72876
72863
|
throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
|
|
72877
|
-
else if (_this._inKeyframes && _this._assertInModule$2(_this.__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
|
|
72878
|
-
throw A.wrapException(_this._evaluate$_exception$2(string$.At_rulk, node.span));
|
|
72879
72864
|
_0_0 = _this._performInterpolationWithMap$2$warnForColor(node.query, true);
|
|
72880
72865
|
queries = A.CssMediaQuery_parseList(_0_0._0, _0_0._1, _this._evaluate$_logger);
|
|
72881
72866
|
mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure(_this, queries));
|
|
@@ -73019,8 +73004,6 @@ self.util = _cliPkgRequires.util;
|
|
|
73019
73004
|
var t1, _this = this;
|
|
73020
73005
|
if (_this._declarationName != null)
|
|
73021
73006
|
throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
|
|
73022
|
-
else if (_this._inKeyframes && _this._assertInModule$2(_this.__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
|
|
73023
|
-
throw A.wrapException(_this._evaluate$_exception$2(string$.At_rulk, node.span));
|
|
73024
73007
|
t1 = node.condition;
|
|
73025
73008
|
_this._withParent$2$4$scopeWhen$through(A.ModifiableCssSupportsRule$(new A.CssValue(_this._visitSupportsCondition$1(t1), t1.get$span(t1), type$.CssValue_String), node.span), new A._EvaluateVisitor_visitSupportsRule_closure(_this, node), node.hasDeclarations, new A._EvaluateVisitor_visitSupportsRule_closure0(), type$.ModifiableCssSupportsRule, type$.Null);
|
|
73026
73009
|
return null;
|
|
@@ -73965,14 +73948,11 @@ self.util = _cliPkgRequires.util;
|
|
|
73965
73948
|
return new A.SassString(this._visitSupportsCondition$1(expression.condition), false);
|
|
73966
73949
|
},
|
|
73967
73950
|
visitCssAtRule$1(node) {
|
|
73968
|
-
var wasInKeyframes, wasInUnknownAtRule, t1, _this = this
|
|
73969
|
-
_s8_ = "__parent";
|
|
73951
|
+
var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
|
|
73970
73952
|
if (_this._declarationName != null)
|
|
73971
|
-
throw A.wrapException(_this._evaluate$_exception$2(string$.
|
|
73972
|
-
else if (_this._inKeyframes && _this._assertInModule$2(_this.__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock)
|
|
73973
|
-
throw A.wrapException(_this._evaluate$_exception$2(string$.At_rulk, node.span));
|
|
73953
|
+
throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
|
|
73974
73954
|
if (node.isChildless) {
|
|
73975
|
-
_this._assertInModule$2(_this.__parent,
|
|
73955
|
+
_this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
|
|
73976
73956
|
return;
|
|
73977
73957
|
}
|
|
73978
73958
|
wasInKeyframes = _this._inKeyframes;
|
|
@@ -74020,8 +74000,6 @@ self.util = _cliPkgRequires.util;
|
|
|
74020
74000
|
var mergedQueries, t1, mergedSources, t2, t3, _this = this;
|
|
74021
74001
|
if (_this._declarationName != null)
|
|
74022
74002
|
throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
|
|
74023
|
-
else if (_this._inKeyframes && _this._assertInModule$2(_this.__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
|
|
74024
|
-
throw A.wrapException(_this._evaluate$_exception$2(string$.At_rulk, node.span));
|
|
74025
74003
|
mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure(_this, node));
|
|
74026
74004
|
t1 = mergedQueries == null;
|
|
74027
74005
|
if (!t1 && J.get$isEmpty$asx(mergedQueries))
|
|
@@ -82219,9 +82197,7 @@ self.util = _cliPkgRequires.util;
|
|
|
82219
82197
|
case 0:
|
|
82220
82198
|
// Function start
|
|
82221
82199
|
if ($async$self._async_evaluate0$_declarationName != null)
|
|
82222
|
-
throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.
|
|
82223
|
-
else if ($async$self._async_evaluate0$_inKeyframes && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
|
|
82224
|
-
throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rulk, node.span));
|
|
82200
|
+
throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
|
|
82225
82201
|
$async$goto = 3;
|
|
82226
82202
|
return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1(node.name), $async$visitAtRule$1);
|
|
82227
82203
|
case 3:
|
|
@@ -83115,8 +83091,6 @@ self.util = _cliPkgRequires.util;
|
|
|
83115
83091
|
// Function start
|
|
83116
83092
|
if ($async$self._async_evaluate0$_declarationName != null)
|
|
83117
83093
|
throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
|
|
83118
|
-
else if ($async$self._async_evaluate0$_inKeyframes && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
|
|
83119
|
-
throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rulk, node.span));
|
|
83120
83094
|
$async$goto = 3;
|
|
83121
83095
|
return A._asyncAwait($async$self._async_evaluate0$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
|
|
83122
83096
|
case 3:
|
|
@@ -83406,8 +83380,6 @@ self.util = _cliPkgRequires.util;
|
|
|
83406
83380
|
// Function start
|
|
83407
83381
|
if ($async$self._async_evaluate0$_declarationName != null)
|
|
83408
83382
|
throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
|
|
83409
|
-
else if ($async$self._async_evaluate0$_inKeyframes && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
|
|
83410
|
-
throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rulk, node.span));
|
|
83411
83383
|
t1 = node.condition;
|
|
83412
83384
|
$async$temp1 = A;
|
|
83413
83385
|
$async$temp2 = A;
|
|
@@ -85633,9 +85605,7 @@ self.util = _cliPkgRequires.util;
|
|
|
85633
85605
|
case 0:
|
|
85634
85606
|
// Function start
|
|
85635
85607
|
if ($async$self._async_evaluate0$_declarationName != null)
|
|
85636
|
-
throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.
|
|
85637
|
-
else if ($async$self._async_evaluate0$_inKeyframes && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
|
|
85638
|
-
throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rulk, node.span));
|
|
85608
|
+
throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
|
|
85639
85609
|
if (node.isChildless) {
|
|
85640
85610
|
$async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
|
|
85641
85611
|
// goto return
|
|
@@ -85776,8 +85746,6 @@ self.util = _cliPkgRequires.util;
|
|
|
85776
85746
|
// Function start
|
|
85777
85747
|
if ($async$self._async_evaluate0$_declarationName != null)
|
|
85778
85748
|
throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
|
|
85779
|
-
else if ($async$self._async_evaluate0$_inKeyframes && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
|
|
85780
|
-
throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rulk, node.span));
|
|
85781
85749
|
mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure8($async$self, node));
|
|
85782
85750
|
t1 = mergedQueries == null;
|
|
85783
85751
|
if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
|
|
@@ -94933,17 +94901,14 @@ self.util = _cliPkgRequires.util;
|
|
|
94933
94901
|
return _null;
|
|
94934
94902
|
},
|
|
94935
94903
|
visitAtRule$1(node) {
|
|
94936
|
-
var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this
|
|
94937
|
-
_s8_ = "__parent";
|
|
94904
|
+
var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
|
|
94938
94905
|
if (_this._evaluate0$_declarationName != null)
|
|
94939
|
-
throw A.wrapException(_this._evaluate0$_exception$2(string$.
|
|
94940
|
-
else if (_this._evaluate0$_inKeyframes && _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock0)
|
|
94941
|
-
throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rulk, node.span));
|
|
94906
|
+
throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
|
|
94942
94907
|
$name = _this._evaluate0$_interpolationToValue$1(node.name);
|
|
94943
94908
|
value = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure5(_this));
|
|
94944
94909
|
children = node.children;
|
|
94945
94910
|
if (children == null) {
|
|
94946
|
-
_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent,
|
|
94911
|
+
_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
|
|
94947
94912
|
return null;
|
|
94948
94913
|
}
|
|
94949
94914
|
wasInKeyframes = _this._evaluate0$_inKeyframes;
|
|
@@ -95302,8 +95267,6 @@ self.util = _cliPkgRequires.util;
|
|
|
95302
95267
|
var _0_0, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
|
|
95303
95268
|
if (_this._evaluate0$_declarationName != null)
|
|
95304
95269
|
throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
|
|
95305
|
-
else if (_this._evaluate0$_inKeyframes && _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
|
|
95306
|
-
throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rulk, node.span));
|
|
95307
95270
|
_0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(node.query, true);
|
|
95308
95271
|
queries = A.CssMediaQuery_parseList0(_0_0._0, _0_0._1, _this._evaluate0$_logger);
|
|
95309
95272
|
mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure5(_this, queries));
|
|
@@ -95447,8 +95410,6 @@ self.util = _cliPkgRequires.util;
|
|
|
95447
95410
|
var t1, _this = this;
|
|
95448
95411
|
if (_this._evaluate0$_declarationName != null)
|
|
95449
95412
|
throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
|
|
95450
|
-
else if (_this._evaluate0$_inKeyframes && _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
|
|
95451
|
-
throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rulk, node.span));
|
|
95452
95413
|
t1 = node.condition;
|
|
95453
95414
|
_this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssSupportsRule$0(new A.CssValue0(_this._evaluate0$_visitSupportsCondition$1(t1), t1.get$span(t1), type$.CssValue_String_2), node.span), new A._EvaluateVisitor_visitSupportsRule_closure3(_this, node), node.hasDeclarations, new A._EvaluateVisitor_visitSupportsRule_closure4(), type$.ModifiableCssSupportsRule_2, type$.Null);
|
|
95454
95415
|
return null;
|
|
@@ -96393,14 +96354,11 @@ self.util = _cliPkgRequires.util;
|
|
|
96393
96354
|
return new A.SassString0(this._evaluate0$_visitSupportsCondition$1(expression.condition), false);
|
|
96394
96355
|
},
|
|
96395
96356
|
visitCssAtRule$1(node) {
|
|
96396
|
-
var wasInKeyframes, wasInUnknownAtRule, t1, _this = this
|
|
96397
|
-
_s8_ = "__parent";
|
|
96357
|
+
var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
|
|
96398
96358
|
if (_this._evaluate0$_declarationName != null)
|
|
96399
|
-
throw A.wrapException(_this._evaluate0$_exception$2(string$.
|
|
96400
|
-
else if (_this._evaluate0$_inKeyframes && _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock0)
|
|
96401
|
-
throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rulk, node.span));
|
|
96359
|
+
throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
|
|
96402
96360
|
if (node.isChildless) {
|
|
96403
|
-
_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent,
|
|
96361
|
+
_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
|
|
96404
96362
|
return;
|
|
96405
96363
|
}
|
|
96406
96364
|
wasInKeyframes = _this._evaluate0$_inKeyframes;
|
|
@@ -96448,8 +96406,6 @@ self.util = _cliPkgRequires.util;
|
|
|
96448
96406
|
var mergedQueries, t1, mergedSources, t2, t3, _this = this;
|
|
96449
96407
|
if (_this._evaluate0$_declarationName != null)
|
|
96450
96408
|
throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
|
|
96451
|
-
else if (_this._evaluate0$_inKeyframes && _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
|
|
96452
|
-
throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rulk, node.span));
|
|
96453
96409
|
mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure5(_this, node));
|
|
96454
96410
|
t1 = mergedQueries == null;
|
|
96455
96411
|
if (!t1 && J.get$isEmpty$asx(mergedQueries))
|
|
@@ -116721,8 +116677,7 @@ self.util = _cliPkgRequires.util;
|
|
|
116721
116677
|
An_impu: "An importer must have either canonicalize and load methods, or a findFileUrl method.",
|
|
116722
116678
|
As_of_R: "As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nRecommendation: add `",
|
|
116723
116679
|
As_of_S: "As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nSince this assignment is at the root of the stylesheet, the !global flag is\nunnecessary and can safely be removed.",
|
|
116724
|
-
|
|
116725
|
-
At_ruln: "At-rules may not be used within nested declarations.",
|
|
116680
|
+
At_rul: "At-rules may not be used within nested declarations.",
|
|
116726
116681
|
Cannotff: "Cannot extract a file path from a URI with a fragment component",
|
|
116727
116682
|
Cannotfq: "Cannot extract a file path from a URI with a query component",
|
|
116728
116683
|
Cannotn: "Cannot extract a non-Windows file path from a file URI with an authority",
|