sass 1.80.0 → 1.80.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 +17 -10
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":{"@parcel/watcher":"^2.4.1","chokidar":"^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.80.
|
|
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":{"@parcel/watcher":"^2.4.1","chokidar":"^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.80.2","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 (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.5.
|
|
133
|
+
// Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.5.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]
|
|
@@ -10442,7 +10442,7 @@ self.util = _cliPkgRequires.util;
|
|
|
10442
10442
|
t3.addAll$1(0, fatalDeprecations);
|
|
10443
10443
|
t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
|
|
10444
10444
|
t4.addAll$1(0, futureDeprecations);
|
|
10445
|
-
return new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4,
|
|
10445
|
+
return new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, true);
|
|
10446
10446
|
},
|
|
10447
10447
|
AsyncImportCache: function AsyncImportCache(t0, t1, t2, t3, t4, t5, t6) {
|
|
10448
10448
|
var _ = this;
|
|
@@ -14243,7 +14243,7 @@ self.util = _cliPkgRequires.util;
|
|
|
14243
14243
|
t3.addAll$1(0, fatalDeprecations);
|
|
14244
14244
|
t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
|
|
14245
14245
|
t4.addAll$1(0, futureDeprecations);
|
|
14246
|
-
return new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4,
|
|
14246
|
+
return new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, true);
|
|
14247
14247
|
},
|
|
14248
14248
|
ImportCache: function ImportCache(t0, t1, t2, t3, t4, t5, t6) {
|
|
14249
14249
|
var _ = this;
|
|
@@ -21544,7 +21544,7 @@ self.util = _cliPkgRequires.util;
|
|
|
21544
21544
|
t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
|
|
21545
21545
|
if (futureDeprecations != null)
|
|
21546
21546
|
t4.addAll$1(0, futureDeprecations);
|
|
21547
|
-
return new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4,
|
|
21547
|
+
return new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, true);
|
|
21548
21548
|
},
|
|
21549
21549
|
AsyncImportCache0: function AsyncImportCache0(t0, t1, t2, t3, t4, t5, t6) {
|
|
21550
21550
|
var _ = this;
|
|
@@ -28109,7 +28109,7 @@ self.util = _cliPkgRequires.util;
|
|
|
28109
28109
|
t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
|
|
28110
28110
|
if (futureDeprecations != null)
|
|
28111
28111
|
t4.addAll$1(0, futureDeprecations);
|
|
28112
|
-
return new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4,
|
|
28112
|
+
return new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, true);
|
|
28113
28113
|
},
|
|
28114
28114
|
ImportCache0: function ImportCache0(t0, t1, t2, t3, t4, t5, t6) {
|
|
28115
28115
|
var _ = this;
|
|
@@ -28446,7 +28446,7 @@ self.util = _cliPkgRequires.util;
|
|
|
28446
28446
|
J.set$deprecations$x(self.exports, A.jsify($.$get$deprecations()));
|
|
28447
28447
|
J.set$Version$x(self.exports, $.$get$versionClass());
|
|
28448
28448
|
J.set$loadParserExports_$x(self.exports, A.allowInterop(A.parser0__loadParserExports$closure()));
|
|
28449
|
-
J.set$info$x(self.exports, "dart-sass\t1.80.
|
|
28449
|
+
J.set$info$x(self.exports, "dart-sass\t1.80.2\t(Sass Compiler)\t[Dart]\ndart2js\t3.5.4\t(Dart Compiler)\t[Dart]");
|
|
28450
28450
|
A.updateCanonicalizeContextPrototype();
|
|
28451
28451
|
A.updateSourceSpanPrototype();
|
|
28452
28452
|
J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
|
|
@@ -33650,7 +33650,7 @@ self.util = _cliPkgRequires.util;
|
|
|
33650
33650
|
switch ($async$goto) {
|
|
33651
33651
|
case 0:
|
|
33652
33652
|
// Function start
|
|
33653
|
-
$async$returnValue = "1.80.
|
|
33653
|
+
$async$returnValue = "1.80.2 compiled with dart2js 3.5.4";
|
|
33654
33654
|
// goto return
|
|
33655
33655
|
$async$goto = 1;
|
|
33656
33656
|
break;
|
|
@@ -51822,7 +51822,7 @@ self.util = _cliPkgRequires.util;
|
|
|
51822
51822
|
}
|
|
51823
51823
|
try {
|
|
51824
51824
|
argVersion = A.Version_Version$parse(id);
|
|
51825
|
-
sassVersion = A.Version_Version$parse("1.80.
|
|
51825
|
+
sassVersion = A.Version_Version$parse("1.80.2");
|
|
51826
51826
|
if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
|
|
51827
51827
|
A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
|
|
51828
51828
|
J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
|
|
@@ -53787,6 +53787,9 @@ self.util = _cliPkgRequires.util;
|
|
|
53787
53787
|
};
|
|
53788
53788
|
A.global_closure11.prototype = {
|
|
53789
53789
|
call$1($arguments) {
|
|
53790
|
+
var t1 = J.getInterceptor$asx($arguments);
|
|
53791
|
+
if (!(t1.$index($arguments, 0) instanceof A.SassNumber) && !t1.$index($arguments, 0).get$isSpecialNumber())
|
|
53792
|
+
A.warnForDeprecation(string$.Globalci, B.Deprecation_0Gh);
|
|
53790
53793
|
return A._invert($arguments, true);
|
|
53791
53794
|
},
|
|
53792
53795
|
$signature: 4
|
|
@@ -96277,6 +96280,9 @@ self.util = _cliPkgRequires.util;
|
|
|
96277
96280
|
};
|
|
96278
96281
|
A.global_closure55.prototype = {
|
|
96279
96282
|
call$1($arguments) {
|
|
96283
|
+
var t1 = J.getInterceptor$asx($arguments);
|
|
96284
|
+
if (!(t1.$index($arguments, 0) instanceof A.SassNumber0) && !t1.$index($arguments, 0).get$isSpecialNumber())
|
|
96285
|
+
A.warnForDeprecation0(string$.Globalci, B.Deprecation_Q5r);
|
|
96280
96286
|
return A._invert0($arguments, true);
|
|
96281
96287
|
},
|
|
96282
96288
|
$signature: 3
|
|
@@ -124496,6 +124502,7 @@ self.util = _cliPkgRequires.util;
|
|
|
124496
124502
|
Globalcad: "Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse color.adjust instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
|
|
124497
124503
|
Globalcal: "Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse color.alpha instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
|
|
124498
124504
|
Globalcg: "Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse color.grayscale instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
|
|
124505
|
+
Globalci: "Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse color.invert instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
|
|
124499
124506
|
Globalco: "Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse color.opacity instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
|
|
124500
124507
|
Globalm: "Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse math.abs instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
|
|
124501
124508
|
Hue_in: "Hue interpolation method may not be set for rectangular color space ",
|
|
@@ -126025,7 +126032,7 @@ self.util = _cliPkgRequires.util;
|
|
|
126025
126032
|
_s15_ = "$color, $amount",
|
|
126026
126033
|
t1 = type$.String,
|
|
126027
126034
|
t2 = type$.Value_Function_List_Value;
|
|
126028
|
-
return A.UnmodifiableListView$(A._setArrayType([A._channelFunction("red", B.RgbColorSpace_mlz, new A.global_closure0(), true, null).withDeprecationWarning$1(_s5_), A._channelFunction("green", B.RgbColorSpace_mlz, new A.global_closure1(), true, null).withDeprecationWarning$1(_s5_), A._channelFunction("blue", B.RgbColorSpace_mlz, new A.global_closure2(), true, null).withDeprecationWarning$1(_s5_), $.$get$_mix().withDeprecationWarning$1(_s5_), A.BuiltInCallable$overloadedFunction("rgb", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure3(), _s19_, new A.global_closure4(), "$color, $alpha", new A.global_closure5(), "$channels", new A.global_closure6()], t1, t2)), A.BuiltInCallable$overloadedFunction("rgba", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure7(), _s19_, new A.global_closure8(), "$color, $alpha", new A.global_closure9(), "$channels", new A.global_closure10()], t1, t2)), A._function5("invert", "$color, $weight: 100%, $space: null", new A.global_closure11())
|
|
126035
|
+
return A.UnmodifiableListView$(A._setArrayType([A._channelFunction("red", B.RgbColorSpace_mlz, new A.global_closure0(), true, null).withDeprecationWarning$1(_s5_), A._channelFunction("green", B.RgbColorSpace_mlz, new A.global_closure1(), true, null).withDeprecationWarning$1(_s5_), A._channelFunction("blue", B.RgbColorSpace_mlz, new A.global_closure2(), true, null).withDeprecationWarning$1(_s5_), $.$get$_mix().withDeprecationWarning$1(_s5_), A.BuiltInCallable$overloadedFunction("rgb", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure3(), _s19_, new A.global_closure4(), "$color, $alpha", new A.global_closure5(), "$channels", new A.global_closure6()], t1, t2)), A.BuiltInCallable$overloadedFunction("rgba", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure7(), _s19_, new A.global_closure8(), "$color, $alpha", new A.global_closure9(), "$channels", new A.global_closure10()], t1, t2)), A._function5("invert", "$color, $weight: 100%, $space: null", new A.global_closure11()), A._channelFunction("hue", B.HslColorSpace_gsm, new A.global_closure12(), true, "deg").withDeprecationWarning$1(_s5_), A._channelFunction("saturation", B.HslColorSpace_gsm, new A.global_closure13(), true, "%").withDeprecationWarning$1(_s5_), A._channelFunction("lightness", B.HslColorSpace_gsm, new A.global_closure14(), true, "%").withDeprecationWarning$1(_s5_), A.BuiltInCallable$overloadedFunction("hsl", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure15(), _s29_, new A.global_closure16(), _s17_, new A.global_closure17(), "$channels", new A.global_closure18()], t1, t2)), A.BuiltInCallable$overloadedFunction("hsla", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure19(), _s29_, new A.global_closure20(), _s17_, new A.global_closure21(), "$channels", new A.global_closure22()], t1, t2)), A._function5("grayscale", "$color", new A.global_closure23()), A._function5("adjust-hue", "$color, $degrees", new A.global_closure24()).withDeprecationWarning$2(_s5_, _s6_), A._function5("lighten", _s15_, new A.global_closure25()).withDeprecationWarning$2(_s5_, _s6_), A._function5("darken", _s15_, new A.global_closure26()).withDeprecationWarning$2(_s5_, _s6_), A.BuiltInCallable$overloadedFunction("saturate", A.LinkedHashMap_LinkedHashMap$_literal(["$amount", new A.global_closure27(), "$color, $amount", new A.global_closure28()], t1, t2)), A._function5("desaturate", _s15_, new A.global_closure29()).withDeprecationWarning$2(_s5_, _s6_), A._function5("opacify", _s15_, new A.global_closure30()).withDeprecationWarning$2(_s5_, _s6_), A._function5("fade-in", _s15_, new A.global_closure31()).withDeprecationWarning$2(_s5_, _s6_), A._function5("transparentize", _s15_, new A.global_closure32()).withDeprecationWarning$2(_s5_, _s6_), A._function5("fade-out", _s15_, new A.global_closure33()).withDeprecationWarning$2(_s5_, _s6_), A.BuiltInCallable$overloadedFunction("alpha", A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.global_closure34(), "$args...", new A.global_closure35()], t1, t2)), A._function5("opacity", "$color", new A.global_closure36()), A._function5(_s5_, "$description", new A.global_closure37()), A._function5("hwb", _s9_, new A.global_closure38()), A._function5("lab", _s9_, new A.global_closure39()), A._function5("lch", _s9_, new A.global_closure40()), A._function5("oklab", _s9_, new A.global_closure41()), A._function5("oklch", _s9_, new A.global_closure42()), $.$get$_complement().withDeprecationWarning$1(_s5_), $.$get$_ieHexStr(), $.$get$_adjust().withDeprecationWarning$1(_s5_).withName$1("adjust-color"), $.$get$_scale().withDeprecationWarning$1(_s5_).withName$1("scale-color"), $.$get$_change().withDeprecationWarning$1(_s5_).withName$1("change-color")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable);
|
|
126029
126036
|
});
|
|
126030
126037
|
_lazyFinal($, "module", "$get$module", () => {
|
|
126031
126038
|
var _null = null,
|
|
@@ -126305,7 +126312,7 @@ self.util = _cliPkgRequires.util;
|
|
|
126305
126312
|
_s15_ = "$color, $amount",
|
|
126306
126313
|
t1 = type$.String,
|
|
126307
126314
|
t2 = type$.Value_Function_List_Value_2;
|
|
126308
|
-
return A.UnmodifiableListView$(A._setArrayType([A._channelFunction0("red", B.RgbColorSpace_mlz0, new A.global_closure44(), true, null).withDeprecationWarning$1(_s5_), A._channelFunction0("green", B.RgbColorSpace_mlz0, new A.global_closure45(), true, null).withDeprecationWarning$1(_s5_), A._channelFunction0("blue", B.RgbColorSpace_mlz0, new A.global_closure46(), true, null).withDeprecationWarning$1(_s5_), $.$get$_mix0().withDeprecationWarning$1(_s5_), A.BuiltInCallable$overloadedFunction0("rgb", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure47(), _s19_, new A.global_closure48(), "$color, $alpha", new A.global_closure49(), "$channels", new A.global_closure50()], t1, t2)), A.BuiltInCallable$overloadedFunction0("rgba", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure51(), _s19_, new A.global_closure52(), "$color, $alpha", new A.global_closure53(), "$channels", new A.global_closure54()], t1, t2)), A._function12("invert", "$color, $weight: 100%, $space: null", new A.global_closure55())
|
|
126315
|
+
return A.UnmodifiableListView$(A._setArrayType([A._channelFunction0("red", B.RgbColorSpace_mlz0, new A.global_closure44(), true, null).withDeprecationWarning$1(_s5_), A._channelFunction0("green", B.RgbColorSpace_mlz0, new A.global_closure45(), true, null).withDeprecationWarning$1(_s5_), A._channelFunction0("blue", B.RgbColorSpace_mlz0, new A.global_closure46(), true, null).withDeprecationWarning$1(_s5_), $.$get$_mix0().withDeprecationWarning$1(_s5_), A.BuiltInCallable$overloadedFunction0("rgb", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure47(), _s19_, new A.global_closure48(), "$color, $alpha", new A.global_closure49(), "$channels", new A.global_closure50()], t1, t2)), A.BuiltInCallable$overloadedFunction0("rgba", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure51(), _s19_, new A.global_closure52(), "$color, $alpha", new A.global_closure53(), "$channels", new A.global_closure54()], t1, t2)), A._function12("invert", "$color, $weight: 100%, $space: null", new A.global_closure55()), A._channelFunction0("hue", B.HslColorSpace_gsm0, new A.global_closure56(), true, "deg").withDeprecationWarning$1(_s5_), A._channelFunction0("saturation", B.HslColorSpace_gsm0, new A.global_closure57(), true, "%").withDeprecationWarning$1(_s5_), A._channelFunction0("lightness", B.HslColorSpace_gsm0, new A.global_closure58(), true, "%").withDeprecationWarning$1(_s5_), A.BuiltInCallable$overloadedFunction0("hsl", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure59(), _s29_, new A.global_closure60(), _s17_, new A.global_closure61(), "$channels", new A.global_closure62()], t1, t2)), A.BuiltInCallable$overloadedFunction0("hsla", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure63(), _s29_, new A.global_closure64(), _s17_, new A.global_closure65(), "$channels", new A.global_closure66()], t1, t2)), A._function12("grayscale", "$color", new A.global_closure67()), A._function12("adjust-hue", "$color, $degrees", new A.global_closure68()).withDeprecationWarning$2(_s5_, _s6_), A._function12("lighten", _s15_, new A.global_closure69()).withDeprecationWarning$2(_s5_, _s6_), A._function12("darken", _s15_, new A.global_closure70()).withDeprecationWarning$2(_s5_, _s6_), A.BuiltInCallable$overloadedFunction0("saturate", A.LinkedHashMap_LinkedHashMap$_literal(["$amount", new A.global_closure71(), "$color, $amount", new A.global_closure72()], t1, t2)), A._function12("desaturate", _s15_, new A.global_closure73()).withDeprecationWarning$2(_s5_, _s6_), A._function12("opacify", _s15_, new A.global_closure74()).withDeprecationWarning$2(_s5_, _s6_), A._function12("fade-in", _s15_, new A.global_closure75()).withDeprecationWarning$2(_s5_, _s6_), A._function12("transparentize", _s15_, new A.global_closure76()).withDeprecationWarning$2(_s5_, _s6_), A._function12("fade-out", _s15_, new A.global_closure77()).withDeprecationWarning$2(_s5_, _s6_), A.BuiltInCallable$overloadedFunction0("alpha", A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.global_closure78(), "$args...", new A.global_closure79()], t1, t2)), A._function12("opacity", "$color", new A.global_closure80()), A._function12(_s5_, "$description", new A.global_closure81()), A._function12("hwb", _s9_, new A.global_closure82()), A._function12("lab", _s9_, new A.global_closure83()), A._function12("lch", _s9_, new A.global_closure84()), A._function12("oklab", _s9_, new A.global_closure85()), A._function12("oklch", _s9_, new A.global_closure86()), $.$get$_complement0().withDeprecationWarning$1(_s5_), $.$get$_ieHexStr0(), $.$get$_adjust0().withDeprecationWarning$1(_s5_).withName$1("adjust-color"), $.$get$_scale0().withDeprecationWarning$1(_s5_).withName$1("scale-color"), $.$get$_change0().withDeprecationWarning$1(_s5_).withName$1("change-color")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2);
|
|
126309
126316
|
});
|
|
126310
126317
|
_lazyFinal($, "module5", "$get$module5", () => {
|
|
126311
126318
|
var _null = null,
|