@drskillissue/ganko 0.2.82 → 0.2.83

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.
@@ -14,7 +14,7 @@ import {
14
14
  rules3,
15
15
  runCrossFileRules,
16
16
  runPhases
17
- } from "./chunk-CHVGY25Z.js";
17
+ } from "./chunk-F5F7F4LG.js";
18
18
  import "./chunk-EGRHWZRV.js";
19
19
 
20
20
  // src/eslint-adapter.ts
package/dist/index.cjs CHANGED
@@ -25949,14 +25949,16 @@ function walkAndProcess(graph, file, container, context, collector) {
25949
25949
  if (parentAtRule) {
25950
25950
  parentAtRule.rules.push(rule);
25951
25951
  }
25952
- const selectorStrings = parseSelectorList(rule.selectorText);
25953
- for (let j = 0; j < selectorStrings.length; j++) {
25954
- const selectorText = selectorStrings[j];
25955
- if (!selectorText) continue;
25956
- const selector = createSelectorEntity(graph, selectorText, rule);
25957
- graph.addSelector(selector);
25958
- rule.selectors.push(selector);
25959
- graph.registerRuleBySelector(selectorText, rule);
25952
+ if (parentAtRule === null || parentAtRule.kind !== "keyframes") {
25953
+ const selectorStrings = parseSelectorList(rule.selectorText);
25954
+ for (let j = 0; j < selectorStrings.length; j++) {
25955
+ const selectorText = selectorStrings[j];
25956
+ if (!selectorText) continue;
25957
+ const selector = createSelectorEntity(graph, selectorText, rule);
25958
+ graph.addSelector(selector);
25959
+ rule.selectors.push(selector);
25960
+ graph.registerRuleBySelector(selectorText, rule);
25961
+ }
25960
25962
  }
25961
25963
  const ruleChildren = ruleNode.nodes;
25962
25964
  if (ruleChildren && ruleChildren.length > 0) {