sass 1.52.2 → 1.52.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/sass.dart.js +20 -16
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":">=12.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","version":"1.52.
|
|
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":">=12.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","version":"1.52.3","bin":{"sass":"sass.js"},"main":"sass.default.dart.js","exports":{"default":"./sass.default.dart.js"}}
|
package/sass.dart.js
CHANGED
|
@@ -20857,7 +20857,7 @@ self.readline = _cli_pkg_requires.readline;
|
|
|
20857
20857
|
J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
|
|
20858
20858
|
J.set$Exception$x(self.exports, $.$get$exceptionClass());
|
|
20859
20859
|
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())}});
|
|
20860
|
-
J.set$info$x(self.exports, "dart-sass\t1.52.
|
|
20860
|
+
J.set$info$x(self.exports, "dart-sass\t1.52.3\t(Sass Compiler)\t[Dart]\ndart2js\t2.17.3\t(Dart Compiler)\t[Dart]");
|
|
20861
20861
|
A.updateSourceSpanPrototype();
|
|
20862
20862
|
J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
|
|
20863
20863
|
J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
|
|
@@ -21516,7 +21516,7 @@ self.readline = _cli_pkg_requires.readline;
|
|
|
21516
21516
|
switch ($async$goto) {
|
|
21517
21517
|
case 0:
|
|
21518
21518
|
// Function start
|
|
21519
|
-
$async$returnValue = "1.52.
|
|
21519
|
+
$async$returnValue = "1.52.3 compiled with dart2js 2.17.3";
|
|
21520
21520
|
// goto return
|
|
21521
21521
|
$async$goto = 1;
|
|
21522
21522
|
break;
|
|
@@ -64588,7 +64588,7 @@ self.readline = _cli_pkg_requires.readline;
|
|
|
64588
64588
|
t1.writeCharCode$1(125);
|
|
64589
64589
|
},
|
|
64590
64590
|
_isTrailingComment$2(node, previous) {
|
|
64591
|
-
var t1, t2, t3, t4,
|
|
64591
|
+
var t1, t2, t3, t4, searchFrom, endOffset, t5, span;
|
|
64592
64592
|
if (this._style === B.OutputStyle_compressed)
|
|
64593
64593
|
return false;
|
|
64594
64594
|
if (!type$.CssComment._is(node))
|
|
@@ -64607,14 +64607,16 @@ self.readline = _cli_pkg_requires.readline;
|
|
|
64607
64607
|
t1 = t2._file$_start;
|
|
64608
64608
|
t2 = A.FileLocation$_(t4, t1);
|
|
64609
64609
|
t3 = previous.get$span(previous);
|
|
64610
|
-
|
|
64611
|
-
|
|
64612
|
-
|
|
64613
|
-
t3 = previous.get$span(previous);
|
|
64610
|
+
searchFrom = t2.offset - A.FileLocation$_(t3.file, t3._file$_start).offset - 1;
|
|
64611
|
+
if (searchFrom < 0)
|
|
64612
|
+
return false;
|
|
64614
64613
|
t2 = previous.get$span(previous);
|
|
64615
|
-
|
|
64614
|
+
endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, null), "{", searchFrom));
|
|
64615
|
+
t2 = previous.get$span(previous);
|
|
64616
|
+
t3 = previous.get$span(previous);
|
|
64617
|
+
t3 = A.FileLocation$_(t3.file, t3._file$_start);
|
|
64616
64618
|
t5 = previous.get$span(previous);
|
|
64617
|
-
span =
|
|
64619
|
+
span = t2.file.span$2(0, t3.offset, A.FileLocation$_(t5.file, t5._file$_start).offset + endOffset);
|
|
64618
64620
|
t1 = A.FileLocation$_(t4, t1);
|
|
64619
64621
|
t1 = t1.file.getLine$1(t1.offset);
|
|
64620
64622
|
t4 = A.FileLocation$_(span.file, span._end);
|
|
@@ -91381,7 +91383,7 @@ self.readline = _cli_pkg_requires.readline;
|
|
|
91381
91383
|
t1.writeCharCode$1(125);
|
|
91382
91384
|
},
|
|
91383
91385
|
_serialize0$_isTrailingComment$2(node, previous) {
|
|
91384
|
-
var t1, t2, t3, t4,
|
|
91386
|
+
var t1, t2, t3, t4, searchFrom, endOffset, t5, span;
|
|
91385
91387
|
if (this._serialize0$_style === B.OutputStyle_compressed0)
|
|
91386
91388
|
return false;
|
|
91387
91389
|
if (!type$.CssComment_2._is(node))
|
|
@@ -91400,14 +91402,16 @@ self.readline = _cli_pkg_requires.readline;
|
|
|
91400
91402
|
t1 = t2._file$_start;
|
|
91401
91403
|
t2 = A.FileLocation$_(t4, t1);
|
|
91402
91404
|
t3 = previous.get$span(previous);
|
|
91403
|
-
|
|
91404
|
-
|
|
91405
|
-
|
|
91406
|
-
t3 = previous.get$span(previous);
|
|
91405
|
+
searchFrom = t2.offset - A.FileLocation$_(t3.file, t3._file$_start).offset - 1;
|
|
91406
|
+
if (searchFrom < 0)
|
|
91407
|
+
return false;
|
|
91407
91408
|
t2 = previous.get$span(previous);
|
|
91408
|
-
|
|
91409
|
+
endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, null), "{", searchFrom));
|
|
91410
|
+
t2 = previous.get$span(previous);
|
|
91411
|
+
t3 = previous.get$span(previous);
|
|
91412
|
+
t3 = A.FileLocation$_(t3.file, t3._file$_start);
|
|
91409
91413
|
t5 = previous.get$span(previous);
|
|
91410
|
-
span =
|
|
91414
|
+
span = t2.file.span$2(0, t3.offset, A.FileLocation$_(t5.file, t5._file$_start).offset + endOffset);
|
|
91411
91415
|
t1 = A.FileLocation$_(t4, t1);
|
|
91412
91416
|
t1 = t1.file.getLine$1(t1.offset);
|
|
91413
91417
|
t4 = A.FileLocation$_(span.file, span._end);
|