sass 1.93.1 → 1.93.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/sass.dart.js +32 -40
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":"^4.0.0","immutable":"^5.0.2","source-map-js":">=0.6.2 <2.0.0"},"optionalDependencies":{"@parcel/watcher":"^2.4.1"},"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.93.1","bin":{"sass":"sass.js"},"main":"sass.node.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":">=14.0.0"},"dependencies":{"chokidar":"^4.0.0","immutable":"^5.0.2","source-map-js":">=0.6.2 <2.0.0"},"optionalDependencies":{"@parcel/watcher":"^2.4.1"},"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.93.3","bin":{"sass":"sass.js"},"main":"sass.node.js"}
package/sass.dart.js CHANGED
@@ -130,7 +130,7 @@ self.fs = _cliPkgRequires.fs;
130
130
  self.nodeModule = _cliPkgRequires.nodeModule;
131
131
  self.stream = _cliPkgRequires.stream;
132
132
  self.util = _cliPkgRequires.util;
133
- // Generated by dart2js (, trust primitives, omit checks, lax runtime type, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.9.3.
133
+ // Generated by dart2js (, trust primitives, omit checks, lax runtime type, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.9.4.
134
134
  // The code supports the following hooks:
135
135
  // dartPrint(message):
136
136
  // if this function is defined it is called instead of the Dart [print]
@@ -9003,7 +9003,7 @@ self.util = _cliPkgRequires.util;
9003
9003
  _._indexInParent = _._parent = null;
9004
9004
  _.isGroupEnd = false;
9005
9005
  },
