sass 1.45.2 → 1.49.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 CHANGED
@@ -247,8 +247,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
247
247
 
248
248
  --------------------------------------------------------------------------------
249
249
 
250
- charcode, http_parser, oauth2, pool, shelf_web_socket, source_maps, source_span,
251
- stack_trace, string_scanner and yaml license:
250
+ charcode, http_parser, oauth2, pool, shelf_web_socket, source_maps, stack_trace,
251
+ string_scanner and yaml license:
252
252
 
253
253
  Copyright 2014, the Dart project authors. All rights reserved.
254
254
  Redistribution and use in source and binary forms, with or without
@@ -821,8 +821,8 @@ coverage and quiver license:
821
821
 
822
822
  --------------------------------------------------------------------------------
823
823
 
824
- dart_style, glob, http, matcher, path, pub_semver, shelf, test and watcher
825
- license:
824
+ dart_style, glob, http, matcher, path, pub_semver, shelf, source_span, test and
825
+ watcher license:
826
826
 
827
827
  Copyright 2014, the Dart project authors.
828
828
 
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","immutable":"^4.0.0","source-map-js":">=0.6.2 <2.0.0"},"keywords":["style","scss","sass","preprocessor","css"],"types":"types/index.d.ts","version":"1.45.2","bin":{"sass":"sass.js"},"main":"sass.default.dart.js","exports":{"default":"./sass.default.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","immutable":"^4.0.0","source-map-js":">=0.6.2 <2.0.0"},"keywords":["style","scss","sass","preprocessor","css"],"types":"types/index.d.ts","version":"1.49.0","bin":{"sass":"sass.js"},"main":"sass.default.dart.js","exports":{"default":"./sass.default.dart.js"}}
package/sass.dart.js CHANGED
@@ -5537,12 +5537,18 @@ self.readline = _cli_pkg_requires.readline;
5537
5537
  Map_castFrom(source, $K, $V, K2, V2) {
5538
5538
  return new A.CastMap(source, $K._eval$1("@<0>")._bind$1($V)._bind$1(K2)._bind$1(V2)._eval$1("CastMap<1,2,3,4>"));
5539
5539
  },
5540
- Object_hash(object1, object2) {
5541
- var t2,
5542
- t1 = object1.get$hashCode(object1);
5543
- object2 = A.Primitives_objectHashCode(object2);
5540
+ Object_hash(object1, object2, object3) {
5541
+ var t1, t2;
5542
+ if (B.C_SentinelValue === object3) {
5543
+ t1 = J.get$hashCode$(object1);
5544
+ object2 = J.get$hashCode$(object2);
5545
+ return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2));
5546
+ }
5547
+ t1 = J.get$hashCode$(object1);
5548
+ object2 = J.get$hashCode$(object2);
5549
+ object3 = J.get$hashCode$(object3);
5544
5550
  t2 = $.$get$_hashSeed();
5545
- return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(t2, t1), object2));
5551
+ return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(t2, t1), object2), object3));
5546
5552
  },
5547
5553
  print(object) {
5548
5554
  var line = A.S(object),
@@ -14496,10 +14502,10 @@ self.readline = _cli_pkg_requires.readline;
14496
14502
  },
14497
14503
  Highlighter__collateLines(highlights) {
14498
14504
  var t1, t2,
14499
- highlightsByUrl = A.groupBy(highlights, new A.Highlighter__collateLines_closure(), type$._Highlight, type$.nullable_Uri);
14505
+ highlightsByUrl = A.groupBy(highlights, new A.Highlighter__collateLines_closure(), type$._Highlight, type$.Object);
14500
14506
  for (t1 = highlightsByUrl.get$values(highlightsByUrl), t1 = t1.get$iterator(t1); t1.moveNext$0();)
14501
14507
  J.sort$1$ax(t1.get$current(t1), new A.Highlighter__collateLines_closure0());
14502
- t1 = highlightsByUrl.get$values(highlightsByUrl);
14508
+ t1 = highlightsByUrl.get$entries(highlightsByUrl);
14503
14509
  t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,_Line>");
14504
14510
  return A.List_List$of(new A.ExpandIterable(t1, new A.Highlighter__collateLines_closure1(), t2), true, t2._eval$1("Iterable.E"));
14505
14511
  },
@@ -17184,7 +17190,10 @@ self.readline = _cli_pkg_requires.readline;
17184
17190
  }
17185
17191
  t9 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
17186
17192
  result = A.compile(path, true, new A.CastList(t9, A._arrayInstanceType(t9)._eval$1("CastList<1,Callable0>")), A.ImportCache$0(t7, t2, t8, _null), _null, _null, t8, _null, t3, t6, t4, _null, true, t5);
17187
- t1 = A._convertResult(result);
17193
+ t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
17194
+ if (t1 == null)
17195
+ t1 = false;
17196
+ t1 = A._convertResult(result, t1);
17188
17197
  return t1;
17189
17198
  } catch (exception) {
17190
17199
  t1 = A.unwrapException(exception);
@@ -17233,7 +17242,10 @@ self.readline = _cli_pkg_requires.readline;
17233
17242
  t11 = (t1 ? _null : J.get$url$x(options)) == null ? new A.NoOpImporter() : _null;
17234
17243
  t12 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
17235
17244
  result = A.compileString(text, true, new A.CastList(t12, A._arrayInstanceType(t12)._eval$1("CastList<1,Callable0>")), A.ImportCache$0(t9, t4, t10, _null), t11, _null, _null, t10, _null, t5, t8, t6, t2, t3, true, t7);
17236
- t1 = A._convertResult(result);
17245
+ t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
17246
+ if (t1 == null)
17247
+ t1 = false;
17248
+ t1 = A._convertResult(result, t1);
17237
17249
  return t1;
17238
17250
  } catch (exception) {
17239
17251
  t1 = A.unwrapException(exception);
@@ -17267,11 +17279,11 @@ self.readline = _cli_pkg_requires.readline;
17267
17279
  ascii = $._glyphs === B.C_AsciiGlyphSet;
17268
17280
  return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileStringAsync_closure(text, options, color, ascii).call$0()), ascii, color);
17269
17281
  },
17270
- _convertResult(result) {
17282
+ _convertResult(result, includeSourceContents) {
17271
17283
  var loadedUrls,
17272
17284
  t1 = result._compile_result$_serialize,
17273
17285
  t2 = t1.sourceMap,
17274
- sourceMap = t2 == null ? null : t2.toJson$0();
17286
+ sourceMap = t2 == null ? null : t2.toJson$1$includeSourceContents(includeSourceContents);
17275
17287
  if (type$.Map_String_dynamic._is(sourceMap) && !sourceMap.containsKey$1("sources"))
17276
17288
  sourceMap.$indexSet(0, "sources", A._setArrayType([], type$.JSArray_String));
17277
17289
  t2 = result._evaluate.loadedUrls;
@@ -20032,10 +20044,11 @@ self.readline = _cli_pkg_requires.readline;
20032
20044
  }
20033
20045
  },
20034
20046
  _newRenderResult(options, result, start) {
20035
- var t3, sourceMapOption, sourceMapPath, t4, sourceMapDir, outFile, t5, file, sourceMapDirUrl, i, source, t6, t7, sourceMapBytes, buffer, indices, url, t8, t9, _null = null,
20047
+ var t3, sourceMapOption, sourceMapPath, t4, sourceMapDir, outFile, t5, file, sourceMapDirUrl, i, source, t6, t7, buffer, indices, url, t8, t9, _null = null,
20036
20048
  t1 = Date.now(),
20037
20049
  t2 = result._compile_result$_serialize,
20038
- css = t2.css;
20050
+ css = t2.css,
20051
+ sourceMapBytes = type$.Null._as(self.undefined);
20039
20052
  if (A._enableSourceMaps(options)) {
20040
20053
  t3 = J.getInterceptor$x(options);
20041
20054
  sourceMapOption = t3.get$sourceMap(options);
@@ -20101,8 +20114,7 @@ self.readline = _cli_pkg_requires.readline;
20101
20114
  }
20102
20115
  css += "\n\n/*# sourceMappingURL=" + url.toString$0(0) + " */";
20103
20116
  }
20104
- } else
20105
- sourceMapBytes = _null;
20117
+ }
20106
20118
  t2 = self.Buffer.from(css, "utf8");
20107
20119
  t3 = J.get$file$x(options);
20108
20120
  if (t3 == null)
@@ -20773,7 +20785,7 @@ self.readline = _cli_pkg_requires.readline;
20773
20785
  J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
20774
20786
  J.set$Exception$x(self.exports, $.$get$exceptionClass());
20775
20787
  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())}});
20776
- J.set$info$x(self.exports, "dart-sass\t1.45.2\t(Sass Compiler)\t[Dart]\ndart2js\t2.15.1\t(Dart Compiler)\t[Dart]");
20788
+ J.set$info$x(self.exports, "dart-sass\t1.49.0\t(Sass Compiler)\t[Dart]\ndart2js\t2.15.1\t(Dart Compiler)\t[Dart]");
20777
20789
  A.updateSourceSpanPrototype();
20778
20790
  J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
20779
20791
  J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
@@ -21432,7 +21444,7 @@ self.readline = _cli_pkg_requires.readline;
21432
21444
  switch ($async$goto) {
21433
21445
  case 0:
21434
21446
  // Function start
21435
- $async$returnValue = "1.45.2 compiled with dart2js 2.15.1";
21447
+ $async$returnValue = "1.49.0 compiled with dart2js 2.15.1";
21436
21448
  // goto return
21437
21449
  $async$goto = 1;
21438
21450
  break;
@@ -23001,7 +23013,7 @@ self.readline = _cli_pkg_requires.readline;
23001
23013
  t3 = t4;
23002
23014
  } else
23003
23015
  t3 = t4;
23004
- t3.push(element);
23016
+ J.add$1$ax(t3, element);
23005
23017
  }
23006
23018
  return map;
23007
23019
  },
@@ -24289,6 +24301,9 @@ self.readline = _cli_pkg_requires.readline;
24289
24301
  get$sourceMap$x(receiver) {
24290
24302
  return J.getInterceptor$x(receiver).get$sourceMap(receiver);
24291
24303
  },
