sass 1.42.0 → 1.42.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.
Files changed (3) hide show
  1. package/LICENSE +114 -1
  2. package/package.json +1 -1
  3. package/sass.dart.js +166 -30
package/LICENSE CHANGED
@@ -315,7 +315,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
315
315
 
316
316
  --------------------------------------------------------------------------------
317
317
 
318
- charcode, glob, http_parser, path, pool, shelf_web_socket, source_maps,
318
+ charcode, glob, http_parser, oauth2, path, pool, shelf_web_socket, source_maps,
319
319
  source_span, stack_trace, string_scanner, watcher and yaml license:
320
320
 
321
321
  Copyright 2014, the Dart project authors. All rights reserved.
@@ -953,6 +953,32 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
953
953
 
954
954
  --------------------------------------------------------------------------------
955
955
 
956
+ freezed_annotation license:
957
+
958
+ MIT License
959
+
960
+ Copyright (c) 2020 Remi Rousselet
961
+
962
+ Permission is hereby granted, free of charge, to any person obtaining a copy
963
+ of this software and associated documentation files (the "Software"), to deal
964
+ in the Software without restriction, including without limitation the rights
965
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
966
+ copies of the Software, and to permit persons to whom the Software is
967
+ furnished to do so, subject to the following conditions:
968
+
969
+ The above copyright notice and this permission notice shall be included in all
970
+ copies or substantial portions of the Software.
971
+
972
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
973
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
974
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
975
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
976
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
977
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
978
+ SOFTWARE.
979
+
980
+ --------------------------------------------------------------------------------
981
+
956
982
  frontend_server_client license:
957
983
 
958
984
  Copyright 2020, the Dart project authors.
@@ -1326,6 +1352,63 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1326
1352
  THE SOFTWARE.
1327
1353
 
1328
1354
 
1355
+ --------------------------------------------------------------------------------
1356
+
1357
+ pub_api_client license:
1358
+
1359
+ MIT License
1360
+
1361
+ Copyright (c) 2020 Leo Farias
1362
+
1363
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1364
+ of this software and associated documentation files (the "Software"), to deal
1365
+ in the Software without restriction, including without limitation the rights
1366
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1367
+ copies of the Software, and to permit persons to whom the Software is
1368
+ furnished to do so, subject to the following conditions:
1369
+
1370
+ The above copyright notice and this permission notice shall be included in all
1371
+ copies or substantial portions of the Software.
1372
+
1373
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1374
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1375
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1376
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1377
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1378
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1379
+ SOFTWARE.
1380
+
1381
+
1382
+ --------------------------------------------------------------------------------
1383
+
1384
+ pubspec license:
1385
+
1386
+ Copyright (c) 2015, Anders Holmgren.
1387
+ All rights reserved.
1388
+
1389
+ Redistribution and use in source and binary forms, with or without
1390
+ modification, are permitted provided that the following conditions are met:
1391
+ * Redistributions of source code must retain the above copyright
1392
+ notice, this list of conditions and the following disclaimer.
1393
+ * Redistributions in binary form must reproduce the above copyright
1394
+ notice, this list of conditions and the following disclaimer in the
1395
+ documentation and/or other materials provided with the distribution.
1396
+ * Neither the name of the <organization> nor the
1397
+ names of its contributors may be used to endorse or promote products
1398
+ derived from this software without specific prior written permission.
1399
+
1400
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1401
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1402
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1403
+ DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
1404
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1405
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
1406
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
1407
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1408
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
1409
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1410
+
1411
+
1329
1412
  --------------------------------------------------------------------------------
1330
1413
 
1331
1414
  pubspec_parse, test_api and test_core license:
@@ -1419,6 +1502,36 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1419
1502
  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
1420
1503
  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1421
1504
 
