@remotion/renderer 4.0.231 → 4.0.233

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.
@@ -29,6 +29,7 @@ const copyAndDeduplicateAssets = (renderAssets) => {
29
29
  const calculateAssetPositions = (frames) => {
30
30
  var _a, _b;
31
31
  const assets = [];
32
+ const flattened = frames.flat(1);
32
33
  for (let frame = 0; frame < frames.length; frame++) {
33
34
  const prev = copyAndDeduplicateAssets((_a = frames[frame - 1]) !== null && _a !== void 0 ? _a : []);
34
35
  const current = copyAndDeduplicateAssets(frames[frame]);
@@ -36,7 +37,7 @@ const calculateAssetPositions = (frames) => {
36
37
  for (const asset of current) {
37
38
  if (!findFrom(prev, asset)) {
38
39
  assets.push({
39
- src: (0, resolve_asset_src_1.resolveAssetSrc)((0, types_1.uncompressMediaAsset)(frames.flat(1), asset).src),
40
+ src: (0, resolve_asset_src_1.resolveAssetSrc)((0, types_1.uncompressMediaAsset)(flattened, asset).src),
40
41
  type: asset.type,
41
42
  duration: null,
42
43
  id: asset.id,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/renderer"
4
4
  },
5
5
  "name": "@remotion/renderer",
6
- "version": "4.0.231",
6
+ "version": "4.0.233",
7
7
  "description": "Render Remotion videos using Node.js or Bun",
8
8
  "main": "dist/index.js",
9
9
  "types": "dist/index.d.ts",
@@ -18,8 +18,8 @@
18
18
  "extract-zip": "2.0.1",
19
19
  "source-map": "^0.8.0-beta.0",
20
20
  "ws": "8.17.1",
21
- "remotion": "4.0.231",
22
- "@remotion/streaming": "4.0.231"
21
+ "remotion": "4.0.233",
22
+ "@remotion/streaming": "4.0.233"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "react": ">=16.8.0",
@@ -33,17 +33,17 @@
33
33
  "react-dom": "18.3.1",
34
34
  "@types/ws": "8.5.10",
35
35
  "eslint": "9.14.0",
36
- "@remotion/example-videos": "4.0.231",
37
- "@remotion/eslint-config-internal": "4.0.231"
36
+ "@remotion/example-videos": "4.0.233",
37
+ "@remotion/eslint-config-internal": "4.0.233"
38
38
  },
39
39
  "optionalDependencies": {
40
- "@remotion/compositor-darwin-arm64": "4.0.231",
41
- "@remotion/compositor-darwin-x64": "4.0.231",
42
- "@remotion/compositor-linux-arm64-gnu": "4.0.231",
43
- "@remotion/compositor-linux-x64-gnu": "4.0.231",
44
- "@remotion/compositor-win32-x64-msvc": "4.0.231",
45
- "@remotion/compositor-linux-x64-musl": "4.0.231",
46
- "@remotion/compositor-linux-arm64-musl": "4.0.231"
40
+ "@remotion/compositor-darwin-x64": "4.0.233",
41
+ "@remotion/compositor-linux-arm64-gnu": "4.0.233",
42
+ "@remotion/compositor-linux-arm64-musl": "4.0.233",
43
+ "@remotion/compositor-linux-x64-gnu": "4.0.233",
44
+ "@remotion/compositor-win32-x64-msvc": "4.0.233",
45
+ "@remotion/compositor-linux-x64-musl": "4.0.233",
46
+ "@remotion/compositor-darwin-arm64": "4.0.233"
47
47
  },
48
48
  "keywords": [
49
49
  "remotion",