sass 1.77.5 → 1.77.6

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 -26
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.77.5","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":">=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.6","bin":{"sass":"sass.js"},"main":"sass.node.js"}
package/sass.dart.js CHANGED
@@ -129,7 +129,7 @@ self.fs = _cliPkgRequires.fs;
129
129
  self.nodeModule = _cliPkgRequires.nodeModule;
130
130
  self.stream = _cliPkgRequires.stream;
131
131
  self.util = _cliPkgRequires.util;
132
- // Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.4.3.
132
+ // Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.4.4.
133
133
  // The code supports the following hooks:
134
134
  // dartPrint(message):
135
135
  // if this function is defined it is called instead of the Dart [print]
@@ -26659,7 +26659,7 @@ self.util = _cliPkgRequires.util;
26659
26659
  J.set$NodePackageImporter$x(self.exports, $.$get$nodePackageImporterClass());
26660
26660
  J.set$deprecations$x(self.exports, A.jsify($.$get$deprecations()));
26661
26661
  J.set$Version$x(self.exports, $.$get$versionClass());
26662
- J.set$info$x(self.exports, "dart-sass\t1.77.5\t(Sass Compiler)\t[Dart]\ndart2js\t3.4.3\t(Dart Compiler)\t[Dart]");
26662
+ J.set$info$x(self.exports, "dart-sass\t1.77.6\t(Sass Compiler)\t[Dart]\ndart2js\t3.4.4\t(Dart Compiler)\t[Dart]");
26663
26663
  A.updateCanonicalizeContextPrototype();
26664
26664
  A.updateSourceSpanPrototype();
26665
26665
  J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
@@ -31610,7 +31610,7 @@ self.util = _cliPkgRequires.util;
31610
31610
  switch ($async$goto) {
31611
31611
  case 0:
31612
31612
  // Function start
31613
- $async$returnValue = "1.77.5 compiled with dart2js 3.4.3";
31613
+ $async$returnValue = "1.77.6 compiled with dart2js 3.4.4";
31614
31614
  // goto return
31615
31615
  $async$goto = 1;
31616
31616
  break;
@@ -49538,7 +49538,7 @@ self.util = _cliPkgRequires.util;
49538
49538
  }
49539
49539
  try {
49540
49540
  argVersion = A.Version_Version$parse(id);
49541
- sassVersion = A.Version_Version$parse("1.77.5");
49541
+ sassVersion = A.Version_Version$parse("1.77.6");
49542
49542
  if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
49543
49543
  A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
49544
49544
  J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
@@ -57459,8 +57459,10 @@ self.util = _cliPkgRequires.util;
57459
57459
  _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
57460
57460
  value = _this.almostAnyValue$0();
57461
57461
  optional = t1.scanChar$1(33);
57462
- if (optional)
57462
+ if (optional) {
57463
57463
  _this.expectIdentifier$1("optional");
57464
+ _this.whitespace$0();
57465
+ }
57464
57466
  _this.expectStatementSeparator$1("@extend rule");
57465
57467
  return new A.ExtendRule(value, optional, t1.spanFrom$1(start));
57466
57468
  case "for":
@@ -57666,17 +57668,18 @@ self.util = _cliPkgRequires.util;
57666
57668
  return A.AtRootRule$(A._setArrayType([_this._styleRule$0()], type$.JSArray_Statement), t1.spanFrom$1(start), null);
57667
57669
  },
57668
57670
  _contentRule$1(start) {
57669
- var t1, $arguments, t2, t3, _this = this;
57671
+ var t1, beforeWhitespace, $arguments, t2, _this = this;
57670
57672
  if (!_this._stylesheet$_inMixin)
57671
57673
  _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
57672
- _this.whitespace$0();
57673
57674
  t1 = _this.scanner;
57674
- if (t1.peekChar$0() === 40)
57675
+ beforeWhitespace = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
57676
+ _this.whitespace$0();
57677
+ if (t1.peekChar$0() === 40) {
57675
57678
  $arguments = _this._argumentInvocation$1$mixin(true);
57676
- else {
57677
- t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
57678
- t3 = t2.offset;
57679
- $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
57679
+ _this.whitespace$0();
57680
+ } else {
57681
+ t2 = beforeWhitespace.offset;
57682
+ $arguments = A.ArgumentInvocation$empty(A._FileSpan$(beforeWhitespace.file, t2, t2));
57680
57683
  }
57681
57684
  _this.expectStatementSeparator$1("@content rule");
57682
57685
  return new A.ContentRule($arguments, t1.spanFrom$1(start));
@@ -57773,6 +57776,7 @@ self.util = _cliPkgRequires.util;
57773
57776
  shownMixinsAndFunctions = shownVariables;
57774
57777
  }
57775
57778
  configuration = _this._stylesheet$_configuration$1$allowGuarded(true);
57779
+ _this.whitespace$0();
57776
57780
  _this.expectStatementSeparator$1("@forward rule");
57777
57781
  span = _this.scanner.spanFrom$1(start);
57778
57782
  if (!_this._isUseAllowed)
@@ -58211,17 +58215,16 @@ self.util = _cliPkgRequires.util;
58211
58215
  },
