@remotion/studio 4.0.352 → 4.0.354
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/dist/esm/chunk-c4r69p4f.js +46840 -0
- package/dist/esm/chunk-zjtmp09e.js +46840 -0
- package/dist/esm/internals.mjs +3 -3
- package/dist/esm/previewEntry.mjs +3 -3
- package/dist/esm/renderEntry.mjs +4 -4
- package/dist/renderEntry.js +3 -3
- package/package.json +11 -11
- package/tsconfig.tsbuildinfo +1 -0
package/dist/esm/internals.mjs
CHANGED
|
@@ -22342,7 +22342,7 @@ var parseElst = ({
|
|
|
22342
22342
|
size: size4,
|
|
22343
22343
|
offset
|
|
22344
22344
|
}) => {
|
|
22345
|
-
const {
|
|
22345
|
+
const { discardRest } = iterator.startBox(size4 - 8);
|
|
22346
22346
|
const version = iterator.getUint8();
|
|
22347
22347
|
const flags = iterator.getUint24();
|
|
22348
22348
|
const entryCount = iterator.getUint32();
|
|
@@ -22359,7 +22359,7 @@ var parseElst = ({
|
|
|
22359
22359
|
mediaRateFraction
|
|
22360
22360
|
});
|
|
22361
22361
|
}
|
|
22362
|
-
|
|
22362
|
+
discardRest();
|
|
22363
22363
|
const result = {
|
|
22364
22364
|
type: "elst-box",
|
|
22365
22365
|
version,
|
|
@@ -25357,7 +25357,7 @@ var parseStss = ({
|
|
|
25357
25357
|
}
|
|
25358
25358
|
const bytesRemainingInBox = boxSize - (iterator.counter.getOffset() - offset);
|
|
25359
25359
|
if (bytesRemainingInBox > 0) {
|
|
25360
|
-
|
|
25360
|
+
iterator.discard(bytesRemainingInBox);
|
|
25361
25361
|
}
|
|
25362
25362
|
return {
|
|
25363
25363
|
type: "stss-box",
|
|
@@ -22622,7 +22622,7 @@ var parseElst = ({
|
|
|
22622
22622
|
size: size4,
|
|
22623
22623
|
offset
|
|
22624
22624
|
}) => {
|
|
22625
|
-
const {
|
|
22625
|
+
const { discardRest } = iterator.startBox(size4 - 8);
|
|
22626
22626
|
const version = iterator.getUint8();
|
|
22627
22627
|
const flags = iterator.getUint24();
|
|
22628
22628
|
const entryCount = iterator.getUint32();
|
|
@@ -22639,7 +22639,7 @@ var parseElst = ({
|
|
|
22639
22639
|
mediaRateFraction
|
|
22640
22640
|
});
|
|
22641
22641
|
}
|
|
22642
|
-
|
|
22642
|
+
discardRest();
|
|
22643
22643
|
const result = {
|
|
22644
22644
|
type: "elst-box",
|
|
22645
22645
|
version,
|
|
@@ -25637,7 +25637,7 @@ var parseStss = ({
|
|
|
25637
25637
|
}
|
|
25638
25638
|
const bytesRemainingInBox = boxSize - (iterator.counter.getOffset() - offset);
|
|
25639
25639
|
if (bytesRemainingInBox > 0) {
|
|
25640
|
-
|
|
25640
|
+
iterator.discard(bytesRemainingInBox);
|
|
25641
25641
|
}
|
|
25642
25642
|
return {
|
|
25643
25643
|
type: "stss-box",
|
package/dist/esm/renderEntry.mjs
CHANGED
|
@@ -185,7 +185,7 @@ var renderContent = (Root) => {
|
|
|
185
185
|
renderToDOM(/* @__PURE__ */ jsx("div", {
|
|
186
186
|
children: /* @__PURE__ */ jsx(DelayedSpinner, {})
|
|
187
187
|
}));
|
|
188
|
-
import("./chunk-
|
|
188
|
+
import("./chunk-zjtmp09e.js").then(({ StudioInternals }) => {
|
|
189
189
|
window.remotion_isStudio = true;
|
|
190
190
|
window.remotion_isReadOnlyStudio = true;
|
|
191
191
|
Internals.enableSequenceStackTraces();
|
|
@@ -228,14 +228,14 @@ if (typeof window !== "undefined") {
|
|
|
228
228
|
const compositions = Internals.compositionsRef.current.getCompositions();
|
|
229
229
|
const canSerializeDefaultProps = getCanSerializeDefaultProps(compositions);
|
|
230
230
|
if (!canSerializeDefaultProps) {
|
|
231
|
-
Internals.Log.warn(window.remotion_logLevel, "defaultProps are too big to serialize - trying to find the problematic composition...");
|
|
232
|
-
Internals.Log.warn(window.remotion_logLevel, "Serialization:", compositions);
|
|
231
|
+
Internals.Log.warn({ logLevel: window.remotion_logLevel, tag: null }, "defaultProps are too big to serialize - trying to find the problematic composition...");
|
|
232
|
+
Internals.Log.warn({ logLevel: window.remotion_logLevel, tag: null }, "Serialization:", compositions);
|
|
233
233
|
for (const comp of compositions) {
|
|
234
234
|
if (!getCanSerializeDefaultProps(comp)) {
|
|
235
235
|
throw new Error(`defaultProps too big - could not serialize - the defaultProps of composition with ID ${comp.id} - the object that was passed to defaultProps was too big. Learn how to mitigate this error by visiting https://remotion.dev/docs/troubleshooting/serialize-defaultprops`);
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
|
-
Internals.Log.warn(window.remotion_logLevel, "Could not single out a problematic composition - The composition list as a whole is too big to serialize.");
|
|
238
|
+
Internals.Log.warn({ logLevel: window.remotion_logLevel, tag: null }, "Could not single out a problematic composition - The composition list as a whole is too big to serialize.");
|
|
239
239
|
throw new Error("defaultProps too big - Could not serialize - an object that was passed to defaultProps was too big. Learn how to mitigate this error by visiting https://remotion.dev/docs/troubleshooting/serialize-defaultprops");
|
|
240
240
|
}
|
|
241
241
|
return compositions;
|
package/dist/renderEntry.js
CHANGED
|
@@ -233,14 +233,14 @@ if (typeof window !== 'undefined') {
|
|
|
233
233
|
const compositions = remotion_1.Internals.compositionsRef.current.getCompositions();
|
|
234
234
|
const canSerializeDefaultProps = getCanSerializeDefaultProps(compositions);
|
|
235
235
|
if (!canSerializeDefaultProps) {
|
|
236
|
-
remotion_1.Internals.Log.warn(window.remotion_logLevel, 'defaultProps are too big to serialize - trying to find the problematic composition...');
|
|
237
|
-
remotion_1.Internals.Log.warn(window.remotion_logLevel, 'Serialization:', compositions);
|
|
236
|
+
remotion_1.Internals.Log.warn({ logLevel: window.remotion_logLevel, tag: null }, 'defaultProps are too big to serialize - trying to find the problematic composition...');
|
|
237
|
+
remotion_1.Internals.Log.warn({ logLevel: window.remotion_logLevel, tag: null }, 'Serialization:', compositions);
|
|
238
238
|
for (const comp of compositions) {
|
|
239
239
|
if (!getCanSerializeDefaultProps(comp)) {
|
|
240
240
|
throw new Error(`defaultProps too big - could not serialize - the defaultProps of composition with ID ${comp.id} - the object that was passed to defaultProps was too big. Learn how to mitigate this error by visiting https://remotion.dev/docs/troubleshooting/serialize-defaultprops`);
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
|
-
remotion_1.Internals.Log.warn(window.remotion_logLevel, 'Could not single out a problematic composition - The composition list as a whole is too big to serialize.');
|
|
243
|
+
remotion_1.Internals.Log.warn({ logLevel: window.remotion_logLevel, tag: null }, 'Could not single out a problematic composition - The composition list as a whole is too big to serialize.');
|
|
244
244
|
throw new Error('defaultProps too big - Could not serialize - an object that was passed to defaultProps was too big. Learn how to mitigate this error by visiting https://remotion.dev/docs/troubleshooting/serialize-defaultprops');
|
|
245
245
|
}
|
|
246
246
|
return compositions;
|
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.354",
|
|
7
7
|
"description": "APIs for interacting with the Remotion Studio",
|
|
8
8
|
"main": "dist",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -23,22 +23,22 @@
|
|
|
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-parser": "4.0.
|
|
30
|
-
"@remotion/renderer": "4.0.
|
|
31
|
-
"@remotion/web-renderer": "4.0.
|
|
32
|
-
"@remotion/studio-shared": "4.0.
|
|
33
|
-
"@remotion/webcodecs": "4.0.
|
|
34
|
-
"@remotion/zod-types": "4.0.
|
|
26
|
+
"remotion": "4.0.354",
|
|
27
|
+
"@remotion/player": "4.0.354",
|
|
28
|
+
"@remotion/media-utils": "4.0.354",
|
|
29
|
+
"@remotion/media-parser": "4.0.354",
|
|
30
|
+
"@remotion/renderer": "4.0.354",
|
|
31
|
+
"@remotion/web-renderer": "4.0.354",
|
|
32
|
+
"@remotion/studio-shared": "4.0.354",
|
|
33
|
+
"@remotion/webcodecs": "4.0.354",
|
|
34
|
+
"@remotion/zod-types": "4.0.354"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"react": "19.0.0",
|
|
38
38
|
"react-dom": "19.0.0",
|
|
39
39
|
"@types/semver": "^7.3.4",
|
|
40
40
|
"eslint": "9.19.0",
|
|
41
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
41
|
+
"@remotion/eslint-config-internal": "4.0.354"
|
|
42
42
|
},
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|