1505
+ --------------------------------------------------------------------------------
1506
+
1507
+ uri license:
1508
+
1509
+ Copyright 2013, the Dart project authors. All rights reserved.
1510
+ Redistribution and use in source and binary forms, with or without
1511
+ modification, are permitted provided that the following conditions are
1512
+ met:
1513
+ * Redistributions of source code must retain the above copyright
1514
+ notice, this list of conditions and the following disclaimer.
1515
+ * Redistributions in binary form must reproduce the above
1516
+ copyright notice, this list of conditions and the following
1517
+ disclaimer in the documentation and/or other materials provided
1518
+ with the distribution.
1519
+ * Neither the name of Google Inc. nor the names of its
1520
+ contributors may be used to endorse or promote products derived
1521
+ from this software without specific prior written permission.
1522
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1523
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1524
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1525
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1526
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1527
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1528
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1529
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1530
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1531
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1532
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1533
+
1534
+
1422
1535
  --------------------------------------------------------------------------------
1423
1536
 
1424
1537
  web_socket_channel 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":">=8.9.0"},"dependencies":{"chokidar":">=3.0.0 <4.0.0"},"keywords":["style","scss","sass","preprocessor","css"],"version":"1.42.0","bin":{"sass":"sass.js"},"main":"sass.dart.js"}
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":">=8.9.0"},"dependencies":{"chokidar":">=3.0.0 <4.0.0"},"keywords":["style","scss","sass","preprocessor","css"],"version":"1.42.1","bin":{"sass":"sass.js"},"main":"sass.dart.js"}
package/sass.dart.js CHANGED
@@ -17808,7 +17808,7 @@ self.fs = require("fs");
17808
17808
  new Uint8Array(0);
17809
17809
  J.set$render$x(self.exports, P.allowInterop(B.node___render$closure()));
17810
17810
  J.set$renderSync$x(self.exports, P.allowInterop(B.node___renderSync$closure()));
17811
- J.set$info$x(self.exports, "dart-sass\t1.42.0\t(Sass Compiler)\t[Dart]\ndart2js\t2.14.2\t(Dart Compiler)\t[Dart]");
17811
+ J.set$info$x(self.exports, "dart-sass\t1.42.1\t(Sass Compiler)\t[Dart]\ndart2js\t2.14.2\t(Dart Compiler)\t[Dart]");
17812
17812
  J.set$types$x(self.exports, {Boolean: $.$get$booleanConstructor(), Color: $.$get$colorConstructor(), List: $.$get$listConstructor(), Map: $.$get$mapConstructor(), Null: $.$get$nullConstructor(), Number: $.$get$numberConstructor(), String: $.$get$stringConstructor(), Error: self.Error});
17813
17813
  J.set$NULL$x(self.exports, C.C__SassNull);
17814
17814
  J.set$TRUE$x(self.exports, C.SassBoolean_true);
@@ -19350,7 +19350,7 @@ self.fs = require("fs");
19350
19350
  switch ($async$goto) {
19351
19351
  case 0:
19352
19352
  // Function start
19353
- $async$returnValue = "1.42.0 compiled with dart2js 2.14.2";
19353
+ $async$returnValue = "1.42.1 compiled with dart2js 2.14.2";
19354
19354
  // goto return
19355
19355
  $async$goto = 1;
19356
19356
  break;
@@ -47268,37 +47268,105 @@ self.fs = require("fs");
47268
47268
  }
47269
47269
  },
