mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 16:08:56 +00:00
* fix: refuse media paths that ffmpeg's image2 demuxer would read as a pattern ffmpeg's image2 demuxer reads %d, %03d, %% and a % before a wildcard in an input path as a pattern of other files, folders included. Every project, private-file and received-file check approves the literal path, so a composition could name a placeholder whose pattern reaches images outside the project and get them back as video frames. Every ffmpeg and ffprobe input built from a project file now goes through assertLiteralMediaInput, which refuses such a local path before ffmpeg runs. The engine's urlInputArgs, the parsers' mediaInputFormatArgs and the studio-server's new mediaInputArgs all take the input path, so the CLI snapshot and cloud offload, lint, core grade analysis and studio-server callers are covered too. URLs and other percent signs, such as %20, are read as before. * build(parsers): declare the literal-media-input subpath * build: raise the parsers packed-size budget for the literal-media-input subpath The new subpath adds its own built entry, type file and export map rows, about 2.7 KB packed. It is a separate module so test suites that mock ff-binaries still run the real path check. * test(parsers): a harmless name shaped like a pattern is refused too
63 lines
1.2 KiB
JSON
63 lines
1.2 KiB
JSON
{
|
|
"@hyperframes/aws-lambda": {
|
|
"packed": 80500,
|
|
"unpacked": 290508
|
|
},
|
|
"@hyperframes/cli": {
|
|
"packed": 8577627,
|
|
"unpacked": 25500000
|
|
},
|
|
"@hyperframes/core": {
|
|
"packed": 1800000,
|
|
"unpacked": 4639000
|
|
},
|
|
"@hyperframes/engine": {
|
|
"packed": 510000,
|
|
"unpacked": 1742862
|
|
},
|
|
"@hyperframes/gcp-cloud-run": {
|
|
"packed": 49412,
|
|
"unpacked": 170124
|
|
},
|
|
"@hyperframes/inspector": {
|
|
"packed": 880000,
|
|
"unpacked": 3830000
|
|
},
|
|
"@hyperframes/lint": {
|
|
"packed": 191022,
|
|
"unpacked": 737342
|
|
},
|
|
"@hyperframes/parsers": {
|
|
"packed": 215500,
|
|
"unpacked": 915000
|
|
},
|
|
"@hyperframes/player": {
|
|
"packed": 160300,
|
|
"unpacked": 549900
|
|
},
|
|
"@hyperframes/producer": {
|
|
"packed": 921000,
|
|
"unpacked": 3491355
|
|
},
|
|
"@hyperframes/sdk": {
|
|
"packed": 90662,
|
|
"unpacked": 325069
|
|
},
|
|
"@hyperframes/shader-transitions": {
|
|
"packed": 212864,
|
|
"unpacked": 825937
|
|
},
|
|
"@hyperframes/share": {
|
|
"packed": 148738,
|
|
"unpacked": 575775
|
|
},
|
|
"@hyperframes/studio": {
|
|
"packed": 6589635,
|
|
"unpacked": 26703858
|
|
},
|
|
"@hyperframes/studio-server": {
|
|
"packed": 188871,
|
|
"unpacked": 732018
|
|
}
|
|
}
|