sass 1.39.1 → 1.39.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/sass.dart.js +68 -20
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":">=8.9.0"},"dependencies":{"chokidar":">=3.0.0 <4.0.0"},"keywords":["style","scss","sass","preprocessor","css"],"version":"1.39.1","bin":{"sass":"sass.js"},"main":"sass.dart.js"}
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":">=8.9.0"},"dependencies":{"chokidar":">=3.0.0 <4.0.0"},"keywords":["style","scss","sass","preprocessor","css"],"version":"1.39.2","bin":{"sass":"sass.js"},"main":"sass.dart.js"}
package/sass.dart.js CHANGED
@@ -17756,7 +17756,7 @@ self.fs = require("fs");
17756
17756
  new Uint8Array(0);
17757
17757
  J.set$render$x(self.exports, P.allowInterop(B.node___render$closure()));
17758
17758
  J.set$renderSync$x(self.exports, P.allowInterop(B.node___renderSync$closure()));
17759
- J.set$info$x(self.exports, "dart-sass\t1.39.1\t(Sass Compiler)\t[Dart]\ndart2js\t2.14.1\t(Dart Compiler)\t[Dart]");
17759
+ J.set$info$x(self.exports, "dart-sass\t1.39.2\t(Sass Compiler)\t[Dart]\ndart2js\t2.14.1\t(Dart Compiler)\t[Dart]");
17760
17760
  J.set$types$x(self.exports, {Boolean: $.$get$booleanConstructor(), Color: $.$get$colorConstructor(), List: $.$get$listConstructor(), Map: $.$get$mapConstructor(), Null: $.$get$nullConstructor(), Number: $.$get$numberConstructor(), String: $.$get$stringConstructor(), Error: self.Error});
17761
17761
  J.set$NULL$x(self.exports, C.C__SassNull);
17762
17762
  J.set$TRUE$x(self.exports, C.SassBoolean_true);
@@ -19298,7 +19298,7 @@ self.fs = require("fs");
19298
19298
  switch ($async$goto) {
19299
19299
  case 0:
19300
19300
  // Function start
19301
- $async$returnValue = "1.39.1 compiled with dart2js 2.14.1";
19301
+ $async$returnValue = "1.39.2 compiled with dart2js 2.14.1";
19302
19302
  // goto return
19303
19303
  $async$goto = 1;
19304
19304
  break;
@@ -37004,7 +37004,11 @@ self.fs = require("fs");
37004
37004
  return new A.ExplicitConfiguration(this.nodeWithSpan, values);
37005
37005
  }
37006
37006
  };
