@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/public-server.js
CHANGED
|
@@ -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) && /
|
|
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",
|