@remotion/bundler 4.0.227 → 4.0.229

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.
@@ -43,6 +43,10 @@ const indexHtml = ({ publicPath, editorName, inputProps, envVariables, staticHas
43
43
  <script>window.remotion_installedPackages = ${JSON.stringify(installedDependencies)}</script>
44
44
  <script>window.remotion_packageManager = ${JSON.stringify(packageManager)}</script>
45
45
  <script>window.remotion_publicFolderExists = ${publicFolderExists ? `"${publicFolderExists}"` : 'null'};</script>
46
+ <script>
47
+ window.siteVersion = '11';
48
+ window.remotion_version = '${remotion_1.VERSION}';
49
+ </script>
46
50
 
47
51
  <div id="video-container"></div>
48
52
  <div id="${remotion_1.Internals.REMOTION_STUDIO_CONTAINER_ELEMENT}"></div>
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/bundler"
4
4
  },
5
5
  "name": "@remotion/bundler",
6
- "version": "4.0.227",
6
+ "version": "4.0.229",
7
7
  "description": "Bundle Remotion compositions using Webpack",
8
8
  "main": "dist/index.js",
9
9
  "sideEffects": false,
@@ -24,10 +24,10 @@
24
24
  "react-refresh": "0.9.0",
25
25
  "style-loader": "2.0.0",
26
26
  "source-map": "0.7.3",
27
- "webpack": "5.94.0",
28
- "remotion": "4.0.227",
29
- "@remotion/studio": "4.0.227",
30
- "@remotion/studio-shared": "4.0.227"
27
+ "webpack": "5.96.1",
28
+ "remotion": "4.0.229",
29
+ "@remotion/studio-shared": "4.0.229",
30
+ "@remotion/studio": "4.0.229"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "react": ">=16.8.0",
@@ -37,7 +37,7 @@
37
37
  "react": "18.3.1",
38
38
  "react-dom": "18.3.1",
39
39
  "eslint": "9.14.0",
40
- "@remotion/eslint-config-internal": "4.0.227"
40
+ "@remotion/eslint-config-internal": "4.0.229"
41
41
  },
42
42
  "keywords": [
43
43
  "remotion",
package/renderEntry.tsx CHANGED
@@ -16,7 +16,6 @@ import type {
16
16
  import {
17
17
  AbsoluteFill,
18
18
  Internals,
19
- VERSION,
20
19
  continueRender,
21
20
  delayRender,
22
21
  getInputProps,
@@ -196,7 +195,7 @@ const waitForRootHandle = delayRender(
196
195
  timeoutInMilliseconds:
197
196
  typeof window === 'undefined'
198
197
  ? DEFAULT_ROOT_COMPONENT_TIMEOUT
199
- : window.remotion_puppeteerTimeout ?? DEFAULT_ROOT_COMPONENT_TIMEOUT,
198
+ : (window.remotion_puppeteerTimeout ?? DEFAULT_ROOT_COMPONENT_TIMEOUT),
200
199
  },
201
200
  );
202
201
 
@@ -343,7 +342,7 @@ if (typeof window !== 'undefined') {
343
342
  const inputProps =
344
343
  typeof window === 'undefined' || getRemotionEnvironment().isPlayer
345
344
  ? {}
346
- : getInputProps() ?? {};
345
+ : (getInputProps() ?? {});
347
346
 
348
347
  return Promise.all(
349
348
  compositions.map(async (c): Promise<VideoConfigWithSerializedProps> => {
@@ -414,7 +413,7 @@ if (typeof window !== 'undefined') {
414
413
  const inputProps =
415
414
  typeof window === 'undefined' || getRemotionEnvironment().isPlayer
416
415
  ? {}
417
- : getInputProps() ?? {};
416
+ : (getInputProps() ?? {});
418
417
 
419
418
  const originalProps = {
420
419
  ...(selectedComp.defaultProps ?? {}),
@@ -454,7 +453,5 @@ if (typeof window !== 'undefined') {
454
453
  };
455
454
  };
456
455
 
457
- window.siteVersion = '11';
458
- window.remotion_version = VERSION;
459
456
  window.remotion_setBundleMode = setBundleModeAndUpdate;
460
457
  }