@hyperframes/producer 0.4.38 → 0.5.0-alpha.10

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