@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.
- package/dist/index.js +1 -1
- package/dist/index.js.map +2 -2
- package/dist/public-server.js +1 -1
- package/dist/public-server.js.map +2 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -100569,7 +100569,7 @@ var captionRules = [
|
|
|
100569
100569
|
const hasHardKill = /\.set\s*\([^,]+,\s*\{[^}]*(?:visibility\s*:\s*["']hidden["']|opacity\s*:\s*0)/.test(
|
|
100570
100570
|
content
|
|
100571
100571
|
);
|
|
100572
|
-
const hasCaptionLoop = /forEach|\.forEach\s*\(/.test(content) && /
|
|
100572
|
+
const hasCaptionLoop = /forEach|\.forEach\s*\(/.test(content) && /karaoke|caption[-_]?(?:group|word|line|block)|cg-/.test(content);
|
|
100573
100573
|
if (hasCaptionLoop && hasExitTween && !hasHardKill) {
|
|
100574
100574
|
findings.push({
|
|
100575
100575
|
code: "caption_exit_missing_hard_kill",
|