less 4.4.1 → 4.4.2

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/dist/less.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Less - Leaner CSS v4.4.1
2
+ * Less - Leaner CSS v4.4.2
3
3
  * http://lesscss.org
4
4
  *
5
5
  * Copyright (c) 2009-2025, Alexis Sellier <self@cloudhead.net>
@@ -5083,6 +5083,9 @@
5083
5083
  if (!parserInput.$char(',')) {
5084
5084
  break;
5085
5085
  }
5086
+ else if (!features[features.length - 1].noSpacing) {
5087
+ features[features.length - 1].noSpacing = false;
5088
+ }
5086
5089
  }
5087
5090
  else {
5088
5091
  e = entities.variable() || entities.mixinLookup();
@@ -5091,6 +5094,9 @@
5091
5094
  if (!parserInput.$char(',')) {
5092
5095
  break;
5093
5096
  }
5097
+ else if (!features[features.length - 1].noSpacing) {
5098
+ features[features.length - 1].noSpacing = false;
5099
+ }
5094
5100
  }
5095
5101
  }
5096
5102
  } while (e);
@@ -7168,7 +7174,7 @@
7168
7174
  var expr, paren;
7169
7175
  for (var index = 0; index < exprValues.length; ++index) {
7170
7176
  expr = exprValues[index];
7171
- if (expr.type === 'Keyword' && index + 1 < exprValues.length) {
7177
+ if (expr.type === 'Keyword' && index + 1 < exprValues.length && (expr.noSpacing || expr.noSpacing == null)) {
7172
7178
  paren = exprValues[index + 1];
7173
7179
  if (paren.type === 'Paren' && paren.noSpacing) {
7174
7180
  exprValues[index] = new Expression([expr, paren]);
@@ -11189,7 +11195,7 @@
11189
11195
  return render;
11190
11196
  }
11191
11197
 
11192
- var version = "4.4.1";
11198
+ var version = "4.4.2";
11193
11199
 
11194
11200
  function parseNodeVersion(version) {
11195
11201
  var match = version.match(/^v(\d{1,2})\.(\d{1,2})\.(\d{1,2})(?:-([0-9A-Za-z-.]+))?(?:\+([0-9A-Za-z-.]+))?$/); // eslint-disable-line max-len