24304
+ get$sourceMapIncludeSources$x(receiver) {
24305
+ return J.getInterceptor$x(receiver).get$sourceMapIncludeSources(receiver);
24306
+ },
24292
24307
  get$span$z(receiver) {
24293
24308
  return J.getInterceptor$z(receiver).get$span(receiver);
24294
24309
  },
@@ -24909,6 +24924,9 @@ self.readline = _cli_pkg_requires.readline;
24909
24924
  get$sourceMap(obj) {
24910
24925
  return obj.sourceMap;
24911
24926
  },
24927
+ get$sourceMapIncludeSources(obj) {
24928
+ return obj.sourceMapIncludeSources;
24929
+ },
24912
24930
  get$logger(obj) {
24913
24931
  return obj.logger;
24914
24932
  },
@@ -26894,7 +26912,7 @@ self.readline = _cli_pkg_requires.readline;
26894
26912
  return other instanceof A.Instantiation && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeType(this) === A.getRuntimeType(other);
26895
26913
  },
26896
26914
  get$hashCode(_) {
26897
- return A.Object_hash(this._genericClosure, A.getRuntimeType(this));
26915
+ return A.Object_hash(this._genericClosure, A.getRuntimeType(this), B.C_SentinelValue);
26898
26916
  },
26899
26917
  toString$0(_) {
26900
26918
  var types = "<" + B.JSArray_methods.join$1(this.get$_types(), ", ") + ">";
@@ -43746,7 +43764,7 @@ self.readline = _cli_pkg_requires.readline;
43746
43764
  index.assertNoUnits$1(_s5_);
43747
43765
  indexInt = index.assertInt$1(_s5_);
43748
43766
  if (indexInt < 0)
43749
- indexInt = string.get$_sassLength() + indexInt + 2;
43767
+ indexInt = Math.max(string.get$_sassLength() + indexInt + 2, 0);
43750
43768
  t1 = string._string$_text;
43751
43769
  codeUnitIndex = A.codepointIndexToCodeUnitIndex(t1, A._codepointForIndex(indexInt, string.get$_sassLength(), false));
43752
43770
  return new A.SassString(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string$_text), string._hasQuotes);
@@ -64936,7 +64954,7 @@ self.readline = _cli_pkg_requires.readline;
64936
64954
  return _this._file$_start === other._file$_start && _this._end === other._end && J.$eq$(_this.file.url, other.file.url);
64937
64955
  },
64938
64956
  get$hashCode(_) {
64939
- return A.SourceSpanMixin.prototype.get$hashCode.call(this, this);
64957
+ return A.Object_hash(this._file$_start, this._end, this.file.url);
64940
64958
  },
64941
64959
  expand$1(_, other) {
64942
64960
  var start, _this = this,
@@ -65011,7 +65029,7 @@ self.readline = _cli_pkg_requires.readline;
65011
65029
  },
65012
65030
  _writeFileStart$1(url) {
65013
65031
  var _this = this,
65014
- t1 = !_this._multipleFiles || url == null,
65032
+ t1 = !_this._multipleFiles || !type$.Uri._is(url),
65015
65033
  t2 = $._glyphs;
65016
65034
  if (t1)
65017
65035
  _this._writeSidebar$1$end(t2.get$downEnd());
@@ -65213,7 +65231,8 @@ self.readline = _cli_pkg_requires.readline;
65213
65231
  A.Highlighter__collateLines_closure.prototype = {
65214
65232
  call$1(highlight) {
65215
65233
  var t1 = highlight.span;
65216
- return t1.get$sourceUrl(t1);
65234
+ t1 = t1.get$sourceUrl(t1);
65235
+ return t1 == null ? new A.Object() : t1;
65217
65236
  },
65218
65237
  $signature: 281
65219
65238
  };
@@ -65224,8 +65243,10 @@ self.readline = _cli_pkg_requires.readline;
65224
65243
  $signature: 282
65225
65244
  };
