@remotion/lambda 3.3.43 → 3.3.44

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.
@@ -218,7 +218,12 @@ const renderCommand = async (args, remotionRoot) => {
218
218
  }
219
219
  if (newStatus.fatalErrorEncountered) {
220
220
  log_1.Log.error('\n');
221
+ const uniqueErrors = [];
221
222
  for (const err of newStatus.errors) {
223
+ if (uniqueErrors.find((e) => e.stack === err.stack)) {
224
+ continue;
225
+ }
226
+ uniqueErrors.push(err);
222
227
  if (err.explanation) {
223
228
  log_1.Log.error(err.explanation);
224
229
  }
@@ -3,5 +3,8 @@ export declare const planFrameRanges: ({ framesPerLambda, frameRange, everyNthFr
3
3
  frameRange: [number, number];
4
4
  everyNthFrame: number;
5
5
  }) => {
6
- chunks: [number, number][];
6
+ chunks: [
7
+ number,
8
+ number
9
+ ][];
7
10
  };
@@ -220,7 +220,8 @@ const rendererHandler = async (params, options) => {
220
220
  // is a very rare error to occur
221
221
  const isBrowserError = err.message.includes('FATAL:zygote_communication_linux.cc') ||
222
222
  err.message.includes('error while loading shared libraries: libnss3.so');
223
- const willRetry = isBrowserError || params.retriesLeft > 0;
223
+ const shouldNotRetry = err.name === 'CancelledError';
224
+ const willRetry = (isBrowserError || params.retriesLeft > 0) && !shouldNotRetry;
224
225
  console.log('Error occurred');
225
226
  console.log(err);
226
227
  await (0, write_lambda_error_1.writeLambdaError)({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/lambda",
3
- "version": "3.3.43",
3
+ "version": "3.3.44",
4
4
  "description": "Distributed renderer for Remotion based on AWS Lambda",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -33,17 +33,17 @@
33
33
  "@aws-sdk/credential-providers": "3.215.0",
34
34
  "@aws-sdk/lib-storage": "3.215.0",
35
35
  "@aws-sdk/s3-request-presigner": "3.215.0",
36
- "@remotion/bundler": "3.3.43",
37
- "@remotion/cli": "3.3.43",
38
- "@remotion/renderer": "3.3.43",
36
+ "@remotion/bundler": "3.3.44",
37
+ "@remotion/cli": "3.3.44",
38
+ "@remotion/renderer": "3.3.44",
39
39
  "aws-policies": "^1.0.1",
40
40
  "mime-types": "2.1.34",
41
- "remotion": "3.3.43"
41
+ "remotion": "3.3.44"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@jonny/eslint-config": "3.0.266",
45
- "@remotion/compositor-linux-arm64-musl": "3.3.43",
46
- "@remotion/compositor-linux-x64-musl": "3.3.43",
45
+ "@remotion/compositor-linux-arm64-musl": "3.3.44",
46
+ "@remotion/compositor-linux-x64-musl": "3.3.44",
47
47
  "@types/mime-types": "2.1.1",
48
48
  "@types/minimist": "1.2.2",
49
49
  "@types/node": "^14.14.14",
@@ -59,5 +59,5 @@
59
59
  "publishConfig": {
60
60
  "access": "public"
61
61
  },
62
- "gitHead": "3585e437a30ba001e983539728eb1914172b729c"
62
+ "gitHead": "7ba7bbdacbda1499ecdb92f1d9581d5db458edf8"
63
63
  }
Binary file
Binary file