@remotion/studio 4.0.323 → 4.0.325
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/.turbo/turbo-make.log +2 -2
- package/.turbo/turbo-test.log +83 -0
- package/dist/components/Timeline/TimelineStack/index.js +5 -2
- package/dist/esm/{chunk-n77gaszd.js → chunk-gqesq3a3.js} +3 -1
- package/dist/esm/chunk-sgrpvcge.js +46465 -0
- package/dist/esm/internals.mjs +5 -3
- package/dist/esm/previewEntry.mjs +5 -3
- package/dist/esm/renderEntry.mjs +1 -1
- package/package.json +10 -10
- package/tsconfig.tsbuildinfo +1 -0
package/.turbo/turbo-make.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @remotion/studio@4.0.
|
|
3
|
+
> @remotion/studio@4.0.325 make /Users/jonathanburger/remotion/packages/studio
|
|
4
4
|
> tsc -d && bun --env-file=../.env.bundle bundle.ts
|
|
5
5
|
|
|
6
|
-
[0m[2m[[
|
|
6
|
+
[0m[2m[[1m68.43ms[0m[2m][0m Generated.
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
|
|
2
|
+
[0m[2m[35m$[0m [2m[1mbun test src[0m
|
|
3
|
+
[0m[1mbun test [0m[2mv1.2.19 (aad3abea)[0m
|
|
4
|
+
[0m
|
|
5
|
+
src/test/stringify-default-props.test.ts:
|
|
6
|
+
[0m[32m✓[0m[0m[1m Should stringify default props correctly[0m [0m[2m[6.65ms[0m[2m][0m
|
|
7
|
+
[0m[32m✓[0m[0m[1m Should stringify default props correctly[0m [0m[2m[0.64ms[0m[2m][0m
|
|
8
|
+
[0m
|
|
9
|
+
src/test/sequenced-timeline.test.ts:
|
|
10
|
+
[0m[32m✓[0m[0m[1m Should calculate sequences correctly[0m [0m[2m[5.13ms[0m[2m][0m
|
|
11
|
+
[0m
|
|
12
|
+
src/test/create-zod-values.test.ts:
|
|
13
|
+
[0m[32m✓[0m[0m[1m Should be able to create a string[0m [0m[2m[0.62ms[0m[2m][0m
|
|
14
|
+
[0m[32m✓[0m[0m[1m Should be able to create a number[0m
|
|
15
|
+
[0m[32m✓[0m[0m[1m Should be able to create an object[0m
|
|
16
|
+
[0m[32m✓[0m[0m[1m Should be able to create an array[0m [0m[2m[0.23ms[0m[2m][0m
|
|
17
|
+
[0m[32m✓[0m[0m[1m Should be able to create a union[0m [0m[2m[0.11ms[0m[2m][0m
|
|
18
|
+
[0m[32m✓[0m[0m[1m Zod literal[0m [0m[2m[0.10ms[0m[2m][0m
|
|
19
|
+
[0m[32m✓[0m[0m[1m Should be able to create a discriminated union[0m [0m[2m[0.36ms[0m[2m][0m
|
|
20
|
+
[0m[32m✓[0m[0m[1m Zod instanceof[0m [0m[2m[0.07ms[0m[2m][0m
|
|
21
|
+
[0m[32m✓[0m[0m[1m Zod intersection[0m [0m[2m[0.12ms[0m[2m][0m
|
|
22
|
+
[0m[32m✓[0m[0m[1m Zod tuples[0m [0m[2m[0.12ms[0m[2m][0m
|
|
23
|
+
[0m[32m✓[0m[0m[1m Zod record[0m [0m[2m[0.07ms[0m[2m][0m
|
|
24
|
+
[0m[32m✓[0m[0m[1m Zod map[0m [0m[2m[0.11ms[0m[2m][0m
|
|
25
|
+
[0m[32m✓[0m[0m[1m Zod lazy[0m [0m[2m[0.08ms[0m[2m][0m
|
|
26
|
+
[0m[32m✓[0m[0m[1m Zod set[0m [0m[2m[0.04ms[0m[2m][0m
|
|
27
|
+
[0m[32m✓[0m[0m[1m Zod function[0m [0m[2m[0.10ms[0m[2m][0m
|
|
28
|
+
[0m[32m✓[0m[0m[1m Zod undefined[0m [0m[2m[0.05ms[0m[2m][0m
|
|
29
|
+
[0m[32m✓[0m[0m[1m Zod null[0m [0m[2m[0.29ms[0m[2m][0m
|
|
30
|
+
[0m[32m✓[0m[0m[1m Zod enum[0m [0m[2m[1.19ms[0m[2m][0m
|
|
31
|
+
[0m[32m✓[0m[0m[1m Zod nativeEnum[0m [0m[2m[0.21ms[0m[2m][0m
|
|
32
|
+
[0m[32m✓[0m[0m[1m Zod optional[0m [0m[2m[0.16ms[0m[2m][0m
|
|
33
|
+
[0m[32m✓[0m[0m[1m Zod nullable[0m [0m[2m[0.17ms[0m[2m][0m
|
|
34
|
+
[0m[32m✓[0m[0m[1m Zod undefined[0m [0m[2m[0.17ms[0m[2m][0m
|
|
35
|
+
[0m[32m✓[0m[0m[1m Zod catch[0m [0m[2m[0.16ms[0m[2m][0m
|
|
36
|
+
[0m[32m✓[0m[0m[1m Zod promise[0m [0m[2m[0.05ms[0m[2m][0m
|
|
37
|
+
[0m[32m✓[0m[0m[1m Zod transform[0m [0m[2m[0.14ms[0m[2m][0m
|
|
38
|
+
[0m[32m✓[0m[0m[1m Zod branded[0m [0m[2m[0.15ms[0m[2m][0m
|
|
39
|
+
[0m[32m✓[0m[0m[1m Zod lazy[0m [0m[2m[0.32ms[0m[2m][0m
|
|
40
|
+
[0m[32m✓[0m[0m[1m Zod coerce[0m [0m[2m[0.10ms[0m[2m][0m
|
|
41
|
+
[0m[32m✓[0m[0m[1m Zod strict[0m [0m[2m[0.09ms[0m[2m][0m
|
|
42
|
+
[0m[32m✓[0m[0m[1m Should create a color[0m [0m[2m[0.03ms[0m[2m][0m
|
|
43
|
+
[0m[32m✓[0m[0m[1m Should create a textarea[0m [0m[2m[0.10ms[0m[2m][0m
|
|
44
|
+
[0m
|
|
45
|
+
src/test/folder-tree.test.ts:
|
|
46
|
+
[0m[32m✓[0m[0m[1m Should create a good folder tree with 1 item inside and 1 item outside[0m [0m[2m[0.30ms[0m[2m][0m
|
|
47
|
+
[0m[32m✓[0m[0m[1m Should handle nested folders well[0m [0m[2m[7.47ms[0m[2m][0m
|
|
48
|
+
[0m[32m✓[0m[0m[1m Should throw if two folders with the same name[0m [0m[2m[0.20ms[0m[2m][0m
|
|
49
|
+
[0m
|
|
50
|
+
src/test/big-timeline.test.ts:
|
|
51
|
+
[0m[32m✓[0m[0m[1m Should calculate timeline as expected[0m [0m[2m[9.28ms[0m[2m][0m
|
|
52
|
+
[0m
|
|
53
|
+
src/test/smooth-zoom.test.ts:
|
|
54
|
+
[0m[32m✓[0m[0m[1m Smoothen zoom[0m
|
|
55
|
+
[0m[32m✓[0m[0m[1m Unsmoothen zoom[0m [0m[2m[0.05ms[0m[2m][0m
|
|
56
|
+
[0m
|
|
57
|
+
src/test/validate-gui-output-filename.test.ts:
|
|
58
|
+
[0m[32m✓[0m[0m[1m Should catch dot after slash[0m [0m[2m[0.50ms[0m[2m][0m
|
|
59
|
+
[0m[32m✓[0m[0m[1m Should catch dot in front [0m [0m[2m[0.04ms[0m[2m][0m
|
|
60
|
+
[0m
|
|
61
|
+
src/test/timeline-sequence-layout.test.ts:
|
|
62
|
+
[0m[32m✓[0m[0m[1m Should test timeline sequence layout without max media duration[0m [0m[2m[0.22ms[0m[2m][0m
|
|
63
|
+
[0m[32m✓[0m[0m[1m Should test timeline sequence layout with max media duration[0m [0m[2m[0.04ms[0m[2m][0m
|
|
64
|
+
[0m
|
|
65
|
+
src/test/extract-zod-enums.test.ts:
|
|
66
|
+
[0m[32m✓[0m[0m[1m Extract Zod enums[0m [0m[2m[0.38ms[0m[2m][0m
|
|
67
|
+
[0m[32m✓[0m[0m[1m Extract Zod enums #2[0m [0m[2m[1.07ms[0m[2m][0m
|
|
68
|
+
[0m
|
|
69
|
+
src/test/color-math.test.ts:
|
|
70
|
+
[0m[32m✓[0m[0m[1m Color math[0m [0m[2m[0.40ms[0m[2m][0m
|
|
71
|
+
[0m
|
|
72
|
+
src/test/format-time.test.ts:
|
|
73
|
+
[0m[32m✓[0m[0m[1m Format time[0m [0m[2m[0.08ms[0m[2m][0m
|
|
74
|
+
[0m
|
|
75
|
+
src/test/timeline.test.ts:
|
|
76
|
+
[0m[32m✓[0m[0m[1m Should calculate timeline with no sequences[0m [0m[2m[0.03ms[0m[2m][0m
|
|
77
|
+
[0m[32m✓[0m[0m[1m Should calculate a basic timeline[0m [0m[2m[0.13ms[0m[2m][0m
|
|
78
|
+
[0m[32m✓[0m[0m[1m Should follow order of nesting[0m [0m[2m[0.18ms[0m[2m][0m
|
|
79
|
+
|
|
80
|
+
[0m[32m 51 pass[0m
|
|
81
|
+
[0m[2m 0 fail[0m
|
|
82
|
+
67 expect() calls
|
|
83
|
+
Ran 51 tests across 12 files. [0m[2m[[1m143.00ms[0m[2m][0m
|
|
@@ -16,10 +16,13 @@ const Spinner_1 = require("../../Spinner");
|
|
|
16
16
|
const layout_1 = require("../../layout");
|
|
17
17
|
const get_stack_1 = require("./get-stack");
|
|
18
18
|
const source_attribution_1 = require("./source-attribution");
|
|
19
|
+
const publicPath = window.remotion_publicPath === '/' ? '' : window.remotion_publicPath;
|
|
20
|
+
const withoutSlashInTheEnd = publicPath.endsWith('/')
|
|
21
|
+
? publicPath.slice(0, -1)
|
|
22
|
+
: publicPath;
|
|
19
23
|
// @ts-expect-error
|
|
20
24
|
source_map_1.SourceMapConsumer.initialize({
|
|
21
|
-
'lib/mappings.wasm':
|
|
22
|
-
studio_shared_1.SOURCE_MAP_ENDPOINT,
|
|
25
|
+
'lib/mappings.wasm': withoutSlashInTheEnd + studio_shared_1.SOURCE_MAP_ENDPOINT,
|
|
23
26
|
});
|
|
24
27
|
const TimelineStack = ({ isCompact, sequence }) => {
|
|
25
28
|
const [originalLocation, setOriginalLocation] = (0, react_1.useState)(null);
|
|
@@ -19503,8 +19503,10 @@ import {
|
|
|
19503
19503
|
} from "react";
|
|
19504
19504
|
import { SourceMapConsumer as SourceMapConsumer3 } from "source-map";
|
|
19505
19505
|
import { jsx as jsx186, jsxs as jsxs89, Fragment as Fragment27 } from "react/jsx-runtime";
|
|
19506
|
+
var publicPath = window.remotion_publicPath === "/" ? "" : window.remotion_publicPath;
|
|
19507
|
+
var withoutSlashInTheEnd = publicPath.endsWith("/") ? publicPath.slice(0, -1) : publicPath;
|
|
19506
19508
|
SourceMapConsumer3.initialize({
|
|
19507
|
-
"lib/mappings.wasm":
|
|
19509
|
+
"lib/mappings.wasm": withoutSlashInTheEnd + SOURCE_MAP_ENDPOINT
|
|
19508
19510
|
});
|
|
19509
19511
|
var TimelineStack = ({ isCompact, sequence }) => {
|
|
19510
19512
|
const [originalLocation, setOriginalLocation] = useState63(null);
|