sass 1.83.1 → 1.83.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.
Files changed (3) hide show
  1. package/LICENSE +32 -4
  2. package/package.json +1 -1
  3. package/sass.dart.js +49 -45
package/LICENSE CHANGED
@@ -615,8 +615,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
615
615
 
616
616
  --------------------------------------------------------------------------------
617
617
 
618
- coverage, dart_style, dartdoc, glob, http, http_parser, matcher, path, pool,
619
- pub_semver, source_span, string_scanner, test and watcher license:
618
+ coverage, dartdoc, glob, http, http_parser, matcher, path, pool, pub_semver,
619
+ source_span, string_scanner, test and watcher license:
620
620
 
621
621
  Copyright 2014, the Dart project authors.
622
622
 
@@ -1183,11 +1183,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1183
1183
 
1184
1184
  --------------------------------------------------------------------------------
1185
1185
 
1186
- petitparser and xml license:
1186
+ petitparser license:
1187
1187
 
1188
1188
  The MIT License
1189
1189
 
1190
- Copyright (c) 2006-2023 Lukas Renggli.
1190
+ Copyright (c) 2006-2025 Lukas Renggli.
1191
1191
  All rights reserved.
1192
1192
 
1193
1193
  Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1640,6 +1640,34 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1640
1640
  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1641
1641
 
1642
1642
 
1643
+ --------------------------------------------------------------------------------
1644
+
1645
+ xml license:
1646
+
1647
+ The MIT License
1648
+
1649
+ Copyright (c) 2006-2023 Lukas Renggli.
1650
+ All rights reserved.
1651
+
1652
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1653
+ of this software and associated documentation files (the "Software"), to deal
1654
+ in the Software without restriction, including without limitation the rights
1655
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1656
+ copies of the Software, and to permit persons to whom the Software is
1657
+ furnished to do so, subject to the following conditions:
1658
+
1659
+ The above copyright notice and this permission notice shall be included in
1660
+ all copies or substantial portions of the Software.
1661
+
1662
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1663
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1664
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1665
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1666
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1667
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1668
+ THE SOFTWARE.
1669
+
1670
+
1643
1671
  --------------------------------------------------------------------------------
1644
1672
 
1645
1673
  yaml 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.83.1","bin":{"sass":"sass.js"},"main":"sass.node.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":">=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.83.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 (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.6.0.
133
+ // Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.6.1.
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]
@@ -28652,7 +28652,7 @@ self.util = _cliPkgRequires.util;
28652
28652
  J.set$deprecations$x(self.exports, A.jsify($.$get$deprecations()));
28653
28653
  J.set$Version$x(self.exports, $.$get$versionClass());
28654
28654
  J.set$loadParserExports_$x(self.exports, A.allowInterop(A.parser0__loadParserExports$closure()));
28655
- J.set$info$x(self.exports, "dart-sass\t1.83.1\t(Sass Compiler)\t[Dart]\ndart2js\t3.6.0\t(Dart Compiler)\t[Dart]");
28655
+ J.set$info$x(self.exports, "dart-sass\t1.83.3\t(Sass Compiler)\t[Dart]\ndart2js\t3.6.1\t(Dart Compiler)\t[Dart]");
28656
28656
  A.updateCanonicalizeContextPrototype();
28657
28657
  A.updateSourceSpanPrototype();
28658
28658
  J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
@@ -33786,7 +33786,7 @@ self.util = _cliPkgRequires.util;
33786
33786
  switch ($async$goto) {
33787
33787
  case 0:
33788
33788
  // Function start
33789
- $async$returnValue = "1.83.1 compiled with dart2js 3.6.0";
33789
+ $async$returnValue = "1.83.3 compiled with dart2js 3.6.1";
33790
33790
  // goto return
33791
33791
  $async$goto = 1;
33792
33792
  break;
@@ -51941,7 +51941,7 @@ self.util = _cliPkgRequires.util;
51941
51941
  }
51942
51942
  try {
51943
51943
  argVersion = A.Version_Version$parse(id);
51944
- sassVersion = A.Version_Version$parse("1.83.1");
51944
+ sassVersion = A.Version_Version$parse("1.83.3");
51945
51945
  if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
51946
51946
  A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
51947
51947
  J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
@@ -57288,33 +57288,34 @@ self.util = _cliPkgRequires.util;
57288
57288
  };
