sass 1.94.2 → 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 +21 -13
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]
|
|
@@ -28654,7 +28654,7 @@ self.util = _cliPkgRequires.util;
|
|
|
28654
28654
|
J.set$deprecations$x(self.exports, A.jsify($.$get$deprecations()));
|
|
28655
28655
|
J.set$Version$x(self.exports, $.$get$versionClass());
|
|
28656
28656
|
J.set$loadParserExports_$x(self.exports, A.allowInterop(A.parser0__loadParserExports$closure()));
|
|
28657
|
-
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]");
|
|
28658
28658
|
A.updateCanonicalizeContextPrototype();
|
|
28659
28659
|
A.updateSourceSpanPrototype();
|
|
28660
28660
|
J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
|
|
@@ -33916,7 +33916,7 @@ self.util = _cliPkgRequires.util;
|
|
|
33916
33916
|
switch ($async$goto) {
|
|
33917
33917
|
case 0:
|
|
33918
33918
|
// Function start
|
|
33919
|
-
$async$returnValue = "1.94.
|
|
33919
|
+
$async$returnValue = "1.94.3 compiled with dart2js 3.10.3";
|
|
33920
33920
|
// goto return
|
|
33921
33921
|
$async$goto = 1;
|
|
33922
33922
|
break;
|
|
@@ -52209,7 +52209,7 @@ self.util = _cliPkgRequires.util;
|
|
|
52209
52209
|
}
|
|
52210
52210
|
try {
|
|
52211
52211
|
argVersion = A.Version_Version$parse(id);
|
|
52212
|
-
sassVersion = A.Version_Version$parse("1.94.
|
|
52212
|
+
sassVersion = A.Version_Version$parse("1.94.3");
|
|
52213
52213
|
if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
|
|
52214
52214
|
A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
|
|
52215
52215
|
J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
|
|
@@ -59012,10 +59012,13 @@ self.util = _cliPkgRequires.util;
|
|
|
59012
59012
|
spanFrom$1(start) {
|
|
59013
59013
|
return this.spanFrom$2(start, null);
|
|
59014
59014
|
},
|
|
59015
|
-
spanFromPosition$
|
|
59016
|
-
var span = this.scanner.spanFromPosition$2(start,
|
|
59015
|
+
spanFromPosition$2(start, end) {
|
|
59016
|
+
var span = this.scanner.spanFromPosition$2(start, end);
|
|
59017
59017
|
return this._interpolationMap == null ? span : new A.LazyFileSpan(new A.Parser_spanFromPosition_closure(this, span));
|
|
59018
59018
|
},
|
|
59019
|
+
spanFromPosition$1(start) {
|
|
59020
|
+
return this.spanFromPosition$2(start, null);
|
|
59021
|
+
},
|
|
59019
59022
|
error$3(_, message, span, trace) {
|
|
59020
59023
|
var exception = new A.StringScannerException(this.scanner.string, message, span);
|
|
59021
59024
|
if (trace == null)
|
|
@@ -63952,7 +63955,7 @@ self.util = _cliPkgRequires.util;
|
|
|
63952
63955
|
};
|
|
63953
63956
|
A.StylesheetParser__expression_addOperator.prototype = {
|
|
63954
63957
|
call$1(operator) {
|
|
63955
|
-
var t2, t3, operators, operands, t4, singleExpression, _this = this,
|
|
63958
|
+
var t2, t3, operators, operands, t4, singleExpression, operatorEnd, _this = this,
|
|
63956
63959
|
t1 = _this.$this;
|
|
63957
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) {
|
|
63958
63961
|
t2 = t1.scanner;
|
|
@@ -63980,9 +63983,10 @@ self.util = _cliPkgRequires.util;
|
|
|
63980
63983
|
t4 = operator.operator.length;
|
|
63981
63984
|
t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
|
|
63982
63985
|
}
|
|
63986
|
+
operatorEnd = t1.scanner._string_scanner$_position;
|
|
63983
63987
|
t1.whitespace$1$consumeNewlines(true);
|
|
63984
63988
|
if (operator === B.BinaryOperator_bgA && !t1._lookingAtExpression$0()) {
|
|
63985
|
-
t1 = t1.spanFromPosition$
|
|
63989
|
+
t1 = t1.spanFromPosition$2(operatorEnd - 1, operatorEnd);
|
|
63986
63990
|
_this.addSingleExpression.call$1(new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable(["%"], type$.Object), B.List_null, t1), false));
|
|
63987
63991
|
} else {
|
|
63988
63992
|
operators.push(operator);
|
|
@@ -85153,7 +85157,7 @@ self.util = _cliPkgRequires.util;
|
|
|
85153
85157
|
return this.spanFrom$2(startState, null);
|
|
85154
85158
|
},
|
|
85155
85159
|
spanFromPosition$2(startPosition, endPosition) {
|
|
85156
|
-
var t1 = this._string_scanner$_position;
|
|
85160
|
+
var t1 = endPosition == null ? this._string_scanner$_position : endPosition;
|
|
85157
85161
|
return this._sourceFile.span$2(0, startPosition, t1);
|
|
85158
85162
|
},
|
|
85159
85163
|
matches$1(pattern) {
|
|
@@ -114519,10 +114523,13 @@ self.util = _cliPkgRequires.util;
|
|
|
114519
114523
|
spanFrom$1(start) {
|
|
114520
114524
|
return this.spanFrom$2(start, null);
|
|
114521
114525
|
},
|
|
114522
|
-
spanFromPosition$
|
|
114523
|
-
var span = this.scanner.spanFromPosition$2(start,
|
|
114526
|
+
spanFromPosition$2(start, end) {
|
|
114527
|
+
var span = this.scanner.spanFromPosition$2(start, end);
|
|
114524
114528
|
return this._parser1$_interpolationMap == null ? span : new A.LazyFileSpan0(new A.Parser_spanFromPosition_closure0(this, span));
|
|
114525
114529
|
},
|
|
114530
|
+
spanFromPosition$1(start) {
|
|
114531
|
+
return this.spanFromPosition$2(start, null);
|
|
114532
|
+
},
|
|
114526
114533
|
error$3(_, message, span, trace) {
|
|
114527
114534
|
var exception = new A.StringScannerException(this.scanner.string, message, span);
|
|
114528
114535
|
if (trace == null)
|
|
@@ -124275,7 +124282,7 @@ self.util = _cliPkgRequires.util;
|
|
|
124275
124282
|
};
|
|
124276
124283
|
A.StylesheetParser__expression_addOperator0.prototype = {
|
|
124277
124284
|
call$1(operator) {
|
|
124278
|
-
var t2, t3, operators, operands, t4, singleExpression, _this = this,
|
|
124285
|
+
var t2, t3, operators, operands, t4, singleExpression, operatorEnd, _this = this,
|
|
124279
124286
|
t1 = _this.$this;
|
|
124280
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) {
|
|
124281
124288
|
t2 = t1.scanner;
|
|
@@ -124303,9 +124310,10 @@ self.util = _cliPkgRequires.util;
|
|
|
124303
124310
|
t4 = operator.operator.length;
|
|
124304
124311
|
t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
|
|
124305
124312
|
}
|
|
124313
|
+
operatorEnd = t1.scanner._string_scanner$_position;
|
|
124306
124314
|
t1.whitespace$1$consumeNewlines(true);
|
|
124307
124315
|
if (operator === B.BinaryOperator_bgA0 && !t1._stylesheet0$_lookingAtExpression$0()) {
|
|
124308
|
-
t1 = t1.spanFromPosition$
|
|
124316
|
+
t1 = t1.spanFromPosition$2(operatorEnd - 1, operatorEnd);
|
|
124309
124317
|
_this.addSingleExpression.call$1(new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable(["%"], type$.Object), B.List_null, t1), false));
|
|
124310
124318
|
} else {
|
|
124311
124319
|
operators.push(operator);
|