9006
- ModifiableCssDeclaration$($name, value, span, parsedAsCustomProperty, trace, valueSpanForMap) {
9006
+ ModifiableCssDeclaration$($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
9007
9007
  var t2,
9008
9008
  t1 = valueSpanForMap == null ? value.span : valueSpanForMap;
9009
9009
  if (parsedAsCustomProperty)
@@ -25350,7 +25350,7 @@ self.util = _cliPkgRequires.util;
25350
25350
  this.expression = t0;
25351
25351
  this.span = t1;
25352
25352
  },
25353
- ModifiableCssDeclaration$0($name, value, span, parsedAsCustomProperty, trace, valueSpanForMap) {
25353
+ ModifiableCssDeclaration$0($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
25354
25354
  var t2,
25355
25355
  t1 = valueSpanForMap == null ? value.span : valueSpanForMap;
25356
25356
  if (parsedAsCustomProperty)
@@ -28428,7 +28428,7 @@ self.util = _cliPkgRequires.util;
28428
28428
  J.set$deprecations$x(self.exports, A.jsify($.$get$deprecations()));
28429
28429
  J.set$Version$x(self.exports, $.$get$versionClass());
28430
28430
  J.set$loadParserExports_$x(self.exports, A.allowInterop(A.parser0__loadParserExports$closure()));
28431
- J.set$info$x(self.exports, "dart-sass\t1.93.1\t(Sass Compiler)\t[Dart]\ndart2js\t3.9.3\t(Dart Compiler)\t[Dart]");
28431
+ J.set$info$x(self.exports, "dart-sass\t1.93.3\t(Sass Compiler)\t[Dart]\ndart2js\t3.9.4\t(Dart Compiler)\t[Dart]");
28432
28432
  A.updateCanonicalizeContextPrototype();
28433
28433
  A.updateSourceSpanPrototype();
28434
28434
  J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
@@ -33585,7 +33585,7 @@ self.util = _cliPkgRequires.util;
33585
33585
  switch ($async$goto) {
33586
33586
  case 0:
33587
33587
  // Function start
33588
- $async$returnValue = "1.93.1 compiled with dart2js 3.9.3";
33588
+ $async$returnValue = "1.93.3 compiled with dart2js 3.9.4";
33589
33589
  // goto return
33590
33590
  $async$goto = 1;
33591
33591
  break;
@@ -51882,7 +51882,7 @@ self.util = _cliPkgRequires.util;
51882
51882
  }
51883
51883
  try {
51884
51884
  argVersion = A.Version_Version$parse(id);
51885
- sassVersion = A.Version_Version$parse("1.93.1");
51885
+ sassVersion = A.Version_Version$parse("1.93.3");
51886
51886
  if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
51887
51887
  A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
51888
51888
  J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
@@ -68253,7 +68253,7 @@ self.util = _cliPkgRequires.util;
68253
68253
  visitDeclaration$body$_EvaluateVisitor(_, node) {
68254
68254
  var $async$goto = 0,
68255
68255
  $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
68256
- $async$returnValue, $async$self = this, t1, $name, _0_0, _1_0, value, t2, t3, t4, t5, t6, _2_0, oldDeclarationName;
68256
+ $async$returnValue, $async$self = this, t1, $name, _0_0, _1_0, value, t2, t3, t4, _2_0, oldDeclarationName;
68257
68257
  var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68258
68258
  if ($async$errorCode === 1)
68259
68259
  return A._asyncRethrow($async$result, $async$completer);
@@ -68288,15 +68288,13 @@ self.util = _cliPkgRequires.util;
68288
68288
  $async$self._async_evaluate$_copyParentAfterSibling$0();
68289
68289
  t2 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
68290
68290
  t3 = _1_0.get$span(_1_0);
68291
- t4 = node.span;
68292
68291
  t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
68293
- t5 = $async$self._async_evaluate$_stackTrace$1(t4);
68294
68292
  if ($async$self._async_evaluate$_sourceMap) {
68295
- t6 = A.NullableExtension_andThen(_1_0, $async$self.get$_async_evaluate$_expressionNode());
68296
- t6 = t6 == null ? null : J.get$span$z(t6);
68293
+ t4 = A.NullableExtension_andThen(_1_0, $async$self.get$_async_evaluate$_expressionNode());
68294
+ t4 = t4 == null ? null : J.get$span$z(t4);
68297
68295
  } else
68298
- t6 = null;
68299
- t2.addChild$1(A.ModifiableCssDeclaration$($name, new A.CssValue(value, t3, type$.CssValue_Value), t4, t1, t5, t6));
68296
+ t4 = null;
68297
+ t2.addChild$1(A.ModifiableCssDeclaration$($name, new A.CssValue(value, t3, type$.CssValue_Value), node.span, t1, t4));
68300
68298
  }
68301
68299
  case 5:
68302
68300
  // join
@@ -71889,7 +71887,7 @@ self.util = _cliPkgRequires.util;
71889
71887
  case 0:
71890
71888
  // Function start
71891
71889
  $async$self._async_evaluate$_copyParentAfterSibling$0();
71892
- $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsCustomProperty, null, node.valueSpanForMap));
71890
+ $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap));
71893
71891
  // implicit return
71894
71892
  return A._asyncReturn(null, $async$completer);
71895
71893
  }
@@ -76326,7 +76324,7 @@ self.util = _cliPkgRequires.util;
76326
76324
  return new A.ModifiableCssComment(node.text, node.span);
76327
76325
  },
76328
76326
  visitCssDeclaration$1(node) {
76329
- return A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsCustomProperty, null, node.valueSpanForMap);
76327
+ return A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
76330
76328
  },
76331
76329
  visitCssImport$1(node) {
76332
76330
  return new A.ModifiableCssImport(node.url, node.modifiers, node.span);
@@ -76719,7 +76717,7 @@ self.util = _cliPkgRequires.util;
76719
76717
  return null;
76720
76718
  },
76721
76719
  visitDeclaration$1(_, node) {
76722
- var t1, $name, _0_0, _1_0, value, t2, t3, t4, t5, t6, _2_0, oldDeclarationName, _this = this, _null = null;
76720
+ var t1, $name, _0_0, _1_0, value, t2, t3, t4, _2_0, oldDeclarationName, _this = this, _null = null;
76723
76721
  if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null && !_this._inUnknownAtRule && !_this._inKeyframes)
