pasika 0.10.150 → 0.10.151

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.
@@ -11682,7 +11682,10 @@ function groupForConsumers(consumers) {
11682
11682
  paths.push(consumer);
11683
11683
  scopes.set(scope, paths);
11684
11684
  }
11685
- return [...scopes].map(([scope, paths]) => paths.length === 1 ? paths[0] ?? scope : scope).sort().join(", ");
11685
+ return [...scopes].map(([scope, paths]) => {
11686
+ const concretePaths = [...new Set(paths.filter((consumer) => consumer !== scope))];
11687
+ return concretePaths.length === 1 ? concretePaths[0] ?? scope : scope;
11688
+ }).sort().join(", ");
11686
11689
  }
11687
11690
  var themeTokenOrderRule = {
11688
11691
  meta: {
@@ -11761,7 +11764,8 @@ var themeTokenOrderRule = {
11761
11764
  fix(fixer) {
11762
11765
  const start = context.sourceCode.getIndexFromLoc({ line: currentGroup.line, column: 1 });
11763
11766
  const end = start + (lines[currentGroup.line - 1] ?? "").length;
11764
- return fixer.replaceTextRange([start, end], `/* Group: ${item.owner} */`);
11767
+ const indentation = /^\s*/u.exec(lines[currentGroup.line - 1] ?? "")?.[0] ?? "";
11768
+ return fixer.replaceTextRange([start, end], `${indentation}/* Group: ${item.owner} */`);
11765
11769
  }
11766
11770
  } : {}
11767
11771
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pasika",
3
- "version": "0.10.150",
3
+ "version": "0.10.151",
4
4
  "description": "Reusable agent setup package",
5
5
  "repository": {
6
6
  "type": "git",