47270
47270
  _containsCalculationInterpolation$0() {
47271
- var i, parens, next,
47271
+ var t2, parens, next, target, t3, _null = null,
47272
+ _s64_ = string$.The_gi,
47273
+ _s17_ = "Invalid position ",
47272
47274
  brackets = H._setArrayType([], type$.JSArray_int),
47273
47275
  t1 = this.scanner,
47274
- string = t1.string;
47275
- for (i = t1._string_scanner$_position, t1 = string.length - 1, parens = 0; i < t1; ++i) {
47276
- next = C.JSString_methods.codeUnitAt$1(string, i);
47276
+ start = new S._SpanScannerState(t1, t1._string_scanner$_position);
47277
+ for (t2 = t1.string.length, parens = 0; t1._string_scanner$_position !== t2;) {
47278
+ next = t1.peekChar$0();
47277
47279
  switch (next) {
47278
47280
  case 92:
47279
- ++i;
47281
+ target = 1;
47282
+ break;
47283
+ case 47:
47284
+ target = 2;
47285
+ break;
47286
+ case 39:
47287
+ case 34:
47288
+ target = 3;
47280
47289
  break;
47281
47290
  case 35:
47282
- if (parens === 0 && C.JSString_methods.codeUnitAt$1(string, i + 1) === 123)
47283
- return true;
47291
+ target = 4;
47284
47292
  break;
47285
47293
  case 40:
47286
- ++parens;
47287
- continue;
47294
+ target = 5;
47295
+ break;
47288
47296
  case 123:
47289
47297
  case 91:
47290
- brackets.push(T.opposite(next));
47298
+ target = 6;
47291
47299
  break;
47292
47300
  case 41:
47293
- --parens;
47294
- continue;
47301
+ target = 7;
47302
+ break;
47295
47303
  case 125:
47296
47304
  case 93:
47297
- if (brackets.length === 0 || brackets.pop() !== next)
47298
- return false;
47305
+ target = 8;
47306
+ break;
47307
+ default:
47308
+ target = 9;
47299
47309
  break;
47300
47310
  }
47311
+ c$0:
47312
+ for (; true;)
47313
+ switch (target) {
47314
+ case 1:
47315
+ t1.readChar$0();
47316
+ t1.readChar$0();
47317
+ break c$0;
47318
+ case 2:
47319
+ if (!this.scanComment$0())
47320
+ t1.readChar$0();
47321
+ break c$0;
47322
+ case 3:
47323
+ this.interpolatedString$0();
47324
+ break c$0;
47325
+ case 4:
47326
+ if (parens === 0 && t1.peekChar$1(1) === 123) {
47327
+ if (start._scanner !== t1)
47328
+ H.throwExpression(P.ArgumentError$(_s64_, _null));
47329
+ t3 = start.position;
47330
+ if (t3 < 0 || t3 > t2)
47331
+ H.throwExpression(P.ArgumentError$(_s17_ + t3, _null));
47332
+ t1._string_scanner$_position = t3;
47333
+ t1._lastMatch = null;
47334
+ return true;
47335
+ }
47336
+ t1.readChar$0();
47337
+ break c$0;
47338
+ case 5:
47339
+ ++parens;
47340
+ target = 6;
47341
+ continue c$0;
47342
+ case 6:
47343
+ next.toString;
47344
+ brackets.push(T.opposite(next));
47345
+ t1.readChar$0();
47346
+ break c$0;
47347
+ case 7:
47348
+ --parens;
47349
+ target = 8;
47350
+ continue c$0;
47351
+ case 8:
47352
+ if (brackets.length === 0 || brackets.pop() !== next) {
47353
+ if (start._scanner !== t1)
47354
+ H.throwExpression(P.ArgumentError$(_s64_, _null));
47355
+ t3 = start.position;
47356
+ if (t3 < 0 || t3 > t2)
47357
+ H.throwExpression(P.ArgumentError$(_s17_ + t3, _null));
47358
+ t1._string_scanner$_position = t3;
47359
+ t1._lastMatch = null;
47360
+ return false;
47361
+ }
47362
+ t1.readChar$0();
47363
+ break c$0;
47364
+ case 9:
47365
+ t1.readChar$0();
47366
+ break c$0;
47367
+ }
47301
47368
  }
47369
+ t1.set$state(start);
47302
47370
  return false;
47303
47371
  },
47304
47372
  _tryUrlContents$2$name(start, $name) {
@@ -91035,37 +91103,105 @@ self.fs = require("fs");
91035
91103
  }
91036
91104
  },
