@remotion/studio 4.0.324 → 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/esm/{chunk-n77gaszd.js → chunk-sgrpvcge.js} +5 -3
- package/dist/esm/internals.mjs +2 -2
- package/dist/esm/previewEntry.mjs +2 -2
- package/dist/esm/renderEntry.mjs +1 -1
- package/package.json +10 -10
- package/tsconfig.tsbuildinfo +1 -1
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
|
|
@@ -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);
|
|
@@ -22107,8 +22109,8 @@ var parseElst = ({
|
|
|
22107
22109
|
const entryCount = iterator.getUint32();
|
|
22108
22110
|
const entries = [];
|
|
22109
22111
|
for (let i = 0;i < entryCount; i++) {
|
|
22110
|
-
const editDuration = iterator.getUint32();
|
|
22111
|
-
const mediaTime = iterator.getInt32();
|
|
22112
|
+
const editDuration = Number(version === 1 ? iterator.getUint64() : iterator.getUint32());
|
|
22113
|
+
const mediaTime = Number(version === 1 ? iterator.getUint64() : iterator.getInt32());
|
|
22112
22114
|
const mediaRateInteger = iterator.getUint16();
|
|
22113
22115
|
const mediaRateFraction = iterator.getUint16();
|
|
22114
22116
|
entries.push({
|
package/dist/esm/internals.mjs
CHANGED
|
@@ -22128,8 +22128,8 @@ var parseElst = ({
|
|
|
22128
22128
|
const entryCount = iterator.getUint32();
|
|
22129
22129
|
const entries = [];
|
|
22130
22130
|
for (let i = 0;i < entryCount; i++) {
|
|
22131
|
-
const editDuration = iterator.getUint32();
|
|
22132
|
-
const mediaTime = iterator.getInt32();
|
|
22131
|
+
const editDuration = Number(version === 1 ? iterator.getUint64() : iterator.getUint32());
|
|
22132
|
+
const mediaTime = Number(version === 1 ? iterator.getUint64() : iterator.getInt32());
|
|
22133
22133
|
const mediaRateInteger = iterator.getUint16();
|
|
22134
22134
|
const mediaRateFraction = iterator.getUint16();
|
|
22135
22135
|
entries.push({
|
|
@@ -22408,8 +22408,8 @@ var parseElst = ({
|
|
|
22408
22408
|
const entryCount = iterator.getUint32();
|
|
22409
22409
|
const entries = [];
|
|
22410
22410
|
for (let i = 0;i < entryCount; i++) {
|
|
22411
|
-
const editDuration = iterator.getUint32();
|
|
22412
|
-
const mediaTime = iterator.getInt32();
|
|
22411
|
+
const editDuration = Number(version === 1 ? iterator.getUint64() : iterator.getUint32());
|
|
22412
|
+
const mediaTime = Number(version === 1 ? iterator.getUint64() : iterator.getInt32());
|
|
22413
22413
|
const mediaRateInteger = iterator.getUint16();
|
|
22414
22414
|
const mediaRateFraction = iterator.getUint16();
|
|
22415
22415
|
entries.push({
|
package/dist/esm/renderEntry.mjs
CHANGED
|
@@ -183,7 +183,7 @@ var renderContent = (Root) => {
|
|
|
183
183
|
renderToDOM(/* @__PURE__ */ jsx("div", {
|
|
184
184
|
children: /* @__PURE__ */ jsx(DelayedSpinner, {})
|
|
185
185
|
}));
|
|
186
|
-
import("./chunk-
|
|
186
|
+
import("./chunk-sgrpvcge.js").then(({ StudioInternals }) => {
|
|
187
187
|
renderToDOM(/* @__PURE__ */ jsx(StudioInternals.Studio, {
|
|
188
188
|
readOnly: true,
|
|
189
189
|
rootComponent: Root
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/studio"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/studio",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.325",
|
|
7
7
|
"description": "APIs for interacting with the Remotion Studio",
|
|
8
8
|
"main": "dist",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -23,21 +23,21 @@
|
|
|
23
23
|
"source-map": "0.7.3",
|
|
24
24
|
"open": "^8.4.2",
|
|
25
25
|
"zod": "3.22.3",
|
|
26
|
-
"remotion": "4.0.
|
|
27
|
-
"@remotion/
|
|
28
|
-
"@remotion/
|
|
29
|
-
"@remotion/media-utils": "4.0.
|
|
30
|
-
"@remotion/renderer": "4.0.
|
|
31
|
-
"@remotion/
|
|
32
|
-
"@remotion/
|
|
33
|
-
"@remotion/
|
|
26
|
+
"remotion": "4.0.325",
|
|
27
|
+
"@remotion/player": "4.0.325",
|
|
28
|
+
"@remotion/media-parser": "4.0.325",
|
|
29
|
+
"@remotion/media-utils": "4.0.325",
|
|
30
|
+
"@remotion/renderer": "4.0.325",
|
|
31
|
+
"@remotion/studio-shared": "4.0.325",
|
|
32
|
+
"@remotion/webcodecs": "4.0.325",
|
|
33
|
+
"@remotion/zod-types": "4.0.325"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"react": "19.0.0",
|
|
37
37
|
"react-dom": "19.0.0",
|
|
38
38
|
"@types/semver": "^7.3.4",
|
|
39
39
|
"eslint": "9.19.0",
|
|
40
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
40
|
+
"@remotion/eslint-config-internal": "4.0.325"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|