@remotion/bundler 4.0.18 → 4.0.20

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/bundle.js CHANGED
@@ -204,6 +204,11 @@ async function bundle(...args) {
204
204
  startPath: from,
205
205
  staticHash,
206
206
  limit: 1000,
207
+ }).map((f) => {
208
+ return {
209
+ ...f,
210
+ name: f.name.split(node_path_1.default.sep).join('/'),
211
+ };
207
212
  }),
208
213
  includeFavicon: false,
209
214
  title: 'Remotion Bundle',
@@ -14,7 +14,7 @@ const indexHtml = ({ baseDir, editorName, inputProps, envVariables, staticHash,
14
14
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
15
15
  <link rel="preconnect" href="https://fonts.gstatic.com" />
16
16
  ${includeFavicon
17
- ? ` <link rel="icon" type="image/png" href="/remotion.png" />\n`
17
+ ? ` <link id="__remotion_favicon" rel="icon" type="image/png" href="/remotion.png" />\n`
18
18
  : ''}
19
19
  <title>${title}</title>
20
20
  </head>
@@ -208,7 +208,20 @@ if (typeof window !== 'undefined') {
208
208
  });
209
209
  const resolved = await Promise.resolve(comp);
210
210
  (0, remotion_1.continueRender)(handle);
211
- return resolved;
211
+ const { props, defaultProps, ...data } = resolved;
212
+ return {
213
+ ...data,
214
+ serializedResolvedPropsWithCustomSchema: remotion_1.Internals.serializeJSONWithDate({
215
+ data: props,
216
+ indent: undefined,
217
+ staticBase: null,
218
+ }).serializedString,
219
+ serializedDefaultPropsWithCustomSchema: remotion_1.Internals.serializeJSONWithDate({
220
+ data: defaultProps,
221
+ indent: undefined,
222
+ staticBase: null,
223
+ }).serializedString,
224
+ };
212
225
  }));
213
226
  };
214
227
  window.remotion_getCompositionNames = () => {
@@ -250,7 +263,7 @@ if (typeof window !== 'undefined') {
250
263
  }).serializedString,
251
264
  };
252
265
  };
253
- window.siteVersion = '9';
266
+ window.siteVersion = '10';
254
267
  window.remotion_version = remotion_1.VERSION;
255
268
  window.remotion_setBundleMode = exports.setBundleModeAndUpdate;
256
269
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/bundler",
3
- "version": "4.0.18",
3
+ "version": "4.0.20",
4
4
  "description": "Bundler for Remotion",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -22,7 +22,7 @@
22
22
  "react-refresh": "0.9.0",
23
23
  "style-loader": "2.0.0",
24
24
  "webpack": "5.83.1",
25
- "remotion": "4.0.18"
25
+ "remotion": "4.0.20"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": ">=16.8.0",