@remotion/lambda 4.0.285 → 4.0.287

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.
@@ -62,7 +62,7 @@ const createFunction = async ({ createCloudWatchLogGroup, region, zipFile, funct
62
62
  }
63
63
  const { FunctionName, FunctionArn } = await lambda_client_1.LambdaClientInternals.getLambdaClient(region).send(new client_lambda_1.CreateFunctionCommand({
64
64
  Code: {
65
- ZipFile: (0, node_fs_1.readFileSync)(zipFile),
65
+ ZipFile: new Uint8Array((0, node_fs_1.readFileSync)(zipFile)),
66
66
  },
67
67
  FunctionName: functionName,
68
68
  Handler: 'index.handler',
package/dist/cli/log.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  export declare const Log: {
2
2
  trace: (options: import("@remotion/renderer").LogOptions & {
3
3
  tag?: string;
4
- }, ...args: Parameters<typeof console.log>) => boolean | void;
4
+ }, message?: any, ...optionalParams: any[]) => boolean | void;
5
5
  verbose: (options: import("@remotion/renderer").LogOptions & {
6
6
  tag?: string;
7
- }, ...args: Parameters<typeof console.log>) => boolean | void;
8
- info: (options: import("@remotion/renderer").LogOptions, ...args: Parameters<typeof console.log>) => boolean | void;
9
- warn: (options: import("@remotion/renderer").LogOptions, ...args: Parameters<typeof console.log>) => boolean | void;
7
+ }, message?: any, ...optionalParams: any[]) => boolean | void;
8
+ info: (options: import("@remotion/renderer").LogOptions, message?: any, ...optionalParams: any[]) => boolean | void;
9
+ warn: (options: import("@remotion/renderer").LogOptions, message?: any, ...optionalParams: any[]) => boolean | void;
10
10
  error: (options: import("@remotion/renderer").LogOptions & {
11
11
  tag?: string;
12
- }, ...args: Parameters<typeof console.log>) => boolean | void;
12
+ }, message?: any, ...optionalParams: any[]) => boolean | void;
13
13
  };
