sass 1.95.0 → 1.95.1
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 +15 -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":">=14.0.0"},"dependencies":{"chokidar":"^4.0.0","immutable":"^5.0.2","source-map-js":">=0.6.2 <2.0.0"},"optionalDependencies":{"@parcel/watcher":"^2.4.1"},"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.95.
|
|
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":"^4.0.0","immutable":"^5.0.2","source-map-js":">=0.6.2 <2.0.0"},"optionalDependencies":{"@parcel/watcher":"^2.4.1"},"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.95.1","bin":{"sass":"sass.js"},"main":"sass.node.js"}
|
package/sass.dart.js
CHANGED
|
@@ -130,7 +130,7 @@ self.fs = _cliPkgRequires.fs;
|
|
|
130
130
|
self.nodeModule = _cliPkgRequires.nodeModule;
|
|
131
131
|
self.stream = _cliPkgRequires.stream;
|
|
132
132
|
self.util = _cliPkgRequires.util;
|
|
133
|
-
// Generated by dart2js (, trust primitives, omit checks, lax runtime type, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.10.
|
|
133
|
+
// Generated by dart2js (, trust primitives, omit checks, lax runtime type, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.10.4.
|
|
134
134
|
// The code supports the following hooks:
|
|
135
135
|
// dartPrint(message):
|
|
136
136
|
// if this function is defined it is called instead of the Dart [print]
|
|
@@ -9791,19 +9791,18 @@ self.util = _cliPkgRequires.util;
|
|
|
9791
9791
|
t1.Stylesheet$internal$5$globalVariables$plainCss(children, span, parseTimeWarnings, globalVariables, plainCss);
|
|
9792
9792
|
return t1;
|
|
9793
9793
|
},
|
|
9794
|
-
Stylesheet_Stylesheet$parse(contents, syntax, url) {
|
|
9795
|
-
var error, stackTrace, url0, t1, exception, t2
|
|
9796
|
-
parseSelectors = false;
|
|
9794
|
+
Stylesheet_Stylesheet$parse(contents, syntax, parseSelectors, url) {
|
|
9795
|
+
var error, stackTrace, url0, t1, exception, t2;
|
|
9797
9796
|
try {
|
|
9798
9797
|
switch (syntax.index) {
|
|
9799
9798
|
case 1:
|
|
9800
|
-
t1 = new A.SassParser(
|
|
9799
|
+
t1 = new A.SassParser(false, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.FileSpan), A._setArrayType([], type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span), A.SpanScanner$(contents, url), null).parse$0(0);
|
|
9801
9800
|
return t1;
|
|
9802
9801
|
case 0:
|
|
9803
|
-
t1 = A.ScssParser$(contents,
|
|
9802
|
+
t1 = A.ScssParser$(contents, false, url).parse$0(0);
|
|
9804
9803
|
return t1;
|
|
9805
9804
|
case 2:
|
|
9806
|
-
t1 = new A.CssParser(
|
|
9805
|
+
t1 = new A.CssParser(false, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.FileSpan), A._setArrayType([], type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span), A.SpanScanner$(contents, url), null).parse$0(0);
|
|
9807
9806
|
return t1;
|
|
9808
9807
|
}
|
|
9809
9808
|
} catch (exception) {
|
|
@@ -10176,7 +10175,7 @@ self.util = _cliPkgRequires.util;
|
|
|
10176
10175
|
case 5:
|
|
10177
10176
|
// else
|
|
10178
10177
|
t1 = A.readFile(path);
|
|
10179
|
-
stylesheet = A.Stylesheet_Stylesheet$parse(t1, syntax, $.$get$context().toUri$1(path));
|
|
10178
|
+
stylesheet = A.Stylesheet_Stylesheet$parse(t1, syntax, false, $.$get$context().toUri$1(path));
|
|
10180
10179
|
case 4:
|
|
10181
10180
|
// join
|
|
10182
10181
|
$async$goto = 7;
|
|
@@ -10216,7 +10215,7 @@ self.util = _cliPkgRequires.util;
|
|
|
10216
10215
|
t4.addAll$1(0, futureDeprecations);
|
|
10217
10216
|
logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
|
|
10218
10217
|
logger.validate$0();
|
|
10219
|
-
stylesheet = A.Stylesheet_Stylesheet$parse(source, syntax, null);
|
|
10218
|
+
stylesheet = A.Stylesheet_Stylesheet$parse(source, syntax, false, null);
|
|
10220
10219
|
t1 = stylesheet.span;
|
|
10221
10220
|
_0_0 = t1.get$sourceUrl(t1);
|
|
10222
10221
|
if (type$.Uri._is(_0_0))
|
|
@@ -11074,7 +11073,7 @@ self.util = _cliPkgRequires.util;
|
|
|
11074
11073
|
t11.addAll$1(0, t12);
|
|
11075
11074
|
logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t13, type$.int), t4, t14, t10, t11, !t8);
|
|
11076
11075
|
logger.validate$0();
|
|
11077
|
-
stylesheet = A.Stylesheet_Stylesheet$parse(t2, t3 == null ? B.Syntax_SCSS_0_scss : t3, null);
|
|
11076
|
+
stylesheet = A.Stylesheet_Stylesheet$parse(t2, t3 == null ? B.Syntax_SCSS_0_scss : t3, false, null);
|
|
11078
11077
|
t2 = stylesheet.span;
|
|
11079
11078
|
_0_0 = t2.get$sourceUrl(t2);
|
|
11080
11079
|
if (type$.Uri._is(_0_0))
|
|
@@ -11137,7 +11136,7 @@ self.util = _cliPkgRequires.util;
|
|
|
11137
11136
|
t3 = A.readFile(source);
|
|
11138
11137
|
if (t2 == null)
|
|
11139
11138
|
t2 = A.Syntax_forPath(source);
|
|
11140
|
-
stylesheet = A.Stylesheet_Stylesheet$parse(t3, t2, $.$get$context().toUri$1(source));
|
|
11139
|
+
stylesheet = A.Stylesheet_Stylesheet$parse(t3, t2, false, $.$get$context().toUri$1(source));
|
|
11141
11140
|
}
|
|
11142
11141
|
result0 = A._compileStylesheet(stylesheet, logger, importCache, null, $.$get$FilesystemImporter_cwd(), null, t4, true, null, null, t5, t7, t1);
|
|
11143
11142
|
logger.summarize$1$js(false);
|
|
@@ -28780,7 +28779,7 @@ self.util = _cliPkgRequires.util;
|
|
|
28780
28779
|
J.set$deprecations$x(self.exports, A.jsify($.$get$deprecations()));
|
|
28781
28780
|
J.set$Version$x(self.exports, $.$get$versionClass());
|
|
28782
28781
|
J.set$loadParserExports_$x(self.exports, A.allowInterop(A.parser0__loadParserExports$closure()));
|
|
28783
|
-
J.set$info$x(self.exports, "dart-sass\t1.95.
|
|
28782
|
+
J.set$info$x(self.exports, "dart-sass\t1.95.1\t(Sass Compiler)\t[Dart]\ndart2js\t3.10.4\t(Dart Compiler)\t[Dart]");
|
|
28784
28783
|
A.updateCanonicalizeContextPrototype();
|
|
28785
28784
|
A.updateSourceSpanPrototype();
|
|
28786
28785
|
J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
|
|
@@ -34059,7 +34058,7 @@ self.util = _cliPkgRequires.util;
|
|
|
34059
34058
|
switch ($async$goto) {
|
|
34060
34059
|
case 0:
|
|
34061
34060
|
// Function start
|
|
34062
|
-
$async$returnValue = "1.95.
|
|
34061
|
+
$async$returnValue = "1.95.1 compiled with dart2js 3.10.4";
|
|
34063
34062
|
// goto return
|
|
34064
34063
|
$async$goto = 1;
|
|
34065
34064
|
break;
|
|
@@ -50996,7 +50995,7 @@ self.util = _cliPkgRequires.util;
|
|
|
50996
50995
|
t3 = result.contents;
|
|
50997
50996
|
t1 = result.syntax;
|
|
50998
50997
|
t2 = $async$self.originalUrl.resolveUri$1(t2);
|
|
50999
|
-
$async$returnValue = A.Stylesheet_Stylesheet$parse(t3, t1, t2);
|
|
50998
|
+
$async$returnValue = A.Stylesheet_Stylesheet$parse(t3, t1, false, t2);
|
|
51000
50999
|
// goto return
|
|
51001
51000
|
$async$goto = 1;
|
|
51002
51001
|
break;
|
|
@@ -52612,7 +52611,7 @@ self.util = _cliPkgRequires.util;
|
|
|
52612
52611
|
}
|
|
52613
52612
|
try {
|
|
52614
52613
|
argVersion = A.Version_Version$parse(id);
|
|
52615
|
-
sassVersion = A.Version_Version$parse("1.95.
|
|
52614
|
+
sassVersion = A.Version_Version$parse("1.95.1");
|
|
52616
52615
|
if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
|
|
52617
52616
|
A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
|
|
52618
52617
|
J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
|
|
@@ -56567,7 +56566,7 @@ self.util = _cliPkgRequires.util;
|
|
|
56567
56566
|
t3 = result.contents;
|
|
56568
56567
|
t1 = result.syntax;
|
|
56569
56568
|
t4 = _this.originalUrl;
|
|
56570
|
-
return A.Stylesheet_Stylesheet$parse(t3, t1, t4 == null ? t2 : t4.resolveUri$1(t2));
|
|
56569
|
+
return A.Stylesheet_Stylesheet$parse(t3, t1, false, t4 == null ? t2 : t4.resolveUri$1(t2));
|
|
56571
56570
|
},
|
|
56572
56571
|
$signature: 84
|
|
56573
56572
|
};
|