57289
57289
  A.StderrLogger.prototype = {
57290
57290
  internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
57291
- var t2, t3,
57291
+ var t3,
57292
57292
  result = new A.StringBuffer(""),
57293
- t1 = this.color;
57294
- if (t1) {
57295
- t2 = result._contents = "" + "\x1b[33m\x1b[1m";
57296
- t3 = deprecation != null;
57297
- t2 = result._contents = (t3 ? result._contents = t2 + "Deprecation " : t2) + "Warning\x1b[0m";
57298
- if (t3) {
57299
- t2 += " [\x1b[34m" + deprecation.toString$0(0) + "\x1b[0m]";
57300
- result._contents = t2;
57301
- }
57293
+ t1 = deprecation != null,
57294
+ showDeprecation = t1 && deprecation !== B.Deprecation_W1R,
57295
+ t2 = this.color;
57296
+ if (t2) {
57297
+ t3 = result._contents = "" + "\x1b[33m\x1b[1m";
57298
+ t3 = result._contents = (t1 ? result._contents = t3 + "Deprecation " : t3) + "Warning\x1b[0m";
57299
+ if (showDeprecation) {
57300
+ t1 = t3 + (" [\x1b[34m" + A.S(deprecation) + "\x1b[0m]");
57301
+ result._contents = t1;
57302
+ } else
57303
+ t1 = t3;
57302
57304
  } else {
57303
- t2 = deprecation != null;
57304
- t3 = result._contents = (t2 ? result._contents = "" + "DEPRECATION " : "") + "WARNING";
57305
- if (t2) {
57306
- t2 = t3 + (" [" + deprecation.toString$0(0) + "]");
57307
- result._contents = t2;
57305
+ t3 = result._contents = (t1 ? result._contents = "" + "DEPRECATION " : "") + "WARNING";
57306
+ if (showDeprecation) {
57307
+ t1 = t3 + (" [" + A.S(deprecation) + "]");
57308
+ result._contents = t1;
57308
57309
  } else
57309
- t2 = t3;
57310
+ t1 = t3;
57310
57311
  }
57311
57312
  if (span == null)
57312
- t1 = result._contents = t2 + (": " + message + "\n");
57313
+ t1 = result._contents = t1 + (": " + message + "\n");
57313
57314
  else if (trace != null) {
57314
- t1 = t2 + (": " + message + "\n\n" + span.highlight$1$color(t1) + "\n");
57315
+ t1 += ": " + message + "\n\n" + span.highlight$1$color(t2) + "\n";
57315
57316
  result._contents = t1;
57316
57317
  } else {
57317
- t1 = t2 + (" on " + span.message$2$color(0, "\n" + message, t1) + "\n");
57318
+ t1 += " on " + span.message$2$color(0, "\n" + message, t2) + "\n";
57318
57319
  result._contents = t1;
57319
57320
  }
57320
57321
  if (trace != null)
@@ -107896,9 +107897,11 @@ self.util = _cliPkgRequires.util;
107896
107897
  };
107897
107898
  A.JSToDartLogger_internalWarn_closure.prototype = {
107898
107899
  call$0() {
107899
- var _this = this,
107900
- t1 = _this.deprecation != null ? B.Deprecation_JeE : null;
107901
- _this.$this._fallback.internalWarn$4$deprecation$span$trace(_this.message, t1, _this.span, _this.trace);
107900
+ var _this = this;
107901
+ $label0$0: {
107902
+ _this.$this._fallback.internalWarn$4$deprecation$span$trace(_this.message, _this.deprecation, _this.span, _this.trace);
107903
+ break $label0$0;
107904
+ }
107902
107905
  },
107903
107906
  $signature: 1
107904
107907
  };
@@ -118342,33 +118345,34 @@ self.util = _cliPkgRequires.util;
118342
118345
  };
118343
118346
  A.StderrLogger0.prototype = {
118344
118347
  internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
118345
- var t2, t3,
118348
+ var t3,
118346
118349
  result = new A.StringBuffer(""),
118347
- t1 = this.color;
118348
- if (t1) {
118349
- t2 = result._contents = "" + "\x1b[33m\x1b[1m";
118350
- t3 = deprecation != null;
118351
- t2 = result._contents = (t3 ? result._contents = t2 + "Deprecation " : t2) + "Warning\x1b[0m";
118352
- if (t3) {
118353
- t2 += " [\x1b[34m" + deprecation.toString$0(0) + "\x1b[0m]";
118354
- result._contents = t2;
118355
- }
118350
+ t1 = deprecation != null,
118351
+ showDeprecation = t1 && deprecation !== B.Deprecation_JeE,
118352
+ t2 = this.color;
118353
+ if (t2) {
118354
+ t3 = result._contents = "" + "\x1b[33m\x1b[1m";
118355
+ t3 = result._contents = (t1 ? result._contents = t3 + "Deprecation " : t3) + "Warning\x1b[0m";
118356
+ if (showDeprecation) {
118357
+ t1 = t3 + (" [\x1b[34m" + A.S(deprecation) + "\x1b[0m]");
118358
+ result._contents = t1;
118359
+ } else
118360
+ t1 = t3;
118356
118361
  } else {
118357
- t2 = deprecation != null;
118358
- t3 = result._contents = (t2 ? result._contents = "" + "DEPRECATION " : "") + "WARNING";
118359
- if (t2) {
118360
- t2 = t3 + (" [" + deprecation.toString$0(0) + "]");
118361
- result._contents = t2;
118362
+ t3 = result._contents = (t1 ? result._contents = "" + "DEPRECATION " : "") + "WARNING";
118363
+ if (showDeprecation) {
118364
+ t1 = t3 + (" [" + A.S(deprecation) + "]");
118365
+ result._contents = t1;
118362
118366
  } else
118363
- t2 = t3;
118367
+ t1 = t3;
118364
118368
  }
118365
118369
  if (span == null)
118366
- t1 = result._contents = t2 + (": " + message + "\n");
118370
+ t1 = result._contents = t1 + (": " + message + "\n");
118367
118371
  else if (trace != null) {
118368
- t1 = t2 + (": " + message + "\n\n" + span.highlight$1$color(t1) + "\n");
118372
+ t1 += ": " + message + "\n\n" + span.highlight$1$color(t2) + "\n";
118369
118373
  result._contents = t1;
118370
118374
  } else {
118371
- t1 = t2 + (" on " + span.message$2$color(0, "\n" + message, t1) + "\n");
118375
+ t1 += " on " + span.message$2$color(0, "\n" + message, t2) + "\n";
118372
118376
  result._contents = t1;
118373
118377
  }
118374
118378
  if (trace != null)