sass 1.58.0 → 1.58.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 +7 -5
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","exports":{"types":"./types/index.d.ts","default":"./sass.default.dart.js"},"version":"1.58.
|
|
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","exports":{"types":"./types/index.d.ts","default":"./sass.default.dart.js"},"version":"1.58.1","bin":{"sass":"sass.js"},"main":"sass.default.dart.js"}
|
package/sass.dart.js
CHANGED
|
@@ -128,7 +128,7 @@ self.immutable = require("immutable");
|
|
|
128
128
|
self.fs = require("fs");
|
|
129
129
|
self.chokidar = _cli_pkg_requires.chokidar;
|
|
130
130
|
self.readline = _cli_pkg_requires.readline;
|
|
131
|
-
// Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, csp, deferred-serialization, intern-composite-values), the Dart to JavaScript compiler version: 2.19.
|
|
131
|
+
// Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, csp, deferred-serialization, intern-composite-values), the Dart to JavaScript compiler version: 2.19.2.
|
|
132
132
|
// The code supports the following hooks:
|
|
133
133
|
// dartPrint(message):
|
|
134
134
|
// if this function is defined it is called instead of the Dart [print]
|
|
@@ -21278,7 +21278,7 @@ self.readline = _cli_pkg_requires.readline;
|
|
|
21278
21278
|
J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
|
|
21279
21279
|
J.set$Exception$x(self.exports, $.$get$exceptionClass());
|
|
21280
21280
|
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())}});
|
|
21281
|
-
J.set$info$x(self.exports, "dart-sass\t1.58.
|
|
21281
|
+
J.set$info$x(self.exports, "dart-sass\t1.58.1\t(Sass Compiler)\t[Dart]\ndart2js\t2.19.2\t(Dart Compiler)\t[Dart]");
|
|
21282
21282
|
A.updateSourceSpanPrototype();
|
|
21283
21283
|
J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
|
|
21284
21284
|
J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
|
|
@@ -21946,7 +21946,7 @@ self.readline = _cli_pkg_requires.readline;
|
|
|
21946
21946
|
switch ($async$goto) {
|
|
21947
21947
|
case 0:
|
|
21948
21948
|
// Function start
|
|
21949
|
-
$async$returnValue = "1.58.
|
|
21949
|
+
$async$returnValue = "1.58.1 compiled with dart2js 2.19.2";
|
|
21950
21950
|
// goto return
|
|
21951
21951
|
$async$goto = 1;
|
|
21952
21952
|
break;
|
|
@@ -52420,7 +52420,6 @@ self.readline = _cli_pkg_requires.readline;
|
|
|
52420
52420
|
opaque = A.fuzzyEquals(t2, 1);
|
|
52421
52421
|
t1.write$1(0, opaque ? "hsl(" : "hsla(");
|
|
52422
52422
|
visitor._writeNumber$1(_this.get$hue(_this));
|
|
52423
|
-
t1.write$1(0, "deg");
|
|
52424
52423
|
t1.write$1(0, ", ");
|
|
52425
52424
|
visitor._writeNumber$1(_this.get$saturation(_this));
|
|
52426
52425
|
t1.writeCharCode$1(37);
|
|
@@ -54181,6 +54180,8 @@ self.readline = _cli_pkg_requires.readline;
|
|
|
54181
54180
|
// Function start
|
|
54182
54181
|
if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate$_inUnknownAtRule && !$async$self._async_evaluate$_inKeyframes)
|
|
54183
54182
|
throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarm, node.span));
|
|
54183
|
+
if ($async$self._async_evaluate$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
|
|
54184
|
+
throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarw, node.span));
|
|
54184
54185
|
t1 = node.name;
|
|
54185
54186
|
$async$goto = 3;
|
|
54186
54187
|
return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
|
|
@@ -70198,6 +70199,8 @@ self.readline = _cli_pkg_requires.readline;
|
|
|
70198
70199
|
// Function start
|
|
70199
70200
|
if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate0$_inUnknownAtRule && !$async$self._async_evaluate0$_inKeyframes)
|
|
70200
70201
|
throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarm, node.span));
|
|
70202
|
+
if ($async$self._async_evaluate0$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
|
|
70203
|
+
throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarw, node.span));
|
|
70201
70204
|
t1 = node.name;
|
|
70202
70205
|
$async$goto = 3;
|
|
70203
70206
|
return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
|
|
@@ -79165,7 +79168,6 @@ self.readline = _cli_pkg_requires.readline;
|
|
|
79165
79168
|
opaque = A.fuzzyEquals0(t2, 1);
|
|
79166
79169
|
t1.write$1(0, opaque ? "hsl(" : "hsla(");
|
|
79167
79170
|
visitor._serialize0$_writeNumber$1(_this.get$hue(_this));
|
|
79168
|
-
t1.write$1(0, "deg");
|
|
79169
79171
|
t1.write$1(0, ", ");
|
|
79170
79172
|
visitor._serialize0$_writeNumber$1(_this.get$saturation(_this));
|
|
79171
79173
|
t1.writeCharCode$1(37);
|