@remotion/renderer 4.0.402 → 4.0.403

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.
@@ -15040,7 +15040,9 @@ var startOffthreadVideoServer = ({
15040
15040
  });
15041
15041
  }).catch((err) => {
15042
15042
  Log.error({ indent, logLevel }, "Could not extract frame from compositor", err);
15043
- if (!response.headersSent) {
15043
+ if (response.headersSent) {
15044
+ Log.error({ indent, logLevel }, "Cannot propagate error message to client because headers have already been sent");
15045
+ } else {
15044
15046
  response.writeHead(500);
15045
15047
  response.write(JSON.stringify({ error: err.stack }));
15046
15048
  }
@@ -168,7 +168,10 @@ const startOffthreadVideoServer = ({ downloadMap, logLevel, indent, offthreadVid
168
168
  })
169
169
  .catch((err) => {
170
170
  logger_1.Log.error({ indent, logLevel }, 'Could not extract frame from compositor', err);
171
- if (!response.headersSent) {
171
+ if (response.headersSent) {
172
+ logger_1.Log.error({ indent, logLevel }, 'Cannot propagate error message to client because headers have already been sent');
173
+ }
174
+ else {
172
175
  response.writeHead(500);
173
176
  response.write(JSON.stringify({ error: err.stack }));
174
177
  }
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.402",
6
+ "version": "4.0.403",
7
7
  "description": "Render Remotion videos using Node.js or Bun",
8
8
  "main": "dist/index.js",
9
9
  "types": "dist/index.d.ts",
@@ -22,11 +22,11 @@
22
22
  "dependencies": {
23
23
  "execa": "5.1.1",
24
24
  "extract-zip": "2.0.1",
25
- "remotion": "4.0.402",
26
- "@remotion/streaming": "4.0.402",
25
+ "remotion": "4.0.403",
26
+ "@remotion/streaming": "4.0.403",
27
27
  "source-map": "^0.8.0-beta.0",
28
28
  "ws": "8.17.1",
29
- "@remotion/licensing": "4.0.402"
29
+ "@remotion/licensing": "4.0.403"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "react": ">=16.8.0",
@@ -39,19 +39,19 @@
39
39
  "react": "19.2.3",
40
40
  "react-dom": "19.2.3",
41
41
  "@types/ws": "8.5.10",
42
- "@remotion/example-videos": "4.0.402",
43
- "@remotion/eslint-config-internal": "4.0.402",
42
+ "@remotion/example-videos": "4.0.403",
43
+ "@remotion/eslint-config-internal": "4.0.403",
44
44
  "eslint": "9.19.0",
45
45
  "@types/node": "20.12.14"
46
46
  },
47
47
  "optionalDependencies": {
48
- "@remotion/compositor-darwin-arm64": "4.0.402",
49
- "@remotion/compositor-darwin-x64": "4.0.402",
50
- "@remotion/compositor-linux-arm64-gnu": "4.0.402",
51
- "@remotion/compositor-linux-arm64-musl": "4.0.402",
52
- "@remotion/compositor-linux-x64-gnu": "4.0.402",
53
- "@remotion/compositor-linux-x64-musl": "4.0.402",
54
- "@remotion/compositor-win32-x64-msvc": "4.0.402"
48
+ "@remotion/compositor-darwin-arm64": "4.0.403",
49
+ "@remotion/compositor-darwin-x64": "4.0.403",
50
+ "@remotion/compositor-linux-arm64-gnu": "4.0.403",
51
+ "@remotion/compositor-linux-arm64-musl": "4.0.403",
52
+ "@remotion/compositor-linux-x64-gnu": "4.0.403",
53
+ "@remotion/compositor-linux-x64-musl": "4.0.403",
54
+ "@remotion/compositor-win32-x64-msvc": "4.0.403"
55
55
  },
56
56
  "keywords": [
57
57
  "remotion",