@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.
- 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
|
@@ -100620,7 +100620,7 @@ var captionRules = [
|
|
|
100620
100620
|
const hasHardKill = /\.set\s*\([^,]+,\s*\{[^}]*(?:visibility\s*:\s*["']hidden["']|opacity\s*:\s*0)/.test(
|
|
100621
100621
|
content
|
|
100622
100622
|
);
|
|
100623
|
-
const hasCaptionLoop = /forEach|\.forEach\s*\(/.test(content) && /
|
|
100623
|
+
const hasCaptionLoop = /forEach|\.forEach\s*\(/.test(content) && /karaoke|caption[-_]?(?:group|word|line|block)|cg-/.test(content);
|
|
100624
100624
|
if (hasCaptionLoop && hasExitTween && !hasHardKill) {
|
|
100625
100625
|
findings.push({
|
|
100626
100626
|
code: "caption_exit_missing_hard_kill",
|