@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.
- package/dist/api/create-function.js +1 -1
- package/dist/cli/log.d.ts +5 -5
- package/dist/esm/index.mjs +12 -11
- package/dist/shared/get-etag.js +4 -1
- package/dist/shared/read-dir.js +17 -7
- package/package.json +22 -21
- package/remotionlambda-arm64.zip +0 -0
|
@@ -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
|
-
}, ...
|
|
4
|
+
}, message?: any, ...optionalParams: any[]) => boolean | void;
|
|
5
5
|
verbose: (options: import("@remotion/renderer").LogOptions & {
|
|
6
6
|
tag?: string;
|
|
7
|
-
}, ...
|
|
8
|
-
info: (options: import("@remotion/renderer").LogOptions, ...
|
|
9
|
-
warn: (options: import("@remotion/renderer").LogOptions, ...
|
|
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
|
-
}, ...
|
|
12
|
+
}, message?: any, ...optionalParams: any[]) => boolean | void;
|
|
13
13
|
};
|
package/dist/esm/index.mjs
CHANGED
|
@@ -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.
|
|
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.
|
|
8624
|
-
"@aws-sdk/
|
|
8625
|
-
"@aws-sdk/client-
|
|
8626
|
-
"@aws-sdk/client-
|
|
8627
|
-
"@aws-sdk/client-
|
|
8628
|
-
"@aws-sdk/client-
|
|
8629
|
-
"@aws-sdk/client-
|
|
8630
|
-
"@aws-sdk/
|
|
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.
|
|
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",
|
package/dist/shared/get-etag.js
CHANGED
|
@@ -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
|
|
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);
|
package/dist/shared/read-dir.js
CHANGED
|
@@ -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 (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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.
|
|
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.
|
|
14
|
-
"@aws-sdk/
|
|
15
|
-
"@aws-sdk/client-
|
|
16
|
-
"@aws-sdk/client-
|
|
17
|
-
"@aws-sdk/client-
|
|
18
|
-
"@aws-sdk/client-
|
|
19
|
-
"@aws-sdk/client-
|
|
20
|
-
"@aws-sdk/
|
|
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.
|
|
24
|
-
"@remotion/
|
|
25
|
-
"@remotion/
|
|
26
|
-
"@remotion/renderer": "4.0.
|
|
27
|
-
"
|
|
28
|
-
"@remotion/
|
|
29
|
-
"remotion": "4.0.
|
|
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.
|
|
40
|
+
"next": "15.2.4",
|
|
40
41
|
"pureimage": "0.4.13",
|
|
41
42
|
"zip-lib": "^0.7.2",
|
|
42
|
-
"@remotion/bundler": "4.0.
|
|
43
|
-
"@remotion/compositor-linux-arm64-gnu": "4.0.
|
|
44
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
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.
|
|
48
|
+
"@remotion/bundler": "4.0.287"
|
|
48
49
|
},
|
|
49
50
|
"publishConfig": {
|
|
50
51
|
"access": "public"
|
package/remotionlambda-arm64.zip
CHANGED
|
Binary file
|