@vosjs/cli 0.17.2 → 0.17.4
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/{chunk-WXZN2XUA.js → chunk-Y7BXFF2W.js} +12 -6
- package/dist/chunk-Y7BXFF2W.js.map +1 -0
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{run-IEHLPGNF.js → run-AE3NXEZ4.js} +2 -2
- package/package.json +5 -5
- package/dist/chunk-WXZN2XUA.js.map +0 -1
- /package/dist/{run-IEHLPGNF.js.map → run-AE3NXEZ4.js.map} +0 -0
|
@@ -1389,7 +1389,7 @@ import { readFile as readFile2, rm as rm2 } from "fs/promises";
|
|
|
1389
1389
|
import { tweenRuntimeCode } from "@vosjs/tween/bundle";
|
|
1390
1390
|
import { elementsBundleCode } from "@vosjs/elements/bundle";
|
|
1391
1391
|
import { concatEncodedVideo, planChunks } from "@vosjs/render-core";
|
|
1392
|
-
var MEDIABUNNY_URL = "https://esm.sh/mediabunny@1.
|
|
1392
|
+
var MEDIABUNNY_URL = "https://esm.sh/mediabunny@1.55.7?target=es2022";
|
|
1393
1393
|
var THREE_URL = "https://esm.sh/three@0.183.0?target=es2022";
|
|
1394
1394
|
var THREE_ADDONS = "https://esm.sh/three@0.183.0&target=es2022/examples/jsm/";
|
|
1395
1395
|
function renderPageHtml() {
|
|
@@ -2667,9 +2667,15 @@ async function renderTake(browser, dir, outFile, opts) {
|
|
|
2667
2667
|
opts.onPhase?.("compile");
|
|
2668
2668
|
doc.source.videoKey = VIDEO_TOKEN2;
|
|
2669
2669
|
const lowered = lowerToComposition2(doc);
|
|
2670
|
-
const
|
|
2671
|
-
|
|
2672
|
-
|
|
2670
|
+
const captureData = {
|
|
2671
|
+
...lowered.data,
|
|
2672
|
+
videoDecodeMode: "webcodecs",
|
|
2673
|
+
videoFetchMode: "blob"
|
|
2674
|
+
};
|
|
2675
|
+
const animationCode = compileVosConfig2(
|
|
2676
|
+
{ ...lowered.config, data: captureData },
|
|
2677
|
+
{ tweenEngine: "vos" }
|
|
2678
|
+
);
|
|
2673
2679
|
const duration = lowered.duration;
|
|
2674
2680
|
const clicks = Array.isArray(lowered.data.clicks) ? lowered.data.clicks.length : 0;
|
|
2675
2681
|
let frameOffset = 0;
|
|
@@ -6479,7 +6485,7 @@ async function recordTake(browser, url, actions, paths, log, opts = {}) {
|
|
|
6479
6485
|
}
|
|
6480
6486
|
|
|
6481
6487
|
// src/plugin/encode.ts
|
|
6482
|
-
var MEDIABUNNY_URL2 = "https://esm.sh/mediabunny@1.
|
|
6488
|
+
var MEDIABUNNY_URL2 = "https://esm.sh/mediabunny@1.55.7?target=es2022";
|
|
6483
6489
|
var ENCODE_HTML = `<!doctype html><html><head><meta charset="utf-8"></head><body>
|
|
6484
6490
|
<script type="module">
|
|
6485
6491
|
try {
|
|
@@ -10589,4 +10595,4 @@ export {
|
|
|
10589
10595
|
convertAgentBrowser,
|
|
10590
10596
|
run
|
|
10591
10597
|
};
|
|
10592
|
-
//# sourceMappingURL=chunk-
|
|
10598
|
+
//# sourceMappingURL=chunk-Y7BXFF2W.js.map
|