37007
- Z.ConfiguredValue.prototype = {};
37007
+ Z.ConfiguredValue.prototype = {
37008
+ toString$0(_) {
37009
+ return N.serializeValue0(this.value, true, true);
37010
+ }
37011
+ };
37008
37012
  O.Environment.prototype = {
37009
37013
  closure$0() {
37010
37014
  var t4, t5, t6, _this = this,
@@ -50694,7 +50698,7 @@ self.fs = require("fs");
50694
50698
  visitForwardRule$body$_EvaluateVisitor(node) {
50695
50699
  var $async$goto = 0,
50696
50700
  $async$completer = P._makeAsyncAwaitCompleter(type$.nullable_Value),
50697
- $async$returnValue, $async$self = this, newConfiguration, _i, variable, oldConfiguration, adjustedConfiguration, t1, t2, t3;
50701
+ $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
50698
50702
  var $async$visitForwardRule$1 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
50699
50703
  if ($async$errorCode === 1)
50700
50704
  return P._asyncRethrow($async$result, $async$completer);
@@ -50720,13 +50724,23 @@ self.fs = require("fs");
50720
50724
  return P._asyncAwait($async$self._async_evaluate$_loadModule$5$configuration(t3, "@forward", node, new E._EvaluateVisitor_visitForwardRule_closure1($async$self, node), newConfiguration), $async$visitForwardRule$1);
50721
50725
  case 7:
50722
50726
  // returning from await.
50723
- t3 = P.LinkedHashSet_LinkedHashSet$_empty(type$.String);
50727
+ t3 = type$.String;
50728
+ t4 = P.LinkedHashSet_LinkedHashSet$_empty(t3);
50724
50729
  for (_i = 0; _i < t2; ++_i) {
50725
50730
  variable = t1[_i];
50726
50731
  if (!variable.isGuarded)
50727
- t3.add$1(0, variable.name);
50732
+ t4.add$1(0, variable.name);
50733
+ }
50734
+ $async$self._async_evaluate$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
50735
+ t3 = P.LinkedHashSet_LinkedHashSet$_empty(t3);
50736
+ for (_i = 0; _i < t2; ++_i)
50737
+ t3.add$1(0, t1[_i].name);
50738
+ for (t1 = newConfiguration._values, t2 = J.toList$0$ax(t1.get$keys(t1)), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, H.throwConcurrentModificationError)(t2), ++_i) {
50739
+ $name = t2[_i];
50740
+ if (!t3.contains$1(0, $name))
50741
+ if (!t1.get$isEmpty(t1))
50742
+ t1.remove$1(0, $name);
50728
50743
  }
50729
- $async$self._async_evaluate$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t3);
50730
50744
  $async$self._async_evaluate$_assertConfigurationIsEmpty$1(newConfiguration);
50731
50745
  // goto join
50732
50746
  $async$goto = 4;
@@ -57628,7 +57642,7 @@ self.fs = require("fs");
57628
57642
  return _this._environment.scope$1$2$semiGlobal(new R._EvaluateVisitor_visitForRule_closure3(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value);
57629
57643
  },
57630
57644
  visitForwardRule$1(node) {
57631
- var newConfiguration, _i, variable, _this = this,
57645
+ var newConfiguration, t4, _i, variable, $name, _this = this,
57632
57646
  _s8_ = "@forward",
57633
57647
  oldConfiguration = _this._configuration,
57634
57648
  adjustedConfiguration = oldConfiguration.throughForward$1(node),
@@ -57638,13 +57652,23 @@ self.fs = require("fs");
57638
57652
  if (t2 !== 0) {
57639
57653
  newConfiguration = _this._addForwardConfiguration$2(adjustedConfiguration, node);
57640
57654
  _this._loadModule$5$configuration(t3, _s8_, node, new R._EvaluateVisitor_visitForwardRule_closure(_this, node), newConfiguration);
57641
- t3 = P.LinkedHashSet_LinkedHashSet$_empty(type$.String);
57655
+ t3 = type$.String;
57656
+ t4 = P.LinkedHashSet_LinkedHashSet$_empty(t3);
57642
57657
  for (_i = 0; _i < t2; ++_i) {
57643
57658
  variable = t1[_i];
57644
57659
  if (!variable.isGuarded)
57645
- t3.add$1(0, variable.name);
57660
+ t4.add$1(0, variable.name);
57661
+ }
57662
+ _this._removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
57663
+ t3 = P.LinkedHashSet_LinkedHashSet$_empty(t3);
57664
+ for (_i = 0; _i < t2; ++_i)
57665
+ t3.add$1(0, t1[_i].name);
57666
+ for (t1 = newConfiguration._values, t2 = J.toList$0$ax(t1.get$keys(t1)), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, H.throwConcurrentModificationError)(t2), ++_i) {
57667
+ $name = t2[_i];
57668
+ if (!t3.contains$1(0, $name))
57669
+ if (!t1.get$isEmpty(t1))
57670
+ t1.remove$1(0, $name);
57646
57671
  }
57647
- _this._removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t3);
57648
57672
  _this._assertConfigurationIsEmpty$1(newConfiguration);
57649
57673
  } else {
57650
57674
  _this._configuration = adjustedConfiguration;
@@ -65493,7 +65517,7 @@ self.fs = require("fs");
65493
65517
  visitForwardRule$body$_EvaluateVisitor0(node) {
65494
65518
  var $async$goto = 0,
65495
65519
  $async$completer = P._makeAsyncAwaitCompleter(type$.nullable_Value_2),
65496
- $async$returnValue, $async$self = this, newConfiguration, _i, variable, oldConfiguration, adjustedConfiguration, t1, t2, t3;
65520
+ $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
65497
65521
  var $async$visitForwardRule$1 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
65498
65522
  if ($async$errorCode === 1)
65499
65523
  return P._asyncRethrow($async$result, $async$completer);
@@ -65519,13 +65543,23 @@ self.fs = require("fs");
65519
65543
  return P._asyncAwait($async$self._async_evaluate0$_loadModule$5$configuration(t3, "@forward", node, new E._EvaluateVisitor_visitForwardRule_closure5($async$self, node), newConfiguration), $async$visitForwardRule$1);
65520
65544
  case 7:
65521
65545
  // returning from await.
65522
- t3 = P.LinkedHashSet_LinkedHashSet$_empty(type$.String);
65546
+ t3 = type$.String;
65547
+ t4 = P.LinkedHashSet_LinkedHashSet$_empty(t3);
65523
65548
  for (_i = 0; _i < t2; ++_i) {
65524
65549
  variable = t1[_i];
65525
65550
  if (!variable.isGuarded)
65526
- t3.add$1(0, variable.name);
65551
+ t4.add$1(0, variable.name);
65552
+ }
65553
+ $async$self._async_evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
65554
+ t3 = P.LinkedHashSet_LinkedHashSet$_empty(t3);
65555
+ for (_i = 0; _i < t2; ++_i)
65556
+ t3.add$1(0, t1[_i].name);
65557
+ for (t1 = newConfiguration._configuration$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, H.throwConcurrentModificationError)(t2), ++_i) {
65558
+ $name = t2[_i];
65559
+ if (!t3.contains$1(0, $name))
65560
+ if (!t1.get$isEmpty(t1))
65561
+ t1.remove$1(0, $name);
65527
65562
  }
65528
- $async$self._async_evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t3);
65529
65563
  $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