58212
58216
  _useRule$1(start) {
58213
58217
  var namespace, configuration, span, t1, _this = this,
58214
- _s9_ = "@use rule",
58215
58218
  url = _this._urlString$0();
58216
58219
  _this.whitespace$0();
58217
58220
  namespace = _this._useNamespace$2(url, start);
58218
58221
  _this.whitespace$0();
58219
58222
  configuration = _this._stylesheet$_configuration$0();
58220
- _this.expectStatementSeparator$1(_s9_);
58223
+ _this.whitespace$0();
58221
58224
  span = _this.scanner.spanFrom$1(start);
58222
58225
  if (!_this._isUseAllowed)
58223
58226
  _this.error$2(0, string$.x40use_r, span);
58224
- _this.expectStatementSeparator$1(_s9_);
58227
+ _this.expectStatementSeparator$1("@use rule");
58225
58228
  t1 = new A.UseRule(url, namespace, configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
58226
58229
  t1.UseRule$4$configuration(url, namespace, span, configuration);
58227
58230
  return t1;
@@ -111330,7 +111333,6 @@ self.util = _cliPkgRequires.util;
111330
111333
  },
111331
111334
  atRule$2$root(child, root) {
111332
111335
  var $name, wasUseAllowed, value, optional, url, namespace, configuration, span, _this = this,
111333
- _s9_ = "@use rule",
111334
111336
  t1 = _this.scanner,
111335
111337
  start = new A._SpanScannerState(t1, t1._string_scanner$_position);
111336
111338
  t1.expectChar$2$name(64, "@-rule");
@@ -111356,8 +111358,10 @@ self.util = _cliPkgRequires.util;
111356
111358
  _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
111357
111359
  value = _this.almostAnyValue$0();
111358
111360
  optional = t1.scanChar$1(33);
111359
- if (optional)
111361
+ if (optional) {
111360
111362
  _this.expectIdentifier$1("optional");
111363
+ _this.whitespace$0();
111364
+ }
111361
111365
  _this.expectStatementSeparator$1("@extend rule");
111362
111366
  return new A.ExtendRule0(value, optional, t1.spanFrom$1(start));
111363
111367
  case "for":
@@ -111394,11 +111398,11 @@ self.util = _cliPkgRequires.util;
111394
111398
  namespace = _this._stylesheet0$_useNamespace$2(url, start);
111395
111399
  _this.whitespace$0();
111396
111400
  configuration = _this._stylesheet0$_configuration$0();
111397
- _this.expectStatementSeparator$1(_s9_);
111401
+ _this.whitespace$0();
111398
111402
  span = t1.spanFrom$1(start);
111399
111403
  if (!_this._stylesheet0$_isUseAllowed)
111400
111404
  _this.error$2(0, string$.x40use_r, span);
111401
- _this.expectStatementSeparator$1(_s9_);
111405
+ _this.expectStatementSeparator$1("@use rule");
111402
111406
  t1 = new A.UseRule0(url, namespace, configuration == null ? B.List_empty21 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
111403
111407
  t1.UseRule$4$configuration0(url, namespace, span, configuration);
111404
111408
  return t1;
@@ -111578,17 +111582,18 @@ self.util = _cliPkgRequires.util;
111578
111582
  return A.AtRootRule$0(A._setArrayType([_this._stylesheet0$_styleRule$0()], type$.JSArray_Statement_2), t1.spanFrom$1(start), null);
111579
111583
  },
111580
111584
  _stylesheet0$_contentRule$1(start) {
111581
- var t1, $arguments, t2, t3, _this = this;
111585
+ var t1, beforeWhitespace, $arguments, t2, _this = this;
111582
111586
  if (!_this._stylesheet0$_inMixin)
111583
111587
  _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
111584
- _this.whitespace$0();
111585
111588
  t1 = _this.scanner;
111586
- if (t1.peekChar$0() === 40)
111589
+ beforeWhitespace = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
111590
+ _this.whitespace$0();
111591
+ if (t1.peekChar$0() === 40) {
111587
111592
  $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
111588
- else {
111589
- t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
111590
- t3 = t2.offset;
111591
- $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
111593
+ _this.whitespace$0();
111594
+ } else {
111595
+ t2 = beforeWhitespace.offset;
111596
+ $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(beforeWhitespace.file, t2, t2));
111592
111597
  }
111593
111598
  _this.expectStatementSeparator$1("@content rule");
111594
111599
  return new A.ContentRule0($arguments, t1.spanFrom$1(start));
@@ -111685,6 +111690,7 @@ self.util = _cliPkgRequires.util;
111685
111690
  shownMixinsAndFunctions = shownVariables;
111686
111691
  }
111687
111692
  configuration = _this._stylesheet0$_configuration$1$allowGuarded(true);
111693
+ _this.whitespace$0();
111688
111694
  _this.expectStatementSeparator$1("@forward rule");
111689
111695
  span = _this.scanner.spanFrom$1(start);
111690
111696
  if (!_this._stylesheet0$_isUseAllowed)