76724
76722
  throw A.wrapException(_this._evaluate$_exception$2(string$.Declarm, node.span));
76725
76723
  if (_this._declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
@@ -76736,15 +76734,13 @@ self.util = _cliPkgRequires.util;
76736
76734
  _this._copyParentAfterSibling$0();
76737
76735
  t2 = _this._assertInModule$2(_this.__parent, "__parent");
76738
76736
  t3 = _1_0.get$span(_1_0);
76739
- t4 = node.span;
76740
76737
  t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
76741
- t5 = _this._evaluate$_stackTrace$1(t4);
76742
76738
  if (_this._sourceMap) {
76743
- t6 = A.NullableExtension_andThen(_1_0, _this.get$_expressionNode());
76744
- t6 = t6 == null ? _null : J.get$span$z(t6);
76739
+ t4 = A.NullableExtension_andThen(_1_0, _this.get$_expressionNode());
76740
+ t4 = t4 == null ? _null : J.get$span$z(t4);
76745
76741
  } else
76746
- t6 = _null;
76747
- t2.addChild$1(A.ModifiableCssDeclaration$($name, new A.CssValue(value, t3, type$.CssValue_Value), t4, t1, t5, t6));
76742
+ t4 = _null;
76743
+ t2.addChild$1(A.ModifiableCssDeclaration$($name, new A.CssValue(value, t3, type$.CssValue_Value), node.span, t1, t4));
76748
76744
  }
76749
76745
  }
76750
76746
  _2_0 = node.children;
@@ -78285,7 +78281,7 @@ self.util = _cliPkgRequires.util;
78285
78281
  },
78286
78282
  visitCssDeclaration$1(node) {
78287
78283
  this._copyParentAfterSibling$0();
78288
- this._assertInModule$2(this.__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsCustomProperty, null, node.valueSpanForMap));
78284
+ this._assertInModule$2(this.__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap));
78289
78285
  },
78290
78286
  visitCssImport$1(node) {
78291
78287
  var t1, _this = this,
@@ -86826,7 +86822,7 @@ self.util = _cliPkgRequires.util;
86826
86822
  visitDeclaration$body$_EvaluateVisitor0(_, node) {
86827
86823
  var $async$goto = 0,
86828
86824
  $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
86829
- $async$returnValue, $async$self = this, t1, $name, _0_0, _1_0, value, t2, t3, t4, t5, t6, _2_0, oldDeclarationName;
86825
+ $async$returnValue, $async$self = this, t1, $name, _0_0, _1_0, value, t2, t3, t4, _2_0, oldDeclarationName;
86830
86826
  var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
86831
86827
  if ($async$errorCode === 1)
86832
86828
  return A._asyncRethrow($async$result, $async$completer);
@@ -86861,15 +86857,13 @@ self.util = _cliPkgRequires.util;
86861
86857
  $async$self._async_evaluate0$_copyParentAfterSibling$0();
86862
86858
  t2 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
86863
86859
  t3 = _1_0.get$span(_1_0);
86864
- t4 = node.span;
86865
86860
  t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
86866
- t5 = $async$self._async_evaluate0$_stackTrace$1(t4);
86867
86861
  if ($async$self._async_evaluate0$_sourceMap) {
86868
- t6 = A.NullableExtension_andThen0(_1_0, $async$self.get$_async_evaluate0$_expressionNode());
86869
- t6 = t6 == null ? null : J.get$span$z(t6);
86862
+ t4 = A.NullableExtension_andThen0(_1_0, $async$self.get$_async_evaluate0$_expressionNode());
86863
+ t4 = t4 == null ? null : J.get$span$z(t4);
86870
86864
  } else
86871
- t6 = null;
86872
- t2.addChild$1(A.ModifiableCssDeclaration$0($name, new A.CssValue0(value, t3, type$.CssValue_Value_2), t4, t1, t5, t6));
86865
+ t4 = null;
86866
+ t2.addChild$1(A.ModifiableCssDeclaration$0($name, new A.CssValue0(value, t3, type$.CssValue_Value_2), node.span, t1, t4));
86873
86867
  }
86874
86868
  case 5:
86875
86869
  // join
@@ -90537,7 +90531,7 @@ self.util = _cliPkgRequires.util;
90537
90531
  case 0:
90538
90532
  // Function start
90539
90533
  $async$self._async_evaluate0$_copyParentAfterSibling$0();
90540
- $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsCustomProperty, null, node.valueSpanForMap));
90534
+ $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap));
90541
90535
  // implicit return