65530
65564
  // goto join
65531
65565
  $async$goto = 4;
@@ -73696,7 +73730,11 @@ self.fs = require("fs");
73696
73730
  return new A.ExplicitConfiguration0(this.nodeWithSpan, values);
73697
73731
  }
73698
73732
  };
73699
- Z.ConfiguredValue0.prototype = {};
73733
+ Z.ConfiguredValue0.prototype = {
73734
+ toString$0(_) {
73735
+ return N.serializeValue(this.value, true, true);
73736
+ }
73737
+ };
73700
73738
  Z.ConfiguredVariable0.prototype = {
73701
73739
  toString$0(_) {
73702
73740
  var t1 = "$" + this.name + ": " + this.expression.toString$0(0);
@@ -75062,7 +75100,7 @@ self.fs = require("fs");
75062
75100
  return _this._evaluate0$_environment.scope$1$2$semiGlobal(new R._EvaluateVisitor_visitForRule_closure13(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value_2);
75063
75101
  },
75064
75102
  visitForwardRule$1(node) {
75065
- var newConfiguration, _i, variable, _this = this,
75103
+ var newConfiguration, t4, _i, variable, $name, _this = this,
75066
75104
  _s8_ = "@forward",
75067
75105
  oldConfiguration = _this._evaluate0$_configuration,
75068
75106
  adjustedConfiguration = oldConfiguration.throughForward$1(node),
@@ -75072,13 +75110,23 @@ self.fs = require("fs");
75072
75110
  if (t2 !== 0) {
75073
75111
  newConfiguration = _this._evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node);
75074
75112
  _this._evaluate0$_loadModule$5$configuration(t3, _s8_, node, new R._EvaluateVisitor_visitForwardRule_closure3(_this, node), newConfiguration);
75075
- t3 = P.LinkedHashSet_LinkedHashSet$_empty(type$.String);
75113
+ t3 = type$.String;
75114
+ t4 = P.LinkedHashSet_LinkedHashSet$_empty(t3);
75076
75115
  for (_i = 0; _i < t2; ++_i) {
75077
75116
  variable = t1[_i];
75078
75117
  if (!variable.isGuarded)
75079
- t3.add$1(0, variable.name);
75118
+ t4.add$1(0, variable.name);
75119
+ }
75120
+ _this._evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
75121
+ t3 = P.LinkedHashSet_LinkedHashSet$_empty(t3);
75122
+ for (_i = 0; _i < t2; ++_i)
75123
+ t3.add$1(0, t1[_i].name);
75124
+ for (t1 = newConfiguration._configuration$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, H.throwConcurrentModificationError)(t2), ++_i) {
75125
+ $name = t2[_i];
75126
+ if (!t3.contains$1(0, $name))
75127
+ if (!t1.get$isEmpty(t1))
75128
+ t1.remove$1(0, $name);
75080
75129
  }
75081
- _this._evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t3);
75082
75130
  _this._evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
75083
75131
  } else {
75084
75132
  _this._evaluate0$_configuration = adjustedConfiguration;