@hyperframes/producer 0.5.0-alpha.5 → 0.5.0-alpha.6

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.
@@ -103358,7 +103358,7 @@ var captionRules = [
103358
103358
  const hasHardKill = /\.set\s*\([^,]+,\s*\{[^}]*(?:visibility\s*:\s*["']hidden["']|opacity\s*:\s*0)/.test(
103359
103359
  content
103360
103360
  );
103361
- const hasCaptionLoop = /forEach|\.forEach\s*\(/.test(content) && /createElement|caption|group|cg-/.test(content);
103361
+ const hasCaptionLoop = /forEach|\.forEach\s*\(/.test(content) && /karaoke|caption[-_]?(?:group|word|line|block)|cg-/.test(content);
103362
103362
  if (hasCaptionLoop && hasExitTween && !hasHardKill) {
103363
103363
  findings.push({
103364
103364
  code: "caption_exit_missing_hard_kill",