90542
90536
  return A._asyncReturn(null, $async$completer);
90543
90537
  }
@@ -96433,7 +96427,7 @@ self.util = _cliPkgRequires.util;
96433
96427
  return new A.ModifiableCssComment0(node.text, node.span);
96434
96428
  },
96435
96429
  visitCssDeclaration$1(node) {
96436
- return A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsCustomProperty, null, node.valueSpanForMap);
96430
+ return A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
96437
96431
  },
96438
96432
  visitCssImport$1(node) {
96439
96433
  return new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
@@ -101165,7 +101159,7 @@ self.util = _cliPkgRequires.util;
101165
101159
  return null;
101166
101160
  },
101167
101161
  visitDeclaration$1(_, node) {
101168
- var t1, $name, _0_0, _1_0, value, t2, t3, t4, t5, t6, _2_0, oldDeclarationName, _this = this, _null = null;
101162
+ var t1, $name, _0_0, _1_0, value, t2, t3, t4, _2_0, oldDeclarationName, _this = this, _null = null;
101169
101163
  if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null && !_this._evaluate0$_inUnknownAtRule && !_this._evaluate0$_inKeyframes)
101170
101164
  throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarm, node.span));
101171
101165
  if (_this._evaluate0$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
@@ -101182,15 +101176,13 @@ self.util = _cliPkgRequires.util;
101182
101176
  _this._evaluate0$_copyParentAfterSibling$0();
101183
101177
  t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
101184
101178
  t3 = _1_0.get$span(_1_0);
101185
- t4 = node.span;
101186
101179
  t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
101187
- t5 = _this._evaluate0$_stackTrace$1(t4);
101188
101180
  if (_this._evaluate0$_sourceMap) {
101189
- t6 = A.NullableExtension_andThen0(_1_0, _this.get$_evaluate0$_expressionNode());
101190
- t6 = t6 == null ? _null : J.get$span$z(t6);
101181
+ t4 = A.NullableExtension_andThen0(_1_0, _this.get$_evaluate0$_expressionNode());
101182
+ t4 = t4 == null ? _null : J.get$span$z(t4);
101191
101183
  } else
101192
- t6 = _null;
101193
- t2.addChild$1(A.ModifiableCssDeclaration$0($name, new A.CssValue0(value, t3, type$.CssValue_Value_2), t4, t1, t5, t6));
101184
+ t4 = _null;
101185
+ t2.addChild$1(A.ModifiableCssDeclaration$0($name, new A.CssValue0(value, t3, type$.CssValue_Value_2), node.span, t1, t4));
101194
101186
  }
101195
101187
  }
101196
101188
  _2_0 = node.children;
@@ -102758,7 +102750,7 @@ self.util = _cliPkgRequires.util;
102758
102750
  },
102759
102751
  visitCssDeclaration$1(node) {
102760
102752
  this._evaluate0$_copyParentAfterSibling$0();
102761
- this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsCustomProperty, null, node.valueSpanForMap));
102753
+ this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap));
102762
102754
  },
102763
102755
  visitCssImport$1(node) {
102764
102756
  var t1, _this = this,