@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.
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @remotion/studio@4.0.324 make /Users/jonathanburger/remotion/packages/studio
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
- [320.79ms] Generated.
6
+ [68.43ms] Generated.
@@ -0,0 +1,83 @@
1
+
2
+ $ bun test src
3
+ bun test v1.2.19 (aad3abea)
4
+ 
5
+ src/test/stringify-default-props.test.ts:
6
+ ✓ Should stringify default props correctly [6.65ms]
7
+ ✓ Should stringify default props correctly [0.64ms]
8
+ 
9
+ src/test/sequenced-timeline.test.ts:
10
+ ✓ Should calculate sequences correctly [5.13ms]
11
+ 
12
+ src/test/create-zod-values.test.ts:
13
+ ✓ Should be able to create a string [0.62ms]
14
+ ✓ Should be able to create a number
15
+ ✓ Should be able to create an object
16
+ ✓ Should be able to create an array [0.23ms]
17
+ ✓ Should be able to create a union [0.11ms]
18
+ ✓ Zod literal [0.10ms]
19
+ ✓ Should be able to create a discriminated union [0.36ms]
20
+ ✓ Zod instanceof [0.07ms]
21
+ ✓ Zod intersection [0.12ms]
22
+ ✓ Zod tuples [0.12ms]
23
+ ✓ Zod record [0.07ms]
24
+ ✓ Zod map [0.11ms]
25
+ ✓ Zod lazy [0.08ms]
26
+ ✓ Zod set [0.04ms]
27
+ ✓ Zod function [0.10ms]
28
+ ✓ Zod undefined [0.05ms]
29
+ ✓ Zod null [0.29ms]
30
+ ✓ Zod enum [1.19ms]
31
+ ✓ Zod nativeEnum [0.21ms]
32
+ ✓ Zod optional [0.16ms]
33
+ ✓ Zod nullable [0.17ms]
34
+ ✓ Zod undefined [0.17ms]
35
+ ✓ Zod catch [0.16ms]
36
+ ✓ Zod promise [0.05ms]
37
+ ✓ Zod transform [0.14ms]
38
+ ✓ Zod branded [0.15ms]
39
+ ✓ Zod lazy [0.32ms]
40
+ ✓ Zod coerce [0.10ms]
41
+ ✓ Zod strict [0.09ms]
42
+ ✓ Should create a color [0.03ms]
43
+ ✓ Should create a textarea [0.10ms]
44
+ 
45
+ src/test/folder-tree.test.ts:
46
+ ✓ Should create a good folder tree with 1 item inside and 1 item outside [0.30ms]
47
+ ✓ Should handle nested folders well [7.47ms]
48
+ ✓ Should throw if two folders with the same name [0.20ms]
49
+ 
50
+ src/test/big-timeline.test.ts:
51
+ ✓ Should calculate timeline as expected [9.28ms]
52
+ 
53
+ src/test/smooth-zoom.test.ts:
54
+ ✓ Smoothen zoom
55
+ ✓ Unsmoothen zoom [0.05ms]
56
+ 
57
+ src/test/validate-gui-output-filename.test.ts:
58
+ ✓ Should catch dot after slash [0.50ms]
59
+ ✓ Should catch dot in front  [0.04ms]
60
+ 
61
+ src/test/timeline-sequence-layout.test.ts:
62
+ ✓ Should test timeline sequence layout without max media duration [0.22ms]
63
+ ✓ Should test timeline sequence layout with max media duration [0.04ms]
64
+ 
65
+ src/test/extract-zod-enums.test.ts:
66
+ ✓ Extract Zod enums [0.38ms]
67
+ ✓ Extract Zod enums #2 [1.07ms]
68
+ 
69
+ src/test/color-math.test.ts:
70
+ ✓ Color math [0.40ms]
71
+ 
72
+ src/test/format-time.test.ts:
73
+ ✓ Format time [0.08ms]
74
+ 
75
+ src/test/timeline.test.ts:
76
+ ✓ Should calculate timeline with no sequences [0.03ms]
77
+ ✓ Should calculate a basic timeline [0.13ms]
78
+ ✓ Should follow order of nesting [0.18ms]
79
+
80
+  51 pass
81
+  0 fail
82
+ 67 expect() calls
83
+ Ran 51 tests across 12 files. [143.00ms]
@@ -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": (window.remotion_publicPath === "/" ? "" : window.remotion_publicPath) + SOURCE_MAP_ENDPOINT
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({
@@ -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({
@@ -183,7 +183,7 @@ var renderContent = (Root) => {
183
183
  renderToDOM(/* @__PURE__ */ jsx("div", {
184
184
  children: /* @__PURE__ */ jsx(DelayedSpinner, {})
185
185
  }));
186
- import("./chunk-gqesq3a3.js").then(({ StudioInternals }) => {
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.324",
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.324",
27
- "@remotion/media-parser": "4.0.324",
28
- "@remotion/webcodecs": "4.0.324",
29
- "@remotion/media-utils": "4.0.324",
30
- "@remotion/renderer": "4.0.324",
31
- "@remotion/player": "4.0.324",
32
- "@remotion/zod-types": "4.0.324",
33
- "@remotion/studio-shared": "4.0.324"
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.324"
40
+ "@remotion/eslint-config-internal": "4.0.325"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"