@remotion/renderer 4.0.353 → 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.
@@ -280,7 +280,7 @@ var printUsefulErrorMessage = (err, logLevel, indent) => {
280
280
  }, "Alternatively, you can decrease the memory size of your Lambda function to a value below 3008 MB. See: https://www.remotion.dev/docs/lambda/runtime#core-count--vcpus");
281
281
  Log.warn({ indent, logLevel }, "See also: https://repost.aws/questions/QUKruWYNDYTSmP17jCnIz6IQ/questions/QUKruWYNDYTSmP17jCnIz6IQ/unable-to-set-lambda-memory-over-3008mb");
282
282
  }
283
- if (err.stack?.includes("TooManyRequestsException: Rate Exceeded.")) {
283
+ if (err.stack?.includes("TooManyRequestsException: Rate Exceeded.") || err.message?.includes("ConcurrentInvocationLimitExceeded")) {
284
284
  Log.info({ indent, logLevel });
285
285
  Log.info({ indent, logLevel }, "\uD83D\uDCA1 This error indicates that your Lambda concurrency limit is too low. See: https://www.remotion.dev/docs/lambda/troubleshooting/rate-limit");
286
286
  }
@@ -16547,7 +16547,7 @@ var printUsefulErrorMessage = (err, logLevel, indent) => {
16547
16547
  }, "Alternatively, you can decrease the memory size of your Lambda function to a value below 3008 MB. See: https://www.remotion.dev/docs/lambda/runtime#core-count--vcpus");
16548
16548
  Log.warn({ indent, logLevel }, "See also: https://repost.aws/questions/QUKruWYNDYTSmP17jCnIz6IQ/questions/QUKruWYNDYTSmP17jCnIz6IQ/unable-to-set-lambda-memory-over-3008mb");
16549
16549
  }
16550
- if (err.stack?.includes("TooManyRequestsException: Rate Exceeded.")) {
16550
+ if (err.stack?.includes("TooManyRequestsException: Rate Exceeded.") || err.message?.includes("ConcurrentInvocationLimitExceeded")) {
16551
16551
  Log.info({ indent, logLevel });
16552
16552
  Log.info({ indent, logLevel }, "\uD83D\uDCA1 This error indicates that your Lambda concurrency limit is too low. See: https://www.remotion.dev/docs/lambda/troubleshooting/rate-limit");
16553
16553
  }
@@ -5,7 +5,7 @@ const logger_1 = require("./logger");
5
5
  const truthy_1 = require("./truthy");
6
6
  let alreadyPrintedCache = [];
7
7
  const printUsefulErrorMessage = (err, logLevel, indent) => {
8
- var _a, _b;
8
+ var _a, _b, _c;
9
9
  const errorStack = err.stack;
10
10
  if (errorStack && alreadyPrintedCache.includes(errorStack)) {
11
11
  return;
@@ -48,7 +48,8 @@ const printUsefulErrorMessage = (err, logLevel, indent) => {
48
48
  }, 'Alternatively, you can decrease the memory size of your Lambda function to a value below 3008 MB. See: https://www.remotion.dev/docs/lambda/runtime#core-count--vcpus');
49
49
  logger_1.Log.warn({ indent, logLevel }, 'See also: https://repost.aws/questions/QUKruWYNDYTSmP17jCnIz6IQ/questions/QUKruWYNDYTSmP17jCnIz6IQ/unable-to-set-lambda-memory-over-3008mb');
50
50
  }
51
- if ((_a = err.stack) === null || _a === void 0 ? void 0 : _a.includes('TooManyRequestsException: Rate Exceeded.')) {
51
+ if (((_a = err.stack) === null || _a === void 0 ? void 0 : _a.includes('TooManyRequestsException: Rate Exceeded.')) ||
52
+ ((_b = err.message) === null || _b === void 0 ? void 0 : _b.includes('ConcurrentInvocationLimitExceeded'))) {
52
53
  logger_1.Log.info({ indent, logLevel });
53
54
  logger_1.Log.info({ indent, logLevel }, '💡 This error indicates that your Lambda concurrency limit is too low. See: https://www.remotion.dev/docs/lambda/troubleshooting/rate-limit');
54
55
  }
@@ -68,7 +69,7 @@ const printUsefulErrorMessage = (err, logLevel, indent) => {
68
69
  logger_1.Log.info({ indent, logLevel }, '💡 Fix for this issue: https://remotion.dev/docs/lambda/troubleshooting/bucket-disallows-acl');
69
70
  }
70
71
  if (err.message.includes('Minified React error #306')) {
71
- const componentName = (_b = err.message.match(/<\w+>/)) === null || _b === void 0 ? void 0 : _b[0];
72
+ const componentName = (_c = err.message.match(/<\w+>/)) === null || _c === void 0 ? void 0 : _c[0];
72
73
  logger_1.Log.info({ indent, logLevel }, [
73
74
  '💡 This error indicates that the component',
74
75
  componentName ? `(${componentName})` : null,
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.353",
6
+ "version": "4.0.354",
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.353",
22
- "@remotion/streaming": "4.0.353"
21
+ "remotion": "4.0.354",
22
+ "@remotion/streaming": "4.0.354"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "react": ">=16.8.0",
@@ -33,17 +33,17 @@
33
33
  "react-dom": "19.0.0",
34
34
  "@types/ws": "8.5.10",
35
35
  "eslint": "9.19.0",
36
- "@remotion/example-videos": "4.0.353",
37
- "@remotion/eslint-config-internal": "4.0.353"
36
+ "@remotion/example-videos": "4.0.354",
37
+ "@remotion/eslint-config-internal": "4.0.354"
38
38
  },
39
39
  "optionalDependencies": {
40
- "@remotion/compositor-darwin-x64": "4.0.353",
41
- "@remotion/compositor-darwin-arm64": "4.0.353",
42
- "@remotion/compositor-linux-arm64-gnu": "4.0.353",
43
- "@remotion/compositor-linux-arm64-musl": "4.0.353",
44
- "@remotion/compositor-linux-x64-musl": "4.0.353",
45
- "@remotion/compositor-win32-x64-msvc": "4.0.353",
46
- "@remotion/compositor-linux-x64-gnu": "4.0.353"
40
+ "@remotion/compositor-darwin-x64": "4.0.354",
41
+ "@remotion/compositor-darwin-arm64": "4.0.354",
42
+ "@remotion/compositor-linux-arm64-gnu": "4.0.354",
43
+ "@remotion/compositor-linux-arm64-musl": "4.0.354",
44
+ "@remotion/compositor-linux-x64-musl": "4.0.354",
45
+ "@remotion/compositor-linux-x64-gnu": "4.0.354",
46
+ "@remotion/compositor-win32-x64-msvc": "4.0.354"
47
47
  },
48
48
  "keywords": [
49
49
  "remotion",