sass 1.69.1 → 1.69.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/sass.dart.js +162 -128
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.69.
|
|
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.69.2","bin":{"sass":"sass.js"},"main":"sass.node.js"}
|
package/sass.dart.js
CHANGED
|
@@ -7483,6 +7483,19 @@ self.util = _cliPkgRequires.util;
|
|
|
7483
7483
|
this._completer = t0;
|
|
7484
7484
|
this.$ti = t1;
|
|
7485
7485
|
},
|
|
7486
|
+
isNodeJs() {
|
|
7487
|
+
var t1 = self.process;
|
|
7488
|
+
if (t1 == null)
|
|
7489
|
+
t1 = null;
|
|
7490
|
+
else {
|
|
7491
|
+
t1 = J.get$release$x(t1);
|
|
7492
|
+
t1 = t1 == null ? null : J.get$name$x(t1);
|
|
7493
|
+
}
|
|
7494
|
+
return J.$eq$(t1, "node");
|
|
7495
|
+
},
|
|
7496
|
+
isBrowser() {
|
|
7497
|
+
return !A.isNodeJs() && self.document != null && typeof self.document.querySelector == "function";
|
|
7498
|
+
},
|
|
7486
7499
|
wrapJSExceptions(callback) {
|
|
7487
7500
|
var error, error0, error1, error2, t1, exception;
|
|
7488
7501
|
if (!$.$get$_isStrictMode())
|
|
@@ -9059,9 +9072,9 @@ self.util = _cliPkgRequires.util;
|
|
|
9059
9072
|
case 3:
|
|
9060
9073
|
// then
|
|
9061
9074
|
t1 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
|
|
9062
|
-
t2 = self.process;
|
|
9075
|
+
t2 = A.isNodeJs() ? self.process : null;
|
|
9063
9076
|
if (!J.$eq$(t2 == null ? null : J.get$platform$x(t2), "win32")) {
|
|
9064
|
-
t2 = self.process;
|
|
9077
|
+
t2 = A.isNodeJs() ? self.process : null;
|
|
9065
9078
|
t2 = J.$eq$(t2 == null ? null : J.get$platform$x(t2), "darwin");
|
|
9066
9079
|
} else
|
|
9067
9080
|
t2 = true;
|
|
@@ -9334,10 +9347,9 @@ self.util = _cliPkgRequires.util;
|
|
|
9334
9347
|
_EnvironmentModule__EnvironmentModule_closure10: function _EnvironmentModule__EnvironmentModule_closure10() {
|
|
9335
9348
|
},
|
|
9336
9349
|
AsyncImportCache__toImporters(importers, loadPaths, packageConfig) {
|
|
9337
|
-
var t2, t3, t4, _i, path, _null = null,
|
|
9338
|
-
sassPath = A.getEnvironmentVariable("SASS_PATH")
|
|
9339
|
-
|
|
9340
|
-
if (t1 == null) {
|
|
9350
|
+
var t1, t2, t3, t4, _i, path, _null = null,
|
|
9351
|
+
sassPath = A.getEnvironmentVariable("SASS_PATH");
|
|
9352
|
+
if (A.isBrowser()) {
|
|
9341
9353
|
t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
|
|
9342
9354
|
return t1;
|
|
9343
9355
|
}
|
|
@@ -9347,7 +9359,7 @@ self.util = _cliPkgRequires.util;
|
|
|
9347
9359
|
t1.push(new A.FilesystemImporter($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
|
|
9348
9360
|
}
|
|
9349
9361
|
if (sassPath != null) {
|
|
9350
|
-
t2 = self.process;
|
|
9362
|
+
t2 = A.isNodeJs() ? self.process : _null;
|
|
9351
9363
|
t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
|
|
9352
9364
|
t4 = t3.length;
|
|
9353
9365
|
_i = 0;
|
|
@@ -9839,7 +9851,7 @@ self.util = _cliPkgRequires.util;
|
|
|
9839
9851
|
_compileStylesheetWithoutErrorHandling$body(options, graph, source, destination, ifModified) {
|
|
9840
9852
|
var $async$goto = 0,
|
|
9841
9853
|
$async$completer = A._makeAsyncAwaitCompleter(type$.void),
|
|
9842
|
-
$async$returnValue, $async$handler = 2, $async$currentError, syntax, result, importCache, error, exception, t1, t2, t3, t4, t5, t6, t7, t8, t9, result0, t10, t11, t12, t13, logger, stylesheet, t0, css, buffer, sourceName, destinationName, nowStr, timestamp,
|
|
9854
|
+
$async$returnValue, $async$handler = 2, $async$currentError, syntax, result, importCache, error, exception, t1, t2, t3, t4, t5, t6, t7, t8, t9, result0, t10, t11, t12, t13, logger, stylesheet, t0, css, buffer, sourceName, destinationName, nowStr, timestamp, process, importer, $async$exception;
|
|
9843
9855
|
var $async$_compileStylesheetWithoutErrorHandling = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
|
|
9844
9856
|
if ($async$errorCode === 1) {
|
|
9845
9857
|
$async$currentError = $async$result;
|
|
@@ -9978,9 +9990,9 @@ self.util = _cliPkgRequires.util;
|
|
|
9978
9990
|
t3 = t2 == null || t2 === A.Syntax_forPath(source);
|
|
9979
9991
|
if (t3) {
|
|
9980
9992
|
t2 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
|
|
9981
|
-
t3 = self.process;
|
|
9993
|
+
t3 = A.isNodeJs() ? self.process : null;
|
|
9982
9994
|
if (!J.$eq$(t3 == null ? null : J.get$platform$x(t3), "win32")) {
|
|
9983
|
-
t3 = self.process;
|
|
9995
|
+
t3 = A.isNodeJs() ? self.process : null;
|
|
9984
9996
|
t3 = J.$eq$(t3 == null ? null : J.get$platform$x(t3), "darwin");
|
|
9985
9997
|
} else
|
|
9986
9998
|
t3 = true;
|
|
@@ -10082,11 +10094,10 @@ self.util = _cliPkgRequires.util;
|
|
|
10082
10094
|
buffer._contents = t1;
|
|
10083
10095
|
if (options.get$color())
|
|
10084
10096
|
buffer._contents = t1 + "\x1b[0m";
|
|
10085
|
-
|
|
10086
|
-
if (
|
|
10087
|
-
process = _0_0;
|
|
10097
|
+
process = A.isNodeJs() ? self.process : null;
|
|
10098
|
+
if (process != null)
|
|
10088
10099
|
t1 = true;
|
|
10089
|
-
|
|
10100
|
+
else {
|
|
10090
10101
|
process = null;
|
|
10091
10102
|
t1 = false;
|
|
10092
10103
|
}
|
|
@@ -10212,11 +10223,25 @@ self.util = _cliPkgRequires.util;
|
|
|
10212
10223
|
error = errorWithStackTrace._1;
|
|
10213
10224
|
stackTrace = errorWithStackTrace._2;
|
|
10214
10225
|
t2 = self.process;
|
|
10226
|
+
if (t2 == null)
|
|
10227
|
+
t2 = null;
|
|
10228
|
+
else {
|
|
10229
|
+
t2 = J.get$release$x(t2);
|
|
10230
|
+
t2 = t2 == null ? null : J.get$name$x(t2);
|
|
10231
|
+
}
|
|
10232
|
+
t2 = J.$eq$(t2, "node") ? self.process : null;
|
|
10215
10233
|
t2 = t2 == null ? null : J.get$exitCode$x(t2);
|
|
10216
10234
|
if (t2 == null)
|
|
10217
10235
|
t2 = 0;
|
|
10218
10236
|
t2 = Math.max(t2, code);
|
|
10219
10237
|
t3 = self.process;
|
|
10238
|
+
if (t3 == null)
|
|
10239
|
+
t3 = null;
|
|
10240
|
+
else {
|
|
10241
|
+
t3 = J.get$release$x(t3);
|
|
10242
|
+
t3 = t3 == null ? null : J.get$name$x(t3);
|
|
10243
|
+
}
|
|
10244
|
+
t3 = J.$eq$(t3, "node") ? self.process : null;
|
|
10220
10245
|
if (t3 != null)
|
|
10221
10246
|
J.set$exitCode$x(t3, t2);
|
|
10222
10247
|
buffer = new A.StringBuffer("");
|
|
@@ -10348,8 +10373,22 @@ self.util = _cliPkgRequires.util;
|
|
|
10348
10373
|
t4 = $.$get$context();
|
|
10349
10374
|
t5 = t4.absolute$15(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
|
|
10350
10375
|
t6 = self.process;
|
|
10376
|
+
if (t6 == null)
|
|
10377
|
+
t6 = null;
|
|
10378
|
+
else {
|
|
10379
|
+
t6 = J.get$release$x(t6);
|
|
10380
|
+
t6 = t6 == null ? null : J.get$name$x(t6);
|
|
10381
|
+
}
|
|
10382
|
+
t6 = J.$eq$(t6, "node") ? self.process : null;
|
|
10351
10383
|
if (!J.$eq$(t6 == null ? null : J.get$platform$x(t6), "win32")) {
|
|
10352
10384
|
t6 = self.process;
|
|
10385
|
+
if (t6 == null)
|
|
10386
|
+
t6 = null;
|
|
10387
|
+
else {
|
|
10388
|
+
t6 = J.get$release$x(t6);
|
|
10389
|
+
t6 = t6 == null ? null : J.get$name$x(t6);
|
|
10390
|
+
}
|
|
10391
|
+
t6 = J.$eq$(t6, "node") ? self.process : null;
|
|
10353
10392
|
t6 = J.$eq$(t6 == null ? null : J.get$platform$x(t6), "darwin");
|
|
10354
10393
|
} else
|
|
10355
10394
|
t6 = true;
|
|
@@ -12520,10 +12559,9 @@ self.util = _cliPkgRequires.util;
|
|
|
12520
12559
|
return new A.ImportCache(t3, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_4_Uri_and_Importer_baseImporter_and_nullable_Uri_baseUrl_and_bool_forImport, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult));
|
|
12521
12560
|
},
|
|
12522
12561
|
ImportCache__toImporters(importers, loadPaths, packageConfig) {
|
|
12523
|
-
var t2, t3, t4, _i, path, _null = null,
|
|
12524
|
-
sassPath = A.getEnvironmentVariable("SASS_PATH")
|
|
12525
|
-
|
|
12526
|
-
if (t1 == null) {
|
|
12562
|
+
var t1, t2, t3, t4, _i, path, _null = null,
|
|
12563
|
+
sassPath = A.getEnvironmentVariable("SASS_PATH");
|
|
12564
|
+
if (A.isBrowser()) {
|
|
12527
12565
|
t1 = A._setArrayType([], type$.JSArray_Importer_2);
|
|
12528
12566
|
return t1;
|
|
12529
12567
|
}
|
|
@@ -12533,7 +12571,7 @@ self.util = _cliPkgRequires.util;
|
|
|
12533
12571
|
t1.push(new A.FilesystemImporter($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
|
|
12534
12572
|
}
|
|
12535
12573
|
if (sassPath != null) {
|
|
12536
|
-
t2 = self.process;
|
|
12574
|
+
t2 = A.isNodeJs() ? self.process : _null;
|
|
12537
12575
|
t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
|
|
12538
12576
|
t4 = t3.length;
|
|
12539
12577
|
_i = 0;
|
|
@@ -12726,17 +12764,17 @@ self.util = _cliPkgRequires.util;
|
|
|
12726
12764
|
this._0_0 = t0;
|
|
12727
12765
|
},
|
|
12728
12766
|
_realCasePath(path) {
|
|
12729
|
-
var prefix,
|
|
12730
|
-
t1 = self.process;
|
|
12731
|
-
if (!J.$eq$(t1 == null ?
|
|
12732
|
-
t1 = self.process;
|
|
12733
|
-
t1 = J.$eq$(t1 == null ?
|
|
12767
|
+
var prefix, _null = null,
|
|
12768
|
+
t1 = A.isNodeJs() ? self.process : _null;
|
|
12769
|
+
if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
|
|
12770
|
+
t1 = A.isNodeJs() ? self.process : _null;
|
|
12771
|
+
t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
|
|
12734
12772
|
} else
|
|
12735
12773
|
t1 = true;
|
|
12736
12774
|
if (!t1)
|
|
12737
12775
|
return path;
|
|
12738
|
-
t1 = self.process;
|
|
12739
|
-
if (J.$eq$(t1 == null ?
|
|
12776
|
+
t1 = A.isNodeJs() ? self.process : _null;
|
|
12777
|
+
if (J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
|
|
12740
12778
|
prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
|
|
12741
12779
|
t1 = prefix.length;
|
|
12742
12780
|
if (t1 !== 0 && A.CharacterExtension_get_isAlphabetic(prefix.charCodeAt(0)))
|
|
@@ -12755,12 +12793,11 @@ self.util = _cliPkgRequires.util;
|
|
|
12755
12793
|
this.basename = t0;
|
|
12756
12794
|
},
|
|
12757
12795
|
printError(message) {
|
|
12758
|
-
var
|
|
12759
|
-
|
|
12760
|
-
if (
|
|
12761
|
-
process = _0_0;
|
|
12796
|
+
var t1,
|
|
12797
|
+
process = A.isNodeJs() ? self.process : null;
|
|
12798
|
+
if (process != null)
|
|
12762
12799
|
t1 = true;
|
|
12763
|
-
|
|
12800
|
+
else {
|
|
12764
12801
|
process = null;
|
|
12765
12802
|
t1 = false;
|
|
12766
12803
|
}
|
|
@@ -12774,7 +12811,7 @@ self.util = _cliPkgRequires.util;
|
|
|
12774
12811
|
},
|
|
12775
12812
|
readFile(path) {
|
|
12776
12813
|
var contents, sourceFile, t1, i;
|
|
12777
|
-
if (
|
|
12814
|
+
if (!A.isNodeJs())
|
|
12778
12815
|
throw A.wrapException(A.UnsupportedError$("readFile() is only supported on Node.js"));
|
|
12779
12816
|
contents = A._asString(A._readFile(path, "utf8"));
|
|
12780
12817
|
if (!B.JSString_methods.contains$1(contents, "\ufffd"))
|
|
@@ -12791,12 +12828,12 @@ self.util = _cliPkgRequires.util;
|
|
|
12791
12828
|
return A._systemErrorToFileSystemException(new A._readFile_closure(path, encoding));
|
|
12792
12829
|
},
|
|
12793
12830
|
writeFile(path, contents) {
|
|
12794
|
-
if (
|
|
12831
|
+
if (!A.isNodeJs())
|
|
12795
12832
|
throw A.wrapException(A.UnsupportedError$("writeFile() is only supported on Node.js"));
|
|
12796
12833
|
return A._systemErrorToFileSystemException(new A.writeFile_closure(path, contents));
|
|
12797
12834
|
},
|
|
12798
12835
|
deleteFile(path) {
|
|
12799
|
-
if (
|
|
12836
|
+
if (!A.isNodeJs())
|
|
12800
12837
|
throw A.wrapException(A.UnsupportedError$("deleteFile() is only supported on Node.js"));
|
|
12801
12838
|
return A._systemErrorToFileSystemException(new A.deleteFile_closure(path));
|
|
12802
12839
|
},
|
|
@@ -12806,7 +12843,7 @@ self.util = _cliPkgRequires.util;
|
|
|
12806
12843
|
readStdin$body() {
|
|
12807
12844
|
var $async$goto = 0,
|
|
12808
12845
|
$async$completer = A._makeAsyncAwaitCompleter(type$.String),
|
|
12809
|
-
$async$returnValue,
|
|
12846
|
+
$async$returnValue, t3, completer, sink, t1, t2;
|
|
12810
12847
|
var $async$readStdin = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
|
|
12811
12848
|
if ($async$errorCode === 1)
|
|
12812
12849
|
return A._asyncRethrow($async$result, $async$completer);
|
|
@@ -12815,18 +12852,18 @@ self.util = _cliPkgRequires.util;
|
|
|
12815
12852
|
case 0:
|
|
12816
12853
|
// Function start
|
|
12817
12854
|
t1 = {};
|
|
12818
|
-
|
|
12819
|
-
if (
|
|
12855
|
+
t2 = A.isNodeJs() ? self.process : null;
|
|
12856
|
+
if (t2 == null)
|
|
12820
12857
|
throw A.wrapException(A.UnsupportedError$("readStdin() is only supported on Node.js"));
|
|
12821
|
-
|
|
12822
|
-
completer = new A._AsyncCompleter(
|
|
12858
|
+
t3 = new A._Future($.Zone__current, type$._Future_String);
|
|
12859
|
+
completer = new A._AsyncCompleter(t3, type$._AsyncCompleter_String);
|
|
12823
12860
|
t1.contents = null;
|
|
12824
12861
|
sink = new A._StringCallbackSink(new A.readStdin_closure(t1, completer), new A.StringBuffer("")).asUtf8Sink$1(false);
|
|
12825
|
-
t1 = J.getInterceptor$x(
|
|
12826
|
-
J.on$2$x(t1.get$stdin(
|
|
12827
|
-
J.on$2$x(t1.get$stdin(
|
|
12828
|
-
J.on$2$x(t1.get$stdin(
|
|
12829
|
-
$async$returnValue =
|
|
12862
|
+
t1 = J.getInterceptor$x(t2);
|
|
12863
|
+
J.on$2$x(t1.get$stdin(t2), "data", A.allowInterop(new A.readStdin_closure0(sink)));
|
|
12864
|
+
J.on$2$x(t1.get$stdin(t2), "end", A.allowInterop(new A.readStdin_closure1(sink)));
|
|
12865
|
+
J.on$2$x(t1.get$stdin(t2), "error", A.allowInterop(new A.readStdin_closure2(completer)));
|
|
12866
|
+
$async$returnValue = t3;
|
|
12830
12867
|
// goto return
|
|
12831
12868
|
$async$goto = 1;
|
|
12832
12869
|
break;
|
|
@@ -12838,32 +12875,32 @@ self.util = _cliPkgRequires.util;
|
|
|
12838
12875
|
return A._asyncStartSync($async$readStdin, $async$completer);
|
|
12839
12876
|
},
|
|
12840
12877
|
fileExists(path) {
|
|
12841
|
-
if (
|
|
12878
|
+
if (!A.isNodeJs())
|
|
12842
12879
|
throw A.wrapException(A.UnsupportedError$(string$.fileEx));
|
|
12843
12880
|
return A._systemErrorToFileSystemException(new A.fileExists_closure(path));
|
|
12844
12881
|
},
|
|
12845
12882
|
dirExists(path) {
|
|
12846
|
-
if (
|
|
12883
|
+
if (!A.isNodeJs())
|
|
12847
12884
|
throw A.wrapException(A.UnsupportedError$("dirExists() is only supported on Node.js"));
|
|
12848
12885
|
return A._systemErrorToFileSystemException(new A.dirExists_closure(path));
|
|
12849
12886
|
},
|
|
12850
12887
|
ensureDir(path) {
|
|
12851
|
-
if (
|
|
12888
|
+
if (!A.isNodeJs())
|
|
12852
12889
|
throw A.wrapException(A.UnsupportedError$("ensureDir() is only supported on Node.js"));
|
|
12853
12890
|
return A._systemErrorToFileSystemException(new A.ensureDir_closure(path));
|
|
12854
12891
|
},
|
|
12855
12892
|
listDir(path, recursive) {
|
|
12856
|
-
if (
|
|
12893
|
+
if (!A.isNodeJs())
|
|
12857
12894
|
throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
|
|
12858
12895
|
return A._systemErrorToFileSystemException(new A.listDir_closure(recursive, path));
|
|
12859
12896
|
},
|
|
12860
12897
|
modificationTime(path) {
|
|
12861
|
-
if (
|
|
12898
|
+
if (!A.isNodeJs())
|
|
12862
12899
|
throw A.wrapException(A.UnsupportedError$("modificationTime() is only supported on Node.js"));
|
|
12863
12900
|
return A._systemErrorToFileSystemException(new A.modificationTime_closure(path));
|
|
12864
12901
|
},
|
|
12865
12902
|
getEnvironmentVariable($name) {
|
|
12866
|
-
var t1 = self.process,
|
|
12903
|
+
var t1 = A.isNodeJs() ? self.process : null,
|
|
12867
12904
|
env = t1 == null ? null : J.get$env$x(t1);
|
|
12868
12905
|
if (env == null)
|
|
12869
12906
|
t1 = null;
|
|
@@ -12886,16 +12923,16 @@ self.util = _cliPkgRequires.util;
|
|
|
12886
12923
|
}
|
|
12887
12924
|
},
|
|
12888
12925
|
hasTerminal() {
|
|
12889
|
-
var t1 = self.process;
|
|
12926
|
+
var t1 = A.isNodeJs() ? self.process : null;
|
|
12890
12927
|
return J.$eq$(t1 == null ? null : J.get$isTTY$x(J.get$stdout$x(t1)), true);
|
|
12891
12928
|
},
|
|
12892
12929
|
isWindows() {
|
|
12893
|
-
var t1 = self.process;
|
|
12930
|
+
var t1 = A.isNodeJs() ? self.process : null;
|
|
12894
12931
|
return J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32");
|
|
12895
12932
|
},
|
|
12896
12933
|
watchDir(path, poll) {
|
|
12897
12934
|
var watcher, t2, t3, t1 = {};
|
|
12898
|
-
if (
|
|
12935
|
+
if (!A.isNodeJs())
|
|
12899
12936
|
throw A.wrapException(A.UnsupportedError$("watchDir() is only supported on Node.js"));
|
|
12900
12937
|
watcher = J.watch$2$x(self.chokidar, path, {disableGlobbing: true, usePolling: poll});
|
|
12901
12938
|
t1.controller = null;
|
|
@@ -18005,9 +18042,9 @@ self.util = _cliPkgRequires.util;
|
|
|
18005
18042
|
if (importCache == null)
|
|
18006
18043
|
importCache = A.AsyncImportCache$none(logger);
|
|
18007
18044
|
t2 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
|
|
18008
|
-
t3 = self.process;
|
|
18045
|
+
t3 = A.isNodeJs() ? self.process : null;
|
|
18009
18046
|
if (!J.$eq$(t3 == null ? null : J.get$platform$x(t3), "win32")) {
|
|
18010
|
-
t3 = self.process;
|
|
18047
|
+
t3 = A.isNodeJs() ? self.process : null;
|
|
18011
18048
|
t3 = J.$eq$(t3 == null ? null : J.get$platform$x(t3), "darwin");
|
|
18012
18049
|
} else
|
|
18013
18050
|
t3 = true;
|
|
@@ -18072,10 +18109,9 @@ self.util = _cliPkgRequires.util;
|
|
|
18072
18109
|
t1 = type$.Deprecation_2;
|
|
18073
18110
|
logger = new A.DeprecationHandlingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashSet_LinkedHashSet$_empty(t1), !verbose);
|
|
18074
18111
|
stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_scss0 : syntax, logger, url);
|
|
18075
|
-
if (importer == null)
|
|
18076
|
-
t1 =
|
|
18077
|
-
|
|
18078
|
-
} else
|
|
18112
|
+
if (importer == null)
|
|
18113
|
+
t1 = A.isBrowser() ? new A.NoOpImporter0() : new A.FilesystemImporter0(A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null));
|
|
18114
|
+
else
|
|
18079
18115
|
t1 = importer;
|
|
18080
18116
|
$async$goto = 3;
|
|
18081
18117
|
return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, t1, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileStringAsync0);
|
|
@@ -18975,10 +19011,9 @@ self.util = _cliPkgRequires.util;
|
|
|
18975
19011
|
return new A.AsyncImportCache0(B.List_empty25, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_4_Uri_and_AsyncImporter_baseImporter_and_nullable_Uri_baseUrl_and_bool_forImport_2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult_2));
|
|
18976
19012
|
},
|
|
18977
19013
|
AsyncImportCache__toImporters0(importers, loadPaths, packageConfig) {
|
|
18978
|
-
var t2, t3, t4, _i, path, _null = null,
|
|
18979
|
-
sassPath = A.getEnvironmentVariable0("SASS_PATH")
|
|
18980
|
-
|
|
18981
|
-
if (t1 == null) {
|
|
19014
|
+
var t1, t2, t3, t4, _i, path, _null = null,
|
|
19015
|
+
sassPath = A.getEnvironmentVariable0("SASS_PATH");
|
|
19016
|
+
if (A.isBrowser()) {
|
|
18982
19017
|
t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
|
|
18983
19018
|
if (importers != null)
|
|
18984
19019
|
B.JSArray_methods.addAll$1(t1, importers);
|
|
@@ -18993,7 +19028,7 @@ self.util = _cliPkgRequires.util;
|
|
|
18993
19028
|
t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
|
|
18994
19029
|
}
|
|
18995
19030
|
if (sassPath != null) {
|
|
18996
|
-
t2 = self.process;
|
|
19031
|
+
t2 = A.isNodeJs() ? self.process : _null;
|
|
18997
19032
|
t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
|
|
18998
19033
|
t4 = t3.length;
|
|
18999
19034
|
_i = 0;
|
|
@@ -20822,7 +20857,7 @@ self.util = _cliPkgRequires.util;
|
|
|
20822
20857
|
},
|
|
20823
20858
|
compile0(path, options) {
|
|
20824
20859
|
var color, ascii, result, error, stackTrace, t1, color0, ascii0, t2, t3, t4, t5, t6, t7, t8, t9, t10, exception, _null = null;
|
|
20825
|
-
if (
|
|
20860
|
+
if (!A.isNodeJs())
|
|
20826
20861
|
A.jsThrow(new self.Error("The compile() method is only available in Node.js."));
|
|
20827
20862
|
t1 = options == null;
|
|
20828
20863
|
color0 = t1 ? _null : J.get$alertColor$x(options);
|
|
@@ -20929,7 +20964,7 @@ self.util = _cliPkgRequires.util;
|
|
|
20929
20964
|
},
|
|
20930
20965
|
compileAsync1(path, options) {
|
|
20931
20966
|
var t1, color, ascii;
|
|
20932
|
-
if (
|
|
20967
|
+
if (!A.isNodeJs())
|
|
20933
20968
|
A.jsThrow(new self.Error("The compileAsync() method is only available in Node.js."));
|
|
20934
20969
|
t1 = options == null;
|
|
20935
20970
|
color = t1 ? null : J.get$alertColor$x(options);
|
|
@@ -21261,9 +21296,9 @@ self.util = _cliPkgRequires.util;
|
|
|
21261
21296
|
if (importCache == null)
|
|
21262
21297
|
importCache = A.ImportCache$none(logger);
|
|
21263
21298
|
t2 = A.absolute(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
|
|
21264
|
-
t3 = self.process;
|
|
21299
|
+
t3 = A.isNodeJs() ? self.process : _null;
|
|
21265
21300
|
if (!J.$eq$(t3 == null ? _null : J.get$platform$x(t3), "win32")) {
|
|
21266
|
-
t3 = self.process;
|
|
21301
|
+
t3 = A.isNodeJs() ? self.process : _null;
|
|
21267
21302
|
t3 = J.$eq$(t3 == null ? _null : J.get$platform$x(t3), "darwin");
|
|
21268
21303
|
} else
|
|
21269
21304
|
t3 = true;
|
|
@@ -21297,10 +21332,9 @@ self.util = _cliPkgRequires.util;
|
|
|
21297
21332
|
t1 = type$.Deprecation_2;
|
|
21298
21333
|
logger = new A.DeprecationHandlingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashSet_LinkedHashSet$_empty(t1), !verbose);
|
|
21299
21334
|
stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_scss0 : syntax, logger, url);
|
|
21300
|
-
if (importer == null)
|
|
21301
|
-
t1 =
|
|
21302
|
-
|
|
21303
|
-
} else
|
|
21335
|
+
if (importer == null)
|
|
21336
|
+
t1 = A.isBrowser() ? new A.NoOpImporter0() : new A.FilesystemImporter0(A.absolute(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
|
|
21337
|
+
else
|
|
21304
21338
|
t1 = importer;
|
|
21305
21339
|
result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, t1, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
|
|
21306
21340
|
logger.summarize$1$js(nodeImporter != null);
|
|
@@ -24006,7 +24040,7 @@ self.util = _cliPkgRequires.util;
|
|
|
24006
24040
|
$async$goto = 1;
|
|
24007
24041
|
break;
|
|
24008
24042
|
}
|
|
24009
|
-
t1 = self.process;
|
|
24043
|
+
t1 = A.isNodeJs() ? self.process : null;
|
|
24010
24044
|
$async$goto = 4;
|
|
24011
24045
|
return $async$iterator._yieldStar$1(A._setArrayType(sassPath.split(J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32") ? ";" : ":"), type$.JSArray_String));
|
|
24012
24046
|
case 4:
|
|
@@ -24068,10 +24102,9 @@ self.util = _cliPkgRequires.util;
|
|
|
24068
24102
|
return new A.ImportCache0(B.List_empty23, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_4_Uri_and_Importer_baseImporter_and_nullable_Uri_baseUrl_and_bool_forImport_2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult_2));
|
|
24069
24103
|
},
|
|
24070
24104
|
ImportCache__toImporters0(importers, loadPaths, packageConfig) {
|
|
24071
|
-
var t2, t3, t4, _i, path, _null = null,
|
|
24072
|
-
sassPath = A.getEnvironmentVariable0("SASS_PATH")
|
|
24073
|
-
|
|
24074
|
-
if (t1 == null) {
|
|
24105
|
+
var t1, t2, t3, t4, _i, path, _null = null,
|
|
24106
|
+
sassPath = A.getEnvironmentVariable0("SASS_PATH");
|
|
24107
|
+
if (A.isBrowser()) {
|
|
24075
24108
|
t1 = A._setArrayType([], type$.JSArray_Importer);
|
|
24076
24109
|
if (importers != null)
|
|
24077
24110
|
B.JSArray_methods.addAll$1(t1, importers);
|
|
@@ -24086,7 +24119,7 @@ self.util = _cliPkgRequires.util;
|
|
|
24086
24119
|
t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
|
|
24087
24120
|
}
|
|
24088
24121
|
if (sassPath != null) {
|
|
24089
|
-
t2 = self.process;
|
|
24122
|
+
t2 = A.isNodeJs() ? self.process : _null;
|
|
24090
24123
|
t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
|
|
24091
24124
|
t4 = t3.length;
|
|
24092
24125
|
_i = 0;
|
|
@@ -24230,17 +24263,17 @@ self.util = _cliPkgRequires.util;
|
|
|
24230
24263
|
this._0_0 = t0;
|
|
24231
24264
|
},
|
|
24232
24265
|
_realCasePath0(path) {
|
|
24233
|
-
var prefix,
|
|
24234
|
-
t1 = self.process;
|
|
24235
|
-
if (!J.$eq$(t1 == null ?
|
|
24236
|
-
t1 = self.process;
|
|
24237
|
-
t1 = J.$eq$(t1 == null ?
|
|
24266
|
+
var prefix, _null = null,
|
|
24267
|
+
t1 = A.isNodeJs() ? self.process : _null;
|
|
24268
|
+
if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
|
|
24269
|
+
t1 = A.isNodeJs() ? self.process : _null;
|
|
24270
|
+
t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
|
|
24238
24271
|
} else
|
|
24239
24272
|
t1 = true;
|
|
24240
24273
|
if (!t1)
|
|
24241
24274
|
return path;
|
|
24242
|
-
t1 = self.process;
|
|
24243
|
-
if (J.$eq$(t1 == null ?
|
|
24275
|
+
t1 = A.isNodeJs() ? self.process : _null;
|
|
24276
|
+
if (J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
|
|
24244
24277
|
prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
|
|
24245
24278
|
t1 = prefix.length;
|
|
24246
24279
|
if (t1 !== 0 && A.CharacterExtension_get_isAlphabetic0(prefix.charCodeAt(0)))
|
|
@@ -24259,12 +24292,11 @@ self.util = _cliPkgRequires.util;
|
|
|
24259
24292
|
this.basename = t0;
|
|
24260
24293
|
},
|
|
24261
24294
|
printError0(message) {
|
|
24262
|
-
var
|
|
24263
|
-
|
|
24264
|
-
if (
|
|
24265
|
-
process = _0_0;
|
|
24295
|
+
var t1,
|
|
24296
|
+
process = A.isNodeJs() ? self.process : null;
|
|
24297
|
+
if (process != null)
|
|
24266
24298
|
t1 = true;
|
|
24267
|
-
|
|
24299
|
+
else {
|
|
24268
24300
|
process = null;
|
|
24269
24301
|
t1 = false;
|
|
24270
24302
|
}
|
|
@@ -24278,7 +24310,7 @@ self.util = _cliPkgRequires.util;
|
|
|
24278
24310
|
},
|
|
24279
24311
|
readFile0(path) {
|
|
24280
24312
|
var contents, sourceFile, t1, i;
|
|
24281
|
-
if (
|
|
24313
|
+
if (!A.isNodeJs())
|
|
24282
24314
|
throw A.wrapException(A.UnsupportedError$("readFile() is only supported on Node.js"));
|
|
24283
24315
|
contents = A._asString(A._readFile0(path, "utf8"));
|
|
24284
24316
|
if (!B.JSString_methods.contains$1(contents, "\ufffd"))
|
|
@@ -24295,22 +24327,22 @@ self.util = _cliPkgRequires.util;
|
|
|
24295
24327
|
return A._systemErrorToFileSystemException0(new A._readFile_closure0(path, encoding));
|
|
24296
24328
|
},
|
|
24297
24329
|
fileExists0(path) {
|
|
24298
|
-
if (
|
|
24330
|
+
if (!A.isNodeJs())
|
|
24299
24331
|
throw A.wrapException(A.UnsupportedError$(string$.fileEx));
|
|
24300
24332
|
return A._systemErrorToFileSystemException0(new A.fileExists_closure0(path));
|
|
24301
24333
|
},
|
|
24302
24334
|
dirExists0(path) {
|
|
24303
|
-
if (
|
|
24335
|
+
if (!A.isNodeJs())
|
|
24304
24336
|
throw A.wrapException(A.UnsupportedError$("dirExists() is only supported on Node.js"));
|
|
24305
24337
|
return A._systemErrorToFileSystemException0(new A.dirExists_closure0(path));
|
|
24306
24338
|
},
|
|
24307
24339
|
listDir0(path) {
|
|
24308
|
-
if (
|
|
24340
|
+
if (!A.isNodeJs())
|
|
24309
24341
|
throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
|
|
24310
24342
|
return A._systemErrorToFileSystemException0(new A.listDir_closure0(false, path));
|
|
24311
24343
|
},
|
|
24312
24344
|
getEnvironmentVariable0($name) {
|
|
24313
|
-
var t1 = self.process,
|
|
24345
|
+
var t1 = A.isNodeJs() ? self.process : null,
|
|
24314
24346
|
env = t1 == null ? null : J.get$env$x(t1);
|
|
24315
24347
|
if (env == null)
|
|
24316
24348
|
t1 = null;
|
|
@@ -24333,7 +24365,7 @@ self.util = _cliPkgRequires.util;
|
|
|
24333
24365
|
}
|
|
24334
24366
|
},
|
|
24335
24367
|
hasTerminal0() {
|
|
24336
|
-
var t1 = self.process;
|
|
24368
|
+
var t1 = A.isNodeJs() ? self.process : null;
|
|
24337
24369
|
return J.$eq$(t1 == null ? null : J.get$isTTY$x(J.get$stdout$x(t1)), true);
|
|
24338
24370
|
},
|
|
24339
24371
|
FileSystemException0: function FileSystemException0(t0, t1) {
|
|
@@ -24388,7 +24420,7 @@ self.util = _cliPkgRequires.util;
|
|
|
24388
24420
|
J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
|
|
24389
24421
|
J.set$Exception$x(self.exports, $.$get$exceptionClass());
|
|
24390
24422
|
J.set$Logger$x(self.exports, {silent: {warn: A.allowInteropNamed("sass.Logger.silent.warn", new A.main_closure()), debug: A.allowInteropNamed("sass.Logger.silent.debug", new A.main_closure0())}});
|
|
24391
|
-
J.set$info$x(self.exports, "dart-sass\t1.69.
|
|
24423
|
+
J.set$info$x(self.exports, "dart-sass\t1.69.2\t(Sass Compiler)\t[Dart]\ndart2js\t3.1.3\t(Dart Compiler)\t[Dart]");
|
|
24392
24424
|
A.updateSourceSpanPrototype();
|
|
24393
24425
|
J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
|
|
24394
24426
|
J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
|
|
@@ -24450,7 +24482,7 @@ self.util = _cliPkgRequires.util;
|
|
|
24450
24482
|
},
|
|
24451
24483
|
render(options, callback) {
|
|
24452
24484
|
var _0_0, fiber, t1;
|
|
24453
|
-
if (
|
|
24485
|
+
if (!A.isNodeJs())
|
|
24454
24486
|
A.jsThrow(new self.Error("The render() method is only available in Node.js."));
|
|
24455
24487
|
_0_0 = J.get$fiber$x(options);
|
|
24456
24488
|
if (_0_0 != null) {
|
|
@@ -24576,7 +24608,7 @@ self.util = _cliPkgRequires.util;
|
|
|
24576
24608
|
},
|
|
24577
24609
|
renderSync(options) {
|
|
24578
24610
|
var start, result, file, data, _0_0, error, stackTrace, error0, stackTrace0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, exception, _null = null;
|
|
24579
|
-
if (
|
|
24611
|
+
if (!A.isNodeJs())
|
|
24580
24612
|
A.jsThrow(new self.Error("The renderSync() method is only available in Node.js."));
|
|
24581
24613
|
try {
|
|
24582
24614
|
start = new A.DateTime(Date.now(), false);
|
|
@@ -24756,7 +24788,7 @@ self.util = _cliPkgRequires.util;
|
|
|
24756
24788
|
t3 = t1.get$data(options);
|
|
24757
24789
|
t4 = A._setArrayType([A.current()], type$.JSArray_String);
|
|
24758
24790
|
B.JSArray_methods.addAll$1(t4, includePaths);
|
|
24759
|
-
t5 = self.process;
|
|
24791
|
+
t5 = A.isNodeJs() ? self.process : null;
|
|
24760
24792
|
t4 = B.JSArray_methods.join$1(t4, J.$eq$(t5 == null ? null : J.get$platform$x(t5), "win32") ? ";" : ":");
|
|
24761
24793
|
t5 = J.$eq$(t1.get$indentType(options), "tab") ? 1 : 0;
|
|
24762
24794
|
t6 = A._parseIndentWidth(t1.get$indentWidth(options));
|
|
@@ -28252,7 +28284,7 @@ self.util = _cliPkgRequires.util;
|
|
|
28252
28284
|
case 0:
|
|
28253
28285
|
// Function start
|
|
28254
28286
|
A.printError("sass --embedded is unavailable in pure JS mode.");
|
|
28255
|
-
t1 = self.process;
|
|
28287
|
+
t1 = A.isNodeJs() ? self.process : null;
|
|
28256
28288
|
if (t1 != null)
|
|
28257
28289
|
J.set$exitCode$x(t1, 1);
|
|
28258
28290
|
// implicit return
|
|
@@ -29059,7 +29091,7 @@ self.util = _cliPkgRequires.util;
|
|
|
29059
29091
|
case 9:
|
|
29060
29092
|
// returning from await.
|
|
29061
29093
|
$async$temp1.print($async$result);
|
|
29062
|
-
t1 = self.process;
|
|
29094
|
+
t1 = A.isNodeJs() ? self.process : null;
|
|
29063
29095
|
if (t1 != null)
|
|
29064
29096
|
J.set$exitCode$x(t1, 0);
|
|
29065
29097
|
// goto return
|
|
@@ -29122,7 +29154,7 @@ self.util = _cliPkgRequires.util;
|
|
|
29122
29154
|
A.print("Usage: sass <input.scss> [output.css]\n sass <input.scss>:<output.css> <input/>:<output/> <dir/>\n");
|
|
29123
29155
|
t1 = $.$get$ExecutableOptions__parser();
|
|
29124
29156
|
A.print(new A._Usage(t1._optionsAndSeparators, new A.StringBuffer(""), t1.usageLineLength).generate$0());
|
|
29125
|
-
t1 = self.process;
|
|
29157
|
+
t1 = A.isNodeJs() ? self.process : null;
|
|
29126
29158
|
if (t1 != null)
|
|
29127
29159
|
J.set$exitCode$x(t1, 64);
|
|
29128
29160
|
} else {
|
|
@@ -29145,7 +29177,7 @@ self.util = _cliPkgRequires.util;
|
|
|
29145
29177
|
t1 = A.getTrace(error0);
|
|
29146
29178
|
buffer._contents += B.JSString_methods.trimRight$0(A.Trace_Trace$from(t1 == null ? stackTrace : t1).get$terse().toString$0(0));
|
|
29147
29179
|
A.printError(buffer);
|
|
29148
|
-
t1 = self.process;
|
|
29180
|
+
t1 = A.isNodeJs() ? self.process : null;
|
|
29149
29181
|
if (t1 != null)
|
|
29150
29182
|
J.set$exitCode$x(t1, 255);
|
|
29151
29183
|
}
|
|
@@ -29180,7 +29212,7 @@ self.util = _cliPkgRequires.util;
|
|
|
29180
29212
|
switch ($async$goto) {
|
|
29181
29213
|
case 0:
|
|
29182
29214
|
// Function start
|
|
29183
|
-
$async$returnValue = "1.69.
|
|
29215
|
+
$async$returnValue = "1.69.2 compiled with dart2js 3.1.3";
|
|
29184
29216
|
// goto return
|
|
29185
29217
|
$async$goto = 1;
|
|
29186
29218
|
break;
|
|
@@ -29774,6 +29806,9 @@ self.util = _cliPkgRequires.util;
|
|
|
29774
29806
|
get$red$x(receiver) {
|
|
29775
29807
|
return J.getInterceptor$x(receiver).get$red(receiver);
|
|
29776
29808
|
},
|
|
29809
|
+
get$release$x(receiver) {
|
|
29810
|
+
return J.getInterceptor$x(receiver).get$release(receiver);
|
|
29811
|
+
},
|
|
29777
29812
|
get$reversed$ax(receiver) {
|
|
29778
29813
|
return J.getInterceptor$ax(receiver).get$reversed(receiver);
|
|
29779
29814
|
},
|
|
@@ -30308,6 +30343,9 @@ self.util = _cliPkgRequires.util;
|
|
|
30308
30343
|
get$platform(obj) {
|
|
30309
30344
|
return obj.platform;
|
|
30310
30345
|
},
|
|
30346
|
+
get$release(obj) {
|
|
30347
|
+
return obj.release;
|
|
30348
|
+
},
|
|
30311
30349
|
get$stderr(obj) {
|
|
30312
30350
|
return obj.stderr;
|
|
30313
30351
|
},
|
|
@@ -45749,7 +45787,7 @@ self.util = _cliPkgRequires.util;
|
|
|
45749
45787
|
canonicalize$body$AsyncImportCache(_, url, baseImporter, baseUrl, forImport) {
|
|
45750
45788
|
var $async$goto = 0,
|
|
45751
45789
|
$async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
|
|
45752
|
-
$async$returnValue, $async$self = this,
|
|
45790
|
+
$async$returnValue, $async$self = this, t1, relativeResult;
|
|
45753
45791
|
var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
|
|
45754
45792
|
if ($async$errorCode === 1)
|
|
45755
45793
|
return A._asyncRethrow($async$result, $async$completer);
|
|
@@ -45757,8 +45795,7 @@ self.util = _cliPkgRequires.util;
|
|
|
45757
45795
|
switch ($async$goto) {
|
|
45758
45796
|
case 0:
|
|
45759
45797
|
// Function start
|
|
45760
|
-
|
|
45761
|
-
if (t1 == null)
|
|
45798
|
+
if (A.isBrowser())
|
|
45762
45799
|
t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter) && $async$self._async_import_cache$_importers.length === 0;
|
|
45763
45800
|
else
|
|
45764
45801
|
t1 = false;
|
|
@@ -47743,7 +47780,7 @@ self.util = _cliPkgRequires.util;
|
|
|
47743
47780
|
}
|
|
47744
47781
|
try {
|
|
47745
47782
|
argVersion = A.Version_Version$parse(id);
|
|
47746
|
-
sassVersion = A.Version_Version$parse("1.69.
|
|
47783
|
+
sassVersion = A.Version_Version$parse("1.69.2");
|
|
47747
47784
|
if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
|
|
47748
47785
|
A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
|
|
47749
47786
|
J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
|
|
@@ -47947,9 +47984,9 @@ self.util = _cliPkgRequires.util;
|
|
|
47947
47984
|
switch ($async$goto) {
|
|
47948
47985
|
case 0:
|
|
47949
47986
|
// Function start
|
|
47950
|
-
t1 = self.process;
|
|
47987
|
+
t1 = A.isNodeJs() ? self.process : null;
|
|
47951
47988
|
if (!J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32")) {
|
|
47952
|
-
t1 = self.process;
|
|
47989
|
+
t1 = A.isNodeJs() ? self.process : null;
|
|
47953
47990
|
t1 = J.$eq$(t1 == null ? null : J.get$platform$x(t1), "darwin");
|
|
47954
47991
|
} else
|
|
47955
47992
|
t1 = true;
|
|
@@ -48041,9 +48078,9 @@ self.util = _cliPkgRequires.util;
|
|
|
48041
48078
|
case 4:
|
|
48042
48079
|
// join
|
|
48043
48080
|
t1 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
|
|
48044
|
-
t2 = self.process;
|
|
48081
|
+
t2 = A.isNodeJs() ? self.process : null;
|
|
48045
48082
|
if (!J.$eq$(t2 == null ? null : J.get$platform$x(t2), "win32")) {
|
|
48046
|
-
t2 = self.process;
|
|
48083
|
+
t2 = A.isNodeJs() ? self.process : null;
|
|
48047
48084
|
t2 = J.$eq$(t2 == null ? null : J.get$platform$x(t2), "darwin");
|
|
48048
48085
|
} else
|
|
48049
48086
|
t2 = true;
|
|
@@ -48089,9 +48126,9 @@ self.util = _cliPkgRequires.util;
|
|
|
48089
48126
|
switch ($async$goto) {
|
|
48090
48127
|
case 0:
|
|
48091
48128
|
// Function start
|
|
48092
|
-
t1 = self.process;
|
|
48129
|
+
t1 = A.isNodeJs() ? self.process : null;
|
|
48093
48130
|
if (!J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32")) {
|
|
48094
|
-
t1 = self.process;
|
|
48131
|
+
t1 = A.isNodeJs() ? self.process : null;
|
|
48095
48132
|
t1 = J.$eq$(t1 == null ? null : J.get$platform$x(t1), "darwin");
|
|
48096
48133
|
} else
|
|
48097
48134
|
t1 = true;
|
|
@@ -51665,9 +51702,8 @@ self.util = _cliPkgRequires.util;
|
|
|
51665
51702
|
};
|
|
51666
51703
|
A.ImportCache.prototype = {
|
|
51667
51704
|
canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
|
|
51668
|
-
var relativeResult, _this = this
|
|
51669
|
-
|
|
51670
|
-
if (t1 == null)
|
|
51705
|
+
var t1, relativeResult, _this = this;
|
|
51706
|
+
if (A.isBrowser())
|
|
51671
51707
|
t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter) && _this._importers.length === 0;
|
|
51672
51708
|
else
|
|
51673
51709
|
t1 = false;
|
|
@@ -51883,9 +51919,9 @@ self.util = _cliPkgRequires.util;
|
|
|
51883
51919
|
A.FilesystemImporter_canonicalize_closure.prototype = {
|
|
51884
51920
|
call$1(resolved) {
|
|
51885
51921
|
var t2, t0, _null = null,
|
|
51886
|
-
t1 = self.process;
|
|
51922
|
+
t1 = A.isNodeJs() ? self.process : _null;
|
|
51887
51923
|
if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
|
|
51888
|
-
t1 = self.process;
|
|
51924
|
+
t1 = A.isNodeJs() ? self.process : _null;
|
|
51889
51925
|
t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
|
|
51890
51926
|
} else
|
|
51891
51927
|
t1 = true;
|
|
@@ -89237,7 +89273,7 @@ self.util = _cliPkgRequires.util;
|
|
|
89237
89273
|
canonicalize$body$AsyncImportCache0(_, url, baseImporter, baseUrl, forImport) {
|
|
89238
89274
|
var $async$goto = 0,
|
|
89239
89275
|
$async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
|
|
89240
|
-
$async$returnValue, $async$self = this,
|
|
89276
|
+
$async$returnValue, $async$self = this, t1, relativeResult;
|
|
89241
89277
|
var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
|
|
89242
89278
|
if ($async$errorCode === 1)
|
|
89243
89279
|
return A._asyncRethrow($async$result, $async$completer);
|
|
@@ -89245,8 +89281,7 @@ self.util = _cliPkgRequires.util;
|
|
|
89245
89281
|
switch ($async$goto) {
|
|
89246
89282
|
case 0:
|
|
89247
89283
|
// Function start
|
|
89248
|
-
|
|
89249
|
-
if (t1 == null)
|
|
89284
|
+
if (A.isBrowser())
|
|
89250
89285
|
t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter0) && $async$self._async_import_cache0$_importers.length === 0;
|
|
89251
89286
|
else
|
|
89252
89287
|
t1 = false;
|
|
@@ -99238,9 +99273,9 @@ self.util = _cliPkgRequires.util;
|
|
|
99238
99273
|
A.FilesystemImporter_canonicalize_closure0.prototype = {
|
|
99239
99274
|
call$1(resolved) {
|
|
99240
99275
|
var t2, t0, _null = null,
|
|
99241
|
-
t1 = self.process;
|
|
99276
|
+
t1 = A.isNodeJs() ? self.process : _null;
|
|
99242
99277
|
if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
|
|
99243
|
-
t1 = self.process;
|
|
99278
|
+
t1 = A.isNodeJs() ? self.process : _null;
|
|
99244
99279
|
t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
|
|
99245
99280
|
} else
|
|
99246
99281
|
t1 = true;
|
|
@@ -100366,9 +100401,8 @@ self.util = _cliPkgRequires.util;
|
|
|
100366
100401
|
};
|
|
100367
100402
|
A.ImportCache0.prototype = {
|
|
100368
100403
|
canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
|
|
100369
|
-
var relativeResult, _this = this
|
|
100370
|
-
|
|
100371
|
-
if (t1 == null)
|
|
100404
|
+
var t1, relativeResult, _this = this;
|
|
100405
|
+
if (A.isBrowser())
|
|
100372
100406
|
t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter0) && _this._import_cache$_importers.length === 0;
|
|
100373
100407
|
else
|
|
100374
100408
|
t1 = false;
|