sass 1.32.7 → 1.32.8
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 +63 -51
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":">=2.0.0 <4.0.0"},"keywords":["style","scss","sass","preprocessor","css"],"version":"1.32.
|
|
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":">=2.0.0 <4.0.0"},"keywords":["style","scss","sass","preprocessor","css"],"version":"1.32.8","bin":{"sass":"sass.js"},"main":"sass.dart.js"}
|
package/sass.dart.js
CHANGED
|
@@ -13244,7 +13244,7 @@ self.fs = require("fs");
|
|
|
13244
13244
|
// then
|
|
13245
13245
|
t2 = t1.get$data(options);
|
|
13246
13246
|
t3 = B._parseImporter(options, start);
|
|
13247
|
-
t4 = B._parseFunctions(options, true);
|
|
13247
|
+
t4 = B._parseFunctions(options, start, true);
|
|
13248
13248
|
t5 = t1.get$indentedSyntax(options);
|
|
13249
13249
|
t5 = !J.$eq$(t5, false) && t5 != null ? C.Syntax_Sass0 : null;
|
|
13250
13250
|
t6 = B._parseOutputStyle(t1.get$outputStyle(options));
|
|
@@ -13267,7 +13267,7 @@ self.fs = require("fs");
|
|
|
13267
13267
|
case 7:
|
|
13268
13268
|
// then
|
|
13269
13269
|
t2 = B._parseImporter(options, start);
|
|
13270
|
-
t3 = B._parseFunctions(options, true);
|
|
13270
|
+
t3 = B._parseFunctions(options, start, true);
|
|
13271
13271
|
t4 = t1.get$indentedSyntax(options);
|
|
13272
13272
|
t4 = !J.$eq$(t4, false) && t4 != null ? C.Syntax_Sass0 : null;
|
|
13273
13273
|
t5 = B._parseOutputStyle(t1.get$outputStyle(options));
|
|
@@ -13308,7 +13308,7 @@ self.fs = require("fs");
|
|
|
13308
13308
|
if (t1.get$data(options) != null) {
|
|
13309
13309
|
t2 = t1.get$data(options);
|
|
13310
13310
|
t3 = B._parseImporter(options, start);
|
|
13311
|
-
t4 = B._parseFunctions(options, false);
|
|
13311
|
+
t4 = B._parseFunctions(options, start, false);
|
|
13312
13312
|
t5 = t1.get$indentedSyntax(options);
|
|
13313
13313
|
t5 = !J.$eq$(t5, false) && t5 != null ? C.Syntax_Sass0 : _null;
|
|
13314
13314
|
t6 = B._parseOutputStyle(t1.get$outputStyle(options));
|
|
@@ -13323,7 +13323,7 @@ self.fs = require("fs");
|
|
|
13323
13323
|
} else if (t1.get$file(options) != null) {
|
|
13324
13324
|
t2 = file;
|
|
13325
13325
|
t3 = B._parseImporter(options, start);
|
|
13326
|
-
t4 = B._parseFunctions(options, false);
|
|
13326
|
+
t4 = B._parseFunctions(options, start, false);
|
|
13327
13327
|
t5 = t1.get$indentedSyntax(options);
|
|
13328
13328
|
t5 = !J.$eq$(t5, false) && t5 != null ? C.Syntax_Sass0 : _null;
|
|
13329
13329
|
t6 = B._parseOutputStyle(t1.get$outputStyle(options));
|
|
@@ -13373,17 +13373,17 @@ self.fs = require("fs");
|
|
|
13373
13373
|
}
|
|
13374
13374
|
return B._newRenderError(t1, t3 + 1, t4, t2 + 1, 1);
|
|
13375
13375
|
},
|
|
13376
|
-
_parseFunctions: function(options, asynch) {
|
|
13376
|
+
_parseFunctions: function(options, start, asynch) {
|
|
13377
13377
|
var result,
|
|
13378
13378
|
t1 = J.getInterceptor$x(options);
|
|
13379
13379
|
if (t1.get$functions(options) == null)
|
|
13380
13380
|
return C.List_empty21;
|
|
13381
13381
|
result = H.setRuntimeTypeInfo([], type$.JSArray_legacy_AsyncCallable);
|
|
13382
|
-
B.jsForEach(t1.get$functions(options), new B._parseFunctions_closure(options, result, asynch));
|
|
13382
|
+
B.jsForEach(t1.get$functions(options), new B._parseFunctions_closure(options, start, result, asynch));
|
|
13383
13383
|
return result;
|
|
13384
13384
|
},
|
|
13385
13385
|
_parseImporter: function(options, start) {
|
|
13386
|
-
var importers, t2, t3,
|
|
13386
|
+
var importers, t2, t3, context,
|
|
13387
13387
|
t1 = J.getInterceptor$x(options);
|
|
13388
13388
|
if (t1.get$importer(options) == null)
|
|
13389
13389
|
importers = H.setRuntimeTypeInfo([], type$.JSArray_legacy_JSFunction);
|
|
@@ -13392,37 +13392,43 @@ self.fs = require("fs");
|
|
|
13392
13392
|
t3 = type$.legacy_JSFunction;
|
|
13393
13393
|
importers = t2._is(t1.get$importer(options)) ? J.cast$1$0$ax(t2._as(t1.get$importer(options)), t3) : H.setRuntimeTypeInfo([t3._as(t1.get$importer(options))], type$.JSArray_legacy_JSFunction);
|
|
13394
13394
|
}
|
|
13395
|
-
t2 = t1.get$includePaths(options);
|
|
13396
|
-
if (t2 == null)
|
|
13397
|
-
t2 = [];
|
|
13398
|
-
t3 = type$.legacy_String;
|
|
13399
|
-
includePaths = P.List_List$from(t2, true, t3);
|
|
13400
13395
|
t2 = J.getInterceptor$asx(importers);
|
|
13401
|
-
|
|
13402
|
-
t4 = t1.get$file(options);
|
|
13403
|
-
t5 = t1.get$data(options);
|
|
13404
|
-
t6 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String);
|
|
13405
|
-
t6.push(D.current());
|
|
13406
|
-
for (t7 = includePaths.length, _i = 0; _i < includePaths.length; includePaths.length === t7 || (0, H.throwConcurrentModificationError)(includePaths), ++_i)
|
|
13407
|
-
t6.push(includePaths[_i]);
|
|
13408
|
-
t6 = C.JSArray_methods.join$1(t6, J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
|
|
13409
|
-
t7 = J.$eq$(t1.get$indentType(options), "tab") ? 1 : 0;
|
|
13410
|
-
t8 = B._parseIndentWidth(t1.get$indentWidth(options));
|
|
13411
|
-
if (t8 == null)
|
|
13412
|
-
t8 = 2;
|
|
13413
|
-
t9 = B._parseLineFeed(t1.get$linefeed(options));
|
|
13414
|
-
t10 = t1.get$file(options);
|
|
13415
|
-
if (t10 == null)
|
|
13416
|
-
t10 = "data";
|
|
13417
|
-
context = {options: {file: t4, data: t5, includePaths: t6, precision: 10, style: 1, indentType: t7, indentWidth: t8, linefeed: t9.text, result: {stats: {entry: t10, start: start._value}}}};
|
|
13418
|
-
J.set$context$x(J.get$options$x(context), context);
|
|
13419
|
-
} else
|
|
13420
|
-
context = null;
|
|
13396
|
+
context = t2.get$isNotEmpty(importers) ? B._contextWithOptions(options, start) : null;
|
|
13421
13397
|
if (t1.get$fiber(options) != null) {
|
|
13422
|
-
|
|
13423
|
-
importers = P.List_List$from(
|
|
13398
|
+
t2 = t2.map$1$1(importers, new B._parseImporter_closure(options), type$.legacy_JSFunction);
|
|
13399
|
+
importers = P.List_List$from(t2, true, t2.$ti._eval$1("ListIterable.E"));
|
|
13424
13400
|
}
|
|
13425
|
-
|
|
13401
|
+
t1 = t1.get$includePaths(options);
|
|
13402
|
+
if (t1 == null)
|
|
13403
|
+
t1 = [];
|
|
13404
|
+
t2 = type$.legacy_String;
|
|
13405
|
+
return new F.NodeImporter(context, P.List_List$unmodifiable(F.NodeImporter__addSassPath(P.List_List$from(t1, true, t2)), t2), P.List_List$unmodifiable(J.cast$1$0$ax(importers, type$.dynamic), type$.legacy_JSFunction));
|
|
13406
|
+
},
|
|
13407
|
+
_contextWithOptions: function(options, start) {
|
|
13408
|
+
var includePaths, t3, t4, t5, _i, t6, t7, context,
|
|
13409
|
+
t1 = J.getInterceptor$x(options),
|
|
13410
|
+
t2 = t1.get$includePaths(options);
|
|
13411
|
+
if (t2 == null)
|
|
13412
|
+
t2 = [];
|
|
13413
|
+
includePaths = P.List_List$from(t2, true, type$.legacy_String);
|
|
13414
|
+
t2 = t1.get$file(options);
|
|
13415
|
+
t3 = t1.get$data(options);
|
|
13416
|
+
t4 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String);
|
|
13417
|
+
t4.push(D.current());
|
|
13418
|
+
for (t5 = includePaths.length, _i = 0; _i < includePaths.length; includePaths.length === t5 || (0, H.throwConcurrentModificationError)(includePaths), ++_i)
|
|
13419
|
+
t4.push(includePaths[_i]);
|
|
13420
|
+
t4 = C.JSArray_methods.join$1(t4, J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
|
|
13421
|
+
t5 = J.$eq$(t1.get$indentType(options), "tab") ? 1 : 0;
|
|
13422
|
+
t6 = B._parseIndentWidth(t1.get$indentWidth(options));
|
|
13423
|
+
if (t6 == null)
|
|
13424
|
+
t6 = 2;
|
|
13425
|
+
t7 = B._parseLineFeed(t1.get$linefeed(options));
|
|
13426
|
+
t1 = t1.get$file(options);
|
|
13427
|
+
if (t1 == null)
|
|
13428
|
+
t1 = "data";
|
|
13429
|
+
context = {options: {file: t2, data: t3, includePaths: t4, precision: 10, style: 1, indentType: t5, indentWidth: t6, linefeed: t7.text, result: {stats: {entry: t1, start: start._value}}}};
|
|
13430
|
+
J.set$context$x(J.get$options$x(context), context);
|
|
13431
|
+
return context;
|
|
13426
13432
|
},
|
|
13427
13433
|
_parseOutputStyle: function(style) {
|
|
13428
13434
|
if (style == null || style === "expanded")
|
|
@@ -13549,14 +13555,17 @@ self.fs = require("fs");
|
|
|
13549
13555
|
_render_closure1: function _render_closure1(t0) {
|
|
13550
13556
|
this.callback = t0;
|
|
13551
13557
|
},
|
|
13552
|
-
_parseFunctions_closure: function _parseFunctions_closure(t0, t1, t2) {
|
|
13553
|
-
|
|
13554
|
-
|
|
13555
|
-
|
|
13558
|
+
_parseFunctions_closure: function _parseFunctions_closure(t0, t1, t2, t3) {
|
|
13559
|
+
var _ = this;
|
|
13560
|
+
_.options = t0;
|
|
13561
|
+
_.start = t1;
|
|
13562
|
+
_.result = t2;
|
|
13563
|
+
_.asynch = t3;
|
|
13556
13564
|
},
|
|
13557
|
-
_parseFunctions__closure: function _parseFunctions__closure(t0, t1) {
|
|
13565
|
+
_parseFunctions__closure: function _parseFunctions__closure(t0, t1, t2) {
|
|
13558
13566
|
this.options = t0;
|
|
13559
13567
|
this.callback = t1;
|
|
13568
|
+
this.context = t2;
|
|
13560
13569
|
},
|
|
13561
13570
|
_parseFunctions___closure0: function _parseFunctions___closure0(t0) {
|
|
13562
13571
|
this.fiber = t0;
|
|
@@ -13568,11 +13577,13 @@ self.fs = require("fs");
|
|
|
13568
13577
|
_parseFunctions___closure1: function _parseFunctions___closure1(t0) {
|
|
13569
13578
|
this.options = t0;
|
|
13570
13579
|
},
|
|
13571
|
-
_parseFunctions__closure0: function _parseFunctions__closure0(t0) {
|
|
13580
|
+
_parseFunctions__closure0: function _parseFunctions__closure0(t0, t1) {
|
|
13572
13581
|
this.callback = t0;
|
|
13582
|
+
this.context = t1;
|
|
13573
13583
|
},
|
|
13574
|
-
_parseFunctions__closure1: function _parseFunctions__closure1(t0) {
|
|
13584
|
+
_parseFunctions__closure1: function _parseFunctions__closure1(t0, t1) {
|
|
13575
13585
|
this.callback = t0;
|
|
13586
|
+
this.context = t1;
|
|
13576
13587
|
},
|
|
13577
13588
|
_parseFunctions___closure: function _parseFunctions___closure(t0) {
|
|
13578
13589
|
this.completer = t0;
|
|
@@ -15291,7 +15302,7 @@ self.fs = require("fs");
|
|
|
15291
15302
|
switch ($async$goto) {
|
|
15292
15303
|
case 0:
|
|
15293
15304
|
// Function start
|
|
15294
|
-
$async$returnValue = "1.32.
|
|
15305
|
+
$async$returnValue = "1.32.8 compiled with dart2js 2.10.5";
|
|
15295
15306
|
// goto return
|
|
15296
15307
|
$async$goto = 1;
|
|
15297
15308
|
break;
|
|
@@ -20776,7 +20787,7 @@ self.fs = require("fs");
|
|
|
20776
20787
|
new Uint8Array(0);
|
|
20777
20788
|
J.set$render$x(self.exports, P.allowInterop(B.node___render$closure()));
|
|
20778
20789
|
J.set$renderSync$x(self.exports, P.allowInterop(B.node___renderSync$closure()));
|
|
20779
|
-
J.set$info$x(self.exports, "dart-sass\t1.32.
|
|
20790
|
+
J.set$info$x(self.exports, "dart-sass\t1.32.8\t(Sass Compiler)\t[Dart]\ndart2js\t2.10.5\t(Dart Compiler)\t[Dart]");
|
|
20780
20791
|
J.set$types$x(self.exports, {Boolean: $.$get$booleanConstructor(), Color: $.$get$colorConstructor(), List: $.$get$listConstructor(), Map: $.$get$mapConstructor(), Null: $.$get$nullConstructor(), Number: $.$get$numberConstructor(), String: $.$get$stringConstructor(), Error: self.Error});
|
|
20781
20792
|
J.set$NULL$x(self.exports, C.C_SassNull);
|
|
20782
20793
|
J.set$TRUE$x(self.exports, C.SassBoolean_true);
|
|
@@ -80369,7 +80380,7 @@ self.fs = require("fs");
|
|
|
80369
80380
|
};
|
|
80370
80381
|
B._parseFunctions_closure.prototype = {
|
|
80371
80382
|
call$2: function(signature, callback) {
|
|
80372
|
-
var error, exception, t1, _this = this, tuple = null;
|
|
80383
|
+
var error, exception, t1, context, _this = this, tuple = null;
|
|
80373
80384
|
try {
|
|
80374
80385
|
tuple = L.ScssParser$0(signature, null, null).parseSignature$0();
|
|
80375
80386
|
} catch (exception) {
|
|
@@ -80381,14 +80392,15 @@ self.fs = require("fs");
|
|
|
80381
80392
|
throw exception;
|
|
80382
80393
|
}
|
|
80383
80394
|
t1 = _this.options;
|
|
80395
|
+
context = B._contextWithOptions(t1, _this.start);
|
|
80384
80396
|
if (J.get$fiber$x(t1) != null)
|
|
80385
|
-
_this.result.push(Q.BuiltInCallable$parsed(tuple.item1, tuple.item2, new B._parseFunctions__closure(t1, callback)));
|
|
80397
|
+
_this.result.push(Q.BuiltInCallable$parsed(tuple.item1, tuple.item2, new B._parseFunctions__closure(t1, callback, context)));
|
|
80386
80398
|
else {
|
|
80387
80399
|
t1 = _this.result;
|
|
80388
80400
|
if (!_this.asynch)
|
|
80389
|
-
t1.push(Q.BuiltInCallable$parsed(tuple.item1, tuple.item2, new B._parseFunctions__closure0(callback)));
|
|
80401
|
+
t1.push(Q.BuiltInCallable$parsed(tuple.item1, tuple.item2, new B._parseFunctions__closure0(callback, context)));
|
|
80390
80402
|
else
|
|
80391
|
-
t1.push(new S.AsyncBuiltInCallable0(tuple.item1, tuple.item2, new B._parseFunctions__closure1(callback)));
|
|
80403
|
+
t1.push(new S.AsyncBuiltInCallable0(tuple.item1, tuple.item2, new B._parseFunctions__closure1(callback, context)));
|
|
80392
80404
|
}
|
|
80393
80405
|
},
|
|
80394
80406
|
$signature: 409
|
|
@@ -80402,7 +80414,7 @@ self.fs = require("fs");
|
|
|
80402
80414
|
for (t3 = type$.legacy_Object, t4 = J.map$1$1$ax($arguments, F.value1__wrapValue$closure(), t3), t4 = t4.get$iterator(t4); t4.moveNext$0();)
|
|
80403
80415
|
t2.push(t4.get$current(t4));
|
|
80404
80416
|
t2.push(P.allowInterop(new B._parseFunctions___closure0(fiber)));
|
|
80405
|
-
result =
|
|
80417
|
+
result = J.apply$2$x(type$.legacy_JSFunction._as(this.callback), this.context, t2);
|
|
80406
80418
|
return F.unwrapValue(H._asBoolS($.$get$_isUndefined().call$1(result)) ? P.runZoned(new B._parseFunctions___closure1(t1), null, t3) : result);
|
|
80407
80419
|
},
|
|
80408
80420
|
$signature: 3
|
|
@@ -80439,7 +80451,7 @@ self.fs = require("fs");
|
|
|
80439
80451
|
};
|
|
80440
80452
|
B._parseFunctions__closure0.prototype = {
|
|
80441
80453
|
call$1: function($arguments) {
|
|
80442
|
-
return F.unwrapValue(
|
|
80454
|
+
return F.unwrapValue(J.apply$2$x(type$.legacy_JSFunction._as(this.callback), this.context, J.map$1$1$ax($arguments, F.value1__wrapValue$closure(), type$.legacy_Object).toList$0(0)));
|
|
80443
80455
|
},
|
|
80444
80456
|
$signature: 3
|
|
80445
80457
|
};
|
|
@@ -80463,7 +80475,7 @@ self.fs = require("fs");
|
|
|
80463
80475
|
for (t2 = J.map$1$1$ax($arguments, F.value1__wrapValue$closure(), type$.legacy_Object), t2 = t2.get$iterator(t2); t2.moveNext$0();)
|
|
80464
80476
|
t1.push(t2.get$current(t2));
|
|
80465
80477
|
t1.push(P.allowInterop(new B._parseFunctions___closure(completer)));
|
|
80466
|
-
result =
|
|
80478
|
+
result = J.apply$2$x(type$.legacy_JSFunction._as($async$self.callback), $async$self.context, t1);
|
|
80467
80479
|
$async$temp1 = F;
|
|
80468
80480
|
$async$goto = H._asBoolS($.$get$_isUndefined().call$1(result)) ? 3 : 5;
|
|
80469
80481
|
break;
|