65226
65245
  A.Highlighter__collateLines_closure1.prototype = {
65227
- call$1(highlightsForFile) {
65228
- var t1, t2, t3, t4, context, t5, linesBeforeSpan, url, lineNumber, _i, line, activeHighlights, highlightIndex, oldHighlightLength,
65246
+ call$1(entry) {
65247
+ var t1, t2, t3, t4, context, t5, linesBeforeSpan, lineNumber, _i, line, activeHighlights, highlightIndex, oldHighlightLength,
65248
+ url = entry.key,
65249
+ highlightsForFile = entry.value,
65229
65250
  lines = A._setArrayType([], type$.JSArray__Line);
65230
65251
  for (t1 = J.getInterceptor$ax(highlightsForFile), t2 = t1.get$iterator(highlightsForFile), t3 = type$.JSArray__Highlight; t2.moveNext$0();) {
65231
65252
  t4 = t2.get$current(t2).span;
@@ -65234,7 +65255,6 @@ self.readline = _cli_pkg_requires.readline;
65234
65255
  t5.toString;
65235
65256
  t5 = B.JSString_methods.allMatches$1("\n", B.JSString_methods.substring$2(context, 0, t5));
65236
65257
  linesBeforeSpan = t5.get$length(t5);
65237
- url = t4.get$sourceUrl(t4);
65238
65258
  lineNumber = t4.get$start(t4).get$line() - linesBeforeSpan;
65239
65259
  for (t4 = context.split("\n"), t5 = t4.length, _i = 0; _i < t5; ++_i) {
65240
65260
  line = t4[_i];
@@ -65255,8 +65275,6 @@ self.readline = _cli_pkg_requires.readline;
65255
65275
  t5 = t4.span;
65256
65276
  if (t5.get$start(t5).get$line() > line.number)
65257
65277
  break;
65258
- if (!J.$eq$(t5.get$sourceUrl(t5), line.url))
65259
- break;
65260
65278
  activeHighlights.push(t4);
65261
65279
  }
65262
65280
  highlightIndex += activeHighlights.length - oldHighlightLength;
@@ -65268,9 +65286,8 @@ self.readline = _cli_pkg_requires.readline;
65268
65286
  };
65269
65287
  A.Highlighter__collateLines__closure.prototype = {
65270
65288
  call$1(highlight) {
65271
- var t1 = highlight.span,
65272
- t2 = this.line;
65273
- return !J.$eq$(t1.get$sourceUrl(t1), t2.url) || t1.get$end(t1).get$line() < t2.number;
65289
+ var t1 = highlight.span;
65290
+ return t1.get$end(t1).get$line() < this.line.number;
65274
65291
  },
65275
65292
  $signature: 111
65276
65293
  };
@@ -65624,11 +65641,8 @@ self.readline = _cli_pkg_requires.readline;
65624
65641
  return type$.SourceSpan._is(other) && _this.get$start(_this).$eq(0, other.get$start(other)) && _this.get$end(_this).$eq(0, other.get$end(other));
65625
65642
  },
65626
65643
  get$hashCode(_) {
65627
- var t2, _this = this,
65628
- t1 = _this.get$start(_this);
65629
- t1 = t1.get$hashCode(t1);
65630
- t2 = _this.get$end(_this);
65631
- return t1 + 31 * t2.get$hashCode(t2);
65644
+ var _this = this;
65645
+ return A.Object_hash(_this.get$start(_this), _this.get$end(_this), B.C_SentinelValue);
65632
65646
  },
65633
65647
  toString$0(_) {
65634
65648
  var _this = this;
@@ -77337,7 +77351,7 @@ self.readline = _cli_pkg_requires.readline;
77337
77351
  call$0() {
77338
77352
  var $async$goto = 0,
77339
77353
  $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
77340
- $async$returnValue, $async$self = this, t5, t6, t7, t8, t9, t1, t2, t3, t4, $async$temp1;
77354
+ $async$returnValue, $async$self = this, t5, t6, t7, t8, t9, t10, result, t1, t2, t3, t4;
77341
77355
  var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
77342
77356
  if ($async$errorCode === 1)
77343
77357
  return A._asyncRethrow($async$result, $async$completer);
@@ -77366,13 +77380,14 @@ self.readline = _cli_pkg_requires.readline;
77366
77380
  t9 = J.get$importers$x(t1);
77367
77381
  t9 = t9 == null ? null : J.map$1$1$ax(t9, new A.compileAsync__closure(), type$.AsyncImporter);
77368
77382
  }
77369
- t1 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
77370
- $async$temp1 = A;
77383
+ t10 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
77371
77384
  $async$goto = 3;
77372
- return A._asyncAwait(A.compileAsync0($async$self.path, true, t1, A.AsyncImportCache$(t9, t3, t8, null), null, null, t8, null, t4, t7, t5, null, true, t6), $async$call$0);
77385
+ return A._asyncAwait(A.compileAsync0($async$self.path, true, t10, A.AsyncImportCache$(t9, t3, t8, null), null, null, t8, null, t4, t7, t5, null, true, t6), $async$call$0);
77373
77386
  case 3:
77374
77387
  // returning from await.
77375
- $async$returnValue = $async$temp1._convertResult($async$result);
77388
+ result = $async$result;
77389
+ t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
77390
+ $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
77376
77391
  // goto return
77377
77392
  $async$goto = 1;
77378
77393
  break;
@@ -77395,7 +77410,7 @@ self.readline = _cli_pkg_requires.readline;
77395
77410
  call$0() {
77396
77411
  var $async$goto = 0,
77397
77412
  $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
77398
- $async$returnValue, $async$self = this, t7, t8, t9, t10, t11, t12, t1, t2, t3, t4, t5, t6, $async$temp1;
77413
+ $async$returnValue, $async$self = this, t7, t8, t9, t10, t11, t12, t13, result, t1, t2, t3, t4, t5, t6;
77399
77414
  var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
77400
77415
  if ($async$errorCode === 1)
77401
77416
  return A._asyncRethrow($async$result, $async$completer);
@@ -77429,13 +77444,14 @@ self.readline = _cli_pkg_requires.readline;
77429
77444
  t12 = t2 ? null : A.NullableExtension_andThen0(J.get$importer$x(t1), new A.compileStringAsync__closure0());
77430
77445
  if (t12 == null)
77431
77446
  t12 = (t2 ? null : J.get$url$x(t1)) == null ? new A.NoOpImporter() : null;
77432
- t1 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
77433
- $async$temp1 = A;
77447
+ t13 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
77434
77448
  $async$goto = 3;
77435
- return A._asyncAwait(A.compileStringAsync0($async$self.text, true, t1, A.AsyncImportCache$(t11, t5, t10, null), t12, null, null, t10, null, t6, t9, t7, t3, t4, true, t8), $async$call$0);
77449
+ return A._asyncAwait(A.compileStringAsync0($async$self.text, true, t13, A.AsyncImportCache$(t11, t5, t10, null), t12, null, null, t10, null, t6, t9, t7, t3, t4, true, t8), $async$call$0);
77436
77450
  case 3:
77437
77451
  // returning from await.
77438
- $async$returnValue = $async$temp1._convertResult($async$result);
77452
+ result = $async$result;
77453
+ t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
77454
+ $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
77439
77455
  // goto return
77440
77456
  $async$goto = 1;
77441
77457
  break;
@@ -86834,8 +86850,10 @@ self.readline = _cli_pkg_requires.readline;
86834
86850
  warn = t1 == null ? null : J.get$warn$x(t1);
86835
86851
  if (warn == null)
86836
86852
  this._withAscii$1(new A.NodeToDartLogger_warn_closure(this, message, span, trace, deprecation));
86837
- else
86838
- warn.call$2(message, {deprecation: deprecation, span: span, stack: J.toString$0$(trace)});
86853
+ else {
86854
+ t1 = span == null ? type$.nullable_SourceSpan._as(self.undefined) : span;
86855
+ warn.call$2(message, {deprecation: deprecation, span: t1, stack: J.toString$0$(trace)});
86856
+ }
86839
86857
  },
86840
86858
  warn$1($receiver, message) {
86841
86859
  return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
@@ -91812,7 +91830,7 @@ self.readline = _cli_pkg_requires.readline;
91812
91830
  index.assertNoUnits$1(_s5_);
91813
91831
  indexInt = index.assertInt$1(_s5_);
91814
91832
  if (indexInt < 0)
91815
- indexInt = string.get$_string0$_sassLength() + indexInt + 2;
91833
+ indexInt = Math.max(string.get$_string0$_sassLength() + indexInt + 2, 0);
91816
91834
  t1 = string._string0$_text;
91817
91835
  codeUnitIndex = A.codepointIndexToCodeUnitIndex0(t1, A._codepointForIndex0(indexInt, string.get$_string0$_sassLength(), false));
91818
91836
  return new A.SassString0(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string0$_text), string._string0$_hasQuotes);
@@ -97330,7 +97348,7 @@ self.readline = _cli_pkg_requires.readline;
97330
97348
  typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []},
97331
97349
  mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List"},
97332
97350
  mangledNames: {},
97333
- types: ["~()", "Null()", "Future<Null>()", "Value0(List<Value0>)", "Value(List<Value>)", "String(String)", "bool(String)", "bool(CssNode)", "bool(CssNode0)", "SassNumber(List<Value>)", "SassNumber0(List<Value0>)", "bool(Object?)", "int()", "SassString(List<Value>)", "SassString0(List<Value0>)", "bool(SimpleSelector0)", "bool(SimpleSelector)", "SassBoolean(List<Value>)", "SassBoolean0(List<Value0>)", "bool(ComplexSelector)", "bool(ComplexSelector0)", "SassList(List<Value>)", "SassList0(List<Value0>)", "SassColor(List<Value>)", "SassColor0(List<Value0>)", "JSClass0()", "Null(~())", "~(Object?)", "bool()", "FileSpan()", "String()", "Future<Null>(Future<~>())", "bool(int?)", "Value?()", "SassMap0(List<Value0>)", "Value()", "Value0(Value0)", "Future<~>()", "Value0?()", "Value(Value)", "SassMap(List<Value>)", "bool(num,num)", "String?()", "int(num)", "bool(Value0)", "Value0()", "SelectorList()", "String(Object)", "List<String>()", "SelectorList0()", "~(Value,Value)", "ValueExpression(Value)", "~(Value)", "~(Value0,Value0)", "num(num,num)", "~(Value0)", "bool(int)", "num(SassColor0)", "ValueExpression0(Value0)", "Future<Value>()", "~(Module0<Callable0>)", "Future<Value0>()", "bool(Value)", "~(Module<Callable>)", "Frame(String)", "Null(@)", "Frame()", "Future<Value?>()", "Null(Object,StackTrace)", "~(Object,StackTrace)", "Future<Value0?>()", "Declaration0(List<Statement0>,FileSpan)", "Null(_NodeSassColor,num)", "Value?(Statement)", "int(Uri)", "~(String,Value)", "List<CssMediaQuery0>?(List<CssMediaQuery0>)", "num(num)", "bool(SelectorList0)", "@()", "Tuple3<Importer,Uri,Uri>?()", "Future<String>(Object?)", "Stylesheet?()", "List<CssMediaQuery>?(List<CssMediaQuery>)", "SassRuntimeException0(AstNode0)", "Object()", "Future<Value?>(Statement)", "Null([Object?])", "Uri(Uri)", "~(String,Value0)", "ComplexSelector(List<ComplexSelectorComponent>)", "SassRuntimeException(AstNode)", "String(@)", "Future<Value0>(List<Value0>)", "Value0?(Statement0)", "ComplexSelector0(List<ComplexSelectorComponent0>)", "Declaration(List<Statement>,FileSpan)", "bool(SelectorList)", "@(@)", "Future<Value0?>(Statement0)", "ComplexSelector0(ComplexSelector0)", "List<CssMediaQuery>()", "AtRootQuery()", "~(Object)", "bool(Object)", "AsyncCallable?()", "~(String)", "Null(Module<AsyncCallable>)", "Iterable<String>(Module0<AsyncCallable0>)", "num(Value)", "Callable?()", "bool(_Highlight)", "Callable0?()", "Iterable<ComplexSelector0>(ComplexSelector0)", "bool(Module0<Callable0>)", "Iterable<String>(Module0<Callable0>)", "bool(ComplexSelectorComponent0)", "~(String,Object?)", "Statement()", "int(SassColor0)", "int(_NodeSassColor)", "~(~())", "num(Value0)", "~(@)", "String(Expression)", "bool(ComplexSelectorComponent)", "Statement0()", "Iterable<ComplexSelector>(ComplexSelector)", "ComplexSelector(ComplexSelector)", "Iterable<String>(Module<AsyncCallable>)", "String(Expression0)", "List<ComplexSelectorComponent0>(List<ComplexSelectorComponent0>)", "List<CssMediaQuery0>()", "Null(Module0<AsyncCallable0>)", "bool(Module<AsyncCallable>)", "Iterable<String>(Module<Callable>)", "AtRootQuery0()", "AsyncCallable0?()", "bool(@)", "bool(Module<Callable>)", "bool(Module0<AsyncCallable0>)", "Map<ComplexSelector,Extension>()", "List<ComplexSelectorComponent>(List<ComplexSelectorComponent>)", "Map<ComplexSelector0,Extension0>()", "Trace(String)", "int(Frame)", "String(Frame)", "Iterable<ComplexSelectorComponent>(List<List<ComplexSelectorComponent>>)", "Trace()", "List<Extension>()", "bool(Frame)", "SassNumber()", "VariableDeclaration()", "AsyncCallable0?(Module0<AsyncCallable0>)", "MapKeySet<Module0<AsyncCallable0>>(Map<Module0<AsyncCallable0>,AstNode0>)", "Map<String,AsyncCallable0>(Module0<AsyncCallable0>)", "bool(Queue<Object?>)", "AstNode0(AstNode0)", "~(Iterable<ExtensionStore>)", "String(int)", "SassFunction0(List<Value0>)", "Frame(Tuple2<String,AstNode>)", "Map<String,Callable>(Module<Callable>)", "~(Module0<AsyncCallable0>)", "MapKeySet<Module<Callable>>(Map<Module<Callable>,AstNode>)", "Callable?(Module<Callable>)", "List<ExtensionStore0>()", "num?(String,num{assertPercent:bool,checkPercent:bool})", "bool(ModifiableCssParentNode0)", "String(SassNumber)", "Future<Value>(List<Value>)", "Object(Object)", "Uri?/()", "AstNode?()", "Future<SassNumber0>()", "num(num,num?,num)", "bool(UseRule0)", "bool(ForwardRule0)", "Uri(String)", "int(int,num?)", "MapKeySet<Module<AsyncCallable>>(Map<Module<AsyncCallable>,AstNode>)", "AsyncCallable?(Module<AsyncCallable>)", "Future<Object>()", "SelectorList(Value)", "SelectorList(SelectorList,SelectorList)", "Uri?()", "bool(ForwardRule)", "AstNode0?()", "String(SassNumber0)", "Frame(Tuple2<String,AstNode0>)", "Future<Tuple3<AsyncImporter0,Uri,Uri>?>()", "0&(@[@])", "bool(Import)", "bool(Statement)", "bool(UseRule)", "bool(String?)", "~(Uint8List,String,int)", "String(Value0)", "Future<SassNumber>()", "Iterable<String>()", "~(Object?,Object?)", "Iterable<String>(String)", "~(@,@)", "Future<NodeCompileResult>()", "bool(ModifiableCssParentNode)", "Iterable<String>(@)", "List<ExtensionStore>()", "~(Iterable<ExtensionStore0>)", "DateTime()", "Callable0?(Module0<Callable0>)", "MapKeySet<Module0<Callable0>>(Map<Module0<Callable0>,AstNode0>)", "Map<String,Callable0>(Module0<Callable0>)", "~(Module<AsyncCallable>)", "SassFunction(List<Value>)", "Future<Tuple3<AsyncImporter,Uri,Uri>?>()", "Value0?(Value0)", "Set<0^>()<Object?>", "SassNumber0()", "String(_NodeException)", "AstNode(AstNode)", "List<Extension0>()", "num(num,String)", "~(Object[StackTrace?])", "~(String[~])", "Iterable<ComplexSelectorComponent0>(List<List<ComplexSelectorComponent0>>)", "~([Object?])", "bool(Statement0)", "bool(Import0)", "Tuple3<Importer0,Uri,Uri>?()", "Entry(Entry)", "int(int)", "AsyncImporter0(Object?)", "Value0(int)", "@(Value0,num)", "Object(_NodeSassMap,int)", "Null(_NodeSassMap,int,Object)", "bool(SassNumber0)", "ImmutableList(SassNumber0)", "bool(SassNumber0,String)", "SassNumber0(SassNumber0,Object,Object[String?])", "SassNumber0(SassNumber0,SassNumber0[String?,String?])", "num(SassNumber0,Object,Object[String?])", "num(SassNumber0,SassNumber0[String?,String?])", "~(String,Function)", "SelectorList0(Value0)", "SelectorList0(SelectorList0,SelectorList0)", "FileLocation(FileSpan)", "String(FileSpan)", "int(SourceLocation)", "AtRule(List<Statement>,FileSpan)", "~(String,@)", "AtRootRule0(List<Statement0>,FileSpan)", "AtRule0(List<Statement0>,FileSpan)", "int(@,@)", "AtRootRule(List<Statement>,FileSpan)", "bool(Object?,Object?)", "int(Object?)", "Map<String,AsyncCallable>(Module<AsyncCallable>)", "SupportsRule(List<Statement>,FileSpan)", "Module<AsyncCallable>?(Module<AsyncCallable>)", "EvaluateResult()", "Module<Callable>(Module<Callable>)", "CssValue<Value>(Expression)", "Value?(Value)", "@(@,String)", "CssValue<String>(Interpolation)", "String(Value)", "CssValue<String>(SupportsCondition)", "UserDefinedCallable<Environment>(ContentBlock)", "0&(List<Value>)", "Value(Expression)", "~(ContentBlock)", "~(List<Statement>)", "~(CssMediaQuery)", "~(MapEntry<Value,Value>)", "SourceFile()", "SourceFile?(int)", "String?(SourceFile?)", "int(_Line)", "Future<@>?()", "Uri?(_Line)", "Uri?(_Highlight)", "int(_Highlight,_Highlight)", "List<_Line>(List<_Highlight>)", "SourceSpanWithContext()", "String(String{color:@})", "FileSpan?(MapEntry<Module<AsyncCallable>,AstNode>)", "List<Frame>(Trace)", "int(Trace)", "List<Value>(Value)", "String(Trace)", "bool(List<Value>)", "Map<String,Value>(Module<AsyncCallable>)", "Frame(String,String)", "Map<String,AstNode>(Module<AsyncCallable>)", "Null(@,StackTrace)", "SassMap(Value)", "Frame(Frame)", "Future<~>?()", "String(Argument0)", "SassMap(SassMap)", "SassArgumentList0(Object,Object,Object[String?])", "ImmutableMap(SassArgumentList0)", "Null(Function,Function)", "Set<ModifiableCssValue<SelectorList>>()", "Value0?(Module0<AsyncCallable0>)", "Module0<AsyncCallable0>?(Module0<AsyncCallable0>)", "String(String?)", "_Future<@>(@)", "FileSpan?(MapEntry<Module0<AsyncCallable0>,AstNode0>)", "Map<String,Value0>(Module0<AsyncCallable0>)", "Map<String,AstNode0>(Module0<AsyncCallable0>)", "SassNumber(Value)", "Value(Object)", "Future<List<CssMediaQuery0>>(Interpolation0)", "Future<String>(SupportsCondition0)", "Future<Stylesheet?>()", "bool(Tuple3<AsyncImporter,Uri,Uri>)", "SassString(SimpleSelector)", "Uri(Tuple3<AsyncImporter,Uri,Uri>)", "bool(String?,String?)", "Future<~>(List<Value0>)", "int(String?)", "bool(Tuple3<Importer,Uri,Uri>)", "Future<EvaluateResult0>()", "Uri(Tuple3<Importer,Uri,Uri>)", "Null(@,@)", "Module0<AsyncCallable0>(Module0<AsyncCallable0>)", "String(MapEntry<String,ConfiguredValue>)", "String(Argument)", "Value?(Module<Callable>)", "Future<CssValue0<Value0>>(Expression0)", "Module<Callable>?(Module<Callable>)", "Expression(Expression)", "Future<Value0?>(Value0)", "~(int,@)", "FileSpan?(MapEntry<Module<Callable>,AstNode>)", "Future<CssValue0<String>>(Interpolation0)", "Map<String,Value>(Module<Callable>)", "Map<String,AstNode>(Module<Callable>)", "String(Tuple2<Expression,Expression>)", "~(Symbol0,@)", "ArgParser()", "Future<CssValue0<String>>(SupportsCondition0)", "UserDefinedCallable0<AsyncEnvironment0>(ContentBlock0)", "String(int,IfClause)", "String(BuiltInCallable)", "Future<~>(String)", "List<WatchEvent>(List<WatchEvent>)", "CompoundSelector()", "Statement({root:bool})", "Future<Value0>(Expression0)", "~(String,int)", "Expression({bracketList:bool,singleEquals:bool,until:bool()?})", "Stylesheet()", "Statement?()", "VariableDeclaration(VariableDeclaration)", "ArgumentDeclaration()", "bool(Extension)", "Future<Stylesheet0?>()", "bool(Tuple3<AsyncImporter0,Uri,Uri>)", "Uri(Tuple3<AsyncImporter0,Uri,Uri>)", "UseRule()", "0&(Object[Object?])", "~(String[@])", "Expression0(Expression0)", "int(int,int)", "StyleRule(List<Statement>,FileSpan)", "@(String)", "EachRule(List<Statement>,FileSpan)", "FunctionRule(List<Statement>,FileSpan)", "0&(List<Value0>)", "ForRule(List<Statement>,FileSpan)", "Null(_NodeSassColor,num?[num?,num?,num?,SassColor0?])", "ContentBlock(List<Statement>,FileSpan)", "num(_NodeSassColor)", "MediaRule(List<Statement>,FileSpan)", "SassColor0(Object,_Channels)", "SassColor0(SassColor0,_Channels)", "MixinRule(List<Statement>,FileSpan)", "~(SimpleSelector,Map<ComplexSelector,Extension>)", "~(ComplexSelector,Extension)", "WhileRule(List<Statement>,FileSpan)", "AsyncImporter0(NodeImporter0)", "0&(@)", "~(Expression)", "~(BinaryOperator)", "String(MapEntry<String,ConfiguredValue0>)", "String(BuiltInCallable0)", "Null(Map<SimpleSelector,Map<ComplexSelector,Extension>>)", "StringExpression(Interpolation)", "Value0?(Module0<Callable0>)", "Module0<Callable0>?(Module0<Callable0>)", "DateTime(StylesheetNode)", "~(Uri,StylesheetNode?)", "FileSpan?(MapEntry<Module0<Callable0>,AstNode0>)", "Map<String,Value0>(Module0<Callable0>)", "Map<String,AstNode0>(Module0<Callable0>)", "Map<SimpleSelector,Map<ComplexSelector,Extension>>?(List<Extension>)", "~(Set<ModifiableCssValue<SelectorList>>)", "List<CssMediaQuery0>(Interpolation0)", "String(SupportsCondition0)", "List<ComplexSelector>(ComplexSelectorComponent)", "~(List<Value0>)", "SassScriptException()", "Object(Value0)", "Module0<Callable0>(Module0<Callable0>)", "CssValue0<Value0>(Expression0)", "Iterable<ComplexSelector>(List<ComplexSelector>)", "SingleUnitSassNumber(num)", "CssValue0<String>(Interpolation0)", "Future<List<CssMediaQuery>>(Interpolation)", "CssValue0<String>(SupportsCondition0)", "UserDefinedCallable0<Environment0>(ContentBlock0)", "Value0(Expression0)", "Future<String>(SupportsCondition)", "FileSpan(_NodeException)", "bool(Extension0)", "Set<ModifiableCssValue0<SelectorList0>>()", "List<ComplexSelectorComponent>(ComplexSelector)", "ComplexSelector(Extender)", "~(SimpleSelector0,Map<ComplexSelector0,Extension0>)", "~(ComplexSelector0,Extension0)", "Null(Map<SimpleSelector0,Map<ComplexSelector0,Extension0>>)", "Map<SimpleSelector0,Map<ComplexSelector0,Extension0>>?(List<Extension0>)", "~(Set<ModifiableCssValue0<SelectorList0>>)", "List<ComplexSelector0>(ComplexSelectorComponent0)", "Iterable<ComplexSelector0>(List<ComplexSelector0>)", "List<ComplexSelectorComponent0>(ComplexSelector0)", "List<ComplexSelector>?(List<Extender>)", "Future<~>(List<Value>)", "ComplexSelector0(Extender0)", "List<ComplexSelector0>?(List<Extender0>)", "List<SimpleSelector0>(Extender0)", "List<ComplexSelector0>(List<ComplexSelector0>)", "List<Extender0>?(SimpleSelector0)", "List<Extender0>(PseudoSelector0)", "List<List<Extender0>>(List<Extender0>)", "List<ComplexSelector0>(ComplexSelector0)", "PseudoSelector0(ComplexSelector0)", "~(SimpleSelector0,Set<ModifiableCssValue0<SelectorList0>>)", "SassFunction0(Object,String,Value0(List<Value0>))", "List<SimpleSelector>(Extender)", "List<ComplexSelectorComponent0>?(List<ComplexSelectorComponent0>,List<ComplexSelectorComponent0>)", "bool(Queue<List<ComplexSelectorComponent0>>)", "Future<EvaluateResult>()", "bool(List<Iterable<ComplexSelectorComponent0>>)", "List<ComplexSelectorComponent0>(List<Iterable<ComplexSelectorComponent0>>)", "Iterable<ComplexSelectorComponent0>(Iterable<ComplexSelectorComponent0>)", "List<ComplexSelector>(List<ComplexSelector>)", "bool(PseudoSelector0)", "SelectorList0?(PseudoSelector0)", "String(int,IfClause0)", "Module<AsyncCallable>(Module<AsyncCallable>)", "List<Extender>?(SimpleSelector)", "~(Object?,Object,Object?)", "Tuple2<String,String>(String)", "List<Extender>(PseudoSelector)", "Stylesheet0?()", "bool(Tuple3<Importer0,Uri,Uri>)", "Uri(Tuple3<Importer0,Uri,Uri>)", "Null(RenderResult)", "JSFunction0(JSFunction0)", "Object?(Object,String,String[Object?])", "Null(Object)", "List<List<Extender>>(List<Extender>)", "List<Value0>(Value0)", "bool(List<Value0>)", "SassList0(ComplexSelector0)", "SassString0(ComplexSelectorComponent0)", "Future<CssValue<Value>>(Expression)", "List<ComplexSelector>(ComplexSelector)", "SimpleSelector0(SimpleSelector0)", "Null(_NodeSassList,int?[bool?,SassList0?])", "PseudoSelector(ComplexSelector)", "Object(_NodeSassList,int)", "Null(_NodeSassList,int,Object)", "bool(_NodeSassList)", "Null(_NodeSassList,bool)", "int(_NodeSassList)", "SassList0(Object[Object?,_ConstructorOptions?])", "Future<Value?>(Value)", "String(Tuple2<Expression0,Expression0>)", "SassMap0(Value0)", "SassMap0(SassMap0)", "Null(_NodeSassMap,int?[SassMap0?])", "SassNumber0(int)", "~(SimpleSelector,Set<ModifiableCssValue<SelectorList>>)", "int(_NodeSassMap)", "Future<CssValue<String>>(Interpolation)", "SassMap0(Object[ImmutableMap?])", "ImmutableMap(SassMap0)", "@(SassMap0,Object)", "SassNumber0(Value0)", "Value0(Object)", "~(String,WarnOptions)", "~(String,DebugOptions)", "Null(_NodeSassNumber,num?[String?,SassNumber0?])", "num(_NodeSassNumber)", "Null(_NodeSassNumber,num)", "String(_NodeSassNumber)", "Null(_NodeSassNumber,String)", "SassNumber0(Object,num[Object?])", "num(SassNumber0)", "Uint8List(@,@)", "int?(SassNumber0)", "List<ComplexSelectorComponent>?(List<ComplexSelectorComponent>,List<ComplexSelectorComponent>)", "int(SassNumber0[String?])", "num(SassNumber0,num,num[String?])", "~(SassNumber0[String?])", "~(SassNumber0,String[String?])", "bool(Queue<List<ComplexSelectorComponent>>)", "SassList(ComplexSelector)", "Future<CssValue<String>>(SupportsCondition)", "UserDefinedCallable<AsyncEnvironment>(ContentBlock)", "SassString(ComplexSelectorComponent)", "SassScriptException0()", "String(Object,@,@)", "bool(List<Iterable<ComplexSelectorComponent>>)", "~(String,StackTrace?)", "List<ComplexSelectorComponent>(List<Iterable<ComplexSelectorComponent>>)", "Iterable<ComplexSelectorComponent>(Iterable<ComplexSelectorComponent>)", "SassString0(SimpleSelector0)", "CompoundSelector0()", "~(CssMediaQuery0)", "~(MapEntry<Value0,Value0>)", "SingleUnitSassNumber0(num)", "Future<@>()", "JSUrl0?(FileSpan)", "Future<Value>(Expression)", "bool(PseudoSelector)", "Null(_NodeSassString,String?[SassString0?])", "String(_NodeSassString)", "Null(_NodeSassString,String)", "SassString0(Object[Object?,_ConstructorOptions1?])", "String(SassString0)", "bool(SassString0)", "int(SassString0)", "int(SassString0,Value0[String?])", "Statement0({root:bool})", "SelectorList?(PseudoSelector)", "Stylesheet0()", "Statement0?()", "VariableDeclaration0(VariableDeclaration0)", "ArgumentDeclaration0()", "Tuple2<String,ArgumentDeclaration0>()", "VariableDeclaration0()", "Object?(Object?)", "StyleRule0(List<Statement0>,FileSpan)", "~([Future<~>?])", "EachRule0(List<Statement0>,FileSpan)", "FunctionRule0(List<Statement0>,FileSpan)", "ForRule0(List<Statement0>,FileSpan)", "ContentBlock0(List<Statement0>,FileSpan)", "MediaRule0(List<Statement0>,FileSpan)", "MixinRule0(List<Statement0>,FileSpan)", "SimpleSelector(SimpleSelector)", "SupportsRule0(List<Statement0>,FileSpan)", "WhileRule0(List<Statement0>,FileSpan)", "~(Expression0)", "~(BinaryOperator0)", "StringExpression0(Interpolation0)", "Null(~(Object?),~(Object?))", "ImmutableList(Value0)", "String?(Value0)", "int(Value0,Value0[String?])", "SassBoolean0(Value0[String?])", "SassColor0(Value0[String?])", "SassFunction0(Value0[String?])", "SassMap0(Value0[String?])", "SassNumber0(Value0[String?])", "SassString0(Value0[String?])", "SassMap0?(Value0)", "bool(Value0,Object?)", "int(Value0[Object?])", "~(String,Option)", "Value?(Module<AsyncCallable>)", "~(Zone?,ZoneDelegate?,Zone,Object,StackTrace)", "0^(Zone?,ZoneDelegate?,Zone,0^())<Object?>", "0^(Zone?,ZoneDelegate?,Zone,0^(1^),1^)<Object?Object?>", "0^(Zone?,ZoneDelegate?,Zone,0^(1^,2^),1^,2^)<Object?Object?Object?>", "0^()(Zone,ZoneDelegate,Zone,0^())<Object?>", "0^(1^)(Zone,ZoneDelegate,Zone,0^(1^))<Object?Object?>", "0^(1^,2^)(Zone,ZoneDelegate,Zone,0^(1^,2^))<Object?Object?Object?>", "AsyncError?(Zone,ZoneDelegate,Zone,Object,StackTrace?)", "~(Zone?,ZoneDelegate?,Zone,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~(Timer))", "~(Zone,ZoneDelegate,Zone,String)", "Zone(Zone?,ZoneDelegate?,Zone,ZoneSpecification?,Map<Object?,Object?>?)", "List<CssMediaQuery>(Interpolation)", "String(SupportsCondition)", "0^(0^,0^)<num>", "~(@,StackTrace)", "~(Object,StackTrace,EventSink<0^>)<Object?>", "List<0^>(0^,List<0^>?)<Object?>", "NodeCompileResult(String[CompileOptions?])", "NodeCompileResult(String[CompileStringOptions?])", "Promise(String[CompileOptions?])", "Promise(String[CompileStringOptions?])", "Importer0(Object?)", "List<Object?>(Object?)", "~(RenderOptions,~(Object?,RenderResult?))", "RenderResult(RenderOptions)", "Future<~>(List<String>)", "Uri(JSUrl0)", "JSUrl0(Uri)", "String(String[String?,String?,String?,String?,String?,String?])", "~(List<Value>)", "EvaluateResult0()"],
97351
+ types: ["~()", "Null()", "Future<Null>()", "Value0(List<Value0>)", "Value(List<Value>)", "String(String)", "bool(String)", "bool(CssNode)", "bool(CssNode0)", "SassNumber(List<Value>)", "SassNumber0(List<Value0>)", "bool(Object?)", "int()", "SassString(List<Value>)", "SassString0(List<Value0>)", "bool(SimpleSelector0)", "bool(SimpleSelector)", "SassBoolean(List<Value>)", "SassBoolean0(List<Value0>)", "bool(ComplexSelector)", "bool(ComplexSelector0)", "SassList(List<Value>)", "SassList0(List<Value0>)", "SassColor(List<Value>)", "SassColor0(List<Value0>)", "JSClass0()", "Null(~())", "~(Object?)", "bool()", "FileSpan()", "String()", "Future<Null>(Future<~>())", "bool(int?)", "Value?()", "SassMap0(List<Value0>)", "Value()", "Value0(Value0)", "Future<~>()", "Value0?()", "Value(Value)", "SassMap(List<Value>)", "bool(num,num)", "String?()", "int(num)", "bool(Value0)", "Value0()", "SelectorList()", "String(Object)", "List<String>()", "SelectorList0()", "~(Value,Value)", "ValueExpression(Value)", "~(Value)", "~(Value0,Value0)", "num(num,num)", "~(Value0)", "bool(int)", "num(SassColor0)", "ValueExpression0(Value0)", "Future<Value>()", "~(Module0<Callable0>)", "Future<Value0>()", "bool(Value)", "~(Module<Callable>)", "Frame(String)", "Null(@)", "Frame()", "Future<Value?>()", "Null(Object,StackTrace)", "~(Object,StackTrace)", "Future<Value0?>()", "Declaration0(List<Statement0>,FileSpan)", "Null(_NodeSassColor,num)", "Value?(Statement)", "int(Uri)", "~(String,Value)", "List<CssMediaQuery0>?(List<CssMediaQuery0>)", "num(num)", "bool(SelectorList0)", "@()", "Tuple3<Importer,Uri,Uri>?()", "Future<String>(Object?)", "Stylesheet?()", "List<CssMediaQuery>?(List<CssMediaQuery>)", "SassRuntimeException0(AstNode0)", "Object()", "Future<Value?>(Statement)", "Null([Object?])", "Uri(Uri)", "~(String,Value0)", "ComplexSelector(List<ComplexSelectorComponent>)", "SassRuntimeException(AstNode)", "String(@)", "Future<Value0>(List<Value0>)", "Value0?(Statement0)", "ComplexSelector0(List<ComplexSelectorComponent0>)", "Declaration(List<Statement>,FileSpan)", "bool(SelectorList)", "@(@)", "Future<Value0?>(Statement0)", "ComplexSelector0(ComplexSelector0)", "List<CssMediaQuery>()", "AtRootQuery()", "~(Object)", "bool(Object)", "AsyncCallable?()", "~(String)", "Null(Module<AsyncCallable>)", "Iterable<String>(Module0<AsyncCallable0>)", "num(Value)", "Callable?()", "bool(_Highlight)", "Callable0?()", "Iterable<ComplexSelector0>(ComplexSelector0)", "bool(Module0<Callable0>)", "Iterable<String>(Module0<Callable0>)", "bool(ComplexSelectorComponent0)", "~(String,Object?)", "Statement()", "int(SassColor0)", "int(_NodeSassColor)", "~(~())", "num(Value0)", "~(@)", "String(Expression)", "bool(ComplexSelectorComponent)", "Statement0()", "Iterable<ComplexSelector>(ComplexSelector)", "ComplexSelector(ComplexSelector)", "Iterable<String>(Module<AsyncCallable>)", "String(Expression0)", "List<ComplexSelectorComponent0>(List<ComplexSelectorComponent0>)", "List<CssMediaQuery0>()", "Null(Module0<AsyncCallable0>)", "bool(Module<AsyncCallable>)", "Iterable<String>(Module<Callable>)", "AtRootQuery0()", "AsyncCallable0?()", "bool(@)", "bool(Module<Callable>)", "bool(Module0<AsyncCallable0>)", "Map<ComplexSelector,Extension>()", "List<ComplexSelectorComponent>(List<ComplexSelectorComponent>)", "Map<ComplexSelector0,Extension0>()", "Trace(String)", "int(Frame)", "String(Frame)", "Iterable<ComplexSelectorComponent>(List<List<ComplexSelectorComponent>>)", "Trace()", "List<Extension>()", "bool(Frame)", "SassNumber()", "VariableDeclaration()", "AsyncCallable0?(Module0<AsyncCallable0>)", "MapKeySet<Module0<AsyncCallable0>>(Map<Module0<AsyncCallable0>,AstNode0>)", "Map<String,AsyncCallable0>(Module0<AsyncCallable0>)", "bool(Queue<Object?>)", "AstNode0(AstNode0)", "~(Iterable<ExtensionStore>)", "String(int)", "SassFunction0(List<Value0>)", "Frame(Tuple2<String,AstNode>)", "Map<String,Callable>(Module<Callable>)", "~(Module0<AsyncCallable0>)", "MapKeySet<Module<Callable>>(Map<Module<Callable>,AstNode>)", "Callable?(Module<Callable>)", "List<ExtensionStore0>()", "num?(String,num{assertPercent:bool,checkPercent:bool})", "bool(ModifiableCssParentNode0)", "String(SassNumber)", "Future<Value>(List<Value>)", "Object(Object)", "Uri?/()", "AstNode?()", "Future<SassNumber0>()", "num(num,num?,num)", "bool(UseRule0)", "bool(ForwardRule0)", "Uri(String)", "int(int,num?)", "MapKeySet<Module<AsyncCallable>>(Map<Module<AsyncCallable>,AstNode>)", "AsyncCallable?(Module<AsyncCallable>)", "Future<Object>()", "SelectorList(Value)", "SelectorList(SelectorList,SelectorList)", "Uri?()", "bool(ForwardRule)", "AstNode0?()", "String(SassNumber0)", "Frame(Tuple2<String,AstNode0>)", "Future<Tuple3<AsyncImporter0,Uri,Uri>?>()", "0&(@[@])", "bool(Import)", "bool(Statement)", "bool(UseRule)", "bool(String?)", "~(Uint8List,String,int)", "String(Value0)", "Future<SassNumber>()", "Iterable<String>()", "~(Object?,Object?)", "Iterable<String>(String)", "~(@,@)", "Future<NodeCompileResult>()", "bool(ModifiableCssParentNode)", "Iterable<String>(@)", "List<ExtensionStore>()", "~(Iterable<ExtensionStore0>)", "DateTime()", "Callable0?(Module0<Callable0>)", "MapKeySet<Module0<Callable0>>(Map<Module0<Callable0>,AstNode0>)", "Map<String,Callable0>(Module0<Callable0>)", "~(Module<AsyncCallable>)", "SassFunction(List<Value>)", "Future<Tuple3<AsyncImporter,Uri,Uri>?>()", "Value0?(Value0)", "Set<0^>()<Object?>", "SassNumber0()", "String(_NodeException)", "AstNode(AstNode)", "List<Extension0>()", "num(num,String)", "~(Object[StackTrace?])", "~(String[~])", "Iterable<ComplexSelectorComponent0>(List<List<ComplexSelectorComponent0>>)", "~([Object?])", "bool(Statement0)", "bool(Import0)", "Tuple3<Importer0,Uri,Uri>?()", "Entry(Entry)", "int(int)", "AsyncImporter0(Object?)", "Value0(int)", "@(Value0,num)", "Object(_NodeSassMap,int)", "Null(_NodeSassMap,int,Object)", "bool(SassNumber0)", "ImmutableList(SassNumber0)", "bool(SassNumber0,String)", "SassNumber0(SassNumber0,Object,Object[String?])", "SassNumber0(SassNumber0,SassNumber0[String?,String?])", "num(SassNumber0,Object,Object[String?])", "num(SassNumber0,SassNumber0[String?,String?])", "~(String,Function)", "SelectorList0(Value0)", "SelectorList0(SelectorList0,SelectorList0)", "FileLocation(FileSpan)", "String(FileSpan)", "int(SourceLocation)", "AtRule(List<Statement>,FileSpan)", "~(String,@)", "AtRootRule0(List<Statement0>,FileSpan)", "AtRule0(List<Statement0>,FileSpan)", "int(@,@)", "AtRootRule(List<Statement>,FileSpan)", "bool(Object?,Object?)", "int(Object?)", "Map<String,AsyncCallable>(Module<AsyncCallable>)", "SupportsRule(List<Statement>,FileSpan)", "Module<AsyncCallable>?(Module<AsyncCallable>)", "EvaluateResult()", "Module<Callable>(Module<Callable>)", "CssValue<Value>(Expression)", "Value?(Value)", "@(@,String)", "CssValue<String>(Interpolation)", "String(Value)", "CssValue<String>(SupportsCondition)", "UserDefinedCallable<Environment>(ContentBlock)", "0&(List<Value>)", "Value(Expression)", "~(ContentBlock)", "~(List<Statement>)", "~(CssMediaQuery)", "~(MapEntry<Value,Value>)", "SourceFile()", "SourceFile?(int)", "String?(SourceFile?)", "int(_Line)", "Future<@>?()", "Object(_Line)", "Object(_Highlight)", "int(_Highlight,_Highlight)", "List<_Line>(MapEntry<Object,List<_Highlight>>)", "SourceSpanWithContext()", "String(String{color:@})", "FileSpan?(MapEntry<Module<AsyncCallable>,AstNode>)", "List<Frame>(Trace)", "int(Trace)", "List<Value>(Value)", "String(Trace)", "bool(List<Value>)", "Map<String,Value>(Module<AsyncCallable>)", "Frame(String,String)", "Map<String,AstNode>(Module<AsyncCallable>)", "Null(@,StackTrace)", "SassMap(Value)", "Frame(Frame)", "Future<~>?()", "String(Argument0)", "SassMap(SassMap)", "SassArgumentList0(Object,Object,Object[String?])", "ImmutableMap(SassArgumentList0)", "Null(Function,Function)", "Set<ModifiableCssValue<SelectorList>>()", "Value0?(Module0<AsyncCallable0>)", "Module0<AsyncCallable0>?(Module0<AsyncCallable0>)", "String(String?)", "_Future<@>(@)", "FileSpan?(MapEntry<Module0<AsyncCallable0>,AstNode0>)", "Map<String,Value0>(Module0<AsyncCallable0>)", "Map<String,AstNode0>(Module0<AsyncCallable0>)", "SassNumber(Value)", "Value(Object)", "Future<List<CssMediaQuery0>>(Interpolation0)", "Future<String>(SupportsCondition0)", "Future<Stylesheet?>()", "bool(Tuple3<AsyncImporter,Uri,Uri>)", "SassString(SimpleSelector)", "Uri(Tuple3<AsyncImporter,Uri,Uri>)", "bool(String?,String?)", "Future<~>(List<Value0>)", "int(String?)", "bool(Tuple3<Importer,Uri,Uri>)", "Future<EvaluateResult0>()", "Uri(Tuple3<Importer,Uri,Uri>)", "Null(@,@)", "Module0<AsyncCallable0>(Module0<AsyncCallable0>)", "String(MapEntry<String,ConfiguredValue>)", "String(Argument)", "Value?(Module<Callable>)", "Future<CssValue0<Value0>>(Expression0)", "Module<Callable>?(Module<Callable>)", "Expression(Expression)", "Future<Value0?>(Value0)", "~(int,@)", "FileSpan?(MapEntry<Module<Callable>,AstNode>)", "Future<CssValue0<String>>(Interpolation0)", "Map<String,Value>(Module<Callable>)", "Map<String,AstNode>(Module<Callable>)", "String(Tuple2<Expression,Expression>)", "~(Symbol0,@)", "ArgParser()", "Future<CssValue0<String>>(SupportsCondition0)", "UserDefinedCallable0<AsyncEnvironment0>(ContentBlock0)", "String(int,IfClause)", "String(BuiltInCallable)", "Future<~>(String)", "List<WatchEvent>(List<WatchEvent>)", "CompoundSelector()", "Statement({root:bool})", "Future<Value0>(Expression0)", "~(String,int)", "Expression({bracketList:bool,singleEquals:bool,until:bool()?})", "Stylesheet()", "Statement?()", "VariableDeclaration(VariableDeclaration)", "ArgumentDeclaration()", "bool(Extension)", "Future<Stylesheet0?>()", "bool(Tuple3<AsyncImporter0,Uri,Uri>)", "Uri(Tuple3<AsyncImporter0,Uri,Uri>)", "UseRule()", "0&(Object[Object?])", "~(String[@])", "Expression0(Expression0)", "int(int,int)", "StyleRule(List<Statement>,FileSpan)", "@(String)", "EachRule(List<Statement>,FileSpan)", "FunctionRule(List<Statement>,FileSpan)", "0&(List<Value0>)", "ForRule(List<Statement>,FileSpan)", "Null(_NodeSassColor,num?[num?,num?,num?,SassColor0?])", "ContentBlock(List<Statement>,FileSpan)", "num(_NodeSassColor)", "MediaRule(List<Statement>,FileSpan)", "SassColor0(Object,_Channels)", "SassColor0(SassColor0,_Channels)", "MixinRule(List<Statement>,FileSpan)", "~(SimpleSelector,Map<ComplexSelector,Extension>)", "~(ComplexSelector,Extension)", "WhileRule(List<Statement>,FileSpan)", "AsyncImporter0(NodeImporter0)", "0&(@)", "~(Expression)", "~(BinaryOperator)", "String(MapEntry<String,ConfiguredValue0>)", "String(BuiltInCallable0)", "Null(Map<SimpleSelector,Map<ComplexSelector,Extension>>)", "StringExpression(Interpolation)", "Value0?(Module0<Callable0>)", "Module0<Callable0>?(Module0<Callable0>)", "DateTime(StylesheetNode)", "~(Uri,StylesheetNode?)", "FileSpan?(MapEntry<Module0<Callable0>,AstNode0>)", "Map<String,Value0>(Module0<Callable0>)", "Map<String,AstNode0>(Module0<Callable0>)", "Map<SimpleSelector,Map<ComplexSelector,Extension>>?(List<Extension>)", "~(Set<ModifiableCssValue<SelectorList>>)", "List<CssMediaQuery0>(Interpolation0)", "String(SupportsCondition0)", "List<ComplexSelector>(ComplexSelectorComponent)", "~(List<Value0>)", "SassScriptException()", "Object(Value0)", "Module0<Callable0>(Module0<Callable0>)", "CssValue0<Value0>(Expression0)", "Iterable<ComplexSelector>(List<ComplexSelector>)", "SingleUnitSassNumber(num)", "CssValue0<String>(Interpolation0)", "Future<List<CssMediaQuery>>(Interpolation)", "CssValue0<String>(SupportsCondition0)", "UserDefinedCallable0<Environment0>(ContentBlock0)", "Value0(Expression0)", "Future<String>(SupportsCondition)", "FileSpan(_NodeException)", "bool(Extension0)", "Set<ModifiableCssValue0<SelectorList0>>()", "List<ComplexSelectorComponent>(ComplexSelector)", "ComplexSelector(Extender)", "~(SimpleSelector0,Map<ComplexSelector0,Extension0>)", "~(ComplexSelector0,Extension0)", "Null(Map<SimpleSelector0,Map<ComplexSelector0,Extension0>>)", "Map<SimpleSelector0,Map<ComplexSelector0,Extension0>>?(List<Extension0>)", "~(Set<ModifiableCssValue0<SelectorList0>>)", "List<ComplexSelector0>(ComplexSelectorComponent0)", "Iterable<ComplexSelector0>(List<ComplexSelector0>)", "List<ComplexSelectorComponent0>(ComplexSelector0)", "List<ComplexSelector>?(List<Extender>)", "Future<~>(List<Value>)", "ComplexSelector0(Extender0)", "List<ComplexSelector0>?(List<Extender0>)", "List<SimpleSelector0>(Extender0)", "List<ComplexSelector0>(List<ComplexSelector0>)", "List<Extender0>?(SimpleSelector0)", "List<Extender0>(PseudoSelector0)", "List<List<Extender0>>(List<Extender0>)", "List<ComplexSelector0>(ComplexSelector0)", "PseudoSelector0(ComplexSelector0)", "~(SimpleSelector0,Set<ModifiableCssValue0<SelectorList0>>)", "SassFunction0(Object,String,Value0(List<Value0>))", "List<SimpleSelector>(Extender)", "List<ComplexSelectorComponent0>?(List<ComplexSelectorComponent0>,List<ComplexSelectorComponent0>)", "bool(Queue<List<ComplexSelectorComponent0>>)", "Future<EvaluateResult>()", "bool(List<Iterable<ComplexSelectorComponent0>>)", "List<ComplexSelectorComponent0>(List<Iterable<ComplexSelectorComponent0>>)", "Iterable<ComplexSelectorComponent0>(Iterable<ComplexSelectorComponent0>)", "List<ComplexSelector>(List<ComplexSelector>)", "bool(PseudoSelector0)", "SelectorList0?(PseudoSelector0)", "String(int,IfClause0)", "Module<AsyncCallable>(Module<AsyncCallable>)", "List<Extender>?(SimpleSelector)", "~(Object?,Object,Object?)", "Tuple2<String,String>(String)", "List<Extender>(PseudoSelector)", "Stylesheet0?()", "bool(Tuple3<Importer0,Uri,Uri>)", "Uri(Tuple3<Importer0,Uri,Uri>)", "Null(RenderResult)", "JSFunction0(JSFunction0)", "Object?(Object,String,String[Object?])", "Null(Object)", "List<List<Extender>>(List<Extender>)", "List<Value0>(Value0)", "bool(List<Value0>)", "SassList0(ComplexSelector0)", "SassString0(ComplexSelectorComponent0)", "Future<CssValue<Value>>(Expression)", "List<ComplexSelector>(ComplexSelector)", "SimpleSelector0(SimpleSelector0)", "Null(_NodeSassList,int?[bool?,SassList0?])", "PseudoSelector(ComplexSelector)", "Object(_NodeSassList,int)", "Null(_NodeSassList,int,Object)", "bool(_NodeSassList)", "Null(_NodeSassList,bool)", "int(_NodeSassList)", "SassList0(Object[Object?,_ConstructorOptions?])", "Future<Value?>(Value)", "String(Tuple2<Expression0,Expression0>)", "SassMap0(Value0)", "SassMap0(SassMap0)", "Null(_NodeSassMap,int?[SassMap0?])", "SassNumber0(int)", "~(SimpleSelector,Set<ModifiableCssValue<SelectorList>>)", "int(_NodeSassMap)", "Future<CssValue<String>>(Interpolation)", "SassMap0(Object[ImmutableMap?])", "ImmutableMap(SassMap0)", "@(SassMap0,Object)", "SassNumber0(Value0)", "Value0(Object)", "~(String,WarnOptions)", "~(String,DebugOptions)", "Null(_NodeSassNumber,num?[String?,SassNumber0?])", "num(_NodeSassNumber)", "Null(_NodeSassNumber,num)", "String(_NodeSassNumber)", "Null(_NodeSassNumber,String)", "SassNumber0(Object,num[Object?])", "num(SassNumber0)", "Uint8List(@,@)", "int?(SassNumber0)", "List<ComplexSelectorComponent>?(List<ComplexSelectorComponent>,List<ComplexSelectorComponent>)", "int(SassNumber0[String?])", "num(SassNumber0,num,num[String?])", "~(SassNumber0[String?])", "~(SassNumber0,String[String?])", "bool(Queue<List<ComplexSelectorComponent>>)", "SassList(ComplexSelector)", "Future<CssValue<String>>(SupportsCondition)", "UserDefinedCallable<AsyncEnvironment>(ContentBlock)", "SassString(ComplexSelectorComponent)", "SassScriptException0()", "String(Object,@,@)", "bool(List<Iterable<ComplexSelectorComponent>>)", "~(String,StackTrace?)", "List<ComplexSelectorComponent>(List<Iterable<ComplexSelectorComponent>>)", "Iterable<ComplexSelectorComponent>(Iterable<ComplexSelectorComponent>)", "SassString0(SimpleSelector0)", "CompoundSelector0()", "~(CssMediaQuery0)", "~(MapEntry<Value0,Value0>)", "SingleUnitSassNumber0(num)", "Future<@>()", "JSUrl0?(FileSpan)", "Future<Value>(Expression)", "bool(PseudoSelector)", "Null(_NodeSassString,String?[SassString0?])", "String(_NodeSassString)", "Null(_NodeSassString,String)", "SassString0(Object[Object?,_ConstructorOptions1?])", "String(SassString0)", "bool(SassString0)", "int(SassString0)", "int(SassString0,Value0[String?])", "Statement0({root:bool})", "SelectorList?(PseudoSelector)", "Stylesheet0()", "Statement0?()", "VariableDeclaration0(VariableDeclaration0)", "ArgumentDeclaration0()", "Tuple2<String,ArgumentDeclaration0>()", "VariableDeclaration0()", "Object?(Object?)", "StyleRule0(List<Statement0>,FileSpan)", "~([Future<~>?])", "EachRule0(List<Statement0>,FileSpan)", "FunctionRule0(List<Statement0>,FileSpan)", "ForRule0(List<Statement0>,FileSpan)", "ContentBlock0(List<Statement0>,FileSpan)", "MediaRule0(List<Statement0>,FileSpan)", "MixinRule0(List<Statement0>,FileSpan)", "SimpleSelector(SimpleSelector)", "SupportsRule0(List<Statement0>,FileSpan)", "WhileRule0(List<Statement0>,FileSpan)", "~(Expression0)", "~(BinaryOperator0)", "StringExpression0(Interpolation0)", "Null(~(Object?),~(Object?))", "ImmutableList(Value0)", "String?(Value0)", "int(Value0,Value0[String?])", "SassBoolean0(Value0[String?])", "SassColor0(Value0[String?])", "SassFunction0(Value0[String?])", "SassMap0(Value0[String?])", "SassNumber0(Value0[String?])", "SassString0(Value0[String?])", "SassMap0?(Value0)", "bool(Value0,Object?)", "int(Value0[Object?])", "~(String,Option)", "Value?(Module<AsyncCallable>)", "~(Zone?,ZoneDelegate?,Zone,Object,StackTrace)", "0^(Zone?,ZoneDelegate?,Zone,0^())<Object?>", "0^(Zone?,ZoneDelegate?,Zone,0^(1^),1^)<Object?Object?>", "0^(Zone?,ZoneDelegate?,Zone,0^(1^,2^),1^,2^)<Object?Object?Object?>", "0^()(Zone,ZoneDelegate,Zone,0^())<Object?>", "0^(1^)(Zone,ZoneDelegate,Zone,0^(1^))<Object?Object?>", "0^(1^,2^)(Zone,ZoneDelegate,Zone,0^(1^,2^))<Object?Object?Object?>", "AsyncError?(Zone,ZoneDelegate,Zone,Object,StackTrace?)", "~(Zone?,ZoneDelegate?,Zone,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~(Timer))", "~(Zone,ZoneDelegate,Zone,String)", "Zone(Zone?,ZoneDelegate?,Zone,ZoneSpecification?,Map<Object?,Object?>?)", "List<CssMediaQuery>(Interpolation)", "String(SupportsCondition)", "0^(0^,0^)<num>", "~(@,StackTrace)", "~(Object,StackTrace,EventSink<0^>)<Object?>", "List<0^>(0^,List<0^>?)<Object?>", "NodeCompileResult(String[CompileOptions?])", "NodeCompileResult(String[CompileStringOptions?])", "Promise(String[CompileOptions?])", "Promise(String[CompileStringOptions?])", "Importer0(Object?)", "List<Object?>(Object?)", "~(RenderOptions,~(Object?,RenderResult?))", "RenderResult(RenderOptions)", "Future<~>(List<String>)", "Uri(JSUrl0)", "JSUrl0(Uri)", "String(String[String?,String?,String?,String?,String?,String?])", "~(List<Value>)", "EvaluateResult0()"],
97334
97352
  interceptorsByTag: null,
97335
97353
  leafTags: null,
97336
97354
  arrayRti: Symbol("$ti")
@@ -97963,6 +97981,7 @@ self.readline = _cli_pkg_requires.readline;
97963
97981
  nullable_List_ComplexSelector_2: findType("List<ComplexSelector0>?"),
97964
97982
  nullable_Object: findType("Object?"),
97965
97983
  nullable_SourceFile: findType("SourceFile?"),
97984
+ nullable_SourceSpan: findType("SourceSpan?"),
97966
97985
  nullable_StreamSubscription_WatchEvent: findType("StreamSubscription<WatchEvent>?"),
97967
97986
  nullable_String: findType("String?"),
97968
97987
  nullable_Stylesheet: findType("Stylesheet?"),
package/types/index.d.ts CHANGED
@@ -41,10 +41,14 @@ export {
41
41
  // Legacy APIs
42
42
  export {LegacyException} from './legacy/exception';
43
43
  export {
44
+ FALSE,
44
45
  LegacyAsyncFunction,
45
- LegacySyncFunction,
46
+ LegacyAsyncFunctionDone,
46
47
  LegacyFunction,
48
+ LegacySyncFunction,
47
49
  LegacyValue,
50
+ NULL,
51
+ TRUE,
48
52
  types,
49
53
  } from './legacy/function';
50
54
  export {
@@ -68,9 +68,10 @@ export type LegacySyncFunction = (
68
68
  * });
69
69
  * ```
70
70
  *
71
- * @param args - One argument for each argument that's declared in the signature
72
- * that's passed to [[LegacySharedOptions.functions]]. If the signature [takes
73
- * arbitrary arguments](https://sass-lang.com/documentation/at-rules/function#taking-arbitrary-arguments),
71
+ * This is passed one argument for each argument that's declared in the
72
+ * signature that's passed to [[LegacySharedOptions.functions]]. If the
73
+ * signature [takes arbitrary
74
+ * arguments](https://sass-lang.com/documentation/at-rules/function#taking-arbitrary-arguments),
74
75
  * they're passed as a single argument list in the last argument before the
75
76
  * callback.
76
77
  *
@@ -79,9 +80,73 @@ export type LegacySyncFunction = (
79
80
  * APIs. Use [[CustomFunction]] with [[compile]], [[compileString]],
80
81
  * [[compileAsync]], and [[compileStringAsync]] instead.
81
82
  */
82
- export type LegacyAsyncFunction = (
83
- this: LegacyPluginThis,
84
- ...args: [...LegacyValue[], (result: LegacyValue) => void]
83
+ export type LegacyAsyncFunction =
84
+ | ((this: LegacyPluginThis, done: (result: LegacyValue) => void) => void)
85
+ | ((
86
+ this: LegacyPluginThis,
87
+ arg1: LegacyValue,
88
+ done: LegacyAsyncFunctionDone
89
+ ) => void)
90
+ | ((
91
+ this: LegacyPluginThis,
92
+ arg1: LegacyValue,
93
+ arg2: LegacyValue,
94
+ done: LegacyAsyncFunctionDone
95
+ ) => void)
96
+ | ((
97
+ this: LegacyPluginThis,
98
+ arg1: LegacyValue,
99
+ arg2: LegacyValue,
100
+ arg3: LegacyValue,
101
+ done: LegacyAsyncFunctionDone
102
+ ) => void)
103
+ | ((
104
+ this: LegacyPluginThis,
105
+ arg1: LegacyValue,
106
+ arg2: LegacyValue,
107
+ arg3: LegacyValue,
108
+ arg4: LegacyValue,
109
+ done: LegacyAsyncFunctionDone
110
+ ) => void)
111
+ | ((
112
+ this: LegacyPluginThis,
113
+ arg1: LegacyValue,
114
+ arg2: LegacyValue,
115
+ arg3: LegacyValue,
116
+ arg4: LegacyValue,
117
+ arg5: LegacyValue,
118
+ done: LegacyAsyncFunctionDone
119
+ ) => void)
120
+ | ((
121
+ this: LegacyPluginThis,
122
+ arg1: LegacyValue,
123
+ arg2: LegacyValue,
124
+ arg3: LegacyValue,
125
+ arg4: LegacyValue,
126
+ arg5: LegacyValue,
127
+ arg6: LegacyValue,
128
+ done: LegacyAsyncFunctionDone
129
+ ) => void)
130
+ | ((
131
+ this: LegacyPluginThis,
132
+ ...args: [...LegacyValue[], LegacyAsyncFunctionDone]
133
+ ) => void);
134
+
135
+ /**
136
+ * The function called by a [[LegacyAsyncFunction]] to indicate that it's
137
+ * finished.
138
+ *
139
+ * @param result - If this is a [[LegacyValue]], that indicates that the
140
+ * function call completed successfully. If it's a [[types.Error]], that
141
+ * indicates that the function call failed.
142
+ *
143
+ * @category Legacy
144
+ * @deprecated This only works with the legacy [[render]] and [[renderSync]]
145
+ * APIs. Use [[CustomFunction]] with [[compile]], [[compileString]],
146
+ * [[compileAsync]], and [[compileStringAsync]] instead.
147
+ */
148
+ export type LegacyAsyncFunctionDone = (
149
+ result: LegacyValue | types.Error
85
150
  ) => void;
86
151
 
87
152
  /**
@@ -119,6 +184,36 @@ export type LegacyValue =
119
184
  | types.List
120
185
  | types.Map;
121
186
 
187
+ /**
188
+ * A shorthand for `sass.types.Boolean.TRUE`.
189
+ *
190
+ * @category Legacy
191
+ * @deprecated This only works with the legacy [[render]] and [[renderSync]]
192
+ * APIs. Use [[sassTrue]] with [[compile]], [[compileString]], [[compileAsync]],
193
+ * and [[compileStringAsync]] instead.
194
+ */
195
+ export const TRUE: types.Boolean<true>;
196
+
197
+ /**
198
+ * A shorthand for `sass.types.Boolean.FALSE`.
199
+ *
200
+ * @category Legacy
201
+ * @deprecated This only works with the legacy [[render]] and [[renderSync]]
202
+ * APIs. Use [[sassFalse]] with [[compile]], [[compileString]], [[compileAsync]],
203
+ * and [[compileStringAsync]] instead.
204
+ */
205
+ export const FALSE: types.Boolean<false>;
206
+
207
+ /**
208
+ * A shorthand for `sass.types.Null.NULL`.
209
+ *
210
+ * @category Legacy
211
+ * @deprecated This only works with the legacy [[render]] and [[renderSync]]
212
+ * APIs. Use [[sassNull]] with [[compile]], [[compileString]], [[compileAsync]],
213
+ * and [[compileStringAsync]] instead.
214
+ */
215
+ export const NULL: types.Null;
216
+
122
217
  /**
123
218
  * The namespace for value types used in the legacy function API.
124
219
  *
@@ -649,4 +744,13 @@ export namespace types {
649
744
  */
650
745
  getLength(): number;
651
746
  }
747
+
748
+ /**
749
+ * An error that can be returned from a Sass function to signal that it
750
+ * encountered an error. This is the only way to signal an error
751
+ * asynchronously from a [[LegacyAsyncFunction]].
752
+ */
753
+ export class Error {
754
+ constructor(message: string);
755
+ }
652
756
  }
@@ -13,6 +13,9 @@ export interface LegacyPluginThis {
13
13
  * [[renderSync]].
14
14
  */
15
15
  options: {
16
+ /** The same [[LegacyPluginThis]] instance that contains this object. */
17
+ context: LegacyPluginThis;
18
+
16
19
  /**
17
20
  * The value passed to [[LegacyFileOptions.file]] or
18
21
  * [[LegacyStringOptions.file]].
@@ -24,8 +27,8 @@ export interface LegacyPluginThis {
24
27
 
25
28
  /**
26
29
  * The value passed to [[LegacySharedOptions.includePaths]] separated by
27
- * `";"` on Windows or `":"` on other operating systems, or an empty
28
- * array if no value was passed.
30
+ * `";"` on Windows or `":"` on other operating systems. This always
31
+ * includes the current working directory as the first entry.
29
32
  */
30
33
  includePaths: string;
31
34
 
@@ -44,10 +47,10 @@ export interface LegacyPluginThis {
44
47
  indentWidth: number;
45
48
 
46
49
  /**
47
- * The value passed to [[LegacySharedOptions.linefeed]], or `"lf"`
50
+ * The value passed to [[LegacySharedOptions.linefeed]], or `"\n"`
48
51
  * otherwise.
49
52
  */
50
- linefeed: 'cr' | 'crlf' | 'lf' | 'lfcr';
53
+ linefeed: '\r' | '\r\n' | '\n' | '\n\r';
51
54
 
52
55
  /** A partially-constructed [[LegacyResult]] object. */
53
56
  result: {
@@ -275,6 +275,16 @@ export interface Options<sync extends 'sync' | 'async'> {
275
275
  */
276
276
  sourceMap?: boolean;
277
277
 
278
+ /**
279
+ * Whether Sass should include the sources in the generated source map.
280
+ *
281
+ * This option has no effect if [[sourceMap]] is `false`.
282
+ *
283
+ * @defaultValue `false`
284
+ * @category Output
285
+ */
286
+ sourceMapIncludeSources?: boolean;
287
+
278
288
  /**
279
289
  * The [[OutputStyle]] of the compiled CSS.
280
290
  *