sass 1.85.1 → 1.86.0
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/LICENSE +0 -33
- package/package.json +1 -1
- package/sass.dart.js +155 -104
- package/types/deprecations.d.ts +8 -1
package/LICENSE
CHANGED
|
@@ -87,39 +87,6 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
87
87
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
88
88
|
|
|
89
89
|
|
|
90
|
-
--------------------------------------------------------------------------------
|
|
91
|
-
|
|
92
|
-
_macros and macros license:
|
|
93
|
-
|
|
94
|
-
Copyright 2024, the Dart project authors.
|
|
95
|
-
|
|
96
|
-
Redistribution and use in source and binary forms, with or without
|
|
97
|
-
modification, are permitted provided that the following conditions are
|
|
98
|
-
met:
|
|
99
|
-
|
|
100
|
-
* Redistributions of source code must retain the above copyright
|
|
101
|
-
notice, this list of conditions and the following disclaimer.
|
|
102
|
-
* Redistributions in binary form must reproduce the above
|
|
103
|
-
copyright notice, this list of conditions and the following
|
|
104
|
-
disclaimer in the documentation and/or other materials provided
|
|
105
|
-
with the distribution.
|
|
106
|
-
* Neither the name of Google LLC nor the names of its
|
|
107
|
-
contributors may be used to endorse or promote products derived
|
|
108
|
-
from this software without specific prior written permission.
|
|
109
|
-
|
|
110
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
111
|
-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
112
|
-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
113
|
-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
114
|
-
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
115
|
-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
116
|
-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
117
|
-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
118
|
-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
119
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
120
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
121
|
-
|
|
122
|
-
|
|
123
90
|
--------------------------------------------------------------------------------
|
|
124
91
|
|
|
125
92
|
analyzer, protobuf and protoc_plugin license:
|
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.
|
|
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.86.0","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.7.
|
|
133
|
+
// Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.7.2.
|
|
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]
|
|
@@ -8312,7 +8312,7 @@ self.util = _cliPkgRequires.util;
|
|
|
8312
8312
|
_.name = t2;
|
|
8313
8313
|
_.rest = t3;
|
|
8314
8314
|
},
|
|
8315
|
-
Option: function Option(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
|
|
8315
|
+
Option: function Option(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) {
|
|
8316
8316
|
var _ = this;
|
|
8317
8317
|
_.name = t0;
|
|
8318
8318
|
_.abbr = t1;
|
|
@@ -8322,11 +8322,12 @@ self.util = _cliPkgRequires.util;
|
|
|
8322
8322
|
_.allowedHelp = t5;
|
|
8323
8323
|
_.defaultsTo = t6;
|
|
8324
8324
|
_.negatable = t7;
|
|
8325
|
-
_.
|
|
8326
|
-
_.
|
|
8327
|
-
_.
|
|
8328
|
-
_.
|
|
8329
|
-
_.
|
|
8325
|
+
_.hideNegatedUsage = t8;
|
|
8326
|
+
_.callback = t9;
|
|
8327
|
+
_.type = t10;
|
|
8328
|
+
_.splitCommas = t11;
|
|
8329
|
+
_.mandatory = t12;
|
|
8330
|
+
_.hide = t13;
|
|
8330
8331
|
},
|
|
8331
8332
|
OptionType: function OptionType(t0) {
|
|
8332
8333
|
this.name = t0;
|
|
@@ -8928,8 +8929,8 @@ self.util = _cliPkgRequires.util;
|
|
|
8928
8929
|
WindowsStyle_absolutePathToUri_closure: function WindowsStyle_absolutePathToUri_closure() {
|
|
8929
8930
|
},
|
|
8930
8931
|
Version$_(major, minor, patch, preRelease, build, _text) {
|
|
8931
|
-
var t1 = preRelease == null ? A._setArrayType([], type$.JSArray_Object) : A.Version__splitParts(preRelease),
|
|
8932
|
-
t2 = build == null ? A._setArrayType([], type$.JSArray_Object) : A.Version__splitParts(build);
|
|
8932
|
+
var t1 = preRelease == null || preRelease.length === 0 ? A._setArrayType([], type$.JSArray_Object) : A.Version__splitParts(preRelease),
|
|
8933
|
+
t2 = build == null || build.length === 0 ? A._setArrayType([], type$.JSArray_Object) : A.Version__splitParts(build);
|
|
8933
8934
|
if (major < 0)
|
|
8934
8935
|
A.throwExpression(A.ArgumentError$("Major version must be non-negative.", null));
|
|
8935
8936
|
if (minor < 0)
|
|
@@ -10472,13 +10473,13 @@ self.util = _cliPkgRequires.util;
|
|
|
10472
10473
|
this.assignmentNode = t2;
|
|
10473
10474
|
},
|
|
10474
10475
|
Deprecation_fromId(id) {
|
|
10475
|
-
return A.IterableExtension_firstWhereOrNull(B.
|
|
10476
|
+
return A.IterableExtension_firstWhereOrNull(B.List_dCD, new A.Deprecation_fromId_closure(id));
|
|
10476
10477
|
},
|
|
10477
10478
|
Deprecation_forVersion(version) {
|
|
10478
10479
|
var t2, _i, deprecation, $self, t3,
|
|
10479
10480
|
t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
|
|
10480
|
-
for (t2 = A.VersionRange_VersionRange(true, version).get$allows(), _i = 0; _i <
|
|
10481
|
-
deprecation = B.
|
|
10481
|
+
for (t2 = A.VersionRange_VersionRange(true, version).get$allows(), _i = 0; _i < 25; ++_i) {
|
|
10482
|
+
deprecation = B.List_dCD[_i];
|
|
10482
10483
|
$self = deprecation._deprecatedIn;
|
|
10483
10484
|
t3 = $self == null ? null : A.Version___parse_tearOff($self);
|
|
10484
10485
|
t3 = t3 == null ? null : t2.call$1(t3);
|
|
@@ -15256,10 +15257,12 @@ self.util = _cliPkgRequires.util;
|
|
|
15256
15257
|
_.resetState = t2;
|
|
15257
15258
|
_.resolveOperations = t3;
|
|
15258
15259
|
},
|
|
15259
|
-
StylesheetParser__expression_addOperator: function StylesheetParser__expression_addOperator(t0, t1, t2) {
|
|
15260
|
-
|
|
15261
|
-
|
|
15262
|
-
this
|
|
15260
|
+
StylesheetParser__expression_addOperator: function StylesheetParser__expression_addOperator(t0, t1, t2, t3) {
|
|
15261
|
+
var _ = this;
|
|
15262
|
+
_._box_0 = t0;
|
|
15263
|
+
_.$this = t1;
|
|
15264
|
+
_.resolveOneOperation = t2;
|
|
15265
|
+
_.addSingleExpression = t3;
|
|
15263
15266
|
},
|
|
15264
15267
|
StylesheetParser__expression_resolveSpaceExpressions: function StylesheetParser__expression_resolveSpaceExpressions(t0, t1, t2) {
|
|
15265
15268
|
this._box_0 = t0;
|
|
@@ -25475,13 +25478,13 @@ self.util = _cliPkgRequires.util;
|
|
|
25475
25478
|
this.span = t2;
|
|
25476
25479
|
},
|
|
25477
25480
|
Deprecation_fromId0(id) {
|
|
25478
|
-
return A.IterableExtension_firstWhereOrNull(B.
|
|
25481
|
+
return A.IterableExtension_firstWhereOrNull(B.List_MG2, new A.Deprecation_fromId_closure0(id));
|
|
25479
25482
|
},
|
|
25480
25483
|
Deprecation_forVersion0(version) {
|
|
25481
25484
|
var t2, _i, deprecation, $self, t3,
|
|
25482
25485
|
t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation_3);
|
|
25483
|
-
for (t2 = A.VersionRange_VersionRange(true, version).get$allows(), _i = 0; _i <
|
|
25484
|
-
deprecation = B.
|
|
25486
|
+
for (t2 = A.VersionRange_VersionRange(true, version).get$allows(), _i = 0; _i < 25; ++_i) {
|
|
25487
|
+
deprecation = B.List_MG2[_i];
|
|
25485
25488
|
$self = deprecation._deprecation$_deprecatedIn;
|
|
25486
25489
|
t3 = $self == null ? null : A.Version___parse_tearOff($self);
|
|
25487
25490
|
t3 = t3 == null ? null : t2.call$1(t3);
|
|
@@ -28529,7 +28532,7 @@ self.util = _cliPkgRequires.util;
|
|
|
28529
28532
|
J.set$deprecations$x(self.exports, A.jsify($.$get$deprecations()));
|
|
28530
28533
|
J.set$Version$x(self.exports, $.$get$versionClass());
|
|
28531
28534
|
J.set$loadParserExports_$x(self.exports, A.allowInterop(A.parser0__loadParserExports$closure()));
|
|
28532
|
-
J.set$info$x(self.exports, "dart-sass\t1.
|
|
28535
|
+
J.set$info$x(self.exports, "dart-sass\t1.86.0\t(Sass Compiler)\t[Dart]\ndart2js\t3.7.2\t(Dart Compiler)\t[Dart]");
|
|
28533
28536
|
A.updateCanonicalizeContextPrototype();
|
|
28534
28537
|
A.updateSourceSpanPrototype();
|
|
28535
28538
|
J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
|
|
@@ -31442,10 +31445,12 @@ self.util = _cliPkgRequires.util;
|
|
|
31442
31445
|
_.resetState = t2;
|
|
31443
31446
|
_.resolveOperations = t3;
|
|
31444
31447
|
},
|
|
31445
|
-
StylesheetParser__expression_addOperator0: function StylesheetParser__expression_addOperator0(t0, t1, t2) {
|
|
31446
|
-
|
|
31447
|
-
|
|
31448
|
-
this
|
|
31448
|
+
StylesheetParser__expression_addOperator0: function StylesheetParser__expression_addOperator0(t0, t1, t2, t3) {
|
|
31449
|
+
var _ = this;
|
|
31450
|
+
_._box_0 = t0;
|
|
31451
|
+
_.$this = t1;
|
|
31452
|
+
_.resolveOneOperation = t2;
|
|
31453
|
+
_.addSingleExpression = t3;
|
|
31449
31454
|
},
|
|
31450
31455
|
StylesheetParser__expression_resolveSpaceExpressions0: function StylesheetParser__expression_resolveSpaceExpressions0(t0, t1, t2) {
|
|
31451
31456
|
this._box_0 = t0;
|
|
@@ -33694,7 +33699,7 @@ self.util = _cliPkgRequires.util;
|
|
|
33694
33699
|
switch ($async$goto) {
|
|
33695
33700
|
case 0:
|
|
33696
33701
|
// Function start
|
|
33697
|
-
$async$returnValue = "1.
|
|
33702
|
+
$async$returnValue = "1.86.0 compiled with dart2js 3.7.2";
|
|
33698
33703
|
// goto return
|
|
33699
33704
|
$async$goto = 1;
|
|
33700
33705
|
break;
|
|
@@ -43326,7 +43331,7 @@ self.util = _cliPkgRequires.util;
|
|
|
43326
43331
|
A.ArgParser.prototype = {
|
|
43327
43332
|
addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, defaultsTo, help, hide, negatable) {
|
|
43328
43333
|
var _null = null;
|
|
43329
|
-
this._addOption$
|
|
43334
|
+
this._addOption$13$aliases$hide$hideNegatedUsage$negatable($name, abbr, help, _null, _null, _null, defaultsTo, _null, B.OptionType_tI9, B.List_empty, hide, false, negatable);
|
|
43330
43335
|
},
|
|
43331
43336
|
addFlag$2$hide($name, hide) {
|
|
43332
43337
|
return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, null, hide, true);
|
|
@@ -43373,7 +43378,7 @@ self.util = _cliPkgRequires.util;
|
|
|
43373
43378
|
var _null = null;
|
|
43374
43379
|
return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, _null, _null, _null, help, true, _null);
|
|
43375
43380
|
},
|
|
43376
|
-
_addOption$
|
|
43381
|
+
_addOption$15$aliases$hide$hideNegatedUsage$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, hideNegatedUsage, mandatory, negatable, splitCommas) {
|
|
43377
43382
|
var existing, t2, t3, option, _i, _this = this, _null = null,
|
|
43378
43383
|
t1 = A._setArrayType([$name], type$.JSArray_String);
|
|
43379
43384
|
B.JSArray_methods.addAll$1(t1, aliases);
|
|
@@ -43392,7 +43397,7 @@ self.util = _cliPkgRequires.util;
|
|
|
43392
43397
|
t3 = type$.String;
|
|
43393
43398
|
t3 = A.ConstantMap_ConstantMap$from(allowedHelp, t3, t3);
|
|
43394
43399
|
}
|
|
43395
|
-
option = new A.Option($name, abbr, help, valueHelp, t2, t3, defaultsTo, negatable, callback, type, splitCommas == null ? type === B.OptionType_1Ol : splitCommas, false, hide);
|
|
43400
|
+
option = new A.Option($name, abbr, help, valueHelp, t2, t3, defaultsTo, negatable, false, callback, type, splitCommas == null ? type === B.OptionType_1Ol : splitCommas, false, hide);
|
|
43396
43401
|
if ($name.length === 0)
|
|
43397
43402
|
A.throwExpression(A.ArgumentError$("Name cannot be empty.", _null));
|
|
43398
43403
|
else if (B.JSString_methods.startsWith$1($name, "-"))
|
|
@@ -43414,13 +43419,13 @@ self.util = _cliPkgRequires.util;
|
|
|
43414
43419
|
t1.$indexSet(0, aliases[_i], $name);
|
|
43415
43420
|
},
|
|
43416
43421
|
_addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, splitCommas) {
|
|
43417
|
-
return this._addOption$
|
|
43422
|
+
return this._addOption$15$aliases$hide$hideNegatedUsage$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, false, false, splitCommas);
|
|
43418
43423
|
},
|
|
43419
43424
|
_addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory) {
|
|
43420
|
-
return this._addOption$
|
|
43425
|
+
return this._addOption$15$aliases$hide$hideNegatedUsage$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, mandatory, false, null);
|
|
43421
43426
|
},
|
|
43422
|
-
_addOption$
|
|
43423
|
-
return this._addOption$
|
|
43427
|
+
_addOption$13$aliases$hide$hideNegatedUsage$negatable($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, hideNegatedUsage, negatable) {
|
|
43428
|
+
return this._addOption$15$aliases$hide$hideNegatedUsage$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, hideNegatedUsage, false, negatable, null);
|
|
43424
43429
|
},
|
|
43425
43430
|
findByAbbreviation$1(abbr) {
|
|
43426
43431
|
var t1, t2;
|
|
@@ -43789,26 +43794,24 @@ self.util = _cliPkgRequires.util;
|
|
|
43789
43794
|
return t1.charCodeAt(0) == 0 ? t1 : t1;
|
|
43790
43795
|
},
|
|
43791
43796
|
_writeOption$1(option) {
|
|
43792
|
-
var
|
|
43797
|
+
var _0_0, _1_0, t2, t3, t4, $name, $content, _this = this,
|
|
43793
43798
|
t1 = option.abbr;
|
|
43794
43799
|
_this._write$2(0, t1 == null ? "" : "-" + t1 + ", ");
|
|
43795
43800
|
t1 = _this._longOption$1(option);
|
|
43796
43801
|
_this._write$2(1, t1);
|
|
43797
|
-
|
|
43798
|
-
if (
|
|
43799
|
-
_this._write$2(2,
|
|
43800
|
-
|
|
43801
|
-
if (
|
|
43802
|
-
allowedNames = J.toList$0$ax(t1.get$keys(t1));
|
|
43803
|
-
B.JSArray_methods.sort$0(allowedNames);
|
|
43802
|
+
_0_0 = option.help;
|
|
43803
|
+
if (_0_0 != null)
|
|
43804
|
+
_this._write$2(2, _0_0);
|
|
43805
|
+
_1_0 = option.allowedHelp;
|
|
43806
|
+
if (_1_0 != null) {
|
|
43804
43807
|
_this._newline$0();
|
|
43805
|
-
for (
|
|
43806
|
-
|
|
43807
|
-
|
|
43808
|
-
|
|
43809
|
-
|
|
43810
|
-
|
|
43811
|
-
_this._write$2(2,
|
|
43808
|
+
for (t1 = _1_0.get$entries(_1_0), t1 = t1.get$iterator(t1), t2 = option.defaultsTo, t3 = type$.List_dynamic._is(t2); t1.moveNext$0();) {
|
|
43809
|
+
t4 = t1.get$current(t1);
|
|
43810
|
+
$name = t4.key;
|
|
43811
|
+
$content = t4.value;
|
|
43812
|
+
t4 = (t3 ? B.JSArray_methods.contains$1(t2, $name) : t2 === $name) ? " (default)" : "";
|
|
43813
|
+
_this._write$2(1, " [" + $name + "]" + t4);
|
|
43814
|
+
_this._write$2(2, $content);
|
|
43812
43815
|
}
|
|
43813
43816
|
_this._newline$0();
|
|
43814
43817
|
} else if (option.allowed != null)
|
|
@@ -51895,7 +51898,7 @@ self.util = _cliPkgRequires.util;
|
|
|
51895
51898
|
}
|
|
51896
51899
|
try {
|
|
51897
51900
|
argVersion = A.Version_Version$parse(id);
|
|
51898
|
-
sassVersion = A.Version_Version$parse("1.
|
|
51901
|
+
sassVersion = A.Version_Version$parse("1.86.0");
|
|
51899
51902
|
if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
|
|
51900
51903
|
A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
|
|
51901
51904
|
J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
|
|
@@ -60407,15 +60410,17 @@ self.util = _cliPkgRequires.util;
|
|
|
60407
60410
|
return new A.ErrorRule(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
|
|
60408
60411
|
},
|
|
60409
60412
|
_functionRule$1(start) {
|
|
60410
|
-
var precedingComment, t1,
|
|
60413
|
+
var precedingComment, t1, beforeName, $name, parameters, _0_0, _this = this;
|
|
60411
60414
|
_this.whitespace$1$consumeNewlines(true);
|
|
60412
60415
|
precedingComment = _this.lastSilentComment;
|
|
60413
60416
|
_this.lastSilentComment = null;
|
|
60414
60417
|
t1 = _this.scanner;
|
|
60415
|
-
|
|
60418
|
+
beforeName = new A._SpanScannerState(t1, t1._string_scanner$_position);
|
|
60416
60419
|
$name = _this.identifier$0();
|
|
60417
60420
|
if (B.JSString_methods.startsWith$1($name, "--"))
|
|
60418
|
-
_this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_Kg6, string$.
|
|
60421
|
+
_this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_Kg6, string$.Sassx20_f_, t1.spanFrom$1(beforeName)));
|
|
60422
|
+
else if (A.equalsIgnoreCase($name, "type"))
|
|
60423
|
+
_this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_kms, string$.Sassx20_fs, t1.spanFrom$1(beforeName)));
|
|
60419
60424
|
_this.whitespace$1$consumeNewlines(true);
|
|
60420
60425
|
parameters = _this._parameterList$0();
|
|
60421
60426
|
if (_this._stylesheet$_inMixin || _this._inContentBlock)
|
|
@@ -61160,7 +61165,7 @@ self.util = _cliPkgRequires.util;
|
|
|
61160
61165
|
resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation(_box_0, _this);
|
|
61161
61166
|
resolveOperations = new A.StylesheetParser__expression_resolveOperations(_box_0, resolveOneOperation);
|
|
61162
61167
|
addSingleExpression = new A.StylesheetParser__expression_addSingleExpression(_box_0, _this, resetState, resolveOperations);
|
|
61163
|
-
addOperator = new A.StylesheetParser__expression_addOperator(_box_0, _this, resolveOneOperation);
|
|
61168
|
+
addOperator = new A.StylesheetParser__expression_addOperator(_box_0, _this, resolveOneOperation, addSingleExpression);
|
|
61164
61169
|
resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions(_box_0, _this, resolveOperations);
|
|
61165
61170
|
for (t3 = !consumeNewlines, t4 = type$.JSArray_Expression; true;) {
|
|
61166
61171
|
_this.whitespace$1$consumeNewlines(!t3 || bracketList);
|
|
@@ -61461,6 +61466,14 @@ self.util = _cliPkgRequires.util;
|
|
|
61461
61466
|
t1 = _this._importantExpression$0();
|
|
61462
61467
|
break $label0$0;
|
|
61463
61468
|
}
|
|
61469
|
+
if (37 === _0_0) {
|
|
61470
|
+
t2 = t1._string_scanner$_position;
|
|
61471
|
+
t1.readChar$0();
|
|
61472
|
+
t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
|
|
61473
|
+
t2 = new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable(["%"], type$.Object), B.List_null, t2), false);
|
|
61474
|
+
t1 = t2;
|
|
61475
|
+
break $label0$0;
|
|
61476
|
+
}
|
|
61464
61477
|
if ((117 === _0_0 || 85 === _0_0) && t1.peekChar$1(1) === 43) {
|
|
61465
61478
|
t1 = _this._unicodeRange$0();
|
|
61466
61479
|
break $label0$0;
|
|
@@ -62974,8 +62987,9 @@ self.util = _cliPkgRequires.util;
|
|
|
62974
62987
|
if (92 !== _1_0)
|
|
62975
62988
|
if (36 !== _1_0)
|
|
62976
62989
|
if (38 !== _1_0)
|
|
62977
|
-
if (
|
|
62978
|
-
|
|
62990
|
+
if (37 !== _1_0)
|
|
62991
|
+
if (!(_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128))
|
|
62992
|
+
t1 = _1_0 >= 48 && _1_0 <= 57;
|
|
62979
62993
|
if (t1) {
|
|
62980
62994
|
t1 = t2;
|
|
62981
62995
|
break $label0$0;
|
|
@@ -63377,14 +63391,14 @@ self.util = _cliPkgRequires.util;
|
|
|
63377
63391
|
};
|
|
63378
63392
|
A.StylesheetParser__expression_addOperator.prototype = {
|
|
63379
63393
|
call$1(operator) {
|
|
63380
|
-
var t2, t3, operators, operands, t4, singleExpression,
|
|
63381
|
-
t1 =
|
|
63394
|
+
var t2, t3, operators, operands, t4, singleExpression, _this = this,
|
|
63395
|
+
t1 = _this.$this;
|
|
63382
63396
|
if (t1.get$plainCss() && operator !== B.BinaryOperator_Kyq && operator !== B.BinaryOperator_Swh && operator !== B.BinaryOperator_QG1 && operator !== B.BinaryOperator_tht && operator !== B.BinaryOperator_Mh5) {
|
|
63383
63397
|
t2 = t1.scanner;
|
|
63384
63398
|
t3 = operator.operator.length;
|
|
63385
63399
|
t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
|
|
63386
63400
|
}
|
|
63387
|
-
t2 =
|
|
63401
|
+
t2 = _this._box_0;
|
|
63388
63402
|
t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_Mh5;
|
|
63389
63403
|
operators = t2.operators_;
|
|
63390
63404
|
if (operators == null)
|
|
@@ -63392,23 +63406,29 @@ self.util = _cliPkgRequires.util;
|
|
|
63392
63406
|
operands = t2.operands_;
|
|
63393
63407
|
if (operands == null)
|
|
63394
63408
|
operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression);
|
|
63395
|
-
t3 =
|
|
63409
|
+
t3 = _this.resolveOneOperation;
|
|
63396
63410
|
t4 = operator.precedence;
|
|
63397
63411
|
while (true) {
|
|
63398
63412
|
if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
|
|
63399
63413
|
break;
|
|
63400
63414
|
t3.call$0();
|
|
63401
63415
|
}
|
|
63402
|
-
operators.push(operator);
|
|
63403
63416
|
singleExpression = t2.singleExpression_;
|
|
63404
63417
|
if (singleExpression == null) {
|
|
63405
63418
|
t3 = t1.scanner;
|
|
63406
63419
|
t4 = operator.operator.length;
|
|
63407
63420
|
t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
|
|
63408
63421
|
}
|
|
63409
|
-
operands.push(singleExpression);
|
|
63410
63422
|
t1.whitespace$1$consumeNewlines(true);
|
|
63411
|
-
|
|
63423
|
+
if (operator === B.BinaryOperator_s7T && !t1._lookingAtExpression$0()) {
|
|
63424
|
+
t1 = t1.scanner;
|
|
63425
|
+
t1 = t1.spanFromPosition$1(t1._string_scanner$_position - 1);
|
|
63426
|
+
_this.addSingleExpression.call$1(new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable(["%"], type$.Object), B.List_null, t1), false));
|
|
63427
|
+
} else {
|
|
63428
|
+
operators.push(operator);
|
|
63429
|
+
operands.push(singleExpression);
|
|
63430
|
+
t2.singleExpression_ = t1._singleExpression$0();
|
|
63431
|
+
}
|
|
63412
63432
|
},
|
|
63413
63433
|
$signature: 344
|
|
63414
63434
|
};
|
|
@@ -67336,31 +67356,35 @@ self.util = _cliPkgRequires.util;
|
|
|
67336
67356
|
if (t1.length < 6)
|
|
67337
67357
|
return false;
|
|
67338
67358
|
_2_0 = t1.charCodeAt(0);
|
|
67339
|
-
$
|
|
67359
|
+
$label0$0: {
|
|
67340
67360
|
t2 = false;
|
|
67361
|
+
if (97 === _2_0 || 65 === _2_0) {
|
|
67362
|
+
t1 = (t1.charCodeAt(1) | 32) === 116 && (t1.charCodeAt(2) | 32) === 116 && (t1.charCodeAt(3) | 32) === 114 && t1.charCodeAt(4) === 40;
|
|
67363
|
+
break $label0$0;
|
|
67364
|
+
}
|
|
67341
67365
|
if (99 === _2_0 || 67 === _2_0) {
|
|
67342
67366
|
_0_0 = t1.charCodeAt(1);
|
|
67343
|
-
$
|
|
67367
|
+
$label1$1: {
|
|
67344
67368
|
if (108 === _0_0 || 76 === _0_0) {
|
|
67345
67369
|
t1 = (t1.charCodeAt(2) | 32) === 97 && (t1.charCodeAt(3) | 32) === 109 && (t1.charCodeAt(4) | 32) === 112 && t1.charCodeAt(5) === 40;
|
|
67346
|
-
break $
|
|
67370
|
+
break $label1$1;
|
|
67347
67371
|
}
|
|
67348
67372
|
if (97 === _0_0 || 65 === _0_0) {
|
|
67349
67373
|
t1 = (t1.charCodeAt(2) | 32) === 108 && (t1.charCodeAt(3) | 32) === 99 && t1.charCodeAt(4) === 40;
|
|
67350
|
-
break $
|
|
67374
|
+
break $label1$1;
|
|
67351
67375
|
}
|
|
67352
67376
|
t1 = t2;
|
|
67353
|
-
break $
|
|
67377
|
+
break $label1$1;
|
|
67354
67378
|
}
|
|
67355
|
-
break $
|
|
67379
|
+
break $label0$0;
|
|
67356
67380
|
}
|
|
67357
67381
|
if (118 === _2_0 || 86 === _2_0) {
|
|
67358
67382
|
t1 = (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
|
|
67359
|
-
break $
|
|
67383
|
+
break $label0$0;
|
|
67360
67384
|
}
|
|
67361
67385
|
if (101 === _2_0 || 69 === _2_0) {
|
|
67362
67386
|
t1 = (t1.charCodeAt(1) | 32) === 110 && (t1.charCodeAt(2) | 32) === 118 && t1.charCodeAt(3) === 40;
|
|
67363
|
-
break $
|
|
67387
|
+
break $label0$0;
|
|
67364
67388
|
}
|
|
67365
67389
|
if (109 === _2_0 || 77 === _2_0) {
|
|
67366
67390
|
_1_0 = t1.charCodeAt(1);
|
|
@@ -67376,10 +67400,10 @@ self.util = _cliPkgRequires.util;
|
|
|
67376
67400
|
t1 = t2;
|
|
67377
67401
|
break $label2$2;
|
|
67378
67402
|
}
|
|
67379
|
-
break $
|
|
67403
|
+
break $label0$0;
|
|
67380
67404
|
}
|
|
67381
67405
|
t1 = t2;
|
|
67382
|
-
break $
|
|
67406
|
+
break $label0$0;
|
|
67383
67407
|
}
|
|
67384
67408
|
return t1;
|
|
67385
67409
|
},
|
|
@@ -70338,7 +70362,7 @@ self.util = _cliPkgRequires.util;
|
|
|
70338
70362
|
case 4:
|
|
70339
70363
|
// join
|
|
70340
70364
|
if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
|
|
70341
|
-
$async$self._async_evaluate$_warn$3(string$.
|
|
70365
|
+
$async$self._async_evaluate$_warn$3(string$.Sassx20_f_, node.get$nameSpan(), B.Deprecation_Kg6);
|
|
70342
70366
|
oldInFunction = $async$self._async_evaluate$_inFunction;
|
|
70343
70367
|
$async$self._async_evaluate$_inFunction = true;
|
|
70344
70368
|
$async$goto = 12;
|
|
@@ -77402,7 +77426,7 @@ self.util = _cliPkgRequires.util;
|
|
|
77402
77426
|
} else
|
|
77403
77427
|
t2 = $function;
|
|
77404
77428
|
if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
|
|
77405
|
-
_this._warn$3(string$.
|
|
77429
|
+
_this._warn$3(string$.Sassx20_f_, node.get$nameSpan(), B.Deprecation_Kg6);
|
|
77406
77430
|
oldInFunction = _this._inFunction;
|
|
77407
77431
|
_this._inFunction = true;
|
|
77408
77432
|
result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure1(t1, _this, node));
|
|
@@ -84533,6 +84557,10 @@ self.util = _cliPkgRequires.util;
|
|
|
84533
84557
|
spanFrom$1(startState) {
|
|
84534
84558
|
return this.spanFrom$2(startState, null);
|
|
84535
84559
|
},
|
|
84560
|
+
spanFromPosition$1(startPosition) {
|
|
84561
|
+
var t1 = this._string_scanner$_position;
|
|
84562
|
+
return this._sourceFile.span$2(0, startPosition, t1);
|
|
84563
|
+
},
|
|
84536
84564
|
matches$1(pattern) {
|
|
84537
84565
|
var t1, t2, _this = this;
|
|
84538
84566
|
if (!_this.super$StringScanner$matches(pattern))
|
|
@@ -88910,7 +88938,7 @@ self.util = _cliPkgRequires.util;
|
|
|
88910
88938
|
case 4:
|
|
88911
88939
|
// join
|
|
88912
88940
|
if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
|
|
88913
|
-
$async$self._async_evaluate0$_warn$3(string$.
|
|
88941
|
+
$async$self._async_evaluate0$_warn$3(string$.Sassx20_f_, node.get$nameSpan(), B.Deprecation_d4j);
|
|
88914
88942
|
oldInFunction = $async$self._async_evaluate0$_inFunction;
|
|
88915
88943
|
$async$self._async_evaluate0$_inFunction = true;
|
|
88916
88944
|
$async$goto = 12;
|
|
@@ -101729,7 +101757,7 @@ self.util = _cliPkgRequires.util;
|
|
|
101729
101757
|
} else
|
|
101730
101758
|
t2 = $function;
|
|
101731
101759
|
if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
|
|
101732
|
-
_this._evaluate0$_warn$3(string$.
|
|
101760
|
+
_this._evaluate0$_warn$3(string$.Sassx20_f_, node.get$nameSpan(), B.Deprecation_d4j);
|
|
101733
101761
|
oldInFunction = _this._evaluate0$_inFunction;
|
|
101734
101762
|
_this._evaluate0$_inFunction = true;
|
|
101735
101763
|
result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure7(t1, _this, node));
|
|
@@ -118871,31 +118899,35 @@ self.util = _cliPkgRequires.util;
|
|
|
118871
118899
|
if (t1.length < 6)
|
|
118872
118900
|
return false;
|
|
118873
118901
|
_2_0 = t1.charCodeAt(0);
|
|
118874
|
-
$
|
|
118902
|
+
$label0$0: {
|
|
118875
118903
|
t2 = false;
|
|
118904
|
+
if (97 === _2_0 || 65 === _2_0) {
|
|
118905
|
+
t1 = (t1.charCodeAt(1) | 32) === 116 && (t1.charCodeAt(2) | 32) === 116 && (t1.charCodeAt(3) | 32) === 114 && t1.charCodeAt(4) === 40;
|
|
118906
|
+
break $label0$0;
|
|
118907
|
+
}
|
|
118876
118908
|
if (99 === _2_0 || 67 === _2_0) {
|
|
118877
118909
|
_0_0 = t1.charCodeAt(1);
|
|
118878
|
-
$
|
|
118910
|
+
$label1$1: {
|
|
118879
118911
|
if (108 === _0_0 || 76 === _0_0) {
|
|
118880
118912
|
t1 = (t1.charCodeAt(2) | 32) === 97 && (t1.charCodeAt(3) | 32) === 109 && (t1.charCodeAt(4) | 32) === 112 && t1.charCodeAt(5) === 40;
|
|
118881
|
-
break $
|
|
118913
|
+
break $label1$1;
|
|
118882
118914
|
}
|
|
118883
118915
|
if (97 === _0_0 || 65 === _0_0) {
|
|
118884
118916
|
t1 = (t1.charCodeAt(2) | 32) === 108 && (t1.charCodeAt(3) | 32) === 99 && t1.charCodeAt(4) === 40;
|
|
118885
|
-
break $
|
|
118917
|
+
break $label1$1;
|
|
118886
118918
|
}
|
|
118887
118919
|
t1 = t2;
|
|
118888
|
-
break $
|
|
118920
|
+
break $label1$1;
|
|
118889
118921
|
}
|
|
118890
|
-
break $
|
|
118922
|
+
break $label0$0;
|
|
118891
118923
|
}
|
|
118892
118924
|
if (118 === _2_0 || 86 === _2_0) {
|
|
118893
118925
|
t1 = (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
|
|
118894
|
-
break $
|
|
118926
|
+
break $label0$0;
|
|
118895
118927
|
}
|
|
118896
118928
|
if (101 === _2_0 || 69 === _2_0) {
|
|
118897
118929
|
t1 = (t1.charCodeAt(1) | 32) === 110 && (t1.charCodeAt(2) | 32) === 118 && t1.charCodeAt(3) === 40;
|
|
118898
|
-
break $
|
|
118930
|
+
break $label0$0;
|
|
118899
118931
|
}
|
|
118900
118932
|
if (109 === _2_0 || 77 === _2_0) {
|
|
118901
118933
|
_1_0 = t1.charCodeAt(1);
|
|
@@ -118911,10 +118943,10 @@ self.util = _cliPkgRequires.util;
|
|
|
118911
118943
|
t1 = t2;
|
|
118912
118944
|
break $label2$2;
|
|
118913
118945
|
}
|
|
118914
|
-
break $
|
|
118946
|
+
break $label0$0;
|
|
118915
118947
|
}
|
|
118916
118948
|
t1 = t2;
|
|
118917
|
-
break $
|
|
118949
|
+
break $label0$0;
|
|
118918
118950
|
}
|
|
118919
118951
|
return t1;
|
|
118920
118952
|
},
|
|
@@ -119699,15 +119731,17 @@ self.util = _cliPkgRequires.util;
|
|
|
119699
119731
|
return new A.ErrorRule0(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
|
|
119700
119732
|
},
|
|
119701
119733
|
_stylesheet0$_functionRule$1(start) {
|
|
119702
|
-
var precedingComment, t1,
|
|
119734
|
+
var precedingComment, t1, beforeName, $name, parameters, _0_0, _this = this;
|
|
119703
119735
|
_this.whitespace$1$consumeNewlines(true);
|
|
119704
119736
|
precedingComment = _this.lastSilentComment;
|
|
119705
119737
|
_this.lastSilentComment = null;
|
|
119706
119738
|
t1 = _this.scanner;
|
|
119707
|
-
|
|
119739
|
+
beforeName = new A._SpanScannerState(t1, t1._string_scanner$_position);
|
|
119708
119740
|
$name = _this.identifier$0();
|
|
119709
119741
|
if (B.JSString_methods.startsWith$1($name, "--"))
|
|
119710
|
-
_this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_d4j, string$.
|
|
119742
|
+
_this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_d4j, string$.Sassx20_f_, t1.spanFrom$1(beforeName)));
|
|
119743
|
+
else if (A.equalsIgnoreCase0($name, "type"))
|
|
119744
|
+
_this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_vQt, string$.Sassx20_fs, t1.spanFrom$1(beforeName)));
|
|
119711
119745
|
_this.whitespace$1$consumeNewlines(true);
|
|
119712
119746
|
parameters = _this._stylesheet0$_parameterList$0();
|
|
119713
119747
|
if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
|
|
@@ -120435,7 +120469,7 @@ self.util = _cliPkgRequires.util;
|
|
|
120435
120469
|
resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation0(_box_0, _this);
|
|
120436
120470
|
resolveOperations = new A.StylesheetParser__expression_resolveOperations0(_box_0, resolveOneOperation);
|
|
120437
120471
|
addSingleExpression = new A.StylesheetParser__expression_addSingleExpression0(_box_0, _this, resetState, resolveOperations);
|
|
120438
|
-
addOperator = new A.StylesheetParser__expression_addOperator0(_box_0, _this, resolveOneOperation);
|
|
120472
|
+
addOperator = new A.StylesheetParser__expression_addOperator0(_box_0, _this, resolveOneOperation, addSingleExpression);
|
|
120439
120473
|
resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions0(_box_0, _this, resolveOperations);
|
|
120440
120474
|
for (t3 = !consumeNewlines, t4 = type$.JSArray_Expression_2; true;) {
|
|
120441
120475
|
_this.whitespace$1$consumeNewlines(!t3 || bracketList);
|
|
@@ -120736,6 +120770,14 @@ self.util = _cliPkgRequires.util;
|
|
|
120736
120770
|
t1 = _this._stylesheet0$_importantExpression$0();
|
|
120737
120771
|
break $label0$0;
|
|
120738
120772
|
}
|
|
120773
|
+
if (37 === _0_0) {
|
|
120774
|
+
t2 = t1._string_scanner$_position;
|
|
120775
|
+
t1.readChar$0();
|
|
120776
|
+
t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
|
|
120777
|
+
t2 = new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable(["%"], type$.Object), B.List_null, t2), false);
|
|
120778
|
+
t1 = t2;
|
|
120779
|
+
break $label0$0;
|
|
120780
|
+
}
|
|
120739
120781
|
if ((117 === _0_0 || 85 === _0_0) && t1.peekChar$1(1) === 43) {
|
|
120740
120782
|
t1 = _this._stylesheet0$_unicodeRange$0();
|
|
120741
120783
|
break $label0$0;
|
|
@@ -122249,8 +122291,9 @@ self.util = _cliPkgRequires.util;
|
|
|
122249
122291
|
if (92 !== _1_0)
|
|
122250
122292
|
if (36 !== _1_0)
|
|
122251
122293
|
if (38 !== _1_0)
|
|
122252
|
-
if (
|
|
122253
|
-
|
|
122294
|
+
if (37 !== _1_0)
|
|
122295
|
+
if (!(_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128))
|
|
122296
|
+
t1 = _1_0 >= 48 && _1_0 <= 57;
|
|
122254
122297
|
if (t1) {
|
|
122255
122298
|
t1 = t2;
|
|
122256
122299
|
break $label0$0;
|
|
@@ -122651,14 +122694,14 @@ self.util = _cliPkgRequires.util;
|
|
|
122651
122694
|
};
|
|
122652
122695
|
A.StylesheetParser__expression_addOperator0.prototype = {
|
|
122653
122696
|
call$1(operator) {
|
|
122654
|
-
var t2, t3, operators, operands, t4, singleExpression,
|
|
122655
|
-
t1 =
|
|
122697
|
+
var t2, t3, operators, operands, t4, singleExpression, _this = this,
|
|
122698
|
+
t1 = _this.$this;
|
|
122656
122699
|
if (t1.get$plainCss() && operator !== B.BinaryOperator_Kyq0 && operator !== B.BinaryOperator_Swh0 && operator !== B.BinaryOperator_QG10 && operator !== B.BinaryOperator_tht0 && operator !== B.BinaryOperator_Mh50) {
|
|
122657
122700
|
t2 = t1.scanner;
|
|
122658
122701
|
t3 = operator.operator.length;
|
|
122659
122702
|
t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
|
|
122660
122703
|
}
|
|
122661
|
-
t2 =
|
|
122704
|
+
t2 = _this._box_0;
|
|
122662
122705
|
t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_Mh50;
|
|
122663
122706
|
operators = t2.operators_;
|
|
122664
122707
|
if (operators == null)
|
|
@@ -122666,23 +122709,29 @@ self.util = _cliPkgRequires.util;
|
|
|
122666
122709
|
operands = t2.operands_;
|
|
122667
122710
|
if (operands == null)
|
|
122668
122711
|
operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression_2);
|
|
122669
|
-
t3 =
|
|
122712
|
+
t3 = _this.resolveOneOperation;
|
|
122670
122713
|
t4 = operator.precedence;
|
|
122671
122714
|
while (true) {
|
|
122672
122715
|
if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
|
|
122673
122716
|
break;
|
|
122674
122717
|
t3.call$0();
|
|
122675
122718
|
}
|
|
122676
|
-
operators.push(operator);
|
|
122677
122719
|
singleExpression = t2.singleExpression_;
|
|
122678
122720
|
if (singleExpression == null) {
|
|
122679
122721
|
t3 = t1.scanner;
|
|
122680
122722
|
t4 = operator.operator.length;
|
|
122681
122723
|
t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
|
|
122682
122724
|
}
|
|
122683
|
-
operands.push(singleExpression);
|
|
122684
122725
|
t1.whitespace$1$consumeNewlines(true);
|
|
122685
|
-
|
|
122726
|
+
if (operator === B.BinaryOperator_s7T0 && !t1._stylesheet0$_lookingAtExpression$0()) {
|
|
122727
|
+
t1 = t1.scanner;
|
|
122728
|
+
t1 = t1.spanFromPosition$1(t1._string_scanner$_position - 1);
|
|
122729
|
+
_this.addSingleExpression.call$1(new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable(["%"], type$.Object), B.List_null, t1), false));
|
|
122730
|
+
} else {
|
|
122731
|
+
operators.push(operator);
|
|
122732
|
+
operands.push(singleExpression);
|
|
122733
|
+
t2.singleExpression_ = t1._stylesheet0$_singleExpression$0();
|
|
122734
|
+
}
|
|
122686
122735
|
},
|
|
122687
122736
|
$signature: 614
|
|
122688
122737
|
};
|
|
@@ -124894,8 +124943,8 @@ self.util = _cliPkgRequires.util;
|
|
|
124894
124943
|
Positi: "Positional arguments must come before keyword arguments.",
|
|
124895
124944
|
Privat: "Private members can't be accessed from outside their modules.",
|
|
124896
124945
|
Rest_a: "Rest arguments can't be used with calculations.",
|
|
124897
|
-
|
|
124898
|
-
|
|
124946
|
+
Sassx20_f_: "Sass @function names beginning with -- are deprecated for forward-compatibility with plain CSS functions.\n\nFor details, see https://sass-lang.com/d/css-function-mixin",
|
|
124947
|
+
Sassx20_fs: 'Sass @functions named "type" are deprecated for forward-compatibility with the plain CSS type() function.\n\nFor details, see https://sass-lang.com/d/type-function',
|
|
124899
124948
|
Sassx20_i: "Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
|
|
124900
124949
|
Sassx20_m: "Sass @mixin names beginning with -- are deprecated for forward-compatibility with plain CSS mixins.\n\nFor details, see https://sass-lang.com/d/css-function-mixin",
|
|
124901
124950
|
Sassx20v: "Sass variables aren't allowed in plain CSS.",
|
|
@@ -125854,12 +125903,14 @@ self.util = _cliPkgRequires.util;
|
|
|
125854
125903
|
B.Deprecation_hAa = new A.Deprecation("elseif", "1.3.2", "elseif");
|
|
125855
125904
|
B.Deprecation_hcg = new A.Deprecation("feature-exists", "1.78.0", "featureExists");
|
|
125856
125905
|
B.Deprecation_jG1 = new A.Deprecation("function-units", "1.56.0", "functionUnits");
|
|
125906
|
+
B.Deprecation_kms = new A.Deprecation("type-function", "1.86.0", "typeFunction");
|
|
125857
125907
|
B.Deprecation_l0m = new A.Deprecation0("null-alpha", "1.62.3", "Passing null as alpha in the JS API.", "nullAlpha");
|
|
125858
125908
|
B.Deprecation_mSy = new A.Deprecation0("new-global", "1.17.2", "Declaring new variables with !global.", "newGlobal");
|
|
125859
125909
|
B.Deprecation_pLJ = new A.Deprecation("abs-percent", "1.65.0", "absPercent");
|
|
125860
125910
|
B.Deprecation_t60 = new A.Deprecation("strict-unary", "1.55.0", "strictUnary");
|
|
125861
125911
|
B.Deprecation_tms = new A.Deprecation("fs-importer-cwd", "1.73.0", "fsImporterCwd");
|
|
125862
125912
|
B.Deprecation_u0j = new A.Deprecation("color-module-compat", "1.23.0", "colorModuleCompat");
|
|
125913
|
+
B.Deprecation_vQt = new A.Deprecation0("type-function", "1.86.0", 'Functions named "type".', "typeFunction");
|
|
125863
125914
|
B.Deprecation_vn5 = new A.Deprecation0("function-units", "1.56.0", "Passing invalid units to built-in functions.", "functionUnits");
|
|
125864
125915
|
B.DisplayP3ColorSpace_MmT = new A.DisplayP3ColorSpace("display-p3", B.List_U47);
|
|
125865
125916
|
B.DisplayP3ColorSpace_MmT0 = new A.DisplayP3ColorSpace0("display-p3", B.List_U470);
|
|
@@ -125946,12 +125997,12 @@ self.util = _cliPkgRequires.util;
|
|
|
125946
125997
|
B.Object_CHz = {dpi: 0, dpcm: 1, dppx: 2};
|
|
125947
125998
|
B.Set_w2NC6 = new A.ConstantStringSet(B.Object_CHz, 3, type$.ConstantStringSet_String);
|
|
125948
125999
|
B.List_BFg = A._setArrayType(makeConstList([B.Set_V30th, B.Set_5FBBb, B.Set_cXesm, B.Set_1Tayw, B.Set_w2NC6]), A.findType("JSArray<Set<String>>"));
|
|
126000
|
+
B.List_MG2 = A._setArrayType(makeConstList([B.Deprecation_aM0, B.Deprecation_8ki, B.Deprecation_L0R, B.Deprecation_Ord, B.Deprecation_mSy, B.Deprecation_Kry, B.Deprecation_FyB, B.Deprecation_SHb, B.Deprecation_CRw, B.Deprecation_vn5, B.Deprecation_BzI, B.Deprecation_l0m, B.Deprecation_UYp, B.Deprecation_Ds6, B.Deprecation_d4j, B.Deprecation_MSr, B.Deprecation_HIp, B.Deprecation_FD1, B.Deprecation_fdF, B.Deprecation_F8y, B.Deprecation_OHJ, B.Deprecation_ZDV, B.Deprecation_vQt, B.Deprecation_ZVM, B.Deprecation_f5Y]), A.findType("JSArray<Deprecation0>"));
|
|
125949
126001
|
B.Deprecation_MJf = new A.Deprecation("null-alpha", "1.62.3", "nullAlpha");
|
|
125950
126002
|
B.Deprecation_Nem = new A.Deprecation("color-4-api", "1.79.0", "color4Api");
|
|
125951
126003
|
B.Deprecation_fsU = new A.Deprecation("legacy-js-api", "1.79.0", "legacyJsApi");
|
|
125952
126004
|
B.Deprecation_ggp = new A.Deprecation("calc-interp", null, "calcInterp");
|
|
125953
|
-
B.
|
|
125954
|
-
B.List_SJo = A._setArrayType(makeConstList([B.Deprecation_aM0, B.Deprecation_8ki, B.Deprecation_L0R, B.Deprecation_Ord, B.Deprecation_mSy, B.Deprecation_Kry, B.Deprecation_FyB, B.Deprecation_SHb, B.Deprecation_CRw, B.Deprecation_vn5, B.Deprecation_BzI, B.Deprecation_l0m, B.Deprecation_UYp, B.Deprecation_Ds6, B.Deprecation_d4j, B.Deprecation_MSr, B.Deprecation_HIp, B.Deprecation_FD1, B.Deprecation_fdF, B.Deprecation_F8y, B.Deprecation_OHJ, B.Deprecation_ZDV, B.Deprecation_ZVM, B.Deprecation_f5Y]), A.findType("JSArray<Deprecation0>"));
|
|
126005
|
+
B.List_dCD = A._setArrayType(makeConstList([B.Deprecation_dAn, B.Deprecation_hAa, B.Deprecation_89v, B.Deprecation_746, B.Deprecation_Rg0, B.Deprecation_u0j, B.Deprecation_BvP, B.Deprecation_9hF, B.Deprecation_t60, B.Deprecation_jG1, B.Deprecation_0NP, B.Deprecation_MJf, B.Deprecation_pLJ, B.Deprecation_tms, B.Deprecation_Kg6, B.Deprecation_39u, B.Deprecation_hcg, B.Deprecation_Nem, B.Deprecation_cyE, B.Deprecation_fsU, B.Deprecation_2g5, B.Deprecation_1AX, B.Deprecation_kms, B.Deprecation_KtC, B.Deprecation_ggp]), A.findType("JSArray<Deprecation>"));
|
|
125955
126006
|
B.List_empty26 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncCallable_2);
|
|
125956
126007
|
B.List_empty27 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncImporter);
|
|
125957
126008
|
B.List_empty1 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector);
|
|
@@ -126790,8 +126841,8 @@ self.util = _cliPkgRequires.util;
|
|
|
126790
126841
|
_lazyFinal($, "deprecations", "$get$deprecations", () => {
|
|
126791
126842
|
var _i, deprecation, t2,
|
|
126792
126843
|
t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Deprecation1?"));
|
|
126793
|
-
for (_i = 0; _i <
|
|
126794
|
-
deprecation = B.
|
|
126844
|
+
for (_i = 0; _i < 25; ++_i) {
|
|
126845
|
+
deprecation = B.List_MG2[_i];
|
|
126795
126846
|
if (deprecation !== B.Deprecation_f5Y) {
|
|
126796
126847
|
t2 = deprecation.id;
|
|
126797
126848
|
t1.$indexSet(0, t2, {id: t2, status: new A.deprecations_closure(deprecation).call$0(), description: deprecation.description, deprecatedIn: deprecation.get$deprecatedIn(0), obsoleteIn: deprecation.get$deprecatedIn(0)});
|
package/types/deprecations.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export interface Deprecations {
|
|
8
8
|
// START AUTOGENERATED LIST
|
|
9
|
-
// Checksum:
|
|
9
|
+
// Checksum: 3639e60773866019c018ae16267c8f23e4df86cf
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Deprecation for passing a string directly to meta.call().
|
|
@@ -162,6 +162,13 @@ export interface Deprecations {
|
|
|
162
162
|
*/
|
|
163
163
|
'global-builtin': Deprecation<'global-builtin'>;
|
|
164
164
|
|
|
165
|
+
/**
|
|
166
|
+
* Deprecation for functions named "type".
|
|
167
|
+
*
|
|
168
|
+
* This deprecation became active in Dart Sass 1.86.0.
|
|
169
|
+
*/
|
|
170
|
+
'type-function': Deprecation<'type-function'>;
|
|
171
|
+
|
|
165
172
|
// END AUTOGENERATED LIST
|
|
166
173
|
|
|
167
174
|
/**
|