sass 1.106.0 → 1.106.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 (2) hide show
  1. package/package.json +1 -1
  2. package/sass.dart.js +19 -7
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":">=20.19.0"},"dependencies":{"chokidar":"^5.0.0","immutable":"^5.1.5","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.106.0","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":">=20.19.0"},"dependencies":{"chokidar":"^5.0.0","immutable":"^5.1.5","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.106.1","bin":{"sass":"sass.js"},"main":"sass.node.js"}
package/sass.dart.js CHANGED
@@ -15942,6 +15942,18 @@ self.util = _cliPkgRequires.util;
15942
15942
  t1 = buffer._contents;
15943
15943
  return t1.charCodeAt(0) == 0 ? t1 : t1;
15944
15944
  },
15945
+ StringExtension_tryCssIdentifier(_this) {
15946
+ var t1, exception;
15947
+ try {
15948
+ t1 = A.StringExtension_toCssIdentifier(_this, false);
15949
+ return t1;
15950
+ } catch (exception) {
15951
+ if (type$.FormatException._is(A.unwrapException(exception)))
15952
+ return null;
15953
+ else
15954
+ throw exception;
15955
+ }
15956
+ },
15945
15957
  StringExtension_resolveCssEscapes(_this) {
15946
15958
  var t1, exception;
15947
15959
  if (A.StringExtension__isSimpleIdentifier(_this))
@@ -29661,7 +29673,7 @@ self.util = _cliPkgRequires.util;
29661
29673
  J.set$deprecations$x(self.exports, A.jsify($.$get$deprecations()));
29662
29674
  J.set$Version$x(self.exports, $.$get$versionClass());
29663
29675
  J.set$loadParserExports_$x(self.exports, A.allowInterop(A.parser0__loadParserExports$closure()));
29664
- J.set$info$x(self.exports, "dart-sass\t1.106.0\t(Sass Compiler)\t[Dart]\ndart2js\t3.13.6\t(Dart Compiler)\t[Dart]");
29676
+ J.set$info$x(self.exports, "dart-sass\t1.106.1\t(Sass Compiler)\t[Dart]\ndart2js\t3.13.6\t(Dart Compiler)\t[Dart]");
29665
29677
  A.updateCanonicalizeContextPrototype();
29666
29678
  A.updateSourceSpanPrototype();
29667
29679
  J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
@@ -35124,7 +35136,7 @@ self.util = _cliPkgRequires.util;
35124
35136
  switch ($async$goto) {
35125
35137
  case 0:
35126
35138
  // Function start
35127
- $async$returnValue = "1.106.0 compiled with dart2js 3.13.6";
35139
+ $async$returnValue = "1.106.1 compiled with dart2js 3.13.6";
35128
35140
  // goto return
35129
35141
  $async$goto = 1;
35130
35142
  break;
@@ -53697,7 +53709,7 @@ self.util = _cliPkgRequires.util;
53697
53709
  }
53698
53710
  try {
53699
53711
  argVersion = A.Version_Version$parse(id);
53700
- sassVersion = A.Version_Version$parse("1.106.0");
53712
+ sassVersion = A.Version_Version$parse("1.106.1");
53701
53713
  if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
53702
53714
  A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
53703
53715
  J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
@@ -87292,7 +87304,7 @@ self.util = _cliPkgRequires.util;
87292
87304
  _isUnitAmbiguousWithExponent$1(unit) {
87293
87305
  var first, next,
87294
87306
  t1 = unit.length;
87295
- if (t1 === 1)
87307
+ if (t1 < 2)
87296
87308
  return false;
87297
87309
  first = unit.charCodeAt(0);
87298
87310
  if (first !== 101 && first !== 69)
@@ -87588,7 +87600,7 @@ self.util = _cliPkgRequires.util;
87588
87600
  _0_0 = attribute.value;
87589
87601
  if (_0_0 != null) {
87590
87602
  _this._serialize$_buffer.write$1(0, attribute.op);
87591
- if (A.StringExtension_toCssIdentifier(_0_0, false) === _0_0 && !B.JSString_methods.startsWith$1(_0_0, "--")) {
87603
+ if (A.StringExtension_tryCssIdentifier(_0_0) === _0_0 && !B.JSString_methods.startsWith$1(_0_0, "--")) {
87592
87604
  _this._serialize$_buffer.write$1(0, _0_0);
87593
87605
  t1 = attribute.modifier;
87594
87606
  if (t1 != null)
@@ -124549,7 +124561,7 @@ self.util = _cliPkgRequires.util;
124549
124561
  _serialize0$_isUnitAmbiguousWithExponent$1(unit) {
124550
124562
  var first, next,
124551
124563
  t1 = unit.length;
124552
- if (t1 === 1)
124564
+ if (t1 < 2)
124553
124565
  return false;
124554
124566
  first = unit.charCodeAt(0);
124555
124567
  if (first !== 101 && first !== 69)
@@ -124845,7 +124857,7 @@ self.util = _cliPkgRequires.util;
124845
124857
  _0_0 = attribute.value;
124846
124858
  if (_0_0 != null) {
124847
124859
  _this._serialize0$_buffer.write$1(0, attribute.op);
124848
- if (A.StringExtension_toCssIdentifier(_0_0, false) === _0_0 && !B.JSString_methods.startsWith$1(_0_0, "--")) {
124860
+ if (A.StringExtension_tryCssIdentifier(_0_0) === _0_0 && !B.JSString_methods.startsWith$1(_0_0, "--")) {
124849
124861
  _this._serialize0$_buffer.write$1(0, _0_0);
124850
124862
  t1 = attribute.modifier;
124851
124863
  if (t1 != null)