sass 1.94.1 → 1.94.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/LICENSE +27 -0
- package/package.json +1 -1
- package/sass.dart.js +41 -15
package/LICENSE
CHANGED
|
@@ -1208,6 +1208,33 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
1208
1208
|
THE SOFTWARE.
|
|
1209
1209
|
|
|
1210
1210
|
|
|
1211
|
+
--------------------------------------------------------------------------------
|
|
1212
|
+
|
|
1213
|
+
posix license:
|
|
1214
|
+
|
|
1215
|
+
MIT License
|
|
1216
|
+
|
|
1217
|
+
Copyright (c) 2020 Brett Sutton
|
|
1218
|
+
|
|
1219
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1220
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
1221
|
+
in the Software without restriction, including without limitation the rights
|
|
1222
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1223
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
1224
|
+
furnished to do so, subject to the following conditions:
|
|
1225
|
+
|
|
1226
|
+
The above copyright notice and this permission notice shall be included in all
|
|
1227
|
+
copies or substantial portions of the Software.
|
|
1228
|
+
|
|
1229
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1230
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1231
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1232
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1233
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1234
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1235
|
+
SOFTWARE.
|
|
1236
|
+
|
|
1237
|
+
|
|
1211
1238
|
--------------------------------------------------------------------------------
|
|
1212
1239
|
|
|
1213
1240
|
pub_api_client 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":"^
|
|
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":"^5.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.94.3","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.3.
|
|
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]
|
|
@@ -10534,7 +10534,16 @@ self.util = _cliPkgRequires.util;
|
|
|
10534
10534
|
$self = deprecation._deprecatedIn;
|
|
10535
10535
|
t3 = $self == null ? null : A.Version___parse_tearOff($self);
|
|
10536
10536
|
t3 = t3 == null ? null : t2.call$1(t3);
|
|
10537
|
-
if (t3 == null ? false : t3)
|
|
10537
|
+
if (t3 == null ? false : t3) {
|
|
10538
|
+
$self = deprecation._obsoleteIn;
|
|
10539
|
+
if ($self == null)
|
|
10540
|
+
t3 = null;
|
|
10541
|
+
else
|
|
10542
|
+
t3 = A.Version___parse_tearOff($self);
|
|
10543
|
+
t3 = t3 == null;
|
|
10544
|
+
} else
|
|
10545
|
+
t3 = false;
|
|
10546
|
+
if (t3)
|
|
10538
10547
|
t1.add$1(0, deprecation);
|
|
10539
10548
|
}
|
|
10540
10549
|
return t1;
|
|
@@ -25597,7 +25606,16 @@ self.util = _cliPkgRequires.util;
|
|
|
25597
25606
|
$self = deprecation._deprecation$_deprecatedIn;
|
|
25598
25607
|
t3 = $self == null ? null : A.Version___parse_tearOff($self);
|
|
25599
25608
|
t3 = t3 == null ? null : t2.call$1(t3);
|
|
25600
|
-
if (t3 == null ? false : t3)
|
|
25609
|
+
if (t3 == null ? false : t3) {
|
|
25610
|
+
$self = deprecation._deprecation$_obsoleteIn;
|
|
25611
|
+
if ($self == null)
|
|
25612
|
+
t3 = null;
|
|
25613
|
+
else
|
|
25614
|
+
t3 = A.Version___parse_tearOff($self);
|
|
25615
|
+
t3 = t3 == null;
|
|
25616
|
+
} else
|
|
25617
|
+
t3 = false;
|
|
25618
|
+
if (t3)
|
|
25601
25619
|
t1.add$1(0, deprecation);
|
|
25602
25620
|
}
|
|
25603
25621
|
return t1;
|
|
@@ -28636,7 +28654,7 @@ self.util = _cliPkgRequires.util;
|
|
|
28636
28654
|
J.set$deprecations$x(self.exports, A.jsify($.$get$deprecations()));
|
|
28637
28655
|
J.set$Version$x(self.exports, $.$get$versionClass());
|
|
28638
28656
|
J.set$loadParserExports_$x(self.exports, A.allowInterop(A.parser0__loadParserExports$closure()));
|
|
28639
|
-
J.set$info$x(self.exports, "dart-sass\t1.94.
|
|
28657
|
+
J.set$info$x(self.exports, "dart-sass\t1.94.3\t(Sass Compiler)\t[Dart]\ndart2js\t3.10.3\t(Dart Compiler)\t[Dart]");
|
|
28640
28658
|
A.updateCanonicalizeContextPrototype();
|
|
28641
28659
|
A.updateSourceSpanPrototype();
|
|
28642
28660
|
J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
|
|
@@ -33898,7 +33916,7 @@ self.util = _cliPkgRequires.util;
|
|
|
33898
33916
|
switch ($async$goto) {
|
|
33899
33917
|
case 0:
|
|
33900
33918
|
// Function start
|
|
33901
|
-
$async$returnValue = "1.94.
|
|
33919
|
+
$async$returnValue = "1.94.3 compiled with dart2js 3.10.3";
|
|
33902
33920
|
// goto return
|
|
33903
33921
|
$async$goto = 1;
|
|
33904
33922
|
break;
|
|
@@ -52191,7 +52209,7 @@ self.util = _cliPkgRequires.util;
|
|
|
52191
52209
|
}
|
|
52192
52210
|
try {
|
|
52193
52211
|
argVersion = A.Version_Version$parse(id);
|
|
52194
|
-
sassVersion = A.Version_Version$parse("1.94.
|
|
52212
|
+
sassVersion = A.Version_Version$parse("1.94.3");
|
|
52195
52213
|
if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
|
|
52196
52214
|
A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
|
|
52197
52215
|
J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
|
|
@@ -58994,10 +59012,13 @@ self.util = _cliPkgRequires.util;
|
|
|
58994
59012
|
spanFrom$1(start) {
|
|
58995
59013
|
return this.spanFrom$2(start, null);
|
|
58996
59014
|
},
|
|
58997
|
-
spanFromPosition$
|
|
58998
|
-
var span = this.scanner.spanFromPosition$2(start,
|
|
59015
|
+
spanFromPosition$2(start, end) {
|
|
59016
|
+
var span = this.scanner.spanFromPosition$2(start, end);
|
|
58999
59017
|
return this._interpolationMap == null ? span : new A.LazyFileSpan(new A.Parser_spanFromPosition_closure(this, span));
|
|
59000
59018
|
},
|
|
59019
|
+
spanFromPosition$1(start) {
|
|
59020
|
+
return this.spanFromPosition$2(start, null);
|
|
59021
|
+
},
|
|
59001
59022
|
error$3(_, message, span, trace) {
|
|
59002
59023
|
var exception = new A.StringScannerException(this.scanner.string, message, span);
|
|
59003
59024
|
if (trace == null)
|
|
@@ -63934,7 +63955,7 @@ self.util = _cliPkgRequires.util;
|
|
|
63934
63955
|
};
|
|
63935
63956
|
A.StylesheetParser__expression_addOperator.prototype = {
|
|
63936
63957
|
call$1(operator) {
|
|
63937
|
-
var t2, t3, operators, operands, t4, singleExpression, _this = this,
|
|
63958
|
+
var t2, t3, operators, operands, t4, singleExpression, operatorEnd, _this = this,
|
|
63938
63959
|
t1 = _this.$this;
|
|
63939
63960
|
if (t1.get$plainCss() && operator !== B.BinaryOperator_g6F && operator !== B.BinaryOperator_jCK && operator !== B.BinaryOperator_tDf && operator !== B.BinaryOperator_wkM && operator !== B.BinaryOperator_ehp) {
|
|
63940
63961
|
t2 = t1.scanner;
|
|
@@ -63962,9 +63983,10 @@ self.util = _cliPkgRequires.util;
|
|
|
63962
63983
|
t4 = operator.operator.length;
|
|
63963
63984
|
t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
|
|
63964
63985
|
}
|
|
63986
|
+
operatorEnd = t1.scanner._string_scanner$_position;
|
|
63965
63987
|
t1.whitespace$1$consumeNewlines(true);
|
|
63966
63988
|
if (operator === B.BinaryOperator_bgA && !t1._lookingAtExpression$0()) {
|
|
63967
|
-
t1 = t1.spanFromPosition$
|
|
63989
|
+
t1 = t1.spanFromPosition$2(operatorEnd - 1, operatorEnd);
|
|
63968
63990
|
_this.addSingleExpression.call$1(new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable(["%"], type$.Object), B.List_null, t1), false));
|
|
63969
63991
|
} else {
|
|
63970
63992
|
operators.push(operator);
|
|
@@ -85135,7 +85157,7 @@ self.util = _cliPkgRequires.util;
|
|
|
85135
85157
|
return this.spanFrom$2(startState, null);
|
|
85136
85158
|
},
|
|
85137
85159
|
spanFromPosition$2(startPosition, endPosition) {
|
|
85138
|
-
var t1 = this._string_scanner$_position;
|
|
85160
|
+
var t1 = endPosition == null ? this._string_scanner$_position : endPosition;
|
|
85139
85161
|
return this._sourceFile.span$2(0, startPosition, t1);
|
|
85140
85162
|
},
|
|
85141
85163
|
matches$1(pattern) {
|
|
@@ -114501,10 +114523,13 @@ self.util = _cliPkgRequires.util;
|
|
|
114501
114523
|
spanFrom$1(start) {
|
|
114502
114524
|
return this.spanFrom$2(start, null);
|
|
114503
114525
|
},
|
|
114504
|
-
spanFromPosition$
|
|
114505
|
-
var span = this.scanner.spanFromPosition$2(start,
|
|
114526
|
+
spanFromPosition$2(start, end) {
|
|
114527
|
+
var span = this.scanner.spanFromPosition$2(start, end);
|
|
114506
114528
|
return this._parser1$_interpolationMap == null ? span : new A.LazyFileSpan0(new A.Parser_spanFromPosition_closure0(this, span));
|
|
114507
114529
|
},
|
|
114530
|
+
spanFromPosition$1(start) {
|
|
114531
|
+
return this.spanFromPosition$2(start, null);
|
|
114532
|
+
},
|
|
114508
114533
|
error$3(_, message, span, trace) {
|
|
114509
114534
|
var exception = new A.StringScannerException(this.scanner.string, message, span);
|
|
114510
114535
|
if (trace == null)
|
|
@@ -124257,7 +124282,7 @@ self.util = _cliPkgRequires.util;
|
|
|
124257
124282
|
};
|
|
124258
124283
|
A.StylesheetParser__expression_addOperator0.prototype = {
|
|
124259
124284
|
call$1(operator) {
|
|
124260
|
-
var t2, t3, operators, operands, t4, singleExpression, _this = this,
|
|
124285
|
+
var t2, t3, operators, operands, t4, singleExpression, operatorEnd, _this = this,
|
|
124261
124286
|
t1 = _this.$this;
|
|
124262
124287
|
if (t1.get$plainCss() && operator !== B.BinaryOperator_g6F0 && operator !== B.BinaryOperator_jCK0 && operator !== B.BinaryOperator_tDf0 && operator !== B.BinaryOperator_wkM0 && operator !== B.BinaryOperator_ehp0) {
|
|
124263
124288
|
t2 = t1.scanner;
|
|
@@ -124285,9 +124310,10 @@ self.util = _cliPkgRequires.util;
|
|
|
124285
124310
|
t4 = operator.operator.length;
|
|
124286
124311
|
t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
|
|
124287
124312
|
}
|
|
124313
|
+
operatorEnd = t1.scanner._string_scanner$_position;
|
|
124288
124314
|
t1.whitespace$1$consumeNewlines(true);
|
|
124289
124315
|
if (operator === B.BinaryOperator_bgA0 && !t1._stylesheet0$_lookingAtExpression$0()) {
|
|
124290
|
-
t1 = t1.spanFromPosition$
|
|
124316
|
+
t1 = t1.spanFromPosition$2(operatorEnd - 1, operatorEnd);
|
|
124291
124317
|
_this.addSingleExpression.call$1(new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable(["%"], type$.Object), B.List_null, t1), false));
|
|
124292
124318
|
} else {
|
|
124293
124319
|
operators.push(operator);
|