91037
91105
  _stylesheet0$_containsCalculationInterpolation$0() {
91038
- var i, parens, next,
91106
+ var t2, parens, next, target, t3, _null = null,
91107
+ _s64_ = string$.The_gi,
91108
+ _s17_ = "Invalid position ",
91039
91109
  brackets = H._setArrayType([], type$.JSArray_int),
91040
91110
  t1 = this.scanner,
91041
- string = t1.string;
91042
- for (i = t1._string_scanner$_position, t1 = string.length - 1, parens = 0; i < t1; ++i) {
91043
- next = C.JSString_methods.codeUnitAt$1(string, i);
91111
+ start = new S._SpanScannerState(t1, t1._string_scanner$_position);
91112
+ for (t2 = t1.string.length, parens = 0; t1._string_scanner$_position !== t2;) {
91113
+ next = t1.peekChar$0();
91044
91114
  switch (next) {
91045
91115
  case 92:
91046
- ++i;
91116
+ target = 1;
91117
+ break;
91118
+ case 47:
91119
+ target = 2;
91120
+ break;
91121
+ case 39:
91122
+ case 34:
91123
+ target = 3;
91047
91124
  break;
91048
91125
  case 35:
91049
- if (parens === 0 && C.JSString_methods.codeUnitAt$1(string, i + 1) === 123)
91050
- return true;
91126
+ target = 4;
91051
91127
  break;
91052
91128
  case 40:
91053
- ++parens;
91054
- continue;
91129
+ target = 5;
91130
+ break;
91055
91131
  case 123:
91056
91132
  case 91:
91057
- brackets.push(T.opposite0(next));
91133
+ target = 6;
91058
91134
  break;
91059
91135
  case 41:
91060
- --parens;
91061
- continue;
91136
+ target = 7;
91137
+ break;
91062
91138
  case 125:
91063
91139
  case 93:
91064
- if (brackets.length === 0 || brackets.pop() !== next)
91065
- return false;
91140
+ target = 8;
91141
+ break;
91142
+ default:
91143
+ target = 9;
91066
91144
  break;
91067
91145
  }
91146
+ c$0:
91147
+ for (; true;)
91148
+ switch (target) {
91149
+ case 1:
91150
+ t1.readChar$0();
91151
+ t1.readChar$0();
91152
+ break c$0;
91153
+ case 2:
91154
+ if (!this.scanComment$0())
91155
+ t1.readChar$0();
91156
+ break c$0;
91157
+ case 3:
91158
+ this.interpolatedString$0();
91159
+ break c$0;
91160
+ case 4:
91161
+ if (parens === 0 && t1.peekChar$1(1) === 123) {
91162
+ if (start._scanner !== t1)
91163
+ H.throwExpression(P.ArgumentError$(_s64_, _null));
91164
+ t3 = start.position;
91165
+ if (t3 < 0 || t3 > t2)
91166
+ H.throwExpression(P.ArgumentError$(_s17_ + t3, _null));
91167
+ t1._string_scanner$_position = t3;
91168
+ t1._lastMatch = null;
91169
+ return true;
91170
+ }
91171
+ t1.readChar$0();
91172
+ break c$0;
91173
+ case 5:
91174
+ ++parens;
91175
+ target = 6;
91176
+ continue c$0;
91177
+ case 6:
91178
+ next.toString;
91179
+ brackets.push(T.opposite0(next));
91180
+ t1.readChar$0();
91181
+ break c$0;
91182
+ case 7:
91183
+ --parens;
91184
+ target = 8;
91185
+ continue c$0;
91186
+ case 8:
91187
+ if (brackets.length === 0 || brackets.pop() !== next) {
91188
+ if (start._scanner !== t1)
91189
+ H.throwExpression(P.ArgumentError$(_s64_, _null));
91190
+ t3 = start.position;
91191
+ if (t3 < 0 || t3 > t2)
91192
+ H.throwExpression(P.ArgumentError$(_s17_ + t3, _null));
91193
+ t1._string_scanner$_position = t3;
91194
+ t1._lastMatch = null;
91195
+ return false;
91196
+ }
91197
+ t1.readChar$0();
91198
+ break c$0;
91199
+ case 9:
91200
+ t1.readChar$0();
91201
+ break c$0;
91202
+ }
91068
91203
  }
91204
+ t1.set$state(start);
91069
91205
  return false;
91070
91206
  },
91071
91207
  _stylesheet0$_tryUrlContents$2$name(start, $name) {