@@ -8604,7 +8604,7 @@ var require_package = __commonJS((exports, module) => {
8604
8604
  url: "https://github.com/remotion-dev/remotion/tree/main/packages/lambda"
8605
8605
  },
8606
8606
  name: "@remotion/lambda",
8607
- version: "4.0.285",
8607
+ version: "4.0.287",
8608
8608
  description: "Render Remotion videos on AWS Lambda",
8609
8609
  main: "dist/index.js",
8610
8610
  sideEffects: false,
@@ -8620,14 +8620,15 @@ var require_package = __commonJS((exports, module) => {
8620
8620
  author: "Jonny Burger <jonny@remotion.dev>",
8621
8621
  license: "MIT",
8622
8622
  dependencies: {
8623
- "@aws-sdk/s3-request-presigner": "3.738.0",
8624
- "@aws-sdk/client-lambda": "3.738.0",
8625
- "@aws-sdk/client-s3": "3.738.0",
8626
- "@aws-sdk/client-sts": "3.738.0",
8627
- "@aws-sdk/client-iam": "3.738.0",
8628
- "@aws-sdk/client-cloudwatch-logs": "3.738.0",
8629
- "@aws-sdk/client-service-quotas": "3.738.0",
8630
- "@aws-sdk/lib-storage": "3.738.0",
8623
+ "@aws-sdk/s3-request-presigner": "3.787.0",
8624
+ "@aws-sdk/middleware-flexible-checksums": "3.787.0",
8625
+ "@aws-sdk/client-lambda": "3.787.0",
8626
+ "@aws-sdk/client-s3": "3.787.0",
8627
+ "@aws-sdk/client-sts": "3.787.0",
8628
+ "@aws-sdk/client-iam": "3.787.0",
8629
+ "@aws-sdk/client-cloudwatch-logs": "3.787.0",
8630
+ "@aws-sdk/client-service-quotas": "3.787.0",
8631
+ "@aws-sdk/lib-storage": "3.787.0",
8631
8632
  "@remotion/bundler": "workspace:*",
8632
8633
  "@remotion/cli": "workspace:*",
8633
8634
  "@remotion/lambda-client": "workspace:*",
@@ -8649,7 +8650,7 @@ var require_package = __commonJS((exports, module) => {
8649
8650
  "@types/minimist": "1.2.2",
8650
8651
  "@types/prompt": "^1.1.0",
8651
8652
  eslint: "9.19.0",
8652
- next: "15.2.3",
8653
+ next: "15.2.4",
8653
8654
  pureimage: "0.4.13",
8654
8655
  "zip-lib": "^0.7.2"
8655
8656
  },
@@ -9622,7 +9623,7 @@ var createFunction = async ({
9622
9623
  }
9623
9624
  const { FunctionName, FunctionArn } = await LambdaClientInternals3.getLambdaClient(region).send(new CreateFunctionCommand({
9624
9625
  Code: {
9625
- ZipFile: readFileSync(zipFile)
9626
+ ZipFile: new Uint8Array(readFileSync(zipFile))
9626
9627
  },
9627
9628
  FunctionName: functionName,
9628
9629
  Handler: "index.handler",
@@ -7,7 +7,10 @@ exports.getEtagOfFile = void 0;
7
7
  const node_crypto_1 = __importDefault(require("node:crypto"));
8
8
  const node_fs_1 = __importDefault(require("node:fs"));
9
9
  const chunk = 1024 * 1024 * 5; // 5MB
10
- const md5 = (data) => node_crypto_1.default.createHash('md5').update(data).digest('hex');
10
+ const md5 = (data) => node_crypto_1.default
11
+ .createHash('md5')
12
+ .update(data)
13
+ .digest('hex');
11
14
  const getEtagOfFile = (filePath, onProgress) => {
12
15
  const calc = async () => {
13
16
  const size = await node_fs_1.default.promises.stat(filePath).then((s) => s.size);
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
26
36
  exports.readDirectory = void 0;
27
37
  const fs = __importStar(require("node:fs"));
package/package.json CHANGED
@@ -3,30 +3,31 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/lambda"
4
4
  },
5
5
  "name": "@remotion/lambda",
6
- "version": "4.0.285",
6
+ "version": "4.0.287",
7
7
  "description": "Render Remotion videos on AWS Lambda",
8
8
  "main": "dist/index.js",
9
9
  "sideEffects": false,
10
10
  "author": "Jonny Burger <jonny@remotion.dev>",
11
11
  "license": "MIT",
12
12
  "dependencies": {
13
- "@aws-sdk/s3-request-presigner": "3.738.0",
14
- "@aws-sdk/client-lambda": "3.738.0",
15
- "@aws-sdk/client-s3": "3.738.0",
16
- "@aws-sdk/client-sts": "3.738.0",
17
- "@aws-sdk/client-iam": "3.738.0",
18
- "@aws-sdk/client-cloudwatch-logs": "3.738.0",
19
- "@aws-sdk/client-service-quotas": "3.738.0",
20
- "@aws-sdk/lib-storage": "3.738.0",
13
+ "@aws-sdk/s3-request-presigner": "3.787.0",
14
+ "@aws-sdk/middleware-flexible-checksums": "3.787.0",
15
+ "@aws-sdk/client-lambda": "3.787.0",
16
+ "@aws-sdk/client-s3": "3.787.0",
17
+ "@aws-sdk/client-sts": "3.787.0",
18
+ "@aws-sdk/client-iam": "3.787.0",
19
+ "@aws-sdk/client-cloudwatch-logs": "3.787.0",
20
+ "@aws-sdk/client-service-quotas": "3.787.0",
21
+ "@aws-sdk/lib-storage": "3.787.0",
21
22
  "@smithy/abort-controller": "4.0.1",
22
23
  "zod": "3.22.3",
23
- "@remotion/bundler": "4.0.285",
24
- "@remotion/lambda-client": "4.0.285",
25
- "@remotion/cli": "4.0.285",
26
- "@remotion/renderer": "4.0.285",
27
- "@remotion/serverless": "4.0.285",
28
- "@remotion/streaming": "4.0.285",
29
- "remotion": "4.0.285"
24
+ "@remotion/bundler": "4.0.287",
25
+ "@remotion/cli": "4.0.287",
26
+ "@remotion/lambda-client": "4.0.287",
27
+ "@remotion/renderer": "4.0.287",
28
+ "remotion": "4.0.287",
29
+ "@remotion/serverless": "4.0.287",
30
+ "@remotion/streaming": "4.0.287"
30
31
  },
31
32
  "devDependencies": {
32
33
  "@types/express": "^5.0.0",
@@ -36,15 +37,15 @@
36
37
  "@types/minimist": "1.2.2",
37
38
  "@types/prompt": "^1.1.0",
38
39
  "eslint": "9.19.0",
39
- "next": "15.2.3",
40
+ "next": "15.2.4",
40
41
  "pureimage": "0.4.13",
41
42
  "zip-lib": "^0.7.2",
42
- "@remotion/bundler": "4.0.285",
43
- "@remotion/compositor-linux-arm64-gnu": "4.0.285",
44
- "@remotion/eslint-config-internal": "4.0.285"
43
+ "@remotion/bundler": "4.0.287",
44
+ "@remotion/compositor-linux-arm64-gnu": "4.0.287",
45
+ "@remotion/eslint-config-internal": "4.0.287"
45
46
  },
46
47
  "peerDependencies": {
47
- "@remotion/bundler": "4.0.285"
48
+ "@remotion/bundler": "4.0.287"
48
49
  },
49
50
  "publishConfig": {
50
51
  "access": "public"
Binary file